Summary of the invention
The object of this invention is to provide a kind of industrial-grade optical transmission system, this system can realize transparent transmission, the convergence of data, exchanges, realizes Network Synchronization and standby usage interface inverting.
For achieving the above object, the invention provides a kind of industrial-grade optical transmission system, comprise the PTN device of main website side, optical transmission device and optical terminal equipment composition, described PTN device connects optical transmission device, optical transmission device connects optical terminal equipment, and described optical transmission device comprises PTN module, ODN module and OLT module, wherein this PTN module is used for converging data, transparent transmission process, this ODN module is for accessing this optical terminal equipment, this OLT module is used for the exchange process of data, it is characterized in that: described optical transmission device also comprises the first interface towards this optical terminal equipment, this first interface is made up of host interface module and spare interface module, wherein this host interface module is wired interface module, and this spare interface module is radio interface module,
Described wired interface module is used for wired connection optical terminal equipment;
Described radio interface module is used for wireless connections optical terminal equipment;
When described main interface breaks down when transfer of data, start spare interface by out of band network management configuration.
Described optical transmission device also comprises clock synchronization module, for realizing the clock synchronous of industrial-grade optical transmission system:
Clock synchronization module in described optical transmission device is used for carrying out clock information with PTN device alternately, and from PTN device, extract the clock information of at least one main website;
Clock synchronization module in described optical transmission device also for the treatment of corresponding main website clock information and send to optical terminal equipment, be directly transmitted to user side by this optical terminal equipment.
Remarkable result of the present invention is: achieve the synchronous of network, converges, transparent transmission to different data, exchanges, enhances the fail safe of transfer of data.Realize the masterslave switchover function of optical-fiber network and wireless network, ensure that the transmission of significant data, improving can the reliability of network.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail:
In order to realize the clock synchronous of network, this optical transmission device adds clock synchronization module, for realizing the clock synchronous of industrial-grade optical transmission system: the clock synchronization module in this optical transmission device is used for carrying out clock information with PTN device alternately, and extracts the clock information of at least one main website from PTN device; And the clock synchronization module in this optical transmission device also for the treatment of corresponding main website clock information and send to optical terminal equipment, be directly transmitted to user side by this optical terminal equipment.
For the network environment of Fig. 1, assuming that object is that the clock of main website 1 is passed to user side 1, the clock information of main website 2 is passed to user side 2.
The first step be optical transmission device to the clock synchronous between PTN device, mutual message form as shown in Figure 2, first, sends Sync message by PTN device to optical transmission device, and records the time T left of this message
1, then optical transmission device have received this Sync message, and records this message T time of advent
2, and then will with T by PTN device
1the timestamp of information is beaten on Follow_Up message, and sends to optical transmission device, and now optical transmission device sends Delay_Req message to PTN device, and optical transmission device records the time T that this message leaves website
3, PTN device receives this message subsequently, and records the time T of Delay_Req message arrival
4, and by T
4beat inside Delay_Resp message, and send to optical transmission device.Now, having shaken hands between optical transmission device and PTN device, optical transmission device has T
1, T
2, T
3, T
4the information in these 4 moment.If the propagation delay time between PTN device and optical transmission device is T
ms, the propagation delay time between optical transmission device and PTN device is T
sm, the time of the advanced PTN device clock of optical transmission device clock is T
offset, then can obtain following expression formula:
T
ms=T
2-T
1-T
offset
T
sm=T
4-T
3+T
offset
Supposing that the time delay of the transmitted in both directions of link is consistent, is namely T
sm=T
ms=T
path, then can obtain
T
path=0.5*(T
sm+T
ms)=0.5*(T
2+T
4-T
1-T
3)
PTN device extracts the clock information of main website, and be located at some moment, the clock information of PTN device is T
p1, it is T that PTN device obtains main website 1 time information now
m1, main website 2 time information is at this moment T
m2, suppose in PTN device at T
p2time the time information of main website is sent to optical transmission device, the moment receiving this information is recorded by optical transmission device, is T
oLT1.Then when optical transmission device receives these clock informations, the time information of main website 1 should be
T
M1′=T
M1+(T
P2-T
P1)+T
path
The time information of main website 2 should be
T
M2′=T
M2+(T
P2-T
P1)+T
path
Second step is that the clock information of main website is passed to optical terminal equipment, and as shown in Figure 4, optical transmission device periodically sends Sync frame to optical terminal equipment to its time synchronized flow chart, wherein leaves the time T of optical transmission device containing this frame
oLT2.Propagation delay time simultaneously between optical transmission device and optical terminal equipment is known, makes the propagation delay time between optical transmission device and optical terminal equipment _ 1 be T
d1, the propagation delay time between optical transmission device and optical terminal equipment _ 2 is T
d2, then the temporal information mail in the Sync frame of optical terminal equipment _ 1 is when estimating that this frame arrives optical terminal equipment _ 1, the clock of main website
T″
M1=T
M1′+(T
OLT2-T
OLT1)+T
d1
=T
M1+(T
P2-T
P1)+T
path+(T
OLT2-T
OLT1)+T
d1
The main website moment when temporal information mail in the Sync frame of optical terminal equipment _ 2 is this frame arrival optical terminal equipment _ 2
T″
M2=T
M2′+(T
OLT2-T
OLT1)+T
d2
=T
M2+(T
P2-T
P1)+T
path+(T
OLT2-T
OLT1)+T
d2
After optical terminal equipment receives the Sync frame that optical transmission device sends, any process is not done to it, directly this Sync frame is transmitted to user side, in this process, just achieve the polyphyly of time synchronized, synchronous with EPON network.
Realize different pieces of information exchange, convergence, transparent transmission example:
As shown in Figure 5, first three is the encapsulation format of data in user side; 4th is the encapsulation format of data at optical terminal equipment, and the 5th is the encapsulation format of data at optical transmission device.
As shown in Figure 6, arrive destination user 3 and user 6 with the data of user 1 by transmission network in one embodiment of the invention, and the data of user 2 arrive destination user 5 for example by transmission network and industrial-grade optical transmission system are described by optical transmission device and optical terminal equipment realization to the isolation of different user data, convergence and transparent transmission.
Frame is at user 1 and user 2 place, encapsulate with IEEE802.3 standard, wherein, the source MAC of frame packaged by user 1 is MAC 1, target MAC (Media Access Control) address is MAC 3 and MAC 6, and the source MAC of frame packaged by user 2 is MAC 2, target MAC (Media Access Control) address is MAC 5.At subscriber exchange CE 1 and CE 2 place, the data of user 1 and user 2 are encapsulated with IEEE802.1Q standard respectively, to be respectively be 200 and 220 to the Frame C-VID mark exported from P1 port, and the Frame C-VID exported from P3 port is 210 as shown in Figure 6.
At optical terminal equipment place, from the Frame of P2 port transmission according to similar IEEE802.lQa
ystandard logarithmic is according to frame Reseal, wherein, C-VID be 200 Frame be packaged into that I-SID is 100001, B-VID is 300, the Frame of B-DA to be MAC-D, B-SA be MAC-A, C-VID be 220 Frame be packaged into that I-SID is 100021, B-VID is 320, the Frame of B-DA to be MAC-C, B-SA be MAC-A, and all to export from P4 port.C-VID be 210 Frame be packaged into that I-SID is 100011, B-VID is 310, the Frame of B-DA to be MAC-C, B-SA be MAC-A, and to export as shown in Figure 6 from P4 port.
At optical transmission device place, according to the configuration to optical transmission device, I-SID is 100001, B-VID is 300, this equipment of the direct transparent transmission of Frame of B-DA to be MAC-D, B-SA be MAC-A, and exports from port P8; According to the configuration of network to optical transmission device, I-SID is 100021, B-VID be 320 and I-SID be 100011, B-VID be 310 Frame be all again encapsulated as the Frame that BS-VID is 500, and to export from port P6.
Transmission network other end PTN device D is to after the Frame decapsulation received, and exporting C-VID from P10 port is the Frame of 200; Destination MAC 3 is forwarded the data to again by main website 2.
Other end PTN device C to after the Frame decapsulation received, from P11 port export C-VID be 210 and C-VID be the Frame of 220.Destination MAC5 and MAC 6 is forwarded the data to as shown in Figure 6 again by main website 1.
In order to realize the isomery of network, this industrial-grade optical transmission system comprises the PTN device of main website side, optical transmission device and optical terminal equipment composition, PTN device connects optical transmission device, optical transmission device connects optical terminal equipment, and optical transmission device comprises PTN module, ODN module and OLT module, wherein this PTN module is used for converging and transparent transmission process data, this ODN module is for accessing this optical terminal equipment, this OLT module is used for the exchange process of data, this optical transmission device also comprises the first interface towards this optical terminal equipment, this first interface is made up of host interface module and spare interface module, wherein this host interface module is wired interface module, and this spare interface module is radio interface module.Described wired interface module is used for wired connection optical terminal equipment; Described radio interface module is used for wireless connections optical terminal equipment; When described main interface breaks down when transfer of data, start spare interface by out of band network management configuration.
The embodiment of the masterslave switchover of heterogeneous network:
As shown in Figure 6, between optical terminal equipment and PTN device, there is active link and protection link (solid line is active link, and dotted line is protection link).Between optical terminal equipment and optical transmission device, active link is fiber optic network, and protection link is wireless network.
Break down if connect on A-B direction in work, as shown in Figure 7, then this fault will detect at node A, be configured by out of band network management, and node A selector bridge joint is switched and connected to protection, realizes the masterslave switchover improving fiber optic cable plant port.Because wireless bandwidth is far smaller than the bandwidth of optical-fiber network, therefore only there is important business to be switched and connect to protection, namely only have important business to transmit in the wireless network.