CN111208987A - TTP bus configuration dynamic loading method and loading device based on VxWorks system - Google Patents

TTP bus configuration dynamic loading method and loading device based on VxWorks system Download PDF

Info

Publication number
CN111208987A
CN111208987A CN201911113441.1A CN201911113441A CN111208987A CN 111208987 A CN111208987 A CN 111208987A CN 201911113441 A CN201911113441 A CN 201911113441A CN 111208987 A CN111208987 A CN 111208987A
Authority
CN
China
Prior art keywords
ttp
module
medl
ethernet
bus
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
CN201911113441.1A
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.)
Tianjin Aviation Mechanical and Electrical Co Ltd
Original Assignee
Tianjin Aviation Mechanical and Electrical Co 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 Tianjin Aviation Mechanical and Electrical Co Ltd filed Critical Tianjin Aviation Mechanical and Electrical Co Ltd
Priority to CN201911113441.1A priority Critical patent/CN111208987A/en
Publication of CN111208987A publication Critical patent/CN111208987A/en
Pending legal-status Critical Current

Links

Images

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
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Abstract

The invention researches a time planning configuration method of a TTP bus network in an aviation safety key communication system, designs a method capable of dynamically configuring the TTP bus communication network based on a VxWorks operating system, and can dynamically change the time network planning of the TTP bus through an Ethernet interface to realize the dynamic reconstruction of multiple nodes in the safety key communication system. The invention researches an embedded code generation technology based on a model, a communication schedule generation technology, a VxWorks system dynamic loading and TTP protocol data decoding technology, provides a series of TTP bus network planning, model simulation, code generation and code dynamic loading methods, and successfully applies the TTP bus to an airplane power distribution system, thereby greatly improving the safety and reliability of products.

Description

TTP bus configuration dynamic loading method and loading device based on VxWorks system
Technical Field
The invention relates to a dynamic loading control of time division multiple access network configuration, belonging to the field of embedded computer control.
Background
The method for realizing the dynamic loading of the TTP bus configuration comprises the steps of planning a TTP bus time network through a TTP-Plan development tool and a TTP-Build development tool, generating a corresponding MEDL table, integrating the MEDL table and product software, and downloading a software image file to a PowerPC controller through an Ethernet interface to operate. The conventional TTP bus time network planning method uses configuration interfaces of TTP-Plan and TTP-Build development tools to complete configuration through complex and tedious operations, the configuration process is long in time consumption and easy to make mistakes, and the generated MEDL table is in a non-software-loadable binary format, so that the software integration difficulty is high and the risk is high.
Disclosure of Invention
The invention aims to realize one-click generation of a loadable TTP bus network MEDL table, improve the efficiency and reliability of TTP bus configuration and improve the efficiency and reliability of integration of the MEDL table and product software; .
The technical scheme of the invention provides a TTP bus configuration dynamic loading method based on a VxWorks system, which comprises the following steps,
planning a TTP bus time network through a TTP-Plan development tool and a TTP-Build development tool, generating a corresponding MEDL table, integrating the MEDL table with product software, generating a first mirror image file of the software, and loading the first mirror image file to a PowerPC controller through an Ethernet interface for operation;
the product software is developed based on C language, and the product software calls the MEDL table and converts the MEDL table into TTP module codes which can be executed by the PowerPC controller.
Further, the method may further comprise,
designing a TTP bus time network by adopting the Python scripting language, and calling a TTP-Plan and a TTP-Build development tool to automatically generate an MEDL table through the Python scripting language; the Python scripting language is used for improving the generation efficiency of the MEDL table.
Further, the method further comprises the step that the software image file is an integration result of the MEDL table and the product software.
Further, the method also comprises the steps of changing the time network plan of the TTP bus in the MEDL table, integrating the modified MEDL table and product software to generate a second software image file, and realizing the dynamic reconstruction of multiple nodes in the communication system; and the second software image file is loaded to the PowerPC controller through the Ethernet interface to run.
Further, the method also comprises the steps of performing Boot setting by adopting C language based on a VxWorks system to design product software; the product software enables the transmission and reception of TTPs.
On the other hand, a TTP bus configuration dynamic loading device based on a VxWorks system is provided, the loading device comprises a TTP bus planning module, a TTP bus compiling module, an Ethernet communication module and a MEDL table conversion module,
the TTP bus planning module, the TTP bus compiling module and the MEDL table conversion module are sequentially in data connection, and the MEDL table conversion module is in data connection with the PowerPC controller through the Ethernet communication module;
the TTP bus planning module receives the TTP bus communication requirement, designs a TTP bus communication network according to the TTP bus communication requirement, and feeds back the TTP bus communication network to the TTP bus compiling module;
the TTP bus compiling module compiles the received TTP bus communication network into an MEDL table and feeds the MEDL table back to the MEDL table conversion module;
and the MEDL table conversion module converts the received MEDL table into TTP module codes which can be executed by the PowerPC controller, and the TTP module codes are sent to the PowerPC controller through the Ethernet communication module.
Further, the MEDL table conversion module is developed based on C language and is used for calling the MEDL table and converting the MEDL table into TTP module code which can be executed by the PowerPC controller.
Further, the PowerPC controller comprises an Ethernet receiving module, an Ethernet sending module, a data identification and processing module and a data storage module,
the Ethernet receiving module, the data identification and processing module, the data storage module and the Ethernet sending module are sequentially in data connection; the Ethernet receiving module and the Ethernet sending module are respectively in data connection with the Ethernet communication module of the loading device;
the Ethernet receiving module receives the TTP module code and feeds back the TTP module code to the data identification and processing module; the data identification and processing module is used for identifying the integrity of the TTP module code and verifying the correctness of the TTP module code, and feeding back the data identification and processing result of the TTP module code to the data storage module; the data storage module is used for storing the received data identification and processing result of the TTP module code and feeding back the data identification and processing result to the Ethernet sending module; the Ethernet sending module is used for feeding back the loading result of the TTP module code to the Ethernet communication module of the loading device.
The invention has the technical effects that:
the time network planning of the TTP bus can be dynamically changed through the Ethernet interface, the dynamic reconstruction of multiple nodes in a safety key communication system is realized, the methods of network planning, model simulation, code generation and code dynamic loading of the TTP bus are realized by using an embedded code generation technology based on a model, a communication schedule generation technology, VxWorks system dynamic loading and TTP protocol data decoding technology, the TTP bus is successfully applied to an airplane power distribution system, and the safety and reliability of products are greatly improved.
A TTP bus time network is planned through TTP-Plan and TTP-Build development tools, a C language source program file corresponding to an MEDL table is generated, the MEDL table and product software are integrated, a first software mirror image is generated, the first software mirror image is loaded to a PowerPC controller through an Ethernet interface to run, the workload of software integration is reduced, and meanwhile, the Ethernet interface is used for achieving online updating of the software mirror image.
A TTP bus time network is designed by adopting a Python script language, a TTP-Plan and a TTP-Build development tool are called by the Python script language to automatically generate the MEDL table, and the generation efficiency of the MEDL table is improved.
The software mirror image file is an integration result of the MEDL table and the product software, so that the software integration level is improved, and the system maintenance difficulty and cost are reduced.
The time network planning of a TTP bus in the MEDL table is changed, the modified MEDL table and product software are integrated to generate a second software image file, dynamic reconstruction of multiple nodes in a communication system is achieved, the second software image file is loaded to a PowerPC controller through an Ethernet interface to operate, software modification workload and time overhead brought by adding nodes in the TTP network are reduced, and meanwhile online updating of software images is achieved through the Ethernet.
Based on the VxWorks system, the C language is adopted to perform Boot setting so as to design product software, reduce the programming difficulty of TTP communication software, improve the product development efficiency and shorten the product development period.
Drawings
FIG. 1 is a TTP bus dynamic configuration method based on a VxWorks system.
Detailed Description
Example 1
The TTP bus configuration dynamic loading device based on the VxWorks system provided by this embodiment includes a TTP bus planning module, a TTP bus compiling module, an ethernet communication module, and an MEDL table conversion module; the TTP bus planning module, the TTP bus compiling module and the MEDL table conversion module are sequentially in data connection, and the MEDL table conversion module is in data connection with the PowerPC controller through the Ethernet communication module; the TTP bus planning module receives the TTP bus communication requirement, designs a TTP bus communication network according to the TTP bus communication requirement, and feeds back the TTP bus communication network to the TTP bus compiling module; the TTP bus compiling module compiles the received TTP bus communication network into an MEDL table and feeds the MEDL table back to the MEDL table conversion module; and the MEDL table conversion module converts the received MEDL table into TTP module codes which can be executed by the PowerPC controller, and the TTP module codes are sent to the PowerPC controller through the Ethernet communication module.
And the MEDL table conversion module is developed based on the C language and is used for calling the MEDL table and converting the MEDL table into TTP module codes which can be executed by the PowerPC controller.
The PowerPC controller comprises an Ethernet receiving module, an Ethernet sending module, a data identification and processing module and a data storage module; the Ethernet receiving module, the data identification and processing module, the data storage module and the Ethernet sending module are in data connection in sequence; the Ethernet receiving module and the Ethernet sending module are respectively in data connection with the Ethernet communication module of the loading device; the Ethernet receiving module receives the TTP module code and feeds back the TTP module code to the data identification and processing module; the data identification and processing module is used for identifying the integrity of the TTP module code and verifying the correctness of the TTP module code, and feeding back the data identification and processing result of the TTP module code to the data storage module; the data storage module is used for storing the data identification and processing result of the received TTP module code and feeding back the data identification and processing result to the Ethernet sending module; the Ethernet sending module is used for feeding back the loading result of the TTP module code to the Ethernet communication module of the loading device.
The product software and the MEDL table for planning TTP bus network time are both realized by using C language, Boot setting is carried out based on a VxWorks operating system, the sending and receiving of TTP can be realized, a SecureCRT software tool can be used for carrying out software debugging and verifying TTP communication.
Example 2
The TTP bus dynamic configuration method is shown in FIG. 1, and FIG. 1 is a TTP bus dynamic configuration method based on a VxWorks system. The following describes the embodiment in detail with reference to fig. 1.
Step 1, according to system requirements and the number of TTP communication nodes, a Python language integrated development debugging tool is used for compiling a configuration script of a communication system time scheduling table MEDL and debugging the configuration script to pass, so that communication network planning is realized.
Step 2, using the TTP-Plan tool to load and execute Python script, generating a TTP component database, and orienting a TTP node communication network through the TTP-Plan tool.
Step 3, according to the characteristics of the TTP component database and the HW-COM node of the TTP network, a Python language integrated development debugging tool is used for writing a Python configuration script of the TTP component database and debugging the Python configuration script to pass.
Step 4, using a TTP-Build development tool, loading and executing a Python script, compiling a TTP component database, and generating a MEDL table in a C language source program file form which can be loaded by software after debugging.
Step 5, integrating the generated MEDL table with BPCU/SPDU/P100-ELCU/P300-ELCU product software by using a VxWorks system integration development tool WindRiver WorkBench, and compiling to pass to generate a corresponding software image file.
Step 6, downloading the software image file to the PowerPC controller to run by using an FTP software loading tool based on a network.
Step 7, using a SecureCRT software tool to debug the software and verify TTP communication.
And if the network time plan of the TTP bus needs to be changed, executing the steps according to the changed system requirements and the number of the TTP communication nodes, generating a second software image file, and loading the second software image file to the PowerPC controller through the Ethernet interface for operation.
Compared with the traditional method, the method designed by the invention has the advantages of simple operation, cost saving and high reliability, can dynamically change the time network planning of the TTP bus through the Ethernet interface, realizes the dynamic reconfiguration of multiple nodes in a safety key communication system, and can effectively improve the flexibility and maintainability of TTP bus network configuration.
The present invention is not limited to the above embodiments, and other methods applied to the dynamic loading method of the TTP configuration, which are obtained by adopting the same or similar scheme as the above embodiments of the present invention, are within the scope of the present invention.

Claims (8)

1. A TTP bus configuration dynamic loading method based on VxWorks system is characterized in that the method comprises the following steps,
planning a TTP bus time network through a TTP-Plan development tool and a TTP-Build development tool, generating a corresponding MEDL table, integrating the MEDL table with product software, generating a first mirror image file of the software, and loading the first mirror image file to a PowerPC controller through an Ethernet interface for operation;
the product software is developed based on C language, and the product software calls the MEDL table and converts the MEDL table into TTP module codes which can be executed by the PowerPC controller.
2. The VxWorks system-based TTP bus configuration dynamic loading method of claim 1, further comprising,
a TTP bus time network is designed by adopting a Python script language, and a TTP-Plan and TTP-Build development tool is called by the Python script language to automatically generate an MEDL table; the Python scripting language is used for improving the generation efficiency of the MEDL table.
3. The VxWorks system-based TTP bus configuration dynamic loading method according to claim 2, wherein the software image file is an integration result of a MEDL table and the product software.
4. The TTP bus configuration dynamic loading method based on the VxWorks system according to claim 3, further comprising changing a time network plan of the TTP bus in the MEDL table, integrating the modified MEDL table with product software to generate a second software image file, and realizing dynamic reconfiguration of multiple nodes in a communication system; and the second software image file is loaded to the PowerPC controller through the Ethernet interface to run.
5. The TTP bus configuration dynamic loading method based on the VxWorks system according to claim 1, further comprising performing Boot setting by adopting C language based on the VxWorks system to design product software; the product software enables the transmission and reception of TTPs.
6. A TTP bus configuration dynamic loading device based on VxWorks system is characterized in that the loading device comprises a TTP bus planning module, a TTP bus compiling module, an Ethernet communication module and an MEDL table conversion module,
the TTP bus planning module, the TTP bus compiling module and the MEDL table conversion module are sequentially in data connection, and the MEDL table conversion module is in data connection with the PowerPC controller through the Ethernet communication module;
the TTP bus planning module receives the TTP bus communication requirement, designs a TTP bus communication network according to the TTP bus communication requirement, and feeds back the TTP bus communication network to the TTP bus compiling module;
the TTP bus compiling module compiles the received TTP bus communication network into an MEDL table and feeds the MEDL table back to the MEDL table conversion module;
and the MEDL table conversion module converts the received MEDL table into TTP module codes which can be executed by the PowerPC controller, and the TTP module codes are sent to the PowerPC controller through the Ethernet communication module.
7. The VxWorks system-based TTP bus configuration dynamic loading device according to claim 6, wherein the MEDL table conversion module is developed based on C language and is used for calling MEDL table and converting the MEDL table into TTP module code executable by a PowerPC controller.
8. The VxWorks system-based TTP bus configuration dynamic loading device according to claim 6, wherein the PowerPC controller comprises an Ethernet receiving module, an Ethernet sending module, a data recognizing and processing module and a data storing module,
the Ethernet receiving module, the data identification and processing module, the data storage module and the Ethernet sending module are sequentially in data connection; the Ethernet receiving module and the Ethernet sending module are respectively in data connection with the Ethernet communication module of the loading device;
the Ethernet receiving module receives the TTP module code and feeds back the TTP module code to the data identification and processing module; the data identification and processing module is used for identifying the integrity of the TTP module code and verifying the correctness of the TTP module code, and feeding back the data identification and processing result of the TTP module code to the data storage module; the data storage module is used for storing the received data identification and processing result of the TTP module code and feeding back the data identification and processing result to the Ethernet sending module; the Ethernet sending module is used for feeding back the loading result of the TTP module code to the Ethernet communication module of the loading device.
CN201911113441.1A 2019-11-14 2019-11-14 TTP bus configuration dynamic loading method and loading device based on VxWorks system Pending CN111208987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911113441.1A CN111208987A (en) 2019-11-14 2019-11-14 TTP bus configuration dynamic loading method and loading device based on VxWorks system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911113441.1A CN111208987A (en) 2019-11-14 2019-11-14 TTP bus configuration dynamic loading method and loading device based on VxWorks system

