CN105045635B - Configure the generation method of list file - Google Patents

Configure the generation method of list file Download PDF

Info

Publication number
CN105045635B
CN105045635B CN201510490410.3A CN201510490410A CN105045635B CN 105045635 B CN105045635 B CN 105045635B CN 201510490410 A CN201510490410 A CN 201510490410A CN 105045635 B CN105045635 B CN 105045635B
Authority
CN
China
Prior art keywords
signal
describing
equipment
function
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.)
Active
Application number
CN201510490410.3A
Other languages
Chinese (zh)
Other versions
CN105045635A (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 Aircraft Design and Research Institute of AVIC
Original Assignee
Xian Aircraft Design and 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 Aircraft Design and Research Institute of AVIC filed Critical Xian Aircraft Design and Research Institute of AVIC
Priority to CN201510490410.3A priority Critical patent/CN105045635B/en
Publication of CN105045635A publication Critical patent/CN105045635A/en
Application granted granted Critical
Publication of CN105045635B publication Critical patent/CN105045635B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The present invention provides a kind of generation method of configuration list file, this method includes:The Table Header information of above-mentioned configuration list file is set, wherein above-mentioned Table Header information includes at least one of:The ID of equipment corresponding with above-mentioned configuration list file, buffer information, sublist read information, wherein above-mentioned sublist reads information and is stored at least one of above-mentioned configuration list file sublist for describing how to read;Above-mentioned at least one sublist in above-mentioned configuration list file is set, wherein above-mentioned at least one sublist is used to describe the relevant information of the interface and function of above equipment.Through the invention, it solves the problems, such as that cost is higher in the related technology, and then has achieved the effect that reduce cost.

Description

Configure the generation method of list file
Technical field
The present invention relates to Aviation ElctroMechanical fields, in particular to a kind of generation method of configuration list file.
Background technology
With the fast development of comprehensively modularized airborne electronic equipment system, the development of computer bus technology high-speed, Electromechanical Management System is gradually towards distributed data acquisition, concentration resolve, the system configuration of distributed AC servo system develops.The core solution of system in future Calculating computer capacity will be more powerful, will be responsible for most acquisition output, system logic, health control, remaining decision etc. Core processing function.At the same time, remote data acquisition unit (RDC), long-range power distribution equipment (RPDU) will be to the professions of function Change, minimize, generalization development, how reducing dependence of the Interface design to system requirements of RDC, RPDU, will be raising system Safety, the key for reducing pilot production cost.For the RDC or RPDU in a model, the equipment of finished product factory, driving will Completely the same, driving will eliminate the reliance on system requirements, but system requirements carry out different configurations according to the ability of equipment, with reality Existing different acquisition function, control function.Existing driven table method only applies the bus or hardwire interface data in software In transmitting-receiving, the utilization of the logical process such as the remaining, stabilization, conversion of signal and power function is then not directed to.
Collocation type Software for Design be in order to solve the above problem and propose a kind of Airborne Software design method, as its core There is presently no the design schemes of complete set for the configuration rule of content.
Invention content
The present invention provides a kind of generation methods of configuration list file, and at least to solve, prior art cost is higher to ask Topic.
According to an aspect of the invention, there is provided a kind of generation method of configuration list file, including:The configuration is set The Table Header information of list file, wherein the Table Header information includes at least one of:Equipment corresponding with the configuration list file ID, buffer information, sublist reads information, wherein the sublist read information for describe how to read be stored in it is described Configure at least one of list file sublist;At least one sublist in the configuration list file is set, wherein it is described extremely A few sublist is used to describe the relevant information of the interface and function of the equipment.
Preferably, the buffer information includes equipment state number, signal number and the context buffering of the equipment Area's size, wherein the equipment state number is used to describe the number of the state of the equipment, and the signal number is for describing The input signal of the equipment, the number of output signal and M signal, the context buffer size is for description and letter The size of the memory space of the relevant global variable of number, wherein the function is the logical function for realizing the functions of the equipments.
Preferably, the sublist includes at least one of:Rigid line routing table, for describing the equipment acquisition or output Various types hard signal location information;Bus routing table, the various types for receiving or sending for describing the equipment The location information of bus signals;Input signal table, the association attributes for describing all input signals of the equipment;Signal processing Periodic table, for describing the input signal, the output signal, the cyclic attributes of the M signal;Signal processing table is used In the description input signal, the output signal, the logical process process of the M signal;Output signal table, for retouching State the association attributes of the output signal of the equipment.
Preferably, the rigid line routing table includes at least one of:Channel type, for describe with the equipment and with The type in the rigid line channel between its connected other equipment, wherein the channel type includes at least one of:28V/ is opened Digital channel ,/to open digital channel, power output digital channel, 4~20mA current analogs channel, 0~10V voltage analogs logical Road, PT1000 analog channels;Board number, the ID of the corresponding board of signal for describing with being transmitted on the rigid line channel, institute Board is stated to be located in the equipment;Location number, the channel number for describing the rigid line channel, ranging from the 0 of the channel number ~255.
Preferably, the bus routing table includes at least one of:Bus run type, for describing and the equipment The type of bus run between coupled other equipment, wherein the bus run type include it is following at least it One:The channels multiplex bus communication interface MBI, the channels control area net(CAN) CAN, avionic full-duplex communication Ethernet AFDX The types such as channel, the channels ARINC429, the channels TTP, the channels optical fiber FC, the channels IEEE1394;Bus board card number, for describe with The ID of the corresponding board of signal transmitted on the bus run, the board are located in the equipment;Packet numbers, for retouching State the ID of the data packet where the signal transmitted on the bus run;Initial position is uploaded for describing the bus run Banner word section number of the defeated signal in the data packet;Length, the signal for describing to transmit on the bus run is in institute State byte digit occupied in data packet;Mask is a string of binary codes, for passing through bit arithmetic or logical operation by institute The signal transmitted on bus run is stated to read out from the data packet.
Preferably, the input signal table includes at least one of:Input signal indexes, for describing the equipment Index value of the input letter in the input signal table;Path offset amount, for describing the input signal in the hard wire Path offset amount in diameter table or the bus routing table.
Preferably, the signal processing periodic table includes at least one of:Period, for describe the input signal, The process cycle of the output signal and the M signal;Signal processing table offset, for describing the signal processing table In function corresponding with the period initial position offset;Signal processing entry number, for describing the signal processing The number of function corresponding with the period in table;Signal export table offset, for describe in the signal output table with institute State the offset of the initial position of period corresponding output signal;Signal exports entry number, for describing the signal output table In the output signal corresponding with the period number.
Preferably, the signal processing table includes at least one of:Period treatment function ID, for describing the signal Handle the ID of the function in table;Handling result signal indexes, for describing the handling result of the function in memory space Position;Additional parameter mark, is used to indicate whether the function needs additional parameter;Current function context buffer size, Size for the memory space for describing to need to open up for current function;Context buffer offset, for describing described work as Initial position of the preceding function context buffer size in the context buffering area;Additional parameter, for described additional In the case that parameter flag instruction needs additional parameter, additional parameter is defined;At least one parameter reference, it is described for describing The index of the value of parameter in function.
Preferably, the output signal table includes at least one of:Output signal indexes, for describing the equipment Index value of the output signal in the output signal table;Path offset amount, for describing the output signal in the rigid line Path offset amount in routing table or the bus routing table.
Preferably, the Table Header information further includes at least one of:Table numbering is configured, for describing the allocation list text The ID of part;Allocation list length, for describing the occupied storage byte number of configuration list file;Verification and, for verifying State whether configuration list file complete and correct information.
Through the invention, using the Table Header information that the configuration list file is arranged, wherein the Table Header information includes following At least one:The ID of equipment corresponding with the configuration list file, buffer information, sublist read information, wherein the sublist It reads information and is stored at least one of configuration list file sublist for describing how to read;The allocation list text is set At least one sublist in part, wherein the interface that at least one sublist is used to describe the equipment is related to function Information solves the problems, such as that cost is higher in the related technology, and then has achieved the effect that reduce cost.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the generation method of configuration list file according to the ... of the embodiment of the present invention;
Fig. 2 is the structural representation for the configuration list file that the generation method of configuration file according to the ... of the embodiment of the present invention generates Figure;
Fig. 3 is the structural schematic diagram of Table Header information according to the ... of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of rigid line routing table according to the ... of the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of bus routing table according to the ... of the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of input signal table according to the ... of the embodiment of the present invention;
Fig. 7 is the structural schematic diagram of signal processing periodic table according to the ... of the embodiment of the present invention;
Fig. 8 is the structural schematic diagram of signal processing table according to the ... of the embodiment of the present invention;
Fig. 9 is the structural schematic diagram of output signal table according to the ... of the embodiment of the present invention;And
Figure 10 be equipment according to the ... of the embodiment of the present invention signal between logical relation.
Specific implementation mode
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
A kind of generation method of configuration list file is provided in the present embodiment, and Fig. 1 is according to the ... of the embodiment of the present invention matches The flow chart of the generation method of list file is set, as shown in Figure 1, the flow includes the following steps:
Step S102, be arranged it is described configuration list file Table Header information, wherein the Table Header information include it is following at least it One:The ID of equipment corresponding with the configuration list file, buffer information, sublist read information, wherein the sublist reads letter Breath is stored at least one of configuration list file sublist for describing how to read;
In one embodiment, the buffer information include the equipment state number of the equipment, signal number and on Hereafter buffer size, wherein the equipment state number is used to describe the number of the state of the equipment, the signal number For describing the input signal of the equipment, the number of output signal and M signal, the context buffer size is used for The size of the memory space of the relevant global variable of and function is described, wherein the function is to realize patrolling for the functions of the equipments Collect function;
In another embodiment, the Table Header information further includes at least one of:Table numbering is configured, for describing State the ID of configuration list file;Allocation list length, for describing the occupied storage byte number of configuration list file;Verification and, For verifying, whether the configuration list file complete and correct information.
At least one sublist in the configuration list file is arranged, wherein at least one sublist in step S104 The relevant information of interface and function for describing the equipment.
In one embodiment, the sublist includes at least one of:Rigid line routing table is adopted for describing the equipment The location information of collection or the various types hard signal of output;Bus routing table is received or is sent for describing the equipment The location information of various types bus signals;Input signal table, the association attributes for describing all input signals of the equipment; Signal processing periodic table, for describing the input signal, the output signal, the cyclic attributes of the M signal;Signal Table is handled, for describing the input signal, the output signal, the logical process process of the M signal;Output signal Table, the association attributes of the output signal for describing the equipment.
In another embodiment, the rigid line routing table includes at least one of:Channel type, for description and institute State the type in the rigid line channel between equipment and coupled other equipment, wherein the channel type include it is following at least One of:28V/ open digital channel ,/open digital channel, power output digital channel, 4~20mA current analogs channel, 0~10V Voltage analog channel, PT1000 analog channels;Board number, the corresponding plate of signal for describing with being transmitted on the rigid line channel The ID of card, the board are located in the equipment;Location number, the channel number for describing the rigid line channel, the channel number Ranging from 0~255.
In yet another embodiment, the input signal table includes at least one of:Input signal indexes, for describing Index value of the input signal of the equipment in the input signal table;Path offset amount, for describing the input signal Path offset amount in the rigid line routing table or the bus routing table.
In yet another embodiment, the signal processing periodic table includes at least one of:It is period, described for describing The process cycle of input signal, the output signal and the M signal;Signal processing table offset, for describing the letter Number processing table in function corresponding with the period initial position shifting amount;Signal processing entry number, for describing the letter Number processing table in function corresponding with the period number;Signal exports table offset, for describing the signal output table In output signal corresponding with the period initial position offset;Signal exports entry number, for describing the signal Export the number of the output signal corresponding with the period in table.
In yet another embodiment, the signal processing table includes at least one of:Period treatment function ID, for retouching State the ID of the function in the signal processing table;Handling result signal indexes, and the handling result for describing the function is being deposited Store up the position in space;Additional parameter mark, is used to indicate whether the function needs additional parameter;Current function context is slow Area's size is rushed, the size of the memory space for describing to need to open up for current function;Context buffer offset, for retouching State initial position of the current function context buffer size in the context buffering area;Additional parameter is used for In the case that the additional parameter mark instruction needs additional parameter, additional parameter is defined;At least one parameter reference, is used for The index of the value of parameter in the function is described.
In there are one embodiment, the output signal table includes at least one of:Output signal indexes, for describing Index value of the output signal of the equipment in the output signal table;Path offset amount, for describing the output signal Path offset amount in the rigid line routing table or the bus routing table.
Through the above steps, a series of constraint rule is formulated, the input and output of equipment, redundancy management, signal are converted, The behaviors such as delay stabilization are described by the form of allocation list.Equipment manufacturer can write general driver according to the rule It explains allocation list content, and completes functions of the equipments.It only needs simply to carry out rational Design on Plane to allocation list, so that it may with convenient Complete a large amount of changes of follow-up system.
The embodiment of the present invention additionally provides a kind of configuration list file, and Fig. 2 is configuration file according to the ... of the embodiment of the present invention The structural schematic diagram for the configuration list file that generation method generates.
Configuration rule is the structural description to configuring content in collocation type Software for Design, is configuration file, configuration tool And the foundation that service-Engine follows.Configuration tool generates configuration file according to configuration rule, and service-Engine is according to configuration rule Configuration file is understood.
Basic data type, foundation processing function data library should be first defined before establishing allocation list.
The allocation list content defined according to this rule should include Table Header information, rigid line routing table, bus routing table, input letter Seven number table, signal processing periodic table, signal processing table, signal output table parts, structure are as shown in Figure 2.In figure in items Appearance is stored as unit of byte, every 4 byte-aligned in table.
A) Table Header information wraps as shown in figure 3, describe the information such as the structure of allocation list, scale, version, verification on the whole Containing the following contents:
1) table numbering is configured:Table numbering is the sequence number of table, is globally unique;When perhaps output format in allocation list When changing, table numbering also changes therewith.
2) allocation list length:Configure the occupied storage byte number of list file;
3) verification and:It tests to the integrality and correctness that configure list file, coordinates proof list with allocation list length Programming whether the period;
4) sub-version number:Part after the configuration rule version number decimal point that allocation list should meet;
5) major version number:Part before the configuration rule version number decimal point that allocation list should meet;
6) device id:Each equipment corresponds to one unique " device id ", user recording device ID in configuration tool, and The ID is carried in the configuration file of generation;Device engine need to detect the device id in the ID and configuration file of oneself whether one It causes;
7) allocation list forms the time:Every time when export allocation list, configuration tool automatically generates to form the time;
8) equipment status parameter number:The number for the equipment status parameter that equipment includes is for generating device status table The basic parameter of remaining processing;Engine provides the function interface int setDeviceState (int of read-write equipment state parameter StateIndex,int data);Allocation engine can call a void updateDeviceState (void) during poll Method updates these parameters, and this method provides by equipment manufacturer;Each single item is unsigned in equipment status parameter table Long types;
9) signal number:The sum of input signal, M signal, output signal in allocation list, allocation engine are joined according to this The sum of number and equipment status parameter number apply for the memory space of signal;
10) context buffer size:Size for storing the memory block that signal global state is opened up;
11) rigid line routing table offset:Offset of the rigid line routing table starting position relative to allocation list starting position;
12) rigid line path entry number:The item number of the rigid line routing table contained in allocation list;
13) bus routing table offset:Offset of the bus routing table starting position relative to allocation list starting position;
14) bus path entry number:The item number of the bus routing table contained in allocation list;
15) input signal table offset:Offset of the input signal table starting position relative to allocation list starting position;
16) input signal entry number:The item number of the input signal table contained in allocation list;
17) signal processing periodic table offset:Signal processing periodic table starting position is relative to allocation list starting position Offset;
18) signal processing period entry number:The item number of the signal processing periodic table contained in allocation list;
19) signal processing table offset:Offset of the signal processing table starting position relative to allocation list starting position;
20) signal processing entry number:The item number of the signal processing table contained in allocation list;
21) output signal table offset:Offset of the output signal table starting position relative to allocation list starting position;
22) output signal entry number:The item number of the output signal table contained in allocation list;
B) rigid line routing table as indicated at 4, is believed for describing the position of various types hard signal of equipment acquisition or output Breath, the typing in configuration tool, including the following contents:
1) channel type:Including 28V/ open digital channel ,/open digital channel, power output digital channel, 4~20mA The types such as current analog channel, 0~10V voltage analogs channel, PT1000 analog channels;
2) board number:The board ID number of equipment where current rigid line channel, range 0~15;
3) location number:The channel number in current rigid line channel, range 0~255.
C) bus routing table is as shown in figure 5, be used to describe the position for the various types bus signals that equipment is received or sent Information, the typing in configuration tool, including the following contents:
1) channel type:Including the channels MBI, the channels CAN, the channels AFDX, the channels ARINC429, the channels TTP, the channels FC, The types such as the channels IEEE1394;
2) board number:The board ID number of equipment where Current bus channel, range 0~15;
3) packet numbers:The ID number of data packet where Current bus signal is underlying device driving support and can be only The foundation of one identification data packet;Engine initial phase is that each data packet creates packet buffering area, and is provided for Labcard driver Get/set methods, for reading and being arranged packet buffer data;Data packet sends and receivees letter under equipment vendors' needs provide Number;
4) initial position:Banner word section number of the Current bus signal in affiliated data packet, the channels MBI originate size range The channel 0~31, CAN banner word section number range 0~7, the channels ARINC429 originate size range 0~31, and the channels AFDX, TTP are logical The types such as road, the channels FC, the channels IEEE1394 originate size range 0~255;
5) length:Digit occupied by Current bus signal;
6) mask:A string of the binary codes that can be taken out signal from data packet by bit arithmetic or logical operation; For the path of bus type, when length is equal to basic word length, by the mask number of winning the confidence;Length be more than basic word length when mask without Effect, by the byte number number of winning the confidence, length is necessary for even number at this time, and starting font size (byte number) is necessary for being aligned by length at this time; Length is no more than 4 (32);
D) input signal table is as shown in fig. 6, for describing the association attributes of all input signals of equipment, allocation engine according to Input signal table establishes input signal information operating table, is corresponded with input signal table, stores the value of input signal.Input letter Number table includes the following contents:
1) input signal indexes:Index value of the signal in input signal table;
2) path offset amount:Current demand signal corresponds to the path offset amount in rigid line routing table or bus routing table;
E) for signal processing periodic table as shown in fig. 7, describing the cyclic attributes of signal, signal has several process cycles then signal Process cycle table just has several, including the following contents:
1) period:The period of signal processing, unit ms;
2) signal processing table offset:Corresponding to the offset of the signal processing table function initial position of current period;
3) signal processing entry number:Corresponding to the item number of the signal processing table of current period;
4) signal exports table offset:Corresponding to the offset of initial signal in the signal output table of current period;
5) signal exports entry number:The item number of table is exported corresponding to the signal of current period;
F) signal processing table as shown in figure 8, description signal logical process process, including stabilization, redundancy, sequential processing, The processes such as logical transition;Allocation engine is polled processing, each week according to the different signal processing periods to signal processing table The signal processing table of phase uses hierarchical structure, input signal to use input of the table as the 1st grade of signal processing;At i-stage signal Output of the result of reason as i+1 grade signal processing;The input that the result of afterbody signal processing is exported as signal;Often One processing function can only there are one export result;Configuration tool according to processing item number application memory space, and to every level-one at The result (M signal and output signal) that reason generates is stored.Including the following contents:
1) period treatment function ID:ID number of the logical function in period treatment function library for signal processing, when being 0 Indicate indirect assignment;
2) handling result signal indexes:Position of the handling result in memory space;
3) additional parameter mark:Whether indicator function needs additional parameter, and 0 indicates no additional parameter;
4) context buffer size:When function need store before several cycle datas when, need to open up function it is associated on Hereafter buffering area, and using byte as the size of unit appointed buffer;
5) context buffer offset:Start bit of the corresponding context buffering area of current function in total buffer It sets;
6) additional parameter:Delay time or times of collection etc., concrete meaning are determined by processing function;
7) 1 signal of parameter indexes:Input signal, engine obtain the actual value of parameter 1 by the index, and -1 indicates the parameter In vain;
8) 2 signal of parameter indexes:Input signal, engine obtain the actual value of parameter 2 by the index, and -1 indicates the parameter In vain;
9) 3 signal of parameter indexes:Input signal, engine obtain the actual value of parameter 3 by the index, and -1 indicates the parameter In vain;
10) 4 signal of parameter indexes:Input signal, engine obtain the actual value of parameter 4 by the index, and -1 indicates the ginseng Number is invalid;
11) 5 signal of parameter indexes:Input signal, engine obtain the actual value of parameter 5 by the index, and -1 indicates the ginseng Number is invalid;
12) 6 signal of parameter indexes:Input signal, engine obtain the actual value of parameter 6 by the index, and -1 indicates the ginseng Number is invalid;
G) output signal table is as shown in figure 9, describe the association attributes of all output signals of equipment, configuration tool is according to output Signal table establishes output signal information operating table, stores the value of output signal.Including the following contents:
1) output signal indexes:Index value of the signal in output signal table;
2) path offset amount:Current demand signal corresponds to the path offset amount in rigid line routing table or bus routing table.
The embodiment of the present invention additionally provides a kind of generation method of the configuration file table for specific equipment, the tool of this method Body scheme is as described below.
Assuming that certain equipment has, 4 tunnels of 28V/ open circuit inputs, 4-20mA inputs 1 tunnel, ground connection/open circuit exports 1 tunnel;CAN bus is defeated Enter signal 3, AFDX bus-out signals 2;Equipment status parameter 2;Wherein being grounded/open a way output signal process cycle is 500ms, 2 AFDX bus-out signal periods are respectively 500ms, 100ms;Logical relation is shown in Figure 10 between each signal.After analysis It is found that equipment has hard signal 6, bus signals 5, input signal 8, output signal 3, M signal 1, the overall situation Variable 2, equipment status parameter 2,100ms period treatments 2,500ms period treatments 2.
Each signal and the association attributes of processing are filled in configuration tool, configuration tool generates configuration text according to the following rules Part:(1) Table Header information, occupies the 1st~96 byte of allocation list structure, and structure is shown in Fig. 3;
(1.1) table numbering is configured:The 1st~4 byte is occupied, this example value is 1;
(1.2) allocation list length:The 5th~8 byte is occupied, the total length of allocation list is calculated, this example value is 560;
(1.3) verification and:The 9th~12 byte is occupied, xor operation is carried out to content in allocation list as unit of 32 As a result;
(1.4) sub-version number:The 13rd~14 byte is occupied, this example value is 0;
(1.5) major version number:The 15th~16 byte is occupied, this example value is 1;
(1.6) device id:The 17th~20 byte is occupied, this example value is 1;
(1.7) allocation list forms the time:The 21st~24 byte is occupied, this example value is 20150610;
(1.8) equipment status parameter number:The 25th~28 byte is occupied, this example value is 2;
(1.9) signal number:The 29th~32 byte is occupied, including input signal, output signal, M signal, this example value It is 12;
(1.10) context buffer size:Occupy the 33rd~36 byte, global variable used in function, this example value is 2;
(1.11) rigid line routing table offset:Occupy the 49th~52 byte, the byte number that rigid line routing table starts, this example value It is 97;
(1.12) rigid line path entry number:The 53rd~56 byte is occupied, this example value is 6;
(1.13) bus routing table offset:The 57th~60 byte is occupied, hard wire is added by rigid line routing table offset Byte number obtains shared by diameter table, and this example value is 129;
(1.14) bus path entry number:The 61st~64 byte is occupied, this example value is 5;
(1.15) input signal table offset:The 65th~68 byte is occupied, total line is added by bus routing table offset Byte number obtains shared by diameter table, and this example value is 209;
(1.16) input signal entry number:The 69th~72 byte is occupied, this example value is 8;
(1.17) signal processing periodic table offset:The 73rd~76 byte is occupied, by input signal table offset plus defeated Enter byte number shared by signal table to obtain, this example value is 273;
(1.18) signal processing period entry number:The 77th~80 byte is occupied, this example value is 2;
(1.19) signal processing table offset:The 81st~84 byte is occupied, by signal processing periodic table offset plus letter Byte number obtains shared by number process cycle table, and this example value is 337;
(1.20) signal processing entry number:The 85th~88 byte is occupied, this example value is 4;
(1.21) output signal table offset:The 89th~92 byte is occupied, signal is added by signal processing table offset Byte number obtains shared by reason table, and this example value is 529;
(1.22) output signal entry number:The 93rd~96 byte is occupied, this example value is 3;
(2) rigid line routing table, equipment have 6 tunnel of hardwire interface, therefore rigid line routing table has 6, occupy the of allocation list structure 97~128 bytes, table structure are shown in Fig. 4;
(3) bus routing table, equipment have a bus signals 5, therefore bus routing table has 5, occupy the of allocation list structure 129~208 bytes, table structure are shown in Fig. 5;
(4) input signal table, equipment have an input signal 8, therefore input signal table has 8, occupy the of allocation list structure 209~272 bytes, table structure are shown in Fig. 6;
(5) signal processing periodic table, device signal, which is handled, two kinds of periods of 100ms, 500ms, therefore signal processing periodic table There are 2, occupies the 273rd~336 byte of allocation list structure, table structure is shown in Fig. 7, wherein the 1st signal processing table offset Corresponding to process2 initial addresses of periodic function in signal processing table, signal exports table offset and corresponds to output signal AFDX_1 initial addresses in table;2nd signal processing table offset corresponds to periodic function in signal processing table Process1 initial addresses, signal export the initial address that table offset corresponds to DK_1 in output signal table;Believe Number process cycle table, signal processing table, output signal table should be corresponded to carries out block sorting according to the period;
(6) signal processing table, device signal have 4 processing, therefore signal processing table has 4, occupy the of allocation list structure 337~528 bytes, wherein handling result index the storage address of alignment processing result, and context buffer size corresponds to complete Office's variable number, context buffer offset correspond to global variable memory block first address, and the result of upper level processing can be with As the input of next stage processing, table structure is shown in Fig. 8;
(7) output signal table, equipment have an output signal 3, therefore input signal table has 3, occupy the of allocation list structure 529~560 bytes, table structure are shown in Fig. 9;
The invention has the advantages that:By configuring the form of list file, function description is carried out to equipment, by equipment Input and output, the logical process of signal it is unified in a table, meet the requirement of collocation type Software for Design;Keep airborne application soft The exploitation of part is reduced to that the work of logical process function two parts is filled in a form and write with configuration tool;For different equipment, only need It loads different configuration list files and different functions can be realized, so that the exploitation of application software is become simple, clear, saving of dividing the work Human resources.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be with different from shown in sequence execution herein The step of going out or describing, either they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of generation method of configuration list file, which is characterized in that including:
The Table Header information of the configuration list file is set, wherein the Table Header information includes at least one of:With the configuration The ID of the corresponding equipment of list file, buffer information, sublist read information, wherein the sublist reads information for describing such as What reads and is stored at least one of configuration list file sublist;
At least one sublist in the configuration list file is set, wherein at least one sublist is for describing described set The relevant information of standby interface and function.
2. according to the method described in claim 1, it is characterized in that, the buffer information includes the equipment state of the equipment Number, signal number and context buffer size, wherein the equipment state number is used to describe the state of the equipment Number, the signal number is used to describe input signal, the number of output signal and M signal of the equipment, described upper and lower Literary buffer size is used to describe the size of the memory space of the relevant global variable of and function, wherein the function is to realize The logical function of the functions of the equipments.
3. according to the method described in claim 1, it is characterized in that, the sublist includes at least one of:
Rigid line routing table, the location information of the various types hard signal for describing the equipment acquisition or output;
Bus routing table, the location information for describing the various types bus signals that the equipment is received or sent;
Input signal table, the association attributes for describing all input signals of the equipment;
Signal processing periodic table, for describing the input signal, output signal, the cyclic attributes of M signal;
Signal processing table, for describing the input signal, the output signal, the logical process process of the M signal;
Output signal table, the association attributes of the output signal for describing the equipment.
4. according to the method described in claim 3, it is characterized in that, the rigid line routing table includes at least one of:
Channel type, the type for describing the rigid line channel between the equipment and coupled other equipment, wherein The channel type includes at least one of:28V/ open digital channel ,/open digital channel, power output digital channel, 4 ~20mA current analogs channel, 0~10V voltage analogs channel, PT1000 analog channels;
Board number, the ID of the corresponding board of signal for describing with being transmitted on the rigid line channel, the board is located at described In equipment;
Location number, the channel number for describing the rigid line channel, ranging from the 0~255 of the channel number.
5. according to the method described in claim 3, it is characterized in that, the bus routing table includes at least one of:
Bus run type, the type for describing the bus run between the equipment and coupled other equipment, Wherein, the bus run type includes at least one of:The channels multiplex bus communication interface MBI, control area net(CAN) The channels CAN, the channels avionic full-duplex communication Ethernet AFDX, the channels ARINC429, the channels TTP, the channels optical fiber FC, The channels IEEE1394;
Bus board card number, the ID of the corresponding board of signal for describing with being transmitted on the bus run, the board are located at In the equipment;
Packet numbers, the ID of the data packet where signal for describing to transmit on the bus run;
Initial position, the banner word section number of signal for describing to transmit on the bus run in the data packet;
Length, signal for describing to transmit on bus run byte digit occupied in the data packet;
Mask is a string of binary codes, the signal for will be transmitted on the bus run by bit arithmetic or logical operation It is read out from the data packet.
6. according to the method described in claim 3, it is characterized in that, the input signal table includes at least one of:
Input signal indexes, for describing index value of the input signal of the equipment in the input signal table;
Path offset amount, it is inclined for describing path of the input signal in the rigid line routing table or the bus routing table Shifting amount.
7. according to the method described in claim 3, it is characterized in that, the signal processing periodic table includes at least one of:
Period, the process cycle for describing the input signal, the output signal and the M signal;
Signal processing table offset, for describing the initial position of function corresponding with the period in the signal processing table Offset;
Signal processing entry number, the number for describing function corresponding with the period in the signal processing table;
Signal exports table offset, the start bit for describing output signal corresponding with the period in the signal output table The offset set;
Signal exports entry number, for describing the output signal corresponding with the period in the signal output table Number.
8. according to the method described in claim 3, it is characterized in that, the signal processing table includes at least one of:
Period treatment function ID, the ID for describing the function in the signal processing table;
Handling result signal indexes, for describing position of the handling result of the function in memory space;
Additional parameter mark, is used to indicate whether the function needs additional parameter;
Current function context buffer size, the size of the memory space for describing to need to open up for current function;
Context buffer offset, for describing the current function context buffer size in the context buffering area In initial position;
Additional parameter, in the case where additional parameter mark instruction needs additional parameter, defining additional parameter;
At least one parameter reference, the index of the value for describing the parameter in the function.
9. according to the method described in claim 3, it is characterized in that, the output signal table includes at least one of:
Output signal indexes, for describing index value of the output signal of the equipment in the output signal table;
Path offset amount, it is inclined for describing path of the output signal in the rigid line routing table or the bus routing table Shifting amount.
10. method according to any one of claim 1 to 9, which is characterized in that the Table Header information further include with down toward It is one of few:
Table numbering is configured, the ID for describing the configuration list file;
Allocation list length, for describing the occupied storage byte number of configuration list file;
Verification and, it is whether complete with correct information for verifying the configuration list file.
CN201510490410.3A 2015-08-11 2015-08-11 Configure the generation method of list file Active CN105045635B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510490410.3A CN105045635B (en) 2015-08-11 2015-08-11 Configure the generation method of list file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510490410.3A CN105045635B (en) 2015-08-11 2015-08-11 Configure the generation method of list file

Publications (2)

Publication Number Publication Date
CN105045635A CN105045635A (en) 2015-11-11
CN105045635B true CN105045635B (en) 2018-08-24

Family

ID=54452199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510490410.3A Active CN105045635B (en) 2015-08-11 2015-08-11 Configure the generation method of list file

Country Status (1)

Country Link
CN (1) CN105045635B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234259B (en) * 2016-12-12 2020-12-29 中国航空工业集团公司西安航空计算技术研究所 Allocation method for remote node redundancy of 1394 bus
CN109521984B (en) * 2017-09-20 2021-12-10 南京南瑞继保电气有限公司 Liquid crystal panel custom icon display method based on embedded system
CN109547310B (en) * 2018-11-05 2021-06-01 中国航空工业集团公司西安飞机设计研究所 Modular bus data receiving method
CN111124417B (en) * 2019-12-10 2023-03-03 西安智周深鉴信息科技集团有限公司 Industrial control program compiling method and device, computer equipment and storage medium
CN114039327A (en) * 2021-10-22 2022-02-11 许昌许继软件技术有限公司 Sampling analog quantity data correlation method and device for relay protection visual configuration
CN114489832B (en) * 2021-12-31 2024-09-06 中国航空工业集团公司西安飞机设计研究所 Service engine scheduling method based on configuration table

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1555011A (en) * 2003-12-29 2004-12-15 联想(北京)有限公司 Confuguration device and method for electronic device including processor
CN104461535A (en) * 2014-12-04 2015-03-25 中国航空工业集团公司第六三一研究所 Configuration method of interface processing software of onboard equipment
CN104714816A (en) * 2013-12-14 2015-06-17 中国航空工业集团公司第六三一研究所 Method for rapidly loading configuration tables of airborne devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1555011A (en) * 2003-12-29 2004-12-15 联想(北京)有限公司 Confuguration device and method for electronic device including processor
CN104714816A (en) * 2013-12-14 2015-06-17 中国航空工业集团公司第六三一研究所 Method for rapidly loading configuration tables of airborne devices
CN104461535A (en) * 2014-12-04 2015-03-25 中国航空工业集团公司第六三一研究所 Configuration method of interface processing software of onboard equipment

Also Published As

Publication number Publication date
CN105045635A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN105045635B (en) Configure the generation method of list file
CN107229584B (en) I/O management system of avionic simulation test platform
CN109116315B (en) General radar avionics simulation system
US20110071709A1 (en) Highly representative real-time simulation of an avionics system
CN106775867B (en) Flight simulation system under Windows operating system environment
CN109697266A (en) Page rendering system, page rendering method and page rendering device
CN102354155B (en) Real-time core of open numerical control system and real-time control method of edge curve
CN104050332A (en) Distributed-type real-time comprehensive simulation method of avionics system
CN105511881A (en) General airborne interactive data management method
CN109857452B (en) Configuration method and device of rocket test launch control system based on XML
CN110502861B (en) Full-digital simulation system based on satellite information flow
CN105159670A (en) Universal cockpit display control system software development framework
CN106843887A (en) A kind of implementation method of embedded customized development platform automatic creation system
CN104331530A (en) An electronic warfare visual simulation platform based on XML description and working method thereof
CN102541540A (en) Starry telemetry parameter imaging configuration system
CN112162495A (en) Inertial navigation simulation system and method based on ARINC429 bus
CN104063231B (en) Test resource rapid access method based on HIT-TENA
CN114707242A (en) Universal airborne data bus monitoring and testing software framework design method
CN103164228A (en) Method and device for generating field-programmable gate array (FPGA) procedure
CN113919158A (en) Simulation method and device for flight control panel and storage medium
CN105334756A (en) Agile satellite mission interpretation closed loop simulation verification system and method
CN106775607A (en) A kind of method that ICD is automatically generated header file data-interface
CN104636143A (en) Electronic presentation device for C language teaching and control method of electronic presentation device
CN102354154B (en) Real-time kernel chip of open numerical control system
CN105824684B (en) A kind of implementation method of multi-mode big data software simulator

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant