CN106484400A - A kind of embedded system structure collocation method - Google Patents

A kind of embedded system structure collocation method Download PDF

Info

Publication number
CN106484400A
CN106484400A CN201610840599.9A CN201610840599A CN106484400A CN 106484400 A CN106484400 A CN 106484400A CN 201610840599 A CN201610840599 A CN 201610840599A CN 106484400 A CN106484400 A CN 106484400A
Authority
CN
China
Prior art keywords
configuration
application
attribute
deployment
design
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
CN201610840599.9A
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.)
China Aeronautical Radio Electronics Research Institute
Original Assignee
China Aeronautical Radio Electronics Research Institute
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 China Aeronautical Radio Electronics Research Institute filed Critical China Aeronautical Radio Electronics Research Institute
Priority to CN201610840599.9A priority Critical patent/CN106484400A/en
Publication of CN106484400A publication Critical patent/CN106484400A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of embedded system structure collocation method, comprise the steps of:Step one, the attribute of the essential element being comprised for each system in projects are analyzed, and carry out abstract modeling from physical node, application and application deployment tripartite face, generate the configuration tool using for user configuring;Step 2, user carried out respectively by configuration tool physical node configuration, application configuration and application deployment configuration during, carry out configuration verification, according to check results change configuration;Step 3, generation configuration file.The present invention provides a kind of system architecture collocation method adapting to different bus, different platform for Embedded System Design, realize the design of the physical topology between the definition of system element and element, the design of logical links generates and verifies, the configuration of application and functional unit and deployment, the generation of the checking of overall system design and analysis, CONFIG.SYS and integration engineering framework.

Description

