[go: up one dir, main page]

CN103984592B - A kind of satellite command series processing method and device based on multitask - Google Patents

A kind of satellite command series processing method and device based on multitask Download PDF

Info

Publication number
CN103984592B
CN103984592B CN201410210694.1A CN201410210694A CN103984592B CN 103984592 B CN103984592 B CN 103984592B CN 201410210694 A CN201410210694 A CN 201410210694A CN 103984592 B CN103984592 B CN 103984592B
Authority
CN
China
Prior art keywords
command
task
instruction
tasks
identify
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.)
Expired - Fee Related
Application number
CN201410210694.1A
Other languages
Chinese (zh)
Other versions
CN103984592A (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.)
Shanghai Engineering Center for Microsatellites
Original Assignee
Shanghai Engineering Center for Microsatellites
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 Shanghai Engineering Center for Microsatellites filed Critical Shanghai Engineering Center for Microsatellites
Priority to CN201410210694.1A priority Critical patent/CN103984592B/en
Publication of CN103984592A publication Critical patent/CN103984592A/en
Application granted granted Critical
Publication of CN103984592B publication Critical patent/CN103984592B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Radio Relay Systems (AREA)

Abstract

一种基于多任务的卫星指令序列处理方法及装置,所述方法包括以下步骤:(1)获取遥控指令任务所需的所有间接指令;(2)根据每条注入数据的最大封装值将所有间接指令封装到相应数目的注入数据的格式中形成指令序列,其中所述指令序列包括至少一指令任务;(3)发送所述指令序列中的所有注入数据。本发明大大降低了地面操作次数,简化了操作流程,减少了人为操作失误,有效提高了遥控操作的可靠性、安全性和易用性;同时减少了地面操作时间,降低了遥控资源占有率,提高了遥控效率。

A method and device for processing satellite command sequences based on multitasking, the method includes the following steps: (1) acquiring all indirect commands required for remote control command tasks; (2) converting all indirect commands according to the maximum encapsulation value of each piece of injected data Instructions are encapsulated into a corresponding number of injected data formats to form an instruction sequence, wherein the instruction sequence includes at least one instruction task; (3) sending all the injected data in the instruction sequence. The invention greatly reduces the number of ground operations, simplifies the operation process, reduces human error in operation, and effectively improves the reliability, safety and ease of use of remote control operations; at the same time, it reduces the time for ground operations and the occupancy rate of remote control resources. Improved remote control efficiency.

Description

一种基于多任务的卫星指令序列处理方法及装置A multi-task-based satellite command sequence processing method and device

技术领域technical field

本发明涉及航天测量与控制技术领域,具体的说,是一种高效率的地面对航天器程控中基于多任务的卫星指令序列处理方法及装置。The invention relates to the technical field of aerospace measurement and control, in particular to a high-efficiency ground-to-spacecraft program control method and device based on multi-task satellite command sequence processing.

背景技术Background technique

地面对航天器的程控方式一般有两种:间接指令方式和注入数据方式。间接指令长度较短,其数据域长度为几十字节,主要是一些单机或软件状态切换、参数设置等控制指令;间接指令的处理包括:产生、申请发送、发送、判断执行情况等过程,需要多人参与多个操作,每条间接指令的处理最短需要6秒时间。注入数据长度较长,其数据域长度约几百字节,主要是轨道数据、星历数据、软件代码等较长的数据;注入数据方式每条注入数据的处理最短需要8秒时间。随着卫星的功能越来越复杂,完成一次控制任务或载荷任务需要多个单机多条间接指令按照一定的流程依次执行,有些任务需要几十条甚至成百上千条指令按照一定流程依次执行。目前,都是通过地面多次发送间接指令完成,现有的间接指令逐条发送方式注入次数多,花费时间长,需要耗费大量的人力和信道资源,给任务的正常执行带来一定的风险。There are generally two ways of ground-to-spacecraft program control: indirect command mode and data injection mode. The length of the indirect instruction is relatively short, and the length of its data field is dozens of bytes. It is mainly some control instructions such as stand-alone or software state switching, parameter setting, etc.; the processing of indirect instructions includes: generation, application for sending, sending, and judging the execution status. Multiple people are required to participate in multiple operations, and the processing of each indirect instruction takes at least 6 seconds. The length of the injected data is relatively long, and the length of the data field is about several hundred bytes, mainly long data such as orbit data, ephemeris data, and software code; the processing of each injected data in the injected data method takes at least 8 seconds. As the functions of satellites become more and more complex, completing a control task or load task requires multiple stand-alone multiple indirect instructions to be executed sequentially according to a certain process, and some tasks require dozens or even hundreds of instructions to be executed sequentially according to a certain process . At present, it is completed by sending indirect commands multiple times on the ground. The existing indirect commands are injected one by one, which takes a long time, consumes a lot of manpower and channel resources, and brings certain risks to the normal execution of tasks.

发明内容Contents of the invention

