CN116974614A - Remote upgrade method and device for satellite terminal, electronic equipment and storage medium - Google Patents

Remote upgrade method and device for satellite terminal, electronic equipment and storage medium Download PDF

Info

Publication number
CN116974614A
CN116974614A CN202311192063.7A CN202311192063A CN116974614A CN 116974614 A CN116974614 A CN 116974614A CN 202311192063 A CN202311192063 A CN 202311192063A CN 116974614 A CN116974614 A CN 116974614A
Authority
CN
China
Prior art keywords
data
satellite terminal
satellite
package
upgrade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311192063.7A
Other languages
Chinese (zh)
Inventor
吕强
许建辉
唐尧
刘金全
宋博
李阳
杨立业
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Guodian Gaoke Technology Co ltd
Original Assignee
Beijing Guodian Gaoke Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Guodian Gaoke Technology Co ltd filed Critical Beijing Guodian Gaoke Technology Co ltd
Priority to CN202311192063.7A priority Critical patent/CN116974614A/en
Publication of CN116974614A publication Critical patent/CN116974614A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Radio Relay Systems (AREA)

Abstract

The invention provides a satellite terminal remote upgrading method, a device, electronic equipment and a storage medium, which relate to the technical field of satellite communication and are characterized in that an upgrading file packet is subjected to sub-packaging treatment; transmitting the plurality of sub-package data and the software identification information to a plurality of satellite terminal devices in a satellite broadcasting mode; acquiring satellite terminal equipment to be upgraded according to the software identification information; receiving data verification information fed back by the satellite terminal equipment to be upgraded; if the data verification information is verification failure, corresponding subcontracting data is reissued to the satellite terminal equipment with verification failure, so that a plurality of terminal equipment can finish batch upgrading, automatic and autonomous upgrading of the satellite terminal under the environment independent of a network can be realized, batch upgrading of the plurality of satellite terminal equipment is realized through a one-to-many satellite broadcasting mode, and in the process of batch upgrading, the satellite terminal to be upgraded can be screened out, repeated upgrading is avoided, the equipment performance is influenced, and the batch upgrading efficiency is improved.

Description

