Satellite payload instruction design optimization method, device, storage medium and electronic equipment

Through the satellite payload instruction design optimization method, the instruction sequence, call sequence and bias time in the instruction set playback instructions and instruction files are used to realize the encapsulation and automatic execution of instructions, solving the problem of high communication cost of satellite payload operation and control, and improving operation control efficiency and reliability.

CN119576418BActive Publication Date: 2025-05-09HEBEI TSINGHUA DEV RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510125575.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-27
Publication Date
2025-05-09
Estimated Expiration
2045-01-27

AI Technical Summary

Technical Problem

The prior art has problems such as difficulty in operation control and high communication cost in satellite payload operation control, resulting in low operation control efficiency.

Method used

By designing a satellite payload instruction design optimization method, the instruction sequence, call sequence and bias time in the instruction set playback instructions and instruction files can be used to realize the encapsulation and automatic execution of instructions, reducing operation control difficulty and communication costs.

Benefits of technology

This method can realize the functional tasks of multiple instructions through a single instruction set playback instruction, reduce operation control difficulty and communication costs, and improve operation control efficiency and reliability of satellite payloads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119576418B_ABST
    Figure CN119576418B_ABST
Patent Text Reader

Abstract

The present application discloses a satellite payload instruction design optimization method, device, storage medium and electronic device, which relates to the field of aerospace technology. The method includes: receiving an instruction set playback instruction sent by a satellite service platform, the instruction set playback instruction carries a first instruction set identifier; based on the first instruction set identifier, obtaining a corresponding instruction file, and a checksum file corresponding to the instruction file, wherein the instruction file records an instruction sequence recorded for a target functional task, as well as a calling order and offset time of the instruction sequence; performing an integrity check on the instruction file based on the checksum file to obtain a first integrity check result; if the instruction file is determined to be complete based on the first integrity check result, then executing the instruction sequence based on the calling order and offset time of the instruction sequence to complete the target functional task. The present application can reduce the difficulty of satellite payload operation and control and the communication cost with the user, while improving operation and control efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of aerospace technology, and in particular to a satellite payload instruction design optimization method, device, storage medium and electronic equipment. Background Art

[0002] With the development of commercial space and the launch of platform satellites, a single satellite often contains various payloads for different users. After the satellite is launched, it is necessary to use commands to effectively control the satellite payload.

[0003] At present, satellite payloads are usually controlled by sending commands one by one. However, the number of commands sent by the ground to each satellite payload ranges from a few to hundreds. This existing technology greatly increases the difficulty of satellite payload control and the communication cost with the user, and also leads to low control efficiency. Summary of the invention

[0004] In view of this, the present application provides a satellite payload instruction design optimization method, device, storage medium and electronic device, the main purpose of which is to reduce the difficulty of satellite payload operation and control and the communication cost with the user, while improving the operation and control efficiency.

[0005] According to a first aspect of the present application, a satellite payload instruction design optimization method is provided, the method comprising:

[0006] Receiving an instruction set playback instruction sent by the satellite service platform, where the instruction set playback instruction carries a first instruction set identifier;

[0007] Based on the first instruction set identifier, a corresponding instruction file and a verification code file corresponding to the instruction file are obtained, wherein the instruction file records an instruction sequence recorded for a target functional task, as well as a calling order and an offset time of the instruction sequence, and the instruction file is divided into importance levels according to multi-dimensional attribute information of the instruction file, and the instruction file is backed up according to the importance level;

[0008] Performing integrity check on the instruction file based on the verification code file to obtain a first integrity check result;

[0009] If it is determined according to the first integrity check result that the instruction file is complete, the instruction sequence is executed based on the calling order and offset time of the instruction sequence to complete the target functional task.

[0010] According to a second aspect of the present application, a satellite payload instruction design optimization device is provided, the device comprising:

[0011] A receiving unit, configured to receive an instruction set playback instruction sent by a satellite service platform, wherein the instruction set playback instruction carries a first instruction set identifier;

[0012] an acquisition unit, configured to acquire a corresponding instruction file and a verification code file corresponding to the instruction file based on the first instruction set identifier, wherein the instruction file records an instruction sequence recorded for a target functional task, as well as a calling order and an offset time of the instruction sequence, divide the instruction file into importance levels according to multi-dimensional attribute information of the instruction file, and back up the instruction file according to the importance level;

[0013] A verification unit, configured to perform an integrity check on the instruction file based on the verification code file to obtain a first integrity check result;

[0014] An execution unit is used to execute the instruction sequence based on the calling order and offset time of the instruction sequence to complete the target functional task if it is determined that the instruction file is complete according to the first integrity check result.

[0015] According to a third aspect of the present application, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned satellite payload instruction design optimization method is implemented.

[0016] According to the fourth aspect of the present application, an electronic device is provided, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned satellite payload instruction design optimization method when executing the program.