本发明的目的在于,提供一种基于多任务的卫星指令序列处理方法,能够简化地面遥控操作,提高遥控资源利用率,提高任务的可靠性和安全性。The object of the present invention is to provide a multi-task-based satellite command sequence processing method, which can simplify the ground remote control operation, improve the utilization rate of remote control resources, and improve the reliability and safety of tasks.

为实现上述目的,本发明提供了一种基于多任务的卫星指令序列处理方法,包括以下步骤:(1)获取遥控指令任务所需的所有间接指令;(2)根据每条注入数据的最大封装值将所有间接指令封装到相应数目的注入数据的格式中形成指令序列,其中所述指令序列包括至少一指令任务;(3)发送所述指令序列中的所有注入数据。In order to achieve the above object, the present invention provides a multi-task-based satellite command sequence processing method, comprising the following steps: (1) obtaining all indirect commands required for remote control command tasks; (2) according to the maximum encapsulation of each piece of injected data Encapsulate all indirect instructions into a corresponding number of injected data to form an instruction sequence, wherein the instruction sequence includes at least one instruction task; (3) Send all the injected data in the instruction sequence.

进一步,所述至少一指令任务包括至少一条注入数据,所述至少一条注入数据包括至少一条间接指令。Further, the at least one instruction task includes at least one piece of injected data, and the at least one piece of injected data includes at least one indirect instruction.

进一步,所述指令序列格式为:长度:用于标识从有效性字段开始至任务指令列表字段结束的总字节长度;类型:用于区分卫星执行的不同指令任务类型;校验和:用于标识从有效性字段开始至任务指令列表字段结束所有字节的累加和校验,只有校验通过卫星才会执行此条指令序列;有效性:自定义功能;任务数:用于标识所有指令任务数量;总指令数:用于标识当次指令序列包括的总指令数;任务信息:用于标识所有指令任务的相应起始指令编号信息,每项指令任务都有两字节信息;任务指令列表:用于标识所有指令明细。其中,所述任务数从1开始编号。所述任务信息中所有指令任务的起始指令编号从1开始编号,空指令任务的起始指令编号固定填0。Further, the format of the instruction sequence is: length: used to identify the total byte length from the validity field to the end of the task instruction list field; type: used to distinguish different instruction task types executed by the satellite; checksum: used for Identifies the accumulation and verification of all bytes from the validity field to the end of the task instruction list field. Only when the verification passes the satellite will this instruction sequence be executed; validity: custom function; number of tasks: used to identify all instruction tasks Quantity; total number of instructions: used to identify the total number of instructions included in the current instruction sequence; task information: used to identify the corresponding starting instruction number information of all instruction tasks, each instruction task has two bytes of information; task instruction list : Used to identify all instruction details. Wherein, the number of tasks starts from 1. The initial instruction numbers of all instruction tasks in the task information start from 1, and the initial instruction numbers of empty instruction tasks are fixedly filled with 0.

本发明的另一目的,还提供一种基于多任务的卫星指令序列处理装置,包括:一指令获取模块,用于获取遥控指令任务所需的所有间接指令;一封装模块,与所述指令获取模块相连,用于根据每条注入数据的最大封装值将所有间接指令封装到相应数目的注入数据的格式中形成指令序列,其中所述指令序列包括至少一指令任务;一发送模块,与所述封装模块相连,用于发送所述指令序列中的所有注入数据。Another object of the present invention is to provide a satellite command sequence processing device based on multitasking, including: an command acquisition module, used to acquire all indirect commands required by remote control command tasks; a packaging module, and the command acquisition module The modules are connected, and are used to encapsulate all indirect instructions into a corresponding number of injected data formats according to the maximum encapsulation value of each piece of injected data to form an instruction sequence, wherein the instruction sequence includes at least one instruction task; a sending module, and the The encapsulation module is connected for sending all injected data in the instruction sequence.

本发明的优点在于,大大降低了地面操作次数,简化了操作流程,减少了人为操作失误,有效提高了遥控操作的可靠性、安全性和易用性;同时减少了地面操作时间,降低了遥控资源占有率,提高了遥控效率;并且通过指令序列的双重校验和指令的冗余执行提高了载荷任务的可靠性和安全性,有较强的工程应用前景,也可推广应用在其他卫星的载荷任务或其它需要多条指令配合的复杂任务的遥控格式中。The invention has the advantages of greatly reducing the number of operations on the ground, simplifying the operation process, reducing human error, and effectively improving the reliability, safety and ease of use of remote control operations; The resource occupancy rate improves the remote control efficiency; and the reliability and safety of the load task are improved through the double verification of the command sequence and the redundant execution of the command, which has a strong engineering application prospect and can also be popularized and applied to other satellites. In the remote control format of payload tasks or other complex tasks that require the cooperation of multiple commands.

附图说明Description of drawings

图1,本发明所述的一种基于多任务的卫星指令序列处理方法的流程图;Fig. 1, the flow chart of a kind of satellite command sequence processing method based on multitasking according to the present invention;

图2,是本发明所述指令序列格式示意图;Fig. 2 is a schematic diagram of the instruction sequence format of the present invention;