A kind of embedded system structure collocation method
Technical field
The present invention relates to embedded system structure domain arrangement technology, used in a kind of design of system architecture System architecture collocation method.
Background technology
In embedded system project development process, the related sub- technology of system configuration is related in increasing project, Enforcement, but never integrated system architecture collocation method and instrument.Using a whole set of system in system design process Design tools, either all quite benefit to the quality or system design process of system design.
System architecture collocation method is each link during Study system architecture design and Software Architecture Design, exploitation and Integration System Design instrument, the method for configuration tool, including the design of system architecture configuring technical, define between system element and element Physical topology, the design rule of Research logic link and generate, verification algorithm, research application and the configuration of functional unit and portion Administration's technology, performance verification parser of overall system design etc..
Content of the invention
The goal of the invention of the present invention is to provide a kind of embedded system structure collocation method, is that Embedded System Design carries For a kind of system architecture collocation method adapting to different bus, different platform, realize the thing between the definition of system element and element Reason topology design, the design of logical links generate and verify, the configuration of application and functional unit and deployment, overall system design Checking and the generation of analysis, CONFIG.SYS and integration engineering framework.
The goal of the invention of the present invention is achieved through the following technical solutions:
A kind of embedded system structure collocation method, comprises the steps of:
Step one, the attribute of the essential element being comprised for each system in projects are analyzed, from physical node, Application and application deployment tripartite face carry out abstract modeling, generate the configuration tool using for user configuring;
Step 2, user by configuration tool carry out respectively physical node configuration, application configuration and application deployment configuration During, carry out configuration verification, change configuration according to check results;
Step 3, generation configuration file.
Preferably, the attribute of physical node configuration comprises:Hardware node attribute and physical link.
Preferably, the attribute of application configuration is included as application attribute, partitioned resources and port attribute.
Preferably, the attribute of application deployment configuration comprises subregion deployment, subregion scheduling, logical links, redundancy fault-tolerant, synthesis Region, health monitoring, shared library, sharing data area, communication network, troubleshooting, system mode and image management.
Preferably, described configuration verification includes the conflict of logical links configuration and the analysis of discordance and assessment, link The harmonious assessment of load, resource utilization analysis and assessment, system call feasibility and the system configuration of overall system design Integrity analysis and assessment.
Preferably, described configuration file comprises application configuration file and the binary format of XML format and C file format And the bus configuration data of C file format.
The beneficial effects of the present invention is:Embedded system structure collocation method faces the future avionics software architecture, It is intended to adapt to different platform, different bus, provide identical configuration for system and operate, realize cross-platform application, Ke Yiji The big demand meeting application and development side, also maximizes the interests of Platform Designing side.
Unified, integrated system architecture configuration tool, solves repetitive operation in design process, has liberated design energy Power, directly enhances development efficiency;Possess and directly generate configuration file and partial code function, reduce the mistake of manual compiling Probability, shortens the development time, lifts development efficiency;Unify integrated instrument mode set simultaneously, solve and put down using different instruments Migration problem between platform is so that development process progressively standardization.
Brief description
Fig. 1 is a kind of schematic flow sheet of present invention embedded system structure collocation method;
Fig. 2 is to configure checking process schematic diagram in the present invention;
Fig. 3 is configuration tool interface schematic diagram in the present invention.
Specific embodiment
For a better understanding of the present invention, below by drawings and Examples, the present invention is described in further detail.
Each during the research embedded system structure design of embedded system structure collocation method and Software Architecture Design Required configuration tool during link and input and output specification, and then exploitation and Integration System Design.Major design, definition system Physical topology between element and element, the design rule of Research logic link and generation, verification algorithm, research application and function group The configuration of part and the performance verification parser of deployment techniques, overall system design, study each procedure file input and output and test Card technology etc., ultimately forms configuration file.
Embedded system structure collocation method mainly comprises herein below:
(1) attribute being directed to the essential element that each system is comprised in projects is analyzed, and from physical node, answers With carrying out abstract modeling with application deployment tripartite face, generate the configuration tool using for user configuring.
1) research of system element and definition
The essential element being comprised for each system in current projects, such as hardware node, communication link, operation system The attribute of system, application software etc. is analyzed, and it is carried out with abstract, modeling it is determined that the corresponding form of expression, completes and is Definition to essential element in system design.
It is analyzed by the essential element during whole system is designed, system design carries out abstract building from three broad aspect Mould:Physical node, application and application deployment.Physical node is defined as hardware node attribute and physical link, and application definition is should With attribute, partitioned resources and port attribute, apply deployment be defined as subregion deployment, subregion scheduling, logical links, redundancy fault-tolerant, General area, health monitoring, shared library, sharing data area, communication network, troubleshooting, system mode and image management etc..Respectively Between element, flow process relation is as shown in Figure 1.
By the definition to hardware node attribute, can be to the editor of the attributes such as the CPU frequency of ordinary node, RAM size. Each physical node has an only ID of the overall situation, and this ID initial value can carry out handss by configuration tool linear distribution, user Dynamic configuration.Each physical node has a reconstruct role attribute, identifies role (IA or RE) in the middle of reconstruct for this node, if Node is not involved in reconstructing, then the reconstruct role of node is "None".
Physical link mainly undertakes connection hardware node as system element, builds the function of physical topology.
Application attribute provides the user the function that application attribute is entered with edlin.In application view window, can be directed to System design provides newly-built application, deletes the element definition configuration feature such as application and editor's application attribute.
For each application, it would be preferable to support to being edited with properties of application:
A) apply required operation ram space size
B) apply required ROM memory space
C) logical partition applied.
Zone configuration provides the user the function that the attribute to subregion enters edlin, relates generally to new partition, deletes and divide The element definition configuration such as area and editor's zone attribute.User can enter edlin to attributes such as partition name, the total internal memories of subregion.
Port is configured to user and provides the configuration operation to subregion port, relates generally to the interpolation to port, deletion, editor With operations such as importings.Port configuration can provide the user to port title, port type, port direction, message queue length, The editor of the attributes such as message-length, meanwhile, also supports that user imports COM1 information from ICD file.
Application is deployed on each physical node application deployment configuration, to determine the application running on each physical node. In application Deployment view, should be able to support, by mouse drag, application to be dragged on physical node view, realization will be applied It is deployed on physical node.Meanwhile, the mode being manually entered should also be provided the user, the mapping relations to physical node and application Configured.
Subregion deployment provides the user the interpolation of partition list, deletion and the edit operation resident to each node, each Node has a resident partition table.
Subregion scheduling provides the user interpolation, deletion and the edit operation to the subregion scheduling on each node, each point Area has a subregion dispatch list, and each record in dispatch list corresponds to a dispatch id and a subregion Window Table, each Every record bag bag partition name, two attributes of zone time window size in partition table.
Logical links provides the user the configuration of the foundation to logical links, deletion and modification, and user can be by selecting Source partition, source port, purpose subregion and destination interface, opposite divided intervals communication port is configured.
Redundancy fault-tolerant provides the user the configuration to system redundancy fault-tolerant design, and user can be by setting up the hot standby of node Part, reconstruct and exchange link, configure to the redundancy fault-tolerant of system.Meanwhile, this function also should provide the chain to IA/RE node Connect configuration.
General area provides the user the function of setting up general area, including setting IA node, setting RE node complex zone IA/RE link during the division in domain can also be configured by redundancy fault-tolerant generates.
Health monitoring provides the configuration to system-level health monitoring table;Health monitoring configuration should be able to be provided to system health Monitoring table newly-built, delete, editting function.Each system health monitoring table has the table name of character string forms, and has The system mode of some character string forms.Meanwhile, under each system mode, some error ID-ranks are had, i.e. system health prison Control table and system mode are one-to-manies, and system mode and error ID-rank are also the relation of one-to-many.
Shared library and sharing data area provide the user interpolation to shared library and sharing data area, deletion and editor behaviour Make.The editting function of shared library should provide the internal memory that the title to shared library, shared library required memory size, shared library take The editor of the attributes such as BSS section, TEXT section, DATA section and RODATA section size.The editting function of sharing data area should be provided to altogether Enjoy the editor of the attributes such as title, the sharing data area size of data field.
Communication network configuration can configure to the communication link in network, and it is right in network topology view that user can pass through Establish the link relation between node, generate the virtual communication link between node.By to FC switch property and FC terminal Definition configuration, realizes the assembly of communication network.Operational parameter control, multicast message are included to the content of edit of FC switch property Route and monitoring configuration three parts;To FC terminal, after physical node configuration and network topology are configured, instrument will be given birth to automatically Become logical connection view, and automatically distribute logic port title and logic port ID, logic port title is defaulted as LP-1, LP- 2nd, simultaneously the rest may be inferred for LP-3, and logic port ID is 1,2,3 and so on.
Troubleshooting provides the user the configuration to fault mode and fault handling method.Troubleshooting configuration provides pair The establishment of fault entries, deletion and edit operation.User can pass through the attribute such as input fault pattern, troubleshooting state machine, Edlin is entered to fault entries attribute.Wherein, failure mode information includes failure code and fault explanation.Create fault mode Afterwards, user can add processing method sequence and intermediateness, shape in the middle of processing method sequence and fault to this fault mode State has collectively constituted troubleshooting state machine.
System mode/reconstruct prediction scheme is configured to user's offer and carries out system mode/reconstruct prediction scheme to a general area Configuration.In the configuration of each system schema, comprise under Current protocols, FC operating scheme, FC switch monitoring scheme and each The configuration of the subregion scheduling scheme of node.Reconstruct prediction scheme is configured to user and provides the configuration work(to association between each system schema Energy.User can be scheduled under certain system schema in reconstruct prediction scheme configuration middle finger, if certain nodes break down, system can reconstruct The goal systems scheme arriving.
Image management provides the user the configuration feature to image file attribute, and user can configure often in application view The image file title of individual application, image file numbering, image file type information;User can join in application Deployment view Put the information such as the resident image size of multiple image files of each node, file name, storage location.
2) configuration of system physical topology
Research and analyse the general characteristic of the physical topological structure of existing system.The physical topology of system is to realize system work( The basis of energy, project, using widely used FC bus in current model as network support, is concluded and is formed system physical link Design constraint, ultimately forms the configuration constraint of whole system physical topological structure, completes and realizes physical communication chain by instrument Road and the configuration feature of system topological.
Editor to physical link attribute, using the teaching of the invention it is possible to provide following functions:
A) editor of physical link terminal
B) editor of physical link theoretical bandwidth
C) editor of whether Redundancy Design
D) editor of the corresponding switch ports themselves of physical link
3) configuration of Study system application deployment
For the characteristic of platform application, have studied and application and application are deployed in eventually by system specific run by configuration tool Functional requirement on end.Application according to different platform and the characteristic of application deployment, devise the way of restraint, such as dissimilar behaviour Make to communicate interactive deployment way etc. between the configuration of system platform, each software unit of application software.
For VxWorks 653 operating system, system architecture configuration tool is studied and is devised the deployment of application software, tune The configuration of degree scheme and implementation, and devise as the configuration of system health management, shared library and sharing data area etc..
Application software is the superstructure realizing systemic-function, the feature of coupling system function, and project is studied first and built Stand associating between the logical links of application software and the physical link of system topological, and the redundancy in systemic-function has been held The general Core Features such as mistake, troubleshooting, system schema management, system image management are analyzed, dissect, needed for setting up The configuration data model of software and hardware, gets through the software arrangements in system and hardware configuration, so that system configuration is not merely disclosure satisfy that The configuration needs of static system attribute, disclosure satisfy that the configuration needs realizing the system dynamics attribute needed for systemic-function simultaneously.
As each node has a subregion deployment configuration parameter list, such as table 1:
Table 1
Each subregion has a subregion scheduling configuration parameter table, such as table 2:
Table 2
System schema configuration parameter table is as shown in table 3.
Table 3
The details parameter list of each system schema is as shown in table 4.
Table 4
For each system schema, its reconstruct prediction scheme configuration parameter table is as shown in table 5.
Table 5
(2) in user, the mistake of physical node configuration, application configuration and application deployment configuration is carried out respectively by configuration tool Cheng Zhong, carries out configuration verification, is configured according to check results iterative modifications.
Configuration verification includes the conflict of logical links configuration and the analysis of discordance and assessment, the harmony of link load Assessment, the resource utilization analysis of overall system design and assessment, system call feasibility and system configuration integrity analysis with Assessment.
A) analysis of logical links configuration and checking
Logical links is configured to user and provides the configuration of foundation, deletion and modification to logical links, and user can pass through Select source partition, source port, purpose subregion and destination interface, opposite divided intervals communication port is configured.
Table 6 inter-partition communication configuration parameter table
By constraint during design, and the analysis verification algorithm of research, system architecture configuration tentatively possesses and is directed to Configure the function that the logical links completing or generating is analyzed verifying:Conflict in analysis logical links configuration process And discordance.The conflict of configuration information and discordance, the codomain on the one hand coming from configuration element exceeds system restriction, another There is contradiction in the association that aspect comes between configured system element, in a first aspect, can by configuration is inputted into Row codomain inspection realize, for second aspect, by being modeled to the relation between system element, by different system element it Between associated section carry out unified constraint, thus avoid the occurrence of between configured system element exist conflict and inconsistent Situation.
B) checking of overall system design
The quality that the mass ratio designing checks out is more reliable safer.System architecture collocation method is existed by instrument During overall system design, every single stepping is all analyzed checking, the concordance of Control System Design and complete from source Whole property.As shown in Figure 2.
(3) system configuration data generates
System architecture configuration data generates and includes generating that system design is available, the available configuration file format of running software, As forms such as XML, C file, binary files;Configuration data can generate different pieces of information lattice according to the different demands of difference in functionality Formula, configuration file and system health monitoring, event log, reconstruct that configuration file as tabular in bus, software deployment use Configuration file Deng needs.For functions such as application deployment, scheduling scheme, communication link and health controls, can export Generate the application configuration data of XML format and C file format;For functions such as communication bus tables, generation two can be exported and enter The bus configuration data of form processed and C file format.
Terminal allocation list adopts H and C file format.H file content is as shown in table 12, the entitled fcCfgTbl.h of file.C literary composition The content of part is filled according to the form that H file specifies, the entitled fcCfgTbl.c of file, the entitled BLUE_PRINT of structure gBluePrint[].
Table 7 terminal allocation list
(4) system architecture figureization configuration
For the relation between the data attribute of system configuration, data, in conjunction with the feature of embedded system, analyze and investigate The configuration custom of one line designer, studies and defines and be configured to core, the figure as trunk for the system logic link with physical topology Shape system architecture collocation method, realizes the figure of system element attribute, physical topology, application deployment, system schema management etc. Change configuration, make whole system configuration flow clear and orderly.As shown in Figure 3.
It is understood that for those of ordinary skills, with technology according to the present invention scheme and its can send out Bright design in addition equivalent or change, and all these change or replace the guarantor that all should belong to appended claims of the invention Shield scope.

Claims (6)

1. a kind of embedded system structure collocation method, comprises the steps of:
Step one, the attribute of the essential element being comprised for each system in projects are analyzed, from physical node, application Carry out abstract modeling with application deployment tripartite face, generate the configuration tool using for user configuring;
Step 2, user by configuration tool carry out respectively physical node configuration, application configuration and application deployment configuration mistake Cheng Zhong, carries out configuration verification, changes configuration according to check results;
Step 3, generation configuration file.
2. a kind of embedded system structure collocation method according to claim 1 it is characterised in that physical node configuration Attribute comprises:Hardware node attribute and physical link.
3. a kind of embedded system structure collocation method according to claim 1 is it is characterised in that the attribute of application configuration It is included as application attribute, partitioned resources and port attribute.
4. a kind of embedded system structure collocation method according to claim 1 is it is characterised in that apply deployment configuration Attribute comprises subregion deployment, subregion scheduling, logical links, redundancy fault-tolerant, general area, health monitoring, shared library, shared data Area, communication network, troubleshooting, system mode and image management.
5. a kind of configuration tool for embedded system structure design according to claim 1 is it is characterised in that described Configuration verifies and includes the conflict of logical links configuration and the analysis of discordance and assessment, the harmonious assessment of link load, is Resource utilization analysis and assessment, system call feasibility and system configuration integrity analysis and the assessment of system global design.
6. a kind of configuration tool for embedded system structure design according to claim 1 is it is characterised in that described Configuration file comprises XML format and the application configuration file of C file format and the bus of binary format and C file format Configuration data.
CN201610840599.9A 2016-09-21 2016-09-21 A kind of embedded system structure collocation method Pending CN106484400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610840599.9A CN106484400A (en) 2016-09-21 2016-09-21 A kind of embedded system structure collocation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610840599.9A CN106484400A (en) 2016-09-21 2016-09-21 A kind of embedded system structure collocation method

