CN100334819C - Ethernet optical fiber transceiver and data transceiving method used on said tranceiver - Google Patents

Ethernet optical fiber transceiver and data transceiving method used on said tranceiver Download PDF

Info

Publication number
CN100334819C
CN100334819C CNB031481027A CN03148102A CN100334819C CN 100334819 C CN100334819 C CN 100334819C CN B031481027 A CNB031481027 A CN B031481027A CN 03148102 A CN03148102 A CN 03148102A CN 100334819 C CN100334819 C CN 100334819C
Authority
CN
China
Prior art keywords
frame
management data
data
optical fiber
fiber transceiver
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.)
Expired - Fee Related
Application number
CNB031481027A
Other languages
Chinese (zh)
Other versions
CN1479459A (en
Inventor
王剑铭
程万翔
Original Assignee
Ruisikangda Science & Technology Development Co Ltd Beijing
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 Ruisikangda Science & Technology Development Co Ltd Beijing filed Critical Ruisikangda Science & Technology Development Co Ltd Beijing
Priority to CNB031481027A priority Critical patent/CN100334819C/en
Publication of CN1479459A publication Critical patent/CN1479459A/en
Application granted granted Critical
Publication of CN100334819C publication Critical patent/CN100334819C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention discloses an Ethernet optical fiber transceiver and a data transmitting / receiving method for the Ethernet optical fiber transceiver. The Ethernet optical fiber transceiver comprises an optical opening device, a photoelectric module, an electric opening device, an exchange device, a monitoring device, an isolation transformer and a management data processing device, wherein the management data processing device is used for carrying out inserting, replacing/separating and management data manipulation for data frames, and is respectively connected with the optical opening device, the exchange device and the monitoring device to carry out the data exchange. The intermediate byte part of lead codes of each data frame is processed by the inserting, replacing/separating and management data to transmit management data. Because the Ethernet optical fiber transceiver and the data transmitting / receiving method for the Ethernet optical fiber transceiver of the present invention are adopted, the Ethernet optical fibre transceivers can mutually monitor running conditions, and can not occupy the bandwidth of transmission service data.

Description

Ethernet optical fiber transceiver and be used for the data receiving-transmitting method of this transceiver
Technical field
The data receiving-transmitting method that the present invention relates to a kind of ethernet optical fiber transceiver and be used for this ethernet optical fiber transceiver.
Background technology
Ethernet optical fiber transceiver is mainly used in the mutual conversion to two kinds of different transmission mediums in the network system, is applied in the metropolitan area network construction of adopting the Ethernet mode, makes the coverage of Ethernet can reach non-relay transmission more than 120 kilometers.Ethernet optical fiber transceiver is exactly in fact to realize the signal of telecommunication of Ethernet and the minicomputer network equipment that light signal is changed mutually.
Fig. 1 is a simple user end is handled transmission signals by two ethernet optical fiber transceivers to user side a schematic diagram, the Frame that computer user 10 sends at first is transferred to first ethernet optical fiber transceiver 11 with the form of the signal of telecommunication in twisted pair media, after handling through ethernet optical fiber transceiver 11 then, the form that is converted to light signal is transmitted on fiber medium, the form of doing opposite treatment conversion behind second ethernet optical fiber transceiver 12 receiving optical signals again and be the signal of telecommunication is transferred to the computer user 13 of opposite end through twisted pair media, like this, adopt the form transmission of twisted-pair feeder transmission medium with the signal of telecommunication for short-range signal transmission near user side, middle long distance webs adopts optical fiber transmission medium to transmit with the form of light signal.
The functional module of existing Ethernet fiber optical transceiver is formed with reference to Fig. 2, and mainly by light mouth device 22, electricity mouthful device 23, switch 21 and supervising device 20, optical-electric module 24, isolating transformer 25 are formed.
Wherein consist predominantly of codec and deserializer in the electricity mouthful device 23, interconnect with switch 21, isolating transformer 25, adopt serial line interface to pass through isolating transformer 25 on the one hand and drive the twisted-pair feeder circuit, carry out the transmission of the Frame signal of telecommunication, adopt parallel interface to be connected on the other hand with switch 21, to the Frame signal of telecommunication that receives by isolating transformer 25 go here and there and change and decode after send to switch 21; And will encode from the electrical signal data frame that switch 21 is sent simultaneously, also send on the twisted-pair feeder circuit by isolating transformer 25 after the string conversion;
Also comprise codec and deserializer in the light mouth device 22, interconnect with switch 21, optical-electric module 24, adopt serial line interface to link to each other on the one hand with optical-electric module 24, carry out the transmission of Frame light signal to drive fibre circuit by optical-electric module 24, adopt parallel interface to be connected on the other hand with switch 21, be mainly used in the electrical signal data frame of sending from switch 21 encode, and string conversion back be transformed to the optical signal data frame by optical-electric module 24 and send on the fibre circuit; Simultaneously by optical-electric module 24 the optical signal data frame transforms that receive be again it is gone here and there behind the electrical signal data frame and change and decode after send to switch 21, wherein optical-electric module 24 is mainly used in the mutual conversion of optical signal data frame and electrical signal data frame;
Switch 21 main and light mouth devices 22, an electricity mouthful device 23 interconnects, this device comes down to two layers of Ethernet exchange control unit of a dual-port, when having the storage forwarding capability, mainly finishing the storage of the Frame of both sides connection network transmits, flow control, functions such as Frame filtration and network traffics isolation, its inside has Data Buffer Memory, can eliminate as a side is 10M speed, cause data frame transfer speed not match and cause the problem that Frame is congested and opposite side is a 100M speed, also can carry out above-mentioned processing, thereby realize ethernet optical fiber transceiver both sides network rate self adaptation connecting the identical Frame of both sides speed; When only having direct forwarding capability, only both sides are connected the identical Frame of network rate and directly transmit processing;
Interconnect between supervising device 20 and light mouth device 22, the electricity mouthful device 23, the operating state of main monitoring light mouth device 22, electricity mouthful device 23, and work state information is gathered arrangement generate management data and be stored in the memory of self, operations such as the enable/disable of control light mouth device 22, electricity mouthful device 23 and working method configuration, it is realized with mcu programming usually.
Above-mentioned ethernet optical fiber transceiver can realize that the electrical signal conversion that will receive from the twisted-pair feeder circuit is that corresponding light signal transmits by fibre circuit, and will convert the corresponding signal of telecommunication from the light signal that fibre circuit receives to by the transmission of twisted-pair feeder circuit, realize the long-distance transmissions of Frame, with the coverage of expansion Ethernet.
The existing Ethernet fiber optical transceiver can only carry out the forwarding of user data, and like this, ethernet optical fiber transceiver just can't be known the running status of opposite end ethernet optical fiber transceiver, thereby is not easy to the working service of equipment.Because operation and maintenance expenses are very high, limited the extensive application of ethernet optical fiber transceiver in broadband operation net environment.
Summary of the invention
The object of the present invention is to provide a kind of ethernet optical fiber transceiver that can monitor the opposite end state information.
Another object of the present invention is to, a kind of data receiving-transmitting method that is used for ethernet optical fiber transceiver is provided.
For achieving the above object, the present invention proposes a kind of ethernet optical fiber transceiver, is used to accept the ethernet data frame transmission of optical link and electric line, comprising:
With the isolating transformer that described electric line links to each other, be used to drive electric line;
The electricity mouthful device that links to each other with described isolating transformer is used for Frame is carried out serial/parallel conversion and coding/decoding processing;
With the switch that described electricity mouthful device links to each other, be used for that Frame is stored forwarding and handle;
With the optical-electric module that described optical link links to each other, be used to drive optical link and Frame is carried out light/electrical signal conversion;
The light mouth device that links to each other with described optical-electric module is used for Frame is carried out serial/parallel conversion and coding/decoding processing;
With described electricity mouthful device and the supervising device that light mouth device links to each other, be used to monitor the operating state of electricity mouthful device and light mouth device, control the working method of electricity mouthful device and light mouth device, and monitored results is generated management data;
The management data processing unit that links to each other with supervising device with described light mouth device, switch, be used to preserve the management data that supervising device writes, and management data inserted for to the Frame of sending from switch, and this Frame is sent to optical link by described light mouth device, optical-electric module respectively; Be used for simultaneously the Frame that receives from light mouth device is isolated management data, and the integrality of restore data frame, and preserve isolated management data, and the notice supervising device reads management data; Described management data processing unit comprises first-in first-out FIFO memory, wideband controller, inserts for processor, traffic statistics processor, separation processor and interface microcontroller, and interface microcontroller further comprises first register (46) and second register (47); Slotting being mainly used in from first register (46) of interface microcontroller for processor read management data, and management data inserted in the respective byte position of the lead code of replacing each Frame; Whether separation processor is used to detect the Frame of each reception and inserts for management data is arranged, if this Frame is not inserted for management data, then this Frame normally passes through, if inserting, this Frame replaced management data, just management data is separated, and the byte location after will separating reverts to former code word, simultaneously isolated management data deposited in second register (47) of interface microcontroller; Interface microcontroller is used to provide a management interface, first register (46) that wherein comprises is used to store the management data that supervising device writes, when the management data after separation processor separates is stored in second register (47), interface microcontroller sends triggering signal to supervising device, after the triggering signal that the supervising device response is sent, read isolated management data in second register (47) of arriving.
Described management data processing unit is being inserted management data for to the Frame of sending from switch the time, system inserts management data in the relevant position of the 2nd byte to the 7 bytes of replacing each Frame lead code, management data is transmitted by identical Frame in the lump with user data, so that do not take the user data transmission bandwidth.
Also propose a kind of ethernet optical fiber transceiver, be used to accept the ethernet data frame transmission of optical link and electric line, comprising:
With the isolating transformer that described electric line links to each other, be used to drive electric line;
The electricity mouthful device that links to each other with described isolating transformer is used for Frame is carried out serial/parallel conversion and coding/decoding processing;
Switch with described electricity mouthful device links to each other is used for Frame is directly transmitted processing;
With the optical-electric module that described optical link links to each other, be used to drive optical link and Frame is carried out light/electrical signal conversion;
The light mouth device that links to each other with described optical-electric module is used for Frame is carried out serial/parallel conversion and coding/decoding processing;
With described electricity mouthful device and the supervising device that light mouth device links to each other, be used to monitor the operating state of electricity mouthful device and light mouth device, control the working method of electricity mouthful device and light mouth device, and monitored results is generated management data;
It is characterized in that described ethernet optical fiber transceiver also comprises:
The management data processing unit that links to each other with supervising device with described light mouth device, switch, be used to preserve the management data that supervising device writes, and management data inserted for to the Frame of sending from switch, and this Frame is sent to optical link by described light mouth device, optical-electric module respectively; Be used for simultaneously isolating management data to receiving the Frame that comes from light mouth device, and the integrality of restore data frame, and preserve isolated management data, and the notice supervising device reads management data; Described management data processing unit comprises first-in first-out FIFO memory, wideband controller, inserts for processor, traffic statistics processor, separation processor and interface microcontroller, and interface microcontroller further comprises first register (46) and second register (47); Slotting being mainly used in from first register (46) of interface microcontroller for processor read management data, and management data inserted in the respective byte position of the lead code of replacing each Frame; Whether separation processor is used to detect the Frame of each reception and inserts for management data is arranged, if this Frame is not inserted for management data, then this Frame normally passes through, if inserting, this Frame replaced management data, just management data is separated, and the byte location after will separating reverts to former code word, simultaneously isolated management data deposited in second register (47) of interface microcontroller; Interface microcontroller is used to provide a management interface, first register (46) that wherein comprises is used to store the management data that supervising device writes, when the management data after separation processor separates is stored in second register (47), interface microcontroller sends triggering signal to supervising device, after the triggering signal that the supervising device response is sent, read isolated management data in second register (47) of arriving.
For achieving the above object, the present invention also proposes a kind of data transmission method for uplink that is used for ethernet optical fiber transceiver, comprises step:
From the electric line receiving data frames;
Described Frame is gone here and there and changed, and decoding also storage is transmitted or directly forwarding;
Management data is inserted for to through string and conversion, decoding and storage are transmitted or the direct intermediary bytes part of the lead code of the Frame of forwarding;
There is the Frame of management data to encode to inserting to replace, and the string conversion process;
To through coding with and go here and there the Frame of conversion process and carry out electricity/light signal conversion and send to optical link.
For achieving the above object, the present invention also proposes a kind of data receive method that is used for ethernet optical fiber transceiver, comprises step:
Carry out light/electrical signal conversion from the optical link receiving data frames;
Described Frame through light/electrical signal conversion is gone here and there and changed decoding processing;
Partly isolate management data from the described corresponding lead code of Frame through string and conversion and decoding processing;
Recover the slotting lead code of Frame quilt after described lead code partly is separated management data for byte;
The rapid gained Frame of previous step stored transmits or directly transmit, coding and and the string conversion after send to electric line.
Adopt beneficial effect of the present invention: can use normal data frame transfer management data and user data simultaneously, can not take the user service data bandwidth, simultaneously can make the operation conditions that can monitor mutually between the equipment each other, reduce the cost of network operation according to the management data that receives.The ethernet optical fiber transceiver of making according to the method for above-mentioned transfer management data can realize forming between local terminal and the opposite end virtual management data channel, make the operating state that to monitor the other side between two ethernet optical fiber transceivers mutually, when being broken down, the ethernet optical fiber transceiver of one end can in time notify the ethernet optical fiber transceiver of the other end, so that finding the fault highway section fast in time repairs, increase the network system reliability of operation, can not increase the operating load and the maintenance cost of network system simultaneously.
Description of drawings
Fig. 1 is a simple user end is handled transmission signals by two ethernet optical fiber transceivers to user side a schematic diagram;
Fig. 2 is the inner function module composition frame chart of existing ethernet optical fiber transceiver;
Fig. 3 is the networking topological diagram that metropolitan area network adopts ethernet optical fiber transceiver;
Fig. 4 is the inner function module composition frame chart that can receive and dispatch the ethernet optical fiber transceiver of management data;
Fig. 5 is the inner function module composition frame chart of management data processing unit;
Fig. 6 is the physical layer standard data frame format that meets the IEEE802.3 agreement;
Fig. 7 is that Frame is inserted for the frame format behind the management data;
Fig. 8 is to use ethernet optical fiber transceiver of the present invention to send the process flow diagram of management data;
Fig. 9 is to use the process flow diagram of ethernet optical fiber transceiver receiving management data of the present invention;
Figure 10 is the transfer process figure of management data when not having Frame can insert for management data.
Embodiment
Below in conjunction with accompanying drawing concrete detailed explanation is done in further enforcement of the present invention.
In the metropolitan area network that adopts the Ethernet mode is built, switching network side and access network side need respectively dispose an ethernet optical fiber transceiver, its metropolitan area network adopts the network topological diagram of setting up behind the ethernet optical fiber transceiver referring to Fig. 3, metropolitan area network is made up of switching network 1 and access network 2 two large divisions, comprise the switch 5 that is used for the swap data frame and route data frame router four in the switching network 1 to corresponding destination server, be dealt on the IP backbone 3 through the Frame after the router four route, promptly transmit data frames arrives destination server on Internet.When the Frame after switch 5 exchange will mail to the user of access network 2 of far-end, want earlier Frame to be sent to the ethernet optical fiber transceiver 6 that links to each other with switch 5 in the switching network 1, the electricity of ethernet optical fiber transceiver 6 mouthful device receiving data frames, after conversion process, output from the light mouth device of ethernet optical fiber transceiver 6 is after the optical-electric module effect sends to optical link with the Frame that the Frame of electricity consumption signal indication is converted into the light signal indication, the transmission medium of optical link is an optical fiber, because it is big that optical fiber has a capacity, advantages such as transmission speed is fast are so be widely used in the transmission of long distance.Because general distance is distant between switching network 1 and the access network 2, so select for use optical fiber to do transmission medium.Comprise ethernet optical fiber transceiver 7 in the access network 2 of far-end, access switch 8 and each computer user 9, at first ethernet optical fiber transceiver 7 receives the Frame of representing with light signal from fibre circuit, be converted to the Frame of electricity consumption signal indication through optical-electric module, after Frame after 7 pairs of conversions of ethernet optical fiber transceiver is done further processing, send to the access switch 8 from an electricity mouthful device, access switch 8 further sends to Frame among the corresponding calculated machine user 9 more then.
From above-mentioned metropolitan area network topological diagram, find, owing to respectively adopt an ethernet optical fiber transceiver in switching network side and access network side, the transmission signals in whole piece path is arrived light, light after twice conversion of signals of electricity through electricity, make the middle signal transmission can adopt fiber medium to carry out the transmission of light signal, the transmission speed of signal is increased, capacity increases, and the networking cost reduces.The most important thing is to make the coverage of Ethernet to increase, the Ethernet transmission limit is expanded 120 kilometers by 100 meters, make the network organizing pattern more flexible, be suitable for present metropolitan area network, broadband access, intelligent building, large data network, multimedia transmission, campus network, monitoring in real time, the anti-abominable construction that waits environment.
In order to transmit the management data of self mutually between the ethernet optical fiber transceiver that makes described switching network side and access network side, present ethernet optical fiber transceiver is carried out improved internal module forms, mainly form by supervising device 50, management data processing unit 51, switch 52, electricity mouthful device 53, light mouth device 54, optical-electric module 55 and isolating transformer 56 referring to Fig. 4:
Wherein mainly comprise serial/parallel transducer and codec in the light mouth device 54, be mainly used in the Frame that receives from optical link is done string and conversion through serial/parallel transducer earlier, after the codec decoding, consign to management data processing unit 51 again; First to the Frame that receives from management data processing unit 51 simultaneously through codec encodes, after doing and go here and there conversion, serial/parallel transducer is dealt on the optical link by optical-electric module more again;
Optical-electric module 55 links to each other with described light mouth device 54, be used for the Frame between optical link and the light mouth device 54 is carried out the mutual conversion of light/signal of telecommunication, promptly the Frame light signal that receives from optical link is converted to the Frame signal of telecommunication and issues light mouth device 54, simultaneously the Frame electrical signal conversion of sending here from light mouth device 54 is dealt into optical link for the Frame light signal;
Also mainly comprise serial/parallel transducer and codec in the electric mouthful device 53, be mainly used in the Frame that receives from electric line is done string and conversion through serial/parallel transducer earlier, after the codec decoding, consign to switch 52 again; First to the Frame that receives from switch 52 simultaneously through codec encodes, after doing and go here and there conversion, serial/parallel transducer is dealt on the electric line by isolating transformer 56 more again, isolating transformer 56 has the effect of voltage stabilizing, can play a protective role to an electricity mouthful device 53, can not damage electricity mouthful device 53 because of the voltage of electric line is excessive, can drive electric line simultaneously;
Switch 52 links to each other with a described electricity mouthful device 53, and to carry out Frame mutual, and Frame stored forwarding, flow control and directly forwarding processing, switch 52 is two layers of Ethernet exchange control unit of a dual-port, when having the storage forwarding capability, mainly finishing the storage of Frame transmits, flow control, functions such as Frame filtration and network traffics isolation, Data Buffer Memory is contained in its inside, can eliminate optical link and the message transmission rate mismatch problem that cause different, equally also can connect the identical Frame of network rate and store to transmit and handle both sides with the electric line message transmission rate; When 52 of switches have direct forwarding capability, can only connect the identical Frame of network rate to both sides and directly transmit processing;
Supervising device 50 links to each other with an electricity mouthful device 53 with described light mouth device 54, be mainly used in functions such as monitoring, control and exchange of management data, monitoring function mainly is work state information and operational environment, the isoparametric monitoring of temperature information and the collection of finishing light mouth device 54 and electricity mouthful device 53, and the information generation management data of gathering is kept in the memory that self contains; Controlled function is mainly finished the enable/disable of light mouth device 54 and electricity mouthful device 53 and working method configuration etc., the exchange of management data function refers to finish management data is written in the management data processing unit 51, and reads management data from management data processing unit 51;
Management data processing unit 51 is used for the management data that receives from supervising device 50 is inserted for to the Frame that receives from switch 52, and the Frame of inserting after replacing is sent in the light mouth device 54; Be used for simultaneously a Frame that receives from light mouth device 54 separate management data, and the Frame that recovers to separate behind the management data be the processing of whole frame form, and isolated management data preserve, notice supervising device 50 reads, simultaneously the complete data frame that recovers is sent in the switch 52.
With reference to Fig. 5, further comprise first-in first-out FIFO (First in/First out) memory 40 in the management data processing unit 51, wideband controller 41, insert for processor 42, traffic statistics processor 43, separation processor 44 and interface microcontroller 45 further comprise first register 46 and second register 47 in the interface microcontroller 45:
Wherein first-in first-out FIFO (First in/First out) memory 40 is mainly used in and eliminates the difference that receives and send two ends clock phase and frequency, at electricity mouthful device on the direction of light mouth device, receive and to send according to the clock of light mouth device after Frame is handled through FIFO, and at light mouth device on the direction of electricity mouthful device, receive and can send according to the clock of electricity mouthful device after Frame is handled through FIFO;
The input rate of wideband controller 41 major control Frames, (the downlink data link refers to by the direction of electric line to optical link on the up-downgoing data link in management data processing unit 51, up data link refers to by the direction of optical link to electric line) wideband controller 41 is respectively arranged, can control the data frame transfer speed of up-downgoing data link simultaneously;
Slotting being mainly used in from first register 46 of interface microcontroller 45 for processor 42 read management data, and management data is inserted in the respective byte position of the lead code of replacing each Frame, it has the effect of some byte data of replacement data frame for other data;
Traffic statistics processor 43 is used for the byte of the Frame by this device is counted, and with the counting byte number send to interface microcontroller 45, (the downlink data link refers to by the direction of electric line to optical link on the up-downgoing data link in management data processing unit 51, up data link refers to by the direction of optical link to electric line) a traffic statistics processor 43 is respectively arranged, can count the flow of the Frame of up-downgoing data link simultaneously;
Whether separation processor 44 is used to detect the Frame of each reception and inserts for management data is arranged, if this Frame is not inserted for management data, then this Frame normally passes through, if inserting, this Frame replaced management data, just management data is separated, and the byte location after will separating reverts to former code word, simultaneously isolated management data deposited in second register 47 of interface microcontroller 45;
Interface microcontroller 45 is used to provide a management interface, and first register 46 that wherein comprises is used to store the management data that supervising device writes, and is used for follow-up operation of inserting for management data; When the management data after separation processor 44 separates is stored in second register 47 simultaneously, interface microcontroller 45 sends triggering signal to supervising device, after the triggering signal that the supervising device response is sent, read isolated management data in second register 47 of arriving.
At metropolitan area network, what transmit in the data network such as broadband access network and intelligent network all is the ethernet data frame that meets the IEEE802.3 standard generally, this Frame at the standard frame format of physical layer referring to Fig. 6, main lead code by 7 bytes that are used for the data-frame sync effect, the separation position of 1 byte that the sign authentic data begins, the destination address of 6 bytes of the destination address that the identification data frame will arrive, the identification data frame sends the source address of 6 bytes in source, indicate that Frame is the type field of 2 bytes of what categorical data, the effect position of data segment and 4 bytes is formed, wherein the length of data segment is unfixed, span is generally the 46-1500 byte, but its higher limit 1500 bytes are not changeless, can be exceeded.The separation position of the lead code of 7 bytes and 1 byte be mainly used in data link layer the medium access control media access control sublayer Frame synchronously, fill with binary number 101010101010...... and 10101011 respectively.It is real data that the separation position of 1 byte is used to identify what follow below, and no longer be synchronizing information, when recognizing this separation position, the medium access control media access control sublayer of data link layer can recognize that the data that receive below are real useful user data, and it can be isolated real data and is further processed in view of the above.The Frame of being handled by the medium access control media access control sublayer of data link layer is the authentic data frame that begins from the destination address position.And in first byte of only being concerned about synchronously 7 byte lead codes of physical-layer data frame, will be indifferent to for the remainder bytes of 7 byte lead codes.That is to say that all the other bytes can be any data except that first byte in physical-layer data frame 7 byte lead codes, must not be binary number 101010101010.......
Based on above-mentioned principle, can replace with other useful data to the relevant portion of the lead code byte of ethernet data frame in physical layer, be packaged into new Frame, the principle of replacing is: lead code the 1st byte can not take, because the 1st byte still need keep lead code, be used for the physical layer synchronization effect of Frame.Based on this aim, ethernet optical fiber transceiver of the present invention can be inserted the management data that self generates in the relevant position of the 2nd byte to the 7 bytes of replacing each Frame lead code, management data is transmitted by identical Frame in the lump with user data, so that do not take the user data transmission bandwidth.
Wherein the management data branch is inserted in the Frame, and the process of separating management data from the Frame that has encapsulated management data is as follows: transmitting terminal the Frame lead code in the data of any successive byte of the 2nd byte to the 7 byte locations insert for sending for management data, because can fill with binary one 01010101010...... in the lead code position of preceding 7 bytes of each Frame, can insert the binary one 01010101010...... of any successive byte of the 2nd byte to the 7 byte lead code positions for being the binary system of management data so, will insert then and replace the whole Frame of management data to send; After receiving terminal receives the corresponding Frame that encapsulates management data, from the corresponding successive byte of Frame lead code, isolate at transmitting terminal and inserted the management data that replaces, recover to be inserted lead code simultaneously for byte location, after promptly management data being isolated, again slotting lead code byte for management data is partly reverted to binary one 01010101010...... and fill, revert to the reference format of inserting for Frame before the management data once more.
Insert as shown in Figure 7 for the form of the Frame behind the management data, 7 byte lead codes of Frame are transformed to the combination of lead code and management data by original full lead code, first byte in the 7 byte lead codes must transmit lead code, be used for the synchronous effect of whole Frame, can replace with management data since the 2nd byte to the 7 bytes part.As transmitting lead code, the 2nd byte to the 7 byte transfer management data with the 1st lead byte; Also can transmit lead code with the 1st, 2 bytes, the 3rd byte to the 6 byte transfer management data, the 7th byte still transmits lead code; Such compound mode has multiple, as long as guarantee that intermediary bytes that management data takies continuous lead code byte partly, can require to determine that management data takies the best mode of lead code byte location according to reality.
In order to ensure the performance of ethernet optical fiber transceiver operation, guarantee that Frame can transmit accurately, taking below to insert management data for the 3rd byte to the 6 bytes to each Frame lead code is the process that example describes ethernet optical fiber transceiver transmission and receiving management data.This is set in ethernet optical fiber transceiver inside in advance inserts for attribute, even insert for processor and begin the slotting management data that replace/separates in the 3rd byte of each Frame with separation processor, finish slotting replacing/separation management data in the 6th byte, the different situation of network rate that while here only connects at the ethernet optical fiber transceiver two ends describes, and just the switch in the ethernet optical fiber transceiver will carry out storing forwarding again after the rate adapted to the Frame of transmitting-receiving.
The flow process that sends management data is referring to Fig. 8, in the step 60, the data frame transfer that receives from electric line is to electricity mouthful device, and the serial/parallel transducer in the electricity mouthful device is gone here and there to each Frame earlier and changed, after decoder carries out decoding processing, send in the switch again; Data Buffer Memory in the step 61 in the switch sends in the management data processing unit after Frame is stored forwarding, flow control; Supervising device is being monitored the operating state of light mouth device and electricity mouthful device at any time in the while step 62, management information such as the present voltage status of working of ethernet optical fiber transceiver, Link State, working method is generated management data be kept in the memory of self; Supervising device is written to the management data that generates at any time in first register of management data processing unit in the step 63, because the interface microcontroller at the supervising device and the first register place is all by mcu programming control, so the mutual of management data between the supervising device and first register, second register all finished first register, the second register-stored data write by supervising device; In the step 64, the management data processing unit carries out rate controlled to each Frame, in the time of traffic statistics, insert and constantly from first register, to read management data for processor and insert in the position of the 3rd byte to the 6 bytes of each Frame lead code, on the position as the 3rd byte to the 6 bytes of each Frame lead code was lead code 1010101010...... originally, through inserting for after the processor processing, the binary code word that replaced with management data on the position of the 3rd byte to the 6 bytes originally for lead code 1010101010......, will insert the Frame that replaced management data then and be processed into the Frame that can send through FIFO and send in the light mouth device according to the clock of light mouth device; Step 65 light mouth device carries out encoding process with encoder earlier to each Frame, after conversion is done and gone here and there to serial/parallel transducer, sends in the optical-electric module again; Step 66 optical-electric module is the electrical signal data frame transform that receives from light mouth device the optical signal data frame, send on the optical link, promptly as transmission medium the Frame that management data and user data encapsulate together is transferred on the ethernet optical fiber transceiver of opposite end with the light signal form with optical fiber.
The ethernet optical fiber transceiver of opposite end receives the flow chart of its processing behind each Frame referring to Fig. 9, and in the step 70, optical-electric module at first is converted to the electrical signal data frame to each the optical signal data frame that receives from optical link and sends to light mouth device; Light mouth device after serial/parallel transducer is gone here and there and changed, after decoder decode is handled, sends to the management data processing unit to each Frame elder generation again in the step 71; The management data processing unit carries out rate controlled to each Frame dedicated bandwidth controller in the step 72, when carrying out Frame flow statistics with the traffic statistics processor, separation processor also will judge whether insert in each Frame for management data is arranged, if do not insert in the Frame lead code byte for management data, then insert and this Frame is not carried out separating treatment for processor, insert in the lead code byte of Frame for management data is arranged if judge, then insert the operation that this Frame is separated management data for processor, separation and Extraction is removed and is inserted the management data that replaces from the 3rd byte to the 6 bytes of this Frame lead code, on the position of the 3rd byte to the 6 bytes, refill the lead code of Frame then, make it to become the data frame format of standard, after management data is isolated, in the 3rd byte to the 6 bytes of lead code, fill up 10101010......, make Frame with not inserting for the reference format before the management data, separation processor is kept at isolated management data in second register of interface microcontroller then, interface microcontroller sends a triggering signal to supervising device simultaneously, inform that supervising device comes the management data of reading and saving, and sending in the switch after the Frame of the reference format that the recovers process FIFO processing; Supervising device is received this triggering signal of response after the triggering signal that interface microcontroller sends in the step 73, reads isolated management data in second register in the interface microcontroller and is kept in the memory of self; Simultaneously step 74 switch receives behind the Frame and to transmit the back through the rate adapted of Data Buffer Memory and storage and send to electricity mouthful device with suitable speed; Electricity mouthful device is encoded to the encoded device of Frame elder generation in the step 75, carry out and go here and there sending on the electric line by isolating transformer after the transformation through serial/parallel transducer again, so by the twisted-pair feeder transmission medium with signal of telecommunication transmission form with data frame transfer on switch end or computer terminal.
Transmission and reception processing procedure by above-mentioned management data, can make management data that two ethernet optical fiber transceivers on same transmission line can send self to the opposite end, simultaneously also can receive the management data that the opposite end ethernet optical fiber transceiver is sent, thereby can make the running status of monitoring the other side between the two mutually, an ethernet optical fiber transceiver breaks down and can in time be reacted in another ethernet optical fiber transceiver, can find the reason that fault takes place so sooner, fix a breakdown so that in time repair.
Under some special situation, as in a period of time, not having data frame transfer between two ethernet optical fiber transceivers, the transport process of management data is with reference to Figure 10, supervising device at first is written to the management data that generates first register in the interface microcontroller in the step 79, inserting in the step 80 in the management data processing unit for the automatic management data frame of setting up 6 bytes of processor, wherein fill the synchronous effect that lead code is used for the management data frame in the 1st byte and the 2nd byte, the partially filled management data of the 3rd byte to the 6 bytes, packaged management data frame is processed into the Frame that sends according to light mouth device clock through FIFO and sends to light mouth device; In the step 81 light mouth device to the management data frame earlier encoded device encode, carry out and go here and there sending to optical-electric module after the conversion process through serial/parallel transducer again; Optical-electric module sends to optical link to the form that the management data frame is converted to light signal in the step 82, and the management data frame is transferred to the ethernet optical fiber transceiver of opposite end in the transmission medium of optical fiber with the form of light signal; In the step 83, the optical-electric module receiving management Frame in the ethernet optical fiber transceiver of opposite end, and it is carried out light signal arrive electrical signal conversion, the form that the management data frame is converted to the signal of telecommunication sends to light mouth device; In the step 84 light mouth device the management data frame is gone here and there and conversion, decoding processing after send to the management data processing unit; When the management data processing unit carries out rate controlled, traffic statistics to the management data frame in the step 85, separation processor carries out the operation of extract management data to the management data frame, the management data that extracts is kept in second register of interface microcontroller, and interface microcontroller is sent out one and informed that supervising device reads the triggering signal of management data to supervising device simultaneously; Supervising device receives this triggering signal of response after this triggering signal in the step 86, reads isolated management data in second register of interface microcontroller and is kept in the memory of self.
Process for above-mentioned automatic generation management data frame is mutual for two ethernet optical fiber transceivers on the same transmission line, each ethernet optical fiber transceiver can send to the management data that self generates on the ethernet optical fiber transceiver of opposite end according to above-mentioned process, thereby be combined in the scheme of generally utilizing the data frame transfer management data that has user data, can be implemented in any case can both the transfer management data, makes two ethernet optical fiber transceivers can monitor the other side's running status at any time.
Taking the 3rd byte to the 6 bytes of each Frame lead code are inserted for management data is to consider from the job stability of ethernet optical fiber transceiver and the angle of reliability, because take management data to insert for making its operating state reach best in the 3rd byte to the 6 bytes of each Frame lead code for ethernet optical fiber transceiver.
If do not consider the job stability and the reliability of ethernet optical fiber transceiver, management data can certainly be inserted in other successive bytes of each Frame 7 byte lead code (except that the 1st byte), be inserted for being consistent just passable with the byte location that separates management data as long as guarantee transmitting terminal, receiving terminal.If the byte location of corresponding slotting replacing/separation management data changes, then when not having Frame to transmit, the management data frame that inserting in the management data processing unit replaces processor to set up respective length automatically is used to deposit lead code and management data.For example in the 2nd byte to the 7 bytes of each Frame lead code, insert for management data, be used for user data message and management data are transmitted simultaneously at same Frame, in this case if when in a period of time, not having data frame transfer, insert the management data frame of then setting up 7 byte lengths for processor automatically, the 1st byte is filled lead code and is used for the synchronous of management data frame, the 2nd byte to the 7 bytes are filled management data, form corresponding complete management data frame, can make like this in two management data processing unit in the ethernet optical fiber transceiver insert can both synchronous working for processor and separation processor, guarantee that the management data that transmits can receive and dispatch accurately in Frame, prevent that the part management data from losing the generation of phenomenon.
If the network rate that the ethernet optical fiber transceiver two ends connect is identical, then in the switch of ethernet optical fiber transceiver, the Frame of receiving and dispatching is no longer needed to carry out above-mentioned processing such as rate adapted, directly transmit Frame and get final product.
Above-described Frame all refers to the standard ethernet Frame that transmits in Ethernet.
The above only is a preferred implementation of the present invention.Should be pointed out that for those skilled in the art under the prerequisite that does not break away from the principle of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1, a kind of ethernet optical fiber transceiver is used to accept the ethernet data frame transmission of optical link and electric line, comprising:
With the isolating transformer that described electric line links to each other, be used to drive electric line;
The electricity mouthful device that links to each other with described isolating transformer is used for Frame is carried out serial/parallel conversion and coding/decoding processing;
With the switch that described electric mouthful device links to each other, be used for Frame is stored forwarding or directly transmitted processing;
With the optical-electric module that described optical link links to each other, be used to drive optical link and Frame is carried out light/electrical signal conversion;
The light mouth device that links to each other with described optical-electric module is used for Frame is carried out serial/parallel conversion and coding/decoding processing;
With described electricity mouthful device and the supervising device that light mouth device links to each other, be used to monitor the operating state of electricity mouthful device and light mouth device, control the working method of electricity mouthful device and light mouth device, and monitored results is generated management data;
It is characterized in that described ethernet optical fiber transceiver also comprises:
The management data processing unit that links to each other with supervising device with described light mouth device, switch, be used to preserve the management data that supervising device writes, and management data inserted for to the Frame of sending from switch, and this Frame is sent to optical link by described light mouth device, optical-electric module respectively; Be used for simultaneously isolating management data to receiving the Frame that comes from light mouth device, and the integrality of restore data frame, and preserve isolated management data, and the notice supervising device reads management data; Described management data processing unit comprises first-in first-out FIFO memory, wideband controller, inserts for processor, traffic statistics processor, separation processor and interface microcontroller, and interface microcontroller further comprises first register (46) and second register (47); Slotting being mainly used in from first register (46) of interface microcontroller for processor read management data, and management data inserted in the respective byte position of the lead code of replacing each Frame; Whether separation processor is used to detect the Frame of each reception and inserts for management data is arranged, if this Frame is not inserted for management data, then this Frame normally passes through, if inserting, this Frame replaced management data, just management data is separated, and the byte location after will separating reverts to former code word, simultaneously isolated management data deposited in second register (47) of interface microcontroller; Interface microcontroller is used to provide a management interface, first register (46) that wherein comprises is used to store the management data that supervising device writes, when the management data after separation processor separates is stored in second register (47), interface microcontroller sends triggering signal to supervising device, after the triggering signal that the supervising device response is sent, read isolated management data in second register (47) of arriving.
2, ethernet optical fiber transceiver according to claim 1, it is characterized in that, described management data processing unit is being inserted management data for to the Frame of sending from switch the time, system inserts management data in the relevant position of the 2nd byte to the 7 bytes of replacing each Frame lead code, management data is transmitted by identical Frame in the lump with user data, so that do not take the user data transmission bandwidth.
3, ethernet optical fiber transceiver according to claim 2 is characterized in that, described light mouth device further comprises:
Be used for serial/parallel transducer that the Frame that described light mouth device is received and dispatched is carried out serial/parallel conversion; With
Be used for the Frame that described light mouth device is received and dispatched is carried out the coder/decoder of coding/decoding; A described electricity mouthful device further comprises:
Be used for another serial/parallel transducer that the Frame that described electricity mouthful device is received and dispatched is carried out serial/parallel conversion; With
Be used for the Frame that described electricity mouthful device is received and dispatched is carried out another coder/decoder of coding/decoding.
4, ethernet optical fiber transceiver according to claim 3 is characterized in that, described switch further comprises and is used for Frame is stored the Data Buffer Memory of transmitting processing.
5, ethernet optical fiber transceiver according to claim 4 is characterized in that, described supervising device further comprises and is used for the storage administration memory of data.
6, a kind of data transmission method for uplink that is used for ethernet optical fiber transceiver is characterized in that, comprising:
From the electric line receiving data frames;
Described Frame is gone here and there and changed, and decoding also storage is transmitted or directly forwarding;
Management data is inserted for to through string and conversion, decoding and storage are transmitted or the direct intermediary bytes part of the lead code of the Frame of forwarding;
There is the Frame of management data to encode to inserting to replace, and the string conversion process;
To through coding with and go here and there the Frame of conversion process and carry out electricity/light signal conversion and send to optical link.
7, sending method according to claim 6 is characterized in that, management data is being inserted for also further comprising before the intermediary bytes step partly of Frame lead code: the step that generates management data and storage.
8, sending method according to claim 7 is characterized in that, described management data is inserted for the intermediary bytes step partly to the Frame lead code refers to management data is inserted for the 3rd byte to the 6 byte parts to the Frame lead code.
9, a kind of data receive method that is used for ethernet optical fiber transceiver is characterized in that, comprising:
Carry out light/electrical signal conversion from the optical link receiving data frames;
Described Frame through light/electrical signal conversion is gone here and there and changed decoding processing;
Partly isolate management data from the described corresponding lead code of Frame through string and conversion and decoding processing;
Recover the slotting lead code of Frame quilt after described lead code partly is separated management data for byte;
The rapid gained Frame of previous step stored transmits or directly transmit, coding and and the string conversion after send to electric line.
10, method of reseptance according to claim 9, it is characterized in that, after the described corresponding lead code of Frame through string and conversion and decoding processing is partly isolated management data, also further comprising: the step of isolated management data being stored and read the management data of storage.
CNB031481027A 2003-06-26 2003-06-26 Ethernet optical fiber transceiver and data transceiving method used on said tranceiver Expired - Fee Related CN100334819C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031481027A CN100334819C (en) 2003-06-26 2003-06-26 Ethernet optical fiber transceiver and data transceiving method used on said tranceiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031481027A CN100334819C (en) 2003-06-26 2003-06-26 Ethernet optical fiber transceiver and data transceiving method used on said tranceiver

Publications (2)

Publication Number Publication Date
CN1479459A CN1479459A (en) 2004-03-03
CN100334819C true CN100334819C (en) 2007-08-29

Family

ID=34156197

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031481027A Expired - Fee Related CN100334819C (en) 2003-06-26 2003-06-26 Ethernet optical fiber transceiver and data transceiving method used on said tranceiver

Country Status (1)

Country Link
CN (1) CN100334819C (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7606490B2 (en) * 2005-12-01 2009-10-20 Alcatel Lucent Adaptive preamble adjustment for burst-mode optical systems
CN101359963B (en) * 2008-09-27 2011-08-10 北京华环电子股份有限公司 Dual Ethernet optical fiber transceiver, transceiving method and system
CN101882975B (en) * 2010-06-29 2012-12-19 上海大学 Method for transmitting data by using preamble of Ethernet frame
CN102783325A (en) * 2011-05-17 2012-11-21 吉林农业大学 Bionic organic cultivation method of rhizoma gastrodiae under forest
CN102255658B (en) * 2011-07-05 2016-09-28 中兴通讯股份有限公司 The method and device that a kind of 100GE ethernet signal transmits in optical transfer network
CN103581053A (en) * 2013-09-10 2014-02-12 昆山奥德鲁自动化技术有限公司 Long-distance Ethernet real-time data transceiving communication module
CN103580755A (en) * 2013-09-29 2014-02-12 中国科学院等离子体物理研究所 Universal type high-speed data transmission device having light receiving and sending functions at same time
CN104579492A (en) * 2014-12-16 2015-04-29 河南铭视安防工程有限公司 Transmit-receive method and system of Ethernet fiber transceiver
KR20160105093A (en) 2015-02-27 2016-09-06 에스케이하이닉스 주식회사 Interfain circuit for high speed communication and system including the same
CN107104737B (en) * 2017-03-01 2019-06-14 西安微电子技术研究所 A kind of node device port expansion system and method based on optical fiber interconnections
CN107425985B (en) * 2017-05-10 2020-09-15 北京光桥科技股份有限公司 Ethernet transceiver with encryption function
CN111628874B (en) * 2020-04-29 2022-01-25 深圳市周立功单片机有限公司 Ethernet switching module
CN113098518B (en) * 2021-03-29 2023-04-11 成都振芯科技股份有限公司 Fixed time delay serial transceiver with coding and decoding functions and control method
CN113347106A (en) * 2021-08-06 2021-09-03 苏州裕太微电子有限公司 Photoelectric transceiving interface speed adaptation system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN87103125A (en) * 1986-04-29 1988-01-20 美国电话电报公司 Communication channel transceiver
GB2366161A (en) * 2000-08-14 2002-02-27 Motorola Inc Communications apparatus and method of communicating timing information
US20030002108A1 (en) * 2001-06-27 2003-01-02 International Business Machines Corporation Detection of data transmission rates using passing frequency-selective filtering
US20030103522A1 (en) * 2001-12-05 2003-06-05 Mitsubishi Denki Kabushiki Kaisha Packet communication system, a packet communication method and a computer-readable storage medium having a computer program for a communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN87103125A (en) * 1986-04-29 1988-01-20 美国电话电报公司 Communication channel transceiver
GB2366161A (en) * 2000-08-14 2002-02-27 Motorola Inc Communications apparatus and method of communicating timing information
US20030002108A1 (en) * 2001-06-27 2003-01-02 International Business Machines Corporation Detection of data transmission rates using passing frequency-selective filtering
US20030103522A1 (en) * 2001-12-05 2003-06-05 Mitsubishi Denki Kabushiki Kaisha Packet communication system, a packet communication method and a computer-readable storage medium having a computer program for a communication method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"光纤收发器重要元器件的选择" 刘静,柳桂等,电子工程师,第27卷第10期 2001 *

Also Published As

Publication number Publication date
CN1479459A (en) 2004-03-03

Similar Documents

Publication Publication Date Title
CN100334819C (en) Ethernet optical fiber transceiver and data transceiving method used on said tranceiver
US7035540B2 (en) Optical fiber ring communication system
JP4074268B2 (en) Packet transfer method and transfer device
CN100477642C (en) Ethernet access device and access method thereof
CN104580031B (en) POS based on multi-protocols link encapsulation technology separates frame framing device and method
JP3551894B2 (en) Multiplexing transceiver
CN101035143B (en) Physical layer chip, method for transferring the signal and switcher
CN103986984A (en) Access node device and system based on gigabit-Ethernet passive optical network
CN103763465A (en) Network camera and network video monitoring system
CN102223282A (en) Method for establishing virtual multi-Ethernet channel through optical fibre
CN103618656A (en) Master-slave nodes of networked logging downhole instrument and data processing method thereof
CN100344116C (en) A method and apparatus for Ethernet converter line side loop back detection
CN101072141B (en) Ethernet accessing converting device, multiplexing gateway device and accessing converting method
US20100111111A1 (en) Transmission device
CN104683266A (en) Bidirectional packet transfer fail-over switch for serial communication
CN202906946U (en) Multinode communication system of seabed observatory network
CN203423700U (en) Multiplexing and de-multiplexing device
CN107040963A (en) A kind of service logic pipeline management method applied to industrial communication
CN101359963B (en) Dual Ethernet optical fiber transceiver, transceiving method and system
JP2003018162A (en) Maintenance control system and maintenance control method
CN100372334C (en) Device and method for realizing Infini Band data transmission in optical network
CN100493031C (en) Method for realizing two and three layer compatibility RPR network up ring and down ring treatment
CA2384869C (en) Optical fiber ring communication system
CN101877691A (en) Encapsulation and decapsulation method of physical layer frame in EOC (Ethernet over Coax) network
CN1276664A (en) Video data-transmission method for broad-band Ethernet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: North Fourth Ring Road Beijing No. 229 Haidian District Haitai building room 1120

Patentee after: RAISECOM TECHNOLOGY Co.,Ltd.

Address before: North Fourth Ring Road Beijing No. 229 Haidian District Haitai building room 1120

Patentee before: BEIJING RUISIKANGDA SCIENCE &

C56 Change in the name or address of the patentee

Owner name: RUISI KANGDA SCIENCE DEVELOPMENT STOCK CO., LTD.

Free format text: FORMER NAME: BEIJING RAISECOM SCIENCE AND TECHNOLOGY DEVELOPMENT CO., LTD.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070829