图3,本发明所述的一种基于多任务的卫星指令序列处理装置的架构图。Fig. 3 is a structure diagram of a multi-task-based satellite command sequence processing device according to the present invention.

具体实施方式detailed description

下面结合附图对本发明提供的一种基于多任务的卫星指令序列处理方法及装置的具体实施方式做详细说明。The specific implementation of a multi-task-based satellite command sequence processing method and device provided by the present invention will be described in detail below in conjunction with the accompanying drawings.

参见图1所示,一种基于多任务的卫星指令序列处理方法,包括以下步骤:S11:获取遥控指令任务所需的所有间接指令;S12:根据每条注入数据的最大封装值将所有间接指令封装到相应数目的注入数据的格式中形成指令序列,其中所述指令序列包括至少一指令任务;S13:发送所述指令序列中的所有注入数据。以下是对上述步骤的详细描述。Referring to Fig. 1, a multi-task-based satellite command sequence processing method includes the following steps: S11: Obtain all indirect commands required for remote control command tasks; S12: Convert all indirect commands according to the maximum package value of each injected data Encapsulate into a format of a corresponding number of injected data to form an instruction sequence, wherein the instruction sequence includes at least one instruction task; S13: Send all the injected data in the instruction sequence. The following is a detailed description of the above steps.

S11:获取遥控指令任务所需的所有间接指令。S11: Obtain all indirect commands required by the remote control command task.

经分析,卫星遥控指令任务所需的指令均为间接指令,如果将间接指令封装到注入数据的格式中,那么每条注入数据可容纳多条(例如12条)间接指令,这将大大提高测控弧段利用率,并且大大降低地面遥控操作的复杂性。以现有的卫星遥控格式约定为例,一条完整的遥控帧(即注入数据)最长仅支持512字节,而每条间接指令的字节信息规定为29字节,加上相应的包头包尾以及指令信息,所以一条注入数据可以封装的间接指令数目最多是12条。但实际上,实际应用中,如果遥控帧长(512)以及间接指令的字节信息(29)都是可以调整的,注入数据可容纳的间接指令数量根据实际情况确定。After analysis, the commands required for satellite remote control command tasks are all indirect commands. If the indirect commands are encapsulated into the format of the injected data, then each piece of injected data can accommodate multiple (for example, 12) indirect commands, which will greatly improve measurement and control. Arc segment utilization, and greatly reduce the complexity of ground remote control operations. Taking the existing satellite remote control format agreement as an example, a complete remote control frame (that is, injected data) can only support up to 512 bytes, and the byte information of each indirect command is specified as 29 bytes, plus the corresponding header packet Tail and instruction information, so the maximum number of indirect instructions that can be encapsulated by one injected data is 12. But in fact, in actual application, if the remote control frame length (512) and the byte information (29) of the indirect command can be adjusted, the number of indirect commands that can be accommodated in the injected data is determined according to the actual situation.

S12:根据每条注入数据的最大封装值将所有间接指令封装到相应数目的注入数据的格式中形成指令序列。S12: Encapsulate all indirect instructions into a corresponding number of injected data formats according to the maximum encapsulation value of each piece of injected data to form an instruction sequence.

由于每条注入数据可以包含多条间接指令,因此可以将遥控指令任务需求的所有间接指令封装成一条或多条注入数据,形成一个指令序列进行处理;例如某载荷任务需要12条间接指令,则将12条间接指令依序封装到一个注入数据的格式中形成一条指令序列;指令序列内部的指令可以动态的填入各条短指令信息,不需要固定顺序,大大提高了遥控效率。也即一指令序列中包括至少一指令任务,一指令任务包括至少一条注入数据,一条注入数据包括至少一条间接指令。Since each piece of injected data can contain multiple indirect instructions, all the indirect instructions required by the remote control command task can be packaged into one or more pieces of injected data to form a sequence of instructions for processing; for example, if a load task requires 12 indirect instructions, then Encapsulate 12 indirect instructions into a data-injected format to form an instruction sequence; the instructions inside the instruction sequence can be dynamically filled with each short instruction information without a fixed sequence, which greatly improves the efficiency of remote control. That is, an instruction sequence includes at least one instruction task, an instruction task includes at least one piece of injected data, and a piece of injected data includes at least one indirect instruction.

参考图2,所述指令序列格式可以包括长度、类型、校验和、有效性、任务数、总指令数以及任务指令列表。Referring to FIG. 2, the instruction sequence format may include length, type, checksum, validity, task number, total instruction number, and task instruction list.

其中,长度:用于标识从有效性字段开始至任务指令列表字段结束的总字节长度,无无符号整型,占4B(字节);Among them, length: used to identify the total byte length from the validity field to the end of the task instruction list field, no unsigned integer, accounting for 4B (bytes);

类型:用于区分卫星执行的不同指令任务类型,比如成像、观测、数据传输等,占2B;Type: used to distinguish different types of command tasks performed by satellites, such as imaging, observation, data transmission, etc., accounting for 2B;

