CN115454915A - Comprehensive avionics system bus analysis method and device and storage medium - Google Patents

Comprehensive avionics system bus analysis method and device and storage medium Download PDF

Info

Publication number
CN115454915A
CN115454915A CN202211076288.1A CN202211076288A CN115454915A CN 115454915 A CN115454915 A CN 115454915A CN 202211076288 A CN202211076288 A CN 202211076288A CN 115454915 A CN115454915 A CN 115454915A
Authority
CN
China
Prior art keywords
data
bus
analysis method
avionics system
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211076288.1A
Other languages
Chinese (zh)
Inventor
李谦
贾磊
刘康
王晓明
温世杰
袁盾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Jinhang Computing Technology Research Institute filed Critical Tianjin Jinhang Computing Technology Research Institute
Priority to CN202211076288.1A priority Critical patent/CN115454915A/en
Publication of CN115454915A publication Critical patent/CN115454915A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Computer Hardware Design (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a comprehensive avionics system bus analysis method, a comprehensive avionics system bus analysis device and a storage medium, wherein the comprehensive avionics system bus analysis method comprises the following steps: initializing a network and providing a 1553B bus data interface; completing 1553B bus data mapping, and storing the mapped bus data into a data buffer area; screening and checking data in the data buffer area; creating and configuring a bus database, and analyzing bus data; converting the analyzed bus data into a database table for storage and providing a data query interface; carrying out real-time numerical display and visual display on the inquired data; according to the data analysis method and device, the data in the recording card can be analyzed according to the regulations in the total comparison file in the recording card for storing the data in the 1553B bus in the comprehensive avionic system, the analyzed data are converted into the database table to be stored, and ground service personnel can select the display mode of the data and directly check the data.

Description

Comprehensive avionics system bus analysis method and device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for analyzing a bus of a comprehensive avionics system, and a storage medium.
Background
With the rapid development of avionics technology, an integrated avionics system becomes a mainstream design system architecture, an analog system is replaced by a full-digital computer and signals, and various airborne equipment and systems are interconnected through a digital bus network to realize centralized control and distributed processing, generally, 1553B bus standards are used among the airborne equipment, and the standards provide reliable media for data communication among different airborne equipment and systems.
A 1553B bus protocol defines a bus monitoring mechanism for recording bus data, but the existing bus data recording is usually in a hexadecimal format, ground staff cannot intuitively acquire the physical meaning of the bus data in the use process, and the bus data can be understood by the ground staff only by parsing according to an interface control file specified by a host, which is complex and wastes a lot of time.
Disclosure of Invention
The invention aims to solve the problems and provide a comprehensive avionics system bus analysis method.
In a first aspect, the present application provides a method for analyzing a bus of an integrated avionics system, including:
initializing the 1553B bus network and providing a 1553B bus data interface;
completing 1553B bus data mapping, and calling the 1553B bus data interface to store the mapped bus data to a data buffer area;
screening and checking the data in the data buffer area to obtain the data with correct check;
creating and configuring a bus database for the data which is correctly checked, and analyzing the bus data in the bus database;
converting the analyzed bus data into a database table for storage and providing a data query interface;
performing data query through the data query interface;
and carrying out real-time numerical display and visual display on the inquired data.
According to the technical scheme provided by the embodiment of the application, the initialization of the 1553B bus network comprises the following steps:
self-detection is carried out on the 1553B bus board card by using a self-detection circuit;
configuring the 1553B bus board card function;
after the self-detection and configuration functions are normal, a data buffer area is established;
finishing the initialization function of the 1553B bus network;
setting the working mode of the 1553B bus board card to be an information receiving mode;
a 1553B bus data access interface is provided.
According to the technical scheme provided by the embodiment of the application, the screening and checking of the data in the data buffer area comprises the following steps:
screening and checking the data in the data buffer area through a data checking packet;
storing the data which is verified correctly to the recording card;
and discarding the data with the error check, and recording the data into a data error area for a worker to analyze.
According to the technical scheme provided by the embodiment of the application, the bus database is created and configured for the data with correct verification, and the bus database comprises the following steps:
and generating input, output and query interfaces of the bus database.
According to the technical scheme provided by the embodiment of the application, the real-time numerical display and visual display of the inquired data are carried out, and the method comprises the following steps:
judging whether the data stored in the database table is in an online analysis mode:
if yes, the analyzed data can be visually displayed;
if not, judging the output mode of the data:
if the output in the file mode is selected, generating a data file corresponding to the data block in the specified format;
if the data block is selected to be output in a graphic mode, the numerical value of the corresponding data block and the corresponding physical meaning are displayed.
In a second aspect, the present application further provides a terminal device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implementing the steps of the integrated avionics system bus analysis method of any of claims 1 to 5.
In a third aspect, the present application further provides a computer readable storage medium, on which a comprehensive avionics bus analysis program is stored, and the comprehensive avionics bus analysis program, when executed by a processor, implements the steps of any one of the comprehensive avionics bus analysis methods described above
Compared with the prior art, the beneficial effect of this application: according to the comprehensive avionics system bus analysis method, data in a 1553B bus in a comprehensive avionics system can be stored in a recording card, hexadecimal bus data are analyzed according to data word characteristics specified in a total comparison file, the bus data are converted into a database table through a database standard interface to be stored, a data query interface is provided, ground service workers can conduct real-time numerical display and visual display on the queried data through the data query interface, and the physical meaning of the bus data can be directly obtained without comparison with the total comparison file.
Drawings
FIG. 1 is a network topology diagram of a comprehensive airline system provided in an embodiment of the present application;
FIG. 2 is a flow chart of a comprehensive airline system analysis method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a server according to a fourth embodiment of the present application.
The text labels in the figures are represented as:
400. a server side; 401. a Central Processing Unit (CPU); 402. read Only Memory (ROM); 403. Random Access Memory (RAM); 404. a bus; 405. an input/output (I/O) interface; 406. An input section; 407. an output section; 408. a storage section; 409. a communication section; 410. a driver; 411. a removable media.
Detailed Description
The following detailed description of the present application is given for the purpose of enabling those skilled in the art to better understand the technical solutions of the present application, and the description in this section is only exemplary and explanatory, and should not be taken as limiting the scope of the present application in any way.
Example one
Referring to fig. 1, the present embodiment provides an integrated avionics system bus analysis method, which is based on an integrated avionics system and onboard devices connected to the integrated avionics system, where the integrated avionics system is configured to receive information inside the onboard devices, and the integrated avionics system includes: the system comprises a 1553B network communication module, a bus data management module, a bus data analysis module and a user exchange module. Referring to fig. 1, the method for analyzing the integrated avionics system bus comprises the following steps:
s1, initializing a 1553B bus network, and providing a 1553B bus data interface;
specifically, in this embodiment, the 1553B network communication module firstly performs self-detection on the 1553B bus board by using a self-detection circuit, and configures functions of the 1553B board, where the configuration mode includes: a bus coupling mode, high and low level setting and broadcasting mode selection are carried out; when self-detection and function setting are normal, a data buffer area is created, after the data buffer area is created, the initialization function of the 1553B bus network is completed, then the working mode of the 1553B bus board card is set to be an information receiving mode, the information receiving mode can transmit information in each airborne device to a 1553B bus, and a 1553B bus data access interface is generated.
S2, completing 1553B bus data mapping, and calling a 1553B bus data interface to store the mapped bus data in a data buffer area;
the bus data management module maps data objects such as RT address information, RT sub-address information, data packet length information and transmission mode information defined in the 1553B bus with data source addresses, destination addresses, data blocks and data words in a total comparison file, and stores the mapped data into a data buffer area for standby.
S3, screening and verifying the data in the data buffer area to obtain the data with correct verification;
and calling the 1553B bus data interface to circularly receive the data in the data buffer area, screening and checking the received bus data and the content in the total comparison file through a check data packet, storing the data which is checked correctly into a recording card, discarding the data which is checked incorrectly, recording the data into a data error area for ground service personnel to analyze, storing the data which is checked correctly and the data which is checked incorrectly into a backup file, and analyzing the data which is in the backup file when the data is in an off-line mode.
S4, a bus database is established and configured for the data which are correctly checked, and bus data in the bus database are analyzed;
the bus data analysis module creates and configures a bus database for correct-check data, generates a bus database input, output and query interface, and after the generation, the bus data analysis module analyzes the bus data in the recording card according to the data word characteristics specified in the total comparison file as a standard, adds time information to each correct-check data when the correct-check data is stored in the recording card for fast data analysis, ensures that the sequence of each correct-check data is not disordered, and simultaneously creates a plurality of data buffers for bus data analysis, wherein the embodiment takes RT address information as an example: in order to realize the rapid analysis of a plurality of RT address information, time information is added to the plurality of RT address information which are correctly verified respectively, the sequence of each RT address information is ensured not to be disordered, meanwhile, an RT address information buffer zone corresponding to each RT address information is respectively established for each RT address information, and each RT address generates a record file.
S5, converting the analyzed bus data into a database table for storage and providing a data query interface;
when the bus analysis module receives data of one RT address, the data is stored in a corresponding buffer area according to the RT address, and when the buffer area is full, the data in the buffer area is written into a recording file.
S6, carrying out real-time numerical display and visual display on the inquired data;
starting a user interaction module function, judging whether a file inquired by a user through a data inquiry interface is in an online analysis mode, if so, analyzing the numerical value of a corresponding data block and the corresponding physical meaning of the numerical value in real time from a buffer area corresponding to an RT address according to the type of the data block selected and analyzed by the user, and selecting to visually display the data in a graph or table mode, wherein a data source inquired by the data inquiry interface is from a plurality of buffer areas in the bus data management module; if the user selects the off-line analysis mode, the data source inquired by the data inquiry interface is from a database table stored in the bus analysis module, whether the data is output in any way needs to be judged, if the user selects to output in a file way, the database standard interface is called to inquire the data block appointed by the user according to the data block selected by the user and the corresponding RT address, and a data file with a specified format is generated; if the user selects the graphic output, calling a standard database interface to inquire the data block specified by the user, and displaying the numerical value of the corresponding data block and the corresponding physical meaning of the numerical value.
Example two
The present embodiment provides a terminal device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implements the steps of the integrated avionics system bus analysis method as in any of fig. 1 and 2.
EXAMPLE III
The present embodiment provides a computer readable storage medium having stored thereon an integrated avionics system bus analysis program, which when executed by a processor implements the steps of the integrated avionics system bus analysis method as in any one of fig. 1 and 2.
Example four
The present embodiment provides a server 400, as shown in fig. 3, the server 400 includes a Central Processing Unit (CPU) 401, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage section into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for system operation are also stored. The CPU401, ROM402, and RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. Drivers are also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as needed, so that a computer program read out therefrom is mounted in the storage section 408 as needed.
In particular, the processes described above with reference to fig. 1 and 2 may be implemented as computer software programs, according to embodiments of the present invention. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the methods illustrated in fig. 1 and 2. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 409, and/or installed from the removable medium 411.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves. The described units or modules may also be provided in a processor, and may be described as: a processor comprises a first generation module, an acquisition module, a search module, a second generation module and a merging module. The names of these units or modules do not in some cases form a limitation to the units or modules themselves, and for example, the obtaining module may also be described as "obtaining module for obtaining a plurality of instances to be detected in the base table".
As another aspect, the present application also provides a computer-readable medium, which may be included in the server described in the above embodiments; or may be separate and not incorporated into the electronic device. The computer readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is enabled to implement the intelligent device leasing method in the embodiment. For example, the electronic device may implement the various steps as shown in fig. 1-2.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. The foregoing is only a preferred embodiment of the present application, and it should be noted that there are no specific structures which are objectively limitless due to the limited character expressions, and it will be apparent to those skilled in the art that a plurality of modifications, decorations or changes can be made without departing from the principle of the present invention, and the technical features mentioned above can be combined in a suitable manner; such modifications, variations, combinations, or adaptations of the invention using its teachings or may be resorted to without departing from the scope of the invention as set forth in the claims that follow.

Claims (7)

1. A comprehensive avionics system bus analysis method is characterized by comprising the following steps:
initializing a 1553B bus network and providing a 1553B bus data interface;
finishing the 1553B bus data mapping, and calling the 1553B bus data interface to store the mapped bus data into a data buffer area;
screening and checking the data in the data buffer area to obtain the data with correct check;
creating and configuring a bus database for the data which is correctly checked, and analyzing the bus data in the bus database;
converting the analyzed bus data into a database table for storage and providing a data query interface;
performing data query through the data query interface;
and carrying out real-time numerical display and visual display on the inquired data.
2. The integrated avionics system bus analysis method according to claim 1, wherein initializing a 1553B bus network comprises:
self-detection is carried out on the 1553B bus board card by using a self-detection circuit;
configuring the 1553B bus board card function;
after the self-detection and configuration functions are normal, a data buffer area is established;
finishing the initialization function of the 1553B bus network;
setting the working mode of the 1553B bus board card into an information receiving mode;
and providing the 1553B bus data access interface.
3. The integrated avionics system bus analysis method of claim 1, wherein screening and verifying data in the data buffer comprises:
screening and checking the data in the data buffer area through a data checking packet;
storing the data which is verified correctly to the recording card;
and discarding the data with the error check, and recording the data into a data error area for a worker to analyze.
4. The integrated avionics system bus analysis method of claim 1, wherein creating and configuring a bus database for the correctly verified data comprises:
and generating input, output and query interfaces of the bus database.
5. The integrated avionics system bus analysis method according to claim 1, wherein the real-time numerical display and visual display of the queried data comprises:
judging whether the data stored in the database table is in an online analysis mode:
if yes, the analyzed data can be visually displayed;
if not, judging the output mode of the data:
if the output in the file mode is selected, generating a data file corresponding to the data block in the specified format;
if the data block is selected to be output in a graphic mode, displaying the numerical value of the corresponding data block and the corresponding physical meaning of the numerical value.
6. A terminal device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program when executed by the processor implements the steps of the integrated avionics system bus analysis method of any of claims 1 to 5.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an integrated avionics bus analysis program, which when executed by a processor implements the steps of the integrated avionics bus analysis method according to any one of claims 1 to 5.
CN202211076288.1A 2022-09-05 2022-09-05 Comprehensive avionics system bus analysis method and device and storage medium Pending CN115454915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211076288.1A CN115454915A (en) 2022-09-05 2022-09-05 Comprehensive avionics system bus analysis method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211076288.1A CN115454915A (en) 2022-09-05 2022-09-05 Comprehensive avionics system bus analysis method and device and storage medium

Publications (1)

Publication Number Publication Date
CN115454915A true CN115454915A (en) 2022-12-09

Family

ID=84300245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211076288.1A Pending CN115454915A (en) 2022-09-05 2022-09-05 Comprehensive avionics system bus analysis method and device and storage medium

Country Status (1)

Country Link
CN (1) CN115454915A (en)

Similar Documents

Publication Publication Date Title
CN109144696B (en) Task scheduling method and device, electronic equipment and storage medium
CN108519967B (en) Chart visualization method and device, terminal and storage medium
CN108153670A (en) A kind of interface test method, device and electronic equipment
CN109116315B (en) General radar avionics simulation system
CN110750654A (en) Knowledge graph acquisition method, device, equipment and medium
CN109710810A (en) Change management method, apparatus, equipment and storage medium
CN111813804B (en) Data query method and device, electronic equipment and storage medium
CN109857452B (en) Configuration method and device of rocket test launch control system based on XML
CN107168834A (en) Method and device for detecting computer startup fault
CN105045714A (en) Method and device for testing starting duration of application software and terminal
CN112231568B (en) Hotel label automatic configuration method and device, electronic equipment and storage medium
CN111694561A (en) Interface management method, device, equipment and storage medium
US20050234845A1 (en) End-to-end business integration testing tool
CN116107703A (en) Interface control document generation method and device
CN114398044A (en) Vehicle control and software configuration method, device, electronic equipment and storage medium
CN109754266A (en) Authentication information image display method, device, server and storage medium
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment
CN115454915A (en) Comprehensive avionics system bus analysis method and device and storage medium
CN109144864B (en) Method and device for testing window
US20110145661A1 (en) Selectively displaying source code defect information within a source code editor
CN115860877A (en) Product marketing method, device, equipment and medium
CN114398475A (en) Data processing method, data processing device, electronic equipment and storage medium
CN113010208B (en) Version information generation method, device, equipment and storage medium
CN111399843B (en) Method, system and electronic equipment for mapping SQL running information to SQL file
CN114036218A (en) Data model switching method and device, server and storage medium

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