CN112328209A - Editing and checking method for deep space probe payload data injection packet - Google Patents
Editing and checking method for deep space probe payload data injection packet Download PDFInfo
- Publication number
- CN112328209A CN112328209A CN202011137416.XA CN202011137416A CN112328209A CN 112328209 A CN112328209 A CN 112328209A CN 202011137416 A CN202011137416 A CN 202011137416A CN 112328209 A CN112328209 A CN 112328209A
- Authority
- CN
- China
- Prior art keywords
- instruction
- injection
- packet
- time code
- single machine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000002347 injection Methods 0.000 title claims abstract description 238
- 239000007924 injection Substances 0.000 title claims abstract description 238
- 238000000034 method Methods 0.000 title claims abstract description 50
- 239000000523 sample Substances 0.000 title claims abstract description 21
- 239000000203 mixture Substances 0.000 claims description 4
- 230000008676 import Effects 0.000 claims description 3
- 230000004048 modification Effects 0.000 claims description 3
- 238000012986 modification Methods 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 2
- 230000006872 improvement Effects 0.000 description 9
- 238000001514 detection method Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 3
- 239000000243 solution Substances 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 239000002245 particle Substances 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 229910052500 inorganic mineral Inorganic materials 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000011707 mineral Substances 0.000 description 1
- 230000007935 neutral effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/10—Requirements analysis; Specification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1004—Adding 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Programmable Controllers (AREA)
Abstract
The invention discloses a method for editing and verifying a deep space probe payload data injection packet, which comprises the following steps: acquiring all single machine control instructions of each effective load, and establishing an instruction library; creating a single-machine instruction loading form associated with the instruction library for each payload; constructing different types of injection package templates according to the effective load data injection package generation rule; calling one or more single machine instructions to load a form in an injection package template matched with the task requirement of generating an effective load data injection package, and editing a time code; a single machine control instruction code and a corresponding time code generated by loading a single machine instruction into a specific position of an injection package template to form a payload data injection package code and generate a binary file and a text file; analyzing the binary file of the payload data injection package, determining the type of the payload data injection package, inverting the time code and the single machine control instruction in the binary file, and checking and verifying the correctness of the injection package.
Description
Technical Field
The invention belongs to the field of space engineering, and particularly relates to a method for generating and checking a deep space probe payload data injection packet.
Background
The Mars 'Tian Yihao' Mars detector can develop the first autonomous Mars detection task of China, and realizes three major goals of 'winding, falling and patrolling' through one-time emission. The detector consists of a surround device and a landing patrol device, wherein the surround device is provided with 8 effective loads such as a medium-resolution camera, a high-resolution camera, a surround device subsurface detection radar, a Mars mineral spectrum analyzer, a Mars magnetometer, a Mars ion and neutral particle analyzer, a Mars energy particle analyzer and a surround device load controller, and the landing patrol device is provided with 6 effective loads such as a multispectral camera, a Mars train subsurface detection radar, a Mars surface component detector, a Mars surface magnetic field detector, a Mars meteorological measuring instrument and a Mars train load controller. The independent detection and the cooperative detection of the sky and the earth of the surrounding device and the landing patrol device are used for realizing the global comprehensive general survey of mars and the fine survey of surface key areas.
The effective load data injection package is sent to the load controller by the ground operation control system (or ground test system) through the detector counter (or counter simulation equipment), and the load controller executes or forwards an uplink remote control instruction executed by the effective load after analyzing the instruction, so that the action and the state of the load equipment are directly controlled, and the operation and the state of the load equipment are important for the smooth execution of a load task.
Different from the prior applied satellites and scientific satellites in China, the deep space probe payload subsystem represented by the 'one space query' has the characteristics of large load quantity, complex working mode, large environmental uncertainty, high autonomy requirement and the like, and provides new requirements for the format and the specification of a payload data injection packet. Meanwhile, a large number of newly-researched devices are arranged in the load, related parameters of the devices need to be frequently set and adjusted during ground integration test and whole device test, the task of generating the effective load data injection package is heavy, and the traditional manual editing mode is difficult to complete. The existing special software development mode only focuses on editing of a specific type of injection package, cannot meet the requirements of diversified injection package editing, lacks of overall management of a single machine control instruction and process management of injection package editing, and cannot track, check and verify the correctness of the injection package. Moreover, with the successive development of the subsequent deep space exploration plan in China, a universal method for editing and verifying the payload data injection packet of the deep space exploration instrument is needed.
Disclosure of Invention
The invention aims to overcome the technical defects and provide a maintainable and universal method for editing and verifying the payload data injection packet of the deep space probe, so as to meet the editing requirements of diversified payload data injection packets and realize the overall process management from editing to verification of the injection packets.
In order to achieve the above object, the present invention provides a method for editing and verifying a deep space probe payload data injection packet, the method comprising:
acquiring all single machine control instructions of each effective load, and establishing an instruction library;
creating a single-machine instruction loading form associated with the instruction library for each payload;
constructing different types of injection package templates according to the effective load data injection package generation rule;
calling one or more single machine instructions to load a form in an injection package template matched with the task requirement of generating an effective load data injection package, and editing a time code; a single machine control instruction code and a corresponding time code generated by loading a single machine instruction into a specific position of an injection package template to form a payload data injection package code and generate a binary file and a text file;
analyzing the binary file of the payload data injection package, determining the type of the payload data injection package, inverting the time code and the single machine control instruction in the binary file, and checking and verifying the correctness of the injection package.
As an improvement of the above method, the obtaining all the stand-alone control commands of each payload and establishing a command library includes:
collecting all stand-alone control instructions which can be used by each effective load and text description thereof into an instruction library; the single machine control instruction comprises a load number, a command code and a command parameter, wherein the load number is uniquely determined by a load name;
the single machine control instruction in the instruction library is divided into a plurality of sets according to different belonged payloads, each set corresponds to one type of load number, the interior of the same set is divided into a plurality of subclasses according to instruction functions, and each subclass corresponds to one or more command codes.
As an improvement of the above method, the single-machine instruction loading form is composed of an information domain and a code domain, the information domain includes an instruction function field and an instruction name field, the code domain includes three fields of a load number, an instruction code and an instruction parameter, wherein the instruction name field is associated with the instruction function field, and a corresponding instruction name field value list is determined according to a selected instruction function; and the code domain is associated with the instruction name field, inquires in an instruction library according to the selected instruction name, and writes the inquired load number, the command code and the command parameter into the corresponding field of the loading form.
As an improvement of the above method, the injection packet template comprises an indirect instruction injection packet without a time code, an indirect instruction injection packet with a time code and a mode table injection packet; the structure of the system is composed of a packet head, a packet sequence, a packet length, a data domain and a checksum, wherein the packet head and the packet sequence are directly determined by an injection packet generation rule, and the packet length and the checksum are generated by calculation according to the content of the data domain and the injection packet generation rule;
the data field of the indirect instruction injection packet without the time code can only contain one single machine control instruction;
the data field of the indirect instruction injection packet with the time code can contain one or more single machine control instructions, and each single machine control instruction is provided with an absolute time code in front; an absolute time code editor is arranged in the template, and the formats of 10 system seconds and time-of-day minutes and seconds are mutually converted to generate a data field of a 16 system absolute time code import time code indirect instruction injection packet;
the data field of the mode table injection packet can contain a plurality of single machine control instructions, and a relative time code is usually inserted between two adjacent single machine control instructions; the template is internally provided with a relative time code editor, and the 10-system second number is converted into a 16-system relative time code and is imported into the data field of the pattern table injection packet.
As an improvement of the above method, the method further comprises:
establishing a corresponding relation between a task requirement for generating a payload data injection package and an injection package template;
wherein the task requirements for generating the payload data injection package include: generating a single-machine instruction injection packet task requirement, generating a delay instruction injection packet task requirement and generating a mode table injection packet task requirement;
the task requirement of generating the single-machine instruction injection package corresponds to an indirect instruction injection package template without a time code, the task requirement of generating the delay instruction injection package corresponds to the indirect instruction injection package template with the time code, and the task requirement of generating the mode table injection package corresponds to the mode table injection package template.
As an improvement of the above method, in the injection package template matched with the task requirement of generating the payload data injection package, one or more single machine instructions are called to load the form, and the time code is edited; a single machine control instruction code and a corresponding time code generated by loading a single machine instruction into a specific position of an injection package template to form a payload data injection package code and generate a binary file and a text file; the method specifically comprises the following steps:
when a task requirement for generating a single machine instruction injection package is received, selecting an indirect instruction injection package template without a time code, calling a single machine instruction loading form corresponding to the load in the task requirement, selecting a corresponding instruction function and an instruction name according to the task requirement, introducing a corresponding single machine control instruction into a data field of the injection package, forming an injection package code, and generating a binary file and a text file;
when a task requirement for generating a delay instruction injection package is received, selecting an indirect instruction injection package template with a time code, sequentially calling one or more single instruction loading forms corresponding to the load in the task requirement, selecting a corresponding instruction function and an instruction name in each single instruction loading form according to the task requirement, generating a corresponding time code through an absolute time code editor, introducing a time code-single control instruction combination into a data field of the injection package template until all information to be written in the task requirement is introduced into the data field to form an injection package code, and generating a binary file and a text file;
when a task requirement for generating a mode table injection package is received, selecting a mode table injection package template, setting a mode table number, sequentially calling one or more single machine instruction loading forms corresponding to the load in the task requirement, selecting a corresponding instruction function and an instruction name in each single machine instruction loading form according to the task requirement, and introducing a corresponding single machine control instruction into a data field of the injection package; and inserting the relative time code generated by the relative time code editor between the two single machine control instructions until all information to be written in the task requirement is imported into a data field to form an injection package code, and generating a binary file and a text file.
As an improvement of the above method, the method further comprises:
setting the authority of continuously adding the single machine control instruction or the mode table to the mode table injection packet, obtaining the authority, and continuously adding the single machine control instruction or the relative time code in the data field of the mode table injection packet; if the authority is not obtained, the continuous addition of the single machine control instruction or the relative time code is prohibited.
As an improvement of the method, the text file comprises date and time information of a generated file, byte number of an injection packet data field, 16-system code information of an injection packet, a function field of a stand-alone control instruction in the data field and an instruction name.
As an improvement of the above method, the parsing the binary file of the payload data injection packet, determining the type of the binary file, and inverting the time code and the stand-alone control command therein includes:
judging whether the composition of the binary file of the payload data injection packet conforms to the generation rule of the payload data injection packet or not;
if the judgment result is positive, identifying the packet head, the packet sequence, the packet length, the data domain and each part of the checksum, extracting the single machine control command and the time code in the data domain one by one, searching the single machine control command in the command library to obtain the corresponding load name, command function and command name, converting the absolute time code into a 'time-of-day-minute-second' format, and converting the relative time code into a 10-system second number;
otherwise, determining the specific position in the binary file which is not in accordance with the generation rule.
As an improvement of the above method, the method further comprises: quickly modifying the existing mode table injection packet, newly adding, deleting or replacing a single machine control instruction or a relative time code in a data domain of the mode table injection packet, and generating a new mode table injection packet; the method specifically comprises the following steps:
selecting a binary file of a mode table injection package to be modified, and analyzing the binary file to obtain a single machine control instruction-relative time code text sequence;
editing the single machine control instruction-relative time code text sequence according to the modification requirement;
selecting a mode table injection package, setting a mode table number, and importing the edited single machine control instruction-relative time code text sequence into a data field of the mode table injection package to form an injection package code;
a binary file and a text file are generated.
The invention has the advantages that:
1. the invention provides an editing and checking method for a deep space probe payload data injection package, which establishes a set of standard and ordered payload data injection package editing flow by establishing a single-machine instruction loading form based on an instruction library, further establishing an injection package template and generating and checking an injection package;
2. the establishment of the instruction library realizes the comprehensive and effective management of the single-computer control instructions, changes the conditions that the prior manual editing or special software mode has great randomness and no dependence when quoting the single-computer control instructions, and ensures that the editing task has maintainability and traceability;
3. the method effectively simplifies the complexity of editing the data injection package, improves the flexibility and the adaptability of editing work and can meet the editing requirements of diversified and multi-type payload data injection packages by constructing the injection package template with the time code editor;
4. the method of the invention analyzes and checks the existing data injection package, can find and correct errors in time, ensures the correctness of the data injection package, and can also quickly edit and modify the pattern table injection package;
5. the method is not only suitable for the Mars 'one in space' detector, but also universal for editing the payload data injection packets of other deep space detectors.
Drawings
FIG. 1 is a flow chart of a method of generating and verifying a deep space probe payload data injection packet in accordance with the present invention;
fig. 2 is a schematic diagram of the structure of an inject pocket template of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the following will describe the technical solutions of the present invention in detail by taking an "one-day-one" mars probe landing patrol instrument payload data injection packet as an example, with reference to the accompanying drawings.
The invention provides a method for editing and verifying a payload data injection package of a deep space probe, which establishes a set of standard and ordered payload data injection package editing flow by establishing a single instruction loading form based on an instruction library, further establishing an injection package template and generating and verifying an injection package, and the flow chart of the steps is shown in figure 1. The editing and checking method of the payload data injection packet comprises the following steps:
step 1) obtaining all single machine control instructions of each effective load and establishing an instruction library.
In this embodiment, there are 6 payloads, such as a multispectral camera, a train subsurface detection radar, a train surface composition detector, a train surface magnetic field detector, a train weather meter, and a train load controller. Collecting all stand-alone control instructions (more than 400 pieces in total) which can be used by each payload and text description thereof into an instruction library; the single machine control instruction comprises a load number, a command code and a command parameter, wherein the load number is uniquely determined by a load name;
for example, the multispectral camera "manual exposure settings: the code of the stand-alone control command of gear 0 "is 16-ary 11171500, wherein the load number is 11, the command code is 17, and the command parameters are 1500 (both 16-ary numbers).
For convenience of management and search, the single-machine control instructions in the instruction library are divided into a plurality of sets according to different belonged payloads, each set corresponds to a load number, the interior of the same set is further divided into a plurality of subclasses according to instruction functions, and each subclass corresponds to one or more command codes, as shown in table 1:
table 1: single machine control instruction library schematic table of Mars surface magnetic field detector:
step 2) creating a single machine instruction loading form associated with the instruction library for each payload.
The single-machine instruction loading form consists of an information domain and a code domain, wherein the information domain comprises an instruction function field and an instruction name field, the code domain comprises three fields of a load number, an instruction code and an instruction parameter, the instruction name field is associated with the instruction function field, and a corresponding instruction name field dereferencing list is determined according to the selected instruction function; the code domain is associated with the instruction name field, and is queried in the instruction library according to the selected instruction name, and the queried load number, command code and command parameter are written into the corresponding field of the loading form, as shown in table 2:
table 2: the single-machine instruction loading list schematic table of the Mars surface magnetic field detector comprises the following steps:
when the field of 'instruction function' is selected as 'setting the threshold of the automatic adjustment sampling rate', and the field of 'instruction name' is 'adjustment threshold (0000H'), the form searches the instruction name in the single machine control instruction library, and the inquired load number (0x44), the command code (0x11) and the command parameter (0x0000) are respectively written into the corresponding fields of the form.
And 3) creating injection package templates of different types according to the effective load data injection package generation rule.
The injection packet template comprises an indirect instruction injection packet without a time code, an indirect instruction injection packet with a time code and a mode table injection packet; structurally, the packet head, the packet sequence, the packet length, the data field and the checksum all constitute the data structure, as shown in fig. 2; wherein the packet head and the packet sequence are directly determined by an injection packet generation rule, and the packet length and the checksum are calculated and generated according to the content of the data field and the injection packet generation rule;
the indirect instruction injection packet without time code can only contain one single control instruction in the data field.
The data domain of the indirect instruction injection packet with the time code comprises one or more single machine control instructions, and each single machine control instruction is provided with an absolute time code in front; the template is internally provided with an absolute time code editor, and the formats of 10 system seconds and time-of-day minutes and seconds are mutually converted to generate a data field of a 16 system absolute time code import time code indirect instruction injection packet.
The method for converting decimal seconds into a 'time of day, minute and second' format comprises the following steps:
Nd=nSec\86400
Nh=(nSec-Nd*86400)\3600
Nm=(nSec-Nd*86400-Nh*3600)\60
Ns=nSec mod 60
wherein n isSecRepresenting decimal seconds, Nd、Nh、Nm、NsRepresents the number of days, hours, minutes and seconds in the "time of day, minutes and seconds" format, respectively, \ represents an integer division, mod represents a remainder.
The method for converting the 'time of day, minute and second' format into decimal seconds is as follows:
nSec=Nd*86400+Nh*3600+Nm*60+Ns
the data field of the pattern table injection packet may contain a plurality of stand-alone control commands, and a relative time code is usually inserted between two adjacent stand-alone control commands. The template is internally provided with a relative time code editor, and the 10-system second number is converted into a 16-system relative time code and is imported into the data field of the pattern table injection packet.
The pattern table injection package template is provided with the authority of continuously adding the single machine control instruction or the time code. Normally, the single-machine control command and the relative time code are alternately arranged in the data field, the authority is set to be closed, and the single-machine control command or the relative time code is not allowed to be continuously added, so that the error operation in the process of editing the injection package is avoided. In some special applications, it is required to add a single machine control command or a time code continuously in the data field, and the authority is opened, and the single machine control command or the relative time code can be added continuously in the data field of the pattern table injection packet.
Step 4) establishing a corresponding relation between a task requirement for generating a payload data injection package and an injection package template;
wherein the task requirements for generating the payload data injection package include: generating a single-machine instruction injection packet task requirement, generating a delay instruction injection packet task requirement and generating a mode table injection packet task requirement;
the task requirement of generating the single-machine instruction injection packet corresponds to an indirect instruction injection packet without a time code, the task requirement of generating the delay instruction injection packet corresponds to an indirect instruction injection packet with a time code, and the task requirement of generating the mode table injection packet corresponds to the mode table injection packet.
Step 5) calling one or more single machine instructions to load the form in an injection package template matched with the task requirement of generating the payload data injection package, and editing the time code; a single machine control instruction code and a corresponding time code generated by loading a single machine instruction into a specific position of an injection package template to form a payload data injection package code and generate a binary file and a text file; the method specifically comprises the following steps:
step 5-1) when receiving a task requirement for generating a single machine instruction injection package, selecting an indirect instruction injection package without a time code, calling a single machine instruction loading form corresponding to the load in the task requirement, selecting a corresponding instruction function and an instruction name according to the task requirement, introducing a corresponding single machine control instruction into a data field of an injection package template to form an injection package code, and generating a binary file and a text file;
step 5-2) when a task requirement for generating a delay instruction injection package is received, selecting an indirect instruction injection package with a time code, sequentially calling one or more single-machine instruction loading forms corresponding to the load in the task requirement, selecting a corresponding instruction function and an instruction name according to the task requirement, generating a corresponding time code through an absolute time code editor, and introducing a time code-single-machine control instruction combination into a data field of an injection package template until all information to be written in the task requirement is introduced into the data field to form an injection package code, and generating a binary file and a text file;
and 5-3) when a task requirement for generating a mode table injection package is received, selecting the mode table injection package, setting a mode table number, sequentially calling one or more single machine instruction loading forms corresponding to the load in the task requirement, selecting a corresponding instruction function and an instruction name according to the task requirement, introducing a corresponding single machine control instruction into a data field of the injection package, inserting a relative time code generated by a relative time code editor between two single machine control instructions until all information to be written in the task requirement is introduced into the data field to form an injection package code, and generating a binary file and a text file.
The text file comprises date and time information of a generated file, byte number of an injection packet data domain, 16-system code information of an injection packet, and a function field and an instruction name of a single-machine control instruction in the data domain.
Step 6) analyzing the binary file of the payload data injection package, determining the injection package template of the type to which the payload data injection package belongs, identifying the time code and the single-machine control instruction in the injection package template, inverting and displaying the corresponding load name, instruction function and instruction name so as to check and verify the correctness of the injection package; the method specifically comprises the following steps:
judging whether the composition of the binary file of the payload data injection packet conforms to the generation rule of the payload data injection packet or not;
if the judgment result is positive, identifying the packet head, the packet sequence, the packet length, the data domain and each part of the checksum, extracting the single machine control command and the time code in the data domain one by one, searching the single machine control command in the command library to obtain the corresponding load name, command function and command name, converting the absolute time code into a 'time-of-day-minute-second' format, and converting the relative time code into a 10-system second number;
otherwise, determining the specific position in the binary file which is not in accordance with the generation rule.
Step 7) if the existing mode table injection packet needs to be modified, adding, deleting or replacing the single machine control instruction or the relative time code in the data domain of the mode table injection packet, and generating a new mode table injection packet, wherein a shortcut mode can be adopted, and the method specifically comprises the following steps:
selecting a binary file of a mode table injection package to be modified, and analyzing the binary file to obtain a single machine control instruction-relative time code text sequence;
editing the single machine control instruction-relative time code text sequence according to the modification requirement;
selecting a mode table injection package, setting a mode table number, and importing the edited single machine control instruction-relative time code text sequence into a data field of the mode table injection package to form an injection package code;
a binary file and a text file are generated.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention and are not limited. Although the present invention has been described in detail with reference to the embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A method for editing and verifying a deep space probe payload data injection packet, the method comprising:
acquiring all single machine control instructions of each effective load, and establishing an instruction library;
creating a single-machine instruction loading form associated with the instruction library for each payload;
constructing different types of injection package templates according to the effective load data injection package generation rule;
calling one or more single machine instructions to load a form in an injection package template matched with the task requirement of generating an effective load data injection package, and editing a time code; a single machine control instruction code and a corresponding time code generated by loading a single machine instruction into a specific position of an injection package template to form a payload data injection package code and generate a binary file and a text file;
analyzing the binary file of the payload data injection package, determining the type of the payload data injection package, inverting the time code and the single machine control instruction in the binary file, and checking and verifying the correctness of the injection package.
2. The method for editing and verifying the payload data injection packet of the deep space probe according to claim 1, wherein the step of obtaining all the individual control commands of each payload and establishing a command library comprises:
collecting all stand-alone control instructions which can be used by each effective load and text description thereof into an instruction library; the single machine control instruction comprises a load number, a command code and a command parameter, wherein the load number is uniquely determined by a load name;
the single machine control instruction in the instruction library is divided into a plurality of sets according to different belonged payloads, each set corresponds to one type of load number, the interior of the same set is divided into a plurality of subclasses according to instruction functions, and each subclass corresponds to one or more command codes.
3. The deep space probe payload data injection package editing and verifying method of claim 1, wherein the single machine instruction loading form is composed of an information field and a code field, the information field includes an instruction function field and an instruction name field, the code field includes three fields of a load number, an instruction code and an instruction parameter, wherein the instruction name field is associated with the instruction function field, and a corresponding instruction name field value list is determined according to a selected instruction function; and the code domain is associated with the instruction name field, inquires in an instruction library according to the selected instruction name, and writes the inquired load number, the command code and the command parameter into the corresponding field of the loading form.
4. The method for editing and verifying payload data injection packets of a deep space probe according to claim 1, wherein the injection packet template comprises an indirect instruction injection packet without a time code, an indirect instruction injection packet with a time code, and a pattern table injection packet; the structure of the system is composed of a packet head, a packet sequence, a packet length, a data domain and a checksum, wherein the packet head and the packet sequence are directly determined by an injection packet generation rule, and the packet length and the checksum are generated by calculation according to the content of the data domain and the injection packet generation rule;
the data field of the indirect instruction injection packet without the time code can only contain one single machine control instruction;
the data field of the indirect instruction injection packet with the time code can contain one or more single machine control instructions, and each single machine control instruction is provided with an absolute time code in front; an absolute time code editor is arranged in the template, and the formats of 10 system seconds and time-of-day minutes and seconds are mutually converted to generate a data field of a 16 system absolute time code import time code indirect instruction injection packet;
the data field of the mode table injection packet can contain a plurality of single machine control instructions, and a relative time code is usually inserted between two adjacent single machine control instructions; the template is internally provided with a relative time code editor, and the 10-system second number is converted into a 16-system relative time code and is imported into the data field of the pattern table injection packet.
5. The method for editing and verifying the deep space probe payload data injection packet according to claim 4, further comprising:
establishing a corresponding relation between a task requirement for generating a payload data injection package and an injection package template;
wherein the task requirements for generating the payload data injection package include: generating a single-machine instruction injection packet task requirement, generating a delay instruction injection packet task requirement and generating a mode table injection packet task requirement;
the task requirement of generating the single-machine instruction injection package corresponds to an indirect instruction injection package template without a time code, the task requirement of generating the delay instruction injection package corresponds to the indirect instruction injection package template with the time code, and the task requirement of generating the mode table injection package corresponds to the mode table injection package template.
6. The deep space probe payload data injection package editing and verifying method of claim 5, wherein the one or more stand-alone instructions are called to load the form and edit the time code in the injection package template matching the task requirement for generating the payload data injection package; a single machine control instruction code and a corresponding time code generated by loading a single machine instruction into a specific position of an injection package template to form a payload data injection package code and generate a binary file and a text file; the method specifically comprises the following steps:
when a task requirement for generating a single machine instruction injection package is received, selecting an indirect instruction injection package template without a time code, calling a single machine instruction loading form corresponding to the load in the task requirement, selecting a corresponding instruction function and an instruction name according to the task requirement, introducing a corresponding single machine control instruction into a data field of the injection package, forming an injection package code, and generating a binary file and a text file;
when a task requirement for generating a delay instruction injection package is received, selecting an indirect instruction injection package template with a time code, sequentially calling one or more single instruction loading forms corresponding to the load in the task requirement, selecting a corresponding instruction function and an instruction name in each single instruction loading form according to the task requirement, generating a corresponding time code through an absolute time code editor, introducing a time code-single control instruction combination into a data field of the injection package template until all information to be written in the task requirement is introduced into the data field to form an injection package code, and generating a binary file and a text file;
when a task requirement for generating a mode table injection package is received, selecting a mode table injection package template, setting a mode table number, sequentially calling one or more single machine instruction loading forms corresponding to the load in the task requirement, selecting a corresponding instruction function and an instruction name in each single machine instruction loading form according to the task requirement, and introducing a corresponding single machine control instruction into a data field of the injection package; and inserting the relative time code generated by the relative time code editor between the two single machine control instructions until all information to be written in the task requirement is imported into a data field to form an injection package code, and generating a binary file and a text file.
7. The method for editing and verifying the deep space probe payload data injection packet according to claim 6, further comprising:
setting the authority of continuously adding the single machine control instruction or the mode table to the mode table injection packet, obtaining the authority, and continuously adding the single machine control instruction or the relative time code in the data field of the mode table injection packet; if the authority is not obtained, the continuous addition of the single machine control instruction or the relative time code is prohibited.
8. The method for editing and verifying payload data injection packets of a deep space probe as claimed in claim 6, wherein the text file comprises date and time information of a generated file, byte number of an injection packet data field, 16-system code information of an injection packet, a function field of a stand-alone control command in a data field and a command name.
9. The method for editing and verifying the payload data injection package of the deep space probe as claimed in claim 1, wherein the parsing the binary file of the payload data injection package to determine the type of the payload data injection package and inverting the time code and the stand-alone control command therein comprises:
judging whether the composition of the binary file of the payload data injection packet conforms to the generation rule of the payload data injection packet or not;
if the judgment result is positive, identifying the packet head, the packet sequence, the packet length, the data domain and each part of the checksum, extracting the single machine control command and the time code in the data domain one by one, searching the single machine control command in the command library to obtain the corresponding load name, command function and command name, converting the absolute time code into a 'time-of-day-minute-second' format, and converting the relative time code into a 10-system second number;
otherwise, determining the specific position in the binary file which is not in accordance with the generation rule.
10. The method for editing and verifying a deep space probe payload data injection packet according to claim 9, further comprising: modifying the existing mode table injection packet, newly adding, deleting or replacing a single machine control instruction or a relative time code in a data domain of the mode table injection packet, and generating a new mode table injection packet; the method specifically comprises the following steps:
selecting a binary file of a mode table injection package to be modified, and analyzing the binary file to obtain a single machine control instruction-relative time code text sequence;
editing the single machine control instruction-relative time code text sequence according to the modification requirement;
selecting a mode table injection package, setting a mode table number, and importing the edited single machine control instruction-relative time code text sequence into a data field of the mode table injection package to form an injection package code;
a binary file and a text file are generated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011137416.XA CN112328209A (en) | 2020-10-22 | 2020-10-22 | Editing and checking method for deep space probe payload data injection packet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011137416.XA CN112328209A (en) | 2020-10-22 | 2020-10-22 | Editing and checking method for deep space probe payload data injection packet |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112328209A true CN112328209A (en) | 2021-02-05 |
Family
ID=74312169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011137416.XA Pending CN112328209A (en) | 2020-10-22 | 2020-10-22 | Editing and checking method for deep space probe payload data injection packet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112328209A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114048063A (en) * | 2021-09-28 | 2022-02-15 | 北京控制工程研究所 | Method and system for processing cutting machine or reset fault in driving-off process of Mars vehicle |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103676853A (en) * | 2013-11-29 | 2014-03-26 | 中国资源卫星应用中心 | Automatic remote sensing instruction generation and verification method |
CN103984592A (en) * | 2014-05-19 | 2014-08-13 | 上海微小卫星工程中心 | Satellite instruction sequence processing method and device based on multiple tasks |
US20160225263A1 (en) * | 2015-02-01 | 2016-08-04 | Iteris, Inc. | Mission prioritization and work order arrangement for unmanned aerial vehicles and remotely-piloted vehicles |
CN107590046A (en) * | 2017-09-05 | 2018-01-16 | 北京空间飞行器总体设计部 | A kind of remote sensing satellite load task command verification method and system |
CN107665111A (en) * | 2017-09-05 | 2018-02-06 | 北京空间飞行器总体设计部 | A kind of remote sensing satellite load task parametric control method and system |
CN109086240A (en) * | 2018-08-28 | 2018-12-25 | 中国科学院长春光学精密机械与物理研究所 | A kind of injected system and method for space loading remote-control data |
-
2020
- 2020-10-22 CN CN202011137416.XA patent/CN112328209A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103676853A (en) * | 2013-11-29 | 2014-03-26 | 中国资源卫星应用中心 | Automatic remote sensing instruction generation and verification method |
CN103984592A (en) * | 2014-05-19 | 2014-08-13 | 上海微小卫星工程中心 | Satellite instruction sequence processing method and device based on multiple tasks |
US20160225263A1 (en) * | 2015-02-01 | 2016-08-04 | Iteris, Inc. | Mission prioritization and work order arrangement for unmanned aerial vehicles and remotely-piloted vehicles |
CN107590046A (en) * | 2017-09-05 | 2018-01-16 | 北京空间飞行器总体设计部 | A kind of remote sensing satellite load task command verification method and system |
CN107665111A (en) * | 2017-09-05 | 2018-02-06 | 北京空间飞行器总体设计部 | A kind of remote sensing satellite load task parametric control method and system |
CN109086240A (en) * | 2018-08-28 | 2018-12-25 | 中国科学院长春光学精密机械与物理研究所 | A kind of injected system and method for space loading remote-control data |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114048063A (en) * | 2021-09-28 | 2022-02-15 | 北京控制工程研究所 | Method and system for processing cutting machine or reset fault in driving-off process of Mars vehicle |
CN114048063B (en) * | 2021-09-28 | 2024-06-07 | 北京控制工程研究所 | Method and system for processing cutting machine or reset fault in spark vehicle driving-away process |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110155377B (en) | Method and system for automatically managing satellite ground measurement and control system | |
CN103218292B (en) | A kind of aerospace satellite-borne software Auto-Test System | |
CN106597947A (en) | Substation equipment test method and system, server and tester | |
DE112014003854T5 (en) | Drilling methods and systems with automated waypoint or borehole path updates based on survey data corrections | |
CN110515827A (en) | Automated testing method, device, computer equipment and storage medium | |
CN105183811A (en) | Informatization data collection system for exploration drilling catalog | |
CN112328209A (en) | Editing and checking method for deep space probe payload data injection packet | |
CN103235757B (en) | Several apparatus and method that input domain tested object is tested are made based on robotization | |
CN113190910B (en) | Slice analysis system and method based on BIM three-dimensional geological tunnel model | |
CN116069783B (en) | Hydrologic data processing method and device, computer equipment and storage medium | |
CN110968995A (en) | Drilling core compiling and recording method | |
Eglington et al. | GEODATE for Windows version 1: Isotope regression and modeling software | |
CN112988120B (en) | Satellite telemetering downlink scheduling parameter dynamic online binding method and system for Ada language | |
CN111191346A (en) | Method and medium for restoring on-orbit operation instance data of spacecraft software | |
CN112348454B (en) | Intelligent management and control system and method for handover test of electrical equipment | |
CN112613818A (en) | Tracking method, device, equipment and storage medium of prefabricated part | |
Tsang | Comments on model validation | |
Kiedrowski | MCNP6 for Criticality Accident Alarm Systems--A Primer | |
Cohn | Coastal Dune Morphodynamics: Insights Across Time and Space Scales | |
Smart et al. | Geomagnetic cutoff rigidity computer program: Theory, software description and example | |
Postpischl et al. | Some ideas for a databank of macroseismic data | |
Chandler et al. | Electronic geotechnical data–Formatting for the future | |
CN221595678U (en) | Drilling rock core fast and accurate compiling AI model management system | |
CN109885936B (en) | Tracking and identifying method and system for geological boundary in two-dimensional geological section diagram | |
CN113408144B (en) | Design method of test case of spacecraft payload system |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20210205 |
|
WD01 | Invention patent application deemed withdrawn after publication |