Boot application software system based on parameter configuration

Through the boot zone application software system based on parameter configuration, the huge development workload caused by the huge number of boot zone application software configuration items is solved, and efficient development and software reliability are achieved.

CN119396473AActive Publication Date: 2025-02-07BEIJING INST OF CONTROL ENG
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411211952.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2025-02-07
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

In the prior art, the number of configuration items of the boot zone application software is huge, resulting in huge development workloads, affecting development efficiency and software reliability.

Method used

The boot zone application software system based on parameter configuration is adopted, and the characteristic information of the boot zone application software is abstracted as a general configuration parameter, so that software developers can realize the productized production of the boot zone application software through parameter configuration.

Benefits of technology

It effectively improves the efficiency of application software development in the guidance area, improves the reliability of the software, and realizes batch development, which is highly practical and has good applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396473A_ABST
    Figure CN119396473A_ABST
Patent Text Reader

Abstract

A boot zone application software system based on parameter configuration comprises an application software initialization module, a satellite time processing module, a communication function module, a memory operation module, a remote control instruction processing module and a telemetering packaging module. According to the method, parameter configuration is conducted on the feature information of the universal boot area application software, batch development of the boot area application software can be achieved, and the problem that the number of configuration items of the current boot area application software is large, and consequently the workload is large is solved. The method is already used on a plurality of satellite attitude and orbit control subsystems and single-machine products, a large amount of software configuration item work is completed, the practicability is high, the applicability is good, and the software development efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a guide area application software system based on parameter configuration, belonging to the technical field of embedded software development. Background Art

[0002] The spacecraft attitude and orbit control subsystem software includes boot area software and attitude and orbit control software. The boot area software includes boot area system software and boot area application software. The boot area system software is responsible for computer booting and program loading, the boot area application software is responsible for on-orbit modification after program errors, and the attitude and orbit control software is responsible for on-orbit attitude and orbit control tasks.

[0003] The computer storage structure adopts PROM+EEPROM / FLASH+SRAM. The PROM stores the boot area software, including the boot area system software and the boot area application software, and the EEPROM / FLASH stores the attitude and track control software. Figure 2 As shown in the figure, under normal circumstances, after the computer is powered on, the boot area system software will move itself to SRAM for operation, and then load the attitude and orbit control software in EEPROM / FLASH into SRAM. After successful loading, it will jump to the attitude and orbit control software in SRAM to complete the spacecraft attitude and orbit control task. If the loading fails or the attitude and orbit control software has an error and the software is reset continuously, the attitude and orbit control application software cannot run, and the boot area application software will be entered. The boot area application software is mainly responsible for on-orbit modification. After modifying the wrong FLASH / EEPROM / SRAM address, exit the boot area application software and re-enter the attitude and orbit control application software to run.

[0004] To ensure the reliability of spacecraft on orbit, almost all attitude and orbit control computers and individual components need to be equipped with boot area application software, which has a huge number of software configuration items. If each configuration item is developed separately according to the traditional development method, the workload will be huge. Summary of the invention

[0005] The technical problem solved by the present invention is: to overcome the shortcomings of the prior art, propose a boot area application software system based on parameter configuration, solve the problem of huge workload caused by the huge number of boot area application software configuration items, greatly improve development efficiency, and improve software reliability.

[0006] The technical solution of the present invention is:

[0007] A boot area application software system based on parameter configuration includes: an application software initialization module, a star time processing module, a communication function module, a memory operation module, a remote control instruction processing module and a telemetry packaging module;

[0008] Satellite time processing module: maintains the satellite time count on the satellite and outputs the satellite time count to the telemetry packaging module;

[0009] Application software initialization module: loads corresponding configuration parameters from the fixed address of the memory, and performs parameter configuration on the memory, communication function module, remote control instruction processing module and telemetry packaging module to complete the initialization processing; the configuration parameters are configured to the fixed address of the memory by the software developer according to the characteristics of different product models;

[0010] Communication function module: Receives external bus data output by an external data tube computer, polls external bus data, and if a remote control command message is found, outputs the remote control command message to the remote control command processing module; if a telemetry message is found, calls the telemetry packaging module to package and download the software status telemetry message;

