The content of the invention
In view of above-mentioned analysis, the present invention is intended to provide in a kind of bus-type FC-AE-1553 networks between the network terminal
Data is activation and acquisition methods, be used to solve existing network bus control unit on-position must be positioned at bus foremost
Problem.
The purpose of the present invention is mainly achieved through the following technical solutions:
There is provided a kind of bus-type FC-AE-1553 network systems, specifically include:Network controller, the network terminal, bus
Type fiber optic network, optical splitter, net mate device.
Each node in bus-type fiber optic network connection FC-AE-1553 networks, it is general comprising net mate node and network
Logical node;
Network controller is connected to the network ordinary node of bus-type fiber optic network, for managing whole bus-type FC-AE-
The communication process of 1553 network systems;
The network terminal is connected to the network ordinary node of bus-type fiber optic network, and FC-AE-1553 networks are received for passive
The instruction of network controller in system, and for the instruction completion operation of network controller;
Optical splitter realizes the branch of fiber-optic signal;
The on-position of net mate device is located at bus-type FC-AE-1553 network systems foremost, for bus-type
The terminal coupling of fiber optic network, realizes that sequence is forwarded.
Wherein, the bus-type FC-AE-1553 network systems are designed using two-way fiber buss.
Carry out being counted between the network terminal based on above-mentioned bus-type FC-AE-1553 network systems present invention also offers a kind of
Method according to sending, specifically includes following steps:
Step S1. network terminals A receives the data is activation order that network controller is sended over by net mate device
Sequence;
After step S2. network terminals A receives data is activation command sequence, set up with net mate device and communicated, set up
After communication, network terminal A sends data sequence and gives net mate device;
After step S3. net mate devices receive data sequence, data sequence is forwarded to network terminal B;
The network terminal B that step S4. receives data communicates with the foundation of net mate device, after communication is set up, network end
End B sends status switch and gives net mate device;
After step S5. net mate devices receive status switch, status switch is forwarded to network controller;
After step S6. network controllers are received and process status switch, network controller terminates current network terminal A's
Data transmission procedure.
Preferably, network terminal address A of the data is activation command sequence in step S1 comprising data sending terminal, data connect
The network terminal address B of receiving end, data content mark;Network terminal address A and B are respectively used to indicate as data is activation source
The network terminal B of network terminal A and data receiver;Data content identifies the content for indicating data is activation;Only with number
Receive and perform the data is activation command sequence according to the network terminal for sending the address A matchings included in command sequence;Only with
The network terminal receiving data sequence of the address B matchings included in data is activation command sequence.
Preferably, the process for communicating of setting up is:The network terminal passes through up-link, uses wavelength to be λ1Optical fiber letter
Number lead code is sent to net mate device, and wait extended receiver in stable condition.
Preferably, data sequence or status switch to the net mate are sent from the network terminal A/ network terminals B
The process of device is:In up-link, wavelength is used to be λ1Fiber-optic signal be transmitted;
Data sequence or status switch to the process of network terminal A/ network terminals B are sent from the net mate device
For:It is λ to use wavelength on the uplink2Fiber-optic signal be transmitted.
Above-mentioned bus-type FC-AE-1553 network systems are based on present invention also offers one kind, network terminal A obtains network
The method of terminal B data, comprises the following steps:
Step S1. network terminals A receives the data retrieval commands that network controller is sended over by net mate device
Sequence;
After step S2. network terminals A receives data retrieval commands sequence, set up with net mate device and communicated, built
After vertical communication, network terminal A sends command sequence and gives net mate device;
After step S3. net mate devices receive command sequence, the command sequence is forwarded to network terminal B;
After step S4. network terminals B receives command sequence, set up with net mate device and communicated, after communication is set up,
Network terminal B sends status switch and gives net mate device;
After step S5. net mate devices receive status switch, the status switch is forwarded to network terminal A;
Step S6. network terminals B sets up with net mate device communicate again, and after communication is set up, network terminal B sends
Data sequence gives net mate device;
After step S7. net mate devices receive data sequence, the data sequence is forwarded to network terminal A;
Step S8. network terminals A is received after data sequence, is set up with net mate device and communicated, then by network
Coalignment sends status switch to network controller, after network controller receives status switch, terminates current data and obtains
Take process.
Wherein, network terminal address A, the net in data acquisition source of the data retrieval commands sequence comprising demand data end
Network terminal address B, data content mark;Network terminal address A and B are respectively used to indicate as demand data side and data is activation
The network terminal A, B of side;Data content identifies the content for indicating data is activation;Only wrapped with data retrieval commands sequence
The network terminal A of the address A matchings for containing is received and is sent data retrieval commands sequence;Only wrapped with data retrieval commands sequence
Data sequence needed for the network terminal transmission network terminal A of the address B matchings for containing.
Preferably, the process for communicating of setting up is:The network terminal passes through up-link, uses wavelength to be λ1Optical fiber letter
Number lead code is sent to net mate device, and wait extended receiver in stable condition.
Preferably, data sequence or status switch to the net mate are sent from the network terminal A/ network terminals B
The process of device is:In up-link, wavelength is used to be λ1Fiber-optic signal be transmitted;
Data sequence or status switch to the process of network terminal A/ network terminals B are sent from the net mate device
For:It is λ to use wavelength on the uplink2Fiber-optic signal be transmitted.
The present invention has the beneficial effect that:
The invention provides the data is activation between the network terminal in a kind of bus-type FC-AE-1553 networks and acquisition side
Method, by setting net mate terminal, allows data is activation and acquisition process between the network terminal to enter by net mate terminal
OK, the command interaction between network controller and the network terminal is carried out also by net mate terminal, can solve the problem that network is total
The on-position of lane controller must be positioned at the problem foremost of bus so that network controller can be connected to bus-type net
Any one node in network, is easy to the optical fiber wires design of system.
Other features and advantages of the present invention will be illustrated in the following description, also, the partial change from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Specific embodiment
The preferred embodiments of the present invention are specifically described below in conjunction with the accompanying drawings, wherein, accompanying drawing constitutes the application part, and
It is used to explain principle of the invention together with embodiments of the present invention.
The invention provides between the network terminal in a kind of bus-type FC-AE-1553 network systems and the network system
Data is activation and acquisition methods.
The FC-AE-1553 network systems (such as Fig. 1) of bus-type, including:FC-AE-1553 protocol networks controller (NC),
FC-AE-1553 protocol networks terminal (NT), bus-type fiber optic network (ODN), optical splitter, the net mate dress of bus-network
Put.FC-AE-1553 protocol networks terminal at least includes the network terminal A, B.
Network controller (NC) is used to manage the communication process of whole bus-type FC-AE-1553 network systems, network control
Device is connected to the network ordinary node of bus-type fiber optic network, and only network controller can initiate the communication between different nodes.
There can only be a network controller in each FC-AE-1553 network system.
The network terminal (NT) is used for the passive instruction for receiving network controller in FC-AE-1553 network systems, and for net
The instruction of network controller completes corresponding operation.The network terminal is connected to the network ordinary node of bus-type fiber optic network.Each
Multiple network terminals can be set as needed in FC-AE-1553 network systems.
Each node in bus-type fiber optic network (ODN) connection FC-AE-1553 networks, interface type includes that network is general
Logical node and net mate node, the optical power fluctuation of each network ordinary node should be able to meet the photoelectricity of each network node
The requirement of modular converter.Bus-type fiber optic network includes 1 net mate node and multiple network ordinary nodes.
Optical splitter realizes the branch of fiber-optic signal;Go out for fiber-optic signal respectively to be equably input into multiple from import
Mouthful, or the fiber-optic signal remittance fiber-optic signal entrance that reverse operation will be exported.Data between network controller and the network terminal
Exchange carries out the branch of fiber-optic signal by optical splitter.
The on-position of the net mate device of bus-network be located at bus-type FC-AE-1553 network systems most before
End, for the terminal coupling of bus-type fiber optic network, realizes that sequence is forwarded.Only 1 in each FC-AE-1553 network system
Net mate device, the net mate node that the device is connected to by bus-type fiber optic network.
Network controller (NC) and the network terminal (NT) can be by bus-type optical fiber in bus-type FC-AE-1553 networks
Any one network in network (ODN) commonly saves access, the optical fiber letter that network controller (NC) and the network terminal (NT) send
Number wavelength be λ1, up-link is taken, and be burst mode;The fiber-optic signal wavelength of reception is λ2, downlink is taken, be
Continuation mode.Net mate device is by the net mate node access networks network in bus-type fiber optic network, the optical fiber letter of reception
Number wavelength is λ1, it is burst mode, the wavelength of the fiber-optic signal of transmission is λ2, it is continuation mode.
To be exchanged for base unit, each is exchanged communication process in bus-type FC-AE-1553 networks between each node
Single sequence can be included, it is also possible to including multiple sequences, common sequence includes command sequence, data sequence and state sequence
Row.Each exchange is made up of command sequence, data sequence that may be present, status switch that may be present, the specific sequence for sending
Row are determined by the communication task for performing.
Preferably (such as Fig. 2), bus-type FC-AE-1553 networks include at least one optical splitter A and have with optical splitter A
The optical splitter B of equal number;Data exchange between network controller and the network terminal carries out light by optical splitter A or B respectively
The branch of optical fiber signaling.N network controller, the n network terminal and n optical splitter A constitute a bus-type FC-AE-1553 networks
A;N network controller, the n network terminal and n optical splitter B constitute another bus-type FC-AE-1553 network Bs.Bus-type
FC-AE-1553 network As and B are used to carry out active-standby switch.It is super in network-termination device when FC-AE-1553 network As are defaulted as
When without response when, automatically switch to FC-AE-1553 network Bs and carry out message and retry;Similarly, FC-AE-1553 network Bs are being defaulted as
When, when network-termination device time-out is without response, automatically switches to FC-AE-1553 network Bs and carry out message and retry.In this way,
When one of FC-AE-1553 network As, B can not be used, it is possible to use another FC-AE-1553 networks are communicated so that bus-type
FC-AE-1553 networks possess automatically switch and message time-out automatic retray function, as long as and then realizing any way
According to the correct purpose for being capable of achieving data transfer.
One embodiment of the present of invention, discloses a kind of in above-mentioned FC-AE-1553 network systems, between the network terminal
Data is activation method, such as Fig. 3, network terminal A transmits data to network terminal B, specifically includes following step according to instruction
Suddenly:
Step S1. network terminals A receives the data is activation order that network controller is sended over by net mate device
Sequence.
Specifically, network controller passes through up-link, uses wavelength to be λ1Fiber-optic signal to net mate device send out
Lead code is sent, and waits extended receiver in stable condition, i.e., established with net mate device and communicated.Network controller with
After net mate device sets up communication, network controller sends data is activation command sequence and is filled to net mate by fiber-optic signal
Put, after net mate device receives data is activation command sequence, the command sequence is forwarded to network terminal A.
Wherein, network controller passes through up-link, uses wavelength to be λ1Fiber-optic signal send data is activation order sequence
Arrange and give net mate device;After net mate device receives command sequence, it is λ that wavelength is used on the uplink2Optical fiber
The data is activation command sequence is forwarded to network terminal A by signal.
Preferably, net mate device receives command sequence under burst reception pattern, and will life by way of broadcast
Sequence nucleotide sequence is made to be forwarded to the network terminal.
Wherein, above-mentioned data is activation command sequence is a kind of data is activation instruction, and data sending terminal is included in the order
The information such as network terminal address A, the network terminal address B of data receiver, data content mark.Address A and B are respectively used to refer to
It is shown as the network terminal A in the data is activation source and network terminal B of data receiver;Data content is identified for indicating data to send out
The content sent.Each network terminal being connected in bus-type FC-AE-1553 network systems can receive net mate device and turn
The data is activation command sequence of hair, but the network terminal for only being matched with the address A included in the current command sequence receives and holds
The capable data is activation command sequence;The network terminal for only being matched with the address B included in data is activation command sequence receives number
According to sequence.
After step S2. network terminals A receives data is activation command sequence, set up with net mate device and communicated;Setting up
After communication, network terminal A sends data sequence and gives net mate device by fiber-optic signal.
Specifically, network terminal A passes through up-link, uses wavelength to be λ1Fiber-optic signal to net mate device send
Lead code, and wait extended receiver in stable condition, i.e., established with net mate device and communicated.Then, network terminal A leads to
Cross up-link, use wavelength to be λ1Fiber-optic signal to net mate device send data sequence.
Wherein, the address of network terminal B is contained in the data sequence that network terminal A sends, the address comes from data
The address B of the purpose network terminal B of data receiver in command sequence is sent, that network end of receiving data sequence is indicated
End.
After step S3. net mate devices receive data sequence, data sequence is forwarded to network terminal B.Above-mentioned number
It is the data sent the need for indicating in data is activation command sequence according to sequence.
Specifically, after net mate device receives data sequence, it is λ that wavelength is used on the uplink2Optical fiber
Signal sends data sequence to network terminal B.
Wherein, the address of network terminal B is contained in the data sequence for being sent due to network terminal A, therefore, even if connection
Each network terminal in bus-type FC-AE-1553 network systems can receive the data sequence of net mate device forwarding,
The network terminal B for only being matched with the terminal address B included in current data sequence is further received and data storage sequence.
The network terminal B that step S4. receives data communicates with the foundation of net mate device, after communication is set up, network end
End B sends status switch and gives net mate device by fiber-optic signal.
Specifically, the network terminal B for matching with address B passes through up-link, uses wavelength to be λ1Fiber-optic signal to
Net mate device sends lead code, and waits extended receiver in stable condition, i.e., established with net mate device and communicated.
Then, network terminal B passes through up-link, uses wavelength to be λ1Fiber-optic signal to net mate device send status switch.
After step S5. net mate devices receive status switch, status switch is forwarded to network controller.The state
Sequence is used to show that network terminal B has received data.
Specifically, after net mate device receives status switch, it is λ that wavelength is used on the uplink2Optical fiber
Signal sends status switch to network controller.
Preferably, net mate device receives status switch under burst reception pattern, and will by way of broadcast
Status switch is forwarded to network controller.
After step S6. network controllers are received and process status switch, network controller terminates current network terminal A's
Data transmission procedure, the process that network terminal A sends data to network terminal B is completed.
It should be noted that the present embodiment is carried out so that network terminal A transmits data to network terminal B according to instruction as an example
Exemplary illustration, but the present invention is not limited to this, multiple network terminals are according to instruction by required data is activation to multiple network ends
End is also carried out according to above-mentioned principle, also within the scope of the present invention.
Another embodiment of the present invention, discloses in a kind of above-mentioned FC-AE-1553 networks, and network terminal A obtains network end
The method for holding B data, such as Fig. 4 is comprised the following steps:
Step S1. network terminals A receives the data retrieval commands that network controller is sended over by net mate device
Sequence.
Specifically, network controller passes through up-link, uses wavelength to be λ1Fiber-optic signal to net mate device send out
Lead code is sent, and waits extended receiver in stable condition, i.e., established with net mate device and communicated.Network controller with
After net mate device sets up communication, network controller sends data retrieval commands sequence and is filled to net mate by fiber-optic signal
Put, after net mate device receives data retrieval commands sequence, the data retrieval commands sequence is forwarded to network terminal A.
Wherein, network controller passes through up-link, uses wavelength to be λ1Fiber-optic signal send data retrieval commands sequence
Arrange and give net mate device;After net mate device receives command sequence, it is λ that wavelength is used on the uplink2Optical fiber
Command sequence is forwarded to network terminal A by signal.
Preferably, net mate device receives command sequence under burst reception pattern, and will life by way of broadcast
Sequence is made to be forwarded to network terminal A.
Wherein, above-mentioned data retrieval commands sequence is a kind of data acquisition instruction, and demand data end is included in the order
The information such as network terminal address A, the network terminal address B in data acquisition source, data content mark.Address A and B are respectively used to refer to
It is shown as the network terminal A, B of demand data side and data sender;Data content identifies the content for indicating data is activation.
Each network terminal being connected in bus-type FC-AE-1553 network systems can receive the data of net mate device forwarding
Command sequence is obtained, but the network terminal A for only being matched with the address A included in the current command sequence is received and is performed data and obtains
Take command sequence;The network terminal for only being matched with the address B included in data retrieval commands sequence is sent needed for network terminal A
Data sequence.
After step S2. network terminals A receives data retrieval commands sequence, set up with net mate device and communicated, built
After vertical communication, network terminal A sends command sequence and gives net mate device by fiber-optic signal.
Specifically, network terminal A passes through up-link, uses wavelength to be λ1Fiber-optic signal to net mate device send
Lead code, and wait extended receiver in stable condition, i.e., established with net mate device and communicated.Then, network terminal A leads to
Cross up-link, use wavelength to be λ1Fiber-optic signal to net mate device send command sequence.
After step S3. net mate devices receive command sequence, the command sequence is forwarded to network terminal B.
Specifically, after net mate device receives command sequence, it is λ that wavelength is used on the uplink2Optical fiber
Signal sends command sequence to network terminal B.
The command sequence indicates the network terminal B to carry out data is activation, and further include to be sent data content,
Data is activation destination locations (network terminal A), data source address (address of network terminal B).Net mate device is according to this
Data source address, command sequence is forwarded to the network terminal B matched with address.
Preferably, net mate device receives status switch under burst reception pattern, and will by way of broadcast
Status switch is forwarded to network terminal B.
After step S4. network terminals B receives command sequence, set up with net mate device and communicated;After communication is set up,
Network terminal B sends status switch and gives net mate device by fiber-optic signal.
Specifically, network terminal B passes through up-link, uses wavelength to be λ1Fiber-optic signal to net mate device send
Lead code, and wait extended receiver in stable condition, i.e., established with net mate device and communicated.Then, network terminal B leads to
Cross up-link, use wavelength to be λ1Fiber-optic signal to net mate device send status switch.Wherein, wrapped in status switch
The address of network terminal A is contained.
After step S5. net mate devices receive status switch, the status switch is forwarded to network terminal A.
Specifically, after net mate device receives data sequence, it is λ that wavelength is used on the uplink2Optical fiber
Signal sends status switch to network terminal A.
Due to containing the address of network terminal A in status switch, therefore be sent to for status switch by net mate device
The network terminal A matched with address in status switch.
Preferably, net mate device receives status switch under burst reception pattern, and will by way of broadcast
Status switch is forwarded to network terminal A.
Step S6. network terminals B sets up with net mate device communicate again, and after communication is set up, network terminal B passes through
Fiber-optic signal sends data sequence and gives net mate device.
Specifically, the method for connection setup passes through up-link, uses wavelength to be λ with step S4, and network terminal B1
Fiber-optic signal to net mate device send data sequence.
After step S7. net mate devices receive data sequence, the data sequence is forwarded to network terminal A.
Specifically, after net mate device receives data sequence, it is λ that wavelength is used on the uplink2Optical fiber
Signal sends data sequence to network terminal A.
Wherein, the address of network terminal A is contained in data sequence.Be sent to data sequence and number by net mate device
According to the network terminal A that address in sequence matches.
Preferably, net mate device receives data sequence under burst reception pattern, and will by way of broadcast
Data sequence is forwarded to network terminal A.
Step S8. network terminals A is received after data sequence, is set up with net mate device and communicated, then by network
Coalignment sends status switch to network controller, after network controller receives status switch, terminates current data and obtains
Process is taken, the process that network terminal A obtains the data of network terminal B is completed.The status switch is used to show network terminal A
According to data retrieval commands sequence, the data for needing have been got.
Wherein, the step of network terminal A sets up communication with net mate device is identical with step S2.
Network terminal A sends status switch and specifically includes by net mate device to network controller:Network terminal A leads to
Cross up-link, use wavelength to send status switch to net mate device for the fiber-optic signal of λ 1, net mate device is received
To after status switch, it is λ that wavelength is used on the uplink2Fiber-optic signal send status switch to network controller.
It should be noted that the present embodiment is entered the data instance obtained in network terminal B according to instruction with network terminal A
Row exemplary illustration, but the present invention is not limited to this, and multiple network terminals are same according to the data that instruction obtains multiple network terminals
Sample is carried out according to above-mentioned principle, also within the scope of the present invention.
In sum, the embodiment of the invention provides between the network terminal in a kind of bus-type FC-AE-1553 networks
Data is activation and acquisition methods, are realized between the network terminal and network controller and net by setting net mate terminal
The data exchange processes such as order reception, state transmission, data is activation and acquisition between network terminal, can solve the problem that network-bus control
The on-position of device processed must be positioned at the problem foremost of bus so that network controller can be connected in bus-network
Any one node, be easy to the optical fiber wires design of system, further alleviate in specific area FC- in small space
The difficulty of AE-1553 network equipments layout, realizes the flexible switching of the node location of net control device and the network terminal.
It will be understood by those skilled in the art that all or part of flow of above-described embodiment method is realized, can be by meter
Calculation machine program is completed to instruct the hardware of correlation, and described program can be stored in computer-readable recording medium.Wherein, institute
It is disk, CD, read-only memory or random access memory etc. to state computer-readable recording medium.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto,
Any one skilled in the art the invention discloses technical scope in, the change or replacement that can be readily occurred in,
Should all be included within the scope of the present invention.