[0017] By means of the above technical scheme, the present application provides a satellite payload instruction design optimization method, device, storage medium and electronic device. Compared with the prior art, after receiving the instruction set playback instruction, the satellite payload can read the instruction sequence in the corresponding instruction file based on the first instruction set identifier carried by the instruction set playback instruction, and execute the instruction sequence according to the calling order and offset time of the instruction sequence to complete the target functional task. It can be seen that the present application can realize the functional tasks that originally required multiple instructions to complete through a single instruction set playback instruction by storing the instruction sequence, calling order and offset time frequently used by the satellite payload in the specified instruction file, so that the payload function can be encapsulated, and the operation and control personnel do not need to care about the internal information of the instruction set, that is, the present application can encapsulate a large number of instructions for the underlying design or design into a few instructions that are easy to understand for the application or function in a free and flexible manner, thereby reducing the difficulty of satellite payload operation and control, as well as the communication cost with the user side, and improving the operation and control efficiency and reliability of the satellite payload. In addition, this application integrates some functions of the program-controlled instructions into the satellite payload itself by recording the command files in advance, which can optimize the command interface between the satellite payload and the satellite service platform while ensuring the flexibility of the payload command functions.

[0018] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0020] Figure 1 A schematic diagram of a flow chart of a satellite payload instruction design optimization method provided in an embodiment of the present application is shown;

[0021] Figure 2 A schematic diagram of the instruction set recording process provided by an embodiment of the present application is shown;

[0022] Figure 3 A schematic diagram of the instruction file update process provided by an embodiment of the present application is shown;

[0023] Figure 4 A schematic diagram of the execution flow of the default instruction file provided in an embodiment of the present application is shown;

[0024] Figure 5 A schematic structural diagram of a satellite payload instruction design optimization device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0025] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0026] Existing technologies have greatly increased the difficulty of satellite payload operation and control, as well as the cost of communication with users, while also resulting in low operation and control efficiency.

[0027] In order to solve the above problems, the embodiment of the present invention provides a satellite payload instruction design optimization method, such as Figure 1 As shown, the method includes:

[0028] Step 10: Receive the instruction set playback instruction sent by the satellite service platform.

[0029] The instruction set playback instruction carries a first instruction set identifier, and the instruction set identifier is used to point to an instruction file, and the instruction file is stored inside the satellite payload.

[0030] In order to reduce the difficulty of satellite payload operation and control and reduce the communication cost with the user, the embodiment of the present invention stores the instruction sequence involved in the functional tasks frequently performed by the satellite payload, as well as the calling order and offset time of the instruction sequence in a specified instruction file, that is, a large number of instructions oriented to the underlying design or design are encapsulated in a free and flexible manner into a very small number of instructions that are easy to understand for applications or functions, thereby reducing the difficulty of satellite payload operation and control and the communication cost with the user, and improving the efficiency and reliability of satellite payload operation and control.

[0031] After the satellite is launched, if the satellite payload is successfully started, the satellite payload will feedback the status information of successful startup to the ground measurement and control station through the satellite service platform. After receiving the status information of successful startup of the satellite payload, if the ground measurement and control station needs to control the satellite payload, it will send an instruction set playback instruction to the satellite service platform. The satellite service platform forwards the instruction set playback instruction to the satellite payload. The instruction set playback instruction includes a first instruction set identifier, which is used to point to a recorded instruction file. The instruction file records the instruction sequence involved in the satellite payload performing the corresponding functional tasks, as well as the calling order and offset time of the instruction sequence.

[0032] Step 20: Based on the first instruction set identifier, obtain a corresponding instruction file and a verification code file corresponding to the instruction file.

[0033] The instruction file records the instruction sequence recorded for the target functional task, as well as the calling order and offset time of the instruction sequence. The offset time specifically refers to the execution interval between any two adjacent instructions in the instruction sequence. In addition, the verification code file records the verification value corresponding to the instruction file, which is stored inside the satellite payload together with the instruction file. At the same time, the importance level of the instruction file can be divided according to the multi-dimensional attribute information of the instruction file, and the instruction file can be backed up according to the importance level. The multi-dimensional attribute information includes the functional task type, security risk and time sensitivity of the instruction file.

[0034] For the embodiment of the present invention, after receiving the instruction set playback instruction sent by the satellite service platform, the satellite payload determines whether the corresponding instruction file is stored based on the first instruction set identifier carried by the instruction set playback instruction. If the corresponding instruction file is stored, the instruction file is further checked for integrity.

[0035] Step 30: Perform an integrity check on the instruction file based on the verification code file to obtain a first integrity check result.

[0036] For the embodiment of the present invention, when performing integrity check on the instruction file, a preset verification algorithm can be used to calculate the verification code of the instruction file to obtain the verification code corresponding to the instruction file, wherein the preset verification algorithm includes any one of MD5, SHA-1, and SHA-256. It should be noted that the preset verification algorithm used in the embodiment of the present invention is not limited to the verification algorithms listed above, and can also be other verification algorithms.

[0037] After calculating the check code corresponding to the instruction file, compare the calculated check code with the check code in the check code file. If the two check codes are consistent, it means that the instruction file is complete; if the two check codes are inconsistent, it means that the instruction file is incomplete and the instruction sequence in the instruction file may have a bit jump.

[0038] It should be noted that the verification algorithm used in the embodiment of the present invention when calculating the verification code corresponding to the instruction file needs to be the same as the verification algorithm used by the verification code file.

[0039] Furthermore, in order to improve the accuracy of the integrity check of the instruction file and ensure the accuracy of the integrity check result of the instruction file, the embodiment of the present invention can also use multiple preset check algorithms to perform integrity check on the instruction file. For this process, the method includes: using multiple preset check algorithms to respectively calculate the check code corresponding to the instruction file; comparing the check code calculated by the multiple preset check algorithms with the check code in the check code file; if the check codes calculated by the multiple preset check algorithms are all consistent with the check code in the check code file, then the instruction file is determined to be complete; if the check code calculated by any one of the multiple preset check algorithms is inconsistent with the check code in the check code file, then the instruction file is determined to be incomplete.

[0040] The check code file stores check codes calculated using a variety of preset check algorithms.

[0041] For the embodiment of the present invention, in order to ensure the accuracy of the integrity check result of the instruction file, when the check codes calculated by using multiple preset check algorithms for the instruction file are consistent with the check codes in the check code file, the instruction file is determined to be complete; if the check code calculated by any one of the check algorithms is inconsistent with the corresponding check code in the check code file, the instruction file is determined to be incomplete.

[0042] In a specific application scenario, in order to ensure that some important functional tasks can be successfully executed by the satellite payload, the instruction file corresponding to the functional task will be backed up. When it is determined that the instruction file is incomplete, the backup instruction file corresponding to the instruction file and the backup verification code file corresponding to the backup instruction file can also be obtained. Based on this, the method includes: if the instruction file is determined to be incomplete according to the first integrity check result, then determine whether there is a backup instruction file for the instruction file; if there is a backup instruction file, then obtain the backup instruction file corresponding to the instruction file and the backup verification code file corresponding to the backup instruction file; use multiple preset verification algorithms to respectively calculate the backup verification code corresponding to the backup instruction file; compare the backup verification code calculated by the multiple preset verification algorithms with the backup verification code in the backup verification code file; if the backup verification codes calculated by the multiple preset verification algorithms are all consistent with the backup verification code in the backup verification code file, then determine that the backup instruction file is complete; execute the instruction sequence in the backup instruction file to complete the target functional task.

[0043] The number of backup instruction files may be one, two or more, and the number of backup instruction files depends on the importance of instruction files involved in the functional tasks of the satellite payload.

[0044] Step 40: If it is determined that the instruction file is complete according to the first integrity check result, the instruction sequence is executed based on the calling order and offset time of the instruction sequence to complete the target functional task.

[0045] For the embodiment of the present invention, if it is determined that the instruction file is complete, the satellite payload software will read the instruction sequence in the instruction file, as well as the calling order and offset time of the instruction sequence, and complete the specific functional task according to the calling order and offset time; if it is determined that the instruction file is incomplete, a prompt message of playback failure will be fed back to the satellite service platform, and the playback process will be exited.

[0046] In some embodiments, the satellite payload needs to perform instruction set recording and packaging before replaying the instruction set. Figure 2 As shown, including:

[0047] Step 50: Receive the instruction set recording instruction sent by the satellite service platform.

[0048] The instruction set recording instruction carries a second instruction set identifier and the number of recording instructions. The second instruction set identifier is used to point to the instruction file. The second instruction set identifier and the first instruction set identifier may be the same or different. For example, the second instruction set identifier and the first instruction set identifier are both X, and both point to the instruction file 000. For another example, the second instruction set identifier is X, and the first instruction set identifier is Y, and both point to the instruction file 000.

[0049] For the embodiments of the present invention, after the satellite is launched, if the satellite payload is successfully started, the satellite payload will feedback the status information of the successful startup to the ground measurement and control station through the satellite service platform. After receiving the status information of the successful startup of the satellite payload, the ground measurement and control station will send the instruction set recording instructions to the satellite payload through the satellite service platform, and send the instructions related to the specific functional tasks to the satellite payload one by one according to the set instruction offset time.

[0050] Step 60: Record instructions based on the instruction set, and receive instruction sequences sent one by one by the satellite service platform.

[0051] According to the embodiment of the present invention, after receiving the instruction set recording instruction, the satellite payload will receive the instructions forwarded by the satellite service platform one by one based on the instruction set recording instruction.

[0052] Step 70: Determine whether the accumulated number of the instruction sequence reaches the number of recording instructions.

[0053] For the embodiment of the present invention, if the satellite payload does not receive any further instructions within a preset time after receiving a certain instruction, it is said that the satellite service platform has forwarded all instructions. At this time, the satellite payload will determine whether the received instructions have accumulated to N according to the number of recorded instructions N carried by the instruction set recording instructions.

[0054] Step 80: If the cumulative number of the instruction sequence reaches the number of recorded instructions, generate an instruction file corresponding to the second instruction set identifier, record and store the instruction sequence in the instruction file, and record the calling order and offset time of the instruction sequence in the instruction file.

[0055] For the embodiment of the present invention, if the instructions received by the satellite payload accumulate to the number of recorded instructions (N), an instruction file is created, and the multiple instructions received are recorded and stored in the instruction file as an instruction sequence, and the calling order and offset time of the instruction sequence are recorded in the instruction file; if the instructions received by the satellite payload do not accumulate to the number of recorded instructions, the instruction sequence is not recorded and stored, and the satellite payload needs to be restarted to re-record the instructions.

[0056] The satellite payload in the embodiment of the present invention can accurately determine whether all sent instructions have been received by recording the number of instructions, thereby further ensuring the integrity and accuracy of the recorded instruction file.

[0057] Step 90: Use a plurality of preset verification algorithms to calculate the verification code of the instruction file to generate the verification code file corresponding to the instruction file.

[0058] Among them, the various preset verification algorithms include MD5, SHA-1, SHA-256 and other verification algorithms.

[0059] After the recording of the instruction file is completed, in order to facilitate the subsequent integrity check of the instruction file, the embodiment of the present invention also needs to generate a verification code file corresponding to the instruction file while recording the instruction file, and store the instruction file and the verification code file together.

[0060] In some embodiments, in order to ensure that the target functional tasks can be executed sequentially, some important instruction files need to be backed up. Based on this, the method includes: determining the importance level of the recorded instruction file based on the target functional tasks; determining the number of backups corresponding to the instruction file according to the importance level; backing up the instruction file based on the backup number to obtain at least one backup instruction file corresponding to the instruction file, and generating a backup verification code file corresponding to the at least one backup instruction file.

[0061] Specifically, the corresponding instruction files can be divided into multiple importance levels according to different functional tasks. The higher the importance level, the more instruction files need to be backed up; on the contrary, the lower the importance level, the fewer instruction files need to be backed up. When backing up the instruction files, it is also necessary to generate a backup verification code file corresponding to the backup instruction files, and each backup instruction file corresponds to a backup verification code file. Among them, the importance level can be divided into multiple levels according to actual business needs.

[0062] When specifically classifying the importance level of instruction files, it is necessary not only to consider the type of functional tasks, but also the security risks and time sensitivity. Among them, for some relatively important functional tasks, the importance level corresponding to the instruction file will be relatively high. In addition, the operations involved in the instruction file may bring risks to system security and data security. Therefore, the higher the security risk, the higher the importance level of the instruction file. Furthermore, some instruction files need to be executed within a specific time limit, and exceeding the deadline may have a serious impact on the business. Therefore, the importance level of these instruction files is relatively high. Based on the above factors that affect the importance level of instruction files (type of functional tasks, security risks and time sensitivity), the embodiment of the present invention can use a neural network algorithm to predict the importance level corresponding to the instruction file.

[0063] When predicting the importance level corresponding to the instruction file based on the type of functional task, the security risk and time sensitivity of the instruction file, first determine the feature vector corresponding to the instruction file according to the type of functional task, the security risk and time sensitivity of the instruction file, and then input the feature vector corresponding to the instruction file into a preset importance level prediction model to predict the importance level and obtain the importance level corresponding to the instruction file. Specifically, the preset importance level prediction model can be a neural network model, such as a multi-layer perceptron.

[0064] Specifically, first determine the corresponding characteristic component according to the type of functional task, such as the characteristic component corresponding to functional task A is 001, the characteristic component corresponding to functional task B is 010, and the characteristic component corresponding to functional task C is 001. In addition, if the instruction file has a security risk, its corresponding characteristic component is 01, and if the instruction file does not have a security risk, its corresponding characteristic component is 10. Similarly, if the instruction set in the instruction file is more sensitive to time, its corresponding characteristic component is 01, on the contrary, if the instruction set in the instruction file is not sensitive to time, its corresponding characteristic component is 10. Thus, according to the above method, the characteristic components corresponding to each influencing factor can be determined, and then each characteristic component is horizontally spliced ​​to obtain the characteristic vector corresponding to the instruction file, and then the characteristic vector corresponding to the instruction file is input into the preset importance level prediction model for importance level prediction, and the probability value of the instruction file belonging to different importance levels is obtained, and finally the maximum probability value is selected from each probability value, and the maximum probability to the corresponding importance level is determined as the target importance level corresponding to the instruction file. After determining the target importance level corresponding to the instruction file, the number of instruction files that need to be backed up can be determined.

[0065] The embodiment of the present invention can accurately determine the importance level corresponding to the instruction file by presetting the importance level prediction model, thereby ensuring the accuracy of the backup quantity determination result.

[0066] In addition to recording instructions through instruction sets and recording and storing instruction sequences involved in specific functional tasks in the satellite payload, the embodiments of the present invention can also directly transmit the pre-configured instruction files on the ground to the satellite payload through the on-orbit OTA function. The above two methods are after the satellite is launched. The pre-configured instruction files can also be pre-set in the satellite payload before the satellite is launched.

[0067] After being in orbit, in-orbit updates and deletions can be performed through instruction set recording instructions or in-orbit OTA function.

[0068] The embodiment of the present invention records instructions through an instruction set, stores the instruction sequence, call order and offset time frequently used by the satellite payload in a specified instruction file, and can encapsulate a large number of instructions for the underlying design or design into a few instructions that are easy to understand for applications or functions in a free and flexible manner, thereby reducing the difficulty of satellite payload operation and control, as well as the communication cost with the user side, and improving the efficiency and reliability of satellite payload operation and control. In addition, the embodiment of the present invention integrates some functions of the program-controlled instructions into the satellite payload itself by recording the instruction file in advance, and can optimize the instruction interface between the satellite payload and the satellite service platform while ensuring the flexibility of the payload instruction function.

[0069] In some embodiments, the instruction file inside the satellite payload may also be updated. Figure 3 As shown, including:

