CN105045635A - Configuration table file generation method - Google Patents

Configuration table file generation method Download PDF

Info

Publication number
CN105045635A
CN105045635A CN201510490410.3A CN201510490410A CN105045635A CN 105045635 A CN105045635 A CN 105045635A CN 201510490410 A CN201510490410 A CN 201510490410A CN 105045635 A CN105045635 A CN 105045635A
Authority
CN
China
Prior art keywords
signal
describing
equipment
function
allocation list
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
CN201510490410.3A
Other languages
Chinese (zh)
Other versions
CN105045635B (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

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

Abstract

The present invention provides a configuration table file generation method comprising the steps of: setting header information of a configuration table file, wherein the header information comprises at least one of the following parts: the ID of equipment corresponding to the configuration table file, buffer area information, subtable read information, and the subtable read information is used for describing how to read at least one subtable stored in the configuration table file; and setting the at least one subtable in the configuration table file, wherein the at least one subtable is used for describing related information of an interface and functions of the equipment. By virtue of the configuration table file generation method, the problem of high cost in a related technology is solved, and then the effect of reducing the cost is achieved.

Description

The generation method of allocation list file
Technical field
The present invention relates to Aviation ElctroMechanical field, in particular to a kind of generation method of allocation list file.
Background technology
Along with the fast development of comprehensively modularized airborne electronic equipment system, computer bus technology high-speed develops, Electric-machinery Management System progressively towards distributed data acquisition, concentrate resolve, the development of the system configuration of distributed AC servo system.It will be more powerful that the core of system in future resolves computer capacity, by core processing functions such as the collection output of the responsible overwhelming majority, system logic, health control, remaining decision-makings.Meanwhile, remote data acquisition unit (RDC), long-range power distribution equipment (RPDU) are by the specialization of function, miniaturization, universalization development, how reducing the dependence of Interface design to system requirements of RDC, RPDU, will be the key improving security of system, reduce pilot production cost.For RDC or RPDU in a model, the equipment of finished product factory, to drive completely the same, driving no longer will rely on system requirements, but system requirements carry out different configurations according to the ability of equipment, to realize different acquisition functions, controlling functions.Existing driven table method is only applied in the bus of software or the transmitting-receiving of hardwire interface data, does not then relate to for the logical process such as remaining, stabilization, conversion of signal and the utilization of power function.
Collocation type Software for Design is that the configuration rule as its core content does not also have the design proposal of complete set at present in order to overcome the above problems and a kind of Airborne Software method for designing proposed.
Summary of the invention
The invention provides a kind of generation method of allocation list file, at least to solve the higher problem of prior art cost.
According to an aspect of the present invention, provide a kind of generation method of allocation list file, comprise: the Table Header information that described allocation list file is set, wherein, described Table Header information comprise following one of at least: the ID of the equipment corresponding with described allocation list file, buffer information, sublist reads information, wherein, described sublist reads information for describing at least one sublist how reading and be stored in described allocation list file; Arrange at least one sublist described in described allocation list file, at least one sublist wherein said is for the relevant information of the interface and function that describe described equipment.
Preferably, described buffer information comprises the equipment state number of described equipment, signal number and context buffer size, wherein, described equipment state number is for describing the number of the state of described equipment, described signal number is for describing the number of the input signal of described equipment, output signal and M signal, the size of the storage space of global variable of described context buffer size for describing function and being correlated with, wherein, described function is the logical function realizing described functions of the equipments.
Preferably, described sublist comprise following one of at least: rigid line routing table, for describing the positional information of all kinds hard signal of described equipment collection or output; Bus routing table, for describing the positional information of all kinds bus signals that described equipment receives or sends; Input signal table, for describing the association attributes of all input signals of described equipment; Signal transacting periodic table, for describing described input signal, described output signal, the cyclic attributes of described M signal; Signal transacting table, for describing described input signal, described output signal, the logical process process of described M signal; Output signal table, for describing the association attributes of the described output signal of described equipment.
Preferably, described rigid line routing table comprise following one of at least: channel type, for the type of rigid line passage described and between described equipment and other coupled equipment, wherein, described channel type comprise following one of at least: 28V/ open digital channel ,/open digital channel, power stage digital channel, 4 ~ 20mA current analog passage, 0 ~ 10V voltage analog passage, PT1000 analog channel; Board number, for the ID of board corresponding to the signal described with described rigid line passage transmits, described board is positioned on described equipment; Location number, for describing the channel number of described rigid line passage, the scope of described channel number is 0 ~ 255.
Preferably, described bus routing table comprise following one of at least: bus run type, for the type of bus run described and between described equipment and other coupled equipment, wherein, described bus run type comprise following one of at least: the types such as multiplex bus communication interface MBI passage, control area net(CAN) CAN passage, avionic full-duplex communication Ethernet AFDX passage, ARINC429 passage, TTP passage, optical fiber FC passage, IEEE1394 passage; Bus board card number, for the ID of board corresponding to the signal described with described bus run transmits, described board is positioned on described equipment; Packet numbers, for describing the ID of the packet at the signal place that described bus run transmits; Reference position, for describe signal that described bus run transmits described packet banner word section number; Length, for describing signal that described bus run transmits byte figure place occupied in described packet; Mask is a string binary code, for being read out from described packet by the signal that described bus run transmits by bit arithmetic or logical operation.
Preferably, described input signal table comprise following one of at least: input signal index, for describing the index value of input letter in described input signal table of described equipment; Path offset amount, for describing the path offset amount of described input signal in described rigid line routing table or described bus routing table.
Preferably, described signal transacting periodic table comprise following one of at least: the cycle, for describing the treatment cycle of described input signal, described output signal and described M signal; Signal transacting table side-play amount, for describing the side-play amount of the reference position of function corresponding with the described cycle in described signal transacting table; Signal transacting list item number, for describing the number of function corresponding with the described cycle in described signal transacting table; Signal exports table side-play amount, for describing the side-play amount of the reference position of output signal corresponding with the described cycle in described signal output table; Signal exports list item number, for describing the number of described output signal corresponding with the described cycle in described signal output table.
Preferably, described signal transacting table comprise following one of at least: period treatment function ID, for describing the ID of the function in described signal transacting table; Result signal index, for describing the position of result in storage space of described function; Additional parameter mark, is used to indicate described function the need of additional parameter; Current function context buffer size, for describing the size needing the storage space opened up for current function; Context buffer offset, for describing the reference position of described current function context buffer size in described context buffer zone; Additional parameter, for when described additional parameter mark instruction needs additional parameter, the parameter that definition is additional; At least one parameter reference, for describing the index of the value of the parameter in described function.
Preferably, described output signal table comprise following one of at least: output signal index, for describing the index value of output signal in described output signal table of described equipment; Path offset amount, for describing the path offset amount of described output signal in described rigid line routing table or described bus routing table.
Preferably, described Table Header information also comprise following one of at least: allocation list is numbered, for describing the ID of described allocation list file; Allocation list length, for describing the memory word joint number shared by described allocation list file; School Affairs, for verifying the whether complete and correct information of described allocation list file.
Pass through the present invention, adopt the Table Header information that described allocation list file is set, wherein, described Table Header information comprise following one of at least: the ID of the equipment corresponding with described allocation list file, buffer information, sublist reads information, and wherein, described sublist reads information for describing at least one sublist how reading and be stored in described allocation list file; Arrange at least one sublist described in described allocation list file, at least one sublist wherein said, for the relevant information of the interface and function that describe described equipment, solves the problem that cost in correlation technique is higher, and then reaches the effect reduced costs.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the generation method of allocation list file according to the embodiment of the present invention;
Fig. 2 is the structural representation of the allocation list file generated according to the generation method of the configuration file of the embodiment of the present invention;
Fig. 3 is the structural representation of the Table Header information according to the embodiment of the present invention;
Fig. 4 is the structural representation of the rigid line routing table according to the embodiment of the present invention;
Fig. 5 is the structural representation of the bus routing table according to the embodiment of the present invention;
Fig. 6 is the structural representation of the input signal table according to the embodiment of the present invention;
Fig. 7 is the structural representation of the signal transacting periodic table according to the embodiment of the present invention;
Fig. 8 is the structural representation of the signal transacting table according to the embodiment of the present invention;
Fig. 9 is the structural representation of the output signal table according to the embodiment of the present invention; And
Figure 10 is logical relation between the signal according to the equipment of the embodiment of the present invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Provide a kind of generation method of allocation list file in the present embodiment, Fig. 1 is the process flow diagram of the generation method of allocation list file according to the embodiment of the present invention, and as shown in Figure 1, this flow process comprises the steps:
Step S102, the Table Header information of described allocation list file is set, wherein, described Table Header information comprise following one of at least: the ID of the equipment corresponding with described allocation list file, buffer information, sublist reads information, and wherein, described sublist reads information for describing at least one sublist how reading and be stored in described allocation list file;
In one embodiment, described buffer information comprises the equipment state number of described equipment, signal number and context buffer size, wherein, described equipment state number is for describing the number of the state of described equipment, described signal number is for describing the number of the input signal of described equipment, output signal and M signal, the size of the storage space of global variable of described context buffer size for describing function and being correlated with, wherein, described function is the logical function realizing described functions of the equipments;
In another embodiment, described Table Header information also comprise following one of at least: allocation list is numbered, for describing the ID of described allocation list file; Allocation list length, for describing the memory word joint number shared by described allocation list file; School Affairs, for verifying the whether complete and correct information of described allocation list file.
Step S104, arranges at least one sublist described in described allocation list file, and at least one sublist wherein said is for the relevant information of the interface and function that describe described equipment.
In one embodiment, described sublist comprise following one of at least: rigid line routing table, for describing the positional information of all kinds hard signal of described equipment collection or output; Bus routing table, for describing the positional information of all kinds bus signals that described equipment receives or sends; Input signal table, for describing the association attributes of all input signals of described equipment; Signal transacting periodic table, for describing described input signal, described output signal, the cyclic attributes of described M signal; Signal transacting table, for describing described input signal, described output signal, the logical process process of described M signal; Output signal table, for describing the association attributes of the described output signal of described equipment.
In another embodiment, described rigid line routing table comprise following one of at least: channel type, for the type of rigid line passage described and between described equipment and other coupled equipment, wherein, described channel type comprise following one of at least: 28V/ open digital channel ,/open digital channel, power stage digital channel, 4 ~ 20mA current analog passage, 0 ~ 10V voltage analog passage, PT1000 analog channel; Board number, for the ID of board corresponding to the signal described with described rigid line passage transmits, described board is positioned on described equipment; Location number, for describing the channel number of described rigid line passage, the scope of described channel number is 0 ~ 255.
In yet another embodiment, described input signal table comprise following one of at least: input signal index, for describing the index value of input signal in described input signal table of described equipment; Path offset amount, for describing the path offset amount of described input signal in described rigid line routing table or described bus routing table.
In yet another embodiment, described signal transacting periodic table comprise following one of at least: the cycle, for describing the treatment cycle of described input signal, described output signal and described M signal; Signal transacting table side-play amount, for describing the amount of moving of the reference position of function corresponding with the described cycle in described signal transacting table; Signal transacting list item number, for describing the number of function corresponding with the described cycle in described signal transacting table; Signal exports table side-play amount, for describing the side-play amount of the reference position of output signal corresponding with the described cycle in described signal output table; Signal exports list item number, for describing the number of described output signal corresponding with the described cycle in described signal output table.
In yet another embodiment, described signal transacting table comprise following one of at least: period treatment function ID, for describing the ID of the function in described signal transacting table; Result signal index, for describing the position of result in storage space of described function; Additional parameter mark, is used to indicate described function the need of additional parameter; Current function context buffer size, for describing the size needing the storage space opened up for current function; Context buffer offset, for describing the reference position of described current function context buffer size in described context buffer zone; Additional parameter, for when described additional parameter mark instruction needs additional parameter, the parameter that definition is additional; At least one parameter reference, for describing the index of the value of the parameter in described function.
Having in an embodiment, described output signal table comprise following one of at least: output signal index, for describing the index value of output signal in described output signal table of described equipment; Path offset amount, for describing the path offset amount of described output signal in described rigid line routing table or described bus routing table.
By above-mentioned steps, formulate a series of constraint rule, the behaviors such as the input and output of equipment, redundancy management, signal conversion, delay stabilization are described by the form of allocation list.Equipment manufacturer can write general driver according to this rule and explain allocation list content, and finishing equipment function.Only need simply to carry out rational Design on Plane to allocation list, just can complete a large amount of changes of follow-up system easily.
The embodiment of the present invention additionally provides a kind of allocation list file, and Fig. 2 is the structural representation of the allocation list file generated according to the generation method of the configuration file of the embodiment of the present invention.
Configuration rule is the structural description to deploy content in collocation type Software for Design, is configuration file, the foundation followed of configuration tool and service-Engine.Configuration tool is according to configuration rule generating configuration file, and service-Engine is understood configuration file according to configuration rule.
First should define basic data type before setting up allocation list, set up process function data storehouse.
Allocation list content according to this rule definition should comprise Table Header information, rigid line routing table, bus routing table, input signal table, signal transacting periodic table, signal transacting table, signal output table seven part, and its structure as shown in Figure 2.In figure, every content stores in units of byte, every 4 byte-aligned in table.
A) Table Header information is as shown in Figure 3, describes the information such as the structure of allocation list, scale, version, verification on the whole, comprises following content:
1) allocation list numbering: table numbering is the sequence number of table is that the overall situation is unique; When in allocation list, perhaps output format changes, table numbering also changes thereupon.
2) allocation list length: the memory word joint number shared by allocation list file;
3) School Affairs: test to the integrality of allocation list file and correctness, coordinates the proof list programming whether cycle with allocation list length;
4) sub-version number: the part after the configuration rule version number radix point that allocation list should meet;
5) major version number: the part before the configuration rule version number radix point that allocation list should meet;
6) device id: " device id " that each equipment correspondence one is unique, user is recording device ID in configuration tool, and carries this ID in the configuration file generated; Whether the ID that device engine need detect oneself is consistent with the device id in configuration file;
7) allocation list formation time: during each derivation allocation list, configuration tool generates formation time automatically;
8) equipment status parameter number: the number of the equipment status parameter that equipment comprises, for generating device status table, is the basic parameter of remaining process; Engine provides the function interface intsetDeviceState (intStateIndex, intdata) of read-write equipment state parameter; Allocation engine can call voidupdateDeviceState (void) method to upgrade these parameters during poll, and the method is provided by equipment manufacturer; In equipment status parameter table, each is unsignedlong type;
9) signal number: the sum of input signal, M signal, output signal in allocation list, allocation engine is according to the storage space of this parameter and equipment status parameter number sum application signal;
10) context buffer size: for the size of the memory block that storage signal global state is opened up;
11) rigid line routing table side-play amount: rigid line routing table starting position is relative to the side-play amount of allocation list starting position;
12) rigid line routing table item number: the item number of the rigid line routing table contained in allocation list;
13) bus routing table side-play amount: bus routing table starting position is relative to the side-play amount of allocation list starting position;
14) bus path list item number: the item number of the bus routing table contained in allocation list;
15) input signal table side-play amount: input signal table starting position is relative to the side-play amount of allocation list starting position;
16) input signal list item number: the item number of the input signal table contained in allocation list;
17) signal transacting periodic table side-play amount: signal transacting periodic table starting position is relative to the side-play amount of allocation list starting position;
18) signal transacting periodic table item number: the item number of the signal transacting periodic table contained in allocation list;
19) signal transacting table side-play amount: signal transacting table starting position is relative to the side-play amount of allocation list starting position;
20) signal transacting list item number: the item number of the signal transacting table contained in allocation list;
21) output signal table side-play amount: output signal table starting position is relative to the side-play amount of allocation list starting position;
22) list item number is outputed signal: the item number of the output signal table contained in allocation list;
B) rigid line routing table is as indicated at 4, for describing the positional information of all kinds hard signal of equipment collection or output, typing in configuration tool, comprises following content:
1) channel type: comprise 28V/ open digital channel ,/open the types such as digital channel, power stage digital channel, 4 ~ 20mA current analog passage, 0 ~ 10V voltage analog passage, PT1000 analog channel;
2) board number: No. ID, the board of the equipment at current rigid line passage place, scope 0 ~ 15;
3) location number: the channel number of current rigid line passage, scope 0 ~ 255.
C) bus routing table is as shown in Figure 5, and for describing the positional information of all kinds bus signals that equipment receives or sends, typing in configuration tool, comprises following content:
1) channel type: comprise the types such as MBI passage, CAN passage, AFDX passage, ARINC429 passage, TTP passage, FC passage, IEEE1394 passage;
2) board number: No. ID, the board of the equipment at Current bus passage place, scope 0 ~ 15;
3) packet numbers: No. ID of the packet at Current bus signal place is that underlying device drives and to support and can the foundation of unique identification data bag; The engine initializes stage is that each packet creates bag buffer zone, and provides get/set method for Labcard driver, for reading and arranging bag buffer data; Equipment vendors need provide the reception of lower packet and send function;
4) reference position: the banner word section number of Current bus signal in affiliated packet, the initial size range 0 ~ 31 of MBI passage, CAN passage banner word section number scope 0 ~ 7, the initial size ranges 0 ~ 255 of type such as ARINC429 passage initial size range 0 ~ 31, AFDX passage, TTP passage, FC passage, IEEE1394 passage;
5) length: the figure place occupied by Current bus signal;
6) mask: a string binary code that by bit arithmetic or logical operation, signal can be taken out from packet; For the path of bus type, when length equals basic word length, by the mask number of winning the confidence; When length exceedes basic word length, mask is invalid, and by the byte number number of winning the confidence, now length is necessary for even number, and now initial font size (byte number) is necessary for and aligns by length; Length can not more than 4 (32);
D) input signal table as shown in Figure 6, and for describing the association attributes of all input signals of equipment, allocation engine sets up input signal information operating table according to input signal table, with input signal table one_to_one corresponding, stores the value of input signal.Input signal table comprises following content:
1) input signal index: the index value of 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) signal transacting periodic table is as shown in Figure 7, describes the cyclic attributes of signal, signal have several treatment cycle then signal transacting periodic table just have several, comprise following content:
1) cycle: the cycle of signal transacting, unit ms;
2) signal transacting table side-play amount: corresponding to the side-play amount of the signal transacting table function reference position of current period;
3) signal transacting list item number: corresponding to the item number of the signal transacting table of current period;
4) signal exports table side-play amount: the signal corresponding to current period exports the side-play amount of start signal in table;
5) signal exports list item number: the signal corresponding to current period exports the item number of table;
F) signal transacting table as shown in Figure 8, describes the logical process process of signal, comprise the processes such as stabilization, redundancy, sequential processing, logical transition; Allocation engine carries out poll process according to the different signal transacting cycles to signal transacting table, and the signal transacting table in often kind of cycle adopts hierarchy, and input signal uses table as the input of the 1st grade of signal transacting; The result of i-th grade of signal transacting is as the output of the i-th+1 grade signal transacting; The input that the result of afterbody signal transacting exports as signal; Each process function can only have an Output rusults; Configuration tool according to process item number application storage space, and stores the result (M signal and output signal) that every coagulation produces.Comprise following content:
1) period treatment function ID: in period treatment function library No. ID of the logical function of signal transacting, represent indirect assignment when being 0;
2) result signal index: the position of result in storage space;
3) additional parameter mark: indicator function is the need of additional parameter, and 0 indicates without additional parameter;
4) context buffer size: when before function needs to store during several cycle data, the context buffer zone of function association need be opened up, and in units of byte the size of appointed buffer;
5) context buffer offset: the reference position of context buffer zone in total buffer that current function is corresponding;
6) additional parameter: time delay or times of collection etc., concrete meaning determines by processing function;
7) parameter 1 signal index: input signal, engine obtains the actual value of parameter 1 by this index, and-1 represents this invalid parameters;
8) parameter 2 signal index: input signal, engine obtains the actual value of parameter 2 by this index, and-1 represents this invalid parameters;
9) parameter 3 signal index: input signal, engine obtains the actual value of parameter 3 by this index, and-1 represents this invalid parameters;
10) parameter 4 signal index: input signal, engine obtains the actual value of parameter 4 by this index, and-1 represents this invalid parameters;
11) parameter 5 signal index: input signal, engine obtains the actual value of parameter 5 by this index, and-1 represents this invalid parameters;
12) parameter 6 signal index: input signal, engine obtains the actual value of parameter 6 by this index, and-1 represents this invalid parameters;
G) output signal table as shown in Figure 9, describes the association attributes of all output signals of equipment, and configuration tool sets up output signal information operating table according to output signal table, stores the value of output signal.Comprise following content:
1) index is outputed signal: the index value of 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 concrete equipment, and the concrete scheme of the method is as described below.
Suppose that certain equipment has 28V/ open circuit input 4 tunnel, 4-20mA inputs 1 tunnel, ground connection/open circuit output 1 tunnel; CAN input signal 3, AFDX bus-out signal 2; Equipment status parameter 2; Wherein ground connection/open circuit output signal treatment cycle is 500ms, and 2 AFDX bus-out signal cycles are respectively 500ms, 100ms; Between each signal, logical relation is shown in Figure 10.Known after analyzing, equipment has hard signal 6, bus signals 5, input signal 8, outputs signal 3, M signal 1, global variable 2, equipment status parameter 2,100ms period treatment 2,500ms period treatment 2.
In configuration tool, fill in the association attributes of each signal and process, configuration tool is generating configuration file according to the following rules: (1) Table Header information, and take 1st ~ 96 bytes of allocation list structure, structure is shown in Fig. 3;
(1.1) allocation list numbering: take 1st ~ 4 bytes, this example value is 1;
(1.2) allocation list length: take 5th ~ 8 bytes, calculate the total length of allocation list, this example value is 560;
(1.3) School Affairs: take 9th ~ 12 bytes, carries out the result of xor operation in units of 32 to content in allocation list;
(1.4) sub-version number: take 13rd ~ 14 bytes, this example value is 0;
(1.5) major version number: take 15th ~ 16 bytes, this example value is 1;
(1.6) device id: take 17th ~ 20 bytes, this example value is 1;
(1.7) allocation list formation time: take 21st ~ 24 bytes, this example value is 20150610;
(1.8) equipment status parameter number: take 25th ~ 28 bytes, this example value is 2;
(1.9) signal number: take 29th ~ 32 bytes, comprises input signal, output signal, M signal, and this example value is 12;
(1.10) context buffer size: take 33rd ~ 36 bytes, the global variable that function uses, this example value is 2;
(1.11) rigid line routing table side-play amount: take 49th ~ 52 bytes, the byte number that rigid line routing table starts, this example value is 97;
(1.12) rigid line routing table item number: take 53rd ~ 56 bytes, this example value is 6;
(1.13) bus routing table side-play amount: take 57th ~ 60 bytes, add that shared by rigid line routing table, byte number draws by rigid line routing table side-play amount, this example value is 129;
(1.14) bus path list item number: take 61st ~ 64 bytes, this example value is 5;
(1.15) input signal table side-play amount: take 65th ~ 68 bytes, add that shared by bus routing table, byte number draws by bus routing table side-play amount, this example value is 209;
(1.16) input signal list item number: take 69th ~ 72 bytes, this example value is 8;
(1.17) signal transacting periodic table side-play amount: take 73rd ~ 76 bytes, add that shared by input signal table, byte number draws by input signal table side-play amount, this example value is 273;
(1.18) signal transacting periodic table item number: take 77th ~ 80 bytes, this example value is 2;
(1.19) signal transacting table side-play amount: take 81st ~ 84 bytes, add that shared by signal transacting periodic table, byte number draws by signal transacting periodic table side-play amount, this example value is 337;
(1.20) signal transacting list item number: take 85th ~ 88 bytes, this example value is 4;
(1.21) output signal table side-play amount: take 89th ~ 92 bytes, add that shared by signal transacting table, byte number draws by signal transacting table side-play amount, this example value is 529;
(1.22) list item number is outputed signal: take 93rd ~ 96 bytes, this example value is 3;
(2) rigid line routing table, equipment has hardwire interface 6 tunnel, therefore rigid line routing table has 6, and take 97th ~ 128 bytes of allocation list structure, list structure is shown in Fig. 4;
(3) bus routing table, equipment has bus signals 5, therefore bus routing table has 5, and take 129th ~ 208 bytes of allocation list structure, list structure is shown in Fig. 5;
(4) input signal table, equipment has input signal 8, therefore input signal table has 8, and take 209th ~ 272 bytes of allocation list structure, list structure is shown in Fig. 6;
(5) signal transacting periodic table, device signal process has two kinds of cycles of 100ms, 500ms, therefore signal transacting periodic table has 2, take 273rd ~ 336 bytes of allocation list structure, list structure is shown in Fig. 7, wherein the signal transacting table side-play amount of the 1st corresponds to the start address of periodic function process2 item in signal transacting table, and signal exports the start address that table side-play amount corresponds to AFDX_1 item in output signal table; The signal transacting table side-play amount of the 2nd corresponds to the start address of periodic function process1 item in signal transacting table, and signal exports the start address that table side-play amount corresponds to DK_1 item in output signal table; Namely signal transacting periodic table, signal transacting table, output signal table corresponding should carry out block sorting according to the cycle;
(6) signal transacting table, device signal has 4 process, therefore signal transacting table has 4, take 337th ~ 528 bytes of allocation list structure, the wherein memory address of result index alignment processing result, context buffer size corresponds to global variable number, and context buffer offset corresponds to global variable memory block first address, the result of upper level process can as the input of next stage process, and list structure is shown in Fig. 8;
(7) output signal table, equipment has output signal 3, therefore input signal table has 3, and take 529th ~ 560 bytes of allocation list structure, list structure is shown in Fig. 9;
The present invention has following beneficial effect: by the form of allocation list file, carries out functional description to equipment, by the logical process unification of the input and output of equipment, signal in a table, meets the requirement of collocation type Software for Design; The exploitation of airborne application software is reduced to and fills in a form with configuration tool and to write the work of logical process function two parts; For different equipment, only need load different allocation list files can realize different functions, the exploitation of application software is become simply, divides the work clearly, to save human resources.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a generation method for allocation list file, is characterized in that, comprising:
The Table Header information of described allocation list file is set, wherein, described Table Header information comprise following one of at least: the ID of the equipment corresponding with described allocation list file, buffer information, sublist reads information, wherein, described sublist reads information for describing at least one sublist how reading and be stored in described allocation list file;
Arrange at least one sublist described in described allocation list file, at least one sublist wherein said is for the relevant information of the interface and function that describe described equipment.
2. method according to claim 1, it is characterized in that, described buffer information comprises the equipment state number of described equipment, signal number and context buffer size, wherein, described equipment state number is for describing the number of the state of described equipment, described signal number is for describing the number of the input signal of described equipment, output signal and M signal, the size of the storage space of global variable of described context buffer size for describing function and being correlated with, wherein, described function is the logical function realizing described functions of the equipments.
3. method according to claim 1, is characterized in that, described sublist comprise following one of at least:
Rigid line routing table, for describing the positional information of all kinds hard signal of described equipment collection or output;
Bus routing table, for describing the positional information of all kinds bus signals that described equipment receives or sends;
Input signal table, for describing the association attributes of all input signals of described equipment;
Signal transacting periodic table, for describing described input signal, described output signal, the cyclic attributes of described M signal;
Signal transacting table, for describing described input signal, described output signal, the logical process process of described M signal;
Output signal table, for describing the association attributes of the described output signal of described equipment.
4. method according to claim 3, is characterized in that, described rigid line routing table comprise following one of at least:
Channel type, for the type of rigid line passage described and between described equipment and other coupled equipment, wherein, described channel type comprise following one of at least: 28V/ open digital channel ,/open digital channel, power stage digital channel, 4 ~ 20mA current analog passage, 0 ~ 10V voltage analog passage, PT1000 analog channel;
Board number, for the ID of board corresponding to the signal described with described rigid line passage transmits, described board is positioned on described equipment;
Location number, for describing the channel number of described rigid line passage, the scope of described channel number is 0 ~ 255.
5. method according to claim 3, is characterized in that, described bus routing table comprise following one of at least:
Bus run type, for the type of bus run described and between described equipment and other coupled equipment, wherein, described bus run type comprise following one of at least: the types such as multiplex bus communication interface MBI passage, control area net(CAN) CAN passage, avionic full-duplex communication Ethernet AFDX passage, ARINC429 passage, TTP passage, optical fiber FC passage, IEEE1394 passage;
Bus board card number, for the ID of board corresponding to the signal described with described bus run transmits, described board is positioned on described equipment;
Packet numbers, for describing the ID of the packet at the signal place that described bus run transmits;
Reference position, for describe signal that described bus run transmits described packet banner word section number;
Length, for describing signal that described bus run transmits byte figure place occupied in described packet;
Mask is a string binary code, for being read out from described packet by the signal that described bus run transmits by bit arithmetic or logical operation.
6. method according to claim 3, is characterized in that, described input signal table comprise following one of at least:
Input signal index, for describing the index value of input signal in described input signal table of described equipment;
Path offset amount, for describing the path offset amount of described input signal in described rigid line routing table or described bus routing table.
7. method according to claim 3, is characterized in that, described signal transacting periodic table comprise following one of at least:
Cycle, for describing the treatment cycle of described input signal, described output signal and described M signal;
Signal transacting table side-play amount, for describing the side-play amount of the reference position of function corresponding with the described cycle in described signal transacting table;
Signal transacting list item number, for describing the number of function corresponding with the described cycle in described signal transacting table;
Signal exports table side-play amount, for describing the side-play amount of the reference position of output signal corresponding with the described cycle in described signal output table;
Signal exports list item number, for describing the number of described output signal corresponding with the described cycle in described signal output table.
8. method according to claim 3, is characterized in that, described signal transacting table comprise following one of at least:
Period treatment function ID, for describing the ID of the function in described signal transacting table;
Result signal index, for describing the position of result in storage space of described function;
Additional parameter mark, is used to indicate described function the need of additional parameter;
Current function context buffer size, for describing the size needing the storage space opened up for current function;
Context buffer offset, for describing the reference position of described current function context buffer size in described context buffer zone;
Additional parameter, for when described additional parameter mark instruction needs additional parameter, the parameter that definition is additional;
At least one parameter reference, for describing the index of the value of the parameter in described function.
9. method according to claim 3, is characterized in that, described output signal table comprise following one of at least:
Output signal index, for describing the index value of output signal in described output signal table of described equipment;
Path offset amount, for describing the path offset amount of described output signal in described rigid line routing table or described bus routing table.
10. method according to any one of claim 1 to 9, is characterized in that, described Table Header information also comprise following one of at least:
Allocation list is numbered, for describing the ID of described allocation list file;
Allocation list length, for describing the memory word joint number shared by described allocation list file;
School Affairs, for verifying the whether complete and correct information of described allocation 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 true CN105045635A (en) 2015-11-11
CN105045635B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234259A (en) * 2016-12-12 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 1394 bus remote node redundant configurations methods
CN109521984A (en) * 2017-09-20 2019-03-26 南京南瑞继保电气有限公司 The customized icon display methods of liquid crystal display panel based on embedded system
CN109547310A (en) * 2018-11-05 2019-03-29 中国航空工业集团公司西安飞机设计研究所 A kind of modular bus data method of reseptance
CN111124417A (en) * 2019-12-10 2020-05-08 北京慧虹远航科技有限公司 Industrial control program compiling method and device, computer equipment and storage medium

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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234259A (en) * 2016-12-12 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 1394 bus remote node redundant configurations methods
CN108234259B (en) * 2016-12-12 2020-12-29 中国航空工业集团公司西安航空计算技术研究所 Allocation method for remote node redundancy of 1394 bus
CN109521984A (en) * 2017-09-20 2019-03-26 南京南瑞继保电气有限公司 The customized icon display methods of liquid crystal display panel based on embedded system
CN109547310A (en) * 2018-11-05 2019-03-29 中国航空工业集团公司西安飞机设计研究所 A kind of modular bus data method of reseptance
CN109547310B (en) * 2018-11-05 2021-06-01 中国航空工业集团公司西安飞机设计研究所 Modular bus data receiving method
CN111124417A (en) * 2019-12-10 2020-05-08 北京慧虹远航科技有限公司 Industrial control program compiling method and device, computer equipment and storage medium
CN111124417B (en) * 2019-12-10 2023-03-03 西安智周深鉴信息科技集团有限公司 Industrial control program compiling method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN105045635B (en) 2018-08-24

Similar Documents

Publication Publication Date Title
EP2148259B1 (en) Field device management apparatus and field device management system
CN107436762B (en) Register code file generation method and device and electronic equipment
US6353806B1 (en) System level hardware simulator and its automation
CN105045635A (en) Configuration table file generation method
US20110071709A1 (en) Highly representative real-time simulation of an avionics system
CN103218292B (en) A kind of aerospace satellite-borne software Auto-Test System
CN109116315B (en) General radar avionics simulation system
CN103383681B (en) A kind of file type identification method and system
JP2017111791A (en) Method, system and computer program for cloud-based computing cluster for simulated operator training system
US20030028630A1 (en) Method and system for processing topology data and geometry data of networks
CN109697266A (en) Page rendering system, page rendering method and page rendering device
CN104331530A (en) An electronic warfare visual simulation platform based on XML description and working method thereof
CN104050333A (en) Distributed-type real-time comprehensive simulation system of avionics system
EP4134861A2 (en) Virtual developmental environment apparatus, method, and recording medium
CN106843887A (en) A kind of implementation method of embedded customized development platform automatic creation system
CN106095563A (en) Physical function and virtual functions map flexibly
CN104063231B (en) Test resource rapid access method based on HIT-TENA
CN101373588B (en) Display control method and display system
CN108228965B (en) Simulation verification method, device and equipment for memory cell
US8160843B2 (en) Device and method for planning a production unit
CN109739572B (en) Universal integrated serial port communication method
CN113705143B (en) Automatic simulation system and automatic simulation method
US10386806B2 (en) Method for connecting models of technical systems in a testing device equipped for control unit development
CN109416530A (en) A kind of input and output control method, main control device and digital control system from equipment
CN107215479B (en) General data processing framework of flight simulator and construction method thereof

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