CN111698288B - On-orbit maintenance method for connectionless satellite software based on Ethernet - Google Patents

On-orbit maintenance method for connectionless satellite software based on Ethernet Download PDF

Info

Publication number
CN111698288B
CN111698288B CN202010394655.7A CN202010394655A CN111698288B CN 111698288 B CN111698288 B CN 111698288B CN 202010394655 A CN202010394655 A CN 202010394655A CN 111698288 B CN111698288 B CN 111698288B
Authority
CN
China
Prior art keywords
frame
program
software
board
ethernet
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
Application number
CN202010394655.7A
Other languages
Chinese (zh)
Other versions
CN111698288A (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.)
Beijing Space Technology Research and Test Center
Original Assignee
Beijing Space Technology Research and Test Center
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 Beijing Space Technology Research and Test Center filed Critical Beijing Space Technology Research and Test Center
Priority to CN202010394655.7A priority Critical patent/CN111698288B/en
Publication of CN111698288A publication Critical patent/CN111698288A/en
Application granted granted Critical
Publication of CN111698288B publication Critical patent/CN111698288B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18513Transmission in a satellite or space-based system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18515Transmission equipment in satellites or space-based relays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18517Transmission equipment in earth stations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18519Operations control, administration or maintenance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention relates to an on-orbit maintenance method for connectionless satellite software based on Ethernet, which comprises the following steps: s1, preassembling a software maintenance client on ground on-orbit maintenance equipment, accessing the software maintenance client to a ground Ethernet, preassembling a system maintenance program and an application program on-satellite equipment, and accessing an aircraft Ethernet, wherein the ground Ethernet is communicated with the aircraft Ethernet by adopting a space-ground link; s2, the software maintenance client selects a target file to be maintained and generates an uplink injection data frame; and S3, when the on-board equipment is in a normal working mode, the software maintenance client side injects the injection data frame into the on-board equipment based on the ground Ethernet, the space-ground link and the aircraft Ethernet. The method has the advantages of low resource consumption, strict network protocol and effective improvement of the reliability, safety and maintainability of the system.

Description