校验和:用于标识从有效性字段开始至任务指令列表字段结束所有字节的累加和校验,只有校验通过卫星才会执行此条指令序列,占2B;Checksum: It is used to identify the accumulation and verification of all bytes from the validity field to the end of the task instruction list field. This instruction sequence will be executed only if the satellite passes the verification, accounting for 2B;

有效性:为自定义功能,可以固定填77H,占1B;Validity: It is a custom function, you can fill in 77H fixedly, accounting for 1B;

任务数:用于标识所有指令任务数量,占1B,从1开始编号,每个指令序列可以包括多个指令任务;Number of tasks: used to identify the number of all command tasks, accounting for 1B, numbered from 1, each command sequence can include multiple command tasks;

总指令数:用于标识当次指令序列包括的总指令数,占2B,总指令数最大值取决于星载计算机开辟给指令序列SRAM的大小,总指令数取值范围为1~550;Total number of instructions: used to identify the total number of instructions included in the current instruction sequence, accounting for 2B, the maximum value of the total number of instructions depends on the size of the SRAM allocated to the instruction sequence by the on-board computer, and the value range of the total number of instructions is 1 to 550;

任务信息:用于标识所有指令任务的相应起始指令编号信息,每项指令任务有两字节信息,其中,所有指令任务的起始指令编号从1开始编号,空指令任务的起始指令编号固定填0;Task information: It is used to identify the corresponding starting command number information of all command tasks. Each command task has two bytes of information. Among them, the starting command numbers of all command tasks start from 1, and the starting command numbers of empty command tasks Fill in 0 fixedly;

任务指令列表:用于标识所有指令明细,占字节数为可变量,每一间接指令包括N字节信息,信息包含各条间接指令的指令执行时间、指令码、指令参数等。Task instruction list: used to identify all instruction details, the number of bytes is variable, each indirect instruction includes N bytes of information, and the information includes instruction execution time, instruction code, instruction parameters, etc. of each indirect instruction.

如图2所示,该指令序列的任务信息中包括63条指令任务的起始指令编号信息,从任务1起始指令编号一直到任务63起始指令编号。As shown in FIG. 2 , the task information of the instruction sequence includes the initial instruction number information of 63 instruction tasks, from the initial instruction number of task 1 to the initial instruction number of task 63 .

此处的任务数和总指令数是不同的概念。前述中每条注入数据可容纳12条间接指令是指,一条512字节的遥控帧最多容纳12条间接指令,这是由卫星遥控格式约定好的;一个卫星指令任务可以由1~n条指令组成,n不可以超过总指令数。而卫星一天会有多种任务需要执行,为了提高遥控注入的效率,会将所有的指令任务一起封装在指令序列里面,最大支持63个指令任务,所有指令任务加起来的指令数受总指令数限制。The number of tasks and the total number of instructions here are different concepts. In the foregoing, each injected data can accommodate 12 indirect commands, which means that a 512-byte remote control frame can accommodate up to 12 indirect commands, which is agreed by the satellite remote control format; a satellite command task can be composed of 1~n commands composition, n cannot exceed the total number of instructions. The satellite will have a variety of tasks to perform in a day. In order to improve the efficiency of remote control injection, all command tasks will be packaged together in the command sequence, and a maximum of 63 command tasks are supported. The total number of commands added to all command tasks is subject to the total command limit.

如图2所示,任务指令列表中包括指令1到指令n信息,每一间接指令包括N字节信息。n为总指令数对应的取值。As shown in FIG. 2 , the task instruction list includes information from instruction 1 to instruction n, and each indirect instruction includes information of N bytes. n is the value corresponding to the total number of instructions.

S13:发送所述指令序列中的所有注入数据。S13: Send all the injected data in the instruction sequence.

根据卫星遥控格式约定,将所述指令序列中的所有注入数据分拆成相应的遥控帧,上注到卫星之后,再组装成一个完整的指令序列。由于每条注入数据可以包含多条间接指令,因此通过形成指令序列的形式完成任务的发送,降低了地面操作次数,简化了操作流程,减少了人为操作失误,有效提高了遥控操作的可靠性、安全性和易用性;同时减少了地面操作时间,降低了遥控资源占有率,提高了遥控效率;并且通过指令序列的双重校验和指令的冗余执行提高了载荷任务的可靠性和安全性,有较强的工程应用前景,也可推广应用在其他卫星的载荷任务或其它需要多条指令配合的复杂任务的遥控格式中。According to the satellite remote control format agreement, all the injected data in the command sequence is divided into corresponding remote control frames, and after being injected into the satellite, a complete command sequence is assembled. Since each piece of injected data can contain multiple indirect instructions, the transmission of tasks is completed in the form of instruction sequences, which reduces the number of ground operations, simplifies the operation process, reduces human error, and effectively improves the reliability of remote control operations. Safety and ease of use; at the same time, the ground operation time is reduced, the remote control resource occupancy rate is reduced, and the remote control efficiency is improved; and the reliability and safety of the load task are improved through the double verification of the command sequence and the redundant execution of the command , has strong engineering application prospects, and can also be popularized and applied in the remote control format of other satellite load tasks or other complex tasks that require the cooperation of multiple commands.