[0011] Remote control command processing module: receives the remote control command message output by the communication function module, parses the remote control command message according to the configuration parameters, and judges the correctness of the parsed remote control command message; calls the memory operation module according to the parsed command type to complete the reading and modification of memory, memory download, memory data verification, memory comparison, memory copy and memory erasure, completes the command execution and feeds back the command execution result to the telemetry packaging module;

[0012] Memory operation module: controlled by the instructions output by the remote control instruction processing module, completes the tasks of memory read modification, memory download, memory data verification, memory comparison, memory copy and memory erase, and feeds back the memory operation results to the telemetry packaging module;

[0013] Telemetry packaging module: packages and transmits the software status telemetry; the application software status telemetry includes: the star time count output by the star time processing module, the command execution result output by the remote control command execution module, and the memory operation result fed back by the memory operation module.

[0014] Preferably, the memory includes: one or more of: an SRAM memory, an EEPROM memory and a FLASH memory.

[0015] Preferably, the configuration parameters for the memory to be configured by the application software initialization module are: memory configuration parameters;

[0016] The memory configuration parameters are used to initialize the memory address space according to the preset memory address and length parameters;

[0017] The configuration parameters for configuring the communication function module by the application software initialization module include: communication interface configuration parameters and communication protocol configuration parameters;

[0018] The communication interface configuration parameters and the communication protocol configuration parameters are used to initialize the communication bus between the communication function module and the data management computer according to the preset communication bus parameters.

[0019] Preferably, the configuration parameters for the application software initialization module to configure the remote control instruction processing module are: instruction format configuration parameters;

[0020] The instruction format configuration parameters include: key field parameters, offset parameters of boot area instruction type, offset parameters of boot area injection instruction code, and checksum calculation parameters;

[0021] Key field parameters: used to verify the correctness of instructions by verifying fixed identifiers in the instructions;

[0022] Offset parameter of boot area instruction type: used to distinguish several different types of instructions in the boot area;

[0023] The offset parameter of the instruction code injected into the boot area is used to obtain the starting position of the valid instruction content;

[0024] Checksum calculation parameters: used to verify the correctness of the instruction.

[0025] Preferably, the configuration parameters for the telemetry packaging module to be configured by the application software initialization module are: telemetry format related configuration parameters;

[0026] The telemetry format-related configuration parameters include: telemetry fixed header length, telemetry fixed header, telemetry verification mode, telemetry verification word width, telemetry verification word length and telemetry verification offset.

[0027] Preferably, the application software initialization module loads corresponding configuration parameters from a fixed address of the memory and further includes: system software interaction configuration parameters;

[0028] The system software interaction class configuration parameters are used to define the system software interface function absolute address and system software interface variable absolute address corresponding to the system software interface function loaded by the application software initialization module.

[0029] Preferably, the system software interaction configuration parameters include:

[0030]

[0031]

[0032] The beneficial effects of the present invention compared with the prior art are:

[0033] Adopting the product design idea, a boot area application software system based on parameter configuration is proposed, which abstracts the characteristic information of the boot software as the configuration parameters of the general boot software, so that software developers can realize the product production of the boot area application software through parameter configuration, effectively improving the efficiency of boot area application software development and improving the reliability of the software. The general boot area application software has been used in multiple GNC systems and stand-alone products, completing a large number of software configuration items, with strong practicality and good applicability. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a flowchart of the operation of the universal boot area application software of the present invention;

[0035] Figure 2 It is a computer storage structure diagram of the present invention;

[0036] Figure 3 This is a block diagram of the boot area application software system of the present invention. DETAILED DESCRIPTION

[0037] The implementation method of the present invention is to design a universal boot area application software to realize the main process and core functions of software operation, extract the characteristic information of the boot area application software as configuration parameters, so that software developers can complete the development of the boot area application software of the corresponding configuration item through parameter configuration.

[0038] The present invention provides a boot area application software system based on parameter configuration, including: general boot area application software and configuration parameters, wherein the general boot area application software realizes the main process of software operation, such as Figure 3 As shown, it includes: application software initialization module, star time processing module, communication function module, memory operation module, remote control instruction processing module and telemetry packaging module. Configuration parameters are characteristic information abstracted by designers sorting out various constraints. When using the present invention, software developers only need to configure configuration parameters according to the characteristics of software configuration items to complete the development of boot area application software.

[0039] The following is a detailed description of each module of the universal boot area application software.

[0040] Satellite time processing module: maintains the satellite time count on the satellite and outputs the satellite time count to the telemetry packaging module;

[0041] Application software initialization module: loads corresponding configuration parameters from the fixed address of the memory, and performs parameter configuration on the memory, communication function module, remote control instruction processing module and telemetry packaging module respectively to complete the initialization processing; the configuration parameters are configured to the fixed address of the memory by the software developer according to the characteristics of different product models; Communication function module: receives the external bus data output by the external data tube computer, polls the external bus data, and if the remote control instruction message is queried, the remote control instruction message is output to the remote control instruction processing module; if the telemetry message is queried, the telemetry packaging module is called to package the software status telemetry and transmit it down;

[0042] Remote control command processing module: receives the remote control command message output by the communication function module, parses the remote control command message according to the configuration parameters, and judges the correctness of the parsed remote control command message; calls the memory operation module according to the parsed command type to complete the reading and modification of memory, memory download, memory data verification, memory comparison, memory copy and memory erasure, completes the command execution and feeds back the command execution result to the telemetry packaging module; Memory operation module: is controlled by the command output by the remote control command processing module, completes the reading and modification of memory, memory download, memory data verification, memory comparison, memory copy and memory erasure, and feeds back the memory operation result to the telemetry packaging module;

[0043] Telemetry Packaging Module: Packing and downloading software status telemetry; wherein, application software status telemetry includes: star time count output by star time processing module, command execution result output by remote control command execution module, and memory operation result fed back by memory operation module. The memory includes: one or more of SRAM memory, EEPROM memory and FLASH memory.

[0044] The configuration parameters for the memory configuration by the application software initialization module are: memory configuration parameters. The memory configuration parameters are used to initialize the memory address space according to the preset memory address and length parameters;

[0045] The configuration parameters used by the application software initialization module to configure the communication function module include: communication interface configuration parameters and communication protocol configuration parameters. The communication interface configuration parameters and communication protocol configuration parameters are used to initialize the communication bus between the communication function module and the data management computer according to preset communication bus parameters.

[0046] The configuration parameters of the remote control command processing module configured by the application software initialization module are: command format configuration parameters. The command format configuration parameters include: key field parameters, offset parameters of the boot area command type, offset parameters of the boot area injection command code, and checksum calculation parameters.

[0047] Key field parameters: used to verify the correctness of instructions by verifying fixed identifiers in the instructions;

[0048] Offset parameter of boot area instruction type: used to distinguish several different types of instructions in the boot area;

[0049] The offset parameter of the instruction code injected into the boot area is used to obtain the starting position of the valid instruction content;

[0050] Checksum calculation parameters: used to verify the correctness of the instruction.

[0051] The configuration parameters for the telemetry packaging module configured by the application software initialization module are: telemetry format related configuration parameters. The telemetry format related configuration parameters include: telemetry fixed header length, telemetry fixed header, telemetry verification mode, telemetry verification word width, telemetry verification word length and telemetry verification offset.

[0052] System software interaction configuration parameters include:

[0053]

[0054] The configuration parameters corresponding to the loading of the application software initialization module from the fixed address of the memory also include: system software interaction configuration parameters. The system software interaction configuration parameters are used to define the system software interface function absolute address and system software interface variable absolute address corresponding to the system software interface function loaded by the application software initialization module.

[0055] The configuration parameters of the present invention are mainly divided into six categories, namely, memory configuration parameters, communication interface configuration parameters, communication protocol configuration parameters, instruction format configuration parameters, telemetry format related configuration parameters, and system software interaction configuration parameters. The developer configures the parameters according to the characteristics of the configuration items. After the general boot area application software loads the parameters, the characteristic parameters act on the application software initialization, communication function and other modules. The present invention can realize the batch development of the boot area application software by configuring the parameters of the characteristic information of the general boot area application software. This method solves the problem of huge workload caused by the large number of configuration items of the current boot area application software. The method has been used on multiple satellite attitude and orbit control subsystems and stand-alone products, and has completed a large number of software configuration items. It has strong practicality and good applicability, and effectively improves the efficiency of software development.

[0056] Example

[0057] (1) Design of general boot area application software