On-orbit maintenance method for connectionless satellite software based on Ethernet
Technical Field
The invention relates to the field of spaceflight, in particular to an on-orbit maintenance method for connectionless satellite software based on Ethernet.
Background
When problems occur in the flight process of the spacecraft or new functions need to be added, the software needs to be maintained and upgraded. Meanwhile, the on-orbit software maintenance capability of the aircraft is an indispensable means for ensuring the long service life and reliability of the aircraft, and compared with the redundant backup of hardware, the on-orbit software maintenance is more economical and flexible. Therefore, increasing attention is being paid to ways to improve the stability, life and reliability of aircraft through on-orbit software maintenance.
With the great success of Intemet in the global internet communication, more and more aircrafts will adopt the ethernet communication technology, and the ground ethernet and the space ethernet are seamlessly connected by the world link to form a world-ground network integrated internet system. However, compared with the conventional ethernet network on the ground, the space environment has the problems that due to the particularity of the space environment, the space-ground link causes large data propagation delay, low data transmission efficiency, asymmetry, high error rate of data transmission, frequent packet loss and the like.
Especially, the ground network mostly adopts TCP/IP Protocol to realize data Transmission, TCP (Transmission Control Protocol) is a connection-oriented Protocol, and in order to realize the reliability of network communication, a complex congestion Control algorithm is used, and a tedious handshake process is established, that is, before receiving and sending data, a reliable connection must be established with the other party. A TCP connection must go through three "sessions" to be established. However, due to the influence of the world link, the software maintenance method of the connection-oriented TCP protocol, which is already very mature in the ground network, is moved to the space network, so that the on-track maintenance function cannot exert its advantages because it needs to maintain reliable connection during maintenance, and therefore a new software maintenance method suitable for the world link characteristics is needed.
Disclosure of Invention
The invention aims to provide a connectionless on-board software on-orbit maintenance method based on Ethernet, and solves the problem that on-board software on-orbit maintenance is difficult.
In order to achieve the above object, the present invention provides an ethernet-based connectionless-oriented on-board software on-orbit maintenance method, which includes the following steps:
s1, preassembling a software maintenance client on ground on-orbit maintenance equipment, accessing the software maintenance client to a ground Ethernet, preassembling a system maintenance program and an application program on-satellite equipment, and accessing an aircraft Ethernet, wherein the ground Ethernet is communicated with the aircraft Ethernet by adopting a space-ground link;
s2, the software maintenance client selects a target file to be maintained and generates an uplink injection data frame;
and S3, when the on-board equipment is in a normal working mode, the software maintenance client side injects the injection data frame into the on-board equipment based on the ground Ethernet, the space-ground link and the aircraft Ethernet.
According to an aspect of the present invention, the upstream injection data frame includes a program update start frame, a program data frame, a program update end frame, and a program update frame;
in step S3, the step of injecting the injection data frame into the onboard device by the software maintenance client includes:
s31, the software maintenance client sends the program updating starting frame, and the on-board equipment receives the program updating starting frame, enters a program updating mode and sends a program updating starting confirmation frame to the software maintenance client;
s32, the software maintenance client side receives the program updating starting confirmation frame, then sends the program data frame according to a frame sequence number sequence, the on-board equipment receives the program data frame, and the corresponding program data confirmation frame is fed back once every time the on-board equipment receives one frame of the program data frame;
s33, the software maintenance client sends the next frame of the program data frame according to the frame sequence number sequence after receiving the program data confirmation frame until all the program data frames are sent completely, the software maintenance client sends a program updating end frame, and the on-board equipment receives the program updating end frame and sends a program updating end confirmation frame to the software maintenance client;
s34, the software maintenance client receives the program update ending confirmation frame and sends a program update frame to the on-board equipment, and the on-board equipment sends the program update confirmation frame to the software maintenance client after receiving the program update frame and finishing data update;
and S35, the software maintenance client receives the program updating confirmation frame, exits from the on-orbit maintenance mode, and completes the maintenance of the on-satellite software in the on-satellite equipment.
According to one aspect of the present invention, in step S31, after the onboard device sends a program update start confirmation frame to the software maintenance client, if no subsequent data is received within a predetermined time, the onboard device exits the program update mode and enters the normal operating mode;
in step S32, after the onboard device feeds back the program data confirmation frame, if no subsequent data is received within a predetermined time, the onboard device exits the program update mode and enters a normal operating mode;
in step S33, after the onboard device sends a program update end confirmation frame to the software maintenance client, if no subsequent data is received within a predetermined time, the onboard device exits the program update mode and enters the normal operating mode;
according to an aspect of the present invention, in step S33, the step of the on-board device receiving the program update end frame and sending a program update end confirmation frame to the software maintenance client includes:
s331, the on-board device receives the program updating end frame, starts data verification aiming at the received program data frame, and checks whether the sequence of the frame serial numbers of the program data frame is continuous;
s332, acquiring a verification result, comparing the verification result with a standard verification sum contained in the program updating end frame, and generating a comparison result;
and S333, writing the comparison result into the program update ending confirmation frame, and sending the program update ending confirmation frame to the software maintenance client.
According to an aspect of the present invention, in step S34, in the step of receiving the program update end confirmation frame and sending the program update frame to the onboard device, the software maintenance client extracts the comparison result in the program update end confirmation frame, and if the comparison result shows that the comparison result is consistent, sends the program update frame to the onboard device;
if the comparison result shows that the comparison result is inconsistent, the software maintenance client re-executes the step S32 to the step S34, or the software maintenance client re-starts to execute the step S31 to the step S35.
According to an aspect of the present invention, in step S34, after sending a program update confirmation frame to the software maintenance client, the onboard device is reset and restarted.
According to an aspect of the present invention, in the process of executing steps S31 to S35, if the software maintenance client does not receive the acknowledgement frame, a retransmission mechanism is started; and retransmitting the uplink injection data frame according to the type of the transmitted uplink injection data frame and preset times.
According to one aspect of the present invention, in the step of retransmitting the uplink injection data frame according to the predetermined number of times according to the type of the transmitted uplink injection data frame, if the software maintenance client receives the acknowledgement frame of the on-board device after the retransmission of the uplink injection data frame, the next step is continuously executed, and if the software maintenance client does not receive the acknowledgement frame of the on-board device after the retransmission of the uplink injection data frame, the program update mode is exited.
According to one aspect of the invention, the ground Ethernet network, the aircraft Ethernet network and the world link communicate using the UDP/IP protocol;
in step S3, when the onboard device is in a normal operating mode, the onboard device receives the UDP/IP protocol frames of the ground ethernet network and the uplink of the space-ground link through the ethernet port in the aircraft ethernet network.
According to one aspect of the present invention, the pre-installed system maintenance program has an ethernet communication function, a non-volatile storage medium read/write function, a verification function, and a program loading function;
the program preinstalled system maintenance program is stored in the programmable read-only memory;
the application program is stored in a read-write non-volatile storage medium.
According to one scheme of the invention, the ground client is utilized to realize the on-orbit maintenance of the embedded software of the spacecraft in real time through the world link, so that the problems of large time delay of the world link, low data transmission efficiency, asymmetry, high error rate of data transmission, frequent packet loss and the like are solved, and the high-reliability and high-efficiency requirements of the on-orbit maintenance function of the embedded software of the spacecraft are met.
According to the scheme of the invention, the method has the advantages of low resource consumption and strict network protocol, and effectively improves the reliability, safety and maintainability of the system.
According to the scheme of the invention, the data frame is ensured to be stably and accurately transmitted in the data frame transmission process by adopting the data frame and the data frame confirmation communication mode, the data frame verification and other steps, and the method is favorable for ensuring the high maintainability of the whole system.
Drawings
FIG. 1 is a block diagram schematically illustrating the steps of an on-board software on-orbit maintenance method according to an embodiment of the present invention;
FIG. 2 schematically shows a flow chart of an on-board software on-orbit maintenance method according to an embodiment of the invention;
FIG. 3 is a system connection diagram schematically illustrating an on-board software on-orbit maintenance method according to an embodiment of the present invention;
FIG. 4 is a schematic representation of a UDP message format diagram in accordance with one embodiment of the present invention;
fig. 5 schematically shows a flow chart of a retransmission mechanism in an on-board software on-orbit maintenance method according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
In describing embodiments of the present invention, the terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship that is based on the orientation or positional relationship shown in the associated drawings, which is for convenience and simplicity of description only, and does not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and thus, the above-described terms should not be construed as limiting the present invention.
The present invention is described in detail below with reference to the drawings and the specific embodiments, which are not repeated herein, but the embodiments of the present invention are not limited to the following embodiments.
With reference to fig. 1 and fig. 2, according to an embodiment of the present invention, an on-orbit maintenance method for connectionless-oriented software over satellite based on ethernet of the present invention includes the following steps:
s1, preassembling a software maintenance client on ground on-orbit maintenance equipment, accessing a ground Ethernet, preassembling a system maintenance program and an application program on satellite equipment, and accessing an aircraft Ethernet, wherein the ground Ethernet is communicated with the aircraft Ethernet by adopting a space-ground link;
s2, selecting a target file to be maintained by the software maintenance client, and generating an uplink injection data frame;
and S3, when the on-board equipment is in a normal working mode, the software maintenance client side injects the injection data frames into the on-board equipment based on the ground Ethernet, the space-ground link and the aircraft Ethernet.
As shown in fig. 3, according to an embodiment of the present invention, in the terrestrial ethernet network, the terrestrial on-orbit maintenance device is installed in the orbit maintenance client and is communicatively connected to the terrestrial transmitting device through the terrestrial network switch. In the aircraft Ethernet, on-board software is pre-installed in on-board equipment and is in communication connection with on-board receiving equipment through an on-board network switch.
As shown in fig. 3, according to an embodiment of the present invention, the onboard software pre-installed in the onboard device is divided into a system maintenance program and an application program, wherein the minimum function set of the system maintenance program includes an ethernet communication function, a read/write function of a non-volatile storage medium, a verification function, and a program loading function. In this embodiment, the system maintenance program is stored in a programmable read-only memory like a PROM. In the present embodiment, the application program is stored in a readable and writable nonvolatile storage medium. In this embodiment, the non-volatile storage medium logically includes an original software storage area and an upgraded software storage area, and both areas include the verification information.
As shown in fig. 2, in step S2, the uplink injection data frame includes a program update start frame, a program data frame, a program update end frame, and a program update frame. In the embodiment, the satellite equipment is powered on to work in a normal working mode, and UDP/IP protocol frames which are uploaded through the Ethernet and the world link on the ground are received through the Ethernet interface. In step S3, the step of injecting the injection data frame into the onboard device by the software maintenance client includes:
s31, the software maintenance client sends a program updating starting frame to clarify information such as the purpose of software maintenance (updating the initial position of a specific address of a non-volatile storage medium), the size of a data file and the like, the satellite equipment receives the program updating starting frame, enters a program updating mode, immediately sends a program updating starting confirmation frame to the software maintenance client and informs the software maintenance client on the ground that the software maintenance client can enter the next step of software maintenance; after the on-board device correctly sends the program update start confirmation frame, if the subsequent data is not received within the preset time (such as 60 s), the on-board device exits the program update mode and enters the normal working mode.
And S32, the software maintenance client side receives the program update start confirmation frame, the program data frames are sent according to the sequence of the frame sequence numbers, the on-board equipment receives the program data frames, data are written into the memory every time one frame of the program data frame is received, the program data confirmation frame is returned in real time, and the ground software maintenance client side starts sending the next frame after receiving the program data confirmation frame. In the embodiment, after the on-board software correctly sends the program data confirmation frame, if the subsequent data is not received within the preset time (such as 60 s), the on-board software exits the program updating mode and enters the normal working mode;
and S33, the software maintenance client sends a program data frame according to the frame number sequence after receiving the program data confirmation frame, the software maintenance client sends a program updating end frame until all the program data frames are sent completely, the satellite equipment receives the program updating end frame, namely, data verification is started, whether the program data frame numbers are continuous or not is checked, the updating program stored in the memory is verified and compared with the checksum in the updating end frame, the comparison result is written into the program updating end confirmation frame, and the program updating end confirmation frame is sent to the software maintenance client. In this embodiment, after the satellite software correctly sends the program update end confirmation frame, if no subsequent data is received within a predetermined time (for example, 60 s), the satellite software exits from the program update mode and enters into the normal operating mode.
And S34, the software maintenance client receives the program update ending confirmation frame and sends the program update frame to the on-board equipment, and the on-board equipment sends the program update confirmation frame to the software maintenance client after receiving the program update frame and finishing data update. In this embodiment, in the step of receiving the program update end confirmation frame and sending the program update frame to the onboard device, the software maintenance client extracts the comparison result in the program update end confirmation frame, and if the comparison result shows that the comparison result is consistent, sends the program update frame to the onboard device, and the onboard device receives the program update frame and writes the data file into the non-volatile storage medium, and sends the program update confirmation frame after successful writing, and resets and restarts the onboard device. If the comparison result shows that the comparison result is inconsistent, the software maintenance client re-executes step S32 to step S34 (i.e. the software maintenance client starts retransmission), or the software maintenance client re-starts executing step S31 to step S35 (i.e. the software maintenance client sends a program update start frame to restart software maintenance).
And S35, the software maintenance client receives the program updating confirmation frame, exits from the on-orbit maintenance mode, and completes the maintenance of the on-satellite software in the on-satellite equipment.
According to an embodiment of the present invention, in the process of executing steps S31 to S35, if the software maintenance client does not receive the acknowledgement frame, a retransmission mechanism is started; and retransmitting the uplink injection data frame according to the type of the transmitted uplink injection data frame and the preset times. In this embodiment, in the step of retransmitting the uplink injection data frame according to the predetermined number of times according to the type of the transmitted uplink injection data frame, if the software maintenance client receives the acknowledgement frame of the onboard device after the uplink injection data frame is retransmitted, the next step is continuously executed, and if the software maintenance client does not receive the acknowledgement frame of the onboard device after the uplink injection data frame is retransmitted, the program update mode exits.
According to one embodiment of the invention, the ground Ethernet network, the aircraft Ethernet network and the world link communicate using the UDP/IP protocol. Furthermore, in step S3, when the onboard device is in the normal operating mode, the onboard device receives the UDP/IP protocol frames of the ground ethernet network and the uplink of the world link through the ethernet port in the aircraft ethernet network.
To further illustrate the present invention, the present solution is further elaborated with reference to the accompanying drawings.
According to the scheme of the invention, before data transmission, a ground client and satellite equipment do not establish connection and do not need to maintain a complex link state table, in the software maintenance process, the ground on-track maintenance client selects a maintained new-version executable file, and the executable file is delivered to an IP layer downwards after a header is added according to a protocol frame format, so that the executable file is not split or combined, but the boundaries of the messages are reserved and put on a network for transmission; for satellite software, after data is received from a network, the data is extracted according to a protocol frame format and stored in a memory.
According to an embodiment of the invention, based on the system setting, the implementation process of the connectionless UDP communication oriented by the onboard software of the on-orbit maintenance client and the onboard equipment on the ground is as follows:
a) Creating a socket with function socket ();
b) Setting a socket attribute by a function setsockopt ();
c) Binding information such as IP addresses, ports and the like to the socket by using function bind ();
d) Setting the IP address and port of the opposite side;
e) Sending data by using a function sendto ();
f) Receiving data with a function recvfrom () loop;
g) The network connection is closed.
According to one embodiment of the invention, the total number of protocol formats based on UDP/IP is 5, namely a program update starting frame, a program data frame, a program update ending frame, a program update frame and a reception confirmation frame sent by on-board software which are respectively sent by a ground on-board maintenance client.
a) UDP message format
Referring to fig. 4, in the present embodiment, the header field is 8 bytes, and is composed of 4 fields, each of which is two bytes in length. Source port: the source port number. The method is selected when the other party needs to reply. All 0's may be used when not needed. Destination port: the destination port number. This must be used when the end point delivers the message. Length: the length of a UDP user datagram, the minimum of which is 8 (header only). And (4) checking the sum: the header and data portions are checked together to detect if the UDP user datagram has an error in transmission. If there is a mistake, it is discarded. When calculating the checksum, a dummy header of 12 bytes is added before the UDP user datagram (the format is shown in table 1). The dummy header is neither passed down nor submitted up, but merely to compute a checksum.
Figure BDA0002487031740000091
TABLE 1
b) Program update start frame, program update end frame, and program update frame
In the present embodiment, the formats of the user data portions of the program update start frame, the program update end frame, and the program update frame UDP are shown in table 2. Wherein: through different definitions of frame types, a program update starting frame, a program update ending frame and a program update frame can be distinguished.
Figure BDA0002487031740000092
TABLE 2
c) Program data frame
The format of the UDP user data portion of the program data frame is shown in table 3.
Figure BDA0002487031740000093
TABLE 3
d) Receiving an acknowledgement frame
The format of the UDP user data portion of the received acknowledgement frame is shown in table 4.
Figure BDA0002487031740000094
TABLE 4
Wherein: through different definitions of frame types, a program update starting frame, a program update ending frame and a program update frame can be distinguished and confirmed; by confirming the result, the condition that the on-board software receives the data (whether the receiving is successful, whether the checksum is wrong, whether the frame number is lack, and the like) can be returned; by confirming the supplemental information, information (such as a frame sequence number filled with missing data) related to the data received by the on-board software can be returned.
Referring to fig. 5, according to an embodiment of the present invention, under a condition that a real-time requirement of an on-orbit maintenance process is strict, a user-defined retransmission mechanism is adopted, so that a delay caused by packet loss can be minimized, and an influence of a world link on data transmission is minimized. In this embodiment, the ground client starts the retransmission mechanism if it does not receive the acknowledgement frame (e.g., the program update start acknowledgement frame, the program update data acknowledgement frame, the program update end acknowledgement frame, or the program update acknowledgement frame) sent by the on-board software.
In the present embodiment, if the terrestrial client does not receive the acknowledgment frame, it is determined whether the last transmission was a program data frame, and if the last transmission was a program data frame, the retransmission is performed 5 times, and if the last transmission was a command frame (program update start frame, program update end frame, program update frame), the retransmission is performed 1 time. And if the on-board software confirms the frame after retransmission, the on-orbit maintenance process enters the next step, and if the confirmation frame is not received after retransmission, the program updating mode is exited.
According to one embodiment of the invention, the non-volatile storage medium of the satellite software of the satellite equipment logically comprises an original software storage area and an upgraded software storage area, and both the original software storage area and the upgraded software storage area contain verification information. In this embodiment, the onboard software of the onboard device receives the program data frame of the ground uplink and writes the program data into the memory. And after receiving the program updating end frame, starting data verification, calculating the program data checksum in the memory, and comparing the calculated program data checksum with the program data checksum in the program updating end frame. If the comparison result is consistent, writing the program data in the memory into the upgrade software storage area, and using the verification information; and if the comparison result is inconsistent, discarding the program data in the memory, sending a program updating end confirmation frame, and informing the ground on-orbit maintenance client of the comparison result.
In this embodiment, the device is automatically restarted after the device completes writing the data in the upgrade software storage area. After the satellite software is restarted, the on-board equipment reads the program file from the upgrading software storage area to load the program, and if the program file reading error occurs due to reasons such as checksum misalignment, the program is loaded from the original software storage area to ensure that the on-board software can reliably and stably run on the track.
In this embodiment, after the device can correctly read the program file from the upgraded software storage area to load the program, the ground can back up the data in the upgraded software storage area to the original software storage area through the uplink command of the world link, so as to ensure the program update in the original software storage area.
The foregoing is merely exemplary of particular aspects of the present invention and devices and structures not specifically described herein are understood to be those of ordinary skill in the art and are intended to be implemented in such conventional ways.
The above description is only one embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. An Ethernet-based connectionless-oriented on-board software on-orbit maintenance method comprises the following steps:
s1, preassembling a software maintenance client on ground on-orbit maintenance equipment, accessing a ground Ethernet, preassembling a system maintenance program and an application program on satellite equipment, and accessing an aircraft Ethernet, wherein the ground Ethernet is communicated with the aircraft Ethernet by adopting a space-ground link;
s2, the software maintenance client selects a target file to be maintained and generates an uplink injection data frame;
s3, when the on-board equipment is in a normal working mode, the software maintenance client side injects the injection data frame into the on-board equipment based on the ground Ethernet, the space-ground link and the aircraft Ethernet;
wherein, before transmitting data, the ground on-orbit maintenance equipment and the on-satellite equipment are in an unconnected state; the maintenance client selects a new version of the executable file to be maintained, delivers the executable file to an IP layer after adding a header according to a protocol frame format, and keeps the boundary of a message to be transmitted on the network; after the on-board equipment receives data from the network, the data are extracted according to a protocol frame format and stored in an internal memory;
the uplink injection data frame comprises a program updating starting frame, a program data frame, a program updating ending frame and a program updating frame;
in step S3, the step of injecting the injection data frame into the onboard device by the software maintenance client includes:
s31, the software maintenance client sends the program updating starting frame, and the on-board equipment receives the program updating starting frame, enters a program updating mode and sends a program updating starting confirmation frame to the software maintenance client;
s32, the software maintenance client side receives the program updating starting confirmation frame, then sends the program data frame according to a frame sequence number sequence, the on-board equipment receives the program data frame, and the corresponding program data confirmation frame is fed back once every time the on-board equipment receives one frame of the program data frame;
s33, the software maintenance client sends the next frame of the program data frame according to the frame sequence number sequence after receiving the program data confirmation frame until all the program data frames are sent completely, the software maintenance client sends a program updating end frame, and the on-board equipment receives the program updating end frame and sends a program updating end confirmation frame to the software maintenance client;
s34, the software maintenance client receives the program update ending confirmation frame and sends a program update frame to the on-board equipment, and the on-board equipment sends the program update confirmation frame to the software maintenance client after receiving the program update frame and finishing data update;
s35, the software maintenance client receives the program updating confirmation frame, exits from the on-orbit maintenance mode, and completes maintenance of on-satellite software in the on-satellite equipment;
in the process of executing steps S31 to S35, if the software maintenance client does not receive the acknowledgement frame, a retransmission mechanism is started; and retransmitting the uplink injection data frame according to the type of the transmitted uplink injection data frame and preset times.
2. The on-board software on-orbit maintenance method according to claim 1, wherein in step S31, after the on-board device sends a program update start confirmation frame to the software maintenance client, if no subsequent data is received within a predetermined time, the on-board device exits the program update mode and enters a normal operating mode;
in step S32, after the onboard device feeds back the program data confirmation frame, if no subsequent data is received within a predetermined time, the onboard device exits the program update mode and enters the normal operating mode;
in step S33, after the onboard device sends a program update end confirmation frame to the software maintenance client, if no subsequent data is received within a predetermined time, the onboard device exits the program update mode and enters the normal operating mode.
3. The on-board software on-orbit maintenance method according to claim 2, wherein in step S33, the step of the on-board device receiving the program update end frame and sending a program update end confirmation frame to the software maintenance client includes:
s331, the on-board device receives the program updating end frame, starts data verification aiming at the received program data frame, and checks whether the sequence of the frame serial numbers of the program data frame is continuous;
s332, acquiring a verification result, comparing the verification result with a standard verification sum contained in the program updating end frame, and generating a comparison result;
s333, writing the comparison result into the program updating end confirmation frame, and sending the program updating end confirmation frame to the software maintenance client.
4. The on-board software on-orbit maintenance method according to claim 3, wherein in step S34, in the step of receiving the program update completion confirmation frame and sending a program update frame to the on-board device, the software maintenance client extracts the comparison result in the program update completion confirmation frame, and if the comparison result shows that the comparison result is consistent, sends the program update frame to the on-board device;
if the comparison result shows that the comparison result is inconsistent, the software maintenance client re-executes the step S32 to the step S34, or the software maintenance client re-starts to execute the step S31 to the step S35.
5. The on-board software on-orbit maintenance method according to claim 4, wherein in step S34, after sending a program update confirmation frame to the software maintenance client, the on-board device resets and restarts.
6. The on-board software on-orbit maintenance method according to claim 5, wherein in the step of retransmitting the uplink injection data frame according to a predetermined number of times according to the type of the transmitted uplink injection data frame, if the uplink injection data frame is retransmitted, the software maintenance client receives the acknowledgement frame of the on-board device, the next step is continuously executed, and if the uplink injection data frame is retransmitted, the software maintenance client still does not receive the acknowledgement frame of the on-board device, the program update mode is exited.
7. The on-board software on-orbit maintenance method according to claim 6, wherein the ground Ethernet network, the aircraft Ethernet network and the world link communicate using UDP/IP protocol;
in step S3, when the onboard device is in a normal operating mode, the onboard device receives the UDP/IP protocol frames of the ground ethernet network and the uplink of the space-ground link through the ethernet port in the aircraft ethernet network.
8. The on-board software on-orbit maintenance method according to claim 7, wherein the system maintenance program has an ethernet communication function, a non-volatile storage medium read-write function, a verification function, and a program loading function;
the system maintenance program is stored in the programmable read-only memory;
the application program is stored in a read-write non-volatile storage medium.
CN202010394655.7A 2020-05-11 2020-05-11 On-orbit maintenance method for connectionless satellite software based on Ethernet Active CN111698288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010394655.7A CN111698288B (en) 2020-05-11 2020-05-11 On-orbit maintenance method for connectionless satellite software based on Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010394655.7A CN111698288B (en) 2020-05-11 2020-05-11 On-orbit maintenance method for connectionless satellite software based on Ethernet

Publications (2)

Publication Number Publication Date
CN111698288A CN111698288A (en) 2020-09-22
CN111698288B true CN111698288B (en) 2023-04-07

Family

ID=72477648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010394655.7A Active CN111698288B (en) 2020-05-11 2020-05-11 On-orbit maintenance method for connectionless satellite software based on Ethernet

Country Status (1)

Country Link
CN (1) CN111698288B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190510B (en) * 2021-03-26 2023-05-30 中国科学院软件研究所 Method, device and system for uploading large-scale neural network oriented to software defined satellite

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983197A (en) * 2005-12-14 2007-06-20 上海微小卫星工程中心 Star-carried data processing system with on-line dynamic rescontruction
CN101681160A (en) * 2007-06-15 2010-03-24 空中客车运作股份公司 Computer system for aircraft maintenance
CN103777983A (en) * 2014-01-24 2014-05-07 航天东方红卫星有限公司 Satellite-borne software in-orbit maintaining and upgrading method
CN105577262A (en) * 2015-12-16 2016-05-11 西安空间无线电技术研究所 Spaceborne FPGA reconstruction system and reconstruction method based on inter-satellite link transceiving equipment
CN110289902A (en) * 2018-12-29 2019-09-27 中国科学院软件研究所 The more new system of software on a kind of star
CN110493791A (en) * 2019-07-26 2019-11-22 中国电子科技集团公司第三十八研究所 Empty Incorporate network architecture and design method based near space platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8094731B2 (en) * 2009-01-21 2012-01-10 The United States Of America As Represented By The Administrator Of The National Aeronautics And Space Administration System and method for transferring telemetry data between a ground station and a control center

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983197A (en) * 2005-12-14 2007-06-20 上海微小卫星工程中心 Star-carried data processing system with on-line dynamic rescontruction
CN101681160A (en) * 2007-06-15 2010-03-24 空中客车运作股份公司 Computer system for aircraft maintenance
CN103777983A (en) * 2014-01-24 2014-05-07 航天东方红卫星有限公司 Satellite-borne software in-orbit maintaining and upgrading method
CN105577262A (en) * 2015-12-16 2016-05-11 西安空间无线电技术研究所 Spaceborne FPGA reconstruction system and reconstruction method based on inter-satellite link transceiving equipment
CN110289902A (en) * 2018-12-29 2019-09-27 中国科学院软件研究所 The more new system of software on a kind of star
CN110493791A (en) * 2019-07-26 2019-11-22 中国电子科技集团公司第三十八研究所 Empty Incorporate network architecture and design method based near space platform

Also Published As

Publication number Publication date
CN111698288A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN109460245B (en) Remote upgrading method for embedded system
WO2021083244A1 (en) Multi-device batch firmware upgrade method for mesh network device
US7093244B2 (en) Method of remotely upgrading firmware in field-deployed devices
CN111698288B (en) On-orbit maintenance method for connectionless satellite software based on Ethernet
CN112540559B (en) Manual control method for program uploading
CN108121554A (en) A kind of upgrade method and upgrade-system of open air embedded device system
US20120079076A1 (en) High speed parallel data exchange
CN109828769A (en) A kind of embedded program remote update system and method based on TCP/IP
CN101621411B (en) Method and system for remotely updating microcontrollers
CN103391215A (en) Remote software downloading and updating method, device and system based on chain network
CN105099540A (en) Method for reconstructing in-orbit function of satellite processing type loads
CN113703803B (en) FPGA-based remote upgrading system, method and medium
CN107547245A (en) A kind of version upgrading method and device
CN110289902A (en) The more new system of software on a kind of star
CN110120980A (en) Reliable file transmission method, computer equipment and the storage medium of unstable link
CN111953403B (en) On-orbit reconstruction system and method for navigation satellite load
CN108989103A (en) Device updating method, debugger, the network equipment and network system
CN109688208A (en) A kind of data load method based on FC-AE-ASM message
CN105407003A (en) Data loading and unloading method for 1553 bus
KR101641799B1 (en) Failover system and method for restoring a TCP session
US7962780B2 (en) Command sequence numbering apparatus and method
KR101766446B1 (en) Duplex system and methods for synchronizing data and restoring data
US7535840B2 (en) Information processing apparatus and method, recording medium, and program
CN111913730A (en) User-insensitive application program internal updating method, user side and program server
CN115934143B (en) On-orbit incremental upgrading method for CPU software of satellite-borne GNSS occultation receiver

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