Nothing Special   »   [go: up one dir, main page]

CN104158636B - A kind of multichannel FC business remote transmission methods based on FPGA - Google Patents

A kind of multichannel FC business remote transmission methods based on FPGA Download PDF

Info

Publication number
CN104158636B
CN104158636B CN201410396420.6A CN201410396420A CN104158636B CN 104158636 B CN104158636 B CN 104158636B CN 201410396420 A CN201410396420 A CN 201410396420A CN 104158636 B CN104158636 B CN 104158636B
Authority
CN
China
Prior art keywords
fpga
business
extended distance
multichannel
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410396420.6A
Other languages
Chinese (zh)
Other versions
CN104158636A (en
Inventor
孙天春
康俊
任怀平
张思思
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201410396420.6A priority Critical patent/CN104158636B/en
Priority to CN201710229548.7A priority patent/CN107196864A/en
Publication of CN104158636A publication Critical patent/CN104158636A/en
Application granted granted Critical
Publication of CN104158636B publication Critical patent/CN104158636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • H04L1/0013Rate matching, e.g. puncturing or repetition of code symbols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1858Transmission or retransmission of more than one copy of acknowledgement message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/22Traffic shaping
    • H04L47/225Determination of shaping rate, e.g. using a moving window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of multichannel FC business remote transmission methods based on FPGA, when FC business long-distance transmissions between local and distal end, far-end answer policy mechanism is replaced using local echoing policy mechanism, the time-dividing storage of the FC data frames progress multichannel business of transmission is cached using DDR2.Method of the present invention, remote superfluous calamity more than multichannel FC business realizings 3000KM is set equipment transmission bandwidth to be improved, up to more than 95% without losing transmission speed;Independent of the type of equipment, as long as equipment provides FC1G/2G ports, and port function is normal, on the premise of rate-matched, it is possible to achieve the interconnection from different vendor equipments is tested;Wavelength-division system can be coordinated to be widely used in bank, insured, in Enterprise Data storage and backup system;The effective efficiency for improving equipment, the equipment end number of operator is reduced, power consumption is reduced, realizes energy-saving and emission-reduction.

Description

A kind of multichannel FC business remote transmission methods based on FPGA
Technical field
The present invention relates to storage region network service, operational data storage and DWDM (Dense Wavelength Division Multiplexin, intensive multiplexed optical wave use) transmission services, it is specifically a kind of to be based on FPGA (Field Programmable Gate Array) multichannel FC (Fibre Channel) business remote transmission method.
Background technology
Optical-fibre channel (Fibre Channel, FC) is so that scalability is good, high bandwidth, versatile and long transmission distance etc. Advantage and as one of mainstream technology of storage area network (SAN, Storage Area Network), speed can be supported at present 1.0625G, 2.125G, 4.25G, 8.5G.
In recent years, there is sharp increase in the storage application of enterprise, and the public is important to business continuance and disaster recovery Property there has also been more understanding.With the continuous expansion of SAN scales, and the consideration based on Information Security, the service of enterprise Device and data center, or primary, spare data center are likely to be in different geographical position.Therefore, enterprise SAN applications are also natural And so there is the demand of storage extension (Storage Extension), i.e., in the different storage island (SAN of enterprises Island the demand of data is transmitted between).
General SAN applications are all that first FC signals (FC optical signals) are modulated in WDM (wavelength-division multiplex) system, then pass through city Domain or distant wavelength-division multiplexing equipment transmit and (can pass through 2R or 3R to regenerate), or first pass through ITU-T G.7041 synchronous GFP-T Encapsulation and then SDH/SONET transmission is mapped into by Virtual Concatenation or Adjacent Concatenation again, or both methods are combined made With.
But essentially, these above-mentioned methods are all fully transparent transmission to FC signals (i.e. in synchronization GFP-T has carried out 8B/10B encoding and decoding when encapsulating to FC signals), what the content that transmission equipment requires no knowledge about transmission is, FC Transmission of the signal fully according to the protocol integrated test system data flow of itself.
FC signals transmission on a physical layer perhaps because smaller decay can pass farther, but in fact, due to FC itself limitation for being cached to caching flow control (BB Flow Control) agreement, when FC signals are transferring a spacing From rear, effective flux (Effective Throughput) decline rapidly of data.
FC frameworks employ the flow control protocol based on credit (Credit), with avoid receiving device occur congestion and by Compel the event of discarding frame.The Credit of FC transmitting terminals represents the ability of the receiving device receiving frame of FC receiving terminals.If FC connects Receiving end does not issue credit (Issue Credit) to FC transmitting terminals, then FC, which starts, cannot just send frame.It is this to be based on Credit flow control mechanism, the loss of frame is helped avoid, reduce the probability for retransmitting whole FC sequences.
It is existing using FC as the Credit quantity that the storage system itself of transmission channel carries all smaller, Ke Yiyou The 20Km supported or so transmission is imitated without losing bandwidth, in remote backup system (more than 200KM is strange land), does not do distance Extension only has 1% or so of theoretical bandwidth using FC as the effective transmission speed of the storage system of transmission channel, so as to shadow Ring the use of equipment.
The content of the invention
For defect present in prior art, it is an object of the invention to provide a kind of multichannel FC business based on FPGA Remote transmission method and device, make remote superfluous calamity more than multichannel FC business realizings 3000KM without losing transmission speed, Equipment transmission bandwidth is improved, up to more than 95%;Independent of the type of equipment, if equipment provides FC1G/2G ports, and Port function is normal, on the premise of rate-matched, it is possible to achieve the interconnection from different vendor equipments is tested;Multiplex can be matched somebody with somebody Subsystem is widely used in bank, insurance, in Enterprise Data storage and backup system;The effective efficiency for improving equipment, is reduced The equipment end number of operator, power consumption is reduced, realizes energy-saving and emission-reduction.
To achieve the above objectives, the present invention adopts the technical scheme that:
A kind of multichannel FC business remote transmission methods based on FPGA, it is characterised in that:When FC business is local and remote Between end during long-distance transmissions,
Far-end answer policy mechanism is replaced using local echoing policy mechanism,
The time-dividing storage of multichannel business is carried out using the FC data frames of DDR2 caching transmission.
On the basis of above-mentioned technical proposal, local echoing policy mechanism refers to:When FC business between local and distal end it is remote During Distance Transmission, local device is after the first extended distance device (the extended distance device 1 based on FPGA) based on FPGA A wave-division device is connected to, remote equipment (FC Server2) (is based on by the second extended distance device based on FPGA FPGA extended distance device 2) after be connected to another wave-division device,
Connected between one wave-division device and another wave-division device by long-distance optical fiber,
Original needs the response back-signalling R_RDY that remote equipment returns, and is filled by the described first extended distance based on FPGA Put back into and be transmitted to local device.
On the basis of above-mentioned technical proposal, respectively the extended distance device based on FPGA connects with a memory cell respectively Connecing, memory cell is used for the time-dividing storage for the FC data frames progress multichannel business for caching transmission,
The memory cell uses DDR2.
On the basis of above-mentioned technical proposal, DDR2 capacity needs to be calculated according to following factor:
The first extended distance device based on FPGA processing of circuit delay t1, the delay t2 of wave-division device, fiber lengths Delay t3, t1 and t2 be a fixed numbers, t3 is relevant with fiber lengths, and optical fiber is longer, and the time is bigger, then:
One-way delay summation is 2*t1+t2+t3, and two-way delay is 2 times of one-way delay,
DDR2 total capacity=2* (2*t1+t2+t3) * 2.125Gbps.
On the basis of above-mentioned technical proposal, when the DDR2 of the second extended distance device based on FPGA preserves data frame Number is when reach DDR2 capacity half, now if the second extended distance device based on FPGA is to the chain between remote equipment Road is not still recovered, then:
The second extended distance device based on FPGA sends a PAUSE data frame to the first extended distance based on FPGA Device, after the first extended distance device based on FPGA receives PAUSE data frames, understand the second extended distance dress based on FPGA Put and problem be present, just do not send R_RDY signals and be reduced to 0 at once to local device, the credit numerical value of local device, just not It can continue to send data frame;
The second extended distance device based on FPGA continuously recovers, and after can sending, just sends out a RESUME data frame and arrives The first extended distance device based on FPGA, notifying link recover, and the first extended distance device based on FPGA receives After RESUME data frames, transmission R_RDY signals recover again to local device, now credit, and business starts normal work.
A kind of multichannel FC business long distance transmitters based on FPGA, it is characterised in that the device is using universal Field programmable logic device, including:
FC agreement FC0/FC1/FC2 processing modules are used for completing FC0/FC1/FC2 layer functions;Provide the 8B/10B of standard Coding/decoding, the COMMA fields detection of Fibre Channel agreements, the rate consulation of FC service ports, the MAC work(of port Can, packet statistics, there is provided outer CPU configuration access;
Send control module and remote expansion module is provided;The packet of transmission is parsed, and according to extended distance Requirement, there is provided meet QOS response back-signalling, under FC2G/1G speed support more than 3000Km transmit, can support more Individual passage;
Receive and control module provides local expansion module;The packet received is parsed, and according to extended distance Requirement, there is provided meet QOS response back-signalling, the transmission of the 10Km under FC1G/2G speed can be met, can support more Individual passage;
For large capacity cache using the RAM built in FPGA, that realizes local more than distance 10Km zooms out business;
DDR2 controller modules provide the long-range buffer cachings that needs are transmitted more than more than 3000Km;And according to multiple logical Road business, carry out effective management of multiple channel service data bandwidths.
On the basis of above-mentioned technical proposal, specifically include with lower unit:
(1) 8B/10B coding and decodings unit:Realize to from or be sent to the data content of FC equipment and encode;
(2) Comma detection units:The search to data is correspond to, ensures that the K28.5 of frame delimiter is in highest word forever Section;
(3) Rate Adapter Unit (upstream rate adaptation unit and downstream rate adaptation unit):Rate adaptation is realized, is ensured Local clock is transitioned into from business clock rate;
(4) up fc2 processing units and descending fc2 processing units:The search to FC data frames is completed, identifies each field Implication, extraction effective information to LEM;
(5) fc_buf_ctrl units and wan_buf_ctrl units:The data frame for being sent to DWDM is carried out to flow control processing, Wait upon occurrence of the congestion, make extended distance device based on FPGA send PAUSE signals (PAUSE data frames) to distal end based on FPGA extended distance device, after link is again normal, the extended distance device based on FPGA is set to send RESUME data frames The extended distance device based on FPGA of distal end is allowed to continue to send data;
(6) FC-port-state units and FC-bb-state units:For realizing the shape with wave-division device connectivity port State detects, there is provided abnormality is fed back;
(7) DDR2 controller units:For adaptation data to DDR2RAM, ensure the reliability of data transfer;
(8) LEM units:Exchange process monitoring is logged in for realizing, while extracts each actual parameter in log on request frame Information, and information updating is completed to corresponding ports credit.
It is as follows in up direction, processing step on the basis of above-mentioned technical proposal:
The first step, serioparallel exchange is carried out to the signal of optical fiber input, is converted to 10bit data,
Second step, 8B/10B decodings are carried out by 8B/10B coding and decodings unit,
3rd step, comma detections are carried out by Comma detection units,
4th step, synchronously identified by word,
5th step, clock zone conversion is carried out by Rate Adapter Unit,
6th step, by up fc2 processing units detection process,
7th step, upstream control is carried out by fc_buf_ctrl units,
8th step, it is 8B/10B code streams by 8B/10B coding and decodings cell encoding, is sent to DWDM equipment;
It is as follows in down direction, processing step:
The first step, serioparallel exchange is carried out to the signal of DWDM equipment input, is converted to 10bit data,
Second step, 8B/10B decodings are carried out by 8B/10B coding and decodings unit,
3rd step, clock zone conversion is carried out by downstream rate adaptation unit,
4th step, by descending fc2 processing units detection process,
5th step, clock zone conversion is carried out by Rate Adapter Unit,
6th step, downlink flow control is carried out by wan_buf_ctrl units,
7th step, again pass by Rate Adapter Unit and carry out clock zone conversion,
8th step, comma detections are carried out by Comma detection units,
9th step, it is 8B/10B code streams by 8B/10B coding and decodings cell encoding, is sent to optical fiber.
Multichannel FC business remote transmission method and device of the present invention based on FPGA, have advantages below:
1st, in the transmission of storage area network (SAN) business, multichannel FC business realizings can be allowed using scheme of the present invention More than 3000KM remote superfluous calamity improves equipment transmission bandwidth without losing transmission speed, up to more than 95%.
Data rate using scheme of the present invention is as shown in the table:
Equipment manufacturer Theoretical transmission rate Website distance Actual speed rate
Fiberhome telecommunication fonst3000 2.125Gbps 3000Km 2.086Gbps
Fiberhome telecommunication fonst1000 2.125Gbps 3000Km 2.086Gbps
Fiberhome telecommunication fonst4000 2.125Gbps 3000Km 2.086Gbps
Do not use the data rate of scheme of the present invention as shown in the table:
Equipment manufacturer Theoretical transmission rate Website distance Actual speed rate
Fiberhome telecommunication fonst3000 2.125Gbps 3000Km 10.357Kbps
Fiberhome telecommunication fonst1000 1.0625Gbps 3000Km 10.357Kbps
Fiberhome telecommunication fonst4000 2.125Gbps 3000Km 10.357Kbps
2nd, type of the scheme of the present invention independent of equipment, as long as equipment provides FC1G/2G ports, and port work( Can be normal, on the premise of rate-matched, it is possible to achieve the interconnection from different vendor equipments is tested.
3rd, scheme of the present invention can coordinate wavelength-division system to be widely used in bank, insurance, and Enterprise Data storage is standby In part system;The effective efficiency for improving equipment, the equipment end number of operator is reduced, power consumption is reduced, realizes energy-saving and emission-reduction.
4th, using universal field programmable logic device (FPGA), the general DDR2 memory bars of in the market, spirit are coordinated Control extended range (as long as DDR2 is sufficiently large in theory, distance can be with infinite expanding) living, improve the availability of equipment and gulp down Tell rate.
Brief description of the drawings
The present invention has drawings described below:
Fig. 1 far-end answer policy mechanism schematic diagrames;
Extended distance apparatus system block diagrams of the Fig. 2 based on FPGA;
Extended distance device internal module figure/data flowcharts of the Fig. 3 based on FPGA;
Fig. 4 routine wavelength-division storage area networks;
Extended distance device storage area networks of the Fig. 5 based on FPGA.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
Multichannel FC business remote transmission methods of the present invention based on FPGA, using FPGA+DDR2 mechanism, meet Extend at a distance and ensure the stability of data content correctness and speed.Specifically:
When FC business long-distance transmissions between local and distal end,
Far-end answer policy mechanism is replaced using local echoing policy mechanism,
The time-dividing storage of multichannel business is carried out using the FC data frames of DDR2 caching transmission.
As shown in Fig. 1,4, the far-end answer policy mechanism refers to:PortB is sent data to from PortA ports (A ports) Port (B ports), B ports have 10 to cache the data frame that can accommodate A ports, and now credit numerical value is corresponding to A ports 10, A ports often send a data frame, and credit numerical value subtracts 1 corresponding to A ports, often receive a R_RDY from B ports (B ports receive the data frame from A ports after, it is necessary to which responding R_RDY signals gives A ports), credit numerical value corresponding to A ports Add 1, if credit numerical value corresponding to A ports cannot send data frame for 0, A ports gives B ports, now business will stop Only, FC just ensures reliable data transmission using the mechanism and transmitted again.
In the case that transmission range is shorter between Port A and Port B, user does not feel as mechanism presence, But after between Port A and Port B being the optical fiber more than 100Km distances, due to the transmission delay (glass optical fiber of optical signal Propagation delay time be 5us/km), be delayed plus processing of circuit, cause signal to reach Port B time from Port A and have More than 500us, or even ms ranks, response back-signalling R_RDY response have led to very much business discontinuously or even interrupted slowly.
Analyzed based on more than, the acknowledgement mechanism of FC agreements transmission requires to provide far-end answer back-signalling R_ continuously and healthily RDY, it could meet that the uninterrupted full rate of customer data is sent, existing wave-division device does not possess such function, only provides To the transparent transmission (as shown in Figure 4) of packet, response back-signalling R_RDY needs remote equipment to return (Fig. 42 opening positions, FC Server2), for application of the distance more than more than 100KM, packet can be caused to send and interrupt (referring to above-mentioned analysis), occurred Rate fluctuation, the problems such as speed is low, to solve this problem, the present invention replaces far-end answer using local echoing policy mechanism, original This needs the response back-signalling R_RDY that remote equipment response is passed back, has advanceed to by " the extended distance device based on FPGA " Response returns (Fig. 51 opening position, the extended distance local device based on FPGA), improves the speed of response.
On the basis of above-mentioned technical proposal, as shown in figure 5, local echoing policy mechanism refers to:When FC business local and Between distal end during long-distance transmissions, local device (FC Server1) (is based on by the first extended distance device based on FPGA FPGA extended distance device 1) after be connected to a wave-division device, remote equipment (FC Server2) is based on FPGA by second Extended distance device (the extended distance device 2 based on FPGA) after be connected to another wave-division device,
Connected between one wave-division device and another wave-division device by long-distance optical fiber,
Original needs the response back-signalling R_RDY that remote equipment returns, and is filled by the described first extended distance based on FPGA Put back into and be transmitted to local device.
On the basis of above-mentioned technical proposal, respectively the extended distance device based on FPGA connects with a memory cell respectively Connecing, memory cell is used for the time-dividing storage for the FC data frames progress multichannel business for caching transmission,
The memory cell uses DDR2, and DDR2 capacity needs to be calculated according to following factor:First is based on FPGA Extended distance device (the extended distance device 1 based on FPGA) processing of circuit delay t1, the delay t2 of wave-division device, optical fiber The delay t3, t1 and t2 of length are a fixed numbers, and t3 is relevant with fiber lengths, and optical fiber is longer, and the time is bigger, then:
One-way delay summation is 2*t1+t2+t3, and two-way delay is 2 times of one-way delay,
DDR2 total capacity=2* (2*t1+t2+t3) * 2.125Gbps.
On the basis of above-mentioned technical proposal, when the DDR2 of the second extended distance device based on FPGA preserves data frame Number is when reach DDR2 capacity half, now if the second extended distance device based on FPGA is to remote equipment (FC SERVER2 the link between) does not still recover, then:
The second extended distance device based on FPGA sends a PAUSE data frame to the first extended distance based on FPGA Device, after the first extended distance device based on FPGA receives PAUSE data frames, understand the second extended distance dress based on FPGA Put and problem be present, just do not send R_RDY signals and give local device (FC SERVER1), the credit numerical value horse back of local device is just 0 is reduced to, cannot continue to send data frame;
The second extended distance device based on FPGA continuously recovers, and after can sending, just sends out a RESUME data frame and arrives The first extended distance device based on FPGA, notifying link recover, and the first extended distance device based on FPGA receives After RESUME data frames, transmission R_RDY signals recover again to local device, now credit, and business starts normal work.
FC business is exactly to adopt with the aforedescribed process and protection mechanism, it can be ensured that whole link not packet loss, reduces and retransmits, carry High efficiency.
In the realization of the extended distance device based on FPGA, as shown in Fig. 2 giving the extended distance dress based on FPGA System block diagram is put, Fig. 3 gives extended distance device internal module figure/data flowchart based on FPGA of refinement.
The device uses universal field programmable logic device (FPGA), as shown in Fig. 2 FC agreements FC0/FC1/ FC2 processing modules are used for completing FC0/FC1/FC2 layer functions.Provide the 8B/10B coding/decodings of standard, Fibre The COMMA fields detection of Channel agreements, the rate consulation of FC service ports, the MAC functions of port, packet statistics, there is provided Outer CPU configuration access.
Send control module and remote expansion module is provided.The packet of transmission is parsed, and according to extended distance Requirement, there is provided meet QOS response back-signalling, under FC2G/1G speed support more than 3000Km transmit, can support more Individual passage.
Receive and control module provides local expansion module.The packet received is parsed, and according to extended distance Requirement, there is provided meet QOS response back-signalling, the transmission of the 10Km under FC1G/2G speed can be met, can support more Individual passage.
For large capacity cache using the RAM built in FPGA, that realizes local more than distance 10Km zooms out business.
DDR2 controller modules provide the long-range buffer cachings that needs are transmitted more than more than 3000Km.And according to multiple logical Road business, carry out effective management of multiple channel service data bandwidths.
Extended distance device of the present invention based on FPGA, is specifically included with lower unit:
(1) 8B/10B coding and decodings unit:Realize to from or be sent to the data content of FC equipment and encode;
(2) Comma detection units:The search to data is correspond to, ensures that the K28.5 of frame delimiter is in highest word forever Section;
(3) Rate Adapter Unit (upstream rate adaptation unit and downstream rate adaptation unit):Rate adaptation is realized, is ensured Local clock is transitioned into from business clock rate;
(4) up fc2 processing units and descending fc2 processing units:The search to FC data frames is completed, identifies each field Implication, extraction effective information to LEM;
(5) fc_buf_ctrl units and wan_buf_ctrl units:The data frame for being sent to DWDM is carried out to flow control processing, Wait upon occurrence of the congestion, make extended distance device based on FPGA send PAUSE signals (PAUSE data frames) to distal end based on FPGA extended distance device, after link is again normal, the extended distance device based on FPGA is set to send RESUME data frames The extended distance device based on FPGA of distal end is allowed to continue to send data;
(6) FC-port-state units and FC-bb-state units:For realizing the shape with wave-division device connectivity port State detects, there is provided abnormality is fed back;
(7) DDR2 controller units:For adaptation data to DDR2RAM, ensure the reliability of data transfer;
(8) LEM units:Exchange process monitoring is logged in for realizing, while extracts each actual parameter in log on request frame Information, and information updating is completed to corresponding ports credit.
When it is implemented, the program uses verilog programming languages, emulated with modelsim, debugged on plate.
It is as follows in up direction, processing step on the basis of above-mentioned technical proposal:
The first step, serioparallel exchange is carried out to the signal of optical fiber input, is converted to 10bit data,
Second step, 8B/10B decodings are carried out by 8B/10B coding and decodings unit,
3rd step, comma detections are carried out by Comma detection units,
4th step, synchronously identified by word,
5th step, clock zone conversion is carried out by Rate Adapter Unit,
6th step, by up fc2 processing units detection process,
7th step, upstream control is carried out by fc_buf_ctrl units,
8th step, it is 8B/10B code streams by 8B/10B coding and decodings cell encoding, is sent to DWDM equipment;
It is as follows in down direction, processing step:
The first step, serioparallel exchange is carried out to the signal of DWDM equipment input, is converted to 10bit data,
Second step, 8B/10B decodings are carried out by 8B/10B coding and decodings unit,
3rd step, clock zone conversion is carried out by downstream rate adaptation unit,
4th step, by descending fc2 processing units detection process,
5th step, clock zone conversion is carried out by Rate Adapter Unit,
6th step, downlink flow control is carried out by wan_buf_ctrl units,
7th step, again pass by Rate Adapter Unit and carry out clock zone conversion,
8th step, comma detections are carried out by Comma detection units,
9th step, it is 8B/10B code streams by 8B/10B coding and decodings cell encoding, is sent to optical fiber.
The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.

Claims (5)

  1. A kind of 1. multichannel FC business remote transmission methods based on FPGA, it is characterised in that:When FC business is in local and distal end Between long-distance transmissions when,
    Far-end answer policy mechanism is replaced using local echoing policy mechanism,
    The time-dividing storage of multichannel business is carried out using the FC data frames of DDR2 caching transmission;
    Local echoing policy mechanism refers to:When FC business long-distance transmissions between local and distal end, local device passes through first A wave-division device is connected to after extended distance device based on FPGA, remote equipment passes through the second extended distance based on FPGA Another wave-division device is connected to after device.
  2. 2. the multichannel FC business remote transmission methods based on FPGA as claimed in claim 1, it is characterised in that
    Connected between one wave-division device and another wave-division device by long-distance optical fiber,
    Original needs the response back-signalling R_RDY that remote equipment returns, and is returned by the described first extended distance device based on FPGA It is transmitted to local device.
  3. 3. the multichannel FC business remote transmission methods based on FPGA as claimed in claim 2, it is characterised in that:Respectively it is based on FPGA extended distance device is connected with a memory cell respectively, and the FC data frames progress that memory cell is used to cache transmission is more The time-dividing storage of channel service,
    The memory cell uses DDR2.
  4. 4. the multichannel FC business remote transmission methods based on FPGA as claimed in claim 3, it is characterised in that DDR2 appearance Amount needs to be calculated according to following factor:
    Processing of circuit delay t1, the delay t2 of wave-division device of the first extended distance device based on FPGA, fiber lengths prolong When t3, t1 and t2 be a fixed numbers, t3 is relevant with fiber lengths, and optical fiber is longer, and the time is bigger, then:
    One-way delay summation is 2*t1+t2+t3, and two-way delay is 2 times of one-way delay,
    DDR2 total capacity=2* (2*t1+t2+t3) * 2.125Gbps.
  5. 5. the multichannel FC business remote transmission methods based on FPGA as claimed in claim 3, it is characterised in that:When the second base When the DDR2 of FPGA extended distance device preserves data frame number and reaches DDR2 capacity half, now if the second base Still do not recover to the link between remote equipment in FPGA extended distance device, then:
    The second extended distance device based on FPGA sends a PAUSE data frame to the first extended distance dress based on FPGA Put, after the first extended distance device based on FPGA receives PAUSE data frames, understand the second extended distance device based on FPGA Problem be present, just do not send R_RDY signals and be reduced to 0 at once to local device, the credit numerical value of local device, cannot Continue to send data frame;
    The second extended distance device based on FPGA continuously recovers, and after can sending, just sends out a RESUME data frame to first Extended distance device based on FPGA, notifying link recover, and the first extended distance device based on FPGA receives RESUME numbers After frame, transmission R_RDY signals recover again to local device, now credit, and business starts normal work.
CN201410396420.6A 2014-08-12 2014-08-12 A kind of multichannel FC business remote transmission methods based on FPGA Active CN104158636B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410396420.6A CN104158636B (en) 2014-08-12 2014-08-12 A kind of multichannel FC business remote transmission methods based on FPGA
CN201710229548.7A CN107196864A (en) 2014-08-12 2014-08-12 A kind of multichannel FC business long distance transmitters based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410396420.6A CN104158636B (en) 2014-08-12 2014-08-12 A kind of multichannel FC business remote transmission methods based on FPGA

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201710229548.7A Division CN107196864A (en) 2014-08-12 2014-08-12 A kind of multichannel FC business long distance transmitters based on FPGA

Publications (2)

Publication Number Publication Date
CN104158636A CN104158636A (en) 2014-11-19
CN104158636B true CN104158636B (en) 2017-12-22

Family

ID=51884054

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410396420.6A Active CN104158636B (en) 2014-08-12 2014-08-12 A kind of multichannel FC business remote transmission methods based on FPGA
CN201710229548.7A Withdrawn CN107196864A (en) 2014-08-12 2014-08-12 A kind of multichannel FC business long distance transmitters based on FPGA

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201710229548.7A Withdrawn CN107196864A (en) 2014-08-12 2014-08-12 A kind of multichannel FC business long distance transmitters based on FPGA

Country Status (1)

Country Link
CN (2) CN104158636B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011694B (en) * 2017-11-29 2018-11-20 北京航空航天大学 A kind of efficient data exchange method based on FC
CN108900244B (en) * 2018-06-27 2021-02-26 电子科技大学 FC optical interface data and related data monitoring and testing method thereof
CN109672747A (en) * 2019-01-02 2019-04-23 郑州云海信息技术有限公司 A kind of data transmission method, device, equipment and computer readable storage medium
CN111696408B (en) * 2020-06-22 2022-04-15 小狮互联(杭州)科技有限公司 Adaptive method, device and programming system for realizing space programming
CN113810109B (en) * 2021-10-29 2022-09-27 西安微电子技术研究所 Multi-protocol multi-service optical fiber channel controller and working method thereof
CN114070404B (en) * 2021-11-10 2023-12-22 北京机电工程研究所 Optical fiber network working method based on multi-type test equipment
CN114221699A (en) * 2021-12-16 2022-03-22 黄冈师范学院 Dial display method for communication information rate detection
CN114826315B (en) * 2022-03-21 2023-11-28 深圳市三旺通信股份有限公司 Remote transmission method, device, equipment and medium of CAN (controller area network) optical cat equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833424A (en) * 2010-03-26 2010-09-15 中国科学院光电技术研究所 High-speed storage and transmission device based on FPGA
CN103325426A (en) * 2013-05-09 2013-09-25 电子科技大学 Seamless acquisition method based on DDR2SDRAM array segmented storage

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6094532A (en) * 1997-03-25 2000-07-25 Sun Microsystems, Inc. Multiprocessor distributed memory system and board and methods therefor
US7471628B2 (en) * 2002-06-10 2008-12-30 Cisco Technology, Inc. Intelligent flow control management to extend fibre channel link full performance range
US7782778B2 (en) * 2002-12-24 2010-08-24 Samir Satish Sheth Apparatus and method for fibre channel distance extension embedded within an optical transport system
CN102833002B (en) * 2012-08-23 2014-12-10 哈尔滨工业大学 Data transmission device and method supporting fibre channel protocol
CN103516483B (en) * 2013-08-29 2016-08-10 天津大学 Transfer rate can the remote wired data transfer device of on-demand regulation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833424A (en) * 2010-03-26 2010-09-15 中国科学院光电技术研究所 High-speed storage and transmission device based on FPGA
CN103325426A (en) * 2013-05-09 2013-09-25 电子科技大学 Seamless acquisition method based on DDR2SDRAM array segmented storage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于FPGA与DDR2 SDRAM的高速ADC";徐家刚等;《舰船电子对抗》;20100226;第33卷(第1期);104-108 *

Also Published As

Publication number Publication date
CN104158636A (en) 2014-11-19
CN107196864A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN104158636B (en) A kind of multichannel FC business remote transmission methods based on FPGA
EP3089423B1 (en) Ethernet signal transmission method, scheduling method and device and system thereof
CN101814953B (en) Method and system for realizing automatic protection switching of transmission equipment
CN101057458A (en) Apparatus and method for fibre channel distance extension embedded within an optical transport system
CN106982105B (en) Method and apparatus for processing resilient ethernet signals
CN103222237A (en) Data processing method, communication single board and equipment
CN102291631A (en) Hybrid access and transmission method and device of packet switching and optical transport network service
US9071405B2 (en) Optical line terminal, optical network unit and passive optical network system
CN101043281B (en) Wavelength-division multiplex network synchronous digital hierarchy optical channel performance detecting device
CN109428837A (en) Data transmission method and device
CN103380584A (en) Adaptor system for an ethernet network
CN102170331B (en) A kind of method of all purpose communication passage (GCC) speed adjustment and device
CN1812316B (en) Link collecting processing method and apparatus
CN102223282A (en) Method for establishing virtual multi-Ethernet channel through optical fibre
CN103269318A (en) IP (Internet Protocol) multicasting signal method of OTN (Optical Transport Network) broadcast
CN104935381B (en) A kind of multichannel Ethernet power port turns optical port one-way transmission apparatus
CN102882592B (en) Be applied to 2M light signal transparent transmission device and the method for SDH network
CN101145857B (en) A service convergence system for saving core router port
CN100478720C (en) Method for solving link configuration and wavelength allocation competed in OBS by using parallel light fiber
CN102740170B (en) Uplink and downlink transmission method of broadband optical access data
JP2018533290A (en) Method, apparatus and system for transmitting and receiving signals
CN100393014C (en) Apparatus and method for implementing optical monitoring channel of dense wavelength division multiplex system
CN109246021A (en) A kind of Point-to-Point Data reliable transmission system and method based on FPGA
CN104796289A (en) Electric power SDH data service protection configuration method and data service transmission method
CN101977186B (en) Device for realizing synchronous transport module level-1 (STM-1) multipath Ethernet over E1 conversion

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant