A data monitoring and analysis method and system based on 1553B bus
By receiving, storing, filtering, and parsing data in the 1553B bus monitoring software and displaying it visually, the problems of high operational difficulty and low data exchange efficiency of complex application protocols in the existing technology are solved, and efficient data analysis and fault location are achieved.
Patent Information
- Application Number
- CN202211267057.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-17
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2042-10-17
AI Technical Summary
Existing 1553B bus monitoring software can only provide monitoring and storage functions for raw data, which cannot meet the needs of modern aviation, aerospace and ground vehicle systems for efficient data exchange, and it is difficult to analyze and operate complex application protocols.
A data monitoring and analysis method based on the 1553B bus is provided, including receiving and storing message data, filtering and parsing using database technology, filtering and parsing data according to preset conditions, and visualizing the results, supporting the analysis of complex application layer protocols in different scenarios.
It improves data analysis efficiency, enables rapid fault location, data classification, summary and display, and data situation analysis, and makes up for the difficulty of operating complex application layer protocols in existing monitoring software.
Smart Images

Figure CN115733776B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, and in particular to a data monitoring and analysis method based on a 1553B bus and a data monitoring and analysis system based on a 1553B bus. BACKGROUND
[0002] The 1553B bus is a time-division command / response type multiplex data bus defined by the US military standard MIL-STD-1553B, and has a simple network structure, strong reliability, high communication efficiency and reliability, and is therefore widely used in military fields such as aerospace.
[0003] With the increasing complexity of the functions and performance of various systems such as flight control, the amount of information exchange between devices is increasing, and the requirement for the data transmission rate of the 1553B bus system is becoming higher and higher. The current 1Mbps transmission rate has been unable to meet the basic needs of various data exchanges in modern aviation, aerospace and ground vehicle systems. The current communication of aerospace products uses high-speed 1553B buses, but the current bus monitoring software can only provide monitoring and storage functions for raw data. With the diversified application requirements of different scenarios, the complex application protocol data analysis and statistical means of the monitoring software are highlighted, and therefore a convenient and efficient monitoring software data analysis is crucial. SUMMARY
[0004] In view of the above problems, the present application provides a data monitoring and analysis method and system based on a 1553B bus, which increases the analysis and visual data display of complex application layer protocols under different scenarios on the basis of data monitoring and data link layer protocol effectiveness analysis of high-speed 1553B buses, and explains the analysis implementation steps for specific application layer complex protocols, thereby making up for the problem of difficult operation of the application layer complex protocol of the existing monitoring software and effectively improving the data analysis efficiency in this scenario. It plays a key role in rapid fault positioning, rapid data classification and summary display, data situation analysis, etc.
[0005] To achieve the above purpose, the present application provides a data monitoring and analysis method based on a 1553B bus, comprising:
[0006] Receive all types of message data transmitted based on the 1553B bus and store them into a database;
[0007] Screen the message data according to a preset screening condition by using database technology;
[0008] Determine the analysis rule for the message data based on the use condition and application scenario of the message data;
[0009] According to the analysis rule, the screened message data is analyzed piece by piece to obtain an analysis result;
[0010] The analysis result is converted into characters and / or charts for visual display.
[0011] In the technical solution, preferably, the types of the message data transmitted based on the 1553B bus include BC-to-RT Transfer, RT-to-BC Transfer, RT-to-RT Transfer, Mode Code No Data, Tx Mode Code With Data, Rx Mode Code With Data, Broadcast, RT-to-RTs (Broadcast) Transfer, Broadcast Mode Code No Data and Broadcast Mode Code With Data.
[0012] For the message data, the analysis is performed according to the message type, message address, time stamp, system time, command word, status word, message length and message data type, and then the message data is stored in the database.
[0013] In the technical solution, preferably, the specific process of screening the message data according to the preset screening condition by using the database technology includes:
[0014] A data screening condition is determined, and the data screening condition is used to form a corresponding SQL statement;
[0015] The message data is screened by using the SQL statement to obtain screened message data.
[0016] In the technical solution, preferably, the specific process of determining the analysis rule for the message data based on the use condition and application scenario of the message data includes:
[0017] According to the use condition and application scenario of the message data, the position and length of the message data to be extracted are determined;
[0018] According to the use condition and application scenario of the message data, the analysis method of the message data is determined.
[0019] In the technical solution, preferably, the data monitoring and analysis method based on the 1553B bus further includes:
[0020] The received message data is displayed in real time in a data display area;
[0021] displaying the message data stored in the database, the filtered message data and the analysis result in a data analysis interface;
[0022] displaying the chart converted from the analysis result in a visual display interface.
[0023] The application further provides a data monitoring and analysis system based on a 1553B bus, which is applied to the data monitoring and analysis method based on the 1553B bus as disclosed in any of the above technical solutions and comprises:
[0024] a data storage module configured to receive all types of message data transmitted based on the 1553B bus and store the message data in a database;
[0025] a data filtering module configured to filter the message data according to preset filtering conditions by using a database technology;
[0026] a rule determining module configured to determine an analysis rule for the message data based on a use condition and an application scenario of the message data;
[0027] a data analysis module configured to analyze the filtered message data according to the analysis rule to obtain an analysis result;
[0028] a data display module configured to convert the analysis result into text and / or a chart for visual display.
[0029] In the above technical solution, preferably, the types of the message data transmitted based on the 1553B bus include BC-to-RT Transfer, RT-to-BC Transfer, RT-to-RT Transfer, Mode Code No Data, Tx Mode Code With Data, Rx Mode Code With Data, Broadcast, RT-to-RTs (Broadcast) Transfer, Broadcast Mode Code No Data and Broadcast Mode Code With Data.
[0030] The message data is stored in the database after being analyzed according to a message type, a message address, a timestamp, a system time, a command word, a status word, a message length and a message data type.
[0031] In the above technical solution, preferably, the data filtering module is specifically configured to:
[0032] determine a data filtering condition and form a corresponding SQL statement based on the data filtering condition.
[0033] Data filtering is performed on the message data by using the SQL statement to obtain filtered message data.
[0034] In the technical solution, preferably, the rule determination module is specifically configured to:
[0035] According to the use condition and application scenario of the message data, the position and length of the message data to be extracted are determined.
[0036] According to the use condition and application scenario of the message data, the parsing method of the message data is determined.
[0037] In the technical solution, preferably, the data display module is further configured to:
[0038] The received message data are displayed in real time in a data display area.
[0039] The message data stored in the database, the filtered message data and the parsing result are displayed in a data analysis interface.
[0040] The chart converted from the parsing result is displayed in a visual display interface.
[0041] Compared with the prior art, the application has the beneficial effects that on the basis of data monitoring of a high-speed 1553B bus and data link layer protocol effectiveness analysis, complex application layer protocols in different scenarios are analyzed and visualized data display is increased, and the analysis implementation steps for specific application layer complex protocols are explained, the problem that the existing monitoring software has great difficulty in operating the complex application layer protocols is solved, the data analysis efficiency in the scenario is effectively improved, and the application plays a key role in rapid fault positioning, rapid data classification and summary display and data situation analysis. BRIEF DESCRIPTION OF DRAWINGS
[0042] Figure 1 A flowchart of a data monitoring and analysis method based on a 1553B bus is disclosed for an embodiment of the application;
[0043] Figure 2 A topology structure diagram of a 1533B bus is disclosed for an embodiment of the application;
[0044] Figure 3 A real-time data display effect diagram is disclosed for an embodiment of the application;
[0045] Figure 4 A data display effect diagram in a database is disclosed for an embodiment of the application;
[0046] Figure 5A data display effect diagram after screening in a database according to an embodiment of the present application is disclosed.
[0047] Figure 6 A rule designation method diagram according to an embodiment of the present application is disclosed.
[0048] Figure 7 A display effect diagram of a parsing result according to an embodiment of the present application is disclosed.
[0049] Figure 8 A graphical data display effect diagram according to an embodiment of the present application is disclosed.
[0050] Figure 9 A module diagram of a data monitoring and analyzing system based on a 1553B bus according to an embodiment of the present application is disclosed.
[0051] In the figure, the correspondence between each component and the reference numeral is as follows:
[0052] 1. Data storage module, 2. Data screening module, 3. Rule determination module, 4. Data parsing module, 5. Data display module. DETAILED DESCRIPTION
[0053] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in a clear and complete manner with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0054] The present application will be further described in detail below with reference to the accompanying drawings:
[0055] As shown in the figure, according to the data monitoring and analyzing method based on a 1553B bus provided by the present application, the method comprises the following steps: Figure 1
[0056] Receiving all types of message data transmitted based on the 1553B bus and storing into a database;
[0057] Screening the message data according to preset screening conditions by using database technology;
[0058] Determining the parsing rule for the message data based on the use conditions and application scenarios of the message data;
[0059] Parsingly analyzing the screened message data according to the parsing rule, to obtain a parsing result;
[0060] The analysis results are converted into text and / or charts for visualization.
[0061] In this implementation, based on data monitoring of the high-speed 1553B bus and data link layer protocol effectiveness analysis, the analysis and visualization of complex application layer protocols in different scenarios are added. The implementation steps for analyzing complex application layer protocols are explained, which makes up for the problem of the difficulty of operating complex application layer protocols in existing monitoring software. It effectively improves the data analysis efficiency in this scenario and plays a key role in rapid fault location, rapid data classification and summary display, and data situation analysis.
[0062] Specifically, taking the flight control system as an example, this paper describes the data monitoring and analysis method based on the 1553B bus. The system includes a flight control computer (BC, bus controller), multiple devices (RT, remote terminal), and a pure bus monitor (MT, monitor terminal) without response functionality. Figure 2 As shown, the bus monitor MT, flight control computer BC, equipment RT, etc. are first connected to the same 1553B bus structure, and then the bus data monitoring and analysis are performed according to the method disclosed in this invention.
[0063] In the above embodiments, preferably, the types of message data transmitted based on the 1553B bus include BC-to-RT Transfer, RT-to-BC Transfer, RT-to-RT Transfer, Mode Code No Data, Tx Mode Code With Data, Rx Mode Code With Data, Broadcast, RT-to-RTs(Broadcast)Transfer, Broadcast Mode Code No Data, and Broadcast Mode Code With Data;
[0064] The message data is parsed according to message type, message address, timestamp, system time, command word, status word, message length, and message data type, and then stored in the database.
[0065] In the above embodiments, preferably, the specific process of using database technology to filter message data according to preset filtering conditions includes:
[0066] Determine the data filtering criteria and compose the data filtering criteria into corresponding SQL statements;
[0067] The message data is screened by using an SQL statement to obtain screened message data.
[0068] In the above embodiment, preferably, based on the use condition and application scenario of the message data, the specific process of determining the parsing rule for the message data comprises:
[0069] According to the use condition and application scenario of the message data, the position and length of the message data to be extracted are determined;
[0070] According to the use condition and application scenario of the message data, the parsing method of the message data is determined.
[0071] In the above embodiment, preferably, the data monitoring and analysis method based on the 1553B bus further comprises:
[0072] The received message data is displayed in real time in a data display area;
[0073] The message data stored in the database, the screened message data and the parsing result are displayed in a data analysis interface;
[0074] The chart converted from the parsing result is displayed in a visual display interface.
[0075] According to the above embodiment, the data monitoring and analysis method based on the 1553B bus specifically comprises the following steps in the implementation process:
[0076] Step 1, receiving and storing all types of data
[0077] All types of messages existing on the bus are monitored and received, and the types of these messages include the following ten types: BC-to-RT Transfer, RT-to-BC Transfer, RT-to-RT Transfer, Mode Code No Data, Tx Mode Code With Data, Rx Mode Code With Data, Broadcast, RT-to-RTs (Broadcast) Transfer, Broadcast Mode Code No Data, and Broadcast Mode Code With Data.
[0078] Step 1.1, the received data is displayed in real time in a data display area according to the Figure 3
[0079] Step 1.2, the received MT message is parsed according to MSGTYPE, MSGINFO, TIME_TAG, SYS_TIME, CMDWRD1, CMDWRD2, STSWRD1, STSWRD2, WRDCOUNT, DATAWRDS type;
[0080] Step 1.3, the data parsed in step 1.2 is stored in the Sqlite database;
[0081] Step 1.4, the data stored in the database in step 1.3 is displayed in the data analysis interface, as shown in Figure 4
[0082] Step 2, further filter the data according to the analysis requirements, to distinguish different types or have a certain specified meaning of data
[0083] Step 2.1: specify the data filtering conditions, and form the corresponding SQL statements according to the filtering conditions;
[0084] Step 2.2: filter the data in step 1.3 according to the SQL statements formed in step 2.1, to obtain the filtered data, as shown in Figure 5
[0085] Step 3, specify the data analysis rules, according to the data usage conditions and usage scenarios, specify the specific original data position, length to be extracted, and data analysis method.
[0086] Step 3.1: according to the data usage conditions and usage scenarios, specify the original data position and length to be extracted, as shown in Figure 6
[0087] Step 3.2: according to the usage conditions and usage scenarios, specify the data analysis method.
[0088] For example, for data integrity analysis, frame count checking is used to judge the integrity of the data, and the specific steps are as follows:
[0089] (1) extract the data according to the position of the frame count in the original data;
[0090] (2) parse the data into specific frame count values;
[0091] (3) according to the frame count rule, perform frame count checking to judge the continuity of the frame count. If continuous, the data is complete, otherwise the data is incomplete, and there is a packet loss phenomenon.
[0092] For example, for data correctness analysis, CRC check is used to judge, and the specific steps are as follows:
[0093] (1) According to the position of the CRC check bit in the original data, the data is extracted;
[0094] (2) The data is parsed into a specific CRC check value;
[0095] (3) According to the CRC check rule, the CRC check is checked, and the correctness of the data is judged. If the CRC check is consistent, the data is correct, otherwise there is an abnormal phenomenon of data.
[0096] Step 4, according to the data position, length and parsing method specified in step 3, the data screened out in step 2 is positioned and parsed piece by piece, and the parsing result is obtained, as shown in Figure 7 .
[0097] In step 5, the parsing result obtained in step 4 is summarized and converted into text and chart for display, as shown in Figure 8 .
[0098] As shown in Figure 9 , the application also provides a data monitoring and analysis system based on 1553B bus, which is applied to the data monitoring and analysis method based on 1553B bus disclosed in any one of the above embodiments, comprising:
[0099] A data storage module 1 is used to receive all types of message data transmitted based on 1553B bus and store them into a database;
[0100] A data screening module 2 is used to screen the message data according to the preset screening conditions by using database technology;
[0101] A rule determination module 3 is used to determine the parsing rule for the message data based on the use conditions and application scenarios of the message data;
[0102] A data parsing module 4 is used to parse the screened message data piece by piece according to the parsing rule to obtain the parsing result;
[0103] A data display module 5 is used to convert the parsing result into text and / or chart for visual display.
[0104] In this embodiment, on the basis of data monitoring and data link layer protocol effectiveness analysis of high-speed 1553B bus, analysis and visual data display of complex application layer protocol in different scenarios are increased, and the analysis implementation steps for specific application layer complex protocol are explained, which makes up for the problem of difficult operation of application layer complex protocol in the existing monitoring software, effectively improves the data analysis efficiency in this scenario, and plays a key role in rapid fault positioning, rapid data classification and summary display, data situation analysis, etc.
[0105] In the above embodiment, preferably, the type of the message data transmitted based on the 1553B bus includes BC-to-RT Transfer, RT-to-BC Transfer, RT-to-RT Transfer, Mode Code No Data, Tx Mode Code With Data, Rx Mode Code With Data, Broadcast, RT-to-RTs (Broadcast) Transfer, Broadcast Mode Code No Data, and Broadcast Mode Code With Data.
[0106] For the message data, after parsing according to the message type, the message address, the timestamp, the system time, the command word, the status word, the message length, and the message data type, the message data is stored into the database.
[0107] In the above embodiment, preferably, the data screening module 2 is specifically configured to:
[0108] determine the data screening condition, and compose a corresponding SQL statement based on the data screening condition;
[0109] screen the message data based on the SQL statement, and obtain screened message data.
[0110] In the above embodiment, preferably, the rule determination module 3 is specifically configured to:
[0111] determine the position and the length of the message data to be extracted according to the use condition and the application scenario of the message data;
[0112] determine the parsing method of the message data according to the use condition and the application scenario of the message data.
[0113] In the above embodiment, preferably, the data display module 5 is further configured to:
[0114] display the received message data in real time in the data display area;
[0115] display the message data stored in the database, the screened message data, and the parsing result in the data analysis interface;
[0116] display the chart converted from the parsing result in the visual display interface.
[0117] The above only describes the preferred embodiments of the present application and is not used to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for data monitoring and analysis based on 1553B bus, characterized in that, The method comprises the following steps: receiving all types of message data transmitted based on the 1553B bus, parsing the message data according to the message type, message address, timestamp, system time, command word, status word, message length and message data type, and storing the message data into a database; screening the message data according to preset screening conditions by using database technology, the specific process of screening comprising: determining data screening conditions, and forming corresponding SQL statements by using the data screening conditions; screening the message data by using the SQL statements to obtain screened message data; determining the parsing rules for the message data based on the use conditions and application scenarios of the message data, the specific process comprising: determining the position and length of the message data to be extracted according to the use conditions and application scenarios of the message data; determining the parsing method of the message data according to the use conditions and application scenarios of the message data; parsing the screened message data according to the parsing rules to obtain parsing results; converting the parsing results into characters and / or charts for visual display; wherein the types of the message data include BC-to-RT Transfer, RT-to-BC Transfer, RT-to-RT Transfer, Mode Code No Data, Tx Mode Code With Data, Rx Mode Code With Data, Broadcast, RT-to-RTs(Broadcast) Transfer, Broadcast Mode Code No Data and Broadcast Mode Code With Data.
2. The 1553B bus-based data monitoring and analysis method of claim 1, wherein, The method further comprises the following steps: displaying the received message data in real time in a data display area; displaying the message data stored in the database, the screened message data and the parsing results in a data analysis interface; displaying the charts obtained by converting the parsing results in a visual display interface.
3. A data monitoring and analysis system based on a 1553B bus, characterized in that, The method is applied to the data monitoring and analysis method based on the 1553B bus as claimed in claim 1 or 2, comprising: a data storage module for receiving all types of message data transmitted based on the 1553B bus and storing the message data into a database; a data screening module for screening the message data according to preset screening conditions by using database technology; a rule determination module for determining the parsing rules for the message data based on the use conditions and application scenarios of the message data; a data parsing module for parsing the screened message data according to the parsing rules to obtain parsing results; a data display module for converting the parsing results into characters and / or charts for visual display.
4. The 1553B bus-based data monitoring and analysis system of claim 3, wherein, The types of the message data transmitted based on the 1553B bus include BC-to-RT Transfer, RT-to-BC Transfer, RT-to-RT Transfer, Mode Code No Data, Tx Mode Code With Data, Rx Mode Code With Data, Broadcast, RT-to-RTs (Broadcast) Transfer, Broadcast Mode Code No Data, and Broadcast Mode Code With Data; The message data is parsed according to a message type, a message address, a timestamp, a system time, a command word, a status word, a message length, and a message data type, and is stored into the database.
5. The 1553B bus-based data monitoring and analysis system of claim 3, wherein, The data screening module is specifically configured to: determine a data screening condition, and compose a corresponding SQL statement based on the data screening condition; screen the message data based on the SQL statement, and obtain screened message data.
6. The 1553B bus-based data monitoring and analysis system of claim 3, wherein, The rule determination module is specifically configured to: determine a position and a length of the message data to be extracted according to a use condition and an application scenario of the message data; determine a parsing method of the message data according to the use condition and the application scenario of the message data.
7. The 1553B bus-based data monitoring and analysis system of claim 3, wherein, The data display module is further configured to: display the received message data in a data display area in real time; display the message data stored in the database, the screened message data, and a parsing result in a data analysis interface; display a chart converted from the parsing result in a visual display interface.
Citation Information
Patent Citations
Big data visualization method and system based on database SQL graphing, and medium
CN113792098A