CN116107703A - Interface control document generation method and device - Google Patents
Interface control document generation method and device Download PDFInfo
- Publication number
- CN116107703A CN116107703A CN202310397957.3A CN202310397957A CN116107703A CN 116107703 A CN116107703 A CN 116107703A CN 202310397957 A CN202310397957 A CN 202310397957A CN 116107703 A CN116107703 A CN 116107703A
- Authority
- CN
- China
- Prior art keywords
- arinc429 bus
- information
- data
- arinc429
- icd
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000013500 data storage Methods 0.000 claims abstract description 82
- 238000004088 simulation Methods 0.000 claims abstract description 71
- 238000011161 development Methods 0.000 claims abstract description 40
- 238000012163 sequencing technique Methods 0.000 claims description 10
- 238000012216 screening Methods 0.000 abstract description 36
- 238000004590 computer program Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
- G06F9/45508—Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a method and a device for generating an interface control document, and relates to the technical field of avionic systems, wherein the method comprises the following steps: acquiring data information of all ARINC429 bus signals in the airborne ICD; according to the names of ARINC429 buses to which the ARINC429 bus signals belong, respectively storing the data information of the ARINC429 bus signals in different data storage areas; based on the preset ARINC429 bus signal ICD form rule, corresponding ICD forms are respectively generated for the data information of the ARINC429 bus signals stored in different data storage areas. The method and the device for generating the interface control document enable a scoring system simulation model developer to clearly identify ARINC429 bus signals, further improve simulation model development efficiency and onboard ICD information screening efficiency, and reduce screening error rate.
Description
Technical Field
The present invention relates to the field of avionics systems, and in particular, to a method and an apparatus for generating an interface control document.
Background
The interface control document (Interface Control Document, ICD) is a technical document that defines and records functions, transmission characteristics and usage instructions of the interface data between the system or device as a core part of the avionics system architecture. The aviation simulator relies on an onboard ICD as design input in the development process, and the construction of a system model is completed based on the design input.
ARINC429 bus interface information to enable inter-device communication is also included in ICDs, but the ARINC429 bus has a uniform protocol specification and ARINC429 data packets consist of 32 valid data bits. Different ARINC429 buses may transmit different ARINC429 bus data packets, and different ARINC429 bus data packets may carry one or more different data messages.
In the development process of the existing aviation simulator subsystem simulation model, manual screening and identification of ARINC429 bus signals are generally carried out according to an onboard ICD in a complete machine state, ARINC429 bus data packets required by specific subsystem simulation equipment are positioned, and then the 32-bit ARINC429 bus data packets are manually analyzed to determine the data meaning of each bit transmission in the data packets.
However, in the onboard ICD with huge data information, the ARINC429 bus signals are subjected to long time consumption based on the traditional manual screening method, the screening efficiency is low, the development efficiency of the simulation model of the sub-system of the aviation simulator is affected, and the manual screening method is easy to cause screening errors and is difficult to ensure the screening accuracy.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a method and a device for generating an interface control document.
In a first aspect, the present invention provides a method for generating an interface control document, including:
acquiring data information of all ARINC429 bus signals in an airborne interface control document ICD;
according to the names of ARINC429 buses to which the ARINC429 bus signals respectively belong, respectively storing the data information of the ARINC429 bus signals in different data storage areas;
based on a preset ARINC429 bus signal ICD form rule, respectively generating a corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas;
the ARINC429 bus signal ICD form rule is formulated according to the data format of the ARINC429 bus signal and the development mode of an ARINC429 bus simulation interface of an aviation simulator subsystem simulation model.
Optionally, according to the method for generating the interface control document provided by the present invention, the rules of the ARINC429 bus signal ICD form are used for specifying that any one or more fields of the following are included in the generated ICD form:
the IO field is used for describing the transceiving mode of the ARINC429 bus corresponding to the ARINC429 bus signal;
the BusName field is used for describing the name of the ARINC429 bus corresponding to the ARINC429 bus signal;
A Label field, which is used for describing the first 8 bits of data of the data packet to which the ARINC429 bus signal belongs;
an SDI field, where the SDI field is used to describe a source identifier or a terminal identifier of a data packet to which the ARINC429 bus signal belongs;
a Type field, the Type field describing a signal Type of the ARINC429 bus signal;
the StartBit field is used for describing the start bit of the ARINC429 bus signal in a data packet to which the ARINC429 bus signal belongs;
a StopBit field, where the StopBit field is used to describe a termination bit of a data packet to which the ARINC429 bus signal belongs in the ARINC429 bus signal;
an MSB field for describing a highest bit precision value of an ARINC429 bus signal of which signal type is a BCD code or a BNR code;
a RefreshPERIod_Hz field, wherein the RefreshPERIod_Hz field is used for describing the transceiving frequency of a data packet to which an ARINC429 bus signal belongs;
the Sign field is used for describing whether the data packet to which the ARINC429 bus signal with the signal type of BCD code or BNR code belongs is indication information of signed data or not;
a Remarks field for describing remark information of the ARINC429 bus signal.
Optionally, according to the method for generating an interface control document provided by the present invention, the generating, based on a predetermined ARINC429 bus signal ICD form rule, a corresponding ICD form for the data information of the ARINC429 bus signal stored in the different data storage areas includes:
Traversing the different data storage areas, and determining first information in data information of ARINC429 bus signals stored in a target data storage area traversed currently, wherein the first information comprises a transceiving mode of an ARINC429 bus corresponding to the ARINC429 bus signals;
and storing the first information into the IO field in a target ICD form, wherein the target ICD form is an ICD form corresponding to the data information of the ARINC429 bus signal stored in the target data storage area.
Optionally, according to the method for generating an interface control document provided by the present invention, the generating corresponding ICD forms based on the predefined ARINC429 bus signal ICD form rules respectively for the data information of the ARINC429 bus signals stored in the different data storage areas, further includes:
and determining second information in the data information of the ARINC429 bus signals stored in the target data storage area, and storing the second information into the Label field in the target ICD form, wherein the second information comprises the first 8 bits of data of a data packet to which the ARINC429 bus signals belong.
Optionally, according to the method for generating an interface control document provided by the present invention, the generating corresponding ICD forms based on the predefined ARINC429 bus signal ICD form rules respectively for the data information of the ARINC429 bus signals stored in the different data storage areas, further includes:
Sorting the data packets to which the ARINC429 bus signals belong based on second information in the data information of the ARINC429 bus signals stored in the target data storage area;
sequentially analyzing the data packets of the ARINC429 bus signals after sequencing to obtain third information and fourth information in the data information of the ARINC429 bus signals stored in the target data storage area, wherein the third information comprises a source end identification code or a terminal identification code of the data packets of the ARINC429 bus signals, and the fourth information comprises the receiving and transmitting frequency of the data packets of the ARINC429 bus signals;
storing the third information to the SDI field in the target ICD form and the fourth information to the RefreshPERIod_Hz field in the target ICD form.
Optionally, according to the method for generating an interface control document provided by the present invention, the generating corresponding ICD forms based on the predefined ARINC429 bus signal ICD form rules respectively for the data information of the ARINC429 bus signals stored in the different data storage areas, further includes:
determining data information of a first ARINC429 bus signal in the ARINC429 bus signals stored in the target data storage area, wherein the second information in the data information of all the first ARINC429 bus signals is the same;
Determining fifth information in the data information of the first ARINC429 bus signal, and storing the fifth information in the StartBit field in the target ICD form, wherein the fifth information comprises a start bit of a data packet to which the first ARINC429 bus signal belongs in the first ARINC429 bus signal.
Optionally, according to the method for generating an interface control document provided by the present invention, the generating corresponding ICD forms based on the predefined ARINC429 bus signal ICD form rules respectively for the data information of the ARINC429 bus signals stored in the different data storage areas, further includes:
sorting the data packets to which the first ARINC429 bus signal belongs based on fifth information in the data information of the first ARINC429 bus signal;
sequentially analyzing the data packets of the first ARINC429 bus signals after sequencing to obtain sixth information and seventh information in the data information of the first ARINC429 bus signals, wherein the sixth information comprises a termination bit of the data packets of the first ARINC429 bus signals in the first ARINC429 bus signals, and the seventh information comprises remark information of the first ARINC429 bus signals;
And storing the sixth information into the StopBit field in the target ICD form, and storing the seventh information into the Remarks field in the target ICD form.
Optionally, according to the method for generating an interface control document provided by the present invention, the generating corresponding ICD forms based on the predefined ARINC429 bus signal ICD form rules respectively for the data information of the ARINC429 bus signals stored in the different data storage areas, further includes:
and determining eighth information in data information of the first ARINC429 bus signal, and storing the eighth information in the Type field in the target ICD form, wherein the eighth information comprises the signal Type of the first ARINC429 bus signal.
Optionally, according to the method for generating an interface control document provided by the present invention, the generating corresponding ICD forms based on the predefined ARINC429 bus signal ICD form rules respectively for the data information of the ARINC429 bus signals stored in the different data storage areas, further includes:
based on the eighth information, determining ninth information and tenth information in data information of the second ARINC429 bus signals under the condition that the signal type of the second ARINC429 bus signals in the first ARINC429 bus signals is BCD code or BNR code, wherein the ninth information comprises the highest bit precision value of the second ARINC429 bus signals, and the tenth information comprises indication information of whether a data packet to which the second ARINC429 bus signals belong is signed data;
Storing the ninth information to the MSB field in the target ICD form and storing the tenth information to the Sign field in the target ICD form.
In a second aspect, the present invention also provides a device for generating an interface control document, including:
the acquisition module is used for acquiring data information of all ARINC429 bus signals in the airborne interface control document ICD;
the storage module is used for respectively storing the data information of each ARINC429 bus signal in different data storage areas according to the name of the ARINC429 bus to which each ARINC429 bus signal belongs;
the generation module is used for respectively generating corresponding ICD forms for the data information of the ARINC429 bus signals stored in the different data storage areas based on a preset ARINC429 bus signal ICD form rule;
the ARINC429 bus signal ICD form rule is formulated according to the data format of the ARINC429 bus signal and the development mode of an ARINC429 bus simulation interface of an aviation simulator subsystem simulation model.
In a third aspect, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the method for generating an interface control document according to the first aspect when executing the program.
In a fourth aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of generating an interface control document according to the first aspect.
In a fifth aspect, the present invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the method of generating an interface control document according to the first aspect.
According to the method and the device for generating the interface control document, the ARINC429 bus signal ICD form rule applicable to the development of the aviation simulator subsystem simulation model is formulated by combining the data format of the ARINC429 bus signal and the development mode of the ARINC429 bus simulation interface of the aviation simulator subsystem simulation model, the ARINC429 bus signal ICD form of the aviation simulator subsystem simulation model is generated based on the formulated ARINC429 bus signal ICD form rule, the ARINC429 bus signal ICD form meets the ARINC429 bus protocol data packet specification, the method and the device can be applicable to airborne ICD documents of different models, different systems and different devices, and the ARINC429 bus signal form based on the subsystem simulation model enables aviation simulator subsystem simulation model developers to clearly identify the ARINC429 bus signal, further improves the simulation model development efficiency and the airborne ICD information screening efficiency, and reduces the airborne ICD information screening error rate.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for generating an interface control document according to the present invention;
FIG. 2 is a schematic diagram of the data format of ARINC429 bus signals provided by the invention;
FIG. 3 is a header format schematic of an ICD form provided by the present invention;
FIG. 4 is a second flow chart of the method for generating an interface control document according to the present invention;
FIG. 5 is a schematic diagram of the structure of the device for generating interface control document provided by the invention;
fig. 6 is a schematic diagram of the physical structure of the electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, in the description of the present invention, the terms "first," "second," and the like are used for distinguishing between similar objects and not for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present invention may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more.
In order to facilitate a clearer understanding of various embodiments of the present invention, some relevant background knowledge is first presented as follows.
The ARINC429 bus is widely applied to civil aviation aircraft by virtue of the characteristics of high reliability, stable performance, strong anti-interference performance and the like, and the ARINC429 bus protocol prescribes digital information transmission requirements between avionics system equipment and related systems or equipment. The on-board ICD, as a core part of the architecture of the avionics system, is a technical document for defining and recording functions, transmission characteristics and usage instructions of the data between systems or devices. The aviation simulator relies on an onboard ICD as design input in the development process, and the construction of a system model is completed based on the design input.
In the development process of the existing aviation simulator subsystem simulation model, manual screening and identification of ARINC429 bus signals are generally carried out according to an onboard ICD in a complete machine state, ARINC429 bus data packets required by specific subsystem simulation equipment are positioned, and then the 32-bit ARINC429 bus data packets are manually analyzed to determine the data meaning of each bit transmission in the data packets.
However, in the airborne ICD with huge data information, based on the traditional manual screening method, the ARINC429 bus signals which are specifically transmitted and are positioned to a certain bus in the ARINC429 buses with huge data information are huge in workload, and in the development process of the simulation model of the aircraft simulator subsystem, the ARINC429 bus signals required by the simulation system need to be screened continuously and repeatedly in the airborne ICD, so that the development efficiency of the simulation model is definitely affected by the manual screening method, and screening errors easily occur in the manual screening method, so that the screening accuracy is difficult to ensure. And with the continuous upgrading and updating of some development type aviation equipment, the airborne ICDs are synchronously updated, after each updating, the aviation simulator subsystem simulation model developer repeatedly performs screening work of ARINC429 bus data signals according to the new version of airborne ICDs according to new design requirements, and the workload of the developer is further increased.
In order to overcome the defects, the invention provides a method and a device for generating an interface control document. The method and the device for generating the interface control document provided by the invention are exemplarily described below with reference to the accompanying drawings.
FIG. 1 is a schematic flow chart of a method for generating an interface control document according to the present invention, as shown in FIG. 1, the method includes:
the ARINC429 bus signal ICD form rule is formulated according to the data format of the ARINC429 bus signal and the development mode of an ARINC429 bus simulation interface of an aviation simulator subsystem simulation model.
It should be noted that, the execution body of the method for generating the interface control document provided in the embodiment of the present invention may be an electronic device, a component in the electronic device, an integrated circuit, or a chip. The electronic device may be a mobile electronic device or a non-mobile electronic device. Illustratively, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a wearable device, an Ultra mobile personal computer (Ultra-mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a Television (Television, TV), a teller machine or a self-service machine, etc., which is not particularly limited by the embodiments of the present invention.
The following describes in detail the technical solution of the embodiment of the present invention by taking a computer to execute the method for generating the interface control document provided by the present invention as an example.
Specifically, in the airborne ICD with huge data information quantity, in order to overcome the defects that the existing manual screening method is longer in time consumption and lower in screening efficiency and affects the development efficiency of an aircraft simulator subsystem simulation model, screening errors are easy to occur in the manual screening method, and screening accuracy is difficult to guarantee, the invention combines the data format of the ARINC429 bus signal with the development mode of an ARINC429 bus simulation interface of an aircraft simulator subsystem simulation model, formulates the ARINC429 bus signal ICD form rule suitable for the development of the aircraft simulator subsystem simulation model, generates the ARINC429 bus signal ICD form of the aircraft simulator subsystem simulation model based on the formulated ARINC429 bus signal ICD form rule, accords with the ARINC429 bus protocol data packet specification, can be suitable for the airborne ICD documents of different models, different systems and different devices, and enables aircraft simulator subsystem simulation model developers to recognize the ARINC429 bus signal ICD form rule, improve the development efficiency of the aircraft simulator subsystem simulation model and the ICD information, and further reduce the screening error rate of the aircraft simulator subsystem simulation model.
It should be noted that, the method for generating the interface control document provided by the embodiment of the invention can be realized based on Python development, can run the program without any compiling environment by double clicking, and generates the ARINC429 bus signal ICD form of the subsystem simulation model of the aviation simulator by one key, thereby having simple and convenient operation.
Alternatively, in an embodiment of the present invention, the path of the on-board ICD may be first determined, and then the on-board ICD may be obtained based on the path of the on-board ICD.
In the on-board ICD, input/output interface information of the aircraft, the on-board system, and the on-board device for interactive communication between the devices or systems is recorded in detail.
Optionally, after the airborne ICD is acquired, the format of the airborne ICD may be determined, and then the objective function library is invoked according to the format of the airborne ICD, so as to acquire the data information of all ARINC429 bus signals in the airborne ICD.
Alternatively, the names of the ARINC429 buses to which the ARINC429 bus signals belong may be determined based on the data information of all ARINC429 bus signals, and then the data information of the ARINC429 bus signals is stored in different data storage areas according to the names of the ARINC429 buses to which the ARINC429 bus signals respectively belong.
It will be appreciated that in embodiments of the present invention, ARINC429 bus signals belonging to different ARINC429 bus names are stored with their data information in different data storage areas.
Specifically, in the embodiment of the present invention, data information of all signals in the airborne ICD may be acquired, then the data information of all signals in the airborne ICD is loaded into a DataFrame for storage, and then the whole machine interface data stored in the DataFrame is traversed, and data of the ARINC429 bus protocol is screened out to complete storage of the data information of the a429_dataframe, and further the data in the a429_dataframe is traversed, and distinguishing is performed according to the ARINC429 bus name as a minimum unit, and the data information of all ARINC429 bus signals required to be transmitted on each ARINC429 bus is stored in respective DataFrame bus packets.
Alternatively, the corresponding ICD tables may be generated for the data information of the ARINC429 bus signals stored in the different data storage areas, respectively, based on the predefined ARINC429 bus signal ICD table rules, that is, for each ARINC429 bus signal transmitted on the ARINC429 bus, an ICD table may be generated correspondingly.
Optionally, in an embodiment of the present invention, an ARINC429 bus signal ICD form rule may be formulated according to a data format of an ARINC429 bus signal and a development mode of an ARINC429 bus simulation interface of an avionic subsystem simulation model, where fig. 2 is a schematic diagram of the data format of the ARINC429 bus signal provided by the present invention, as shown in fig. 2.
It can be understood that, in the embodiment of the invention, the ARINC429 bus signal ICD form rule applicable to the development of the aviation simulator subsystem simulation model is formulated by combining with the ARINC429 bus simulation interface development mode of the aviation simulator subsystem simulation model according to ARINC429 bus protocol regulation, and one ARINC429 bus in the subsystem simulation model is used as the minimum unit, so that the automatic screening of the data information of the ARINC429 bus signals of different devices is realized in the whole ICD, and the data packet information contained in each ARINC429 bus is stored in the subsystem simulation model ARINC429 bus signal ICD, so that after the automatic screening and conversion, the ARINC429 bus data packet information required by each system simulation model is clearer, the working efficiency of a developer is greatly improved, and meanwhile, the error caused by manual screening can be avoided. In addition, according to development requirements, even if the onboard ICD is updated, the generation method of the interface control document provided by the embodiment of the invention can synchronously complete conversion, so that unnecessary repeated workload of developers is reduced.
According to the method for generating the interface control document, ARINC429 bus signal ICD form rules applicable to the development of the simulation model of the aviation simulator subsystem are formulated through the data format based on ARINC429 bus signals and combining with the development mode of the ARINC429 bus simulation interface of the simulation model of the aviation simulator subsystem, ARINC429 bus signal ICD form rules applicable to the development of the simulation model of the aviation simulator subsystem are generated based on the formulated ARINC429 bus signal ICD form rules, the ARINC429 bus signal ICD form meets the ARINC429 bus protocol data packet specifications, the method can be applicable to the airborne ICD documents of different models, different systems and different devices, and ARINC429 bus signal ICD form based on the simulation model of the subsystem enables aviation simulator subsystem simulation model developers to clearly identify the ARINC429 bus signals, further improves the simulation model development efficiency and the airborne ICD information screening efficiency, and reduces the airborne ICD information screening error rate.
Optionally, the ARINC429 bus signal ICD form rule is used to specify that any one or more of the following fields are included in the generated ICD form:
the IO field is used for describing the transceiving mode of the ARINC429 bus corresponding to the ARINC429 bus signal;
the BusName field is used for describing the name of the ARINC429 bus corresponding to the ARINC429 bus signal;
a Label field, which is used for describing the first 8 bits of data of the data packet to which the ARINC429 bus signal belongs;
an SDI field, where the SDI field is used to describe a source identifier or a terminal identifier of a data packet to which the ARINC429 bus signal belongs;
a Type field, the Type field describing a signal Type of the ARINC429 bus signal;
the StartBit field is used for describing the start bit of the ARINC429 bus signal in a data packet to which the ARINC429 bus signal belongs;
a StopBit field, where the StopBit field is used to describe a termination bit of a data packet to which the ARINC429 bus signal belongs in the ARINC429 bus signal;
an MSB field for describing a highest bit precision value of an ARINC429 bus signal of a signal type of a BCD (Binary-Coded Decimal) code or a BNR (Binary Number) code;
A RefreshPERIod_Hz field, wherein the RefreshPERIod_Hz field is used for describing the transceiving frequency of a data packet to which an ARINC429 bus signal belongs;
the Sign field is used for describing whether the data packet to which the ARINC429 bus signal with the signal type of BCD code or BNR code belongs is indication information of signed data or not;
a Remarks field for describing remark information of the ARINC429 bus signal.
Specifically, in the embodiment of the present invention, the ARINC429 bus signal ICD form rule may be used to specify that the generated ICD form includes, but is not limited to, the following field information: IO field, busName field, label field, SDI field, type field, startBit field, stopBit field, MSB field, refreshPERIod_Hz field, sign field and Remarks field, for example, FIG. 3 is a schematic diagram of the header format of the ICD form provided by the present invention, as shown in FIG. 3.
Optionally, the IO field may be used to describe a transceiving mode of the ARINC429 bus corresponding to the ARINC429 bus signal, for example, a receiving type or a transmitting type.
Optionally, the SDI field may be used to describe a source identifier or a terminal identifier of a packet to which the ARINC429 bus signal belongs, and the source device or the terminal device of the packet to which the ARINC429 bus signal belongs may be determined based on the source identifier or the terminal identifier.
Alternatively, the Type field may be used to describe the signal Type of the ARINC429 bus signal, such as BCD code, or BNR code, or DISC (tear down link frame) code.
It may be understood that in the embodiment of the present invention, the information of the IO field, the information of the BusName field, the information of the Label field, the information of the SDI field, the information of the Type field, the information of the StartBit field, the information of the StopBit field, the information of the MSB field, the information of the refresheriod_hz field, the information of the Sign field, and the information of the Remarks field, which are stored in each data storage area, may be extracted from each data storage area, and then the extracted information of each field is written into the corresponding field of the ICD form, so that the ICD form may be generated.
Optionally, the generating, based on the predefined ARINC429 bus signal ICD form rule, the corresponding ICD form for the data information of the ARINC429 bus signal stored in the different data storage areas includes:
traversing the different data storage areas, and determining first information in data information of ARINC429 bus signals stored in a target data storage area traversed currently, wherein the first information comprises a transceiving mode of an ARINC429 bus corresponding to the ARINC429 bus signals;
And storing the first information into the IO field in a target ICD form, wherein the target ICD form is an ICD form corresponding to the data information of the ARINC429 bus signal stored in the target data storage area.
Specifically, in the embodiment of the present invention, after the data information of each ARINC429 bus signal is stored in different data storage areas according to the name of the ARINC429 bus to which each ARINC429 bus signal belongs, the different data storage areas may be traversed, and the first information in the data information of the ARINC429 bus signal stored in the currently traversed target data storage area is determined, and then the first information is stored in the IO field in the target ICD table, where the first information includes the transmitting and receiving mode of the ARINC429 bus corresponding to the ARINC429 bus signal, and the target ICD table is the ICD table corresponding to the data information of the ARINC429 bus signal stored in the target data storage area.
Optionally, the generating, based on the predefined ARINC429 bus signal ICD form rule, a corresponding ICD form for the data information of the ARINC429 bus signal stored in the different data storage areas, respectively, further includes:
and determining second information in the data information of the ARINC429 bus signals stored in the target data storage area, and storing the second information into the Label field in the target ICD form, wherein the second information comprises the first 8 bits of data of a data packet to which the ARINC429 bus signals belong.
Specifically, in the embodiment of the present invention, the second information in the data information of the ARINC429 bus signal stored in the currently traversed target data storage area may be determined, and the second information is stored in the Label field in the target ICD form, where the second information includes the first 8 bits of data of the data packet to which the ARINC429 bus signal belongs.
Optionally, the generating, based on the predefined ARINC429 bus signal ICD form rule, a corresponding ICD form for the data information of the ARINC429 bus signal stored in the different data storage areas, respectively, further includes:
sorting the data packets to which the ARINC429 bus signals belong based on second information in the data information of the ARINC429 bus signals stored in the target data storage area;
sequentially analyzing the data packets of the ARINC429 bus signals after sequencing to obtain third information and fourth information in the data information of the ARINC429 bus signals stored in the target data storage area, wherein the third information comprises a source end identification code or a terminal identification code of the data packets of the ARINC429 bus signals, and the fourth information comprises the receiving and transmitting frequency of the data packets of the ARINC429 bus signals;
Storing the third information to the SDI field in the target ICD form and the fourth information to the RefreshPERIod_Hz field in the target ICD form.
Specifically, in the embodiment of the present invention, the data packets to which the ARINC429 bus signals belong may be ordered based on the second information in the data information of the ARINC429 bus signals stored in the currently traversed target data storage area, and then the ordered data packets to which the ARINC429 bus signals belong are sequentially parsed to obtain the third information and the fourth information in the data information of the ARINC429 bus signals stored in the target data storage area, and then the third information is stored in the SDI field in the target ICD table, and the fourth information is stored in the refreshperiod_hz field in the target ICD table, where the third information includes the source identifier or the terminal identifier of the data packets to which the ARINC429 bus signals belong, and the fourth information includes the transceiving frequency of the data packets to which the ARINC429 bus signals belong.
It should be noted that, the second information in the data information of the ARINC429 bus signal includes the first 8 bits of data of the data packet to which the ARINC429 bus signal belongs, which is identified by a Label, and in the embodiment of the present invention, the data packets to which the ARINC429 bus signal belongs are ordered based on the second information in the data information of the ARINC429 bus signal, that is, the data packets are ordered based on the Label identification of the data packet to which each ARINC429 bus signal belongs.
It should be noted that, by sorting the data packets to which each ARINC429 bus signal belongs based on the Label identifier, the screening of airborne ICD information can be facilitated, and the information screening efficiency is improved.
Optionally, the generating, based on the predefined ARINC429 bus signal ICD form rule, a corresponding ICD form for the data information of the ARINC429 bus signal stored in the different data storage areas, respectively, further includes:
determining data information of a first ARINC429 bus signal in the ARINC429 bus signals stored in the target data storage area, wherein the second information in the data information of all the first ARINC429 bus signals is the same;
determining fifth information in the data information of the first ARINC429 bus signal, and storing the fifth information in the StartBit field in the target ICD form, wherein the fifth information comprises a start bit of a data packet to which the first ARINC429 bus signal belongs in the first ARINC429 bus signal.
Specifically, in the embodiment of the present invention, the data information of the first ARINC429 bus signal in the ARINC429 bus signal stored in the currently traversed target data storage area may be determined, further, the fifth information in the data information of the first ARINC429 bus signal may be determined, and the fifth information may be stored in the StartBit field in the target ICD table, where the fifth information includes the start bit of the first ARINC429 bus signal in the data packet to which the first ARINC429 bus signal belongs, and the second information in the data information of all the first ARINC429 bus signals is the same.
It may be appreciated that in the embodiment of the present invention, the Label may be traversed to identify the same packet information (the data information of the first ARINC429 bus signal), determine the fifth information in each piece of traversed information, and store the fifth information in the StartBit field in the target ICD form.
Optionally, the generating, based on the predefined ARINC429 bus signal ICD form rule, a corresponding ICD form for the data information of the ARINC429 bus signal stored in the different data storage areas, respectively, further includes:
sorting the data packets to which the first ARINC429 bus signal belongs based on fifth information in the data information of the first ARINC429 bus signal;
sequentially analyzing the data packets of the first ARINC429 bus signals after sequencing to obtain sixth information and seventh information in the data information of the first ARINC429 bus signals, wherein the sixth information comprises a termination bit of the data packets of the first ARINC429 bus signals in the first ARINC429 bus signals, and the seventh information comprises remark information of the first ARINC429 bus signals;
and storing the sixth information into the StopBit field in the target ICD form, and storing the seventh information into the Remarks field in the target ICD form.
Specifically, in the embodiment of the present invention, based on fifth information in the data information of the first ARINC429 bus signal, the data packets to which the first ARINC429 bus signal belongs may be ordered, and further, the ordered data packets to which the first ARINC429 bus signal belongs are sequentially parsed, so as to obtain sixth information and seventh information in the data information of the first ARINC429 bus signal, and then the sixth information is stored in a StopBit field in the target ICD table, and the seventh information is stored in a Remarks field in the target ICD table, where the sixth information includes a termination bit of the data packet to which the first ARINC429 bus signal belongs in the first ARINC429 bus signal, and the seventh information includes remark information of the first ARINC429 bus signal.
It should be noted that, the fifth information in the data information of the first ARINC429 bus signal includes the start bit of the first ARINC429 bus signal in the data packet to which the first ARINC429 bus signal belongs, which is identified by StartBit, and in the embodiment of the present invention, the data packets to which the first ARINC429 bus signal belongs are ordered based on the fifth information in the data information of the first ARINC429 bus signal, that is, the StartBit of the data packet to which each first ARINC429 bus signal belongs is ordered based on the StartBit of the data packet to which each first ARINC429 bus signal belongs.
It should be noted that, by sorting the data packets to which each first ARINC429 bus signal belongs based on StartBit, screening of airborne ICD information can be facilitated, and information screening efficiency is improved.
Optionally, the generating, based on the predefined ARINC429 bus signal ICD form rule, a corresponding ICD form for the data information of the ARINC429 bus signal stored in the different data storage areas, respectively, further includes:
and determining eighth information in data information of the first ARINC429 bus signal, and storing the eighth information in the Type field in the target ICD form, wherein the eighth information comprises the signal Type of the first ARINC429 bus signal.
Specifically, in the embodiment of the present invention, eighth information in the data information of the first ARINC429 bus signal may be determined, and the eighth information may be stored in a Type field in the target ICD form, where the eighth information includes the signal Type of the first ARINC429 bus signal.
Optionally, the generating, based on the predefined ARINC429 bus signal ICD form rule, a corresponding ICD form for the data information of the ARINC429 bus signal stored in the different data storage areas, respectively, further includes:
Based on the eighth information, determining ninth information and tenth information in data information of the second ARINC429 bus signals under the condition that the signal type of the second ARINC429 bus signals in the first ARINC429 bus signals is BCD code or BNR code, wherein the ninth information comprises the highest bit precision value of the second ARINC429 bus signals, and the tenth information comprises indication information of whether a data packet to which the second ARINC429 bus signals belong is signed data;
storing the ninth information to the MSB field in the target ICD form and storing the tenth information to the Sign field in the target ICD form.
Specifically, in the embodiment of the present invention, it may be determined whether the signal type of the first ARINC429 bus signal is a BCD code or a BNR code based on eighth information in the data information of the first ARINC429 bus signal, and if it is determined that the signal type of the first ARINC429 bus signal is a BCD code or a BNR code, then determine ninth information and tenth information in the data information of the first ARINC429 bus signal, then store the ninth information in the MSB field in the target ICD table, and store tenth information in the Sign field in the target ICD table, where the ninth information includes the highest bit precision value of the first ARINC429 bus signal, and the tenth information includes the indication information of whether the data packet to which the first ARINC429 bus signal belongs is signed data.
Fig. 4 is a second flow chart of the method for generating the interface control document provided by the present invention, as shown in fig. 4, by dividing different DataFrame storage areas according to names of ARINC429 buses, traversing data information of each ARINC429 bus signal stored in each DataFrame storage area according to a software algorithm, firstly identifying a transceiving mode (IO) of the ARINC429 bus, secondly identifying the first 8 bits of data (Label) of a data packet to which each ARINC429 bus signal belongs, further sequencing the data packet to which each ARINC429 bus signal belongs from small to large based on Label numbers, further analyzing SDI value and transceiving frequency value (refreshperiod_hz) of each Label number, then traversing data packet information of the same Label number, identifying StartBit of each traversed data packet information, sequentially sequencing from small to large according to StartBit, and storing the StopBit of each information in correspondence with the StartBit of the StartBit information at 32 and ending the start bit of the data packet. And traversing all data packet information again, identifying whether the data packet is of a BCD or BNR data type, if the data packet is of a BCD or BNR data type, further analyzing MSB and Sign types of the data packet, and binding and storing remark information of each ARINC429 bus signal in an on-board ICD table in a StartBit of the Label number, so that the data information of each data signal in each bus is respectively stored.
It can be appreciated that the method for generating the interface control document provided by the embodiment of the invention prepares a unified ARINC429 bus signal ICD form rule, accords with ARINC429 bus protocol, satisfies the development specification of the virtual bus interface of the simulation model of the aviation simulator, standardizes all simulation models ARINC429 bus interfaces of the whole machine, can avoid the problem that the naming rule of the ARINC429 bus signal is not uniform due to different developers to a certain extent, and converts the airborne ICD into each subsystem ARINC429 bus signal ICD form based on the prepared ARINC429 bus signal ICD form rule, so that the simulation model developer of the aviation simulator can clearly identify the ARINC429 bus signal, further improves the development efficiency of the simulation model and the screening efficiency of the airborne ICD information, and reduces the screening error rate of the airborne ICD information.
According to the method for generating the interface control document, ARINC429 bus signal ICD form rules applicable to the development of the simulation model of the aviation simulator subsystem are formulated through the data format based on ARINC429 bus signals and combining with the development mode of the ARINC429 bus simulation interface of the simulation model of the aviation simulator subsystem, ARINC429 bus signal ICD form rules applicable to the development of the simulation model of the aviation simulator subsystem are generated based on the formulated ARINC429 bus signal ICD form rules, the ARINC429 bus signal ICD form meets the ARINC429 bus protocol data packet specifications, the method can be applicable to the airborne ICD documents of different models, different systems and different devices, and ARINC429 bus signal ICD form based on the simulation model of the subsystem enables aviation simulator subsystem simulation model developers to clearly identify the ARINC429 bus signals, further improves the simulation model development efficiency and the airborne ICD information screening efficiency, and reduces the airborne ICD information screening error rate.
The generation device of the interface control document provided by the invention is described below, and the generation device of the interface control document described below and the generation method of the interface control document described above can be referred to correspondingly.
Fig. 5 is a schematic structural diagram of an interface control document generating device provided by the present invention, as shown in fig. 5, the device includes: an acquisition module 510, a storage module 520, and a generation module 530; wherein:
the acquiring module 510 is configured to acquire data information of all ARINC429 bus signals in the airborne interface control document ICD;
the storage module 520 is configured to store data information of each ARINC429 bus signal in different data storage areas according to names of ARINC429 buses to which each ARINC429 bus signal belongs respectively;
the generating module 530 is configured to generate corresponding ICD forms for the data information of the ARINC429 bus signals stored in the different data storage areas, based on a predetermined ARINC429 bus signal ICD form rule;
the ARINC429 bus signal ICD form rule is formulated according to the data format of the ARINC429 bus signal and the development mode of an ARINC429 bus simulation interface of an aviation simulator subsystem simulation model.
Optionally, the ARINC429 bus signal ICD form rule is used to specify that any one or more of the following fields are included in the generated ICD form:
the IO field is used for describing the transceiving mode of the ARINC429 bus corresponding to the ARINC429 bus signal;
the BusName field is used for describing the name of the ARINC429 bus corresponding to the ARINC429 bus signal;
a Label field, which is used for describing the first 8 bits of data of the data packet to which the ARINC429 bus signal belongs;
an SDI field, where the SDI field is used to describe a source identifier or a terminal identifier of a data packet to which the ARINC429 bus signal belongs;
a Type field, the Type field describing a signal Type of the ARINC429 bus signal;
the StartBit field is used for describing the start bit of the ARINC429 bus signal in a data packet to which the ARINC429 bus signal belongs;
a StopBit field, where the StopBit field is used to describe a termination bit of a data packet to which the ARINC429 bus signal belongs in the ARINC429 bus signal;
an MSB field for describing a highest bit precision value of an ARINC429 bus signal of which signal type is a BCD code or a BNR code;
a RefreshPERIod_Hz field, wherein the RefreshPERIod_Hz field is used for describing the transceiving frequency of a data packet to which an ARINC429 bus signal belongs;
The Sign field is used for describing whether the data packet to which the ARINC429 bus signal with the signal type of BCD code or BNR code belongs is indication information of signed data or not;
a Remarks field for describing remark information of the ARINC429 bus signal.
Optionally, the generating module 530 is specifically configured to:
traversing the different data storage areas, and determining first information in data information of ARINC429 bus signals stored in a target data storage area traversed currently, wherein the first information comprises a transceiving mode of an ARINC429 bus corresponding to the ARINC429 bus signals;
and storing the first information into the IO field in a target ICD form, wherein the target ICD form is an ICD form corresponding to the data information of the ARINC429 bus signal stored in the target data storage area.
Optionally, the generating module 530 is further specifically configured to:
and determining second information in the data information of the ARINC429 bus signals stored in the target data storage area, and storing the second information into the Label field in the target ICD form, wherein the second information comprises the first 8 bits of data of a data packet to which the ARINC429 bus signals belong.
Optionally, the generating module 530 is further specifically configured to:
sorting the data packets to which the ARINC429 bus signals belong based on second information in the data information of the ARINC429 bus signals stored in the target data storage area;
sequentially analyzing the data packets of the ARINC429 bus signals after sequencing to obtain third information and fourth information in the data information of the ARINC429 bus signals stored in the target data storage area, wherein the third information comprises a source end identification code or a terminal identification code of the data packets of the ARINC429 bus signals, and the fourth information comprises the receiving and transmitting frequency of the data packets of the ARINC429 bus signals;
storing the third information to the SDI field in the target ICD form and the fourth information to the RefreshPERIod_Hz field in the target ICD form.
Optionally, the generating module 530 is further specifically configured to:
determining data information of a first ARINC429 bus signal in the ARINC429 bus signals stored in the target data storage area, wherein the second information in the data information of all the first ARINC429 bus signals is the same;
determining fifth information in the data information of the first ARINC429 bus signal, and storing the fifth information in the StartBit field in the target ICD form, wherein the fifth information comprises a start bit of a data packet to which the first ARINC429 bus signal belongs in the first ARINC429 bus signal.
Optionally, the generating module 530 is further specifically configured to:
sorting the data packets to which the first ARINC429 bus signal belongs based on fifth information in the data information of the first ARINC429 bus signal;
sequentially analyzing the data packets of the first ARINC429 bus signals after sequencing to obtain sixth information and seventh information in the data information of the first ARINC429 bus signals, wherein the sixth information comprises a termination bit of the data packets of the first ARINC429 bus signals in the first ARINC429 bus signals, and the seventh information comprises remark information of the first ARINC429 bus signals;
and storing the sixth information into the StopBit field in the target ICD form, and storing the seventh information into the Remarks field in the target ICD form.
Optionally, the generating module 530 is further specifically configured to:
and determining eighth information in data information of the first ARINC429 bus signal, and storing the eighth information in the Type field in the target ICD form, wherein the eighth information comprises the signal Type of the first ARINC429 bus signal.
Optionally, the generating module 530 is further specifically configured to:
Based on the eighth information, determining ninth information and tenth information in data information of the second ARINC429 bus signals under the condition that the signal type of the second ARINC429 bus signals in the first ARINC429 bus signals is BCD code or BNR code, wherein the ninth information comprises the highest bit precision value of the second ARINC429 bus signals, and the tenth information comprises indication information of whether a data packet to which the second ARINC429 bus signals belong is signed data;
storing the ninth information to the MSB field in the target ICD form and storing the tenth information to the Sign field in the target ICD form.
It should be noted that, the generating device of the interface control document provided by the embodiment of the present invention can implement all the method steps implemented by the generating method embodiment of the interface control document, and can achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those of the method embodiment in the embodiment are omitted.
Fig. 6 is a schematic physical structure of an electronic device according to the present invention, as shown in fig. 6, the electronic device may include: processor 610, communication interface (Communications Interface) 620, memory 630, and communication bus 640, wherein processor 610, communication interface 620, and memory 630 communicate with each other via communication bus 640. The processor 610 may invoke logic instructions in the memory 630 to perform the method of generating an interface control document provided by the methods described above, the method comprising:
Acquiring data information of all ARINC429 bus signals in an airborne interface control document ICD;
according to the names of ARINC429 buses to which the ARINC429 bus signals respectively belong, respectively storing the data information of the ARINC429 bus signals in different data storage areas;
based on a preset ARINC429 bus signal ICD form rule, respectively generating a corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas;
the ARINC429 bus signal ICD form rule is formulated according to the data format of the ARINC429 bus signal and the development mode of an ARINC429 bus simulation interface of an aviation simulator subsystem simulation model.
Further, the logic instructions in the memory 630 may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform a method of generating an interface control document provided by the methods described above, the method comprising:
acquiring data information of all ARINC429 bus signals in an airborne interface control document ICD;
according to the names of ARINC429 buses to which the ARINC429 bus signals respectively belong, respectively storing the data information of the ARINC429 bus signals in different data storage areas;
based on a preset ARINC429 bus signal ICD form rule, respectively generating a corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas;
the ARINC429 bus signal ICD form rule is formulated according to the data format of the ARINC429 bus signal and the development mode of an ARINC429 bus simulation interface of an aviation simulator subsystem simulation model.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the method of generating the interface control document provided above, the method comprising:
Acquiring data information of all ARINC429 bus signals in an airborne interface control document ICD;
according to the names of ARINC429 buses to which the ARINC429 bus signals respectively belong, respectively storing the data information of the ARINC429 bus signals in different data storage areas;
based on a preset ARINC429 bus signal ICD form rule, respectively generating a corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas;
the ARINC429 bus signal ICD form rule is formulated according to the data format of the ARINC429 bus signal and the development mode of an ARINC429 bus simulation interface of an aviation simulator subsystem simulation model.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for generating an interface control document, comprising:
acquiring data information of all ARINC429 bus signals in an airborne interface control document ICD;
according to the names of ARINC429 buses to which the ARINC429 bus signals respectively belong, respectively storing the data information of the ARINC429 bus signals in different data storage areas;
based on a preset ARINC429 bus signal ICD form rule, respectively generating a corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas;
the ARINC429 bus signal ICD form rule is formulated according to the data format of the ARINC429 bus signal and the development mode of an ARINC429 bus simulation interface of an aviation simulator subsystem simulation model.
2. The method for generating an interface control document according to claim 1, wherein the ARINC429 bus signal ICD form rule is used for specifying that any one or more of the following fields are included in the generated ICD form:
the IO field is used for describing the transceiving mode of the ARINC429 bus corresponding to the ARINC429 bus signal;
the BusName field is used for describing the name of the ARINC429 bus corresponding to the ARINC429 bus signal;
A Label field, which is used for describing the first 8 bits of data of the data packet to which the ARINC429 bus signal belongs;
an SDI field, where the SDI field is used to describe a source identifier or a terminal identifier of a data packet to which the ARINC429 bus signal belongs;
a Type field, the Type field describing a signal Type of the ARINC429 bus signal;
the StartBit field is used for describing the start bit of the ARINC429 bus signal in a data packet to which the ARINC429 bus signal belongs;
a StopBit field, where the StopBit field is used to describe a termination bit of a data packet to which the ARINC429 bus signal belongs in the ARINC429 bus signal;
an MSB field for describing a highest bit precision value of an ARINC429 bus signal of which signal type is a BCD code or a BNR code;
a RefreshPERIod_Hz field, wherein the RefreshPERIod_Hz field is used for describing the transceiving frequency of a data packet to which an ARINC429 bus signal belongs;
the Sign field is used for describing whether the data packet to which the ARINC429 bus signal with the signal type of BCD code or BNR code belongs is indication information of signed data or not;
a Remarks field for describing remark information of the ARINC429 bus signal.
3. The method for generating an interface control document according to claim 2, wherein generating the corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas based on the predefined ARINC429 bus signal ICD form rule, respectively, includes:
Traversing the different data storage areas, and determining first information in data information of ARINC429 bus signals stored in a target data storage area traversed currently, wherein the first information comprises a transceiving mode of an ARINC429 bus corresponding to the ARINC429 bus signals;
and storing the first information into the IO field in a target ICD form, wherein the target ICD form is an ICD form corresponding to the data information of the ARINC429 bus signal stored in the target data storage area.
4. The method for generating an interface control document according to claim 3, wherein generating the corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas based on the predefined ARINC429 bus signal ICD form rule, respectively, further comprises:
and determining second information in the data information of the ARINC429 bus signals stored in the target data storage area, and storing the second information into the Label field in the target ICD form, wherein the second information comprises the first 8 bits of data of a data packet to which the ARINC429 bus signals belong.
5. The method for generating an interface control document according to claim 4, wherein generating the corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas based on the predefined ARINC429 bus signal ICD form rule, respectively, further comprises:
Sorting the data packets to which the ARINC429 bus signals belong based on second information in the data information of the ARINC429 bus signals stored in the target data storage area;
sequentially analyzing the data packets of the ARINC429 bus signals after sequencing to obtain third information and fourth information in the data information of the ARINC429 bus signals stored in the target data storage area, wherein the third information comprises a source end identification code or a terminal identification code of the data packets of the ARINC429 bus signals, and the fourth information comprises the receiving and transmitting frequency of the data packets of the ARINC429 bus signals;
storing the third information to the SDI field in the target ICD form and the fourth information to the RefreshPERIod_Hz field in the target ICD form.
6. The method for generating an interface control document according to claim 4 or 5, wherein the generating the corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas based on the predefined ARINC429 bus signal ICD form rule, respectively, further comprises:
determining data information of a first ARINC429 bus signal in the ARINC429 bus signals stored in the target data storage area, wherein the second information in the data information of all the first ARINC429 bus signals is the same;
Determining fifth information in the data information of the first ARINC429 bus signal, and storing the fifth information in the StartBit field in the target ICD form, wherein the fifth information comprises a start bit of a data packet to which the first ARINC429 bus signal belongs in the first ARINC429 bus signal.
7. The method for generating an interface control document according to claim 6, wherein generating the corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas based on the predefined ARINC429 bus signal ICD form rule, respectively, further comprises:
sorting the data packets to which the first ARINC429 bus signal belongs based on fifth information in the data information of the first ARINC429 bus signal;
sequentially analyzing the data packets of the first ARINC429 bus signals after sequencing to obtain sixth information and seventh information in the data information of the first ARINC429 bus signals, wherein the sixth information comprises a termination bit of the data packets of the first ARINC429 bus signals in the first ARINC429 bus signals, and the seventh information comprises remark information of the first ARINC429 bus signals;
And storing the sixth information into the StopBit field in the target ICD form, and storing the seventh information into the Remarks field in the target ICD form.
8. The method for generating an interface control document according to claim 6, wherein generating the corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas based on the predefined ARINC429 bus signal ICD form rule, respectively, further comprises:
and determining eighth information in data information of the first ARINC429 bus signal, and storing the eighth information in the Type field in the target ICD form, wherein the eighth information comprises the signal Type of the first ARINC429 bus signal.
9. The method for generating an interface control document according to claim 8, wherein generating the corresponding ICD form for the data information of the ARINC429 bus signals stored in the different data storage areas based on the predefined ARINC429 bus signal ICD form rule, respectively, further comprises:
based on the eighth information, determining ninth information and tenth information in data information of the second ARINC429 bus signals under the condition that the signal type of the second ARINC429 bus signals in the first ARINC429 bus signals is BCD code or BNR code, wherein the ninth information comprises the highest bit precision value of the second ARINC429 bus signals, and the tenth information comprises indication information of whether a data packet to which the second ARINC429 bus signals belong is signed data;
Storing the ninth information to the MSB field in the target ICD form and storing the tenth information to the Sign field in the target ICD form.
10. An interface control document generation apparatus, comprising:
the acquisition module is used for acquiring data information of all ARINC429 bus signals in the airborne interface control document ICD;
the storage module is used for respectively storing the data information of each ARINC429 bus signal in different data storage areas according to the name of the ARINC429 bus to which each ARINC429 bus signal belongs;
the generation module is used for respectively generating corresponding ICD forms for the data information of the ARINC429 bus signals stored in the different data storage areas based on a preset ARINC429 bus signal ICD form rule;
the ARINC429 bus signal ICD form rule is formulated according to the data format of the ARINC429 bus signal and the development mode of an ARINC429 bus simulation interface of an aviation simulator subsystem simulation model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310397957.3A CN116107703A (en) | 2023-04-14 | 2023-04-14 | Interface control document generation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310397957.3A CN116107703A (en) | 2023-04-14 | 2023-04-14 | Interface control document generation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116107703A true CN116107703A (en) | 2023-05-12 |
Family
ID=86265947
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310397957.3A Pending CN116107703A (en) | 2023-04-14 | 2023-04-14 | Interface control document generation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116107703A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116339703A (en) * | 2023-05-24 | 2023-06-27 | 北京蓝天航空科技股份有限公司 | Bus interface code generation method and device, electronic equipment and medium |
CN116627390A (en) * | 2023-07-21 | 2023-08-22 | 成都凯迪飞研科技有限责任公司 | ICD file substitution method and device in aviation software development |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461881A (en) * | 2014-12-03 | 2015-03-25 | 陕西千山航空电子有限责任公司 | ICD-oriented ARINC429 bus signal simulation test assembly |
CN105550254A (en) * | 2015-12-05 | 2016-05-04 | 中国航空工业集团公司洛阳电光设备研究所 | Method for automatically generating ICD (Interface Control Document) information database by ICD information |
CN107066243A (en) * | 2016-12-06 | 2017-08-18 | 西安航空学院 | A kind of parsing of general airborne-bus interface control document and packaging method |
CN114707242A (en) * | 2022-03-31 | 2022-07-05 | 西安航空学院 | Universal airborne data bus monitoring and testing software framework design method |
-
2023
- 2023-04-14 CN CN202310397957.3A patent/CN116107703A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461881A (en) * | 2014-12-03 | 2015-03-25 | 陕西千山航空电子有限责任公司 | ICD-oriented ARINC429 bus signal simulation test assembly |
CN105550254A (en) * | 2015-12-05 | 2016-05-04 | 中国航空工业集团公司洛阳电光设备研究所 | Method for automatically generating ICD (Interface Control Document) information database by ICD information |
CN107066243A (en) * | 2016-12-06 | 2017-08-18 | 西安航空学院 | A kind of parsing of general airborne-bus interface control document and packaging method |
CN114707242A (en) * | 2022-03-31 | 2022-07-05 | 西安航空学院 | Universal airborne data bus monitoring and testing software framework design method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116339703A (en) * | 2023-05-24 | 2023-06-27 | 北京蓝天航空科技股份有限公司 | Bus interface code generation method and device, electronic equipment and medium |
CN116339703B (en) * | 2023-05-24 | 2023-08-15 | 北京蓝天航空科技股份有限公司 | Bus interface code generation method and device, electronic equipment and medium |
CN116627390A (en) * | 2023-07-21 | 2023-08-22 | 成都凯迪飞研科技有限责任公司 | ICD file substitution method and device in aviation software development |
CN116627390B (en) * | 2023-07-21 | 2023-09-29 | 成都凯迪飞研科技有限责任公司 | ICD file substitution method and device in aviation software development |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116107703A (en) | Interface control document generation method and device | |
CN107861871B (en) | Gray scale publishing method, device, server and storage medium | |
CN109116315B (en) | General radar avionics simulation system | |
CN111414409B (en) | Method and device for exchanging data between game engines, storage medium and electronic equipment | |
CN109408247A (en) | Interaction data processing method and device | |
CN110769002A (en) | LabVIEW-based message analysis method, system, electronic device and medium | |
CN113364732B (en) | Vehicle-mounted terminal communication protocol analysis method and device | |
CN110460653A (en) | The method and device of automatic driving vehicle data transmission | |
CN116126478B (en) | Method, device, equipment and medium for generating interface control document | |
CN110990350B (en) | Log analysis method and device | |
CN112416557B (en) | Method and device for determining call relation, storage medium and electronic device | |
CN113138906A (en) | Call chain data acquisition method, device, equipment and storage medium | |
CN108540439A (en) | Data analysis method and system, equipment and storage medium | |
CN112527678A (en) | Method, apparatus, device and storage medium for testing protocol | |
CN115408034A (en) | Vehicle-mounted controller upgrading method and device, electronic equipment and storage medium | |
CN114745452A (en) | Equipment management method and device and electronic equipment | |
CN114416597A (en) | Test case record generation method and device | |
CN114756470A (en) | Test file generation method and device, storage medium and computer equipment | |
CN110955709B (en) | Data processing method and device and electronic equipment | |
CN105700906B (en) | Optical module software upgrading method, related equipment and system | |
CN113485890A (en) | Flight inquiry system service monitoring method, device, equipment and storage medium | |
CN111352751A (en) | Data file generation method and device, computer equipment and storage medium | |
CN116339703B (en) | Bus interface code generation method and device, electronic equipment and medium | |
CN116136813B (en) | Method, device and storage medium for simulating adaptive multi-model avionics signals | |
CN114302425B (en) | Equipment network distribution method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230512 |
|
RJ01 | Rejection of invention patent application after publication |