[0058] The operation process of the general boot area application software is as follows: Figure 1As shown, when the software is running, it first loads the configuration parameters from a fixed address, parses the configuration parameters, and then initializes according to the loaded configuration parameters, including initializing the communication interface and loading the system software interface function. After the initialization is completed, it starts to poll, read and execute instructions every cycle. If the instruction received is to exit the minimum mode, the boot area software is exited and the attitude and orbit control software is entered.

[0059] The communication interface of the universal boot area application software supports three different types of communication interfaces: 1553B, SpaceWire, and serial port. In the universal software, you can configure the interface type, select the parsing configuration parameter module of the corresponding interface, and the interface chip initialization module.

[0060] The universal boot area application software supports multiple communication protocol types such as the common 1553B protocol, 1553B CCSDS protocol, and SpaceWire network communication protocol. Users can select different protocol types and corresponding message query modules through configuration parameters.

[0061] The universal boot area application software implements the core memory operation functions, including memory modification module, memory download module, memory copy module, memory comparison module, memory verification module, memory erase module, exit minimum mode module, user configuration instruction format related parameters, and the universal boot area software can identify instruction types and execute them.

[0062] (2) Extracting configuration parameters

[0063] After general demand analysis and functional decomposition of the boot software, the characteristic information of the software was abstracted, and several types of configuration parameters were designed, including memory configuration parameters, communication interface configuration parameters, instruction execution configuration parameters, and telemetry configuration parameters.

[0064] (a) Memory configuration parameters. The memory operation module operates the memory of the memory. It is necessary to clarify the address range of the memory. Different product models of computers have different memory types. The starting address and capacity of each type of memory are different. Therefore, this feature information is extracted as a configuration parameter to achieve configurability. The design of this type of configuration parameters is shown in Table 1.

[0065] Table 1 Memory configuration parameters

[0066]

[0067] (b) Communication interface configuration parameters. The application software initialization module initializes the communication external bus and needs to specify the address range of the communication external bus. For example, for the 1553B communication external bus, the register base address and RAM base address of the 1553B chip need to be configured. For the SpaceWire communication external bus, the base address of the SpaceWire chip needs to be configured. The design of 1553B related parameters is shown in Table 2.

[0068] Table 2 1553B interface configuration parameters / communication interface configuration parameters

[0069]

[0070] (c) Communication protocol configuration parameters. The communication function module polls the external bus data on the communication external bus and queries the remote control command message. Therefore, it is necessary to configure the parameters related to the communication protocol to correctly receive the bus message. For example, for the 1553B communication external bus, it is necessary to configure the sub-address for command reception, the sub-address for memory downlink telemetry transmission, other communication-related sub-addresses, and the sub-address corresponding to the data block address space allocation, etc., which are different for different product models. For the SpaceWire communication external bus, it is necessary to configure the channel number and the DPRAM address space used for receiving the command.

[0071] Table 3 1553B protocol configuration parameters / communication protocol configuration parameters

[0072]

[0073] (d) Configuration parameters related to command format and telemetry format. The remote control command processing module needs to verify the correctness of the received command and parse the command. Therefore, it is necessary to extract the command checksum, checksum location and length information into feature information for user configuration. The telemetry packaging module needs to package the state quantity on the satellite in the format required by the product model, so the telemetry related configuration parameters are designed. Software developers can configure the telemetry parameters as needed.

[0074] Table 4 Instruction parsing configuration parameters / instruction format configuration parameters

[0075]

[0076] Table 5 Telemetry format configuration parameters

[0077]

[0078] (e) Configuration parameters for interaction with system software: the application software initialization module needs to initialize the data segment of the software and load the interface function of the system software. Therefore, the data segment address of the application software in the boot area and the absolute address of the interface function provided by the system software in the boot area need to be set as configuration parameters for users to configure.

[0079] Table 6 System software interaction configuration parameters

[0080]

[0081] (3) Parameter loading process

[0082] The general boot area application software is compiled separately and filled to 19.5k, and the configuration parameters of 512 bytes are designed. After being compiled separately, a 0.5k executable file is generated. The two are compiled separately and spliced, such as Figure 2 The memory storage content of the PROM in is shown in Figure 1. The boot software runs, reads 0.5k parameters from the configured fixed address, and parses them.

[0083] Although the present invention has been disclosed as above in the form of a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art may make possible changes and modifications to the technical solution of the present invention by using the methods and technical contents disclosed above without departing from the spirit and scope of the present invention. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope of the technical solution of the present invention.

