CN103067796A - 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
CN103067796A
CN103067796A CN2013100295732A CN201310029573A CN103067796A CN 103067796 A CN103067796 A CN 103067796A CN 2013100295732 A CN2013100295732 A CN 2013100295732A CN 201310029573 A CN201310029573 A CN 201310029573A CN 103067796 A CN103067796 A CN 103067796A
Authority
CN
China
Prior art keywords
ethernet service
frame
write
service frame
buffer memory
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.)
Granted
Application number
CN2013100295732A
Other languages
Chinese (zh)
Other versions
CN103067796B (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

Images

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 of method of the broken frame that in grouping optical transmission system chip, prevents from regenerating
Technical field
The optical transmission system chip that the present invention relates to divide into groups is a kind of method of the broken frame that prevents from regenerating in grouping optical transmission system chip specifically.
Background technology
In communication network, for satisfying growing bandwidth demand, for adapting to the inexorable trend of professional IPization development, transmission network is to extendible packet-based architecture evolution, the transmission of grouping light is representing transmission network of future generation, Packet Service take IP and Ethernet service as representative will occupy dominant position gradually thus, so that Packet Service is brought into play vital effect to the economic performance of transmission network.
Ethernet with its superior cost performance, widely product and application, technology maturity is high and the advantages such as high transfer rate of sustainable evolution, has become the main development direction of communication carrier net.Grouping optical transmission system P-OTS(Packet-Optical Transport Systems) supports that Ethernet is the transmission of its client's business in.Because the grouping optical transmission system is different from the bag treatment system of switch or router, its content to Ethernet service is not done profound the parsing, is generally its business is carried out Generic Framing Procedure GFP(Generic Framing Procedure) the rear transparent transmission processing of encapsulation.The customer side Ethernet sends successional requirement in the IEEE802.3 agreement (802.3 Ethernet protocols that IEEE formulates) in order to satisfy in the P-OTS chip, all can adopt corresponding bag buffer memory to realize this requirement at the P-OTS chip internal.And send the professional impact that is subjected to bandwidth traffic owing to introduce the Ethernet of bag caching mechanism, then will inevitably be at filled band wide or burst service situation produce undesirable broken frame owing to buffer memory is full, and send from the Ethernet customer side, thereby so that the grouping optical transmission system has been introduced the broken frame of regeneration, reduce the utilance of system bandwidth, and affected performance and the stability of a system of whole system equipment.
Prior art carries out sending continuously after redundancy bytes PAD adds processing for the broken frame to regeneration to this way to solve the problem again, the transmitter side that the method need to be wrapped buffer memory increases corresponding hardware handles function, and the Frame after process PAD adds still is the unwanted frame of system, and the system that wasted sends bandwidth and expended corresponding hardware handles resource.
Summary of the invention
For the defective that exists in the prior art, the object of the present invention is to provide a kind of method of the broken frame that in grouping optical transmission system chip, prevents from regenerating, can prevent the problem of the broken frame of Ethernet service transmitter side introducing regeneration in the P-OTS chip, thereby effectively utilize system bandwidth, and increased performance and the stability of a system of whole system equipment.
For reaching above purpose, the technical scheme that the present invention takes is:
A kind of method of the broken frame that prevents from regenerating in grouping optical transmission system chip is characterized in that, may further comprise the steps:
Step (1) is set the residue of Ethernet service Frame transmission buffer memory and can be write the spatial value parameter;
Step (2) detects the residue of Ethernet service Frame transmission buffer memory and can write spatial value, according to testing result control the Ethernet service data is write the Ethernet service Frame with whole content frame and sends buffer memory; Or can write the spatial value parameter according to the residue of the Ethernet service Frame transmission buffer memory of setting and control the length that writes data frame content in the Ethernet service Frame transmission buffer memory.
On the basis of technique scheme, the residue of Ethernet service Frame transmission buffer memory can be write the spatial value parameter default and be set as 64 bytes.
On the basis of technique scheme, in step (2), the P-OTS chip is when sending the Ethernet service Frame continuously, detects in real time the residue of Ethernet service Frame transmission buffer memory and can write spatial value, and the Ethernet service Frame of prime being sent into according to testing result is handled as follows:
A) when the residue that the Ethernet service Frame that detects sends buffer memory can write spatial value greater than step (1) in the residue of setting can write the spatial value parameter, when the Ethernet service Frame byte number that the while prime is sent into can be write spatial value less than the residue of the Ethernet service Frame transmission buffer memory of this moment, then control the Ethernet service Frame that prime is sent into and write Ethernet service Frame transmission buffer memory with whole content frame; When the residue that the Ethernet service Frame byte number of sending into when prime sends buffer memory greater than the Ethernet service Frame of this moment can be write spatial value, then control Ethernet service Frame that prime is sent into to data frame buffer write be about to full till, simultaneously the byte that not yet writes in this Ethernet service Frame is carried out discard processing;
B) can write the residue that spatial value sets in less than step (1) when the residue that the Ethernet service Frame that detects sends buffer memory and can write the spatial value parameter, then the Ethernet service Frame sends buffer memory and refuses to write the Ethernet service Frame that prime is sent here.
The method of the broken frame that in grouping optical transmission system chip, prevents from regenerating of the present invention, can prevent the problem of the broken frame of Ethernet service transmitter side introducing regeneration in the P-OTS chip, thereby effectively utilize system bandwidth, bandwidth and the data throughout of Ethernet service transmitter side in the grouping optical transmission system chip have been improved, effectively raise the efficiency of transmission that the Ethernet service side sends Frame, and increased performance and the stability of a system of whole system equipment.
Description of drawings
The present invention has following accompanying drawing:
Fig. 1 is a kind of implementation operational flowchart of the method for the invention.
Fig. 2 is the system configuration schematic diagram that a kind of implementation of the method for the invention adopts.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
As shown in Figure 1, 2, the method for the broken frame that prevents from regenerating in grouping optical transmission system chip (P-OTS chip) of the present invention may further comprise the steps:
Step (1) is set the residue of Ethernet service Frame transmission buffer memory and can be write the spatial value parameter;
Step (2), P-OTS chip detection Ethernet service Frame sends the residue of buffer memory can write spatial value, according to testing result control the Ethernet service data is write the Ethernet service Frame with whole content frame and sends buffer memory; Or can write the spatial value parameter according to the residue of the Ethernet service Frame transmission buffer memory of setting and control the length that writes data frame content in the Ethernet service Frame transmission buffer memory.
The method of the invention sends the residue of buffer memory by setting the Ethernet service Frame can write the spatial value parameter, and can write the spatial value situation by the residue that real-time detection Ethernet service Frame sends buffer memory inside, make buffer memory whether and send judgement that Ethernet service Frame or refusal write this Frame broken frame that prevents from regenerating.Solve the problem that sends the full broken frame of regenerating of buffer memory in the prior art because of the Ethernet service Frame with this.
On the basis of technique scheme, the residue of Ethernet service Frame transmission buffer memory can be write the spatial value parameter default and be set as 64 bytes.That is: setting this parameter when the P-OTS chip initiation is default value, and default value is set as 64 bytes.
On the basis of technique scheme, in step (2), the P-OTS chip is when sending the Ethernet service Frame continuously, detects in real time the residue of Ethernet service Frame transmission buffer memory and can write spatial value, and the Ethernet service Frame of prime being sent into according to testing result is handled as follows:
A) when the residue that the Ethernet service Frame that detects sends buffer memory can write spatial value greater than step (1) in the residue of setting can write the spatial value parameter, when the Ethernet service Frame byte number that the while prime is sent into can be write spatial value less than the residue of the Ethernet service Frame transmission buffer memory of this moment, then control the Ethernet service Frame that prime is sent into and write Ethernet service Frame transmission buffer memory with whole content frame; When the residue that the Ethernet service Frame byte number of sending into when prime sends buffer memory greater than the Ethernet service Frame of this moment can be write spatial value, then control Ethernet service Frame that prime is sent into to data frame buffer write be about to full till, simultaneously the byte that not yet writes in this Ethernet service Frame is carried out discard processing;
B) can write the residue that spatial value sets in less than step (1) when the residue that the Ethernet service Frame that detects sends buffer memory and can write the spatial value parameter, then the Ethernet service Frame sends buffer memory and refuses to write the Ethernet service Frame that prime is sent here.
By above method, thereby control abandons the Ethernet service Frame that this moment, prime was sent here, has prevented that effectively Frame is regenerated as the problem of broken frame.Compared with prior art, solved the P-OTS chip in Ethernet service flowing full amount or bursts of traffic situation, the impact of the broken frame that effectively prevents from regenerating.Owing to adopted the prime Frame refusal to producing broken frame to write the mechanism of buffer memory, thereby increased the transmitting capacity of Ethernet transmitter side Frame.Also effectively raise the efficiency of transmission of Ethernet service transmitter side Frame.Bandwidth and the data throughout of Ethernet service transmitter side in the P-OTS chip have been improved.And reduced accordingly chip internal hardware handles power consumption.Ethernet feature test position fix in the P-OTS chip there is very large benefit.
It below is a specific embodiment.
Step 1, setting residue that the Ethernet service Frame sends buffer memory during the P-OTS chip initiation, can to write the spatial value parameter be default value.Described default value is 64 bytes.
Step 2, P-OTS chip detect residue that the Ethernet service Frame sends buffer memory in real time can write the relation that the residue of the transmission buffer memory of spatial value and setting can be write the spatial value parameter.When the residue that sends buffer memory when the Ethernet service Frame that detects can be write spatial value and can write the spatial value parameter less than the residue of the transmission buffer memory of setting, the Ethernet service Frame of then prime being sent into carried out discard processing, to prevent undesirable broken frame.
Step 3, when the residue that sends buffer memory when the Ethernet service Frame that detects can be write spatial value and can write the spatial value parameter greater than the residue of the transmission buffer memory of setting, need to continue detect residue that the Ethernet service Frame sends buffer memory and can write the Ethernet service Frame byte number whether spatial value is sent into greater than prime, if greater than, then control the Ethernet service Frame that prime is sent into and write Ethernet service Frame transmission buffer memory with whole content frame.And continuation repeated execution of steps 2 and step 3.
If sending the residue of buffer memory, the Ethernet service Frame that detects to write the Ethernet service Frame byte number that spatial value is sent into less than prime, then control Ethernet service Frame that prime is sent into to data frame buffer write be about to full till, simultaneously the byte that not yet writes in this Ethernet service Frame is carried out discard processing.This kind situation is owing to buffer memory expires, and the longer Ethernet service Frame that prime is sent in the appearance meeting blocks as can write at least the Frame of spatial value parameter byte more than or equal to the transmission buffer memory residue of setting.Thereby still can avoid regenerating broken frame fully.
As shown in Figure 2, the system configuration schematic diagram that adopts for a kind of implementation of the method for the invention.The processing of having showed Frame in the P-OTS chip of realizing the Ethernet service transmission among the figure flows to.Owing to will satisfy that the Ethernet service Frame sends successional requirement in the IEEE802.3 agreement, send Ethernet service Frame module that cache module and prime send into and the Ethernet service Frame transmission processing module of rear class so in the P-OTS chip, include the Ethernet service Frame.
The method of the invention is in the specific embodiment of Fig. 2, the Ethernet service Frame sends the size of buffer memory for supporting at least a ethernet frame the longest (9600 byte), using the effect of larger data frame buffer is to make the P-OTS chip can support the caching process of maximum ethernet frame on the one hand, guarantees that Ethernet sends the continuity of Frame; When P-OTS chip Ethernet service work pattern, finish outside the buffer memory Ethernet service Frame on the other hand, also finish in the chip prime module clock zone to the translation function in Ethernet service tranmitting data register territory.
When P-OTS chip Ethernet work pattern, the Ethernet service data flow is fed through the Ethernet service Frame from the prime module with data flow and sends cache module, large or when being the data burst situation when data traffic, then Ethernet service Frame transmission buffer memory is in full load condition, and the residue that sends buffer memory by setting the Ethernet service Frame can be write the spatial value parameter, and the prime Ethernet service Frame that control has realized originally can producing broken frame is sent after directly abandoning or only write the Frame of setup parameter value size byte.The situation of broken frame of having prevented from regenerating occurs.Also effectively raise the efficiency of transmission of Ethernet service transmitter side Frame.Bandwidth and the data throughout of Ethernet service transmitter side in the P-OTS chip have been improved.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
The content that is not described in detail in this specification belongs to the known prior art of this area professional and technical personnel.