举例说明,某载荷任务需要12条指令,每一天进行14次载荷任务,每次须上注3天的载荷任务。表1列出了传统间接指令和本发明指令序列在发送时间、发送次数方面的比较,其中,每条间接指令的处理最短需要6秒时间,每条注入数据的处理最短需要8秒时间。通过下表比较可以看出,显然本发明指令序列的发送次数和发送时间远小于传统间接指令方式,效率大大提高。For example, a load task requires 12 instructions, 14 load tasks are performed every day, and a load task of 3 days is required for each load task. Table 1 lists the comparison between the traditional indirect instruction and the instruction sequence of the present invention in terms of sending time and sending times, wherein the processing of each indirect instruction takes a minimum of 6 seconds, and the processing of each injected data takes a minimum of 8 seconds. From the comparison in the table below, it can be seen that the sending times and sending time of the instruction sequence in the present invention are much smaller than the traditional indirect instruction method, and the efficiency is greatly improved.

序号serial number 性能performance 传统间接指令traditional indirect instruction 本发明指令序列Instruction sequence of the present invention 11 发送时间(S)Sending time (S) 30243024 336336 22 发送次数The number of transmissions 504504 4242

表1传统间接指令和指令序列的性能比较。Table 1 Performance comparison of traditional indirect instructions and instruction sequences.

参考图3,本发明所述的一种基于多任务的卫星指令序列处理装置,包括:一指令获取模块31、一封装模块32以及一发送模块33。Referring to FIG. 3 , a multi-task-based satellite command sequence processing device according to the present invention includes: a command acquisition module 31 , a packaging module 32 and a sending module 33 .

所述指令获取模块31,用于获取遥控指令任务所需的所有间接指令。经分析,卫星遥控指令任务所需的指令均为间接指令,如果将间接指令封装到注入数据的格式中,那么每条注入数据可容纳多条(例如12条)间接指令,这将大大提高测控弧段利用率,并且大大降低地面遥控操作的复杂性。The instruction acquisition module 31 is configured to acquire all indirect instructions required by the remote instruction task. After analysis, the commands required for satellite remote control command tasks are all indirect commands. If the indirect commands are encapsulated into the format of the injected data, then each piece of injected data can accommodate multiple (for example, 12) indirect commands, which will greatly improve measurement and control. Arc segment utilization, and greatly reduce the complexity of ground remote control operations.

所述封装模块32与所述指令获取模块33相连,用于根据每条注入数据的最大封装值将所有间接指令封装到相应数目的注入数据的格式中形成指令序列。由于每条注入数据可以包含多条间接指令,因此可以将遥控指令任务需求的所有间接指令封装成一条或多条注入数据,形成一个指令序列进行处理。指令序列内部的指令可以动态的填入各条短指令信息,不需要固定顺序,大大提高了遥控效率。也即一指令序列中包括至少一指令任务,一指令任务包括至少一条注入数据,一条注入数据包括至少一条间接指令。The encapsulation module 32 is connected with the instruction acquisition module 33, and is used for encapsulating all indirect instructions into a corresponding number of injected data formats according to the maximum encapsulation value of each piece of injected data to form an instruction sequence. Since each piece of injected data can contain multiple indirect instructions, all the indirect instructions required by the remote command task can be packaged into one or more pieces of injected data to form an instruction sequence for processing. The commands inside the command sequence can be dynamically filled in each short command information without a fixed sequence, which greatly improves the efficiency of remote control. That is, an instruction sequence includes at least one instruction task, an instruction task includes at least one piece of injected data, and a piece of injected data includes at least one indirect instruction.

所述指令序列格式可以包括长度、类型、校验和、有效性、任务数、总指令数以及任务指令列表,具体参考图2所示。The instruction sequence format may include length, type, checksum, validity, task number, total instruction number, and task instruction list, as shown in FIG. 2 for details.

其中,长度:用于标识从有效性字段开始至任务指令列表字段结束的总字节长度,无无符号整型,占4B(字节);Among them, length: used to identify the total byte length from the validity field to the end of the task instruction list field, no unsigned integer, accounting for 4B (bytes);

类型:用于区分卫星执行的不同指令任务类型,比如成像、观测、数据传输等,占2B;Type: used to distinguish different types of command tasks performed by satellites, such as imaging, observation, data transmission, etc., accounting for 2B;

校验和:用于标识从有效性字段开始至任务指令列表字段结束所有字节的累加和校验,只有校验通过卫星才会执行此条指令序列,占2B;Checksum: It is used to identify the accumulation and verification of all bytes from the validity field to the end of the task instruction list field. This instruction sequence will be executed only if the satellite passes the verification, accounting for 2B;

有效性:为自定义功能,可以固定填77H,占1B;Validity: It is a custom function, you can fill in 77H fixedly, accounting for 1B;

任务数:用于标识所有指令任务数量,占1B,从1开始编号,每个指令序列可以包括多个指令任务;Number of tasks: used to identify the number of all command tasks, accounting for 1B, numbered from 1, each command sequence can include multiple command tasks;

总指令数:用于标识当次指令序列包括的总指令数,占2B,总指令数最大值取决于星载计算机开辟给指令序列SRAM的大小,总指令数取值范围为1~550;Total number of instructions: used to identify the total number of instructions included in the current instruction sequence, accounting for 2B, the maximum value of the total number of instructions depends on the size of the SRAM allocated to the instruction sequence by the on-board computer, and the value range of the total number of instructions is 1 to 550;

任务信息:用于标识所有指令任务的相应起始指令编号信息,每项指令任务有两字节信息,其中,所有指令任务的起始指令编号从1开始编号,空指令任务的起始指令编号固定填0;Task information: It is used to identify the corresponding starting command number information of all command tasks. Each command task has two bytes of information. Among them, the starting command numbers of all command tasks start from 1, and the starting command numbers of empty command tasks Fill in 0 fixedly;

任务指令列表:用于标识所有指令明细,占字节数为可变量,每一间接指令包括N字节信息,信息包含各条间接指令的指令执行时间、指令码、指令参数等。Task instruction list: used to identify all instruction details, the number of bytes is variable, each indirect instruction includes N bytes of information, and the information includes instruction execution time, instruction code, instruction parameters, etc. of each indirect instruction.

所述发送模块33与所述封装模块32相连,用于发送所述指令序列中的所有注入数据。根据卫星遥控格式约定,将所述指令序列中的所有注入数据分拆成相应的遥控帧,上注到卫星之后,再组装成一个完整的指令序列。由于每条注入数据可以包含多条间接指令,因此通过形成指令序列的形式完成任务的发送,降低了地面操作次数,简化了操作流程,减少了人为操作失误,有效提高了遥控操作的可靠性、安全性和易用性;同时减少了地面操作时间,降低了遥控资源占有率,提高了遥控效率;并且通过指令序列的双重校验和指令的冗余执行提高了载荷任务的可靠性和安全性,有较强的工程应用前景,也可推广应用在其他卫星的载荷任务或其它需要多条指令配合的复杂任务的遥控格式中。The sending module 33 is connected to the encapsulation module 32 and configured to send all the injected data in the instruction sequence. According to the satellite remote control format agreement, all the injected data in the command sequence is divided into corresponding remote control frames, and after being injected into the satellite, a complete command sequence is assembled. Since each piece of injected data can contain multiple indirect instructions, the transmission of tasks is completed in the form of instruction sequences, which reduces the number of ground operations, simplifies the operation process, reduces human error, and effectively improves the reliability of remote control operations. Safety and ease of use; at the same time, the ground operation time is reduced, the remote control resource occupancy rate is reduced, and the remote control efficiency is improved; and the reliability and safety of the load task are improved through the double verification of the command sequence and the redundant execution of the command , has strong engineering application prospects, and can also be popularized and applied in the remote control format of other satellite load tasks or other complex tasks that require the cooperation of multiple commands.

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications should also be considered Be the protection scope of the present invention.

Claims (8)

1.一种基于多任务的卫星指令序列处理方法,其特征在于,包括以下步骤:1. a multi-task based satellite command sequence processing method, is characterized in that, comprises the following steps: (1)获取遥控指令任务所需的所有间接指令;(1) Obtain all indirect instructions required for remote command tasks; (2)根据每条注入数据的最大封装值将所有间接指令封装到相应数目的注入数据的格式中形成指令序列,其中所述指令序列包括至少一指令任务;(2) Encapsulating all indirect instructions into a corresponding number of injected data formats according to the maximum encapsulation value of each piece of injected data to form an instruction sequence, wherein the instruction sequence includes at least one instruction task; (3)发送所述指令序列中的所有注入数据;其中,(3) sending all injection data in the instruction sequence; wherein, 所述指令序列格式为:The instruction sequence format is: 长度:用于标识从有效性字段开始至任务指令列表字段结束的总字节长度;Length: used to identify the total byte length from the validity field to the end of the task instruction list field; 类型:用于区分卫星执行的不同指令任务类型;Type: used to distinguish different types of command tasks performed by satellites; 校验和:用于标识从有效性字段开始至任务指令列表字段结束所有字节的累加和校验,只有校验通过卫星才会执行此条指令序列;Checksum: It is used to identify the accumulation and verification of all bytes from the validity field to the end of the task instruction list field. Only when the verification passes the satellite will this instruction sequence be executed; 有效性:自定义功能;Validity: custom function; 任务数:用于标识所有指令任务数量;Number of tasks: used to identify the number of tasks for all instructions; 总指令数:用于标识当次指令序列包括的总指令数;Total number of instructions: used to identify the total number of instructions included in the current instruction sequence; 任务信息:用于标识所有指令任务的相应起始指令编号信息,每项指令任务有两字节信息;Task information: used to identify the corresponding starting command number information of all command tasks, each command task has two bytes of information; 任务指令列表:用于标识所有指令明细。Task instruction list: used to identify all instruction details. 2.根据权利要求1所述的基于多任务的卫星指令序列处理方法,其特征在于,所述至少一指令任务包括至少一条注入数据,所述至少一条注入数据包括至少一条间接指令。2. The multi-task-based satellite command sequence processing method according to claim 1, wherein the at least one command task includes at least one piece of injected data, and the at least one piece of injected data includes at least one indirect command. 3.根据权利要求1所述的基于多任务的卫星指令序列处理方法,其特征在于,所述任务数从1开始编号。3. The multi-task-based satellite command sequence processing method according to claim 1, wherein the number of tasks starts from 1. 4.根据权利要求1所述基于多任务的卫星指令序列处理方法,其特征在于,所述任务信息中所有指令任务的起始指令编号从1开始编号,空指令任务的起始指令编号固定填0。4. according to the described multi-task-based satellite command sequence processing method of claim 1, it is characterized in that, in the task information, the starting command numbers of all command tasks are numbered from 1, and the starting command numbers of empty command tasks are fixedly filled. 0. 5.一种基于多任务的卫星指令序列处理装置,其特征在于,包括:5. A multi-task based satellite command sequence processing device, characterized in that it comprises: 一指令获取模块,用于获取遥控指令任务所需的所有间接指令;An instruction acquisition module, used to acquire all the indirect instructions required by the remote command task; 一封装模块,与所述指令获取模块相连,用于根据每条注入数据的最大封装值将所有间接指令封装到相应数目的注入数据的格式中形成指令序列,其中所述指令序列包括至少一指令任务;An encapsulation module, connected to the instruction acquisition module, for encapsulating all indirect instructions into a corresponding number of injected data formats according to the maximum encapsulation value of each piece of injected data to form an instruction sequence, wherein the instruction sequence includes at least one instruction Task; 一发送模块,与所述封装模块相连,用于发送所述指令序列中的所有注入数据;其中A sending module, connected to the encapsulation module, for sending all the injected data in the instruction sequence; wherein 所述指令序列格式为:The instruction sequence format is: 长度:用于标识从有效性字段开始至任务指令列表字段结束的总字节长度;Length: used to identify the total byte length from the validity field to the end of the task instruction list field; 类型:用于区分卫星执行的不同指令任务类型;Type: used to distinguish different types of command tasks performed by satellites; 校验和:用于标识从有效性字段开始至任务指令列表字段结束所有字节的累加和校验,只有校验通过卫星才会执行此条指令序列;Checksum: It is used to identify the accumulation and verification of all bytes from the validity field to the end of the task instruction list field. Only when the verification passes the satellite will this instruction sequence be executed; 有效性:自定义功能;Validity: custom function; 任务数:用于标识所有指令任务数量;Number of tasks: used to identify the number of tasks for all instructions; 总指令数:用于标识当次指令序列包括的总指令数;Total number of instructions: used to identify the total number of instructions included in the current instruction sequence; 任务信息:用于标识所有指令任务的相应起始指令编号信息,每项指令任务有两字节信息;Task information: used to identify the corresponding starting command number information of all command tasks, each command task has two bytes of information; 任务指令列表:用于标识所有指令明细。Task instruction list: used to identify all instruction details. 6.根据权利要求5所述的基于多任务的卫星指令序列处理装置,其特征在于,所述至少一指令任务包括至少一条注入数据,所述至少一条注入数据包括至少一条间接指令。6. The multi-task-based satellite command sequence processing device according to claim 5, wherein the at least one command task includes at least one piece of injected data, and the at least one piece of injected data includes at least one indirect command. 7.根据权利要求5所述的基于多任务的卫星指令序列处理装置,其特征在于,所述任务数从1开始编号。7. The multi-task-based satellite command sequence processing device according to claim 5, wherein the number of tasks starts from 1. 8.根据权利要求5所述的基于多任务的卫星指令序列处理装置,其特征在于,所述任务信息中所有指令任务的起始指令编号从1开始编号,空指令任务的起始指令编号固定填0。8. The satellite command sequence processing device based on multitasking according to claim 5, wherein the starting command numbering of all command tasks in the task information starts from 1, and the starting command numbering of empty command tasks is fixed Fill in 0.
CN201410210694.1A 2014-05-19 2014-05-19 A kind of satellite command series processing method and device based on multitask Expired - Fee Related CN103984592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410210694.1A CN103984592B (en) 2014-05-19 2014-05-19 A kind of satellite command series processing method and device based on multitask

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410210694.1A CN103984592B (en) 2014-05-19 2014-05-19 A kind of satellite command series processing method and device based on multitask

Publications (2)

Publication Number Publication Date
CN103984592A CN103984592A (en) 2014-08-13
CN103984592B true CN103984592B (en) 2017-07-11

Family

ID=51276584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410210694.1A Expired - Fee Related CN103984592B (en) 2014-05-19 2014-05-19 A kind of satellite command series processing method and device based on multitask

