CN110955411B - Software integration interaction design method - Google Patents
Software integration interaction design method Download PDFInfo
- Publication number
- CN110955411B CN110955411B CN201911016135.6A CN201911016135A CN110955411B CN 110955411 B CN110955411 B CN 110955411B CN 201911016135 A CN201911016135 A CN 201911016135A CN 110955411 B CN110955411 B CN 110955411B
- Authority
- CN
- China
- Prior art keywords
- software
- sub
- software module
- module
- data
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention belongs to the field of guidance computers, and relates to a software integrated interaction design method. The sub-software module is regarded as a weapon upper subsystem, input and output interface variables between the main dispatching software and the sub-software module are defined according to task demand classification, the input and output interface variables are set as global variables in the main dispatching software engineering, and data updating and information interaction are completed through periodic read-write operations of the main dispatching software and the sub-module software on the interface variables. After each sub software module is packaged, the sub software modules are added into a main dispatching software project in the form of a static link library file, and are subjected to centralized debugging and compiling to form a target file which is written into a guidance computer. The invention packages the sub-software modules with the respective core technologies into the static link library respectively and compiles the static link library into the total target file through the main scheduling software, thereby protecting the self-owned technology of each sub-software module, fully applying the functions of the sub-software modules and being beneficial to the collaborative development of the software.
Description
Technical Field
The invention belongs to the field of guidance computers, and relates to a software integrated interaction design method.
Background
The guidance computer software is loaded in the weapon flight control system, and the main tasks of the system are to complete the works of self-checking, firing logic control, alignment navigation, stability control, guidance blasting, time sequence control, ground comprehensive test and the like.
The guidance computer generally adopts an embedded system with a high-performance processor as a core, the software of the guidance computer needs to divide the software into modules for completing various tasks, and when the software is developed by cooperation of different units, the problems of relative independence, sealing and self-organization of each software module exist, so that difficulties are brought to the integrated design of the software system, and the stability and coordination of the system are affected.
Disclosure of Invention
The invention overcomes the defects of the prior art and provides a software integration interaction design method. The invention can furthest reuse the mature technology and special functions of the original software module, effectively realize the data intercommunication, time sequence control and data monitoring among the modules and ensure the stable and reliable operation of the system.
The sub-software module is regarded as a weapon upper subsystem, input and output interface variables between the main dispatching software and the sub-software module are defined according to task demand classification, the input and output interface variables are set as global variables in the main dispatching software engineering, and data updating and information interaction are completed through periodic read-write operations of the main dispatching software and the sub-module software on the interface variables. After each sub software module is packaged, the sub software modules are added into a main dispatching software project in the form of a static link library file, and are subjected to centralized debugging and compiling to form a target file which is written into a guidance computer.
Technical proposal
A software integration interaction design method comprises the following contents
The sub-software module is regarded as a weapon upper subsystem, input and output interface variables between the main dispatching software 1 and the sub-software module I2 and the sub-software module II 3 … … are defined according to task requirements, the variables are set as global variables 15 in software engineering, and data updating and information interaction are completed through periodic read-write operations of the interface variables between the main dispatching software 1 and the sub-software module I2 and between the sub-software module II 3 … …. After being packaged, each sub software module is added into the embedded software project 14 in the form of a static link library 16 file, and is subjected to centralized debugging and compiling to form a target file, and the target file is written into the guidance computer.
For the multiplexing function needed in the first sub-software module 2, the time sequence control variable and the execution result state variable in the first sub-software module 2 are globally defined as a first sub-software module mark variable 4, and the main scheduling software 1 can realize the time sequence control of the original function logic of the sub-module by reading and writing the first sub-software module mark variable 4 according to a certain time sequence, and the inside of the first sub-software module 2 controls the acquisition sensor 17 data in real time.
For the newly added function in the first sub-software module 2, redefining a global variable of the first instruction word 5 and the first status word 6 of the software module, and enabling the main dispatching software 1 to realize time sequence control of the logic of the newly added function of the sub-module according to a certain time sequence by writing the first instruction word 5 of the software module and reading the first status word 6 of the software module.
The measuring data of the sensor 17 are collected in real time in the first sub-software module 2, the measuring data, the resolving result, the testing and other functional data are updated to the first sub-software module functional data 7 in real time, meanwhile, the main dispatching software 1 updates the data such as alignment and overload instructions and the like needed in the first sub-software module 2 to the first sub-software module functional data 7 in real time, and the data are read and written according to the period, so that the main dispatching software 1 can acquire and use the data in time, and meanwhile, the normal execution of the functions of the sub-software module is ensured.
The data to be monitored in the first sub-software module 1 is globally defined as first sub-software module monitoring data 8, and the main dispatching software 1 sends the obtained monitoring data to the product telemetry system in real time for fault location and post analysis.
The same method is adopted for other sub-software modules such as the second sub-software module 3, and the purposes of data real-time interaction, time sequence control, subsystem monitoring and multiplexing of specific functions of each software sub-module of the main scheduling software 1 and each sub-software module can be achieved.
Technical effects
a) The invention realizes the information interaction, time sequence control and module functions between the sub-software module and the main dispatching software by reasonably designing global variables, reserves the functions of the sub-module software to the greatest extent, and has the advantages of simplicity, easy implementation and good technical inheritance;
b) According to the invention, the information classification definition of the interaction of the sub-software module and the main scheduling software is realized, and the functions of data period interaction, time sequence control and data monitoring among the modules are respectively realized, so that the data updating speed and the system operation stability are ensured;
c) The invention packages the sub-software modules with the respective core technologies into the static link library respectively and compiles the static link library into the total target file through the main scheduling software, thereby protecting the self-owned technology of each sub-software module, fully applying the functions of the sub-software modules and being beneficial to the collaborative development of the software.
Drawings
FIG. 1 is a schematic diagram of a software integrated interaction design method based on global variables
Wherein: 1. the method comprises the following steps of main scheduling software, 2, a first sub-software module, 3, a second sub-software module, 4, a flag variable of the sub-software module, 5, an instruction word of the sub-software module, 6, a status word of the sub-software module, 7, functional data of the sub-software module, 8, monitoring data of the sub-software module, 9, a flag variable of the sub-software module, 10, a second instruction word of the sub-software module, 11, a status word of the sub-software module, 12, functional data of the sub-software module, 13, monitoring data of the sub-software module, 14, embedded software engineering, 15, global variable, 16, a static link library, 17, a sensor and 18, an executing mechanism
Detailed Description
The sub-software module is regarded as a weapon upper subsystem, input and output interface variables between the main dispatching software and the sub-software module are defined according to task demand classification, the input and output interface variables are set as global variables in the main dispatching software engineering, and data updating and information interaction are completed through periodic read-write operations of the main dispatching software and the sub-module software on the interface variables. After each sub software module is packaged, the sub software modules are added into a main dispatching software project in the form of a static link library file, and are subjected to centralized debugging and compiling to form a target file which is written into a guidance computer.
A software integrated interaction design method takes a sub-software module as a weapon upper subsystem, defines input/output interface variables between main dispatching software 1 and sub-software module I2 and sub-software module II 3 … … according to task demands, sets the input/output interface variables as global variables 15 in software engineering, and completes data updating and information interaction through periodic read-write operation of interface variables between the main dispatching software 1 and the sub-software module I2 and between the sub-software module II 3 … …. After being packaged, each sub software module is added into the embedded software project 14 in the form of a static link library 16 file, and is subjected to centralized debugging and compiling to form a target file, and the target file is written into the guidance computer.
For the multiplexing function needed in the first sub-software module 2, the time sequence control variable and the execution result state variable in the first sub-software module 2 are globally defined as a first sub-software module mark variable 4, and the main scheduling software 1 can realize the time sequence control of the original function logic of the sub-module by reading and writing the first sub-software module mark variable 4 according to a certain time sequence, and the inside of the first sub-software module 2 controls the acquisition sensor 17 data in real time. For the newly added function in the first sub-software module 2, redefining a global variable of the first instruction word 5 and the first status word 6 of the software module, and enabling the main dispatching software 1 to realize time sequence control of the logic of the newly added function of the sub-module according to a certain time sequence by writing the first instruction word 5 of the software module and reading the first status word 6 of the software module. The measuring data of the sensor 17 are collected in real time in the first sub-software module 2, the measuring data, the resolving result, the testing and other functional data are updated to the first sub-software module functional data 7 in real time, meanwhile, the main dispatching software 1 updates the data such as alignment and overload instructions and the like needed in the first sub-software module 2 to the first sub-software module functional data 7 in real time, and the data are read and written according to the period, so that the main dispatching software 1 can acquire and use the data in time, and meanwhile, the normal execution of the functions of the sub-software module is ensured.
The data to be monitored in the first sub-software module 1 is globally defined as first sub-software module monitoring data 8, and the main dispatching software 1 sends the obtained monitoring data to the product telemetry system in real time for fault location and post analysis.
The same method is adopted for other sub-software modules such as the second sub-software module 3, and the purposes of data real-time interaction, time sequence control, subsystem monitoring and multiplexing of specific functions of each software sub-module of the main scheduling software 1 and each sub-software module can be achieved.
Claims (2)
1. A software integrated interaction design method is used in a guidance computer software loading weapon flight control system, and is characterized in that: the sub-software module is regarded as a weapon upper subsystem, input and output interface variables between the main dispatching software (1) and the sub-software module I (2) and between the sub-software module II (3) are defined according to task requirements in a classification mode, the input and output interface variables are set as global variables (15) in software engineering, and data updating and information interaction are completed through periodic read-write operations of the interface variables of the main dispatching software (1) and the sub-software module I (2) and the sub-software module II (3); each sub software module is packaged and then added into an embedded software project (14) in the form of a static link library (16) file, and is subjected to centralized debugging and compiling to form a target file which is written into a guidance computer;
for the multiplexing function needed in the first sub-software module (2), the time sequence control variable and the execution result state variable in the first sub-software module (2) are globally defined as a first sub-software module mark variable (4), and the main dispatching software (1) realizes the time sequence control of the original function logic of the sub-module by reading and writing the first sub-software module mark variable (4) according to a certain time sequence;
the method comprises the steps that measurement data of a sensor (17) are collected in real time in a first sub-software module (2), and the measurement data, a resolving result and the test data are updated to functional data (7) of the first sub-software module in real time;
meanwhile, the main dispatching software (1) updates the alignment and overload instructions needed in the first sub-software module (2) to the first functional data (7) of the first sub-software module in real time, and reads and writes the alignment and overload instructions according to the period so that the main dispatching software (1) can acquire and use the alignment and overload instructions in time, and meanwhile, the normal execution of the functions of the first sub-software module is ensured;
globally defining the data to be monitored in the first sub-software module (2) as first sub-software module monitoring data (8), and sending the acquired monitoring data to a product telemetry system by the main dispatching software (1) in real time so as to locate faults and analyze the faults afterwards;
the mature technology and special functions of the original software module are multiplexed to the maximum extent, and the data intercommunication, time sequence control and data monitoring among the modules can be effectively realized, so that the stable and reliable operation of the system is ensured.
2. The software integrated interactive design method according to claim 1, wherein: the same method is adopted for the second sub-software module (3), namely the purposes of realizing the real-time interaction of the data of the main scheduling software (1) and each sub-software module, the time sequence control, the subsystem monitoring and the multiplexing of the specific functions of each software sub-module are realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911016135.6A CN110955411B (en) | 2019-10-25 | 2019-10-25 | Software integration interaction design method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911016135.6A CN110955411B (en) | 2019-10-25 | 2019-10-25 | Software integration interaction design method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110955411A CN110955411A (en) | 2020-04-03 |
CN110955411B true CN110955411B (en) | 2023-07-14 |
Family
ID=69975776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911016135.6A Active CN110955411B (en) | 2019-10-25 | 2019-10-25 | Software integration interaction design method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110955411B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214204A (en) * | 2020-10-10 | 2021-01-12 | 江西洪都航空工业集团有限责任公司 | Integration method of missile-borne control and navigation software |
CN117648074B (en) * | 2024-01-29 | 2024-04-19 | 深圳市恒永达科技股份有限公司 | Program processing method, system and medium for C# software development |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106656218A (en) * | 2016-12-31 | 2017-05-10 | 广州海格通信集团股份有限公司 | Vehicle station system based on software radio and implementation method thereof |
CN109697058A (en) * | 2018-12-11 | 2019-04-30 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of network modeling method, device and storage medium suitable for embedded system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838689B (en) * | 2012-11-23 | 2016-11-23 | 普诚科技股份有限公司 | Interface transmission method and data transmission system |
CN105760335B (en) * | 2016-02-19 | 2018-08-31 | 北京空间飞行器总体设计部 | A kind of spacecraft general-purpose interface controller |
CN107678847B (en) * | 2017-10-16 | 2020-10-23 | 中国核动力研究设计院 | Data real-time processing system and real-time processing method thereof |
CN107992537B (en) * | 2017-11-24 | 2020-05-08 | 金蝶软件(中国)有限公司 | Service attribute transmission method, device, computer equipment and storage medium |
-
2019
- 2019-10-25 CN CN201911016135.6A patent/CN110955411B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106656218A (en) * | 2016-12-31 | 2017-05-10 | 广州海格通信集团股份有限公司 | Vehicle station system based on software radio and implementation method thereof |
CN109697058A (en) * | 2018-12-11 | 2019-04-30 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of network modeling method, device and storage medium suitable for embedded system |
Non-Patent Citations (2)
Title |
---|
"Design of a feature-based order acceptance and scheduling module in an ERP system";Jingxing Wei 等;《Computers in Industry》;第65卷(第1期);第64-78页 * |
"空空导弹飞行控制系统软件验证技术研究";张文山;《中国优秀硕士学位论文全文数据库信息科技辑》;第I140-90页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110955411A (en) | 2020-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Fritzson et al. | The OpenModelica integrated environment for modeling, simulation, and model-based development | |
Papadopoulos et al. | Model-based synthesis of fault trees from matlab-simulink models | |
CN102354298A (en) | Software testing automation framework (STAF)-based fault injection automation testing platform and method for high-end fault-tolerant computer | |
CN110955411B (en) | Software integration interaction design method | |
CN102541725B (en) | Simulation test method of numerical control system functional module | |
Groce et al. | From scripts to specifications: the evolution of a flight software testing effort | |
CN111581082A (en) | Vehicle-mounted controller test script generation device and method | |
CN106325860A (en) | Automatic maintenance method for aerospace embedded software interface data | |
CN102331961A (en) | Method, system and dispatcher for simulating multiple processors in parallel | |
Wang et al. | Cloud-based simulated automated testing platform for virtual coupling system | |
CN104699067A (en) | System fault comprehensive declare processing method | |
Sanvido | Hardware-in-the-loop Simulation Framework | |
CN105573914A (en) | Project hierarchical method for Android application | |
CN103577178A (en) | Method and system for flexibly modifying computation rule | |
CN112612704A (en) | Automatic testing method for interlocking software | |
Jamro | SysML modeling of functional and non-functional requirements for IEC 61131-3 control systems | |
Zhang et al. | Analysis of Airborne System Integration Test Engineering Technology Based on System Simulation | |
CN113705004B (en) | Real-time system behavior level software simulation method suitable for DSP | |
KR20140060075A (en) | Multi-function display operational flight device of mission computer using a java virtual machine and controlling method for the same | |
O'Neill | Integration engineering perspective | |
Lai et al. | Fast race detection and profiling framework for heterogeneous system | |
CN115981138A (en) | Redundancy flight control software time sequence design method for strong and weak real-time task cooperative work | |
Block et al. | Automated Generation of Test Artifacts and Traceability for a Safety-Critical, Distributed Avionics Platform | |
CN117420769A (en) | Space flight single-machine spaceborne computer digital model | |
Beebe | A Bibliography of Ada User and Ada User Journal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |