CN113612668B - Communication method for bridging three protocols - Google Patents

Communication method for bridging three protocols Download PDF

Info

Publication number
CN113612668B
CN113612668B CN202110680069.3A CN202110680069A CN113612668B CN 113612668 B CN113612668 B CN 113612668B CN 202110680069 A CN202110680069 A CN 202110680069A CN 113612668 B CN113612668 B CN 113612668B
Authority
CN
China
Prior art keywords
std
mil
instruction
feedback data
data
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
Application number
CN202110680069.3A
Other languages
Chinese (zh)
Other versions
CN113612668A (en
Inventor
赵昶宇
黄庆海
刘振业
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202110680069.3A priority Critical patent/CN113612668B/en
Publication of CN113612668A publication Critical patent/CN113612668A/en
Application granted granted Critical
Publication of CN113612668B publication Critical patent/CN113612668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • 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/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/356Switches specially adapted for specific applications for storage area networks
    • H04L49/357Fibre channel switches

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a communication method for bridging three protocols, which is characterized in that a main controller module initiates an instruction for inquiring MIL-STD-1553 feedback data by modifying a mode for processing MIL-STD-1553 information in a bridge module, and when MIL-STD-1553 bus data and GJB1188B bus data are transmitted in a mixed manner, the problem of system transmission rate blocking caused by large difference of information transmission rates is effectively relieved, and the transmission efficiency and the throughput of a system are improved; and the main controller module does not use a plurality of message stacks to respectively receive and process the MIL-STD-1553 message and the GJB1188B message, thereby greatly saving system resources and enhancing the expandability and the stability of the system.

Description

Communication method for bridging three protocols
Technical Field
The invention relates to a communication method for bridging three protocols, belonging to the technical field of FC-AE-1553 bus, MIL-STD-1553 bus and GJB1188B bus communication.
Background
In an avionics test system, the mutual conversion between an FC-AE-1553 protocol and an MIL-STD-1553 protocol and between an FC-AE-1553 protocol optical interface and a GJB1188B standard interface are required to be realized at the same time. The upper computer sends an upper computer control instruction to the main controller module through the Ethernet, the main controller module receives the upper computer control instruction sent by the upper computer through the Ethernet, analyzes and processes the upper computer control instruction, generates an FC-AE-1553 control instruction, sends the generated FC-AE-1553 control instruction to the optical fiber switch, and the optical fiber switch receives the FC-AE-1553 control instruction sent by the main controller module and sends the FC-AE-1553 control instruction to the bridge module.
The bridge module receives an FC-AE-1553 control instruction sent by the optical fiber switch, converts the FC-AE-1553 control instruction through an MIL-STD-1553 protocol to generate an MIL-STD-1553 data instruction, and forwards the generated MIL-STD-1553 data instruction to the terminal equipment A through an MIL-STD-1553 bus. The bridge module converts the FC-AE-1553 control instruction into a GJB1188B protocol to generate a GJB1188B data instruction, and forwards the generated GJB1188B data instruction to the terminal equipment B through a GJB1188B bus.
And the terminal equipment A receives an MIL-STD-1553 data instruction sent by the bridge module, generates MIL-STD-1553 feedback data, and sends the generated MIL-STD-1553 feedback data to the bridge module through an MIL-STD-1553 bus. And the terminal device B receives the GJB1188B data instruction sent by the bridge module, generates GJB1188B feedback data, and sends the generated GJB1188B feedback data to the bridge module through a GJB1188B bus.
The bridge module receives MIL-STD-1553 feedback data sent by the terminal equipment A and GJB1188B feedback data sent by the terminal equipment B, generates FC-AE-1553 feedback data after the MIL-STD-1553 feedback data and the GJB1188B feedback data are respectively subjected to FC-AE-1553 protocol conversion, and sends the generated FC-AE-1553 feedback data to the optical fiber switch through an FC-AE-1553 bus.
The fiber switch receives FC-AE-1553 feedback data sent by the bridge module, the FC-AE-1553 feedback data are sent to the main controller module through an FC-AE-1553 bus, the main controller module receives the FC-AE-1553 feedback data sent by the fiber switch, the FC-AE-1553 feedback data are packaged according to Ethernet messages, an upper computer feedback instruction is generated, and the generated upper computer feedback instruction is sent to an upper computer through an Ethernet.
When MIL-STD-1553 bus data and GJB1188B bus data are in mixed transmission on a system communication link, on one hand, the communication rate of the MIL-STD-1553 bus data is only 1Mbps and is far less than that of the GJB1188B bus data; on the other hand, because both adopt the working mode of command/response, the main controller module will only process the data and status response of the GJB1188B bus after processing the data and status response of the MIL-STD-1553 bus. That is, the MIL-STD-1553 bus communication may block the interaction efficiency of the whole system, and when the bandwidth required by the bridge module is high (greater than 1 Mb/s), the above processing method may greatly reduce the efficiency and throughput of the system.
Disclosure of Invention
The technical problem solved by the invention is as follows: the defects of the prior art are overcome, the communication method for bridging three protocols is provided, the problems of low system efficiency and low throughput when MIL-STD-1553 bus data and GJB1188B bus data are transmitted in a mixed mode are solved, and the real-time performance and the reliability of communication transmission of the main controller module, the terminal equipment A and the terminal equipment B are improved.
The technical scheme of the invention is as follows:
a communication method for bridging three protocols comprises the following steps:
step one, receiving an MIL-STD-1553 data instruction sent by a bridge module, generating MIL-STD-1553 feedback data, and sending the generated MIL-STD-1553 feedback data to the bridge module through an MIL-STD-1553 bus;
step two, the main controller module: receiving an upper computer control instruction sent by an upper computer through an Ethernet, analyzing the upper computer control instruction, generating an FC-AE-1553 control instruction, namely configuring an FC-AE-1553 control instruction, when each FC-AE-1553 control instruction is configured according to an FC-AE-1553 protocol, immediately configuring an inquiry instruction corresponding to the control instruction, and sending the FC-AE-1553 control instruction and the corresponding inquiry instruction to a bridge module through an optical fiber switch; the interval between the sending time of the query instruction of the FC-AE-1553 control instruction and the sending time of the FC-AE-1553 control instruction is more than or equal to the response time of MIL-STD-1553 feedback data;
step three, after receiving the FC-AE-1553 control instruction, the bridge module converts the FC-AE-1553 control instruction into an MIL-STD-1553 data instruction and a GJB1188B data instruction, sends the MIL-STD-1553 data instruction to the terminal device A, and sends the GJB1188B data instruction to the terminal device B; entering the step four;
step four, the terminal device A sends the MIL-STD-1553 feedback data generated by the terminal device A to the bridge module through an MIL-STD-1553 bus; the terminal device B sends GJB1188B feedback data generated by the terminal device B to the bridge module through a GJB1188B bus;
step five, the bridge module judges whether the received data is MIL-STD-1553 feedback data or GJB1188B feedback data, and if the received data is MIL-STD-1553 feedback data, the step six is carried out; if the data is GJB1188B feedback data, performing the step eight;
step six, the bridge module receives MIL-STD-1553 feedback data sent by the terminal equipment A and stores the MIL-STD-1553 feedback data; step seven is carried out;
step seven, after receiving the query instruction corresponding to the FC-AE-1553 control instruction, sending MIL-STD-1553 feedback data stored in the bridge module to the main controller module through the optical fiber switch; after receiving FC-AE-1553 feedback data, the main controller module performs packet processing on the FC-AE-1553 feedback data according to an Ethernet message to generate an upper computer feedback instruction, and sends the generated upper computer feedback instruction to an upper computer through the Ethernet;
step eight, the bridge module sends the received GJB1188B feedback data sent by the terminal equipment B to the main controller module through the optical fiber switch; after receiving the GJB1188B feedback data, the main controller module performs packet processing on the GJB1188B feedback data according to the Ethernet message to generate an upper computer feedback instruction, and sends the generated upper computer feedback instruction to an upper computer through the Ethernet; the communication between the upper computer and the terminal equipment A and the communication between the upper computer and the terminal equipment B are realized.
In the above communication method for bridging three protocols, the upper computer: and sending an upper computer control instruction to the main controller module through the Ethernet, and receiving an upper computer feedback instruction sent by the main controller module through the Ethernet.
In the above communication method for bridging three protocols, the main controller module: receiving an upper computer control instruction sent by an upper computer through the Ethernet, analyzing the upper computer control instruction, generating an FC-AE-1553 control instruction, namely configuring an FC-AE-1553 control instruction, and sending the generated FC-AE-1553 control instruction to the optical fiber switch; when the main controller module receives FC-AE-1553 feedback data sent by the optical fiber switch, the FC-AE-1553 feedback data is packaged according to an Ethernet message to generate an upper computer feedback instruction, and the generated upper computer feedback instruction is sent to an upper computer through the Ethernet; when the master controller module receives the GJB1188B feedback data, the GJB1188B feedback data is packaged according to the Ethernet message to generate an upper computer feedback instruction, and the generated upper computer feedback instruction is sent to the upper computer through the Ethernet.
In the above communication method for bridging three protocols, the optical fiber switch: receiving an FC-AE-1553 control instruction sent by a main controller module, and sending the FC-AE-1553 control instruction to a bridge module; and receiving FC-AE-1553 feedback data sent by the bridge module, and sending the FC-AE-1553 feedback data to the main controller module through an FC-AE-1553 bus.
In the above communication method for bridging three protocols, the bridge module: receiving an FC-AE-1553 control instruction sent by the optical fiber switch, converting the FC-AE-1553 control instruction through an MIL-STD-1553 protocol to generate an MIL-STD-1553 data instruction, and forwarding the generated MIL-STD-1553 data instruction to terminal equipment A through an MIL-STD-1553 bus; the bridge module converts the FC-AE-1553 control instruction into a GJB1188B data instruction after the GJB1188B protocol is converted, and forwards the generated GJB1188B data instruction to the terminal equipment B through a GJB1188B bus; receiving MIL-STD-1553 feedback data generated by terminal equipment A and GJB1188B feedback data generated by terminal equipment B, storing the MIL-STD-1553 feedback data in a bridge module, converting the GJB1188B feedback data through an FC-AE-1553 protocol to generate FC-AE-1553 feedback data, and sending the generated FC-AE-1553 feedback data to an optical fiber switch through an FC-AE-1553 bus.
In the above communication method bridging three protocols, the terminal device a: and receiving an MIL-STD-1553 data instruction sent by the bridge module, generating MIL-STD-1553 feedback data, and sending the MIL-STD-1553 feedback data generated by the MIL-STD-1553 feedback data to the bridge module through an MIL-STD-1553 bus.
In the above communication method bridging three protocols, the terminal device B: and receiving the GJB1188B data instruction sent by the bridge module, generating GJB1188B feedback data, and sending the self-generated GJB1188B feedback data to the bridge module through a GJB1188B bus.
In the communication method for bridging the three protocols, after receiving the MIL-STD-1553 feedback data replied by the terminal device a, the bridge module temporarily stores the MIL-STD-1553 feedback data replied by the terminal device a and does not send the data to the optical fiber switch.
In the communication method for bridging three protocols, when the main controller module configures one FC-AE-1553 control instruction according to the FC-AE-1553 protocol, a query instruction corresponding to the control instruction needs to be added and configured immediately, that is, another query instruction corresponding to the control instruction is generated and transmitted to the bridge module through the optical fiber switch; the sending time of the query instruction of the FC-AE-1553 control instruction and the sending time interval of the configured FC-AE-1553 control instruction are more than or equal to the response time of MIL-STD-1553 feedback data.
In the communication method for bridging three protocols, the length of the MIL-STD-1553 feedback data is 64 bytes, the transmission time of 1 byte is 20 mus, the time for transmitting the data of 64 bytes needs 1 command word plus 1 status word plus 32 data words, and the response time of each control command in the MIL-STD-1553 is the response time DeltaT of the MIL-STD-1553 feedback data, and the maximum DeltaT is 800 mus.
In the communication method for bridging the three protocols, after the bridge module receives a query instruction of a certain FC-AE-1553 control instruction sent by the main controller module through the optical fiber switch, the bridge module immediately performs FC-AE-1553 protocol conversion on MIL-STD-1553 feedback data replied by the terminal equipment A to form an upper computer feedback instruction which is forwarded to the main controller module through the optical fiber switch; and the upper computer feedback instruction received by the main controller module is sent to the upper computer through the Ethernet.
Compared with the prior art, the invention has the advantages that:
(1) When MIL-STD-1553 bus data and GJB1188B bus data are transmitted in a mixed manner, the problem of system transmission rate blockage caused by large difference of message transmission rates is effectively solved, and the transmission efficiency and the throughput of the system are improved;
(2) According to the invention, the main controller module does not use a plurality of message stacks to respectively receive and process the MIL-STD-1553 message and the GJB1188B message, so that system resources are greatly saved, and the expandability and stability of the system are enhanced.
(3) The invention solves the problem of lower system efficiency and throughput when MIL-STD-1553 bus data and GJB1188B bus data are transmitted in a mixed manner, and improves the real-time performance and reliability of the communication transmission of the main controller module, the terminal equipment A and the terminal equipment B.
Drawings
FIG. 1 is a schematic diagram of a protocol bridge of an avionics test system FC-AE-1553 according to the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific embodiments.
The invention provides a communication processing method for bridging MIL-STD-1553 and GJB1188B by an FC-AE-1553 protocol, aiming at solving the problems of low system efficiency and throughput during mixed transmission of MIL-STD-1553 bus data and GJB1188B bus data and improving the real-time performance and reliability of communication transmission of a main controller module, a terminal device A and a terminal device B.
A communication method for bridging three protocols, as shown in fig. 1, specifically includes the following steps:
step one, receiving an MIL-STD-1553 data instruction sent by a bridge module, generating MIL-STD-1553 feedback data, and sending the generated MIL-STD-1553 feedback data to the bridge module through an MIL-STD-1553 bus;
step two, the main controller module: receiving an upper computer control instruction sent by an upper computer through an Ethernet, analyzing the upper computer control instruction, generating an FC-AE-1553 control instruction, namely configuring an FC-AE-1553 control instruction, when each FC-AE-1553 control instruction is configured according to an FC-AE-1553 protocol, immediately configuring an inquiry instruction corresponding to the control instruction, and sending the FC-AE-1553 control instruction and the corresponding inquiry instruction to a bridge module through an optical fiber switch; the sending time of the query instruction of the FC-AE-1553 control instruction and the sending time interval of the FC-AE-1553 control instruction are more than or equal to the response time of MIL-STD-1553 feedback data;
step three, after receiving the FC-AE-1553 control instruction, the bridge module converts the FC-AE-1553 control instruction into an MIL-STD-1553 data instruction and a GJB1188B data instruction, sends the MIL-STD-1553 data instruction to the terminal device A, and sends the GJB1188B data instruction to the terminal device B; entering the step four;
step four, the terminal device A sends the MIL-STD-1553 feedback data generated by the terminal device A to the bridge module through an MIL-STD-1553 bus; the terminal device B sends the self-generated GJB1188B feedback data to the bridge module through a GJB1188B bus;
step five, the bridge module judges whether the received data is MIL-STD-1553 feedback data or GJB1188B feedback data, and if the received data is MIL-STD-1553 feedback data, the step six is carried out; if the data is GJB1188B feedback data, performing the step eight;
step six, the bridge module receives MIL-STD-1553 feedback data sent by the terminal equipment A and stores the MIL-STD-1553 feedback data; step seven is carried out;
step seven, after receiving the query instruction corresponding to the FC-AE-1553 control instruction, sending MIL-STD-1553 feedback data stored in the bridge module to the main controller module through the optical fiber switch; after receiving FC-AE-1553 feedback data, the main controller module performs packet processing on the FC-AE-1553 feedback data according to an Ethernet message to generate an upper computer feedback instruction, and sends the generated upper computer feedback instruction to an upper computer through the Ethernet;
step eight, the bridge module sends the received GJB1188B feedback data sent by the terminal equipment B to the main controller module through the optical fiber switch; after receiving the GJB1188B feedback data, the main controller module performs packet processing on the GJB1188B feedback data according to the Ethernet message to generate an upper computer feedback instruction, and sends the generated upper computer feedback instruction to an upper computer through the Ethernet; the communication between the upper computer and the terminal equipment A and the communication between the upper computer and the terminal equipment B are realized.
An upper computer: and sending an upper computer control instruction to the main controller module through the Ethernet, and receiving an upper computer feedback instruction sent by the main controller module through the Ethernet.
A main controller module: receiving an upper computer control instruction sent by an upper computer through the Ethernet, analyzing the upper computer control instruction, generating an FC-AE-1553 control instruction, namely configuring an FC-AE-1553 control instruction, and sending the generated FC-AE-1553 control instruction to the optical fiber switch; when the main controller module receives FC-AE-1553 feedback data sent by the optical fiber switch, the FC-AE-1553 feedback data is packaged according to an Ethernet message to generate an upper computer feedback instruction, and the generated upper computer feedback instruction is sent to an upper computer through the Ethernet; when the master controller module receives the GJB1188B feedback data, the GJB1188B feedback data is packaged according to the Ethernet message to generate an upper computer feedback instruction, and the generated upper computer feedback instruction is sent to the upper computer through the Ethernet.
The optical fiber switch comprises: receiving an FC-AE-1553 control instruction sent by a main controller module, and sending the FC-AE-1553 control instruction to a bridge module; and receiving FC-AE-1553 feedback data sent by the bridge module, and sending the FC-AE-1553 feedback data to the main controller module through an FC-AE-1553 bus.
A bridge module: receiving an FC-AE-1553 control instruction sent by the optical fiber switch, converting the FC-AE-1553 control instruction through an MIL-STD-1553 protocol to generate an MIL-STD-1553 data instruction, and forwarding the generated MIL-STD-1553 data instruction to terminal equipment A through an MIL-STD-1553 bus; the bridge module converts the FC-AE-1553 control instruction into a GJB1188B data instruction after the GJB1188B protocol is converted, and forwards the generated GJB1188B data instruction to the terminal equipment B through a GJB1188B bus; receiving MIL-STD-1553 feedback data generated by the terminal equipment A and GJB1188B feedback data generated by the terminal equipment B, storing the MIL-STD-1553 feedback data in a bridge module, converting the GJB1188B feedback data through an FC-AE-1553 protocol to generate FC-AE-1553 feedback data, and sending the generated FC-AE-1553 feedback data to the optical fiber switch through an FC-AE-1553 bus.
The terminal device A: and receiving an MIL-STD-1553 data instruction sent by the bridge module, generating MIL-STD-1553 feedback data, and sending the MIL-STD-1553 feedback data generated by the MIL-STD-1553 feedback data to the bridge module through an MIL-STD-1553 bus.
And a terminal device B: and receiving the GJB1188B data instruction sent by the bridge module, generating GJB1188B feedback data, and sending the self-generated GJB1188B feedback data to the bridge module through a GJB1188B bus.
After receiving the MIL-STD-1553 feedback data replied by the terminal device a, the bridge module temporarily stores the MIL-STD-1553 feedback data replied by the terminal device a and does not send the data to the optical fiber switch.
When the main controller module configures an FC-AE-1553 control instruction according to an FC-AE-1553 protocol, a query instruction corresponding to the control instruction needs to be added and configured immediately, namely a query instruction corresponding to the control instruction is generated additionally and is forwarded to the bridge module through the optical fiber switch; the sending time of the query command of the FC-AE-1553 control command and the sending time interval of the configured FC-AE-1553 control command are more than or equal to the response time of MIL-STD-1553 feedback data.
The length of the MIL-STD-1553 feedback data is 64 bytes, the transmission time of 1 byte is 20 mu s, the transmission of 64 bytes of data needs 1 command word plus 1 status word plus 32 data words, and the response time of each control instruction in the MIL-STD-1553 is the response time delta T of the MIL-STD-1553 feedback data, and the maximum delta T is 800 mu s.
After the bridge module receives a query instruction of a certain FC-AE-1553 control instruction sent by the main controller module through the optical fiber switch, the bridge module immediately performs FC-AE-1553 protocol conversion on MIL-STD-1553 feedback data replied by the terminal equipment A to form an upper computer feedback instruction and forwards the upper computer feedback instruction to the main controller module through the optical fiber switch; and the upper computer feedback instruction received by the main controller module is sent to the upper computer through the Ethernet.
The invention adopts the following technical scheme.
Modifying the way in which MIL-STD-1553 messages are processed in a bridge module
After the main controller module sends the instruction to the terminal device a, it usually needs to wait for the terminal device a to reply data and status response. After receiving the MIL-STD-1553 feedback data replied by the terminal device a, the bridge module conventionally performs protocol conversion immediately and forwards the data to the main controller module through the optical fiber switch. The key point influencing the transmission efficiency and the throughput of the system is that the main controller module waits for the terminal device A to reply the MIL-STD-1553 feedback data. Therefore, the mode of processing the MIL-STD-1553 message in the bridge module is modified, and after receiving the MIL-STD-1553 feedback data replied by the terminal device A, the bridge module temporarily stores the MIL-STD-1553 feedback data replied by the terminal device A and does not send the feedback data to the optical fiber switch.
The main controller module initiates an instruction of inquiring MIL-STD-1553 feedback data
Estimating the response time of the MIL-STD-1553 feedback data replied by the terminal equipment A, and immediately adding and configuring a query instruction corresponding to an MIL-STD-1553 message when the main controller module configures the MIL-STD-1553 message according to the FC-AE-1553 protocol. The sending time of the message inquiry command and the sending time interval of the message should be greater than or equal to the response time. After the main controller module sends the instruction to the terminal device A, the main controller module does not need to wait for the terminal device A to reply the MIL-STD-1553 feedback data, and continues to process the next MIL-STD-1553 message or GJB1188B message. After the main controller module sends the query instruction of a certain MIL-STD-1553 message, the bridge module immediately performs protocol conversion on MIL-STD-1553 feedback data replied by the terminal equipment A and forwards the data to the main controller module through the optical fiber switch.
After the terminal device a finishes sending the instruction, it is usually necessary to wait for the terminal device a to reply the MIL-STD-1553 feedback data. And after receiving the MIL-STD-1553 feedback data replied by the terminal equipment A, the bridge module temporarily stores the MIL-STD-1553 feedback data replied by the terminal equipment A and does not send the feedback data to the optical fiber switch.
A bridge module: and receiving an FC-AE-1553 control instruction sent by the optical fiber switch, converting the FC-AE-1553 control instruction into an MIL-STD-1553 protocol to generate an MIL-STD-1553 data instruction, and forwarding the generated MIL-STD-1553 data instruction to the terminal equipment A through an MIL-STD-1553 bus. The bridge module converts the FC-AE-1553 control instruction into a GJB1188B data instruction after the GJB1188B protocol is converted, and forwards the generated GJB1188B data instruction to the terminal equipment B through a GJB1188B bus; receiving MIL-STD-1553 feedback data sent by terminal equipment A and GJB1188B feedback data sent by terminal equipment B, storing the MIL-STD-1553 feedback data, converting the GJB1188B feedback data through an FC-AE-1553 protocol to generate FC-AE-1553 feedback data, and sending the generated FC-AE-1553 feedback data to an optical fiber switch through an FC-AE-1553 bus.
After receiving a query instruction of a certain MIL-STD-1553 message sent by the main controller module, the bridge module immediately performs protocol conversion on MIL-STD-1553 feedback data replied by the terminal device A and forwards the data to the main controller module through the optical fiber switch.
After receiving the instruction of the upper computer, the main controller module sends the message according to the following steps:
and calculating the response time delta T of the feedback data of the MIL-STD-1553 replied by the terminal equipment A in the MIL-STD-1553 protocol. Taking 64 bytes as an example, the transmission time of 1 word (16 bits) is 20 μ s, the transmission of 64 bytes of data requires 1 command word plus 1 status word plus 32 data words, plus the message response time, and the response time Δ T of MIL-STD-1553 feedback data is about 800 μ s at maximum.
And the main controller module stores the received upper computer control instruction (including an MIL-STD-1553 message and a GJB1188B message) in a message queue.
The main controller module takes out a message from the message queue, analyzes and processes the RT address, the RT sub-address, the data length, the data content and the message type in the message, and divides the message into two types of NC- > NT type and NT- > NC type.
The main controller module configures the message type, the source ID of message sending, the destination ID of message sending, the source address of message sending, the destination address of message sending, the message length, the message content and the message interval time of each message according to the FC-AE-1553 protocol. When the message type is an MIL-STD-1553 message, the main controller module needs to immediately increase and configure a query instruction corresponding to the message when configuring an MIL-STD-1553 message according to an FC-AE-1553 protocol. The sending time of the message inquiry command and the sending time interval of the message should be greater than or equal to the response time delta T. When the message type is a GJB1188B message, the main controller module does not need to configure the query instruction of the message.
The main controller module stores each configured message (including the query instruction) in the same message stack, and the main controller module sequentially executes the sending operation of each message according to the arrival time sequence of the messages in the message stack. If an MIL-STD-1553 message is stored in the message stack firstly and then a GJB1188B message is stored, after the MIL-STD-1553 message is sent, the GJB1188B message is continuously sent without waiting for the reply information of the message.
The main controller module judges the value of the interrupt state register of the module, and if the interrupt state register shows that all frames in the current message stack are processed, the main controller module indicates that all frames in the current message stack are sent completely. At this time, the main controller module takes out the control instruction message sent by the next upper computer from the message queue, and executes the analysis processing of the subsequent messages.
According to the invention, by modifying the mode of processing the MIL-STD-1553 message in the bridge module and initiating the command of inquiring the data and state replied by the MIL-STD-1553 by the main controller module, the main controller module can respond and process the command sent by the upper computer in time when MIL-STD-1553 bus data and GJB1188B bus data are transmitted in a mixed manner, and the transmission efficiency and the throughput of the system are improved.
Although the present invention has been described with reference to the preferred embodiments, it is not intended to limit the present invention, and those skilled in the art can make variations and modifications of the present invention without departing from the spirit and scope of the present invention by using the methods and technical contents disclosed above.

Claims (7)

1. A communication method for bridging three protocols is characterized by comprising the following steps:
step one, receiving an MIL-STD-1553 data instruction sent by a bridge module, generating MIL-STD-1553 feedback data, and sending the generated MIL-STD-1553 feedback data to the bridge module through an MIL-STD-1553 bus;
step two, the main controller module: receiving an upper computer control instruction sent by an upper computer through an Ethernet, analyzing the upper computer control instruction, generating an FC-AE-1553 control instruction, namely configuring an FC-AE-1553 control instruction, when each FC-AE-1553 control instruction is configured according to an FC-AE-1553 protocol, immediately configuring an inquiry instruction corresponding to the control instruction, and sending the FC-AE-1553 control instruction and the corresponding inquiry instruction to a bridge module through an optical fiber switch; the sending time of the query instruction of the FC-AE-1553 control instruction and the sending time interval of the FC-AE-1553 control instruction are more than or equal to the response time of MIL-STD-1553 feedback data;
step three, after receiving the FC-AE-1553 control instruction, the bridge module converts the FC-AE-1553 control instruction into an MIL-STD-1553 data instruction and a GJB1188B data instruction, sends the MIL-STD-1553 data instruction to the terminal device A, and sends the GJB1188B data instruction to the terminal device B; entering the step four;
step four, the terminal device A sends the MIL-STD-1553 feedback data generated by the terminal device A to the bridge module through an MIL-STD-1553 bus; the terminal device B sends the self-generated GJB1188B feedback data to the bridge module through a GJB1188B bus;
step five, the bridge module judges whether the received data is MIL-STD-1553 feedback data or GJB1188B feedback data, and if the received data is MIL-STD-1553 feedback data, the step six is carried out; if the data is GJB1188B feedback data, performing the step eight;
step six, the bridge module receives MIL-STD-1553 feedback data sent by the terminal device A and stores the MIL-STD-1553 feedback data; step seven is carried out;
step seven, after receiving the query instruction corresponding to the FC-AE-1553 control instruction, sending MIL-STD-1553 feedback data stored in the bridge module to the main controller module through the optical fiber switch; after receiving FC-AE-1553 feedback data, the main controller module performs packet processing on the FC-AE-1553 feedback data according to an Ethernet message to generate an upper computer feedback instruction, and sends the generated upper computer feedback instruction to an upper computer through the Ethernet;
step eight, the bridge module sends the received GJB1188B feedback data sent by the terminal equipment B to the main controller module through the optical fiber switch; after receiving the GJB1188B feedback data, the main controller module performs packet processing on the GJB1188B feedback data according to the Ethernet message to generate an upper computer feedback instruction, and sends the generated upper computer feedback instruction to an upper computer through the Ethernet; the communication between the upper computer and the terminal equipment A and the communication between the upper computer and the terminal equipment B are realized;
after receiving the MIL-STD-1553 feedback data replied by the terminal equipment A, the bridge module temporarily stores the MIL-STD-1553 feedback data replied by the terminal equipment A and does not send the data to the optical fiber switch;
when the main controller module configures an FC-AE-1553 control instruction according to an FC-AE-1553 protocol, a query instruction corresponding to the control instruction needs to be added and configured immediately, namely a query instruction corresponding to the control instruction is generated additionally and is forwarded to the bridge module through the optical fiber switch; the sending time of the query instruction of the FC-AE-1553 control instruction and the sending time interval of the configured FC-AE-1553 control instruction are more than or equal to the response time of MIL-STD-1553 feedback data;
the length of the MIL-STD-1553 feedback data is 64 bytes, the transmission time of 1 byte is 20 mu s, the time of adding 1 command word and 1 status word and 32 data words is required for transmitting the data of 64 bytes, the response time of each control instruction in the MIL-STD-1553 is the response time delta T of the MIL-STD-1553 feedback data, and the maximum delta T is 800 mu s;
after the bridge module receives a query instruction of a certain FC-AE-1553 control instruction sent by the main controller module through the optical fiber switch, the bridge module immediately performs FC-AE-1553 protocol conversion on MIL-STD-1553 feedback data replied by the terminal equipment A to form an upper computer feedback instruction which is forwarded to the main controller module through the optical fiber switch; and the upper computer feedback instruction received by the main controller module is sent to the upper computer through the Ethernet.
2. The method of claim 1, wherein the method further comprises: an upper computer: and sending an upper computer control instruction to the main controller module through the Ethernet, and receiving an upper computer feedback instruction sent by the main controller module through the Ethernet.
3. The method of claim 1, wherein the method comprises: a main controller module: receiving an upper computer control instruction sent by an upper computer through the Ethernet, analyzing the upper computer control instruction, generating an FC-AE-1553 control instruction, namely configuring an FC-AE-1553 control instruction, and sending the generated FC-AE-1553 control instruction to the optical fiber switch; when the main controller module receives FC-AE-1553 feedback data sent by the optical fiber switch, the FC-AE-1553 feedback data is packaged according to an Ethernet message to generate an upper computer feedback instruction, and the generated upper computer feedback instruction is sent to an upper computer through the Ethernet; when the master controller module receives the GJB1188B feedback data, the GJB1188B feedback data is packaged according to the Ethernet message to generate an upper computer feedback instruction, and the generated upper computer feedback instruction is sent to the upper computer through the Ethernet.
4. The method of claim 1, wherein the method comprises: the optical fiber switch comprises: receiving an FC-AE-1553 control instruction sent by a main controller module, and sending the FC-AE-1553 control instruction to a bridge module; and receiving FC-AE-1553 feedback data sent by the bridge module, and sending the FC-AE-1553 feedback data to the main controller module through an FC-AE-1553 bus.
5. The method of claim 1, wherein the method comprises: a bridge module: receiving an FC-AE-1553 control instruction sent by the optical fiber switch, converting the FC-AE-1553 control instruction through an MIL-STD-1553 protocol to generate an MIL-STD-1553 data instruction, and forwarding the generated MIL-STD-1553 data instruction to terminal equipment A through an MIL-STD-1553 bus; the bridge module converts the FC-AE-1553 control instruction into a GJB1188B data instruction after the GJB1188B protocol is converted, and forwards the generated GJB1188B data instruction to the terminal equipment B through a GJB1188B bus; receiving MIL-STD-1553 feedback data generated by terminal equipment A and GJB1188B feedback data generated by terminal equipment B, storing the MIL-STD-1553 feedback data in a bridge module, converting the GJB1188B feedback data through an FC-AE-1553 protocol to generate FC-AE-1553 feedback data, and sending the generated FC-AE-1553 feedback data to an optical fiber switch through an FC-AE-1553 bus.
6. The method of claim 1, wherein the method further comprises: the terminal device A: receiving an MIL-STD-1553 data instruction sent by the bridge module, generating MIL-STD-1553 feedback data, and sending the MIL-STD-1553 feedback data generated by the MIL-STD-1553 feedback data to the bridge module through an MIL-STD-1553 bus.
7. The method of claim 1, wherein the method comprises: and a terminal device B: and receiving the GJB1188B data instruction sent by the bridge module, generating GJB1188B feedback data, and sending the GJB1188B feedback data generated by the self to the bridge module through a GJB1188B bus.
CN202110680069.3A 2021-06-18 2021-06-18 Communication method for bridging three protocols Active CN113612668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110680069.3A CN113612668B (en) 2021-06-18 2021-06-18 Communication method for bridging three protocols

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110680069.3A CN113612668B (en) 2021-06-18 2021-06-18 Communication method for bridging three protocols

Publications (2)

Publication Number Publication Date
CN113612668A CN113612668A (en) 2021-11-05
CN113612668B true CN113612668B (en) 2023-04-18

Family

ID=78336571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110680069.3A Active CN113612668B (en) 2021-06-18 2021-06-18 Communication method for bridging three protocols

Country Status (1)

Country Link
CN (1) CN113612668B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116488957B (en) * 2023-04-25 2023-10-20 南京金阵微电子技术有限公司 Signal processing method, system and bridge

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823784A (en) * 2014-03-24 2014-05-28 上海航天电子通讯设备研究所 FC-AE-1553 bus controller based on FPGA
CN206498431U (en) * 2017-01-24 2017-09-15 北京国科天迅科技有限公司 Crossover hybrid network based on protocol conversion bridger
CN109698824A (en) * 2019-02-14 2019-04-30 北京计算机技术及应用研究所 A kind of FC-AE-1553 protocol conversion multi-protocols multi-channel data record system
CN109710554A (en) * 2018-11-29 2019-05-03 北京计算机技术及应用研究所 FC-AE-1553 bus and CAN bus non-transparent bridge welding system
CN210867769U (en) * 2020-03-13 2020-06-26 北京国科天迅科技有限公司 Multifunctional bus bridge
CN113660191A (en) * 2021-06-18 2021-11-16 上海航天精密机械研究所 Communication method for bridging MIL-STD-1553 and GJB1188B protocols through FC-AE-1553 protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850371B (en) * 2017-01-24 2019-09-20 北京国科天迅科技有限公司 A kind of bus-type FC-AE-1553 network system and data are sent and acquisition method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823784A (en) * 2014-03-24 2014-05-28 上海航天电子通讯设备研究所 FC-AE-1553 bus controller based on FPGA
CN206498431U (en) * 2017-01-24 2017-09-15 北京国科天迅科技有限公司 Crossover hybrid network based on protocol conversion bridger
CN109710554A (en) * 2018-11-29 2019-05-03 北京计算机技术及应用研究所 FC-AE-1553 bus and CAN bus non-transparent bridge welding system
CN109698824A (en) * 2019-02-14 2019-04-30 北京计算机技术及应用研究所 A kind of FC-AE-1553 protocol conversion multi-protocols multi-channel data record system
CN210867769U (en) * 2020-03-13 2020-06-26 北京国科天迅科技有限公司 Multifunctional bus bridge
CN113660191A (en) * 2021-06-18 2021-11-16 上海航天精密机械研究所 Communication method for bridging MIL-STD-1553 and GJB1188B protocols through FC-AE-1553 protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FC-AE-1553验证系统结构研究;付平等;《电子测量技术》;20130115(第01期);全文 *

Also Published As

Publication number Publication date
CN113612668A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN113660191A (en) Communication method for bridging MIL-STD-1553 and GJB1188B protocols through FC-AE-1553 protocol
CN113064742B (en) Message processing method, device, equipment and storage medium
US7852857B2 (en) Coupler for a ring topology network and an ethernet-based network
CN111740847B (en) High-speed network data transmission system and method based on FPGA
CN113612668B (en) Communication method for bridging three protocols
WO2022262437A1 (en) Power chip-based multichannel ethernet message processing method
CN111541688B (en) Embedded system compatible with multiple protocols, data processing method and device
CN113676386B (en) FC-AE-1553 bus protocol message communication system
CN116684923A (en) Warehouse data transmission method based on Beidou short message
CN112737932B (en) DPDK-based high-performance IPSCE gateway
CN108833377A (en) A kind of improved CAN protocol data frame structure and data processing method
CN113794713A (en) Communication processing method for bridging MIL-STD-1553 and UART by FC-AE-1553 protocol
US6459706B1 (en) Message-passing communication system generating task for monitoring a specific communication path
CN113572672B (en) Serial port receiving and processing system of FC-AE-1553 bus protocol bridging universal asynchronous receiving and transmitting device
CN113595842B (en) FC-AE-1553 protocol message communication processing system
CN110602225A (en) Efficient packet receiving and sending method of linux system suitable for industrial control environment
CN117749912B (en) Data transmission control method and system based on FPGA module
Saito et al. Low-latency remote-offloading system for accelerator offloading
JPH0983562A (en) Data repeater system for network and data repeating method applied to network system
US20040252712A1 (en) Information data transmitting and receiving device and transmitting and receiving method of information data
EP3082298B1 (en) Slave device and method for controlling the same
US20060034269A1 (en) Action list for a split media access and control layer communications system
CN117596309A (en) Message conversion system for multiple high-speed interface protocols
CN116805931A (en) Electronic device and flow control method thereof
CN118869632A (en) Network switching method, device, equipment and computer program product

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