[0070] Step 100: In response to the instruction file update package injection instruction, receive the instruction file update package and the update package verification code file.

[0071] The update package verification code file is used to verify the integrity of the instruction file update package.

[0072] For the embodiment of the present invention, after the ground tracking and control station receives the status information of successful satellite payload startup, the ground tracking and control station will send an update package injection instruction to the satellite payload through the satellite service platform. The injection instruction carries the instruction file update package and the update package verification code file.

[0073] Step 110: Perform integrity check on the instruction file update package based on the update package verification code file to obtain a second integrity check result.

[0074] For the embodiment of the present invention, a preset verification algorithm is used to calculate the verification code of the instruction file update package. If the verification code is consistent with the verification code in the update package verification code file, it means that the instruction file update package is complete; if the verification code is inconsistent with the verification code in the update package verification code file, it means that the instruction file update package is incomplete.

[0075] Step 120: If it is determined according to the second integrity check result that the instruction file update package has been completely received, feedback of verification success information is sent to the satellite service platform.

[0076] For the embodiment of the present invention, if the satellite payload verification command file update package is complete, the verification success information is fed back to the satellite service platform, and the satellite service platform then feeds back the verification success information to the ground measurement and control station; if the satellite payload verification command file update package is incomplete, it means that the update has failed and needs to be re-injected.

[0077] Step 130: Receive an update instruction sent by the satellite service platform based on the verification success information, and based on the update instruction, copy the instruction file corresponding to the instruction file update package to a corresponding location.

[0078] For the embodiment of the present invention, after receiving the verification success information, the ground measurement and control station will send an update instruction to the satellite service platform, and the satellite service platform will forward the update instruction to the satellite payload. Based on the update instruction, the satellite payload will copy the instruction file corresponding to the instruction file update package to the location of the pre-recorded instruction file, and replace or update the recorded instruction file. In this way, the instruction file recorded by the satellite payload can be updated, thereby realizing the function upgrade of the satellite payload.

[0079] Furthermore, during the update process, it is necessary to monitor in real time whether the update instructions are executed normally, that is, whether the instruction file corresponding to the instruction file update package is stored in the specified location inside the satellite payload. If the update instruction is not executed normally, it is necessary to analyze the cause of the failure.

[0080] Among them, the reasons for failure include problems with the instruction file itself, data transmission problems, hardware equipment problems and software program problems. Problems with the file itself include file damage, incorrect format, size error, etc. The influencing factors involved in the file itself include the format, size, version, encryption method, transmission method, etc. of the instruction file; data transmission problems are due to unstable or unreliable communication links between the satellite payload and the ground measurement and control station, which leads to interruption or loss of file data transmission, resulting in failure of upload. The influencing factors involved in data transmission problems include received signal strength, bandwidth, transmission speed, etc.; hardware equipment problems include failure of the satellite payload processor or memory, etc. The influencing factors involved in hardware equipment problems include disk space, memory, CPU utilization and other information; software program problems include program errors, algorithm errors, operational errors, etc. The influencing factors involved in software program problems include system configuration, operating environment, file operation permissions, etc.

[0081] The embodiment of the present invention can use a neural network algorithm to accurately analyze the reasons for the failure of the update package to be uploaded. Specifically, when the update package fails to be uploaded, the format, size, version, encryption method, transmission method, received signal strength, bandwidth, transmission speed, disk space, memory, CPU utilization, system configuration, operating environment, file operation permissions and other multi-dimensional information of the instruction file can be obtained. After obtaining the above information, the information of each dimension is encoded. For example, the code corresponding to the instruction file format A is 001, the code corresponding to the instruction format B is 010, and the code corresponding to the instruction file format C is 001. For another example, the CPU utilization is between 0-40%, and the corresponding code is 001; the CPU utilization is between 40%-70%, and the corresponding code is 010; the CPU utilization is above 70%, and the corresponding code is 001. For another example, the code with file operation permissions is 01, and the code without file operation permissions is 10. Therefore, according to the above method, the code corresponding to each dimensional information can be determined, and then the code corresponding to each dimensional information is horizontally spliced ​​to obtain the upper annotation feature vector, and then the upper annotation feature vector is input into the preset cause analysis model to analyze the cause of failure, and the root cause of the upper annotation failure is output.

[0082] Among them, the preset cause analysis model can specifically be a neural network model, such as a multi-layer perceptron, a convolutional neural network, and a support vector machine.

[0083] For example, obtain basic information such as the format, size, version, encryption method, transmission method, received signal strength, bandwidth, transmission speed, disk space, memory, CPU utilization, system configuration, operating environment, file operation permissions, etc. of the instruction file, and determine the upper annotation feature vector corresponding to the basic information. Then, input the upper annotation feature vector into the multi-layer perceptron for cause classification, such as problems with the file itself, data transmission problems, hardware equipment problems, and software program problems.

[0084] In some embodiments, if the satellite payload does not receive any command from the satellite service platform after startup, the default command sequence may be executed first. Figure 4 As shown, including:

[0085] Step 140: Determine whether a platform instruction sent by the satellite service platform is received within a preset time period after power-on or restart.

[0086] The preset duration may be set according to actual business requirements, and the embodiment of the present invention does not specifically limit this.