Remote upgrade method and device for satellite terminal, electronic equipment and storage medium
Technical Field
The present invention relates to the field of satellite communications technologies, and in particular, to a method and apparatus for remote upgrade of a satellite terminal, an electronic device, and a storage medium.
Background
Satellite terminals need to be upgraded periodically or aperiodically to meet various needs of users. The existing satellite terminal upgrading method mainly comprises the following steps: the first way is to directly upgrade by upgrade tool, i.e. connect with the special upgrade tool on the computer to erase and write the software inside the device by using the external interface of the device. The second mode is to upgrade the storage device, copy the upgrade file to the storage device, and when the terminal device is started, search whether the upgrade file exists in the storage device through the starting script, if so, upgrade. Both of the two upgrading modes belong to field upgrading, and cannot solve the problem that satellite terminal equipment is deployed in the field, even in mountain and forest areas with severe environments, and operation is performed on site, so that the operation cost is additionally increased. In the related art, through the network upgrade of the application program, the basic flow of the method is as follows: after the terminal equipment is started, the program is upgraded by downloading an upgrade file from a server through an application program. The method does not need manual operation and can automatically finish upgrading. However, since the connection server needs to be connected with the network, the upgrading of the terminal equipment in the network-free environment cannot be solved. In addition, each upgrade operation can only realize single equipment upgrade, and batch upgrade of a plurality of equipment cannot be realized at one time.
Disclosure of Invention
The invention provides a satellite terminal remote upgrading method, a device, electronic equipment and a storage medium, which are used for solving the defects that when a traditional connection server downloads an upgrading file to upgrade a satellite terminal, the terminal equipment in a networking environment cannot be upgraded, and a plurality of terminal equipment cannot be upgraded in batches.
The invention provides a satellite terminal remote upgrading method, which is applied to a data processing center and comprises the following steps:
the method comprises the steps of subpackaging an upgrade file packet to obtain a plurality of subpackage data, wherein the upgrade file packet has software identification information;
transmitting the plurality of sub-package data and the software identification information to a plurality of satellite terminal devices in a satellite broadcasting mode;
screening the plurality of satellite terminal devices according to the software identification information to obtain satellite terminal devices to be upgraded;
receiving data verification information fed back by the satellite terminal equipment to be upgraded;
and if the data verification information is verification failure, the corresponding subcontracting data is reissued to the satellite terminal equipment which fails to verify, so that a plurality of terminal equipment can complete batch upgrading.
According to the method for remotely upgrading a satellite terminal provided by the invention, the method for transmitting the plurality of sub-package data and the software identification information to a plurality of satellite terminal devices in a satellite broadcasting mode comprises the following steps:
the simulation terminal device sends the sub-packet data and the software identification information to a satellite, and the satellite sends the sub-packet data and the software identification information to a plurality of satellite terminal devices in a broadcasting mode;
correspondingly, the receiving the data verification information fed back by the satellite terminal equipment to be upgraded comprises the following steps:
and receiving data verification information of each satellite terminal device to be upgraded fed back by the satellite terminal device to be upgraded through the satellite and the analog terminal device.
According to the method for remotely upgrading the satellite terminal provided by the invention, the software identification information comprises a software version number and a software compiling date, and the plurality of satellite terminal devices are screened according to the software identification information, and the method comprises the following steps:
receiving a data frame fed back by each satellite terminal device, wherein the data frame comprises a terminal number, a current running software version number, a device type and a software compiling date;
if the software version number of the currently running software is different from the software version number of the upgrade file packet, confirming that the satellite terminal equipment is to-be-upgraded satellite terminal equipment;
and/or the number of the groups of groups,
and if the software compiling date of the currently operated software is different from the software compiling date of the upgrade file package, confirming that the satellite terminal equipment is the satellite terminal equipment to be upgraded.
According to the remote upgrade method for the satellite terminal provided by the invention, the upgrade file packet is subjected to sub-packaging processing, and the method comprises the following steps:
and subpackaging the upgrade file packet according to the preset byte size to obtain a plurality of subpackaged data, a total packet number and check codes of the subpackaged data.
According to the remote upgrading method of the satellite terminal provided by the invention, after a plurality of terminal devices are upgraded in batches, the remote upgrading method further comprises the following steps:
inquiring each satellite terminal by using a terminal paging instruction, and receiving a software version number and a software compiling date fed back by each satellite terminal;
comparing the received software version number and the software compiling date with the identification information of the file package to be upgraded;
if the information is inconsistent, judging that the upgrading is failed, and re-executing the upgrading operation on the satellite terminal with the failed upgrading.
The invention also provides a satellite terminal remote upgrading method, which is applied to the satellite terminal and comprises the following steps:
receiving a plurality of sub-package data corresponding to an upgrade file package sent by a data processing center, and software identification information of the upgrade file package;
feeding back the software identification information of the currently operated software to the data processing center to obtain satellite terminal equipment to be upgraded;
the satellite terminal equipment to be upgraded performs overall verification on the upgrade file package, verifies a plurality of sub-package data and feeds back data verification information to the data processing center;
and the satellite terminal equipment with failed verification receives the subcontracting data reissued by the data processing center, and the batch upgrading of a plurality of terminal equipment is completed.
According to the remote upgrade method for the satellite terminal provided by the invention, the satellite terminal equipment to be upgraded performs overall verification on the upgrade file package and verifies a plurality of sub-package data, and the method comprises the following steps:
after receiving upgrade data carrying a broadcast address, the satellite terminal caches the upgrade data, wherein the upgrade data comprises the total package number of an upgrade file, the package serial number of the current sent data, a software version number, upgrade package data and a package check value;
generating a sequence table with the same size as the total package number and sequentially increasing from 1 according to the total package number of the upgrade file, and calculating the check value of the upgrade package data and the check code comparison of a plurality of sub-package data sent by the data processing center;
if the check value of the updated packet data is the same as the check codes of the plurality of sub-packet data sent by the data processing center, marking that the packet data is successfully received, and setting the receiving state of the corresponding packet sequence number in the sequence table to be 1;
if the check value of the upgrade package data is different from the check codes of the multiple sub-package data sent by the data processing center, marking that the package data is not successfully received, and setting the receiving state of the corresponding package serial number in the sequence table to be 0.
The remote upgrading method for the satellite terminal provided by the invention further comprises the following steps:
and the satellite terminal and the data processing center adopt an asynchronous transmission mode to carry out data transmission.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the remote upgrading method of the satellite terminal is realized when the processor executes the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the satellite terminal remote upgrade method of any one of the above.
According to the satellite terminal remote upgrading method, the device, the electronic equipment and the storage medium, the upgrade file package is subjected to sub-packaging processing to obtain a plurality of sub-packaging data, and the upgrade file package has software identification information; transmitting the plurality of sub-package data and the software identification information to a plurality of satellite terminal devices in a satellite broadcasting mode; screening the plurality of satellite terminal devices according to the software identification information to obtain satellite terminal devices to be upgraded; receiving data verification information fed back by the satellite terminal equipment to be upgraded; if the data verification information is verification failure, corresponding subcontracting data is reissued to the satellite terminal equipment with verification failure, so that a plurality of terminal equipment can finish batch upgrading, automatic and autonomous upgrading of the satellite terminal under the environment independent of a network can be realized, batch upgrading of the plurality of satellite terminal equipment is realized through a one-to-many satellite broadcasting mode, and in the process of batch upgrading, the satellite terminal to be upgraded can be screened out, repeated upgrading is avoided, the equipment performance is influenced, and the batch upgrading efficiency is improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a satellite terminal remote upgrade method provided by the invention;
FIG. 2 is a second flow chart of the method for remote upgrade of a satellite terminal according to the present invention;
FIG. 3 is a third flow chart of the remote upgrade method of the satellite terminal according to the present invention;
FIG. 4 is a schematic flow chart of a remote upgrade method for a satellite terminal according to the present invention;
FIG. 5 is a flowchart of a remote upgrade method for a satellite terminal according to the present invention;
FIG. 6 is a flowchart of a remote upgrade method for a satellite terminal according to the present invention;
fig. 7 is a schematic structural diagram of a satellite terminal remote upgrade system provided by the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a satellite terminal remote upgrade method according to an embodiment of the present invention, where, as shown in fig. 1, the satellite terminal remote upgrade method according to an embodiment of the present invention is applied to a data processing center, and includes:
step 101, sub-packaging the upgrade file package to obtain a plurality of sub-packaging data, wherein the upgrade file package has software identification information;
because of the discontinuity of satellite transit, the transit time of one time may not be enough to send all the upgrade data, and the embodiment of the invention solves the problem caused by satellite discontinuous transit by performing sub-packaging treatment and sub-packaging verification on the upgrade file package, and independently supplementing the missing part and finally integrally verifying.
In the embodiment of the invention, the sub-packaging processing of the upgrade file package comprises the following steps:
and subpackaging the upgrade file packet according to the preset byte size to obtain a plurality of subpackaged data, a total packet number and check codes of the subpackaged data.
The calculation of the check code of each packet data adopts, for example, a CRC-16MODBUS algorithm, and specifically comprises:
(1) A 16-bit register with a value of 0xFFFF is loaded, this register being the CRC register.
(2) The first 8 bits of binary data (i.e., the first byte of the communication frame) is exclusive-ored with a 16 bit CRC register, the result of which is still stored in the CRC register.
(3) The contents of the CRC register are shifted right by one bit, the most significant bit is padded with 0's, and whether the shifted-out bit is a0 or a 1 is detected.
(4) If the shift-out bit is zero, repeating the third step (shifting one bit again right); if the shift-out bit is 1, the CRC register is exclusive-ored with 0XA 001.
(5) Repeating the steps (3) and (4) until the right shift is performed 8 times, so that the whole 8-bit data is processed.
(6) Repeating the steps (2) and (5), and processing the next byte of the communication information frame.
(7) And after all bytes of the communication information frame are calculated according to the steps, the high and low bytes of the obtained 16-bit CRC register are exchanged.
(8) The content of the CRC register finally obtained is as follows: and (5) CRC check codes.
Step 102, transmitting a plurality of sub-package data and software identification information to a plurality of satellite terminal devices in a satellite broadcasting mode;
in the embodiment of the invention, the data forwarding function of the satellite is utilized, so that the conventional simple point-to-point receiving and transmitting mode is changed, and the utilization mode of the satellite is wider.
Step 103, screening a plurality of satellite terminal devices according to the software identification information to obtain satellite terminal devices to be upgraded;
in the embodiment of the present invention, the software identification information includes a software version number and a software compiling date, and the screening of the plurality of satellite terminal devices according to the software identification information includes:
receiving a data frame fed back by each satellite terminal device, wherein the data frame comprises a terminal number, a current running software version number, a device type and a software compiling date;
if the software version number of the currently running software is different from the software version number of the upgrade file package, confirming that the satellite terminal equipment is to-be-upgraded satellite terminal equipment;
and/or the number of the groups of groups,
and if the software compiling date of the currently operated software is different from the software compiling date of the upgrading file packet, confirming that the satellite terminal equipment is the satellite terminal equipment to be upgraded.
104, receiving data verification information fed back by the satellite terminal equipment to be upgraded;
and 105, if the data verification information is verification failure, the corresponding subcontracting data is reissued to the satellite terminal equipment with the verification failure, so that the plurality of terminal equipment can finish batch upgrading.
The embodiment of the invention integrates the mobile network and the satellite network, and realizes the real-time receiving and processing of the upgrade data of the satellite terminal.
The traditional network upgrade through application programs comprises the following basic flow: after the terminal equipment is started, the program is upgraded by downloading an upgrade file from a server through an application program. The method does not need manual operation and can automatically finish upgrading. However, since the connection server needs to be connected with the network, the upgrading of the terminal equipment in the network-free environment cannot be solved. In addition, each upgrade operation can only realize single equipment upgrade, and batch upgrade of a plurality of equipment cannot be realized at one time.
According to the satellite terminal remote upgrading method provided by the embodiment of the invention, the upgrade file package is subjected to sub-packaging processing to obtain a plurality of sub-packaging data, and the upgrade file package has software identification information; transmitting the plurality of sub-package data and the software identification information to a plurality of satellite terminal devices in a satellite broadcasting mode; screening the plurality of satellite terminal devices according to the software identification information to obtain satellite terminal devices to be upgraded; receiving data verification information fed back by the satellite terminal equipment to be upgraded; if the data verification information is verification failure, corresponding subcontracting data is reissued to the satellite terminal equipment with verification failure, so that a plurality of terminal equipment can finish batch upgrading, automatic and autonomous upgrading of the satellite terminal under the environment independent of a network can be realized, batch upgrading of the plurality of satellite terminal equipment is realized through a one-to-many satellite broadcasting mode, and in the process of batch upgrading, the satellite terminal to be upgraded can be screened out, repeated upgrading is avoided, the equipment performance is influenced, and the batch upgrading efficiency is improved.
Based on any of the above embodiments, as shown in fig. 2, after the plurality of terminal devices complete batch upgrade, the method further includes:
step 201, inquiring each satellite terminal by using a terminal paging instruction, and receiving a software version number and a software compiling date fed back by each satellite terminal;
step 202, comparing the received software version number and software compiling date with the identification information of the file package to be upgraded;
and 203, if the information is inconsistent, judging that the upgrade is failed, and re-executing the upgrade operation on the satellite terminal with the upgrade failure.
According to the satellite terminal remote upgrading method provided by the embodiment of the invention, the plurality of satellite terminals are upgraded by adopting a satellite broadcasting mode to carry out data transmission, network connection is not required, and the system burden is not increased due to the increase of the number of the satellite terminals; the satellite terminal equipment is automatically updated without the assistance of other equipment, so that the research and development cost is reduced.
The invention utilizes special satellite terminal equipment numbers, realizes the data reception of all satellite terminals in the satellite coverage range through the satellite receiving and transmitting function, and solves the problem of simultaneous upgrading of a plurality of equipment and a plurality of types of equipment.
Fig. 3 is a flowchart of a satellite terminal remote upgrade method provided by an embodiment of the present invention, and as shown in fig. 3, the satellite terminal remote upgrade method provided by the embodiment of the present invention is applied to a satellite terminal, and includes:
step 301, receiving a plurality of sub-package data corresponding to an upgrade file package sent by a data processing center, and software identification information of the upgrade file package;
step 302, feeding back the software identification information of the currently operated software to a data processing center to obtain satellite terminal equipment to be upgraded;
step 303, the satellite terminal equipment to be upgraded performs overall verification on the upgrade file package, verifies a plurality of sub-package data and feeds back data verification information to the data processing center;
and step 304, the satellite terminal equipment with failed verification receives subcontracting data reissued by the data processing center, and the batch upgrading of a plurality of terminal equipment is completed.
In the embodiment of the invention, the satellite terminal and the data processing center adopt an asynchronous transmission mode for data transmission.
In the process of multi-terminal upgrading, the mode of asynchronous data transmission, overall verification and then reissuing failure data is adopted, so that the system works more freely, and meanwhile, the problem that the normal operation of the system is influenced due to abnormal data transmission caused by complex satellite-ground communication environment is also solved.
Based on any of the above embodiments, as shown in fig. 4, the satellite terminal device to be upgraded performs overall verification on the upgrade file package, and verifies a plurality of sub-packet data, including:
step 401, after receiving upgrade data carrying a broadcast address, a satellite terminal caches the upgrade data, wherein the upgrade data comprises the total package number of an upgrade file, the package serial number of current sent data, a software version number, upgrade package data and a package check value;
step 402, according to the total package number of the upgrade file, generating a sequence table which is sequentially increased from 1 and has the same size as the total package number, and calculating the check value of the upgrade package data to compare with the check codes of a plurality of sub-package data sent by the data processing center;
step 403, if the check value of the upgrade packet data is the same as the check codes of the plurality of sub-packet data sent by the data processing center, marking that the packet data is successfully received, and setting the receiving state of the corresponding packet sequence number in the sequence table to be 1;
and step 404, if the check value of the upgrade packet data is different from the check codes of the plurality of sub-packet data sent by the data processing center, marking that the packet data is not successfully received, and setting the receiving state of the corresponding packet sequence number in the sequence table to be 0.
The satellite terminal remote upgrading method provided by the embodiment of the invention is characterized in that a plurality of subcontracting data corresponding to an upgrading file packet and software identification information of the upgrading file packet are received, wherein the subcontracting data are sent by a data processing center; feeding back the software identification information of the currently operated software to a data processing center to obtain satellite terminal equipment to be upgraded; the satellite terminal equipment to be upgraded performs overall verification on the upgrade file package, verifies the plurality of sub-package data and feeds back data verification information to the data processing center; the satellite terminal equipment with failed verification receives subcontracting data reissued by the data processing center, batch upgrading of a plurality of terminal equipment is completed, automatic and autonomous upgrading of the satellite terminal under the environment independent of a network can be realized, batch upgrading of the plurality of satellite terminal equipment is realized through a one-to-many satellite broadcasting mode, and in the process of batch upgrading, the satellite terminal to be upgraded can be screened out, repeated upgrading is avoided, equipment performance is influenced, and batch upgrading efficiency is improved.
As shown in fig. 5, the single satellite terminal remote upgrade method based on satellite communication includes:
and step 1, the data processing platform analyzes the upgrade file package to obtain the name, the total byte number, the total check value (CRC-16 (Modbus)) and the software version number of the upgrade file package. And (3) carrying out packetizing processing according to the size of 96 bytes of each transmission data, complementing the complete packet by 0xFF when the last packet of data is less than 96 bytes, and calculating the check value of each packet.
And step 2, the paging terminal sends an inquiry data frame carrying the number of the terminal to be upgraded, the type of the data frame is defined as 0x6, and the instruction code is 0xF3. The target terminal is paged before upgrading to confirm that it has established a communication link with the satellite.
And 3, after receiving the paging instruction, the target terminal combines the terminal number, the software version number of the current running system, the equipment type and the compiling date into a data frame for feedback, wherein the type of the data frame is defined as 0x7, and the instruction code is 0xF3.
And 4, after receiving the feedback of the target satellite terminal, the data processing platform analyzes the feedback information. If the current running software version number and compiling date of the target satellite terminal are earlier than the current upgrading file packet, upgrading operation is carried out, otherwise, upgrading is not needed.
And 5, combining the total package number of the upgrade file package, the package serial number of the current transmitted data, the software version number, the target satellite terminal address, the instruction code, the upgrade package data and the package check value (CRC-16 (Modbus)) into an upgrade package data frame, defining the data frame type as 0x6 and the instruction code as 0xF0, and transmitting.
Step 6, after the target satellite terminal receives the upgrade packet data frame, the target satellite terminal firstly performs splitting treatment on the data frame:
(1) And calculating a check value (CRC-16 (Modbus)) of the upgrading data packet, and if the check value is not equal to the check value carried by the data packet, feeding back a failure result. The data frame type is defined as 0x7 and the instruction code is 0xF0. And after receiving the feedback information, the data processing platform continues to send the last data packet.
(2) And calculating a check value (CRC-16 (Modbus)) of the upgrading data packet, if the check value is equal to the check value carried by the data packet, caching the data sent at the time, marking the packet data, and continuously requesting the next packet data.
(3) And the data processing platform continues to send data according to the requested packet sequence number.
And 7, when the processing platform analyzes that the requested packet sequence number is equal to the total packet number, transmitting the last packet of data, and stopping data transmission. And after the target terminal requests the last packet of data, the target terminal does not continue to request.
And 8, performing upgrading, namely combining the target terminal number and the instruction code into an upgrade packet data frame, defining the data frame type as 0x6 and the instruction code as 0xF2, and transmitting.
And 9, feeding back after the target terminal receives the upgrading instruction. The data frame type is defined as 0x7 and the instruction code is 0xF2. After one minute, the terminal is automatically restarted, and the cached upgrade system package is operated.
And step 10, confirming an upgrading result, and inquiring by using a terminal paging instruction. And after the terminal receives the software version number and the compiling date, the terminal feeds back the software version number and the compiling date. After the data processing platform receives the feedback, checking the version number and the compiling date, and judging that the upgrading is successful, wherein the information is consistent; and judging that the information inconsistency is upgrade failure.
As shown in fig. 6, a method for remotely upgrading a plurality of satellite terminals based on satellite communication includes:
and step 1, the data processing platform analyzes the upgrade file package to obtain the name, the total byte number, the total check value (CRC-16 (Modbus)) and the software version number of the upgrade file package. And (3) carrying out packetizing processing according to the size of 96 bytes of each transmission data, complementing the complete packet by 0xFF when the last packet of data is less than 96 bytes, and calculating the check value of each packet.
And 2, combining the total package number of the upgrade file, the package serial number of the current transmitted data, the software version number, the target terminal address, the instruction code, the upgrade package data and the package check value (CRC-16 (Modbus)) into an upgrade package data frame, and transmitting the upgrade package data frame. The data frame type is defined as 0x6, the instruction code is 0xF0, the target terminal address is defined as 0xFFFFFF, and the address is a broadcast address.
Step 3, when the satellite terminal receives the upgrade data carrying the broadcast address, the data needs to be cached, and the necessary information carried in the data is recorded: the total package number of the upgrade file, the package serial number of the current transmitted data, the software version number, the upgrade package data and the package check value. According to the total package number of the upgrade file, a sequence table with the same size as the total package number is generated by increasing from 1, and the upgrade package data check value (CRC-16 (Modbus)) is calculated and compared with the check value carried by the data frame:
and if the values are equal, marking that the packet data is successfully received, and setting the receiving state of the corresponding packet sequence number in the sequence table to be 1.
If the values are not equal, the packet data is marked as not being successfully received, and meanwhile, the receiving state of the corresponding packet sequence number in the sequence table is set to be 0.
And step 4, the data processing platform sequentially transmits the upgrade package data, wherein the two processes of data transmission of the data processing platform and data receiving and storing of the satellite terminal work asynchronously during the period, and the terminal is not required to feed back until all the data are transmitted.
And step 5, paging the satellite terminal, transmitting an inquiry data frame carrying the terminal number to be upgraded, defining the type of the data frame as 0x6, and the instruction code as 0xF3. Paging the target terminal to confirm that it has established a communication system with the satellite.
And 6, after receiving the paging instruction, the target satellite terminal combines the terminal number, the software version number of the current running system, the equipment type and the compiling date into a data frame for feedback, wherein the type of the data frame is defined as 0x7, and the instruction code is 0xF3.
And 7, after receiving the feedback of the target satellite terminal, the data processing platform analyzes the feedback information. If the software version number and compiling date of the current running terminal are earlier than those of the current upgrade file, the upgrade operation is carried out, otherwise, the upgrade is not needed.
And 8, carrying out total verification on the upgrade data, combining the total package number of the upgrade file, the package serial number of the current transmitted data, the software version number, the target terminal address, the instruction code and the total verification value (CRC-16 (Modbus)) of the data package into a verification data frame, and transmitting the verification data frame. The data frame type is defined as 0x6 and the instruction code is 0xF1.
And 9, after receiving the check data frame, the target terminal calculates a check value (CRC-16 (Modbus)) of the self-cached upgrading total data and compares the check value of the total data carried by the check data frame.
And if the check values are the same, feeding back success information.
If the check values are different, failure information is fed back, and the sequence list of the received data packet is sent to the data processing center together.
Defining the data frame type as 0x7, the instruction code as 0xF1, success identification as 1 and failure identification as 0.
And step 10, after receiving the feedback of the target terminal, the data processing platform analyzes the feedback information.
And (5) successfully checking the result and executing the terminal upgrading instruction.
And if the verification result fails, analyzing a received data packet sequence table fed back by the terminal, analyzing the sequence number of the data packet with failed transmission, and retransmitting the data packet with failed reception. And after all the failed data packets are sent, executing the step 5.
And 11, performing upgrading, namely combining the number of the target satellite terminal and the instruction code into an upgrade packet data frame, defining the data frame type as 0x6 and the instruction code as 0xF2, and transmitting.
And step 12, feeding back the target satellite terminal after receiving the upgrading instruction. The data frame type is defined as 0x7 and the instruction code is 0xF2. After one minute, the terminal is automatically restarted, and the cached upgrade system package is operated.
And 13, confirming an upgrading result, and inquiring by using a terminal paging instruction. And after the terminal receives the software version number and the compiling date, the terminal feeds back the software version number and the compiling date. After the data processing platform receives the feedback, checking the version number and the compiling date, and judging that the upgrading is successful, wherein the information is consistent; and judging that the information inconsistency is upgrade failure.
The satellite terminal remote upgrading system provided by the invention is described below, and the satellite terminal remote upgrading system described below and the satellite terminal remote upgrading method described above can be correspondingly referred to each other.
Fig. 7 is a schematic diagram of a satellite terminal remote upgrade system according to an embodiment of the present invention, and as shown in fig. 7, the satellite terminal remote upgrade system according to an embodiment of the present invention includes:
the system comprises a data processing platform, an analog terminal device, a low-orbit satellite and a satellite terminal;
the simulation terminal device ensures the real-time performance of data transmission;
in the satellite transit time range, the data processing platform can send the upgrade file to the satellite through the analog terminal device, then the satellite transmits the upgrade data in a broadcasting mode, and the terminal stores the upgrade data after receiving the upgrade data.
After all the updating data broadcasting is completed, the data processing platform checks the integrity of the data stored in the satellite terminal through the analog terminal device, the checking instruction is issued in the mode of satellite broadcasting, the satellite terminal feeds back the details of the data packet received by the satellite terminal to the satellite after receiving the instruction, and the satellite sends the result in the broadcasting mode after receiving the feedback.
After receiving the feedback, the analog terminal device sends the result to the data processing platform, the platform analyzes the detail and resends the data packet which is not successfully received. And stopping data transmission and sending an instruction for executing the upgrade until the data processing platform analyzes that the satellite terminal has received the complete upgrade data.
And after receiving the upgrade instruction, the satellite terminal automatically restarts to realize the upgrade.
In the embodiment of the invention, the data processing platform is an active initiator of remote upgrading and consists of a front-end interface and a back-end processing platform. The method is mainly responsible for starting an upgrade process, processing an upgrade file, sending the upgrade file (to a satellite), checking the upgrade file, confirming the upgrade and ending the upgrade process. When the data processing platform selects the upgrade file, the upgrade file is subjected to sub-packaging processing according to the set byte size, the total package number and the check code of each package of upgrade data are calculated, and the information is sent to the satellite together with the upgrade data so as to be used for the satellite terminal to carry out data integrity check.
In the embodiment of the invention, the analog terminal device is a modified satellite terminal device, has the basic function of satellite communication, integrates mobile wireless communication equipment, and realizes real-time communication through a wireless network and a data processing platform. The device is installed in a specified range according to the requirement, is provided with a solar cell panel, integrates a GNSS positioning module, a temperature sensor and the like, and can transmit the information of the working state, the working environment and the like of the device to a data processing platform in a fixed time range, so that the device can be monitored in real time.
In the embodiment of the invention, the low orbit satellite has the characteristics of global coverage, miniaturization, low power consumption, low cost and the like, and can break through the geographic obstruction by networking a plurality of satellites, thereby providing a network environment with wider coverage and no dead angle for the arrival of the Internet of things.
In the embodiment of the invention, the satellite terminal equipment has the advantages of low power consumption, low cost, small volume and the like.
Fig. 8 illustrates a physical structure diagram of an electronic device, as shown in fig. 8, which may include: processor 810, communication interface (Communications Interface) 820, memory 830, and communication bus 840, wherein processor 810, communication interface 820, memory 830 accomplish communication with each other through communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to perform a satellite terminal remote upgrade method comprising: the upgrade file package is subjected to sub-packaging processing to obtain a plurality of sub-packaging data, wherein the upgrade file package has software identification information; transmitting the plurality of sub-package data and the software identification information to a plurality of satellite terminal devices in a satellite broadcasting mode; screening the plurality of satellite terminal devices according to the software identification information to obtain satellite terminal devices to be upgraded; receiving data verification information fed back by the satellite terminal equipment to be upgraded; if the data verification information is verification failure, corresponding subcontracting data are reissued to satellite terminal equipment which fails to be verified, so that a plurality of terminal equipment can finish batch upgrading; and/or receiving a plurality of sub-package data corresponding to the upgrade file package sent by the data processing center, and software identification information of the upgrade file package; feeding back the software identification information of the currently operated software to a data processing center to obtain satellite terminal equipment to be upgraded; the satellite terminal equipment to be upgraded performs overall verification on the upgrade file package, verifies the plurality of sub-package data and feeds back data verification information to the data processing center; and the satellite terminal equipment with failed verification receives subcontracting data reissued by the data processing center, and the batch upgrading of a plurality of terminal equipment is completed.
In another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the satellite terminal remote upgrade method provided by the above methods, the method comprising: the upgrade file package is subjected to sub-packaging processing to obtain a plurality of sub-packaging data, wherein the upgrade file package has software identification information; transmitting the plurality of sub-package data and the software identification information to a plurality of satellite terminal devices in a satellite broadcasting mode; screening the plurality of satellite terminal devices according to the software identification information to obtain satellite terminal devices to be upgraded; receiving data verification information fed back by the satellite terminal equipment to be upgraded; if the data verification information is verification failure, corresponding subcontracting data are reissued to satellite terminal equipment which fails to be verified, so that a plurality of terminal equipment can finish batch upgrading; and/or receiving a plurality of sub-package data corresponding to the upgrade file package sent by the data processing center, and software identification information of the upgrade file package; feeding back the software identification information of the currently operated software to a data processing center to obtain satellite terminal equipment to be upgraded; the satellite terminal equipment to be upgraded performs overall verification on the upgrade file package, verifies the plurality of sub-package data and feeds back data verification information to the data processing center; and the satellite terminal equipment with failed verification receives subcontracting data reissued by the data processing center, and the batch upgrading of a plurality of terminal equipment is completed.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The remote upgrading method for the satellite terminal is characterized by being applied to a data processing center and comprising the following steps of:
the method comprises the steps of subpackaging an upgrade file packet to obtain a plurality of subpackage data, wherein the upgrade file packet has software identification information;
transmitting the plurality of sub-package data and the software identification information to a plurality of satellite terminal devices in a satellite broadcasting mode;
screening the plurality of satellite terminal devices according to the software identification information to obtain satellite terminal devices to be upgraded;
receiving data verification information fed back by the satellite terminal equipment to be upgraded;
and if the data verification information is verification failure, the corresponding subcontracting data is reissued to the satellite terminal equipment which fails to verify, so that a plurality of terminal equipment can complete batch upgrading.
2. The method for remote upgrade of satellite terminals according to claim 1, wherein the transmitting the plurality of sub-packet data and the software identification information to the plurality of satellite terminal devices through satellite broadcasting includes:
the simulation terminal device sends the sub-packet data and the software identification information to a satellite, and the satellite sends the sub-packet data and the software identification information to a plurality of satellite terminal devices in a broadcasting mode;
correspondingly, the receiving the data verification information fed back by the satellite terminal equipment to be upgraded comprises the following steps:
and receiving data verification information of each satellite terminal device to be upgraded fed back by the satellite terminal device to be upgraded through the satellite and the analog terminal device.
3. The method for remotely upgrading a satellite terminal according to claim 1, wherein the software identification information includes a software version number and a software compiling date, and the screening the plurality of satellite terminal devices according to the software identification information includes:
receiving a data frame fed back by each satellite terminal device, wherein the data frame comprises a terminal number, a current running software version number, a device type and a software compiling date;
if the software version number of the currently running software is different from the software version number of the upgrade file packet, confirming that the satellite terminal equipment is to-be-upgraded satellite terminal equipment;
and/or the number of the groups of groups,
and if the software compiling date of the currently operated software is different from the software compiling date of the upgrade file package, confirming that the satellite terminal equipment is the satellite terminal equipment to be upgraded.
4. The method for remotely upgrading a satellite terminal according to claim 1, wherein the step of packetizing the upgrade package includes:
and subpackaging the upgrade file packet according to the preset byte size to obtain a plurality of subpackaged data, a total packet number and check codes of the subpackaged data.
5. The method for remotely upgrading a satellite terminal according to claim 1, further comprising, after the plurality of terminal devices complete the batch upgrade:
inquiring each satellite terminal by using a terminal paging instruction, and receiving a software version number and a software compiling date fed back by each satellite terminal;
comparing the received software version number and the software compiling date with the identification information of the file package to be upgraded;
if the information is inconsistent, judging that the upgrading is failed, and re-executing the upgrading operation on the satellite terminal with the failed upgrading.
6. The remote upgrading method for the satellite terminal is characterized by being applied to the satellite terminal and comprising the following steps of:
receiving a plurality of sub-package data corresponding to an upgrade file package sent by a data processing center, and software identification information of the upgrade file package;
feeding back the software identification information of the currently operated software to the data processing center to obtain satellite terminal equipment to be upgraded;
the satellite terminal equipment to be upgraded performs overall verification on the upgrade file package, verifies a plurality of sub-package data and feeds back data verification information to the data processing center;
and the satellite terminal equipment with failed verification receives the subcontracting data reissued by the data processing center, and the batch upgrading of a plurality of terminal equipment is completed.
7. The method for remotely upgrading a satellite terminal according to claim 6, wherein the satellite terminal device to be upgraded performs overall verification on the upgrade file package, and verifies a plurality of sub-packet data, including:
after receiving upgrade data carrying a broadcast address, the satellite terminal caches the upgrade data, wherein the upgrade data comprises the total package number of an upgrade file, the package serial number of the current sent data, a software version number, upgrade package data and a package check value;
generating a sequence table with the same size as the total package number and sequentially increasing from 1 according to the total package number of the upgrade file, and calculating the check value of the upgrade package data and the check code comparison of a plurality of sub-package data sent by the data processing center;
if the check value of the updated packet data is the same as the check codes of the plurality of sub-packet data sent by the data processing center, marking that the packet data is successfully received, and setting the receiving state of the corresponding packet sequence number in the sequence table to be 1;
if the check value of the upgrade package data is different from the check codes of the multiple sub-package data sent by the data processing center, marking that the package data is not successfully received, and setting the receiving state of the corresponding package serial number in the sequence table to be 0.
8. The method for remotely upgrading a satellite terminal according to claim 6, further comprising:
and the satellite terminal and the data processing center adopt an asynchronous transmission mode to carry out data transmission.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements the satellite terminal remote upgrade method according to any one of claims 1 to 5 and/or the satellite terminal remote upgrade method according to any one of claims 6 to 8.
10. A non-transitory readable storage medium having stored thereon a computer program, which when executed by a processor implements the satellite terminal remote upgrade method according to any one of claims 1 to 7, and/or the satellite terminal remote upgrade method according to any one of claims 6 to 8.
CN202311192063.7A 2023-09-15 2023-09-15 Remote upgrade method and device for satellite terminal, electronic equipment and storage medium Pending CN116974614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311192063.7A CN116974614A (en) 2023-09-15 2023-09-15 Remote upgrade method and device for satellite terminal, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311192063.7A CN116974614A (en) 2023-09-15 2023-09-15 Remote upgrade method and device for satellite terminal, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116974614A true CN116974614A (en) 2023-10-31

Family

ID=88485265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311192063.7A Pending CN116974614A (en) 2023-09-15 2023-09-15 Remote upgrade method and device for satellite terminal, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116974614A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951369A (en) * 2010-09-14 2011-01-19 太仓市同维电子有限公司 Batch terminal upgrading method and system based on automatic discovery
CN102722383A (en) * 2012-05-22 2012-10-10 航天数字传媒有限公司 Software upgrading method and digital issue terminal
CN104077164A (en) * 2014-07-08 2014-10-01 北京九天利建信息技术有限公司 Beidou terminal device software updating method in Beidou communication system
CN104811322A (en) * 2013-12-17 2015-07-29 深圳市伊爱高新技术开发有限公司 Method for remotely upgrading GPS vehicle-mounted terminals in batch mode
CN109471654A (en) * 2018-11-01 2019-03-15 北京华力创通科技股份有限公司 A kind of version upgrading method and device
CN114095971A (en) * 2022-01-19 2022-02-25 浙江吉利控股集团有限公司 Method, system, device, equipment and storage medium for processing communication data packet
CN115549757A (en) * 2022-09-13 2022-12-30 中国电子科技集团公司第五十四研究所 Satellite communication software online upgrading method
CN115562699A (en) * 2022-08-30 2023-01-03 中国空间技术研究院 On-orbit batch upgrading method and system for multi-satellite networking-oriented satellite-borne software
CN116015395A (en) * 2022-11-18 2023-04-25 中国空间技术研究院 Application data software updating system of space-based Internet of things

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951369A (en) * 2010-09-14 2011-01-19 太仓市同维电子有限公司 Batch terminal upgrading method and system based on automatic discovery
CN102722383A (en) * 2012-05-22 2012-10-10 航天数字传媒有限公司 Software upgrading method and digital issue terminal
CN104811322A (en) * 2013-12-17 2015-07-29 深圳市伊爱高新技术开发有限公司 Method for remotely upgrading GPS vehicle-mounted terminals in batch mode
CN104077164A (en) * 2014-07-08 2014-10-01 北京九天利建信息技术有限公司 Beidou terminal device software updating method in Beidou communication system
CN109471654A (en) * 2018-11-01 2019-03-15 北京华力创通科技股份有限公司 A kind of version upgrading method and device
CN114095971A (en) * 2022-01-19 2022-02-25 浙江吉利控股集团有限公司 Method, system, device, equipment and storage medium for processing communication data packet
CN115562699A (en) * 2022-08-30 2023-01-03 中国空间技术研究院 On-orbit batch upgrading method and system for multi-satellite networking-oriented satellite-borne software
CN115549757A (en) * 2022-09-13 2022-12-30 中国电子科技集团公司第五十四研究所 Satellite communication software online upgrading method
CN116015395A (en) * 2022-11-18 2023-04-25 中国空间技术研究院 Application data software updating system of space-based Internet of things

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
大卫•D.克拉克: "《智能网联汽车研究与开发丛书 智能座舱开发与实践》", 机械工业出版社, pages: 361 - 364 *

Similar Documents

Publication Publication Date Title
CA2217856C (en) Remote patching of operating code in a mobile unit
CN101807155B (en) Embedded software on-line updating method
US20070111724A1 (en) Apparatus and method for verifying reception and execution status of telecommand in satellite control system
CN102546784A (en) Method based on controller area network (CAN) bus and used for conducting batch upgrading for device firmware
CN110290015B (en) Remote deployment method, device and storage medium
CN113504922B (en) Robot software upgrading method and device, bridge server and upgrading server
CN113746892B (en) Remote upgrading method and wireless terminal equipment
CN111752579B (en) Bluetooth terminal upgrading method and device, storage medium and electronic equipment
CN111240713A (en) Method for detecting remote breakpoint continuous transmission through power utilization
CN111796843A (en) Application program upgrading method, device, equipment and storage medium
CN111506335A (en) DSP + FPGA-based program online upgrading method and system
CN114298284A (en) Network model conversion method, device, system, storage medium and electronic device
CN117278102A (en) Intelligent circulation processing method and system for on-board multi-source data
CN108845823B (en) Software online upgrading method based on F2812 chip
JPH11275054A (en) Radio communication system and transmitter and receiver used for the system
CN116974614A (en) Remote upgrade method and device for satellite terminal, electronic equipment and storage medium
CN112241270B (en) System and method for on-orbit maintenance of satellite-borne software in satellite constellation system
CN117201038A (en) Data transmission verification method, system, electronic equipment and storage medium
CN109639842B (en) NB-IOT equipment software upgrading system and method
US20100182194A1 (en) Positioning Apparatus and Method
CN105407003A (en) Data loading and unloading method for 1553 bus
CN115361104A (en) Intelligent equipment upgrading method, system, computer equipment and storage medium
CN114422356A (en) Method for switching firmware of skynet module
CN113518087A (en) IOT protocol reverse docking method and device
CN114090043A (en) Universal on-orbit dynamic reconstruction method, system and medium for satellite-borne software

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