Publications (1)

Publication Number Publication Date
CN111208987A true CN111208987A (en) 2020-05-29

Family

ID=70785499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911113441.1A Pending CN111208987A (en) 2019-11-14 2019-11-14 TTP bus configuration dynamic loading method and loading device based on VxWorks system

Country Status (1)

Country Link
CN (1) CN111208987A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448844A (en) * 2020-11-03 2021-03-05 中国航空工业集团公司西安航空计算技术研究所 Time-triggered network reconstruction method based on pre-configuration

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660477A (en) * 2015-03-02 2015-05-27 中国航空无线电电子研究所 Star topology network constructing method based on time triggered bus
CN106549842A (en) * 2015-09-16 2017-03-29 中国航空工业第六八研究所 A kind of time triggered protocol bus network on-line loaded configuration and monitoring method
WO2018106992A1 (en) * 2016-12-08 2018-06-14 University Of Cincinnati Multifunctional rna nanoparticles and methods for treating cancer and therapeutic resistant cancer
CN108183836A (en) * 2017-12-15 2018-06-19 中国航空工业集团公司西安飞行自动控制研究所 A kind of distributed synchronization bus network test system and its test method
CN109634584A (en) * 2018-11-22 2019-04-16 南京航空航天大学 A kind of driving encapsulation and communication mechanism based on code building

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660477A (en) * 2015-03-02 2015-05-27 中国航空无线电电子研究所 Star topology network constructing method based on time triggered bus
CN106549842A (en) * 2015-09-16 2017-03-29 中国航空工业第六八研究所 A kind of time triggered protocol bus network on-line loaded configuration and monitoring method
WO2018106992A1 (en) * 2016-12-08 2018-06-14 University Of Cincinnati Multifunctional rna nanoparticles and methods for treating cancer and therapeutic resistant cancer
CN108183836A (en) * 2017-12-15 2018-06-19 中国航空工业集团公司西安飞行自动控制研究所 A kind of distributed synchronization bus network test system and its test method
CN109634584A (en) * 2018-11-22 2019-04-16 南京航空航天大学 A kind of driving encapsulation and communication mechanism based on code building

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐媛媛: ""飞机航空电子系统总线技术与调度策略研究"", 《中国优秀博硕士学位论文全文数据库 信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448844A (en) * 2020-11-03 2021-03-05 中国航空工业集团公司西安航空计算技术研究所 Time-triggered network reconstruction method based on pre-configuration

Similar Documents

Publication Publication Date Title
CN106777101B (en) Data processing engine
CN101986278B (en) Automatic testing method and system for electronic equipment
CN106874189B (en) Method for realizing automatic test system of power grid real-time database system
CN103634161B (en) Train communication protocol consistency detection device and train communication protocol consistency detection method
CN102193812A (en) Code compiling method, host computer and system
CN113032963A (en) Simulink model simulation acceleration method and device
CN102608517A (en) Method for rapidly creating integrated circuit test program package
CN113051040A (en) Remote distributed joint simulation method in different places
CN114238077A (en) Automatic test task arranging system and method
CN111208987A (en) TTP bus configuration dynamic loading method and loading device based on VxWorks system
CN102437869B (en) Power Line Carrier Communication Module concurrent software upgrade method
CN110764466B (en) Modular control method and device for batch equipment
CN113704095A (en) Automatic generation method and device for automatic interface test case
CN112633850A (en) Method for realizing service flow automation by managing, calling and monitoring RPA robot
CN108829440B (en) Method and system for converting logic configuration array into logic execution command
CN108491197B (en) Spacecraft on-orbit maintenance injection code generation method based on same-platform combined compilation
KR20210039714A (en) Method and apparatus for constructing test environment
CN112579470B (en) Compiling and linking method and system for debugging dynamic software library
CN116366121A (en) Satellite remote control instruction code generation method and device
CN113867714A (en) Automatic code generation method adaptive to multiple languages
CN110377332B (en) Online reloading method for safe computer platform software program
CN107273164A (en) A kind of method for realizing Auto-matching scene optimization strategy when linux system performance optimizes
CN109635480B (en) Control logic verification and debugging method based on drawing software
CN111597022A (en) Fusion system and fusion method for automatically fusing multi-professional service functions
CN109960268A (en) Heterogeneous device resource dynamic dispatching method and system towards remote sensing satellite receiving station

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