CN106656709B - A kind of airborne end avionics bus state exchange agreement processing method - Google Patents
A kind of airborne end avionics bus state exchange agreement processing method Download PDFInfo
- Publication number
- CN106656709B CN106656709B CN201611140142.3A CN201611140142A CN106656709B CN 106656709 B CN106656709 B CN 106656709B CN 201611140142 A CN201611140142 A CN 201611140142A CN 106656709 B CN106656709 B CN 106656709B
- Authority
- CN
- China
- Prior art keywords
- bus
- data
- total bytes
- message
- request message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40013—Details regarding a bus controller
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
- H04L63/123—Applying verification of the received information received data contents, e.g. message integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/4028—Bus for use in transportation systems the transportation system being an aircraft
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Small-Scale Networks (AREA)
Abstract
The design belongs to computer software-system software field, is related to a kind of airborne end avionics bus state exchange agreement processing method, comprising: wait applications request message to be received;If receiving applications request message, the request message is parsed;It is visit order A, R, S message that parsing, which obtains the request message, according to the bus state information that bus type in visit order A, R, S message and bus ID are requested, the bus state information in airborne end avionics bus management information bank on corresponding bus type and bus ID is obtained;It assembles the response message of visit order A, R, S and is sent to applications.
Description
Technical field
The design belongs to computer software-system software field, is related to a kind of airborne end avionics bus state exchange
Protocol processes method.
Background technique
With the development of civil avionics system, the avionics bus types of interior of aircraft are more and more, airborne avionics number
It is responsible for acquiring data in avionics bus in real time according to information management system, and the data of acquisition is passed through into certain mode
It is sent to applications.When applications do not receive the data of avionics data information management system transmission, need certain remote
Journey mode can obtain the historical information in bus, and the historic state of bus and the shape being presently in are analyzed according to historical information
State.How the historical information of airborne avionics bus is remotely obtained, this just needs the long-range acquisition of the customized a set of lightweight of user
The agreement of airborne avionics bus management information, the airborne equipment resource that the airborne avionics bus management information protocol of lightweight occupies
It is few, and interactive mode is simple and easy, realizes conducive on airborne equipment, and can reach good using effect.
Summary of the invention
The purpose of the present invention:
The present invention provides a kind of airborne end avionics bus state exchange agreement processing method, can develop on airborne equipment
The service of airborne avionics bus management, and then avionics bus state information is monitored in real time and managed, to give remotely
Applications obtain airborne end avionics bus state information and provide convenience, and convenient for external management, personnel understand airborne equipment in real time
Avionics bus state, convenient for finding the fault message of avionics bus, to be conducive to maintenance and maintenance to Aerial Electronic Equipment.
Technical solution of the present invention:
A kind of airborne end avionics bus state exchange agreement processing method, comprising:
Step 1, etc. applications request message to be received;If receiving applications request message, asked described in parsing
Seek message;
If it is visit order A message that step 2, parsing, which obtain the request message, according to bus in visit order A message
The bus state information of type and bus ID request, obtain in airborne end avionics bus management information bank corresponding bus type and
Bus state information on bus ID;
Step 3, the response message for assembling visit order A are simultaneously sent to applications, return step 1;
If it is visit order R message that step 4, parsing, which obtain the request message, according to bus in visit order R message
The bus state information of type and bus ID request, obtain in airborne end avionics bus management information bank corresponding bus type and
Bus state information on bus ID;
Step 5, the response message for assembling visit order R are simultaneously sent to applications, return step 1;
If it is visit order S message that step 6, parsing, which obtain the request message, according to bus in visit order S message
The bus state information of type and bus ID request, obtain in airborne end avionics bus management information bank corresponding bus type and
Bus state information on bus ID;
Step 7, the response message for assembling visit order S are simultaneously sent to applications, return step 1;
Airborne end avionics bus management information model in avionics bus management information bank are as follows:
(1) airborne end avionics bus management information model uses tree structure, and for model using four layers of tree, root node is management
Information bank, one layer is bus type node, and two layers are Bus number nodes, and three layers are the avionics bus state information recorded;
(2) include following relationship in the status information of avionics bus management information model:
When normally receiving situation:
A. it receives bus data total bytes number * 4294967296+ and receives bus data total bytes=(reception data
Success total bytes number * 4294967296+ receives bus data success total bytes)+(receive data failure total byte for several times
Number * 4294967296+ receives bus data failure total bytes);
B. it when receiving bus data total bytes equal to 4294967296, receives bus data total bytes number and adds 1;
C. it when receiving bus data success total bytes equal to 4294967296, receives data success total bytes number and adds
1;
D. whenever receiving a data, data are then received bus data success total bytes and are updated by completeness check
The byte number of this received data is added for original value, is received bus data total bytes and is updated to original value plus this
The byte number of secondary received data receives number of success and adds 1, and the last time reception bus data success time is updated to receive number
According to when the time;When receiving data is first data packet, record receives data time for the first time;
E. it when receiving bus data failure total bytes equal to 4294967296, receives data failure total bytes number and adds
1;
F. whenever receiving a data, data fail then to receive bus data failure total bytes by completeness check
It is updated to the byte number that original value adds this received data, reception bus data total bytes are updated to original value and add
The byte number of this upper received data, reception failure number add 1, and the last time receives bus data Time To Failure and is updated to connect
Time when receiving data;When receiving data is first data packet, record receives data time for the first time;
G. it after reception failure number reaches the threshold value of setting, receives bus state and is set as failure state, otherwise receive
Bus state is set as normal operating conditions;
Situation is sent when normal:
A. it sends bus data total bytes number * 4294967296+ and sends bus data total bytes=(transmission data
Success total bytes number * 4294967296+ sends bus data success total bytes)+(send data failure total byte for several times
Number * 4294967296+ sends bus data failure total bytes number);
B. it when sending bus data total bytes equal to 4294967296, sends bus data total bytes number and adds 1;
C. when sending bus data success total bytes equal to 4294967296, data success total bytes number is sent
Add 1;
D. whenever sending a data, data are sent successfully, then send bus data success total bytes and be updated to originally
Value plus this send data byte number, send bus data total bytes be updated to original value plus this send
Data byte number, send number of success and add 1, the last time sends the bus data success time and is updated to send data constantly
Between;When sending data is first data packet, record sends data time for the first time;
E. it when sending bus data failure total bytes equal to 4294967296, sends data failure total bytes number and adds
1;
F. whenever sending a data, data send failure, then send bus data failure total bytes and be updated to originally
Value plus this send data byte number, send bus data total bytes be updated to original value plus this send
Data byte number, send the frequency of failure and add 1, the last time sends bus data Time To Failure and is updated to send data constantly
Between;When sending data is first data packet, record sends data time for the first time;
G. it after the transmission frequency of failure reaches the threshold value of setting, sends bus state and is set as failure state, otherwise threshold value
It is interior, it sends bus state and is set as normal operating conditions.
When the bus state information that bus type and bus ID are requested in visit order A, R, S message, airborne avionics bus
Information management protocol interaction process includes:
One, visit order A interactive process: application sends the request message of visit order A to airborne end, and airborne end, which receives, to be asked
It is handled after seeking message, when request message content is completely correct, reply includes the response of data field;When request message content
There is mistake in inspection, then replys the response for not including data field;
Two, visit order R interactive process: application sends the request message of visit order R to airborne end, and airborne end, which receives, to be asked
It is handled after seeking message, when request message content is completely correct, reply includes the response of data field;When request message content
There is mistake in inspection, then replys the response for not including data field;
Three, visit order S interactive process: application sends the request message of visit order S to airborne end, and airborne end, which receives, to be asked
It is handled after seeking message, when request message content is completely correct, reply includes the response of data field;When request message content
There is mistake in inspection, then replys the response for not including data field.
When the bus state information that bus type and bus ID are requested in visit order A, R, S message, airborne avionics bus
The interaction protocol data model of information management protocol interaction process specifically:
It is divided into request message and response message two parts, the field definition of two message is as follows:
(1) bus type: request bus type is indicated;
(2) bus ID: specific certain bus of request is indicated.
(3) visit order: indicating the bus state information of request, and visit order is divided into:
A: it indicates to obtain all status informations below this bus;
R: indicate to obtain below this bus with receive related status information;
S: indicate to obtain below this bus with send related status information.
(4) request message status code: indicating the message correctness of request, and status code is divided into:
0: indicating that all fields are all correct in request message;
1: indicating the CRC check mistake of request message;
2: indicating in request message without this bus type;
3: indicating in request message without this bus ID;
4: indicating in request message without this visit order.
(5) response command: indicating the reply to visit order in request message, and response command is divided into:
AR: the response to visit order A is indicated;
RR: the response to visit order R is indicated;
SR: the response to visit order S is indicated.
(6) data: when request message Content inspection is correct and passes through, then response message includes this field, if request disappears
Breath checks mistake occur, then response message does not include this field.
(7) CRC: the cyclic redundancy check of message is indicated.
The present invention has the advantage that effect:
The design it is available following in use the utility model has the advantages that
(1) condition monitoring and the management to airborne avionics bus are provided, navigated by each to every a kind of avionics bus
The statistics of the status information of electric bus passes through remote mode convenient for airborne maintenance personnel and administrative staff in time and learns that avionics is total
The historic state information of line, analyzes whether airborne avionics bus breaks down, and the frequency at time point and generation that failure occurs mentions
The high maintainability and maintainability of equipment.
(2) versatility of method: this method is a kind of agreement of lightweight, and the hardware money occupied when agreement is realized at airborne end
Source is few, is easy to implement and operability, whether can all realize this agreement using TCP or UDP.
Detailed description of the invention
Fig. 1 is airborne end avionics bus management information model schematic diagram.
Fig. 2 is that airborne avionics bus message manages interaction protocol data model schematic diagram.
Fig. 3 is airborne avionics bus message management agreement interaction flow schematic diagram.
Fig. 4 is airborne end avionics bus switch protocol data processing flow schematic diagram.
Specific embodiment
A kind of airborne end avionics bus state exchange agreement processing method, comprising:
Step 1, etc. applications request message to be received;If receiving applications request message, asked described in parsing
Seek message;
If it is visit order A message that step 2, parsing, which obtain the request message, according to bus in visit order A message
The bus state information of type and bus ID request, obtain in airborne end avionics bus management information bank corresponding bus type and
Bus state information on bus ID;
Step 3, the response message for assembling visit order A are simultaneously sent to applications, return step 1;
If it is visit order R message that step 4, parsing, which obtain the request message, according to bus in visit order R message
The bus state information of type and bus ID request, obtain in airborne end avionics bus management information bank corresponding bus type and
Bus state information on bus ID;
Step 5, the response message for assembling visit order R are simultaneously sent to applications, return step 1;
If it is visit order S message that step 6, parsing, which obtain the request message, according to bus in visit order S message
The bus state information of type and bus ID request, obtain in airborne end avionics bus management information bank corresponding bus type and
Bus state information on bus ID;
Step 7, the response message for assembling visit order S are simultaneously sent to applications, return step 1.
Airborne end avionics bus management information model in avionics bus management information bank are as follows:
(1) airborne end avionics bus management information model uses tree structure, and for model using four layers of tree, root node is management
Information bank, one layer is bus type node, and two layers are Bus number nodes, and three layers are the avionics bus state information recorded;
(2) include following relationship in the status information of avionics bus management information model:
When normally receiving situation:
A. it receives bus data total bytes number * 4294967296+ and receives bus data total bytes=(reception data
Success total bytes number * 4294967296+ receives bus data success total bytes)+(receive data failure total byte for several times
Number * 4294967296+ receives bus data failure total bytes);
B. it when receiving bus data total bytes equal to 4294967296, receives bus data total bytes number and adds 1;
C. it when receiving bus data success total bytes equal to 4294967296, receives data success total bytes number and adds
1;
D. whenever receiving a data, data are then received bus data success total bytes and are updated by completeness check
The byte number of this received data is added for original value, is received bus data total bytes and is updated to original value plus this
The byte number of secondary received data receives number of success and adds 1, and the last time reception bus data success time is updated to receive number
According to when the time;When receiving data is first data packet, record receives data time for the first time;
E. it when receiving bus data failure total bytes equal to 4294967296, receives data failure total bytes number and adds
1;
F. whenever receiving a data, data fail then to receive bus data failure total bytes by completeness check
It is updated to the byte number that original value adds this received data, reception bus data total bytes are updated to original value and add
The byte number of this upper received data, reception failure number add 1, and the last time receives bus data Time To Failure and is updated to connect
Time when receiving data;When receiving data is first data packet, record receives data time for the first time;
G. it after reception failure number reaches the threshold value of setting, receives bus state and is set as failure state, otherwise receive
Bus state is set as normal operating conditions;
Situation is sent when normal:
A. it sends bus data total bytes number * 4294967296+ and sends bus data total bytes=(transmission data
Success total bytes number * 4294967296+ sends bus data success total bytes)+(send data failure total byte for several times
Number * 4294967296+ sends bus data failure total bytes number);
B. it when sending bus data total bytes equal to 4294967296, sends bus data total bytes number and adds 1;
C. when sending bus data success total bytes equal to 4294967296, data success total bytes number is sent
Add 1;
D. whenever sending a data, data are sent successfully, then send bus data success total bytes and be updated to originally
Value plus this send data byte number, send bus data total bytes be updated to original value plus this send
Data byte number, send number of success and add 1, the last time sends the bus data success time and is updated to send data constantly
Between;When sending data is first data packet, record sends data time for the first time;
E. it when sending bus data failure total bytes equal to 4294967296, sends data failure total bytes number and adds
1;
F. whenever sending a data, data send failure, then send bus data failure total bytes and be updated to originally
Value plus this send data byte number, send bus data total bytes be updated to original value plus this send
Data byte number, send the frequency of failure and add 1, the last time sends bus data Time To Failure and is updated to send data constantly
Between;When sending data is first data packet, record sends data time for the first time;
G. it after the transmission frequency of failure reaches the threshold value of setting, sends bus state and is set as failure state, otherwise threshold value
It is interior, it sends bus state and is set as normal operating conditions.
When the bus state information that bus type and bus ID are requested in visit order A, R, S message, airborne avionics bus
Information management protocol interaction process includes:
One, visit order A interactive process: application sends the request message of visit order A to airborne end, and airborne end, which receives, to be asked
It is handled after seeking message, when request message content is completely correct, reply includes the response of data field;When request message content
There is mistake in inspection, then replys the response for not including data field;
Two, visit order R interactive process: application sends the request message of visit order R to airborne end, and airborne end, which receives, to be asked
It is handled after seeking message, when request message content is completely correct, reply includes the response of data field;When request message content
There is mistake in inspection, then replys the response for not including data field;
Three, visit order S interactive process: application sends the request message of visit order S to airborne end, and airborne end, which receives, to be asked
It is handled after seeking message, when request message content is completely correct, reply includes the response of data field;When request message content
There is mistake in inspection, then replys the response for not including data field.
When the bus state information that bus type and bus ID are requested in visit order A, R, S message, airborne avionics bus
The interaction protocol data model of information management protocol interaction process specifically:
It is divided into request message and response message two parts, the field definition of two message is as follows:
(1) bus type: request bus type is indicated;
(2) bus ID: specific certain bus of request is indicated.
(3) visit order: indicating the bus state information of request, and visit order is divided into:
A: it indicates to obtain all status informations below this bus;
R: indicate to obtain below this bus with receive related status information;
S: indicate to obtain below this bus with send related status information.
(4) request message status code: indicating the message correctness of request, and status code is divided into:
0: indicating that all fields are all correct in request message;
1: indicating the CRC check mistake of request message;
2: indicating in request message without this bus type;
3: indicating in request message without this bus ID;
4: indicating in request message without this visit order.
(5) response command: indicating the reply to visit order in request message, and response command is divided into:
AR: the response to visit order A is indicated;
RR: the response to visit order R is indicated;
SR: the response to visit order S is indicated.
(6) data: when request message Content inspection is correct and passes through, then response message includes this field, if request disappears
Breath checks mistake occur, then response message does not include this field.
(7) CRC: the cyclic redundancy check of message is indicated.
Embodiment
Airborne end avionics bus interaction protocol flow chart of data processing describes airborne end avionics bus interaction protocol service center
The process and process of reason, as shown in Figure 4.
(1) applications request message to be received, the no message such as airborne end service then wait always, go to when having message
(2);
(2) request message that parsing applications are sent, disappears according to request message format (Fig. 2 request message) to parse
Breath;If request message is correct, and visit order is A, then executes the visit order A process in Fig. 3, go to (3);If visit order
It is R, then executes the visit order R process in Fig. 3, go to (6);If visit order is S, the visit order S mistake in Fig. 3 is executed
Journey goes to (9);If analysis request message mistake, goes to (1);
(3) according to visit order A, bus type and the bus ID in request message, airborne end avionics bus in Fig. 1 is obtained
Bus state information in management information bank on corresponding bus type and bus ID, after obtaining successfully, goes to (4);
(4) by the response message of response message format assembling visit order A in Fig. 2, (5) after assembling successfully, are gone to;
(5) the corresponding response message of order A is requested access to applications transmission.After being sent completely, (1) is gone to;
(6) according to visit order R, bus type and the bus ID in request message, airborne end avionics bus in Fig. 1 is obtained
Bus state information in management information bank on corresponding bus type and bus ID, after obtaining successfully, goes to (7);
(7) by the response message of response message format assembling visit order R in Fig. 2, (8) after assembling successfully, are gone to;
(8) the corresponding response message of order R is requested access to applications transmission.After being sent completely, (1) is gone to;
(9) according to visit order S, bus type and the bus ID in request message, airborne end avionics bus in Fig. 1 is obtained
Bus state information in management information bank on corresponding bus type and bus ID, after obtaining successfully, goes to (10);
(10) by the response message of response message format assembling visit order S in Fig. 2, (11) after assembling successfully, are gone to;
(11) the corresponding response message of visit order S is sent to applications.After being sent completely, (1) is gone to;
1. airborne end avionics bus management information model
Airborne end avionics bus management information model is as shown in Figure 1.
(1) airborne end avionics bus management information model uses tree structure, and for model using four layers of tree, root node is management
Information bank, one layer is bus type node, and two layers are Bus number nodes, and three layers are the avionics bus state information recorded.
(2) include following relationship in the status information of avionics bus management information model:
When normally receiving situation:
H. it receives bus data total bytes number * 4294967296+ and receives bus data total bytes=(reception data
Success total bytes number * 4294967296+ receives bus data success total bytes)+(receive data failure total byte for several times
Number * 4294967296+ receives bus data failure total bytes);
I. it when receiving bus data total bytes equal to 4294967296, receives bus data total bytes number and adds 1;
J. it when receiving bus data success total bytes equal to 4294967296, receives data success total bytes number and adds
1;
K. whenever receiving a data, data are then received bus data success total bytes and are updated by completeness check
The byte number of this received data is added for original value, is received bus data total bytes and is updated to original value plus this
The byte number of secondary received data receives number of success and adds 1, and the last time reception bus data success time is updated to receive number
According to when the time;When receiving data is first data packet, record receives data time for the first time.
L. it when receiving bus data failure total bytes equal to 4294967296, receives data failure total bytes number and adds
1;
M. whenever receiving a data, data fail then to receive bus data failure total bytes by completeness check
It is updated to the byte number that original value adds this received data, reception bus data total bytes are updated to original value and add
The byte number of this upper received data, reception failure number add 1, and the last time receives bus data Time To Failure and is updated to connect
Time when receiving data;When receiving data is first data packet, record receives data time for the first time.
N. it after reception failure number reaches the threshold value of setting, receives bus state and is set as failure state, otherwise receive
Bus state is set as normal operating conditions.
Situation is sent when normal:
H. it sends bus data total bytes number * 4294967296+ and sends bus data total bytes=(transmission data
Success total bytes number * 4294967296+ sends bus data success total bytes)+(send data failure total byte for several times
Number * 4294967296+ sends bus data failure total bytes number)
I. it when sending bus data total bytes equal to 4294967296, sends bus data total bytes number and adds 1;
J. when sending bus data success total bytes equal to 4294967296, data success total bytes number is sent
Add 1;
K. whenever sending a data, data are sent successfully, then send bus data success total bytes and be updated to originally
Value plus this send data byte number, send bus data total bytes be updated to original value plus this send
Data byte number, send number of success and add 1, the last time sends the bus data success time and is updated to send data constantly
Between;When sending data is first data packet, record sends data time for the first time.
L. it when sending bus data failure total bytes equal to 4294967296, sends data failure total bytes number and adds
1;
M. whenever sending a data, data send failure, then send bus data failure total bytes and be updated to originally
Value plus this send data byte number, send bus data total bytes be updated to original value plus this send
Data byte number, send the frequency of failure and add 1, the last time sends bus data Time To Failure and is updated to send data constantly
Between;When sending data is first data packet, record sends data time for the first time.
N. it after the transmission frequency of failure reaches the threshold value of setting, sends bus state and is set as failure state, otherwise threshold value
It is interior, it sends bus state and is set as normal operating conditions.
2. airborne avionics bus message manages interaction protocol data model
Airborne avionics bus message management interaction protocol data model as shown in Fig. 2,
Interaction protocol data model is divided into request message and response message two parts, and the field definition of two message is such as
Under:
(1) bus type: request bus type is indicated;
(2) bus ID: specific certain bus of request is indicated.
(3) visit order: indicating the bus state information of request, and visit order is divided into:
A: it indicates to obtain all status informations below this bus;
R: indicate to obtain below this bus with receive related status information;
S: indicate to obtain below this bus with send related status information.
(4) request message status code: indicating the message correctness of request, and status code is divided into:
0: indicating that all fields are all correct in request message;
1: indicating the CRC check mistake of request message;
2: indicating in request message without this bus type;
3: indicating in request message without this bus ID;
4: indicating in request message without this visit order.
(5) response command: indicating the reply to visit order in request message, and response command is divided into:
AR: the response to visit order A is indicated;
RR: the response to visit order R is indicated;
SR: the response to visit order S is indicated.
(6) data: when request message Content inspection is correct and passes through, then response message includes this field, if request disappears
Breath checks mistake occur, then response message does not include this field.
(7) CRC: the cyclic redundancy check of message is indicated.
3. airborne avionics bus message management agreement interaction flow
Airborne avionics bus message management agreement interaction flow is as shown in figure 3, total with airborne end avionics for describing application
The interactive process of line information management protocol service.
(1) visit order A interactive process: application sends the request message of visit order A to airborne end, and airborne end, which receives, to be asked
It is handled after seeking message, when request message content is completely correct, reply includes the response of data field;When request message content
There is mistake in inspection, then replys the response for not including data field.
(2) visit order R interactive process: application sends the request message of visit order R to airborne end, and airborne end, which receives, to be asked
It is handled after seeking message, when request message content is completely correct, reply includes the response of data field;When request message content
There is mistake in inspection, then replys the response for not including data field.
(3) visit order S interactive process: application sends the request message of visit order S to airborne end, and airborne end, which receives, to be asked
It is handled after seeking message, when request message content is completely correct, reply includes the response of data field;When request message content
There is mistake in inspection, then replys the response for not including data field.
4. airborne end avionics bus interaction protocol flow chart of data processing
Airborne end avionics bus interaction protocol flow chart of data processing describes airborne end avionics bus interaction protocol service center
The process and process of reason, as shown in Figure 4.
Airborne end avionics bus interaction protocol process flow is by process shown in Fig. 4, to the request message for carrying out self-application
It is parsed, and corresponding data is obtained according to avionics bus type, bus ID and visit order, finally sent responses to
Using.
In the airborne avionics bus data acquisition function of the airborne information management system of MA700, using this method come supervisor
It carries the status information of avionics bus and remotely obtains the status information of airborne avionics bus.
Claims (3)
1. a kind of airborne end avionics bus state exchange agreement processing method characterized by comprising
Step 1, etc. applications request message to be received;If receiving applications request message, parses the request and disappear
Breath;
If it is visit order A message that step 2, parsing, which obtain the request message, according to bus type in visit order A message
With the bus state information of bus ID request, corresponding bus type and bus in airborne end avionics bus management information bank are obtained
Bus state information on ID;
Step 3, the response message for assembling visit order A are simultaneously sent to applications, return step 1;
If it is visit order R message that step 4, parsing, which obtain the request message, according to bus type in visit order R message
With the bus state information of bus ID request, corresponding bus type and bus in airborne end avionics bus management information bank are obtained
Bus state information on ID;
Step 5, the response message for assembling visit order R are simultaneously sent to applications, return step 1;
If it is visit order S message that step 6, parsing, which obtain the request message, according to bus type in visit order S message
With the bus state information of bus ID request, corresponding bus type and bus in airborne end avionics bus management information bank are obtained
Bus state information on ID;
Step 7, the response message for assembling visit order S are simultaneously sent to applications, return step 1;
Airborne end avionics bus management information model in avionics bus management information bank are as follows:
(1) airborne end avionics bus management information model uses tree structure, and for model using four layers of tree, root node is management information
Library, one layer is bus type node, and two layers are Bus number nodes, and three layers are the avionics bus state information recorded;
(2) include following relationship in the status information of avionics bus management information model:
When normally receiving situation:
A. it receives bus data total bytes number * 4294967296+ and receives bus data total bytes=(reception data success
Total bytes number * 4294967296+ receives bus data success total bytes)+(receive data failure total bytes number *
4294967296+ receives bus data failure total bytes);
B. it when receiving bus data total bytes equal to 4294967296, receives bus data total bytes number and adds 1;
C. it when receiving bus data success total bytes equal to 4294967296, receives data success total bytes number and adds 1;
D. whenever receiving a data, data then receive bus data success total bytes and are updated to original by completeness check
The value come adds the byte number of this received data, and reception bus data total bytes are updated to original value and connect plus this
The byte number of the data of receipts receives number of success and adds 1, when the last time reception bus data success time is updated to receive data
Time;When receiving data is first data packet, record receives data time for the first time;
E. it when receiving bus data failure total bytes equal to 4294967296, receives data failure total bytes number and adds 1;
F. whenever receiving a data, data fail then to receive bus data failure total bytes by completeness check and update
The byte number of this received data is added for original value, is received bus data total bytes and is updated to original value plus this
The byte number of secondary received data, reception failure number add 1, and the last time receives bus data Time To Failure and is updated to receive number
According to when the time;When receiving data is first data packet, record receives data time for the first time;
G. it after reception failure number reaches the threshold value of setting, receives bus state and is set as failure state, otherwise receive bus
State is set as normal operating conditions;
Situation is sent when normal:
A. it sends bus data total bytes number * 4294967296+ and sends bus data total bytes=(transmission data success
Total bytes number * 4294967296+ sends bus data success total bytes)+(send data failure total bytes number *
4294967296+ sends bus data failure total bytes number);
B. it when sending bus data total bytes equal to 4294967296, sends bus data total bytes number and adds 1;
C. it when sending bus data success total bytes equal to 4294967296, sends data success total bytes number and adds 1;
D. whenever sending a data, data are sent successfully, then send bus data success total bytes and be updated to original value
In addition the byte number of this data sent, sends bus data total bytes and is updated to the number that original value adds this transmission
According to byte number, send number of success and add 1, the last time sends time when being updated to send data bus data success time;
When sending data is first data packet, record sends data time for the first time;
E. it when sending bus data failure total bytes equal to 4294967296, sends data failure total bytes number and adds 1;
F. whenever sending a data, data send failure, then send bus data failure total bytes and be updated to original value
In addition the byte number of this data sent, sends bus data total bytes and is updated to the number that original value adds this transmission
According to byte number, send the frequency of failure and add 1, the last time sends when bus data Time To Failure is updated to send data the time;
When sending data is first data packet, record sends data time for the first time;
G. it after the transmission frequency of failure reaches the threshold value of setting, sends bus state and is set as failure state, otherwise in threshold value, hair
Bus state is sent to be set as normal operating conditions.
2. a kind of airborne end avionics bus state exchange agreement processing method as described in claim 1, which is characterized in that
When the bus state information that bus type and bus ID are requested in visit order A, R, S message, airborne avionics bus message
Management agreement interaction flow includes:
One, visit order A interactive process: application sends the request message of visit order A to airborne end, and airborne end receives request and disappears
It is handled after breath, when request message content is completely correct, reply includes the response of data field;When request message Content inspection
There is mistake, then replys the response for not including data field;
Two, visit order R interactive process: application sends the request message of visit order R to airborne end, and airborne end receives request and disappears
It is handled after breath, when request message content is completely correct, reply includes the response of data field;When request message Content inspection
There is mistake, then replys the response for not including data field;
Three, visit order S interactive process: application sends the request message of visit order S to airborne end, and airborne end receives request and disappears
It is handled after breath, when request message content is completely correct, reply includes the response of data field;When request message Content inspection
There is mistake, then replys the response for not including data field.
3. a kind of airborne end avionics bus state exchange agreement processing method as claimed in claim 2, which is characterized in that
When the bus state information that bus type and bus ID are requested in visit order A, R, S message, airborne avionics bus message
The interaction protocol data model of management agreement interaction flow specifically:
It is divided into request message and response message two parts, the field definition of two message is as follows:
(1) bus type: request bus type is indicated;
(2) bus ID: specific certain bus of request is indicated;
(3) visit order: indicating the bus state information of request, and visit order is divided into:
A: it indicates to obtain all status informations below this bus;
R: indicate to obtain below this bus with receive related status information;
S: indicate to obtain below this bus with send related status information;
(4) request message status code: indicating the message correctness of request, and status code is divided into:
0: indicating that all fields are all correct in request message;
1: indicating the CRC check mistake of request message;
2: indicating in request message without this bus type;
3: indicating in request message without this bus ID;
4: indicating in request message without this visit order;
(5) response command: indicating the reply to visit order in request message, and response command is divided into:
AR: the response to visit order A is indicated;
RR: the response to visit order R is indicated;
SR: the response to visit order S is indicated;
(6) data: when request message Content inspection is correct and passes through, then response message includes this field, if request message is examined
Existing mistake is found, then response message does not include this field;
(7) CRC: the cyclic redundancy check of message is indicated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611140142.3A CN106656709B (en) | 2016-12-12 | 2016-12-12 | A kind of airborne end avionics bus state exchange agreement processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611140142.3A CN106656709B (en) | 2016-12-12 | 2016-12-12 | A kind of airborne end avionics bus state exchange agreement processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106656709A CN106656709A (en) | 2017-05-10 |
CN106656709B true CN106656709B (en) | 2019-11-15 |
Family
ID=58825672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611140142.3A Active CN106656709B (en) | 2016-12-12 | 2016-12-12 | A kind of airborne end avionics bus state exchange agreement processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106656709B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107592307A (en) * | 2017-09-11 | 2018-01-16 | 中国航空工业集团公司西安飞机设计研究所 | A kind of airborne audio management system voice transfer verification method |
CN107833437B (en) * | 2017-11-17 | 2019-06-28 | 中国航空工业集团公司西安航空计算技术研究所 | Phonic warning method based on the multichannel multipriority control command with delay |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8155804B2 (en) * | 2007-10-12 | 2012-04-10 | Airbus Operations Gmbh | Device and method for providing a flight status signal |
CN103346931A (en) * | 2013-07-10 | 2013-10-09 | 北京航天自动控制研究所 | 1553B bus monitoring system |
CN103685273A (en) * | 2013-12-14 | 2014-03-26 | 中国航空工业集团公司第六三一研究所 | Method for controlling multi-stage access to avionic data by civil onboard network service system |
CN105911979A (en) * | 2016-05-31 | 2016-08-31 | 中国航空工业集团公司西安飞机设计研究所 | Flight bus data processing method |
-
2016
- 2016-12-12 CN CN201611140142.3A patent/CN106656709B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8155804B2 (en) * | 2007-10-12 | 2012-04-10 | Airbus Operations Gmbh | Device and method for providing a flight status signal |
CN103346931A (en) * | 2013-07-10 | 2013-10-09 | 北京航天自动控制研究所 | 1553B bus monitoring system |
CN103685273A (en) * | 2013-12-14 | 2014-03-26 | 中国航空工业集团公司第六三一研究所 | Method for controlling multi-stage access to avionic data by civil onboard network service system |
CN105911979A (en) * | 2016-05-31 | 2016-08-31 | 中国航空工业集团公司西安飞机设计研究所 | Flight bus data processing method |
Non-Patent Citations (1)
Title |
---|
未来战机光纤通道航电总线试飞测试技术探析;霍朝晖等;《测控技术》;20110831;第30卷(第8期);第75-78页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106656709A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3684033A1 (en) | Systems and methods for collecting, monitoring, and analyzing vehicle data from a plurality of vehicles using edge computing | |
CN109359007A (en) | Processing method, system, electronic equipment and the storage medium of error log | |
CN107921981A (en) | The monitoring and control of distributed machines | |
CN104243623B (en) | The data processing method of passenger information system and ATS intersystem interfaces | |
CN105208016B (en) | The a variety of data transmissions of agriculture Internet of Things and the method for processing | |
CN110083544A (en) | Distributed automatization test system, method, electronic equipment and storage medium | |
CN108521339A (en) | A kind of reaction type node failure processing method and system based on cluster daily record | |
CN106656709B (en) | A kind of airborne end avionics bus state exchange agreement processing method | |
CN108563455A (en) | Middleware portion arranging method, system and equipment in a kind of K-UX operating systems | |
CN102377657A (en) | External data connection system for flight information integration management system | |
CN108540304A (en) | Remote collection monitoring system and method based on industrial big data | |
CN105530137B (en) | Data on flows analysis method and data on flows analysis system | |
CN110109807A (en) | A kind of early warning maintenance system of blank pipe important equipment | |
CN114390112A (en) | Rail transit emergency disposal method and device, electronic equipment and storage medium | |
CN104181415A (en) | Managing and monitoring system for direct current of transformer neutral point | |
CN112187938B (en) | Substation panoramic monitoring data hierarchical configuration processing method and system | |
CN111817865A (en) | Method for monitoring network management equipment and monitoring system | |
CN117544676A (en) | Multi-terminal operation and maintenance data interactive transmission method and system | |
CN109639545B (en) | Lightweight bus arrangement method of multi-satellite measurement and control platform system | |
CN110825538A (en) | MQ-based method for dynamically interacting data by self-defining data types | |
CN109494872A (en) | A kind of distribution terminal is from register method and system | |
CN112688835B (en) | Signal real-time monitoring method, system, electronic equipment and storage medium | |
CN106375116B (en) | Network element equipment configuration information viewing system and working method thereof | |
KR20070106232A (en) | Power plant simulation system and driving method thereof | |
EP3822782A1 (en) | Server and application monitoring |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |