CN101141351B - Method of settling frame loss of frequency offset - Google Patents

Method of settling frame loss of frequency offset Download PDF

Info

Publication number
CN101141351B
CN101141351B CN2007101429118A CN200710142911A CN101141351B CN 101141351 B CN101141351 B CN 101141351B CN 2007101429118 A CN2007101429118 A CN 2007101429118A CN 200710142911 A CN200710142911 A CN 200710142911A CN 101141351 B CN101141351 B CN 101141351B
Authority
CN
China
Prior art keywords
frame
ethernet
buffering area
outbound port
frequency deviation
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
CN2007101429118A
Other languages
Chinese (zh)
Other versions
CN101141351A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101429118A priority Critical patent/CN101141351B/en
Publication of CN101141351A publication Critical patent/CN101141351A/en
Application granted granted Critical
Publication of CN101141351B publication Critical patent/CN101141351B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The utility model discloses a method to avoid the frequency bias and the frame loss in the Ethernet. The method includes following steps as: (1) the performance parameters are arranged for the adjustment of frame interval; (2) the performance parameters are examined, so that the frame interval can be adjusted as per the examination results. When the flow rate (such as is large, the utility model can be used to avoid the side effect on the performance transfer due to the frequency bias of the Ethernet equipment clock; meanwhile, the Ethernet equipment's processing capacity is enhanced. Thus, the performance transfer is free from the influence of the Ethernet equipment's clock, so as to produce positive effect on the test and application of the Ethernet equipment.

Description

Solve the method for Ethernet frequency deviation frame losing
Technical field
The present invention relates to data communication field, relate more specifically to a kind of method that solves the frame losing of Ethernet frequency deviation.
Background technology
In recent years, the Ethernet service development is rapid, and service traffics increase year by year, and are also more and more higher for the performance requirement of ethernet device.But because Ethernet is an asynchronous network, according to 802.3 standard codes, the clock of ethernet device allows existence ± 100PPM frequency deviation, so ethernet device is when sending business, might send a little more than standard speed, promptly the frame number of unit interval transmission is more than standard value.Under the very big condition of service traffics (as linear speed),, can cause the situation of frame losing to occur in this case because the problem Ethernet receiving equipment clock of frequency deviation is slower than transmitting apparatus possibly.
IPG (Inter-Packet Gap, frame pitch) is the time delay between frame transmits, and effect is to prevent to overlap between the frame, and IPG reaches standard minimum under the linear speed condition.The minimum IPG length of agreement regulation is that ethernet device sends 96 times that bit is used.
Prior art provides a kind of and has adjusted the method for frame gap by the terminal device clock frequency that relatively links to each other, and this method needs hardware to cooperate the clock frequency of the equipment of extraction, adjusts frame gap according to the clock frequency of extracting, and implements more complicated.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method that solves the frame losing of Ethernet frequency deviation, makes when there is frequency deviation in the ethernet device clock, and the situation of frame losing in the time of can not occurring transmitting guarantees the normal forwarding of data service.
For addressing the above problem, the invention provides a kind of method that solves the frame losing of Ethernet frequency deviation, may further comprise the steps:
(1) sets the performance parameter of adjusting frame pitch;
(2) detect described performance parameter, adjust frame pitch according to testing result.
The method of solution Ethernet frequency deviation of the present invention frame losing, wherein, step (1) further comprises: it is default value that initialization is provided with frame pitch.
The method of solution Ethernet frequency deviation of the present invention frame losing, wherein, described default value is 12 bytes.
The method of solution Ethernet frequency deviation of the present invention frame losing, wherein, in step (1), setting the performance parameter of adjusting frame pitch is the operating position of outbound port buffering area, in step (2), detect the ethernet frame of port buffering area, and set low threshold and high threshold; When the ethernet frame of outbound port buffering area reaches high threshold, adjust frame pitch; When the ethernet frame of outbound port buffering area is lower than low threshold, frame pitch is reduced into default value.
The method of solution Ethernet frequency deviation of the present invention frame losing, wherein, described method further comprises: set a time interval, every a time interval, repeating step (1) and step (2).
Adopt the method for the invention, compared with prior art, solved under the condition of service traffics very big (as linear speed), when there is frequency deviation in the ethernet device clock, the influence of forwarding performance; Strengthened the disposal ability of ethernet device simultaneously, shielded ethernet device, to the test of ethernet device, use very big benefit is all arranged owing to the influence of self clock accuracy reason to forwarding performance.
Description of drawings
Fig. 1 is a kind of concrete implementation and operation flow chart of the method for the invention;
Fig. 2 is the another kind of concrete structural representation of implementing the system of employing of the method for the invention;
Fig. 3 is the another kind of concrete implementation and operation flow chart of the method for the invention.
Embodiment
The present invention further sets forth a kind of method that solves the frame losing of Ethernet frequency deviation of the present invention in order to solve the drawback that conventional solution exists by following examples, below embodiment is described in detail, but not as a limitation of the invention.
The described method of the embodiment of the invention is adjusted IPG by the buffer resource of checkout facility, and solves the method that causes frame losing between the ethernet device owing to frequency deviation.
As shown in Figure 1, a kind of concrete implementation and operation flow chart of the method for the invention.A kind of concrete enforcement of the method for the invention may further comprise the steps:
It is default value that step 11, initialization are provided with frame pitch, sets the performance parameter of adjusting frame pitch; Described default value can be 12 bytes.
Step 12 detects described performance parameter, adjusts frame pitch according to testing result.
According to a kind of embodiment, set a time interval, every a time interval, repeating step 11 and step 12.
Fig. 2 is the another kind of concrete structural representation of implementing the system of employing of the method for the invention, has represented the frequency deviation of tester transmit port existence+100PPM.There is not frequency deviation in MSTP (multi-service transport platform) database.If the Ethernet frame length is 64 bytes, FE mouth linear speed transmission rate was approximately for 148809.5 frame/seconds, but because the frequency deviation of testing equipment existence+100PPM, therefore actual transmission rate was about for 148824.4 frame/seconds, the tester transmission rate is greater than MSTP data veneer forwarding rate at this moment, and the situation of frame losing can appear in the MSTP data.If the IPG of MSTP database FE (Fast Ethernet) port 3 is modified as 11 bytes by 12 bytes, then the forwarding rate of Fast Ethernet port 3 can reach for 150602.4 frame/seconds, can transmit all messages that receive from tester.
As shown in Figure 3, the another kind of concrete implementation and operation flow chart of the method for the invention.The embodiment of the invention said method comprising the steps of:
Step 31, the initialization of MSTP database, setting IPG is 12 bytes;
The operating position of step 32, MSTP database regular check outbound port buffering area, whether decision needs to revise the IPG of outbound port, revises then determining new IPG value simultaneously if desired.
The buffer size that the MSTP database configures port is the 64K byte, and setting the 16K byte is the low threshold TL of outbound port buffering area, and setting the 32K byte is the high threshold TH of outbound port buffering area;
When the ethernet frame at the outbound port buffering area reaches the TH thresholding, the IPG value of outbound port is revised as 11;
When the ethernet frame at the outbound port buffering area is lower than the TL thresholding, the IPG value is reduced into 12;
The IPG value remains unchanged under other situations;
, the IPG value revises the IPG of outbound port if changing according to new IPG value;
According to a kind of embodiment, every 15 seconds, repeating step 32.
The described method of the embodiment of the invention does not need extra hardware to cooperate, and realizes simple; And can under the very big condition of service traffics (as linear speed), solve ethernet device and may guarantee the normal forwarding of data service because frequency deviation causes the problem of frame losing.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and modification according to the present invention, but these corresponding changes and modification all should belong to the protection range of the appended claim of the present invention.

Claims (3)

1. a method that solves the frame losing of Ethernet frequency deviation is characterized in that, may further comprise the steps:
(1) frame pitch is set is default value in initialization, and setting the performance parameter of adjusting frame pitch is the operating position of outbound port buffering area;
(2) detect described performance parameter, adjust frame pitch, be specially according to testing result:
Detect the ethernet frame of described outbound port buffering area, and set low threshold and high threshold; When the ethernet frame of outbound port buffering area reaches high threshold, adjust frame pitch; When the ethernet frame of outbound port buffering area is lower than low threshold, frame pitch is reduced into default value.
2. method according to claim 1 is characterized in that, described default value is 12 bytes.
3. according to the described method of arbitrary claim in the claim 1 to 2, it is characterized in that described method further comprises: set a time interval, every a time interval, repeating step (1) and step (2).
CN2007101429118A 2007-08-09 2007-08-09 Method of settling frame loss of frequency offset Expired - Fee Related CN101141351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101429118A CN101141351B (en) 2007-08-09 2007-08-09 Method of settling frame loss of frequency offset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101429118A CN101141351B (en) 2007-08-09 2007-08-09 Method of settling frame loss of frequency offset

Publications (2)

Publication Number Publication Date
CN101141351A CN101141351A (en) 2008-03-12
CN101141351B true CN101141351B (en) 2011-01-05

Family

ID=39193112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101429118A Expired - Fee Related CN101141351B (en) 2007-08-09 2007-08-09 Method of settling frame loss of frequency offset

Country Status (1)

Country Link
CN (1) CN101141351B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185757A (en) * 2011-03-31 2011-09-14 华为技术有限公司 Method and device for compressing and controlling inter-packet gap (IPG) of Ethernet
CN102301639B (en) * 2011-07-20 2014-07-30 华为技术有限公司 Method and device for correcting clock jitter
CN102984087B (en) * 2012-12-12 2015-10-21 惠州学院 A kind of adaptive flow control method for storage extension of fibre channel
CN105337784B (en) * 2014-07-14 2019-02-12 华为技术有限公司 A kind of loss packet test method, test device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453949A (en) * 2002-04-26 2003-11-05 东方通信科技发展有限公司 Method of eliminating business flow jitter and slip code in CDMA communication system
CN1581831A (en) * 2004-05-18 2005-02-16 中兴通讯股份有限公司 Method for realizing group-turn accessing in wireless LAN

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453949A (en) * 2002-04-26 2003-11-05 东方通信科技发展有限公司 Method of eliminating business flow jitter and slip code in CDMA communication system
CN1581831A (en) * 2004-05-18 2005-02-16 中兴通讯股份有限公司 Method for realizing group-turn accessing in wireless LAN

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WO 2007/002789 A2,说明书第0007-0015段.

Also Published As

Publication number Publication date
CN101141351A (en) 2008-03-12

Similar Documents

Publication Publication Date Title
US7606151B2 (en) Power reduction in switch architectures
US7355969B2 (en) Line card port protection rate limiter circuitry
EP2882233A1 (en) Service agent method, modem, and terminal
US20150131445A1 (en) Similarity matching method and related device and communication system
CN104348811A (en) Method and device for detecting attack of DDoS (distributed denial of service)
US20020055365A1 (en) Radio communication system using timeout control with flexible timeout interval setting
CN101141351B (en) Method of settling frame loss of frequency offset
CN108521343A (en) A kind of processing method and processing device of OAM message
CN115037700B (en) Complex network data packet transmission method, system, terminal and storage medium
CN110601919A (en) Loopback detection method and system
CN102447606A (en) Flow control method and device for data transmission
CN101640615A (en) Method and equipment for detecting POS port code disturbing configuration
JP2013531447A (en) CPRI link error code monitoring method, system and apparatus
CN103888372B (en) Traffic shaping method and data processing equipment
US20120243413A1 (en) Data Packet Priority Level Management
CN110661722B (en) Flow control method and device
CN102185732B (en) Method and system for testing active queue management parameters of communication equipment
CN111601177B (en) Online continuous inspection method based on data packet round-trip delay distribution
WO2019096370A1 (en) Method and first network node for handling packets
Yi et al. Design and fpga implementation of ten gigabit ethernet mac controller
CN101924691A (en) Method and device for dynamically enabling packet header to be compressed
US20040249933A1 (en) Network interface parameters
CN104486794B (en) Transmit the method, apparatus and system of voice IP messages
Tong et al. A Protection Method Based on Message Identification and Flow Monitoring for Managing the Congestion Arising From Network Attacks on Smart Substation
CN110912894A (en) Communication protocol conversion system and method for heat supply metering network

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
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: 20110105

Termination date: 20170809