Publications (1)

Publication Number Publication Date
CN106484400A true CN106484400A (en) 2017-03-08

Family

ID=58267856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610840599.9A Pending CN106484400A (en) 2016-09-21 2016-09-21 A kind of embedded system structure collocation method

Country Status (1)

Country Link
CN (1) CN106484400A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809684A (en) * 2017-05-05 2018-11-13 中国航空无线电电子研究所 A kind of optical fiber network system for avionics system
CN110045982A (en) * 2019-03-28 2019-07-23 宋子杰 A kind of embedded system configuration method based on source code polymerization
CN110865942A (en) * 2019-11-12 2020-03-06 中国航空无线电电子研究所 Model rule checking method of comprehensive modular avionics system
CN115857898A (en) * 2023-02-25 2023-03-28 武汉万云网络科技有限公司 Application system construction and operation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081545A (en) * 2011-01-07 2011-06-01 中国电子科技集团公司第十研究所 Method of realizing software communications architecture (SCA) on embedded platform
CN103608773A (en) * 2011-04-12 2014-02-26 威睿公司 Deployment system for multi-node applications
CN103813463A (en) * 2014-02-13 2014-05-21 中国航空无线电电子研究所 Resource distribution method in software communication architecture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081545A (en) * 2011-01-07 2011-06-01 中国电子科技集团公司第十研究所 Method of realizing software communications architecture (SCA) on embedded platform
CN103608773A (en) * 2011-04-12 2014-02-26 威睿公司 Deployment system for multi-node applications
CN103813463A (en) * 2014-02-13 2014-05-21 中国航空无线电电子研究所 Resource distribution method in software communication architecture

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
牛利军: "基于XML的嵌入式操作系统配置工具的设计与实现", 《中国优秀博硕士学位论文全文数据库 (硕士) 信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809684A (en) * 2017-05-05 2018-11-13 中国航空无线电电子研究所 A kind of optical fiber network system for avionics system
CN110045982A (en) * 2019-03-28 2019-07-23 宋子杰 A kind of embedded system configuration method based on source code polymerization
CN110865942A (en) * 2019-11-12 2020-03-06 中国航空无线电电子研究所 Model rule checking method of comprehensive modular avionics system
CN115857898A (en) * 2023-02-25 2023-03-28 武汉万云网络科技有限公司 Application system construction and operation method and device

Similar Documents

Publication Publication Date Title
Tang et al. Minimal cut set/sequence generation for dynamic fault trees
CN106484400A (en) A kind of embedded system structure collocation method
CN104298825B (en) A kind of fault tree Cooperative Analysis system based on rights management and model decomposition
CN104408222A (en) Reconfiguration method of real-time distributed simulation platform
CN101894192A (en) Simulation and demonstration system for design and validation of AFDX (Avionics Full Duplex Switched Ethernet) network and simulation and demonstration method thereof
CN111199102B (en) Method and device for defining mapping relation between product features and model
Batista et al. Capella based system engineering modelling and multi-objective optimization of avionics systems
CN105574219B (en) The method of non-standard cell library logic unit automatic placement and routing
US7376921B2 (en) Methods for tiling integrated circuit designs
CN106096159A (en) Distributed system behavior simulation under a kind of cloud platform analyzes the implementation method of system
CN110955412B (en) Service-oriented intelligent cabin system and design method and design system thereof
CN111131449B (en) Method for constructing service clustering framework of water resource management system
US7991603B2 (en) Method for simulating a complex system with expansion of instance vectors, corresponding computer program product and storage means
US7987083B2 (en) Method for simulating a complex system with construction of at least one model including at least one modelled router, corresponding computer software package and storage means
Streichert et al. Modeling and design of fault-tolerant and self-adaptive reconfigurable networked embedded systems
CN106202655A (en) A kind of analysis model creation method and system
CN110263371A (en) IMA dynamic restructuring process configuration path generating method based on AADL
CN113347029B (en) Torus network fault tolerance method based on topology reconstruction and path planning
CN107302447B (en) Multi-layer data analysis method based on complex system
CN107038086A (en) The hot standby control logic safety analytical method of safety computer platform
Hein et al. Performance and dependability evaluation of scalable massively parallel computer systems with conjoint simulation
CN111274750A (en) FPGA simulation verification system and method based on visual modeling
Shchurov et al. A formal approach to distributed system tests design
Lan et al. Application of ICD management software in aircraft design and test
Hariri et al. A hierarchical modeling of availability in distributed systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170308

RJ01 Rejection of invention patent application after publication