CN103067796B - Method for preventing regenerated broken frames in chip of packet-optical transmission system - Google Patents

Method for preventing regenerated broken frames in chip of packet-optical transmission system Download PDF

Info

Publication number
CN103067796B
CN103067796B CN201310029573.2A CN201310029573A CN103067796B CN 103067796 B CN103067796 B CN 103067796B CN 201310029573 A CN201310029573 A CN 201310029573A CN 103067796 B CN103067796 B CN 103067796B
Authority
CN
China
Prior art keywords
ethernet service
write
buffer memory
dataframe
frame
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
CN201310029573.2A
Other languages
Chinese (zh)
Other versions
CN103067796A (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.)
Wuhan flying Microelectronics Technology Co., Ltd.
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 CN201310029573.2A priority Critical patent/CN103067796B/en
Publication of CN103067796A publication Critical patent/CN103067796A/en
Application granted granted Critical
Publication of CN103067796B publication Critical patent/CN103067796B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a method for preventing regenerated broken frames in a chip of a packet-optical transmission system (P-OTS). The method comprises the following steps of: (1) setting a residual writable space value parameter of an Ethernet service data frame sending cache; and (2) detecting a residual writable space value of the Ethernet service data frame sending cache, and controlling Ethernet service data to be written into the Ethernet service data frame sending cache in an overall frame content manner according to a detection manner, or controlling a length of the data frame content written into the Ethernet service data frame sending cache according to the set residual writable space value parameter of the Ethernet service data frame sending cache. By the a method for preventing regenerated broken frames in the chip of the packet-optical transmission system, the regenerated broken frames can be prevented from being introduced into an Ethernet service sending side in the chip of the P-OTS, so that the bandwidth of a system can be effectively used; and the performance and the system stability of the whole system equipment are improved.

Description

A kind ofly in grouping optical transmission system chip, prevent the method regenerating broken frame
Technical field
The present invention relates to grouping optical transmission system chip, is a kind of method preventing from regenerating broken frame in grouping optical transmission system chip specifically.
Background technology
In a communication network, for meeting growing bandwidth demand, for adapting to the inexorable trend of business IPization development, transmission network is to extendible packet-based architecture evolution, grouping optical transport represents transmission network of future generation, the Packet Service being representative with IP and Ethernet service thus will occupy dominant position gradually, make the economic performance of Packet Service to transmission network play vital effect.
The advantages such as the high transfer rate of Ethernet and sustainable evolution high with its superior cost performance, widely product and application, technology maturity, have become the main development direction of communication carrier net.Grouping optical transmission system P-OTS(Packet-Optical Transport Systems) in support that Ethernet is the transmission of its client traffic.Because grouping optical transmission system is different from the bag treatment system of switch or router, it does not do profound parsing to the content of Ethernet service, is generally and carries out Generic Framing Procedure GFP(Generic Framing Procedure to its business) the rear transparent transmission process of encapsulation.Sending successional requirement to meet customer side Ethernet in IEEE802.3 agreement (802.3 Ethernet protocols that IEEE formulates) in P-OTS chip, all corresponding bag buffer memory can be adopted to realize this requirement at P-OTS chip internal.And send the impact of business by bandwidth traffic due to the Ethernet introducing bag caching mechanism, then wide or burst service situation will inevitably produce undesirable broken frame because buffer memory is full at filled band, and send from Ethernet customer side, thus make grouping optical transmission system introduce the broken frame of regeneration, reduce the utilization rate of system bandwidth, and affect performance and the stability of a system of whole system equipment.
Prior art is carry out sending continuously after redundancy bytes PAD adds process to the broken frame of regeneration to this way to solve the problem again, the method needs the sending side of bag buffer memory to increase corresponding hardware handles function, and the Frame after PAD adds is still the unwanted frame of system, the system that wastes sends bandwidth and consumes corresponding hardware processing resources.
Summary of the invention
For the defect existed in prior art, the object of the present invention is to provide a kind of method preventing from regenerating broken frame in grouping optical transmission system chip, can prevent Ethernet service sending side in P-OTS chip from introducing the problem of the broken frame of regeneration, thus effectively utilize system bandwidth, and add performance and the stability of a system of whole system equipment.
For reaching above object, the technical scheme that the present invention takes is:
In grouping optical transmission system chip, prevent the method regenerating broken frame, it is characterized in that, comprise the following steps:
Step (1), the residue of setting Ethernet service dataframe buffer memory can write spatial value parameter;
Step (2), the residue detecting Ethernet service dataframe buffer memory can write spatial value, controls Ethernet service data according to testing result with whole content frame write Ethernet service dataframe buffer memory; Or the length of data frame content in spatial value state modulator write Ethernet service dataframe buffer memory can be write according to the residue of the Ethernet service dataframe buffer memory of setting.
On the basis of technique scheme, the residue of Ethernet service dataframe buffer memory can be write spatial value parameter default and be set as 64 bytes.
On the basis of technique scheme, in step (2), P-OTS chip is when sending Ethernet service Frame continuously, the residue of real-time detection Ethernet service dataframe buffer memory can write spatial value, and is handled as follows the Ethernet service Frame that prime is sent into according to testing result:
A) can write when the residue of the Ethernet service dataframe buffer memory detected the residue that spatial value is greater than setting in step (1) and spatial value parameter can be write, when the residue of the Ethernet service dataframe buffer memory that the Ethernet service Frame byte number that prime is sent into simultaneously is less than now can write spatial value, then the Ethernet service Frame controlling prime to send into is with whole content frame write Ethernet service dataframe buffer memory; When the residue of the Ethernet service dataframe buffer memory that the Ethernet service Frame byte number that prime is sent into is greater than now can write spatial value, then control Ethernet service Frame that prime is sent into data frame buffer memory write be about to full till, the byte not yet write in this Ethernet service Frame is carried out discard processing simultaneously;
B) can write when the residue of the Ethernet service dataframe buffer memory detected the residue that spatial value is less than setting in step (1) and spatial value parameter can be write, then the Ethernet service Frame sent here of Ethernet service dataframe buffer memory refusal write prime.
Of the present inventionly in grouping optical transmission system chip, prevent the method regenerating broken frame, can prevent Ethernet service sending side in P-OTS chip from introducing the problem of the broken frame of regeneration, thus effectively utilize system bandwidth, improve bandwidth and the data throughout of Ethernet service sending side in grouping optical transmission system chip, effectively raise the efficiency of transmission that Ethernet service side sends Frame, and add performance and the stability of a system of whole system equipment.
Accompanying drawing explanation
The present invention has following accompanying drawing:
Fig. 1 is the concrete implementation and operation flow chart of one of the method for the invention.
Fig. 2 is a kind of concrete system architecture schematic diagram implementing to adopt of the method for the invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is described in further detail.
As shown in Figure 1, 2, of the present inventionly in grouping optical transmission system chip (P-OTS chip), prevent the method regenerating broken frame, comprise the following steps:
Step (1), the residue of setting Ethernet service dataframe buffer memory can write spatial value parameter;
Step (2), the residue of P-OTS chip detection Ethernet service dataframe buffer memory can write spatial value, controls Ethernet service data according to testing result with whole content frame write Ethernet service dataframe buffer memory; Or the length of data frame content in spatial value state modulator write Ethernet service dataframe buffer memory can be write according to the residue of the Ethernet service dataframe buffer memory of setting.
The method of the invention can write spatial value parameter by the residue of setting Ethernet service dataframe buffer memory, and spatial value situation can be write by the residue detecting in real time Ethernet service dataframe buffer memory inside, make the judgement that whether buffer memory sends Ethernet service Frame or this Frame of refusal write and prevent from regenerating broken frame.The problem regenerating broken frame in prior art because Ethernet service dataframe buffer memory is full is solved with this.
On the basis of technique scheme, the residue of Ethernet service dataframe buffer memory can be write spatial value parameter default and be set as 64 bytes.That is: setting this parameter when P-OTS chip initiation is default value, and default value is set as 64 bytes.
On the basis of technique scheme, in step (2), P-OTS chip is when sending Ethernet service Frame continuously, the residue of real-time detection Ethernet service dataframe buffer memory can write spatial value, and is handled as follows the Ethernet service Frame that prime is sent into according to testing result:
A) can write when the residue of the Ethernet service dataframe buffer memory detected the residue that spatial value is greater than setting in step (1) and spatial value parameter can be write, when the residue of the Ethernet service dataframe buffer memory that the Ethernet service Frame byte number that prime is sent into simultaneously is less than now can write spatial value, then the Ethernet service Frame controlling prime to send into is with whole content frame write Ethernet service dataframe buffer memory; When the residue of the Ethernet service dataframe buffer memory that the Ethernet service Frame byte number that prime is sent into is greater than now can write spatial value, then control Ethernet service Frame that prime is sent into data frame buffer memory write be about to full till, the byte not yet write in this Ethernet service Frame is carried out discard processing simultaneously;
B) can write when the residue of the Ethernet service dataframe buffer memory detected the residue that spatial value is less than setting in step (1) and spatial value parameter can be write, then the Ethernet service Frame sent here of Ethernet service dataframe buffer memory refusal write prime.
By above method, thus control abandons the Ethernet service Frame that now prime is sent here, effectively prevent the problem that Frame is regenerated as broken frame.Compared with prior art, solve P-OTS chip under Ethernet service flowing full amount or bursts of traffic situation, effectively prevent the impact regenerating broken frame.Owing to have employed the mechanism to the prime Frame refusal write buffer memory producing broken frame, thus add the transmitting capacity of Ethernet sending side Frame.Also the efficiency of transmission of Ethernet service sending side Frame is effectively raised.Improve bandwidth and the data throughout of Ethernet service sending side in P-OTS chip.And consequently reduce chip internal hardware handles power consumption.Very large benefit is had to ethernet feature test position fix in P-OTS chip.
It is below a specific embodiment.
Step 1, during P-OTS chip initiation, the residue of setting Ethernet service dataframe buffer memory can write spatial value parameter is default value.Described default value is 64 bytes.
Step 2, the residue that the residue that P-OTS chip detects Ethernet service dataframe buffer memory in real time can write the transmission buffer memory of spatial value and setting can write the relation of spatial value parameter.When the residue of Ethernet service dataframe buffer memory detected can write residue that spatial value is less than the transmission buffer memory of setting can write spatial value parameter time, then discard processing is carried out, to prevent undesirable broken frame to the Ethernet service Frame that prime is sent into.
Step 3, when the residue of Ethernet service dataframe buffer memory detected can write residue that spatial value is greater than the transmission buffer memory of setting can write spatial value parameter time, the residue needing continuation to detect Ethernet service dataframe buffer memory can write the Ethernet service Frame byte number whether spatial value is greater than prime feeding, if be greater than, then the Ethernet service Frame controlling prime to send into is with whole content frame write Ethernet service dataframe buffer memory.And continue repeated execution of steps 2 and step 3.
If the residue of the Ethernet service dataframe buffer memory detected can write the Ethernet service Frame byte number that spatial value is less than prime feeding, then control Ethernet service Frame that prime is sent into data frame buffer memory write be about to full till, the byte not yet write in this Ethernet service Frame is carried out discard processing simultaneously.This kind of situation expiring due to buffer memory, the appearance transmission buffer memory residue longer Ethernet service Frame that prime is sent into can blocked as being at least more than or equal to setting can write the Frame of spatial value parameter byte.Thus still can avoid completely regenerating broken frame.
As shown in Figure 2, be a kind of concrete system architecture schematic diagram implementing to adopt of the method for the invention.The process illustrating Frame in the P-OTS chip realizing Ethernet service transmission in figure flows to.Due to the successional requirement of Ethernet service dataframe in IEEE802.3 agreement will be met, so include the Ethernet service Frame module of Ethernet service dataframe cache module and prime feeding and the Ethernet service dataframe processing module of rear class in P-OTS chip.
The method of the invention is in the specific embodiment of Fig. 2, the size of Ethernet service dataframe buffer memory is at least support a longest ethernet frame (9600 byte), the effect using larger data frame buffer is the caching process making P-OTS chip can support maximum ethernet frame on the one hand, ensures that Ethernet sends the continuity of Frame; Complete outside buffer memory Ethernet service Frame when P-OTS chip Ethernet service work pattern on the other hand, also to complete in chip prime module clock territory to the translation function of Ethernet service sending clock-domain.
When P-OTS chip Ethernet work pattern, data flow is fed through Ethernet service dataframe cache module from prime module by Ethernet service data flow, when data traffic is comparatively large or be data burst situation time, then Ethernet service dataframe buffer memory is in full load condition, and spatial value parameter can be write by the residue of setting Ethernet service dataframe buffer memory, send after the prime Ethernet service Frame that originally can produce broken frame is directly abandoned or only write the Frame of setup parameter value size byte by control realization.The situation regenerating broken frame is prevented to occur.Also the efficiency of transmission of Ethernet service sending side Frame is effectively raised.Improve bandwidth and the data throughout of Ethernet service sending side in P-OTS chip.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
The content be not described in detail in this description belongs to the known prior art of professional and technical personnel in the field.

Claims (2)

1. in grouping optical transmission system chip, prevent the method regenerating broken frame, it is characterized in that, comprise the following steps:
Step (1), the residue of setting Ethernet service dataframe buffer memory can write spatial value parameter;
Step (2), the residue detecting Ethernet service dataframe buffer memory can write spatial value, controls Ethernet service data according to testing result with whole content frame write Ethernet service dataframe buffer memory; Or the length of data frame content in spatial value state modulator write Ethernet service dataframe buffer memory can be write according to the residue of the Ethernet service dataframe buffer memory of setting;
In step (2), P-OTS chip is when sending Ethernet service Frame continuously, the residue of real-time detection Ethernet service dataframe buffer memory can write spatial value, and is handled as follows the Ethernet service Frame that prime is sent into according to testing result:
A) can write when the residue of the Ethernet service dataframe buffer memory detected the residue that spatial value is greater than setting in step (1) and spatial value parameter can be write, when the residue of the Ethernet service dataframe buffer memory that the Ethernet service Frame byte number that prime is sent into simultaneously is less than now can write spatial value, then the Ethernet service Frame controlling prime to send into is with whole content frame write Ethernet service dataframe buffer memory; When the residue of the Ethernet service dataframe buffer memory that the Ethernet service Frame byte number that prime is sent into is greater than now can write spatial value, then control Ethernet service Frame that prime is sent into data frame buffer memory write be about to full till, the byte not yet write in this Ethernet service Frame is carried out discard processing simultaneously;
B) can write when the residue of the Ethernet service dataframe buffer memory detected the residue that spatial value is less than setting in step (1) and spatial value parameter can be write, then the Ethernet service Frame sent here of Ethernet service dataframe buffer memory refusal write prime.
2. in grouping optical transmission system chip, prevent the method regenerating broken frame as claimed in claim 1, it is characterized in that: the residue of Ethernet service dataframe buffer memory can be write spatial value parameter default and be set as 64 bytes.
CN201310029573.2A 2013-01-25 2013-01-25 Method for preventing regenerated broken frames in chip of packet-optical transmission system Active CN103067796B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310029573.2A CN103067796B (en) 2013-01-25 2013-01-25 Method for preventing regenerated broken frames in chip of packet-optical transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310029573.2A CN103067796B (en) 2013-01-25 2013-01-25 Method for preventing regenerated broken frames in chip of packet-optical transmission system

Publications (2)

Publication Number Publication Date
CN103067796A CN103067796A (en) 2013-04-24
CN103067796B true CN103067796B (en) 2015-04-29

Family

ID=48110228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310029573.2A Active CN103067796B (en) 2013-01-25 2013-01-25 Method for preventing regenerated broken frames in chip of packet-optical transmission system

Country Status (1)

Country Link
CN (1) CN103067796B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547358A (en) * 2003-12-02 2004-11-17 烽火通信科技股份有限公司 A data frame buffer memory device and method for Ethernet passive optical network
CN101789908A (en) * 2010-03-04 2010-07-28 成都市华为赛门铁克科技有限公司 Fragmental message receiving and processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116522A1 (en) * 2001-02-22 2002-08-22 Orckit Communications Ltd. Network congestion control in a mixed traffic environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547358A (en) * 2003-12-02 2004-11-17 烽火通信科技股份有限公司 A data frame buffer memory device and method for Ethernet passive optical network
CN101789908A (en) * 2010-03-04 2010-07-28 成都市华为赛门铁克科技有限公司 Fragmental message receiving and processing method and device

Also Published As

Publication number Publication date
CN103067796A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
EP3073688B1 (en) Data transmission method, core forwarding device and end point forwarding device
CN103049414B (en) Method for converting and transmitting data between FC (fiber channel) bus and CAN (controller area network) bus
JP6603816B2 (en) Method and apparatus for transmitting frame data between near-end device and far-end device
CN1442027A (en) Voice-over IP communication without echo cancellation
CN102404224A (en) Self-adaptive balanced load shunting equipment and method
CN103281263A (en) Processing method, device and system of data in OTN (optical transport network)
CN102769550A (en) Test access point device and method for adjusting operating modes of test access point device
CN103560982B (en) Bag apparatus and method is cut for what Interlaken enhancement mode was dispatched
CN103338158A (en) GOOSE message transmission delay jitter suppression method
CN109669897A (en) Data transmission method and device
CN107786464A (en) A kind of method and device for realizing inter-node communication
CN102388594B (en) Method, device and system for data transmission
CN103067796B (en) Method for preventing regenerated broken frames in chip of packet-optical transmission system
CN103888372B (en) Traffic shaping method and data processing equipment
CN102035733B (en) Method for establishing serial data transparent transmission channel by Ethernet
CN101110739B (en) Method for implementing non-standard low-speed chain building on serial high bit rate digital subscriber line
CN205265697U (en) Grouping optical transmission terminal chip based on tag switching
WO2012103828A2 (en) Method and device for testing link performance
CN104768226B (en) A kind of baseband pool DEU data exchange unit and method
CN102546422B (en) Message forwarding method in exchange chip, exchange chip and network device
CN101425970B (en) Method, apparatus and system for implementing remote loop
CN202998127U (en) Communication device using E1 odd field Sa bit transmission network management protocol
CN110460455B (en) Communication control method and controller
CN111163106B (en) High-speed network preprocessing device based on world gateway
WO2024114619A1 (en) Data frame transmission method, related device, and system and storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20170703

Address after: 430074, Hubei Wuhan East Lake Development Zone, Kanto Industrial Park, beacon Road, optical communications building, industrial building, two floor

Patentee after: Wuhan flying Microelectronics Technology Co., Ltd.

Address before: China Science and Technology Park Dongxin road East Lake Development Zone 430074 Hubei Province, Wuhan City, No. 5

Patentee before: Fenghuo Communication Science &. Technology Co., Ltd.

TR01 Transfer of patent right

Effective date of registration: 20170803

Address after: 430000 East Lake high tech Development Zone, Hubei Province, No. 6, No., high and new technology development zone, No. four

Co-patentee after: Wuhan flying Microelectronics Technology Co., Ltd.

Patentee after: Fenghuo Communication Science &. Technology Co., Ltd.

Address before: 430074, Hubei Wuhan East Lake Development Zone, Kanto Industrial Park, beacon Road, optical communications building, industrial building, two floor

Patentee before: Wuhan flying Microelectronics Technology Co., Ltd.

TR01 Transfer of patent right