CN116737115A - Automatic generation and binding method for control parameters of satellite-borne software - Google Patents

Automatic generation and binding method for control parameters of satellite-borne software Download PDF

Info

Publication number
CN116737115A
CN116737115A CN202310531788.8A CN202310531788A CN116737115A CN 116737115 A CN116737115 A CN 116737115A CN 202310531788 A CN202310531788 A CN 202310531788A CN 116737115 A CN116737115 A CN 116737115A
Authority
CN
China
Prior art keywords
control parameter
document
control
binary file
parameter
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
Application number
CN202310531788.8A
Other languages
Chinese (zh)
Inventor
王同磊
董晓刚
李晓锋
傅秀涛
马志达
王建花
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sunwise Information Technology Ltd
Original Assignee
Beijing Sunwise Information Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sunwise Information Technology Ltd filed Critical Beijing Sunwise Information Technology Ltd
Priority to CN202310531788.8A priority Critical patent/CN116737115A/en
Publication of CN116737115A publication Critical patent/CN116737115A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses an automatic generation and binding method of satellite-borne software control parameters, which comprises the following steps: step one, parameter separation design; step two, document analysis and control parameter extraction; step three, generating a control parameter binary file; step four, controlling parameter binding; in the second step, the document analysis and the control parameter extraction are specifically as follows: inputting the control parameter document into a document analyzer, analyzing the document by the document analyzer, automatically acquiring the control parameter, and outputting the control parameter according to a pre-configured format as a data source for standby; the invention extracts the control parameters in the user document based on the parameter separation design, automatically generates the control parameter binary file and binds, can greatly relieve the manpower in the process of giving the initial value to the control parameters when the satellite-borne software is developed, improves the development efficiency, reduces errors in the parameter transmission process, and provides a guarantee for the accuracy of the software system in the whole development process.

Description

Automatic generation and binding method for control parameters of satellite-borne software
Technical Field
The invention relates to the technical field of satellite-borne software, in particular to an automatic generation and binding method for satellite-borne software control parameters.
Background
On-board software control schemes often involve a number of parameters in the design, such as: a certain component installation matrix, a field out-of-tolerance threshold value, a balance equation out-of-tolerance threshold value, whether to select, whether to allow fault diagnosis and other marks; PID control parameters; mode related control parameters, etc. The parameters involved in the on-board software control scheme are usually very large, and the on-board software control scheme with complex functions can control parameters even up to thousands.
For the realization of control parameter initialization values in the development process of satellite-borne control software, the existing realization mode is specifically as follows: and the developer inputs initial values for corresponding parameter variables in the codes one by one according to the control parameter document provided by the user. This process is extremely labor and time intensive and typically requires one entry and multiple rechecks to ensure the correctness of the software. The implementation mode has high dependence on developers, when the quantity of control parameters is large, the corresponding code quantity becomes large, and the developers can easily generate errors during recording and checking, so that hidden danger can generate software defects.
Disclosure of Invention
The invention aims to provide an automatic generation and binding method for control parameters of satellite-borne software, so as to solve the problems in the background technology.
In order to achieve the above purpose, the present invention provides the following technical solutions: a satellite-borne software control parameter automatic generation and binding method comprises the following steps: step one, parameter separation design; step two, document analysis and control parameter extraction; step three, generating a control parameter binary file; step four, controlling parameter binding;
in the first step, the control scheme data structure is carded, and the control parameters and the data variables in the calculation process are respectively placed in different data structures;
in the second step, document analysis and control parameter extraction are carried out on a control parameter document provided by a user;
in the third step, the control parameter data extracted in the second step is used as a source to generate a control parameter binary file;
and in the fourth step, binding the control parameter binary file obtained in the third step to obtain a complete satellite-borne software binary file.
Preferably, in the first step, the data structure includes an array, a stack, a queue, a linked list, a tree, a graph, a heap, and a hash table.
Preferably, in the first step, the process of carding the control scheme data structure is automatically implemented by a carding software tool.
Preferably, in the second step, the document parsing and the control parameter extracting specifically include: the control parameter document is input into a document analyzer, the document analyzer analyzes the document, automatically acquires the control parameter, and outputs the control parameter according to a pre-configured format as a data source for standby.
Preferably, in the third step, the control parameter binary file is generated according to a data storage mode of the spaceborne computer and a data alignment rule of the compiler.
Preferably, in the fourth step, the binding control parameter binary file specifically includes: and (3) splicing the binary file of the control parameter obtained in the step (III) after the binary file of the satellite-borne software function is realized, so that a complete satellite-borne software binary file is generated.
Compared with the prior art, the invention has the beneficial effects that: the invention extracts the control parameters in the user document based on the parameter separation design, automatically generates the control parameter binary file and binds, can greatly relieve the manpower in the process of giving the initial value to the control parameters when the satellite-borne software is developed, improves the development efficiency, reduces errors in the parameter transmission process, and provides a guarantee for the accuracy of the software system in the whole development process.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, an embodiment of the present invention is provided: a satellite-borne software control parameter automatic generation and binding method comprises the following steps: step one, parameter separation design; step two, document analysis and control parameter extraction; step three, generating a control parameter binary file; step four, controlling parameter binding;
in the first step, the control scheme data structure is automatically combed by a combing software tool, and the control parameters and the data variables in the calculation process are respectively placed in different data structures; the data structure comprises an array, a stack, a queue, a linked list, a tree, a graph, a heap and a hash table;
in the second step, document analysis and control parameter extraction are performed on a control parameter document provided by a user, specifically: inputting the control parameter document into a document analyzer, analyzing the document by the document analyzer, automatically acquiring the control parameter, and outputting the control parameter according to a pre-configured format as a data source for standby;
in the third step, according to the data storage mode of the spaceborne computer and the data alignment rule of the compiler, the control parameter data extracted in the second step is taken as a source to generate a control parameter binary file;
in the fourth step, the binary file of the control parameter obtained in the third step is spliced after the binary file for realizing the function of the satellite-borne software, and a complete satellite-borne software binary file is generated.
Based on the above, the invention has the advantages that the invention is based on the parameter separation design, firstly analyzes the document to extract the control parameters in the user document, then automatically generates the control parameter binary file and binds to generate the complete satellite-borne software binary file, and can greatly liberate the manpower in the process of giving the initial value to the control parameters when the satellite-borne software is developed, improve the development efficiency, reduce errors in the parameter transmission process and provide guarantee for the accuracy of the software system in the whole development process.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (6)

1. A satellite-borne software control parameter automatic generation and binding method comprises the following steps: step one, parameter separation design; step two, document analysis and control parameter extraction; step three, generating a control parameter binary file; step four, controlling parameter binding; the method is characterized in that:
in the first step, the control scheme data structure is carded, and the control parameters and the data variables in the calculation process are respectively placed in different data structures;
in the second step, document analysis and control parameter extraction are carried out on a control parameter document provided by a user;
in the third step, the control parameter data extracted in the second step is used as a source to generate a control parameter binary file;
and in the fourth step, binding the control parameter binary file obtained in the third step to obtain a complete satellite-borne software binary file.
2. The method for automatically generating and binding control parameters of on-board software according to claim 1, wherein the method comprises the following steps: in the first step, the data structure includes an array, a stack, a queue, a linked list, a tree, a graph, a heap, and a hash table.
3. The method for automatically generating and binding control parameters of on-board software according to claim 1, wherein the method comprises the following steps: in the first step, the process of carding the control scheme data structure is automatically realized through a carding software tool.
4. The method for automatically generating and binding control parameters of on-board software according to claim 1, wherein the method comprises the following steps: in the second step, the document analysis and the control parameter extraction are specifically as follows: the control parameter document is input into a document analyzer, the document analyzer analyzes the document, automatically acquires the control parameter, and outputs the control parameter according to a pre-configured format as a data source for standby.
5. The method for automatically generating and binding control parameters of on-board software according to claim 1, wherein the method comprises the following steps: in the third step, the control parameter binary file is generated according to a data storage mode of a satellite-borne computer and a compiler data alignment rule.
6. The method for automatically generating and binding control parameters of on-board software according to claim 1, wherein the method comprises the following steps: in the fourth step, the binding control parameter binary file specifically includes: and (3) splicing the binary file of the control parameter obtained in the step (III) after the binary file of the satellite-borne software function is realized, so that a complete satellite-borne software binary file is generated.
CN202310531788.8A 2023-05-12 2023-05-12 Automatic generation and binding method for control parameters of satellite-borne software Pending CN116737115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310531788.8A CN116737115A (en) 2023-05-12 2023-05-12 Automatic generation and binding method for control parameters of satellite-borne software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310531788.8A CN116737115A (en) 2023-05-12 2023-05-12 Automatic generation and binding method for control parameters of satellite-borne software

Publications (1)

Publication Number Publication Date
CN116737115A true CN116737115A (en) 2023-09-12

Family

ID=87900178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310531788.8A Pending CN116737115A (en) 2023-05-12 2023-05-12 Automatic generation and binding method for control parameters of satellite-borne software

Country Status (1)

Country Link
CN (1) CN116737115A (en)

Similar Documents

Publication Publication Date Title
CN109271326B (en) Cloud database testing method and device, equipment and storage medium thereof
US20190108001A1 (en) Correction of code errors using machine learning
CN112104709B (en) Intelligent contract processing method, device, medium and electronic equipment
US8806452B2 (en) Transformation of computer programs and eliminating errors
US8849612B2 (en) System and method of substituting parameter sets in self-contained mini-applications
CN112394942B (en) Distributed software development compiling method and software development platform based on cloud computing
CN101866315B (en) Test method and system of software development tool
CN111382070B (en) Compatibility testing method and device, storage medium and computer equipment
CN109086215B (en) Embedded software unit test case generation method and system
CN111158741B (en) Method and device for monitoring dependency relationship change of service module on third party class library
CN108469955B (en) Annotation-based Android injection framework implementation method
US10248409B1 (en) Limiting the effects of source code patches on corresponding native-code patches
CN110543427B (en) Test case storage method and device, electronic equipment and storage medium
CN109857641A (en) The method and device of defects detection is carried out to program source file
US10866803B2 (en) Generating interaction libraries
CN113366453A (en) Generating test models from behavior driven development scenarios based on behavior driven development step definitions and similarity analysis using neuro-language programming and machine learning mechanisms
EP3428828A1 (en) System and method for locating and correcting vulnerabilites in a target computer system
CN117009231B (en) Automatic generation method and device for high-reliability unit test based on conversational large language model
CN116737115A (en) Automatic generation and binding method for control parameters of satellite-borne software
CN113590179B (en) Plug-in detection method and device, electronic equipment and storage medium
EP2535813B1 (en) Method and device for generating an alert during an analysis of performance of a computer application
Mokhov Introducing MARF: a modular audio recognition framework and its applications for scientific and software engineering research
CN115408289A (en) SCADE model-oriented test case automatic generation method
CN115344268A (en) Multi-platform embedded development environment compiling method and device
CN114138633A (en) Method, device and equipment for testing software based on data driving and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication