CN115549757A - Satellite communication software online upgrading method - Google Patents
Satellite communication software online upgrading method Download PDFInfo
- Publication number
- CN115549757A CN115549757A CN202211107603.2A CN202211107603A CN115549757A CN 115549757 A CN115549757 A CN 115549757A CN 202211107603 A CN202211107603 A CN 202211107603A CN 115549757 A CN115549757 A CN 115549757A
- Authority
- CN
- China
- Prior art keywords
- file
- transmission
- client
- breakpoint
- files
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000005540 biological transmission Effects 0.000 claims abstract description 86
- 238000013467 fragmentation Methods 0.000 claims abstract description 11
- 238000006062 fragmentation reaction Methods 0.000 claims abstract description 11
- 238000012545 processing Methods 0.000 claims abstract description 9
- 239000012634 fragment Substances 0.000 claims description 25
- 238000009432 framing Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 12
- 238000012423 maintenance Methods 0.000 abstract description 4
- 230000006835 compression Effects 0.000 abstract description 2
- 238000007906 compression Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
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)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (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 a satellite communication software online upgrading method, which solves the problems of difficult bandwidth expansion, precious channel resources and transmission stability in the field of satellite communication; the method comprises the following steps: carrying out differential processing on the upgrade file of the server to generate a difference file, and carrying out compression processing and intelligent fragmentation processing on the upgrade file or the difference file; the online upgrading transmission accuracy is ensured in the transmission process, and the file transmission abnormity caused by packet loss, disorder and chain breakage in the transmission process is eliminated; the transmission file acquired by the client is recombined, decompressed and restored into an upgrade file; and (4) updating the client software and recovering the original state when the updating fails. 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 human 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 upgrading of remote satellite communication equipment.
Background
In actual operation, the software of the satellite communication device often needs maintenance and upgrade. The local loading of software upgrading can only update the program version stored locally in the equipment, if the version except the local storage needs to be updated, the local storage needs to be updated on site manually, so that the time and the space are greatly limited, and in the upgrading process, a case is usually required to be disassembled, a specific environment is required to be built, specific equipment is carried and complicated operation is required, and personnel are required to have higher quality, so that the project cost is increased. The satellite channel online upgrade can avoid manual on-site upgrade, save human resources and provide software upgrade instantaneity and flexibility. The invention aims to solve the problem and develops the on-line upgrading method of the satellite communication software aiming at the characteristics of difficult bandwidth expansion, less channel resources, transmission stability and the like in the field of satellite communication. The background and meaning of the method are shown in figure 1, and the schematic diagram of the control interface is shown in figure 2.
Disclosure of Invention
The invention aims to solve the problem of consumption of time, space, manpower and financial resource cost in software upgrading and maintenance, can upgrade and maintain the software of the satellite communication equipment in a short time, has high automation degree, greatly improves the working efficiency and reduces the software maintenance cost.
The technical scheme adopted by the invention is as follows:
a satellite communication software online upgrading method comprises the following processes:
the processing process of the server side comprises the following steps:
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 source file is converted into a difference file to serve as a transmission file through a bsdiff algorithm, full updating is selected when only the upgrade file exists, and the source file is compressed to generate the transmission file through an lzo algorithm;
the transmission file is segmented according to the channel bandwidth, the current service rate and the channel quality which are obtained from the client;
transmitting the fragmented files to a client, searching whether breakpoint files exist or not according to file names in the transmission process, transmitting the file names and breakpoint information to the client when the breakpoint files exist, and transmitting the file names to the client only when the breakpoint files do not exist;
when a retransmission instruction returned by a client is received, reading a transmission file and transmitting the transmission file in a fragmentation mode, when a continuous transmission instruction returned by the client is received, reading the length of the transmitted file in the transmission file and moving a pointer to a corresponding position, transmitting the rest files to be transmitted in a fragmentation mode, and sending the file transmission progress and the current fragmentation framing to the client; when an ending instruction returned by the client is received, deleting the breakpoint file and ending transmission;
the processing process of the client side is as follows:
the client searches whether a breakpoint file exists locally according to the file name transmitted by the server, checks the breakpoint file information of the client and the breakpoint file information of the server when the breakpoint file exists, returns the file transmission progress and a continuous transmission instruction to the server after the check is passed, and directly returns a retransmission instruction when the check is not passed or the breakpoint file does not exist in the client;
the fragment content of the server is received and then stored, the file transmission progress is read, the breakpoint file and the file transmission progress are updated, and the updated file transmission progress is returned to the server; when the number of fragments of the breakpoint file is the last number of fragments and the progress of the transmission file is the length of the transmission file, deleting the breakpoint file and sending an ending instruction to the server; when the number of fragments is the last number of fragments but the progress of the transmission file is not equal to the length of the file, deleting the breakpoint file and the stored fragment content, and sending a retransmission instruction to the server;
after the transmission of the fragment files is finished, the fragment files are recombined into transmission files, when the updating mode is full updating, the transmission files are decompressed into upgrade files by using lzo, when the updating mode is incremental updating, the transmission files are restored into the upgrade files by using bspatch, and the upgrade files are moved to the appointed position to start upgrading.
The server is a server or a client is used as the server.
Compared with the background art, the invention has the following advantages:
1. the invention has simple operation in the upgrading process and can complete the upgrading without professional training.
2. The invention has flexible upgrading mode and can select incremental updating or full updating.
3. The invention designs incremental updating, compressing, fragmenting and other methods aiming at the characteristics of difficult bandwidth expansion, less channel resources, transmission stability and the like in the field of satellite communication, greatly reduces the size of a transmission file and improves the transmission efficiency.
4. The invention improves the intermittent continuous transmission method, and improves the transmission efficiency while ensuring the transmission accuracy.
5. The invention greatly reduces the financial cost caused by time, space and manpower cost.
6. The self-adaptive selection updating mode and the self-adaptive fragmentation of the invention greatly improve the upgrading efficiency of the satellite communication terminal software.
7. The code of the invention can realize cross-platform and is suitable for windows and linux platforms.
8. The invention is designed aiming at the problems of difficult bandwidth expansion, precious channel resources, higher use price and the like by utilizing the advantages of long communication distance, stable and reliable communication line, difficult influence of environmental conditions and the like in the field of satellite communication, and solves the problems of field maintenance of developers, complex operation, low upgrading efficiency, time, labor and financial consumption and the like caused by the upgrading of satellite communication software in actual work.
9. The method adopts the bsdiff differential algorithm and the lzo compression algorithm to greatly reduce the size of the transmission file; a method for adaptively selecting an updating mode and adaptively adjusting the size of the fragments is designed, so that the software upgrading efficiency is improved; the transmission mode of intermittent 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 capabilities of software upgrading and version recovery.
Drawings
FIG. 1 is a background, meaning schematic diagram of the present invention.
FIG. 2 is a schematic view of a control interface of the present invention.
FIG. 3 is a flow chart of the software online upgrade of the present invention.
FIG. 4 is a flow chart of breakpoint resuming according to the present invention.
Detailed Description
The invention is further described below in conjunction with the appended drawings and the detailed description.
The functions to be fulfilled by the invention are as follows:
and (3) opening the schematic control interface diagram shown in the attached figure 2, establishing connection between the server side and the client side, inputting a file name, acquiring information of the upgrade file, and completing preparation work.
The upgrade flow is as shown in fig. 3 (fig. 4 is a breakpoint continuous transmission process, where 1-a, 2-a, and 3-a are instructions sent by a server, and 1-b, 2-b, and 3-b are response instructions replied after a client receives 1-a, 2-a, and 3-a), and the specific process is as follows:
the processing process of the server side comprises the following steps:
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 source file is converted into a difference file to serve as a transmission file through a bsdiff algorithm, full updating is selected when only the upgrade file exists, and the source file is compressed to generate the transmission file through an lzo algorithm;
the transmission file is segmented according to the channel bandwidth, the current service rate and the channel quality which are obtained from the client;
transmitting the fragmented files to a client, searching whether breakpoint files exist or not according to file names in the transmission process, transmitting the file names and breakpoint information to the client when the breakpoint files exist, and transmitting the file names to the client only when the breakpoint files do not exist;
when a retransmission instruction returned by a client is received, reading a transmission file and transmitting the transmission file in a fragmentation mode, when a continuous transmission instruction returned by the client is received, reading the length of the transmitted file in the transmission file and moving a pointer to a corresponding position, transmitting the rest files to be transmitted in a fragmentation mode, and sending the file transmission progress and the current fragmentation framing to the client; when an ending instruction returned by the client is received, deleting the breakpoint file and ending transmission;
the processing procedure of the client is as follows:
the client searches whether a breakpoint file exists locally according to the file name transmitted by the server, checks the breakpoint file information of the client and the breakpoint file information of the server when the breakpoint file exists, returns the file transmission progress and the continuous transmission instruction to the server after the check is passed, and directly returns a retransmission instruction when the check is not passed or the breakpoint file does not exist in the client;
the fragment content of the server is received and then stored, the file transmission progress is read, the breakpoint file and the file transmission progress are updated, and the updated file transmission progress is returned to the server; when the number of fragments of the breakpoint file is the last number of fragments and the progress of the transmission file is the length of the transmission file, deleting the breakpoint file and sending an ending instruction to the server; when the fragment number is the last fragment number but the file transmission progress is not equal to the file length, deleting the power-off file and the stored fragment content, and sending a retransmission instruction to the server;
and after the transmission of the fragment files is finished, recombining the fragment files into the transmission files, decompressing the transmission files into upgrade files by using lzo when the updating mode is full updating, restoring the transmission files into the upgrade files by using bsmatch when the updating mode is incremental updating, and moving the upgrade files to the appointed position to start upgrading.
Claims (2)
1. A satellite communication software online upgrading method is characterized by comprising the following processes:
the processing process of the server side comprises the following steps:
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 source file is converted into a difference file to serve as a transmission file through a bsdiff algorithm, full updating is selected when only the upgrade file exists, and the source file is compressed to generate the transmission file through an lzo algorithm;
the transmission file is segmented according to the channel bandwidth, the current service rate and the channel quality which are obtained from the client;
transmitting the fragmented files to a client, searching whether breakpoint files exist according to file names in the transmission process, transmitting the file names and the breakpoint information to the client when the breakpoint files exist, and only transmitting the file names to the client when the breakpoint files do not exist;
when a retransmission instruction returned by a client is received, reading a transmission file and transmitting the transmission file in a fragmentation mode, when a continuous transmission instruction returned by the client is received, reading the length of the transmitted file in the transmission file and moving a pointer to a corresponding position, transmitting the rest files to be transmitted in a fragmentation mode, and sending the file transmission progress and the current fragmentation framing to the client; when an ending instruction returned by the client is received, deleting the breakpoint file and ending transmission;
the processing process of the client side is as follows:
the client searches whether a breakpoint file exists locally according to the file name transmitted by the server, checks the breakpoint file information of the client and the breakpoint file information of the server when the breakpoint file exists, returns the file transmission progress and a continuous transmission instruction to the server after the check is passed, and directly returns a retransmission instruction when the check is not passed or the breakpoint file does not exist in the client;
the fragment content of the server is received and stored, the breakpoint file and the file transmission progress are updated after the file transmission progress is read, and the updated file transmission progress is returned to the server; when the number of fragments of the breakpoint file is the last number of fragments and the progress of the transmission file is the length of the transmission file, deleting the breakpoint file and sending an ending instruction to the server; when the number of fragments is the last number of fragments but the progress of the transmission file is not equal to the length of the file, deleting the breakpoint file and the stored fragment content, and sending a retransmission instruction to the server;
and after the transmission of the fragment files is finished, recombining the fragment files into the transmission files, decompressing the transmission files into upgrade files by using lzo when the updating mode is full updating, restoring the transmission files into the upgrade files by using bsmatch when the updating mode is incremental updating, and moving the upgrade files to the appointed position to start upgrading.
2. The method for on-line upgrading 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 true CN115549757A (en) | 2022-12-30 |
CN115549757B 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) |
Cited By (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 (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100005527A1 (en) * | 2005-01-12 | 2010-01-07 | Realnetworks Asia Pacific Co. | System and method for providing and handling executable web content |
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 |
-
2022
- 2022-09-13 CN CN202211107603.2A patent/CN115549757B/en active Active
Patent Citations (7)
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 |
US20100005527A1 (en) * | 2005-01-12 | 2010-01-07 | Realnetworks Asia Pacific Co. | System and method for providing and handling executable web content |
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 |
Cited By (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 |
Also Published As
Publication number | Publication date |
---|---|
CN115549757B (en) | 2024-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10725772B2 (en) | Electric control device for vehicles, program updating method, and server apparatus | |
JP5508370B2 (en) | Program upgrade method and system for portable device capable of OTA (Over-the-air) | |
CN103023511B (en) | The compaction coding method of a kind of application and device | |
CA2271635C (en) | An apparatus, system and method for secure, recoverable, adaptably compressed file transfer | |
US20030208529A1 (en) | System for and method of real-time remote access and manipulation of data | |
CN113946358B (en) | Automatic driving vehicle software remote upgrading method based on vehicle management system | |
US20030097474A1 (en) | Method and system for the efficient communication of data with and between remote computing devices | |
CN104391728A (en) | Software upgrading delta pack acquiring method, corresponding upgrading method and device | |
CN115549757B (en) | Satellite communication software online upgrading method | |
WO2006004717A2 (en) | System and method for extending business systems to a mobile workforce | |
CN1953376A (en) | A system and method for updating remote software of wireless terminal equipment | |
CN112566282B (en) | Internet of things information transmission method and platform | |
CN112527370A (en) | Method for remotely and differentially upgrading Internet of things equipment | |
US8009694B2 (en) | Wireless services provider network system and method | |
CN114706615B (en) | Automatic reverse analysis method and device for industrial robot protocol | |
US9350592B2 (en) | Decompressing method and apparatus | |
CN103036981B (en) | A kind of remote data transmission Apparatus and method for | |
CN112636808B (en) | Telescope remote data transmission and control method based on Beidou short message | |
CN116708511B (en) | Method, equipment and medium based on microcontroller integrated vehicle-machine interconnection technology | |
CN114157732B (en) | Remote measurement data analysis method and system for large and medium-sized fixed wing unmanned aerial vehicle | |
KR100652115B1 (en) | Mobile communication device for remote control by pc and remote control method using the same | |
CN111970161B (en) | Internet of things application differential upgrading method based on address prediction | |
US20220086217A1 (en) | Method for managing artificial intelligence application, device, and program product | |
CN110557563B (en) | Remote communication method and system for network camera | |
CN103019641B (en) | Remote control process transmits the Apparatus and method for of data |
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 |