CN114510269A - Remote control instruction generation method and device based on multi-satellite combined test - Google Patents

Remote control instruction generation method and device based on multi-satellite combined test Download PDF

Info

Publication number
CN114510269A
CN114510269A CN202111632438.8A CN202111632438A CN114510269A CN 114510269 A CN114510269 A CN 114510269A CN 202111632438 A CN202111632438 A CN 202111632438A CN 114510269 A CN114510269 A CN 114510269A
Authority
CN
China
Prior art keywords
instruction
cltu
unit
link transmission
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111632438.8A
Other languages
Chinese (zh)
Other versions
CN114510269B (en
Inventor
宋宏江
白少华
李达
于澎
李鹏
吴伟
储海洋
吕伟
崔帆
温新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Spacecraft System Engineering
Original Assignee
Beijing Institute of Spacecraft System Engineering
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 Institute of Spacecraft System Engineering filed Critical Beijing Institute of Spacecraft System Engineering
Priority to CN202111632438.8A priority Critical patent/CN114510269B/en
Publication of CN114510269A publication Critical patent/CN114510269A/en
Application granted granted Critical
Publication of CN114510269B publication Critical patent/CN114510269B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30094Condition code generation, e.g. Carry, Zero flag
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a remote control instruction generation method and device based on multi-satellite combined test, which can solve the problem that spacecraft remote control instructions are difficult to combine and generate quickly. Acquiring all single instruction units of each star device in the multi-star device; receiving an instruction generation request of an instruction transmission frame sent by an instruction console, analyzing type mark information in the instruction generation request, and generating data fields of an instruction link transmission unit (CLTU) according to different modes based on the type mark information; and adding a starting sequence and an ending sequence of the command link transmission unit CLTU on the basis of the data field of the command link transmission unit CLTU to form a CLTU transmission frame.

Description

Remote control instruction generation method and device based on multi-satellite combined test
Technical Field
The invention relates to the field of spacecraft automatic testing, in particular to a remote control instruction generation method and device based on multi-satellite combined testing.
Background
The spacecraft generally comprises a plurality of cabins, and during testing of the spacecraft, remote control instructions need to be frequently injected to the cabins of the spacecraft through a plurality of channels to complete the setting and control tasks of the satellite. According to actual needs, more and more spacecrafts adopting a subpackage remote control system to carry out upper note remote control instructions are adopted at present, and the trend is also a trend, which puts higher requirements on the remote control instruction generation process of the ground comprehensive test system. However, the conventional instruction generation method can only inject one terminal of a certain capsule device each time, when a certain task needs to be completed by matching different terminals of different capsule devices, the injection needs to be performed respectively, and the ground can be completed by at least more than two times or even more injection operations, so that the efficiency of generating the remote control instruction is low, the method is not suitable for the multi-capsule device combined automatic test of the spacecraft, and the development requirement of a complex spacecraft ground comprehensive test system cannot be met quickly.
Disclosure of Invention
In view of this, the invention provides a method and a device for generating a remote control instruction based on a multi-satellite joint test, which can solve the technical problem that a spacecraft remote control instruction is difficult to combine and generate quickly. The invention optimizes the spacecraft injection instruction generation flow, carries out universal processing aiming at various modes of the frame-packet-instruction unit under the spacecraft packet remote control system, reduces the injection times of the remote control instruction, enhances the effectiveness of the remote control instruction generation and improves the test efficiency.
In order to solve the above-mentioned technical problems, the present invention has been accomplished as described above.
A remote control instruction generation method based on multi-star joint test comprises the following steps:
step S1: acquiring all single instruction units of each star device in the multi-star device; the single instruction unit is single instruction data of each star device;
step S2: receiving an instruction generation request of an instruction transmission frame sent by an instruction console, analyzing type mark information in the instruction generation request, and entering subsequent corresponding steps based on the type mark information;
step S3: if the type flag information is 0, the content requested by the instruction generation request is a data field of an instruction link transmission unit CLTU, the data field of the instruction link transmission unit CLTU is acquired, and the process advances to step S7;
step S4: if the type flag information is 1, setting a Command Link Transmission Unit (CLTU) as a single-frame single-packet single-command unit remote control mode, wherein the format of a request content field of the command generation request is formed by splicing a flag, a control command flag and a single-command unit ID; loading a pass flag and a control command flag of the instruction generation request and a single instruction unit corresponding to the content requested by the instruction generation request; loading the single instruction unit injection block content corresponding to the content requested by the instruction generation request, generating a single instruction packet, splicing the single instruction packet by a passing mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of an instruction link transmission unit (CLTU), and entering step S7;
step S5: if the type flag information is 2, the command generation request is to set a Command Link Transmission Unit (CLTU) to a multi-frame multi-packet multi-command unit remote control mode; the instruction generates a request, and the field of the request content comprises instruction frame number information;
processing the instruction generation request: acquiring the number of instruction frames based on the instruction generation request, and analyzing a passing mark, a control command mark and an instruction packet number corresponding to each frame according to the number of the instruction frames; analyzing the number of the instruction units and the code numbers of the instruction units in each packet according to the number of the instruction packets; loading all the instruction unit data blocks, generating single instruction packet data, and splicing the instruction packets to generate an instruction frame;
adding CRC (cyclic redundancy check) to each instruction frame according to all instruction frame data and the passing marks and the control command marks of the instruction frame data, splicing all the instruction frames into a data field for generating an instruction link transmission unit (CLTU), and entering step S7;
step S6: if the type flag information is 3, the instruction generation request is to set an instruction link transmission unit (CLTU) to be in a dynamic single-frame single-packet single-instruction unit remote control mode, and the format of a request content field of the instruction generation request is splicing through a flag, a control command flag and a single instruction parameter; loading a pass flag and a control command flag of the instruction generation request and a single instruction parameter corresponding to the content requested by the instruction generation request; calling a predefined script according to the single instruction parameter to generate a single instruction unit, generating a single instruction packet based on the single instruction unit, splicing the single instruction packet through a mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of a CLTU (command link transmission unit), and entering step S7;
step S7: adding a starting sequence and an ending sequence of the CLTU on the basis of a data field of the CLTU to form a CLTU transmission frame; if the total length of the command link transmission unit CLTU is not an integer multiple of 8 bytes, filling fixed data 0xAA at the end of the data field of the command link transmission unit CLTU to enable the length of the command link transmission unit CLTU to meet the integer multiple of 8 bytes; randomizing the command link transmission unit CLTU meeting the byte length requirement, ending the generation of the command link transmission unit CLTU, and entering step S8;
step S8: if the termination command is received, the method ends, otherwise, step S2 is entered for the next generation of command link transmission unit CLTU.
Preferably, in step S3, the acquiring the data field of the command link transmission unit CLTU includes:
and directly loading the data block file corresponding to the content requested by the instruction generation request, and generating the data field of the instruction link transmission unit CLTU.
Preferably, in step S4, the instruction with type flag information of 1 generates a request, and the format of the field of the request content is by concatenation of a flag, a control command flag, and a single instruction unit ID; the pass flag is used for identifying whether the CLTU sequence check of the instruction link transmission unit is enabled, the control command flag is used for controlling the response state of the CLTU of the instruction link transmission unit, and the ID of the single instruction unit is used for indicating the unique identifier of the single instruction.
Preferably, in step S5, the type flag information is 2, the instruction generation request has a field format of instruction frame number { through flag: control command flag: instruction packet number [ instruction unit number (instruction unit code: instruction unit code …) ]: indicating a parameter domain separator, … indicates that there are multiple.
Preferably, the processing of the instruction generation request comprises: analyzing a { pass flag, namely a control command flag, the number of packets [ the number of instruction units (the code number of the instruction units: …) ] corresponding to each frame according to the number of the instruction frames, [ the number of the instruction units (the code number of the instruction units: …) … ] }; then resolving the number of instruction units (instruction unit code: instruction unit code …) … of each packet according to the number of the packets; and loading all the instruction unit data blocks, splicing the instruction packet head marks specified by the spacecraft, and generating instruction packet data.
Preferably, in step S7, after adding a start sequence 0xEB90 and an end sequence 0x C5C579 to the data field of the command transfer frame CLTU, the command transfer frame CLTU is formed, if the total length of the command link transmission unit CLTU is less than 8-byte integer times, the end of the data field is filled with fixed data 0xAA to the nearest 8-byte integer times, and finally the command link transmission unit CLTU data field is randomized, and the random sequence is generated by using the following polynomial: h (x) x8+x6+x4+x3+x2+ x +1, where x is each byte of data in the command link transfer unit CLTU data field.
The invention provides a remote control instruction generating device based on multi-satellite combined test, which comprises:
a single instruction unit acquisition module: all single instruction units of each star device in the multi-star device are obtained; the single instruction unit is single instruction data of each star device;
an analysis module: the system comprises a configuration module, a configuration module and a control module, wherein the configuration module is used for receiving an instruction generation request of an instruction transmission frame sent by an instruction console, analyzing type mark information in the instruction generation request and triggering a subsequent corresponding module based on the type mark information;
a first execution module: if the type flag information is 0, the content requested by the instruction generation request is a data field of an instruction link transmission unit (CLTU), the data field of the instruction link transmission unit (CLTU) is acquired, and a combination module is triggered;
a second execution module: if the type flag information is 1, the instruction generation request is to set an instruction link transmission unit (CLTU) to be in a single-frame single-packet single-instruction unit remote control mode, and the format of a request content field of the instruction generation request is splicing through a flag, a control command flag and a single-instruction unit ID; loading a pass flag and a control command flag of the instruction generation request and a single instruction unit corresponding to the content requested by the instruction generation request; loading the single instruction unit injection block content corresponding to the content requested by the instruction generation request, generating a single instruction packet, splicing the single instruction packet by a passing mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of an instruction link transmission unit (CLTU), and triggering a combination module;
a third execution module: if the type flag information is 2, the command generation request is to set a Command Link Transmission Unit (CLTU) to a multi-frame multi-packet multi-command unit remote control mode; the instruction generates a request, and the field of the request content comprises instruction frame number information;
processing the instruction generation request: acquiring the number of instruction frames based on the instruction generation request, and analyzing a passing mark, a control command mark and the number of instruction packets corresponding to each frame according to the number of the instruction frames; analyzing the number of the instruction units and the code numbers of the instruction units in each packet according to the number of the instruction packets; loading all the instruction unit data blocks, generating single instruction packet data, and splicing the instruction packets to generate an instruction frame;
adding CRC (cyclic redundancy check) to each instruction frame according to all instruction frame data and the passing marks and the control command marks of the instruction frame data, splicing all the instruction frames into a data field for generating an instruction link transmission unit (CLTU), and triggering a combination module;
a fourth execution module: if the type flag information is 3, the instruction generation request is to set an instruction link transmission unit (CLTU) to be in a dynamic single-frame single-packet single-instruction unit remote control mode, and the format of a request content field of the instruction generation request is splicing through a flag, a control command flag and a single instruction parameter; loading a pass flag and a control command flag of the instruction generation request and a single instruction parameter corresponding to the content requested by the instruction generation request; calling a predefined script according to the single instruction parameters to generate a single instruction unit, generating a single instruction packet based on the single instruction unit, splicing the single instruction packet through a mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of a CLTU (command link transmission unit), and triggering a combination module;
combining the modules: adding a starting sequence and an ending sequence of the command link transmission unit CLTU on the basis of a data field of the command link transmission unit CLTU to form a CLTU transmission frame; if the total length of the command link transmission unit CLTU is not an integer multiple of 8 bytes, filling fixed data 0xAA at the end of the data field of the command link transmission unit CLTU to enable the length of the command link transmission unit CLTU to meet the integer multiple of 8 bytes; randomizing the command link transmission unit CLTU which meets the byte length requirement;
a link transmission module: configuring that the current instruction link transmission unit CLTU is generated and ended, and ending if a termination command is received; otherwise, triggering the analysis module to generate the next command link transmission unit CLTU.
Has the advantages that:
(1) when the method provided by the invention is used for generating the spacecraft remote control instruction, the instruction of one or more cabin devices can be generated into an instruction transmission unit in real time according to various combination modes of a frame-packet-instruction unit, so that the injection frequency of the remote control instruction is reduced, and the testing efficiency is improved.
(2) The method provided by the invention can mix the fixed instruction unit and the variable parameter instruction unit as the input of the instruction transmission frame, acquire real spacecraft remote measurement (such as on-board time, orbit attitude and the like) through variable parameters, quickly generate various instructions under a complex mode of multi-cabin combined test, greatly improve the timeliness of instruction generation, solve the problem that the instructions depend on real-time parameter data engineering values seriously when the spacecraft flies, and enable the CLTU generation of the instruction transmission frame to be more timely and reliable.
Drawings
FIG. 1 is a schematic flow chart of a remote control instruction generation method based on a multi-star joint test;
fig. 2 is a schematic structural diagram of a remote control command generating device based on a multi-star joint test.
Detailed Description
The invention is described in detail below with reference to the figures and examples.
As shown in fig. 1, the invention relates to a remote control instruction generation method based on multi-star joint test, which comprises the following steps:
step S1: acquiring all single instruction units of each star device in the multi-star device;
the single instruction unit is single instruction data of each star device.
Step S2: receiving an instruction generation request of an instruction transmission frame sent by an instruction console, analyzing type mark information in the instruction generation request, and entering subsequent corresponding steps based on the type mark information;
step S3: if the type flag information is 0, the content requested by the instruction generation request is a data field of an instruction link transmission unit CLTU, the data field of the instruction link transmission unit CLTU is acquired, and the process advances to step S7;
step S4: if the type flag information is 1, setting a Command Link Transmission Unit (CLTU) as a single-frame single-packet single-command unit remote control mode, wherein the format of a request content field of the command generation request is formed by splicing a flag, a control command flag and a single-command unit ID; loading a pass flag and a control command flag of the instruction generation request and a single instruction unit corresponding to the content requested by the instruction generation request; loading the single instruction unit injection block content corresponding to the content requested by the instruction generation request, generating a single instruction packet, splicing the single instruction packet by a passing mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of an instruction link transmission unit (CLTU), and entering step S7;
step S5: if the type flag information is 2, the command generation request is to set a Command Link Transmission Unit (CLTU) to a multi-frame multi-packet multi-command unit remote control mode; the instruction generates a request, and the field of the request content comprises instruction frame number information;
processing the instruction generation request: acquiring the number of instruction frames based on the instruction generation request, and analyzing a passing mark, a control command mark and the number of instruction packets corresponding to each frame according to the number of the instruction frames; analyzing the number of the instruction units and the code numbers of the instruction units in each packet according to the number of the instruction packets; loading all the instruction unit data blocks, generating single instruction packet data, and splicing the instruction packets to generate an instruction frame;
adding CRC (cyclic redundancy check) to each instruction frame according to all instruction frame data and the passing marks and the control command marks of the instruction frame data, splicing all the instruction frames into a data field for generating an instruction link transmission unit (CLTU), and entering step S7;
step S6: if the type flag information is 3, the instruction generation request is to set an instruction link transmission unit (CLTU) to be in a dynamic single-frame single-packet single-instruction unit remote control mode, and the format of a request content field of the instruction generation request is splicing through a flag, a control command flag and a single instruction parameter; loading a pass flag and a control command flag of the instruction generation request and a single instruction parameter corresponding to the content requested by the instruction generation request; calling a predefined script according to the single instruction parameter to generate a single instruction unit, generating a single instruction packet based on the single instruction unit, splicing the single instruction packet through a mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of a CLTU (command link transmission unit), and entering step S7;
step S7: adding a starting sequence and an ending sequence of the CLTU on the basis of the data domain of the CLTU to form a CLTU transmission frame; if the total length of the command link transmission unit CLTU is not an integer multiple of 8 bytes, filling fixed data 0xAA at the end of the data field of the command link transmission unit CLTU to enable the length of the command link transmission unit CLTU to meet the integer multiple of 8 bytes; randomizing the command link transmission unit CLTU meeting the byte length requirement, and ending the generation of the command link transmission unit CLTU;
step S8: if the termination command is received, the method ends, otherwise, step S2 is entered for the next generation of command link transmission unit CLTU.
In step S1, based on the design target of the spacecraft, all fixed single-instruction units for the spacecraft are designed in advance.
In step S2, the command generation request is to generate a mode of the command link transmission unit CLTU, which includes a type flag and a parameter field.
In step S3, the obtaining the data field of the command link transmission unit CLTU includes: and directly loading the data block file corresponding to the content requested by the instruction generation request, and generating the data field of the instruction link transmission unit CLTU.
In step S4, the type flag information is 1, and the field format of the request content is concatenation of the flag, the control command flag, and the single instruction unit ID. The pass flag is used for identifying whether the CLTU sequence check of the instruction link transmission unit is enabled, the control command flag is used for controlling the response state of the CLTU of the instruction link transmission unit, and the ID of the single instruction unit is used for indicating the unique identifier of the single instruction.
In this embodiment, the control command flag is 0, which indicates that the CLTU sequence check of the command link transmission unit is enabled; the pass flag is 1 indicating that command link transmission unit CLTU sequence checking is not enabled. The control command flag defaults to 0.
And loading the instruction to generate a single instruction unit injection block content corresponding to the content requested by the request, wherein the injection block content is a binary instruction code, for example, 0xB5C1A 255.
In step S5, the type flag information is 2, and the field format of the request content is instruction frame number { number of instruction packets [ instruction unit number (instruction unit code: instruction unit code …) ]: … [ instruction unit number (instruction unit code: instruction unit code …) ] }
{ pass flag: control command flag: number of packets [ number of instruction units (instruction unit code: instruction unit code …) ], [ number of instruction units (instruction unit code: instruction unit code …) … ] } …, where { } denotes a single instruction frame, [ ] denotes a single instruction packet, () denotes a single instruction unit,: indicating a parameter domain separator, … indicates that there are multiple.
Further, the processing of the instruction generation request includes: analyzing a { pass flag, namely a control command flag, the number of packets [ the number of instruction units (the code number of the instruction units: …) ] corresponding to each frame according to the number of the instruction frames, [ the number of the instruction units (the code number of the instruction units: …) … ] }; then resolving the number of instruction units (instruction unit code: instruction unit code …) … of each packet according to the number of the packets; and loading all the instruction unit data blocks, splicing the instruction packet head marks specified by the spacecraft, and generating instruction packet data.
And step S6, the pass flag is used to check whether the instruction frame sequence of the instruction link transmission unit CLTU is enabled, the control command flag is used to control the response status of the instruction link transmission unit CLTU, and the single instruction parameter is used to indicate the input parameter of the real-time dynamic generation remote control instruction unit.
In this embodiment, the pass flag is 0, which indicates that the command frame sequence of the command link transmission unit CLTU checks enable; the pass flag is 1, indicating that frame sequence checking is not enabled. The control command mark defaults to 0; the single instruction parameter is input in real time according to the requirement of a user, and different parameters are separated by colons.
And generating a single instruction packet based on the single instruction unit, wherein the single instruction unit is loaded to inject block content, a single instruction packet header marker specified by the spacecraft is spliced to generate single instruction packet data, the single instruction unit injection block content corresponding to the content requested by the instruction generation request is loaded to generate the single instruction packet, the single instruction packet is spliced to pass through a mark and a control command mark to generate a single instruction frame, CRC (cyclic redundancy check) is added to the single instruction frame, and a data field of a CLTU (command link transmission unit) is generated.
In step S7, after adding the start sequence 0xEB90 and the end sequence 0x C5C579 to the data field of the command transfer frame CLTU, forming a CLTU transfer frame, if the total length of the command link transmission unit CLTU is less than 8-byte integer times, filling the fixed data 0xAA to the nearest 8-byte integer times at the end of the data field, and finally randomizing the data field of the command link transmission unit CLTU, where the random sequence is generated by using the following polynomial: h (x) x8+x6+x4+x3+x2+ x +1, where x is each byte of data in the command link transfer unit CLTU data field.
The invention also provides a remote control instruction generating device based on multi-satellite combined test, as shown in fig. 2, the device comprises:
a single instruction unit acquisition module: all single instruction units of each star device in the multi-star device are obtained; the single instruction unit is single instruction data of each star device;
an analysis module: the system comprises a configuration module, a configuration module and a control module, wherein the configuration module is used for receiving an instruction generation request of an instruction transmission frame sent by an instruction console, analyzing type mark information in the instruction generation request and triggering a subsequent corresponding module based on the type mark information;
a first execution module: if the type flag information is 0, the content requested by the instruction generation request is a data field of an instruction link transmission unit (CLTU), the data field of the instruction link transmission unit (CLTU) is acquired, and a combination module is triggered;
a second execution module: if the type flag information is 1, the instruction generation request is to set an instruction link transmission unit (CLTU) to be in a single-frame single-packet single-instruction unit remote control mode, and the format of a request content field of the instruction generation request is splicing through a flag, a control command flag and a single-instruction unit ID; loading a pass flag and a control command flag of the instruction generation request and a single instruction unit corresponding to the content requested by the instruction generation request; loading the single instruction unit injection block content corresponding to the content requested by the instruction generation request, generating a single instruction packet, splicing the single instruction packet by a passing mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of an instruction link transmission unit (CLTU), and triggering a combination module;
a third execution module: if the type flag information is 2, the command generation request is to set a Command Link Transmission Unit (CLTU) to a multi-frame multi-packet multi-command unit remote control mode; the instruction generates a request, and the field of the request content comprises instruction frame number information;
processing the instruction generation request: acquiring the number of instruction frames based on the instruction generation request, and analyzing a passing mark, a control command mark and the number of instruction packets corresponding to each frame according to the number of the instruction frames; analyzing the number of the instruction units and the code numbers of the instruction units in each packet according to the number of the instruction packets; loading all the instruction unit data blocks, generating single instruction packet data, and splicing the instruction packets to generate an instruction frame;
adding CRC (cyclic redundancy check) to each instruction frame according to all the instruction frame data and the passing marks and the control command marks of the instruction frame data, splicing all the instruction frames into a data field for generating an instruction link transmission unit (CLTU), and triggering a combination module;
a fourth execution module: if the type flag information is 3, the instruction generation request is to set an instruction link transmission unit (CLTU) to be in a dynamic single-frame single-packet single-instruction unit remote control mode, and the format of a request content field of the instruction generation request is splicing through a flag, a control command flag and a single instruction parameter; loading a pass flag and a control command flag of the instruction generation request and a single instruction parameter corresponding to the content requested by the instruction generation request; calling a predefined script according to the single instruction parameters to generate a single instruction unit, generating a single instruction packet based on the single instruction unit, splicing the single instruction packet through a mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of a CLTU (command link transmission unit), and triggering a combination module;
combining the modules: adding a starting sequence and an ending sequence of the command link transmission unit CLTU on the basis of a data field of the command link transmission unit CLTU to form a CLTU transmission frame; if the total length of the command link transmission unit CLTU is not an integer multiple of 8 bytes, filling fixed data 0xAA at the end of the data field of the command link transmission unit CLTU to enable the length of the command link transmission unit CLTU to meet the integer multiple of 8 bytes; randomizing the command link transmission unit CLTU which meets the byte length requirement;
a link transmission module: configuring that the current instruction link transmission unit CLTU is generated and ended, and ending if a termination command is received; otherwise, triggering the analysis module to generate the next command link transmission unit CLTU.
The above embodiments only describe the design principle of the present invention, and the shapes and names of the components in the description may be different without limitation. Therefore, a person skilled in the art of the present invention can modify or substitute the technical solutions described in the foregoing embodiments; such modifications and substitutions do not depart from the spirit and scope of the present invention.

Claims (7)

1. A remote control instruction generation method based on multi-star joint test is characterized by comprising the following steps:
step S1: acquiring all single instruction units of each star device in the multi-star device; the single instruction unit is single instruction data of each star device;
step S2: receiving an instruction generation request of an instruction transmission frame sent by an instruction console, analyzing type mark information in the instruction generation request, and entering a subsequent corresponding step based on the type mark information;
step S3: if the type flag information is 0, the content requested by the command generation request is a data field of a command link transmission unit CLTU, the data field of the command link transmission unit CLTU is obtained, and the process goes to step S7;
step S4: if the type flag information is 1, setting a Command Link Transmission Unit (CLTU) as a single-frame single-packet single-command unit remote control mode, wherein the format of a request content field of the command generation request is formed by splicing a flag, a control command flag and a single-command unit ID; loading a pass flag and a control command flag of the instruction generation request and a single instruction unit corresponding to the content requested by the instruction generation request; loading the single instruction unit injection block content corresponding to the content requested by the instruction generation request, generating a single instruction packet, splicing the single instruction packet by a passing mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of an instruction link transmission unit (CLTU), and entering step S7;
step S5: if the type flag information is 2, the command generation request is to set a Command Link Transmission Unit (CLTU) to a multi-frame multi-packet multi-command unit remote control mode; the instruction generates a request, and the field of the request content comprises instruction frame number information;
processing the instruction generation request: acquiring the number of instruction frames based on the instruction generation request, and analyzing a passing mark, a control command mark and the number of instruction packets corresponding to each frame according to the number of the instruction frames; analyzing the number of the instruction units and the code numbers of the instruction units in each packet according to the number of the instruction packets; loading all the instruction unit data blocks, generating single instruction packet data, and splicing the instruction packets to generate an instruction frame;
adding CRC (cyclic redundancy check) to each instruction frame according to all instruction frame data and the passing marks and the control command marks of the instruction frame data, splicing all the instruction frames into a data field for generating an instruction link transmission unit (CLTU), and entering step S7;
step S6: if the type flag information is 3, the instruction generation request is to set an instruction link transmission unit (CLTU) to be in a dynamic single-frame single-packet single-instruction unit remote control mode, and the format of a request content field of the instruction generation request is splicing through a flag, a control command flag and a single instruction parameter; loading a pass flag and a control command flag of the instruction generation request and a single instruction parameter corresponding to the content requested by the instruction generation request; calling a predefined script according to the single instruction parameter to generate a single instruction unit, generating a single instruction packet based on the single instruction unit, splicing the single instruction packet through a mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of a CLTU (command link transmission unit), and entering step S7;
step S7: adding a starting sequence and an ending sequence of the CLTU on the basis of a data field of the CLTU to form a CLTU transmission frame; if the total length of the command link transmission unit CLTU is not an integral multiple of 8 bytes, filling fixed data 0xAA at the end of the data field of the command link transmission unit CLTU to enable the length of the command link transmission unit CLTU to meet the integral multiple of 8 bytes; randomizing the command link transmission unit CLTU meeting the byte length requirement, ending the generation of the command link transmission unit CLTU, and entering step S8;
step S8: if the termination command is received, the method ends, otherwise, step S2 is entered for the next generation of command link transmission unit CLTU.
2. The method of claim 1, wherein said step S3, said obtaining the data field of the command link transmission unit CLTU, comprises:
and directly loading the data block file corresponding to the content requested by the instruction generation request, and generating the data field of the instruction link transmission unit CLTU.
3. The method according to claim 1, wherein in step S4, the instruction with type flag information of 1 generates a request, and the format of the field of the request content is by concatenation of flag, control command flag, single instruction unit ID; the pass flag is used for identifying whether the CLTU sequence check of the instruction link transmission unit is enabled, the control command flag is used for controlling the response state of the CLTU of the instruction link transmission unit, and the ID of the single instruction unit is used for indicating the unique identifier of the single instruction.
4. The method as claimed in claim 1, wherein in step S5, the type flag information is 2, the instruction generation request whose field of request content is in the format of number of instruction frames { number of instruction packets [ instruction unit number (instruction unit code: instruction unit code …) ], instruction unit number [ instruction unit number (instruction unit code: instruction unit code …) … ] } { number of packets [ instruction unit number (instruction unit code: instruction unit code …) ], instruction unit number (instruction unit code: instruction unit code …) … ] } …, where { } denotes a single instruction frame, [ ] denotes a single instruction packet, () denotes a single instruction unit: indicating a parameter domain separator, … indicates that there are multiple.
5. The method of claim 4, wherein processing the instruction generation request comprises: analyzing a { pass flag, namely a control command flag, the number of packets [ the number of instruction units (the code number of the instruction units: …) ] corresponding to each frame according to the number of the instruction frames, [ the number of the instruction units (the code number of the instruction units: …) … ] }; then resolving the number of instruction units (instruction unit code: instruction unit code …) … of each packet according to the number of the packets; and loading all the instruction unit data blocks, splicing the instruction packet head marks specified by the spacecraft, and generating instruction packet data.
6. The method of claim 1, wherein in step S7, the CLTU transmission frame is composed by adding a start sequence 0xEB90 and an end sequence 0x C5C579 to the data field of the CLTU, if the total length of the CLTU is less than 8-byte integer times, the end of the data field is filled with fixed data 0xAA to the nearest 8-byte integer times, and finally the data field of the CLTU is randomized, and the random sequence is generated by using the following polynomial:
h(x)=x8+x6+x4+x3+x2+ x +1, where x is each byte of data in the command link transfer unit CLTU data field.
7. A remote control command generating device based on multi-star joint test is characterized by comprising:
a single instruction unit acquisition module: all single instruction units of each star device in the multi-star device are obtained; the single instruction unit is single instruction data of each satellite;
an analysis module: the system comprises a configuration module, a configuration module and a control module, wherein the configuration module is used for receiving an instruction generation request of an instruction transmission frame sent by an instruction console, analyzing type mark information in the instruction generation request and triggering a subsequent corresponding module based on the type mark information;
a first execution module: if the type flag information is 0, the content requested by the instruction generation request is a data field of an instruction link transmission unit (CLTU), the data field of the instruction link transmission unit (CLTU) is acquired, and a combination module is triggered;
a second execution module: if the type flag information is 1, the instruction generation request is to set an instruction link transmission unit (CLTU) to be in a single-frame single-packet single-instruction unit remote control mode, and the format of a request content field of the instruction generation request is splicing through a flag, a control command flag and a single-instruction unit ID; loading a pass flag and a control command flag of the instruction generation request and a single instruction unit corresponding to the content requested by the instruction generation request; loading the single instruction unit injection block content corresponding to the content requested by the instruction generation request, generating a single instruction packet, splicing the single instruction packet by a passing mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of an instruction link transmission unit (CLTU), and triggering a combination module;
a third execution module: if the type flag information is 2, the command generation request is to set a Command Link Transmission Unit (CLTU) to a multi-frame multi-packet multi-command unit remote control mode; the instruction generates a request, and the field of the request content comprises instruction frame number information;
processing the instruction generation request: acquiring the number of instruction frames based on the instruction generation request, and analyzing a passing mark, a control command mark and the number of instruction packets corresponding to each frame according to the number of the instruction frames; analyzing the number of the instruction units and the code numbers of the instruction units in each packet according to the number of the instruction packets; loading all the instruction unit data blocks, generating single instruction packet data, and splicing the instruction packets to generate an instruction frame;
adding CRC (cyclic redundancy check) to each instruction frame according to all instruction frame data and the passing marks and the control command marks of the instruction frame data, splicing all the instruction frames into a data field for generating an instruction link transmission unit (CLTU), and triggering a combination module;
a fourth execution module: if the type flag information is 3, the instruction generation request is to set an instruction link transmission unit (CLTU) to be in a dynamic single-frame single-packet single-instruction unit remote control mode, and the format of a request content field of the instruction generation request is splicing through a flag, a control command flag and a single instruction parameter; loading a pass flag and a control command flag of the instruction generation request and a single instruction parameter corresponding to the content requested by the instruction generation request; calling a predefined script according to the single instruction parameters to generate a single instruction unit, generating a single instruction packet based on the single instruction unit, splicing the single instruction packet by a passing mark and a control command mark to generate a single instruction frame, adding CRC (cyclic redundancy check) to the single instruction frame, generating a data field of a CLTU (command link transmission unit), and triggering a combination module;
combining the modules: adding a starting sequence and an ending sequence of the command link transmission unit CLTU on the basis of a data field of the command link transmission unit CLTU to form a CLTU transmission frame; if the total length of the command link transmission unit CLTU is not an integer multiple of 8 bytes, filling fixed data 0xAA at the end of the data field of the command link transmission unit CLTU to enable the length of the command link transmission unit CLTU to meet the integer multiple of 8 bytes; randomizing the command link transmission unit CLTU which meets the byte length requirement;
a link transmission module: and configuring that the current command link transmission unit CLTU generation is finished, if a termination command is received, the command link transmission unit CLTU generation is finished, otherwise, triggering an analysis module to perform the next command link transmission unit CLTU generation.
CN202111632438.8A 2021-12-29 2021-12-29 Remote control instruction generation method and device based on multi-star joint test Active CN114510269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111632438.8A CN114510269B (en) 2021-12-29 2021-12-29 Remote control instruction generation method and device based on multi-star joint test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111632438.8A CN114510269B (en) 2021-12-29 2021-12-29 Remote control instruction generation method and device based on multi-star joint test

Publications (2)

Publication Number Publication Date
CN114510269A true CN114510269A (en) 2022-05-17
CN114510269B CN114510269B (en) 2023-08-11

Family

ID=81547803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111632438.8A Active CN114510269B (en) 2021-12-29 2021-12-29 Remote control instruction generation method and device based on multi-star joint test

Country Status (1)

Country Link
CN (1) CN114510269B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115795210A (en) * 2022-11-03 2023-03-14 北京航天驭星科技有限公司 Data processing method and system for commercial space satellite remote control instruction

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100183082A1 (en) * 2009-01-21 2010-07-22 U.S of America as represented by the Administrator of the National Aeronautics and Space Admin. System and method for transferring telemetry data between a ground station and a control center
CN102112974A (en) * 2008-07-31 2011-06-29 国际商业机器公司 Transport control channel program processing
CN102983939A (en) * 2012-11-13 2013-03-20 北京空间飞行器总体设计部 Uplink data communication method for spacecraft multilevel subnets
US20130111192A1 (en) * 2011-10-31 2013-05-02 Echostar Technologies L.L.C. Adjusting acknowledgement requests for remote control transmissions based on previous acknowledgements
CN105892345A (en) * 2015-01-23 2016-08-24 北京空间飞行器总体设计部 PCM remote control system and telecommand system integration design method
CN107769838A (en) * 2017-09-22 2018-03-06 上海卫星工程研究所 Satellite remote control monitoring system
CN109976306A (en) * 2019-02-28 2019-07-05 北京空间飞行器总体设计部 A kind of spacecraft telecommand based on Lua script quickly tests verifying system and method
US20200183692A1 (en) * 2018-12-04 2020-06-11 Airbus Operations (S.A.S.) Method and system for protecting an aircraft against an incoherent command instruction
CN111740806A (en) * 2020-05-06 2020-10-02 北京电子工程总体研究所 Telemetry data framing method and system with self-adaptive variable frame length
CN112423334A (en) * 2020-11-19 2021-02-26 江苏恒宝智能系统技术有限公司 Emergency command communication link testing method and device
CN112994777A (en) * 2021-02-07 2021-06-18 中国人民解放军63920部队 Multi-cabin spacecraft uplink data generation and control system and method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102112974A (en) * 2008-07-31 2011-06-29 国际商业机器公司 Transport control channel program processing
US20100183082A1 (en) * 2009-01-21 2010-07-22 U.S of America as represented by the Administrator of the National Aeronautics and Space Admin. System and method for transferring telemetry data between a ground station and a control center
US20130111192A1 (en) * 2011-10-31 2013-05-02 Echostar Technologies L.L.C. Adjusting acknowledgement requests for remote control transmissions based on previous acknowledgements
CN102983939A (en) * 2012-11-13 2013-03-20 北京空间飞行器总体设计部 Uplink data communication method for spacecraft multilevel subnets
CN105892345A (en) * 2015-01-23 2016-08-24 北京空间飞行器总体设计部 PCM remote control system and telecommand system integration design method
CN107769838A (en) * 2017-09-22 2018-03-06 上海卫星工程研究所 Satellite remote control monitoring system
US20200183692A1 (en) * 2018-12-04 2020-06-11 Airbus Operations (S.A.S.) Method and system for protecting an aircraft against an incoherent command instruction
CN109976306A (en) * 2019-02-28 2019-07-05 北京空间飞行器总体设计部 A kind of spacecraft telecommand based on Lua script quickly tests verifying system and method
CN111740806A (en) * 2020-05-06 2020-10-02 北京电子工程总体研究所 Telemetry data framing method and system with self-adaptive variable frame length
CN112423334A (en) * 2020-11-19 2021-02-26 江苏恒宝智能系统技术有限公司 Emergency command communication link testing method and device
CN112994777A (en) * 2021-02-07 2021-06-18 中国人民解放军63920部队 Multi-cabin spacecraft uplink data generation and control system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋宏江等: "一种基于LUA脚本的航天器遥控 快速测试验证技术" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115795210A (en) * 2022-11-03 2023-03-14 北京航天驭星科技有限公司 Data processing method and system for commercial space satellite remote control instruction
CN115795210B (en) * 2022-11-03 2023-08-29 北京航天驭星科技有限公司 Data processing method and system for commercial aerospace satellite remote control instruction

Also Published As

Publication number Publication date
CN114510269B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN111159049B (en) Automatic interface testing method and system
CN109921843B (en) Beidou short message communication method for satellite remote education system
CN111488166B (en) Method and device for upgrading software of management unit of double-core intelligent ammeter and storage medium
CN110120970B (en) Data processing method and device based on Internet of vehicles and gateway system
CN114510269A (en) Remote control instruction generation method and device based on multi-satellite combined test
CN109408084A (en) A kind of method and system by internet remote upgrade energy storage BMS equipment
CN109756514B (en) Telemetry data dynamic processing method of spacecraft complex protocol
CN114510476B (en) Remote data multipath parallel processing system and method based on CCSDS source packet system
CN116366121A (en) Satellite remote control instruction code generation method and device
CN114510357B (en) Satellite transmitting field test authentication service message interaction method and system
CN109188471B (en) Satellite fault diagnosis method based on software implementation
CN107769934A (en) Rate processing method and processing device
CN116155350A (en) Method and system for generating instructions of satellite in batches, storage medium and electronic equipment
CN109484430B (en) Data framing method and device for high-speed magnetic levitation vehicle-mounted radio control unit
CN115202388A (en) Control identification method, device, equipment and storage medium for unmanned aerial vehicle
CN107203404B (en) Code conversion method and system based on web
CN112332952B (en) Underwater acoustic communication method for underwater glider and submerged buoy
CN112737872B (en) ARINC664P7 end system cross-network testing system and method
CN114710432B (en) Vehicle-mounted Ethernet communication joint debugging method and system
CN114827188B (en) Platform equipment management method, system, terminal and storage medium
CN117639906B (en) Method, device and system for testing performance of gateway station under high-orbit satellite broadband
CN114637031B (en) Beidou civil dual-frequency satellite-based enhanced message communication method and device
CN113051158B (en) System-level and link-level multi-index synchronous automatic testing method and system
CN113405976B (en) Main control polling acquisition and transmission method and device for on-orbit irradiation test
CN111541584B (en) 1553B data transmission reliability test method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant