CN106528445A - Flight control computer partition variable self-adaption monitoring and exciting method - Google Patents

Flight control computer partition variable self-adaption monitoring and exciting method Download PDF

Info

Publication number
CN106528445A
CN106528445A CN201610680699.XA CN201610680699A CN106528445A CN 106528445 A CN106528445 A CN 106528445A CN 201610680699 A CN201610680699 A CN 201610680699A CN 106528445 A CN106528445 A CN 106528445A
Authority
CN
China
Prior art keywords
monitoring
variable
symbol
data
bag
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.)
Granted
Application number
CN201610680699.XA
Other languages
Chinese (zh)
Other versions
CN106528445B (en
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.)
Xian Flight Automatic Control Research Institute of AVIC
Original Assignee
Xian Flight Automatic Control Research Institute of AVIC
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 Xian Flight Automatic Control Research Institute of AVIC filed Critical Xian Flight Automatic Control Research Institute of AVIC
Priority to CN201610680699.XA priority Critical patent/CN106528445B/en
Publication of CN106528445A publication Critical patent/CN106528445A/en
Application granted granted Critical
Publication of CN106528445B publication Critical patent/CN106528445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/06Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
    • G06F12/0646Configuration or reconfiguration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention belongs to the real-time computing technology, and relates to a flight control computer partition application variable monitoring and exciting method. The method has high self-adaptability, i.e., when a target computer loads different partition applications or a certain partition application is updated, variable monitoring of an updated program can be performed only by reconstructing an upper computer symbol mapping table without updating an upper computer program; and the upper computer symbol mapping table is extracted from a target program without artificial operation, and a fixed variable address of a target computer partition application not required. The objective of the invention is to provide a flight control computer partition application variable monitoring and exciting method which is high in adaptability and is excellent in expansibility.

Description

A kind of flight control computer subregion variable adaptive monitoring and motivational techniques
Technical field
The invention belongs to real-time computing technique, is related to a kind of monitoring of flight control computer subregion application variables and excitation side Method.
Background technology
In the calculating platform of electric fly-by, in computer, run some subregion applications, the variable of subregion application need in real time, Dynamically check.Conventional method is by computer-internal variable is sent according to certain agreement, in monitoring side, according to the association View by data receiver and is monitored, and the method problems faced is, after application program changes, or to be to increase an application Program sectioning, needs the attended operation of a large amount of agreements, and the present invention proposes a kind of method, from the object code symbol table of application program Built-in variable address is extracted, address mapping table is formed, the monitoring and incentive programme for then transferring to host computer is parsed, so as to reach meter The adaptive monitoring of calculation machine built-in variable and excitation.
The content of the invention
The purpose of the present invention is:A kind of real-time monitoring and motivational techniques are provided for the winged control application based on subregion.
The technical scheme is that:
1. a kind of monitoring of flight control computer subregion application variables and motivational techniques, comprise the steps of:
Step one:The symbolic address allocation table in subregion application is extracted, it is elf lattice in subregion application that its detailed operation is On the basis of formula, global variable symbol name and symbol ground in elf files are extracted by the method for traveling through data segment in elf files Location, then by symbolic name inquiry system data dictionary, symbol mapped file is formed, it is as follows comprising several in symbol mapped file Seven tuples:<Zone name, symbolic address, symbolic name, symbol lengths, monitoring cycle, read-write type, sign pattern>;
Step 2:The real-time monitoring program of host computer reads symbol mapped file, according to the information in symbol mapped file Monitoring object request is sent to the TSR in target machine;
Step 3:After TSR in target machine receives monitoring object request, according to the zone name in seven tuples and symbol Number address generates the physical address of monitored variable, reads variable further according to the symbol lengths in seven tuples from physical address Value, forms the variable monitoring bag of each subregion;
Step 4:Variable monitoring bag is transmitted by target machine TSR according to the monitoring cycle in seven tuples, upper Real-time monitoring program in machine receives variable monitoring bag according to monitoring cycle, after receiving monitoring bag, according to the symbol class in seven tuples The data for being labeled as " reading " in packet are carried out parsing and are shown by type, realize the real-time monitoring of target machine partition data.
Step 5:After real-time monitoring program receives data stimuli request, according to the zone name in seven tuples and symbolic name Read-write type is found, confirms that read-write type is that " writing " organizes a variable excitation bag, the inside to contain zone name, symbol ground afterwards Location, symbol lengths, data to be written, are sent to target generator terminal;
Step 6:After the TSR of target generator terminal receives variable excitation bag, generated according to zone name and logical address The physical address of excitation variable, then the data write physical address being written into, complete the real-time excitation of target machine partition data.
The method of the present invention has the advantages that, controls subregion application for winged, can generate each according to different subregions The symbol mapped file of subregion, then target machine and host computer according to this symbol mapped file carry out communication reach variable monitoring and Excitation, and without writing special target machine program and host computer procedure for subregion.
Description of the drawings
Fig. 1 is the schematic diagram of the method for the invention, wherein, runs multiple subregion applications, also run on flight control computer There is TSR.Subregion application is generated by elf forms partition programs, partition programs and system of the variable mappings table by elf forms Data dictionary is generated jointly.
Specific embodiment
Below by taking two subregion applications as an example, the present invention is elaborated with reference to Figure of description.
1) target machine machine code is extracted from the partition programs 1 and partition programs 2 of elf forms, be loaded into flight control computer In, form subregion application 1 and subregion application 2;Following information is extracted from the partition programs 1 of elf forms:
Partition1,0x10000, symbol1
Partition1,0x10004, symbol2
Partition1,0x10008, symbol3
Following information is extracted from the partition programs 2 of elf forms:
Partition2,0x10000, symbol1
Partition2,0x10004, symbol2
Partition2,0x10008, symbol3
According to zone name and symbolic name, inquiry system data dictionary, following symbol mapped file is generated:
Partition1,0x10000, symbol1,4,10ms, read, unsigned int
Partition1,0x10004, symbol2,2,10ms, read, unsigned char
Partition1,0x10008, symbol3,4, N/A, write, unsigned int
Partition2,0x10000, symbol1,4,20ms, read, unsigned int
Partition2,0x10004, symbol2,2,20ms, read, unsigned char
Partition2,0x10008, symbol3,4, N/A, write, unsigned int
2) the real-time monitoring program parsing symbol mapped file of host computer, sends patrolling for partition1 to flight control computer Collect read requests (length is respectively 4 bytes and 2 bytes) and the logical address of partition1 of address 0x10000,0x10004 0x10000,0x10004 read requests (length is respectively 4 bytes and 2 bytes).
3), after the TSR in flight control computer receives read requests, the logical address in read requests is converted to Physical address, then respectively according to length being read from some byte datas of physical address reading, form variable monitoring bag, it is as follows:
Partition1, symbol1,0x5555AAAA
Partition1, symbol2,0x55AA
This bag was sent with the 10ms cycles
Partition2, symbol1,0xAAAA5555
Partition2, symbol2,0xAA55
This bag is with 20ms data is activations
After real-time monitoring program in host computer receives variable monitoring bag, according to the sign pattern in seven tuples by packet In be labeled as the data of " reading " and carry out parsing and show.
4) symbol3 that real-time monitoring program is received in the symbol3 or partition2 in partition1 writes and asks After asking, write request is converted into into variable excitation bag, it is as follows:
Partition1,0x10008,4,0x5555AAAA
Partition2,0x10008,2,0x55AA
It is then sent to flight control computer end.
5), after the TSR of flight control computer generator terminal receives variable excitation bag, generated by zone name and logical address Then data in write request are written in physical address according to the length write, are finished by physical address.

Claims (1)

1. a kind of monitoring of flight control computer subregion application variables and motivational techniques, comprise the steps of:
Step one:The symbolic address allocation table in subregion application is extracted, it is elf forms in subregion application that its detailed operation is On the basis of, global variable symbol name and symbolic address in elf files is extracted by the method for traveling through data segment in elf files, then By symbolic name inquiry system data dictionary, symbol mapped file is formed, in symbol mapped file, include several following seven yuan Group:<Zone name, symbolic address, symbolic name, symbol lengths, monitoring cycle, read-write type, sign pattern>;
Step 2:The real-time monitoring program of host computer reads symbol mapped file, according to the information in symbol mapped file to mesh TSR in mark machine sends monitoring object request;
Step 3:After TSR in target machine receives monitoring object request, according to the zone name in seven tuples and symbol ground Location generates the physical address of monitored variable, reads variate-value, shape further according to the symbol lengths in seven tuples from physical address Into the variable monitoring bag of each subregion;
Step 4:Variable monitoring bag is transmitted by target machine TSR according to the monitoring cycle in seven tuples, in host computer Real-time monitoring program according to monitoring cycle receive variable monitoring bag, receive monitoring bag after, according in seven tuples sign pattern will The data for being labeled as " reading " in packet carry out parsing and show, realize the real-time monitoring of target machine partition data;
Step 5:After real-time monitoring program receives data stimuli request, searched according to the zone name in seven tuples and symbolic name To read-write type, confirm that read-write type is that " writing " organizes a variable excitation bag afterwards, zone name, symbolic address, symbol are contained in the inside Number length, data to be written, are sent to target generator terminal;
Step 6:After the TSR of target generator terminal receives variable excitation bag, excitation is generated according to zone name and logical address The physical address of variable, then the data write physical address being written into, complete the real-time excitation of target machine partition data.
CN201610680699.XA 2016-08-17 2016-08-17 A kind of flight control computer subregion variable adaptive monitoring and motivational techniques Active CN106528445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610680699.XA CN106528445B (en) 2016-08-17 2016-08-17 A kind of flight control computer subregion variable adaptive monitoring and motivational techniques

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610680699.XA CN106528445B (en) 2016-08-17 2016-08-17 A kind of flight control computer subregion variable adaptive monitoring and motivational techniques

Publications (2)

Publication Number Publication Date
CN106528445A true CN106528445A (en) 2017-03-22
CN106528445B CN106528445B (en) 2019-10-18

Family

ID=58344837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610680699.XA Active CN106528445B (en) 2016-08-17 2016-08-17 A kind of flight control computer subregion variable adaptive monitoring and motivational techniques

Country Status (1)

Country Link
CN (1) CN106528445B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2077475A2 (en) * 2008-01-03 2009-07-08 The Boeing Company Control system actuation fault monitoring
CN102768531A (en) * 2012-06-11 2012-11-07 中国航空工业集团公司第六三一研究所 Method for improving safety of automatic pilot system (APS) with uniprocessor structure
CN102819232A (en) * 2012-07-12 2012-12-12 中国人民解放军空军第一航空学院 Portable monitoring and debugging system of flight control computer
CN103543652A (en) * 2013-10-29 2014-01-29 北京航天易联科技发展有限公司 Monitoring and controlling unit of engine of unmanned aerial vehicle
US20140257683A1 (en) * 2013-03-11 2014-09-11 INHA Industry Partnerships Institute Method and apparatus for testing states in flight plan state management system
CN105278344A (en) * 2014-07-08 2016-01-27 哈尔滨飞机工业集团有限责任公司 Flight control system onboard energization equipment
CN105468661A (en) * 2014-12-31 2016-04-06 武汉安天信息技术有限责任公司 Method and system for searching symbol information in ELF file
CN105677413A (en) * 2016-01-06 2016-06-15 中国航空无线电电子研究所 Multi-partition application post-loading method for comprehensive modularized avionics system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2077475A2 (en) * 2008-01-03 2009-07-08 The Boeing Company Control system actuation fault monitoring
CN102768531A (en) * 2012-06-11 2012-11-07 中国航空工业集团公司第六三一研究所 Method for improving safety of automatic pilot system (APS) with uniprocessor structure
CN102819232A (en) * 2012-07-12 2012-12-12 中国人民解放军空军第一航空学院 Portable monitoring and debugging system of flight control computer
US20140257683A1 (en) * 2013-03-11 2014-09-11 INHA Industry Partnerships Institute Method and apparatus for testing states in flight plan state management system
CN103543652A (en) * 2013-10-29 2014-01-29 北京航天易联科技发展有限公司 Monitoring and controlling unit of engine of unmanned aerial vehicle
CN105278344A (en) * 2014-07-08 2016-01-27 哈尔滨飞机工业集团有限责任公司 Flight control system onboard energization equipment
CN105468661A (en) * 2014-12-31 2016-04-06 武汉安天信息技术有限责任公司 Method and system for searching symbol information in ELF file
CN105677413A (en) * 2016-01-06 2016-06-15 中国航空无线电电子研究所 Multi-partition application post-loading method for comprehensive modularized avionics system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁野等: "基于内存管理的模式化软件关键行为跟踪技术", 《计算机工程与设计》 *

Also Published As

Publication number Publication date
CN106528445B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN106021445B (en) It is a kind of to load data cached method and device
CN104486461B (en) Domain name classification method and device, domain name recognition methods and system
CN112800095B (en) Data processing method, device, equipment and storage medium
CN108369591B (en) System and method for caching and parameterizing IR
CN106843842B (en) Method and device for updating application program configuration file
DE112012003714T5 (en) Compiling code for an extended application binary interface (ABI) with decryption time instruction optimization
CN103136107A (en) Variable debugging method of embedded program dynamic storage allocation
CN105677904B (en) Small documents storage method and device based on distributed file system
CN107885539A (en) A kind of middleware management method and server
CN109634644A (en) Method and device for upgrading firmware of sensor through wireless communication
CN108536745A (en) Tables of data extracting method, terminal, equipment and storage medium based on Shell
CN110209585A (en) A kind of software test case intelligent training method, terminal and storage medium
CN108153716A (en) Sheet disposal method, apparatus, storage medium and electronic equipment
CN106484770B (en) A kind of processing method of DNS incremental area data file
CN108089821A (en) A kind of method of micro controller data storage management
CN110972096A (en) Internet of things data acquisition software with configurable communication protocol and design method
CN108205593A (en) A kind of method and device of inquiry
CN103942311B (en) Multiplexing method of monitoring system variables
CN103778067A (en) Object processing method and device of Java card and Java card
KR102055613B1 (en) Device and method for smart device and sensor node integrated application update
US11150993B2 (en) Method, apparatus and computer program product for improving inline pattern detection
CN106528445A (en) Flight control computer partition variable self-adaption monitoring and exciting method
CN106897434A (en) A kind of data lead-in method, apparatus and system
CN107153561A (en) The method of firmware, apparatus and system in a kind of renewal expansion card
CN107346255A (en) A kind of electric energy meter system upgrade method and electric energy meter system

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
GR01 Patent grant
GR01 Patent grant