[0087] According to the embodiment of the present invention, after the satellite payload is powered on or restarted, it is determined whether a platform instruction sent by the satellite service platform is received within a preset time period. If a platform instruction is received, the platform instruction is executed.

[0088] Step 150: If the platform instruction is not received within a preset time period, a default instruction file and a default verification code file are obtained.

[0089] For an embodiment of the present invention, if no platform instruction is received within a preset time period, it is determined whether there is a default instruction file. If there is no default instruction file, the platform instruction is waited for; if there is a default instruction file, the default verification code file corresponding to the default instruction file is obtained to perform integrity verification on the default instruction file.

[0090] It should be noted that the default instruction file of the embodiment of the present invention may also be pre-stored in the satellite payload through instruction set recording instructions.

[0091] Step 160: Perform an integrity check on the default instruction file based on the default verification code file to obtain a third integrity check result.

[0092] For the embodiment of the present invention, a preset verification algorithm can be used to calculate the verification code of the default instruction file, and then the calculated verification code is compared with the verification code in the default verification code file. If the two are inconsistent, it is determined that the default instruction file is incomplete, and the platform instruction is waited for; if the two are consistent, it is determined that the default instruction file is complete.

[0093] Step 170: If it is determined that the default instruction file is complete according to the third integrity check result, the instruction sequence in the default instruction file is executed.

[0094] The embodiment of the present invention can enable the satellite payload to perform a series of default configurations or conventional tasks after being powered on through the above design.

[0095] The embodiment of the present invention stores the instruction sequence, calling order and offset time frequently used by the satellite payload in a designated instruction file, and can play back instructions through a single instruction set to achieve functional tasks that originally require multiple instructions to complete, thereby enabling the payload function to be encapsulated, and the operation and control personnel do not need to care about the internal information of the instruction set, that is, the embodiment of the present invention can encapsulate a large number of instructions for the underlying design or design into a few instructions that are easy to understand for applications or functions in a free and flexible manner, thereby reducing the difficulty of satellite payload operation and control, as well as the communication cost with the user side, and improving the operation and control efficiency and reliability of the satellite payload. In addition, the embodiment of the present invention integrates some functions of the program-controlled instructions into the satellite payload itself by recording the instruction file in advance, and can optimize the instruction interface between the satellite payload and the satellite service platform while ensuring the flexibility of the payload instruction function.

[0096] Further, as Figure 1-Figure 4 The specific implementation of the method shown in the embodiment provides a satellite payload instruction design optimization device, such as Figure 5 As shown, the device includes: a receiving unit 101, an acquiring unit 102, a checking unit 103 and an executing unit 104.

[0097] The receiving unit 101 may be configured to receive an instruction set playback instruction sent by a satellite service platform, wherein the instruction set playback instruction carries a first instruction set identifier.

[0098] The acquisition unit 102 can be used to acquire the corresponding instruction file and the verification code file corresponding to the instruction file based on the first instruction set identifier, wherein the instruction file records the instruction sequence recorded for the target functional task, as well as the calling order and offset time of the instruction sequence, and divides the importance level of the instruction file according to the multi-dimensional attribute information of the instruction file, and backs up the instruction file according to the importance level.

[0099] The verification unit 103 may be configured to perform an integrity check on the instruction file based on the verification code file to obtain a first integrity check result.

[0100] The execution unit 104 may be configured to execute the instruction sequence based on the calling order and offset time of the instruction sequence to complete the target functional task if it is determined that the instruction file is complete according to the first integrity check result.

[0101] In some embodiments, the verification unit 103 includes: a calculation module, a comparison module and a determination module.

[0102] The calculation module can be used to respectively calculate the verification codes corresponding to the instruction files using a variety of preset verification algorithms.

[0103] The comparison module may be configured to compare the check codes calculated by the plurality of preset check algorithms with the check codes in the check code file.

[0104] The determination module may be configured to determine that the instruction file is complete if the verification codes calculated by the plurality of preset verification algorithms are all consistent with the verification codes in the verification code file.

[0105] The determination module may also be configured to determine that the instruction file is incomplete if a check code calculated by any one of the plurality of preset check algorithms is inconsistent with a check code in the check code file.

[0106] In some embodiments, the device further includes: a judgment unit.

[0107] The judgment unit may be configured to determine whether there is a backup command file for the command file if it is determined that the command file is incomplete according to the first integrity check result.

[0108] The acquisition unit 102 may also be configured to acquire a backup instruction file corresponding to the instruction file and a backup verification code file corresponding to the backup instruction file if a backup instruction file exists.

[0109] The verification unit 103 can also be used to adopt multiple preset verification algorithms to respectively calculate the backup verification codes corresponding to the backup instruction file; compare the backup verification codes calculated by the multiple preset verification algorithms with the backup verification codes in the backup verification code file; if the backup verification codes calculated by the multiple preset verification algorithms are all consistent with the backup verification codes in the backup verification code file, it is determined that the backup instruction file is complete.

[0110] The execution unit 104 may also be used to execute the instruction sequence in the backup instruction file to complete the target functional task.

[0111] In some embodiments, the device further includes: a recording unit and a computing unit.

