CN101753578B - ETHERNET/EI protocol conversion method and protocol converter - Google Patents
ETHERNET/EI protocol conversion method and protocol converter Download PDFInfo
- Publication number
- CN101753578B CN101753578B CN200910263514A CN200910263514A CN101753578B CN 101753578 B CN101753578 B CN 101753578B CN 200910263514 A CN200910263514 A CN 200910263514A CN 200910263514 A CN200910263514 A CN 200910263514A CN 101753578 B CN101753578 B CN 101753578B
- Authority
- CN
- China
- Prior art keywords
- ethernet
- ptp
- packet
- event message
- transmission
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
The invention discloses an ETHERNET/EI protocol conversion method and a protocol converter, relating to communication technology. The method comprises the following steps of: (1) receiving a data packet from one side; and (2) identifying whether the data packet is a PTP event report or not, if so, then preferentially sending to another side, and if not, then listing the data packet into a sending caching queue. The invention can compress delay jitter during transmission to be below 2 microseconds from tens of microseconds on a traditional ETHERNET/EI protocol converter.
Description
Technical field
The present invention relates to the communication technology.
Background technology
PTP (IEEEE 1588) is a chronometer time synchronous protocol standard, is at first to be proposed by field of measurement, and its target is to utilize Ethernet that the time synchronized service of submicrosecond class precision is provided.Received the concern of the especially distributed motion control field of automatic field afterwards, also started to walk in application of military field subsequently.Linked groups such as telecommunication and electric power system also shows keen interest to it.The PTP agreement can't be carried out the high accuracy remote transmission on conventional router or switch but at present.
Present transmission network is the main body with the SDH transmission network.The SDH technology with its reliability, controllability, autgmentability and perfect network system, is accounting for leading position in transmission network.With the SDH technology is MSTP (multi-service transport platform) technology of base growth; Increased relevant data access, processing capacity and formed in that original SDH is technical, formed a plurality of versions at present: based on two layers of exchange, embedded RPR (RPR) function, embedded MPLS function, ATM processing etc.Performance aspect the carrying 3G mobile service also is superior to schemes such as fiber direct connection, ATM.
Operator's order has abundant e1 resource, carries out the synchronization accuracy of middle transmission realization less than 1us if PTP can insert SDH through E1, will reduce the new equipment input, improves the reliability of Time Synchronization Network, accelerates the speed of the extensive utilization of PTP simultaneously.
Referring to Fig. 1.There is the conversion equipment of Ethernet to E1 the market at present, and the ETHERNET/E1 protocol converter is commonly called as bridge.Ethernet interface transmission rate on the translational bridging is 100/10Mbit/s, and the E1 line speed is 2.048Mbit/s.The data characteristics of Ethernet interface is intermittent and sudden strong, and the data characteristics of E1 interface then is the constant rate of speed transmission.The ETHERNET/E1 protocol converter is exactly will the bursty data buffer memory of Ethernet interface be got off, and utilizes the message transmission rate of the level and smooth Ethernet interface of intermittent phase of Ethernet interface, to adapt to the constant rate of speed of E1 mouth, for Ethernet interface provides the transmission bandwidth near 2.048Mbit/s.
Because the ETHERNET/E1 protocol converter has caching mechanism, the ether packet is uncertain through the time delay of protocol converter.This uncertain propagation delay time is little to general ether data service influence, but can cause the decline of time service precision to the PTP packet.Fig. 2 is the time-delay analysis sketch map that the PTP packet transmits on traditional E THERNET/E1 protocol converter.
As can beappreciated from fig. 2, the PTP packet can reach 25us through the delay variation maximum behind the traditional E THERNET/E1 protocol converter.Under such delay variation environment, utilize traditional OCXO (constant temperature crystal clock) to be difficult to reach the timing tracking accuracy of 1us.
Summary of the invention
Technical problem to be solved by this invention is, a kind of ETHERNET/E1 method for converting protocol is provided, and can greatly reduce the time delay that conversion produces.
Another technical problem to be solved by this invention provides a kind of ETHERNET/E1 protocol converter.
The technical scheme that the present invention solve the technical problem employing is that the ETHERNET/E1 method for converting protocol is characterized in that, comprises the steps:
1) reception comes the packet of My World;
2) whether the recognition data bag is the PTP event message, if then preferentially send to the opposing party; If not then list the transmission buffer queue in.
Concrete, said PTP event message is Sync or Delay_Req.
Said step 2) preferential transmission is meant when the PTP event message need send; If with the data packet collisions of sending in the buffer memory; Then stop current process of transmitting; Carry out the encapsulation and the transmission of PTP event message immediately, treat that the PTP event message send to be accomplished after, resend the packet that is terminated; If do not have conflict then directly transmission.
ETHERNET/E1 protocol converter provided by the invention comprises:
The Ethernet receiving element is used to receive the packet from Ethernet interface;
The Ethernet transmitting element is used for sending packet to Ethernet interface;
The E1 transmitting element is used for encapsulation and is suitable for the E1 data packets for transmission and sends to the E1 interface;
The E1 receiving element is used for the data of deblocking from the E1 interface;
It is characterized in that, also comprise:
Ethernet PTP data identification unit is connected with the E1 transmitting element with the Ethernet receiving element, is used to discern the type from the packet of Ethernet;
The E1PTP data identification unit is connected with the Ethernet transmitting element with the E1 receiving element, is used to discern the type from the packet of E1 interface;
Receive buffer memory; Be connected with the E1 transmitting element with Ethernet PTP data identification unit;
Send buffer memory; Be connected with the Ethernet transmitting element with the E1PTP data identification unit.
The present invention can be compressed to the delay variation of transmission below 2 microseconds by tens microseconds on the traditional E THERNET/E1 protocol converter.
Below in conjunction with accompanying drawing and embodiment the present invention is further described.
Description of drawings
Fig. 1 is existing bridge schematic diagram.
Fig. 2 is the delay variation sketch map that PTP passes through existing ETHERNET/E1 protocol converter.
Fig. 3 is an ETHERNET/E1 protocol converter schematic diagram of the present invention.
Fig. 4 is another embodiment of the present invention sketch map.
Fig. 5 is the delay variation sketch map of PTP packet behind process ETHERNET/E1 protocol converter of the present invention.
Embodiment
Referring to Fig. 3,4.
ETHERNET/E1 protocol converter of the present invention (POE) has following characteristics:
The PTP identification of data packets: in the Ethernet receiving element, design PTP identification of data packets module if packet is PTP event message (SYNC and a Delay_req message), is then directly sent into the E1 transmitting element and is sent after with packet encapsulation; Otherwise send into the reception buffer memory, wait for when the E1 transmitting element is idle and sending.In the E1 receiving element, after the decapsulation of E1 data, get into PTP identification of data packets module, if packet is PTP event message (SYNC and a Delay_req message), then directly sends into the Ethernet transmitting element packet is sent; Otherwise send into the transmission buffer memory, wait for that netting very much transmitting element sent during the free time.
The PTP packet is preferentially transmitted: in E1 or ether transmitting element; When the PTP event message need send; If, then stop current process of transmitting, carry out the encapsulation and the transmission of PTP event message immediately with the data packet collisions of sending in the buffer memory; After treating that the PTP event message sends completion, resend the packet that is terminated; If do not have conflict then directly transmission.
The ether bag is transmitted fast: traditional ETHERNET/E1 protocol converter is in order to improve the bandwidth availability ratio of E1; In the ether receiver module, having added CRC check and mac learning, filtering function, is the data packet discarding of near-end address with CRC check error data packets and target MAC (Media Access Control) address.In the method, in order to improve the forwarding rate of ether bag, remove CRC check and mac learning, filtering function.The discard of packet is accomplished by the PTP terminal equipment.
Bandwidth guarantee: in the ether receiving element, manage for the transmission bandwidth of non-PTP event message, when this part bandwidth surpassed 1.8Mbit/s, the non-PTP event message with abandoning reception did not change the reception buffer memory over to.
The External Reference timing: traditional ETHERNET/E1 protocol converter does not have special-purpose outer synchronous mouth, and might there be very big frequency departure in the tranmitting data register of its E1 signal and transmission equipment.This frequency departure can be transformed into the delay variation of packet.Adopted outer mouth synchronously among the POE, can introduce high-precision frequency synchronization signal through this interface.
ETHERNET/E1 protocol converter of the present invention comprises:
The Ethernet receiving element is used to receive the packet from Ethernet interface;
The Ethernet transmitting element is used for sending packet to Ethernet interface;
The E1 transmitting element is used for encapsulation and is suitable for the E1 data packets for transmission and sends to the E1 interface;
The E1 receiving element is used for the data of deblocking from the E1 interface;
Ethernet PTP data identification unit is connected with the E1 transmitting element with the Ethernet receiving element, is used to discern the type from the packet of Ethernet;
The E1PTP data identification unit is connected with the Ethernet transmitting element with the E1 receiving element, is used to discern the type from the packet of E1 interface;
Receive buffer memory; Be connected with the E1 transmitting element with Ethernet PTP data identification unit;
Send buffer memory; Be connected with the Ethernet transmitting element with the E1PTP data identification unit.Wherein, Ethernet PTP data identification unit also can be regarded as a part of Ethernet receiving element.Same, the E1PTP data identification unit can be regarded as a part of E1 receiving element.
Each several part is explained as follows among the figure:
PHY: ether data packet transceive, 10/100Mbit self adaptation.
The Ethernet receiving element: receive the Ethernet data bag, identification bag type sends to reception buffer memory or E1 transmitting element with packet.
Ethernet transmitting element: receive the data that the E1 receiving element is received, send through PHY.
Receive, send buffer memory: the non-PTP event message of buffer memory, wait for that transmitting element sends.
The E1 transmitting element: the data encapsulation that the ether receiving element is received becomes to be fit to the data format that E1 transmits, and sends.
E1 receiving element: receive the E1 data that LIU receives, after the decapsulation packet is delivered to the ether transmitting element and send.
LIU: line interface unit is the sign indicating number type that is adapted at transmitting on the circuit with the data transaction of E1 Transmit-Receive Unit; (EXT) extracts clock from the E1 signal that receives or External Reference, supplies internal circuit to use.
Main two types of PTP packet, event message and traditional message are like following table.Wherein event message comprises the timestamp of computing time, needs in time to transmit and handle.And traditional message forwarding time delay changes for not influence of synchronization accuracy.。
Message kind (message class) | Type of message (message Type) | Remarks |
Event message (event message) | a)Sync b)Delay_Req c)Pdelay_Req d)Pdelay_Resp | In the moment of packet sending and receiving, need the timely processing time to stab |
Tradition message (general message) | a)Announce b)Follow_Up c)Delay_Resp d)Pdelay_Resp_Follow_Up e)Management f)Signaling | In the moment of packet sending and receiving, do not need the timely processing time to stab |
Because the UDP message bag is 42 bytes to the expense of HDLC Frame; And the key data form of PTP (IEEE 1588 V2) has four kinds of SYNC, Delay_req, Delay_resp and Announce; Wherein having only SYNC and Delay_req message is to need in time to send, and is respectively 44 bytes, 54 bytes.So in time the length by length of PTP data M AC frame is 86~96 bytes.
In the various messages of PTP, the frequency of giving out a contract for a project of SYNC is the highest.The frequency of giving out a contract for a project of SYNC is to the maximum 256 times/second.The maximum of Delay_Req and the Delay_Resp frequency of giving out a contract for a project is the frequency of giving out a contract for a project of SYNC.Under maximum was given out a contract for a project the situation of frequency, the unidirectional transmission bandwidth that point-to-point PTP service need take was: 256 times/second * 96 bytes/inferior * 8bit/ byte * 2 (SYNC+Delay_Resp)=0.196608Mbit/s.This bandwidth requirement is far smaller than 2.048Mbit/s.
So the PTP message utilizing E1 to transmit Ethernet can significantly reduce the use to buffer memory fully, thereby compression is because the time delay variation that buffer memory brings.
Through adopting the present invention, the delay variation of transmission can be compressed to below 2 microseconds by tens microseconds on the traditional E THERNET/E1 protocol converter.Fig. 4 is the data test analysis that the PTP packet transmits on the POE protocol converter, can find out, the PTP packet is having only 1us through the shake maximum behind the POE.
Claims (1)
1.ETHERNET/E1 method for converting protocol is characterized in that, comprises the steps:
1) reception comes the packet of My World;
2) whether the recognition data bag is the PTP event message, if then preferentially send to the opposing party; If not then list the transmission buffer queue in;
Said PTP event message is Sync or De1ay_Req; Said step 2) preferential transmission is meant when the PTP event message need send; If, then stop current process of transmitting, carry out the encapsulation and the transmission of PTP event message immediately with the data packet collisions of sending in the buffer memory; After treating that the PTP event message sends completion, resend the packet that is terminated; If do not have conflict then directly transmission.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910263514A CN101753578B (en) | 2009-12-22 | 2009-12-22 | ETHERNET/EI protocol conversion method and protocol converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910263514A CN101753578B (en) | 2009-12-22 | 2009-12-22 | ETHERNET/EI protocol conversion method and protocol converter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101753578A CN101753578A (en) | 2010-06-23 |
CN101753578B true CN101753578B (en) | 2012-09-05 |
Family
ID=42479976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910263514A Active CN101753578B (en) | 2009-12-22 | 2009-12-22 | ETHERNET/EI protocol conversion method and protocol converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101753578B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102387155B (en) * | 2011-11-29 | 2014-08-06 | 浙江省电力公司 | Delay-constant PTP (peer to peer) signal protocol conversion system and implementation method thereof |
CN102833025B (en) * | 2012-04-12 | 2016-12-14 | 北京国智恒电力管理科技集团有限公司 | E1/Ethernet protocol conversion precise delay computational methods, module and transducer |
CN103684647B (en) * | 2012-09-21 | 2016-06-29 | 郑州威科姆科技股份有限公司 | Time delay removing method that PTP packet is changed between Ethernet and E1 agreement and device |
CN104219014A (en) * | 2013-06-03 | 2014-12-17 | 浙江省电力公司 | PTP clock synchronization method based on SDH transmission network |
CN103441949B (en) * | 2013-08-07 | 2017-02-08 | 中国能源建设集团广东省电力设计研究院有限公司 | Ethernet data transmission method and system based on E1 link |
CN103490995B (en) * | 2013-09-22 | 2016-09-07 | 中国科学院大学 | File transmitting method and device |
CN105162726B (en) * | 2015-09-02 | 2018-05-29 | 南京磐能电力科技股份有限公司 | Long-range SV data transmissions and delay compensation method based on E1 links |
CN108390738A (en) * | 2018-01-29 | 2018-08-10 | 全球能源互联网研究院有限公司 | A kind of data transmission method and system based on the synchronization of intelligent substation clock |
CN112532618B (en) * | 2020-11-26 | 2023-02-28 | 国网山西省电力公司电力科学研究院 | Non-transparent protocol conversion method and device for joint debugging test of stability control test system |
CN112532484B (en) * | 2020-11-26 | 2022-05-27 | 国网山西省电力公司电力科学研究院 | Transparent protocol conversion method and device for joint debugging test of stability control test system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1553673A (en) * | 2003-06-02 | 2004-12-08 | 深圳市中兴通讯股份有限公司南京分公 | Descending MPEG-2 form data transmission method based on DOCSIS agreement |
CN1761237A (en) * | 2005-11-04 | 2006-04-19 | 清华大学 | System for transmitting data frame of Etheent based on insertion between frames |
-
2009
- 2009-12-22 CN CN200910263514A patent/CN101753578B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1553673A (en) * | 2003-06-02 | 2004-12-08 | 深圳市中兴通讯股份有限公司南京分公 | Descending MPEG-2 form data transmission method based on DOCSIS agreement |
CN1761237A (en) * | 2005-11-04 | 2006-04-19 | 清华大学 | System for transmitting data frame of Etheent based on insertion between frames |
Also Published As
Publication number | Publication date |
---|---|
CN101753578A (en) | 2010-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101753578B (en) | ETHERNET/EI protocol conversion method and protocol converter | |
TWI242946B (en) | Wireless packet communication apparatus and method | |
DK2523397T3 (en) | Method and device for operating the wind farm-interconnectors with improved data transfer protocol | |
CN105450321B (en) | A kind of network data transmission method and device | |
CN103108388B (en) | Clock synchronizing method for wireless sensor network, Apparatus and system | |
CN102111258A (en) | Clock synchronization method, equipment and system | |
CN101741853B (en) | Method for synchronizing clock time, line card veneer and network equipment | |
CN105610727B (en) | A kind of network data transmission method and device | |
WO2015117501A1 (en) | Time synchronization method, programmable logic device, single board and network element | |
CN103152118B (en) | A kind of Base Band Unit and radio frequency unit data service synchronization, device and system | |
CN101730307A (en) | Device and method for transmitting radio remote data | |
WO2014194517A1 (en) | Method and device for transmitting data | |
WO2012009987A1 (en) | Device, system and method for frame delay measurement | |
CN101453308B (en) | IP clock packet processing method, equipment and system | |
CN104618019A (en) | WiFi (wireless fidelity) access system based on visible light transmission and data frame transformation method | |
WO2008145053A1 (en) | A network clock synchronization method of short range wireless communication network | |
CN101426284B (en) | IEEE802.11 wireless local area network access point having continuous clock synchronization function and mobile station | |
EP2178230A1 (en) | Performance improvement of dual mode devices for data over cable applications | |
CN108183762B (en) | The method for synchronizing time of RapidIO network system and RapidIO network system | |
WO2013097754A1 (en) | Method and apparatus for synchronization processing of air-interface data | |
CN103731252A (en) | Improvement method and system for IEEE1588 unicast negotiation mechanism | |
CN103117846A (en) | Method, device and system of data transmission | |
CN1423464A (en) | Method and apparatus for realizing support circuit business in wireless access system | |
CN203466828U (en) | ETHERNET transmission system with controllable time delay based on E1 link | |
CN103684647A (en) | Time delay eliminating method and device for PTP data packet when converted between Ethernet and E1 protocol |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 610031 Sichuan city of Chengdu province Jinjiang District Dacisi Road No. 22 Patentee after: Telecommunication science and technology fifth Research Institute Co., Ltd. Address before: 610062 Sichuan city of Chengdu province shudutaidao Daci Temple Road, No. 22 Patentee before: Information Industry Department No. 5 Telecommunication Technologics Research Institute |