[0084] The contents not described in detail in the specification of the present invention belong to the well-known technologies of professionals in the field.

Claims

1. A boot area application software system based on parameter configuration, characterized in that: include: Application software initialization module, star time processing module, communication function module, memory operation module, remote control command processing module and telemetry packaging module; Satellite time processing module: maintains the satellite time count on the satellite and outputs the satellite time count to the telemetry packaging module; Application software initialization module: loads corresponding configuration parameters from the fixed address of the memory, and performs parameter configuration on the memory, communication function module, remote control instruction processing module and telemetry packaging module to complete the initialization processing; the configuration parameters are configured to the fixed address of the memory by the software developer according to the characteristics of different product models; Communication function module: receiving external bus data output by the external computer, polling the external bus data, and if a remote control command message is found, outputting the remote control command message to the remote control command processing module; If the telemetry message is found, the telemetry packaging module is called to package the software status telemetry and download it; Remote control command processing module: receives the remote control command message output by the communication function module, parses the remote control command message according to the configuration parameters, and judges the correctness of the parsed remote control command message; calls the memory operation module according to the parsed command type to complete the reading and modification of memory, memory download, memory data verification, memory comparison, memory copy and memory erasure, completes the command execution and feeds back the command execution result to the telemetry packaging module; Memory operation module: controlled by the instructions output by the remote control instruction processing module, completes the tasks of memory read modification, memory download, memory data verification, memory comparison, memory copy and memory erase, and feeds back the memory operation results to the telemetry packaging module; Telemetry packaging module: packages and transmits the software status telemetry; the application software status telemetry includes: the star time count output by the star time processing module, the command execution result output by the remote control command execution module, and the memory operation result fed back by the memory operation module.

2. A boot area application software system based on parameter configuration as claimed in claim 1, characterized in that: The memory includes: one or more of an SRAM memory, an EEPROM memory and a FLASH memory.

3. A boot area application software system based on parameter configuration as claimed in claim 2, characterized in that: The configuration parameters for the memory configuration performed by the application software initialization module are: memory configuration parameters; The memory configuration parameters are used to initialize the memory address space according to the preset memory address and length parameters; The configuration parameters for configuring the communication function module by the application software initialization module include: communication interface configuration parameters and communication protocol configuration parameters; The communication interface configuration parameters and the communication protocol configuration parameters are used to initialize the communication bus between the communication function module and the data management computer according to the preset communication bus parameters.

4. A boot area application software system based on parameter configuration as claimed in claim 3, characterized in that: The configuration parameters for the remote control command processing module to be configured by the application software initialization module are: command format configuration parameters; The instruction format configuration parameters include: key field parameters, offset parameters of boot area instruction type, offset parameters of boot area injection instruction code, and checksum calculation parameters; Key field parameters: used to verify the correctness of instructions by verifying fixed identifiers in the instructions; Offset parameter of boot area instruction type: used to distinguish several different types of instructions in the boot area; The offset parameter of the instruction code injected into the boot area is used to obtain the starting position of the valid instruction content; Checksum calculation parameters: used to verify the correctness of the instruction.

5. A boot area application software system based on parameter configuration as claimed in claim 3 or 4, characterized in that: The configuration parameters used by the application software initialization module to configure the telemetry packaging module are: telemetry format related configuration parameters; The telemetry format-related configuration parameters include: telemetry fixed header length, telemetry fixed header, telemetry verification mode, telemetry verification word width, telemetry verification word length and telemetry verification offset.

6. A boot area application software system based on parameter configuration as claimed in claim 5, characterized in that: The application software initialization module loads corresponding configuration parameters from the fixed address of the memory and also includes: system software interaction configuration parameters; The system software interaction class configuration parameters are used to define the system software interface function absolute address and system software interface variable absolute address corresponding to the system software interface function loaded by the application software initialization module.

7. A boot area application software system based on parameter configuration as claimed in claim 6, characterized in that: System software interaction configuration parameters include:

Citation Information

Patent Citations

  • Satellite software system and satellite software system configuration method

    CN109753305A

  • Satellite service software rapid guiding device and method

    CN113051007A

  • Network configuration

    US20080056150A1

  • System and method for updating initialization parameters for application software from within a software development environment

    US20090265687A1