Claims (3)

1. the method for the broken frame that prevents from regenerating in grouping optical transmission system chip is characterized in that, may further comprise the steps:
Step (1) is set the residue of Ethernet service Frame transmission buffer memory and can be write the spatial value parameter;
Step (2) detects the residue of Ethernet service Frame transmission buffer memory and can write spatial value, according to testing result control the Ethernet service data is write the Ethernet service Frame with whole content frame and sends buffer memory; Or can write the spatial value parameter according to the residue of the Ethernet service Frame transmission buffer memory of setting and control the length that writes data frame content in the Ethernet service Frame transmission buffer memory.
2. the method for the broken frame that prevents from regenerating in grouping optical transmission system chip as claimed in claim 1 is characterized in that: the residue that the Ethernet service Frame sends buffer memory can be write the spatial value parameter default and be set as 64 bytes.
3. the method for the broken frame that in grouping optical transmission system chip, prevents from regenerating as claimed in claim 1, it is characterized in that: in step (2), the P-OTS chip is when sending the Ethernet service Frame continuously, detects in real time the residue of Ethernet service Frame transmission buffer memory and can write spatial value, and the Ethernet service Frame of prime being sent into according to testing result is handled as follows:
A) when the residue that the Ethernet service Frame that detects sends buffer memory can write spatial value greater than step (1) in the residue of setting can write the spatial value parameter, when the Ethernet service Frame byte number that the while prime is sent into can be write spatial value less than the residue of the Ethernet service Frame transmission buffer memory of this moment, then control the Ethernet service Frame that prime is sent into and write Ethernet service Frame transmission buffer memory with whole content frame; When the residue that the Ethernet service Frame byte number of sending into when prime sends buffer memory greater than the Ethernet service Frame of this moment can be write spatial value, then control Ethernet service Frame that prime is sent into to data frame buffer write be about to full till, simultaneously the byte that not yet writes in this Ethernet service Frame is carried out discard processing;
B) can write the residue that spatial value sets in less than step (1) when the residue that the Ethernet service Frame that detects sends buffer memory and can write the spatial value parameter, then the Ethernet service Frame sends buffer memory and refuses to write the Ethernet service Frame that prime is sent here.
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 true CN103067796A (en) 2013-04-24
CN103067796B 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 (3)