[0112] The receiving unit 101 may also be used to receive an instruction set recording instruction sent by the satellite service platform, where the instruction set recording instruction carries a second instruction set identifier and the number of recording instructions.

[0113] The receiving unit 101 may also be configured to record instructions based on the instruction set and receive instruction sequences sent one by one by the satellite service platform.

[0114] The determination unit may also be used to determine whether the accumulated number of the instruction sequence reaches the number of recording instructions.

[0115] The recording unit can be used to generate an instruction file corresponding to the second instruction set identifier if the cumulative number of the instruction sequence reaches the number of recorded instructions, store the instruction sequence recording in the instruction file, and record the calling order and offset time of the instruction sequence in the instruction file.

[0116] The calculation unit may be configured to use a plurality of preset verification algorithms to perform verification code calculation on the instruction file, so as to generate the verification code file corresponding to the instruction file.

[0117] In some embodiments, the device further includes: a backup unit.

[0118] The backup unit can be used to determine the importance level of the recorded instruction file based on the target functional task; determine the number of backups corresponding to the instruction file according to the importance level; back up the instruction file based on the backup number to obtain at least one backup instruction file corresponding to the instruction file, and generate a backup verification code file corresponding to the at least one backup instruction file.

[0119] In some embodiments, the apparatus further comprises: an updating unit.

[0120] The update unit can be used to respond to the instruction on the instruction file update package, receive the instruction file update package and the update package verification code file; perform integrity verification on the instruction file update package based on the update package verification code file to obtain a second integrity verification result; if it is determined according to the second integrity verification result that the instruction file update package has been completely received, feedback verification success information to the satellite service platform; receive the update instruction sent by the satellite service platform based on the verification success information, and based on the update instruction, copy the instruction file corresponding to the instruction file update package to the corresponding location.

[0121] In some embodiments, the judgment unit may also be used to determine whether a platform instruction sent by the satellite service platform is received within a preset time period after power-on or restart.

[0122] The acquisition unit 102 may also be configured to acquire a default instruction file and a default verification code file if the platform instruction is not received within a preset time period.

[0123] The verification unit 103 may also be configured to perform an integrity check on the default instruction file based on the default verification code file to obtain a third integrity check result.

[0124] The execution unit 104 may also be configured to execute the instruction sequence in the default instruction file if it is determined that the default instruction file is complete according to the third integrity check result.

[0125] It should be noted that for other corresponding descriptions of the functional units involved in the satellite payload instruction design optimization device provided in this embodiment, reference can be made to Figure 1-Figure 4 The corresponding description in will not be repeated here.

[0126] Based on the above Figure 1-Figure 4 The method shown in the embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned Figure 1-Figure 4 Satellite payload instruction design optimization method shown.

[0127] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling an electronic device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.

[0128] Based on the above Figure 1-Figure 4 The method shown, and Figure 5 In order to achieve the above-mentioned purpose, the embodiment of the present application also provides an electronic device, which can be a personal computer, a tablet computer, a server, or other network equipment, etc. The device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figure 1-Figure 4 Satellite payload instruction design optimization method shown.

[0129] Optionally, the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.

[0130] Those skilled in the art will appreciate that the above-mentioned physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different arrangements of components.

[0131] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.