Country Status (1)

Country Link
CN (1) CN103984592B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506892A (en) * 2017-07-17 2017-12-22 北京空间飞行器总体设计部 It is a kind of towards the ground integrated Intelligent control system of quiet rail Optical remote satellite star

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511311B (en) * 2015-11-30 2018-05-18 上海卫星工程研究所 Efficient remote sensing satellite multisystem coordination with the synthesis control method
CN105959055B (en) * 2016-04-15 2019-07-12 上海微小卫星工程中心 A kind of aerospace vehicle and its method of telemetering
CN105763643B (en) * 2016-04-20 2018-12-21 航天东方红卫星有限公司 Injecting method on a kind of moonlet electronics load task using task template
CN106406863B (en) * 2016-08-31 2019-07-12 西安空间无线电技术研究所 A kind of in-orbit data safety method for reconfiguration for the instruments and meters software that carries people to fly
CN110034814B (en) * 2019-03-29 2021-07-13 航天东方红卫星有限公司 Command Design Method for Trigger Mode of Agile Satellite Mission
CN110398985B (en) * 2019-08-14 2022-11-11 北京信成未来科技有限公司 Distributed self-adaptive unmanned aerial vehicle measurement and control system and method
CN112328209A (en) * 2020-10-22 2021-02-05 中国科学院国家空间科学中心 Editing and checking method for deep space probe payload data injection packet
CN112650198B (en) * 2020-12-21 2022-07-05 中国人民解放军63920部队 Multi-spacecraft injection plan automatic generation and control method and device
CN113110308B (en) * 2021-02-25 2022-03-25 北京空间飞行器总体设计部 Lunar surface sampling three-in-one flight control cooperative work flow optimization method
CN114620248B (en) * 2022-03-23 2025-09-19 长沙天仪空间科技研究院有限公司 Satellite autonomous safety implementation method and system based on logic program control instruction

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005020445A2 (en) * 2003-08-05 2005-03-03 University Of Hawai'i Microwave self-phasing antenna arrays for secure data transmission & satellite network crosslinks
KR100549614B1 (en) * 2003-11-05 2006-02-03 기륭전자 주식회사 Wireless Remote Controller using Time Division Protocol and Satellite Radio Comprising the Same
CN100559411C (en) * 2007-10-30 2009-11-11 航天东方红卫星有限公司 A satellite remote control instruction operation method
CN101876699B (en) * 2009-04-30 2012-12-12 中国科学院空间科学与应用研究中心 Control system and control method of satellite-borne microwave radiometer
CN102081704A (en) * 2011-01-25 2011-06-01 中国科学院国家天文台 Generation method for ontrack-operation injection data of scientific detecting instrument lunar probe
CN102520715B (en) * 2011-12-28 2013-10-23 北京航空航天大学 A Generalized Satellite Ground Overall Control Test System

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506892A (en) * 2017-07-17 2017-12-22 北京空间飞行器总体设计部 It is a kind of towards the ground integrated Intelligent control system of quiet rail Optical remote satellite star

Also Published As

Publication number Publication date
CN103984592A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN103984592B (en) A kind of satellite command series processing method and device based on multitask
CN102323941B (en) Telemetry data processing method
CN101770541B (en) A Satellite Data System Simulation Platform Based on AOS Standard
CN101969359A (en) Method for uploading and processing electric load task on small satellite
CN103078919B (en) A kind of data transmission method of secondary encapsulation
CN102664779A (en) CAN bus data transmitting method
CN104615439A (en) Configuration controller of reconfigurable system
CN110850452A (en) A method, device and system for processing satellite telemetry data
CN114510357A (en) Satellite launching field test identification service message interaction method and system
CN113315842A (en) Information interaction method and related equipment
CN102916936A (en) IP data encapsulating method and system applicable to IP over DVB (digital video broadcasting)
CN101277265A (en) A Method for Accelerated Loading of ELF Files in Wireless Sensor Networks
CN104202328B (en) A kind of method, configuration module and the subscription end of subscription GOOSE/SMV messages
CN109068354A (en) Data encoding transmission method, terminal and system based on Beidou communication
CN102707307A (en) Processing method for real-time data from lunar satellite high-energy solar particle detector
CN118250746A (en) Data message unpacking and packaging method and device
CN106685927A (en) Data subframe structure compilation method and relevant device
CN106411675B (en) A centralized bus timing control method based on time slice planning
CN110166485A (en) A kind of the scheduling application method and device of agreement
CN104461960B (en) Matrix type telemetry frame chooses the processing method of road remote measurement frame data
CN104104969B (en) Video interception method and device
CN102752312B (en) Method for decompressing swf files in batches
CN113438226B (en) Message generating and analyzing method, device and system based on hybrid transmission protocol
US9882645B2 (en) Service sending, receiving methods and devices
CN114510269B (en) A method and device for generating remote control commands based on joint testing of multi-satellite devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170711

Termination date: 20180519

CF01 Termination of patent right due to non-payment of annual fee