* 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
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

Patent Citations (3)

* 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
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
CN103067796B (en) 2015-04-29

Similar Documents

Publication Publication Date Title
EP3073688B1 (en) Data transmission method, core forwarding device and end point forwarding device
CN100499872C (en) Voice-over IP communication without echo cancellation
CN106488508B (en) A kind of data transmission method, apparatus and system
CN104133784B (en) A kind of packet buffer management method and device
CN102916880B (en) The method and device that packet sends and receives in a kind of packet switching network
CN109874031A (en) Multipriority dynamic code rate method of adjustment and system based on network bandwidth prediction
JP6603816B2 (en) Method and apparatus for transmitting frame data between near-end device and far-end device
CN103517323B (en) The data transmission method of Wireless Heterogeneous Networks, shunting device, base station equipment
CN106712899A (en) Port rate adjustment method and device
CN109002409A (en) A kind of bit wide converting means and method
CN102404224A (en) Self-adaptive balanced load shunting equipment and method
CN109408424A (en) A kind of SpaceFibre bus data acquisition method based on PCIe interface
CN107786243A (en) Compression Video transmission system and method based on frequency hopping TDMA netting communication systems
CN107277648A (en) A kind of video transmission method of subway train LCD screen
CN102388594B (en) Method, device and system for data transmission
CN109669897A (en) Data transmission method and device
CN103067796B (en) Method for preventing regenerated broken frames in chip of packet-optical transmission system
CN106494466B (en) The data apparatus for changing and its data costume changing method of train operation monitoring
CN103888372B (en) Traffic shaping method and data processing equipment
CN102035733B (en) Method for establishing serial data transparent transmission channel by Ethernet
CN105472404A (en) Data processing method in video service
CN107872291A (en) A kind of method of adjustment and terminal of voice code check
CN107342949B (en) It is a kind of realize TDM and Packet Service statistical multiplex transmission device, method
CN113518046B (en) Message forwarding method and frame type switching equipment
CN101110739B (en) Method for implementing non-standard low-speed chain building on serial high bit rate digital subscriber line

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