[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or by hardware.

[0133] The embodiment of the present invention stores the instruction sequence, calling order and offset time frequently used by the satellite payload in a designated instruction file, and can play back instructions through a single instruction set to achieve functional tasks that originally require multiple instructions to complete, thereby enabling the payload function to be encapsulated, and the operation and control personnel do not need to care about the internal information of the instruction set, that is, the embodiment of the present invention can encapsulate a large number of instructions for the underlying design or design into a few instructions that are easy to understand for applications or functions in a free and flexible manner, thereby reducing the difficulty of satellite payload operation and control, as well as the communication cost with the user side, and improving the operation and control efficiency and reliability of the satellite payload. In addition, the embodiment of the present invention integrates some functions of the program-controlled instructions into the satellite payload itself by recording the instruction file in advance, and can optimize the instruction interface between the satellite payload and the satellite service platform while ensuring the flexibility of the payload instruction function.

[0134] Those skilled in the art will appreciate that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily necessary for implementing the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the description of the implementation scenario, or can be changed accordingly and located in one or more devices different from the present implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple submodules.

[0135] The above serial numbers of this application are only for description and do not represent the advantages and disadvantages of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of this application, but this application is not limited to them, and any changes that can be thought of by technicians in this field should fall within the scope of protection of this application.

Claims

1. A satellite payload instruction design optimization method, characterized in that: include: Receiving an instruction set playback instruction sent by the satellite service platform, where the instruction set playback instruction carries a first instruction set identifier; Based on the first instruction set identifier, a corresponding instruction file and a verification code file corresponding to the instruction file are obtained, wherein the instruction file records an instruction sequence recorded for a target functional task, as well as a calling order and an offset time of the instruction sequence, and the instruction file is divided into importance levels according to multi-dimensional attribute information of the instruction file, and the instruction file is backed up according to the importance level; Performing integrity check on the instruction file based on the verification code file to obtain a first integrity check result; If it is determined according to the first integrity check result that the instruction file is complete, then based on the calling order and offset time of the instruction sequence, the instruction sequence is executed to complete the target functional task; The method further comprises: If it is determined according to the first integrity check result that the instruction file is incomplete, determining whether there is a backup instruction file for the instruction file; If a backup instruction file exists, obtaining a backup instruction file corresponding to the instruction file and a backup verification code file corresponding to the backup instruction file; Using a plurality of preset verification algorithms to respectively calculate the backup verification codes corresponding to the backup instruction files; Comparing the backup verification codes calculated by the plurality of preset verification algorithms with the backup verification codes in the backup verification code file; If the backup verification codes calculated by the plurality of preset verification algorithms are all consistent with the backup verification codes in the backup verification code file, it is determined that the backup instruction file is complete; Execute the instruction sequence in the backup instruction file to complete the target functional task.

2. The method according to claim 1, characterized in that The performing integrity check on the instruction file based on the verification code file to obtain a first integrity check result includes: Using a plurality of preset verification algorithms to respectively calculate the verification codes corresponding to the instruction files; Comparing the check codes calculated by the plurality of preset check algorithms with the check codes in the check code file; If the verification codes calculated by the plurality of preset verification algorithms are all consistent with the verification codes in the verification code file, it is determined that the instruction file is complete; If the check code calculated by any one of the plurality of preset check algorithms is inconsistent with the check code in the check code file, it is determined that the instruction file is incomplete.

3. The method according to claim 1, characterized in that Before receiving the instruction set playback instruction sent by the satellite service platform, the method further includes: Receiving an instruction set recording instruction sent by the satellite service platform, wherein the instruction set recording instruction carries a second instruction set identifier and the number of recording instructions; Recording instructions based on the instruction set, and receiving instruction sequences sent one by one by the satellite service platform; Determining whether the accumulated number of the instruction sequence reaches the number of recorded instructions; If the cumulative number of the instruction sequence reaches the number of recorded instructions, an instruction file corresponding to the second instruction set identifier is generated, the instruction sequence is recorded and stored in the instruction file, and the calling order and offset time of the instruction sequence are recorded in the instruction file; A plurality of preset verification algorithms are used to calculate the verification code of the instruction file to generate the verification code file corresponding to the instruction file.

4. The method according to claim 3, characterized in that The method further comprises: Based on the target functional task, determining the importance level of the recorded instruction file; Determining the number of backups corresponding to the instruction file according to the importance level; Based on the backup quantity, the instruction file is backed up to obtain at least one backup instruction file corresponding to the instruction file, and a backup verification code file corresponding to the at least one backup instruction file is generated.

5. The method according to claim 1, characterized in that Before receiving the instruction set playback instruction sent by the satellite service platform, the method further includes: In response to the instruction file update package injection instruction, receiving the instruction file update package and the update package verification code file; Performing integrity verification on the instruction file update package based on the update package verification code file to obtain a second integrity verification result; If it is determined according to the second integrity check result that the command file update package has been completely received, feedback verification success information to the satellite service platform; Receive an update instruction sent by the satellite service platform based on the verification success information, and based on the update instruction, copy the instruction file corresponding to the instruction file update package to a corresponding location.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Determine whether a platform command sent by the satellite service platform is received within a preset time after power-on or restart; If the platform instruction is not received within the preset time, a default instruction file and a default verification code file are obtained; Performing an integrity check on the default instruction file based on the default verification code file to obtain a third integrity check result; If it is determined according to the third integrity check result that the default instruction file is complete, the instruction sequence in the default instruction file is executed.

7. A satellite payload instruction design optimization device, characterized in that: include: A receiving unit, configured to receive an instruction set playback instruction sent by a satellite service platform, wherein the instruction set playback instruction carries a first instruction set identifier; an acquisition unit, configured to acquire a corresponding instruction file and a verification code file corresponding to the instruction file based on the first instruction set identifier, wherein the instruction file records an instruction sequence recorded for a target functional task, as well as a calling order and an offset time of the instruction sequence, divide the instruction file into importance levels according to multi-dimensional attribute information of the instruction file, and back up the instruction file according to the importance level; A verification unit, configured to perform an integrity check on the instruction file based on the verification code file to obtain a first integrity check result; an execution unit, configured to execute the instruction sequence based on the calling order and offset time of the instruction sequence to complete the target functional task if the instruction file is determined to be complete according to the first integrity check result; a determination unit, configured to determine whether there is a backup instruction file for the instruction file if it is determined that the instruction file is incomplete according to the first integrity check result; The acquisition unit is further configured to acquire, if a backup instruction file exists, a backup instruction file corresponding to the instruction file and a backup verification code file corresponding to the backup instruction file; The verification unit is further used to respectively calculate the backup verification codes corresponding to the backup instruction file using multiple preset verification algorithms; compare the backup verification codes calculated by the multiple preset verification algorithms with the backup verification codes in the backup verification code file; if the backup verification codes calculated by the multiple preset verification algorithms are all consistent with the backup verification codes in the backup verification code file, then it is determined that the backup instruction file is complete; The execution unit is further used to execute the instruction sequence in the backup instruction file to complete the target functional task.

8. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

9. An electronic device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • High-orbit remote sensing satellite load task execution performance method and system

    CN107870782A

  • File backup method and device, computer equipment and storage medium

    CN114615287A