CN101252388A - Apparatus and method for sending data - Google Patents

Apparatus and method for sending data Download PDF

Info

Publication number
CN101252388A
CN101252388A CNA2008100845553A CN200810084555A CN101252388A CN 101252388 A CN101252388 A CN 101252388A CN A2008100845553 A CNA2008100845553 A CN A2008100845553A CN 200810084555 A CN200810084555 A CN 200810084555A CN 101252388 A CN101252388 A CN 101252388A
Authority
CN
China
Prior art keywords
frame
data
uplink
downlink
uplink 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.)
Granted
Application number
CNA2008100845553A
Other languages
Chinese (zh)
Other versions
CN101252388B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008100845553A priority Critical patent/CN101252388B/en
Publication of CN101252388A publication Critical patent/CN101252388A/en
Application granted granted Critical
Publication of CN101252388B publication Critical patent/CN101252388B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a data transmission method used for the time-sharing share bandwidth transmission system. The method includes that the downlink frame head and the downlink frame data are extracted from the received downlink frame; the frame synchronization time reference of the corresponding uplink frame is obtained according to the downlink frame head; the sending time span of the corresponding uplink data is obtained according to the downlink frame data; the uplink data are transmitted in the time span of the uplink frame according to the frame synchronization time reference and the sending time span of the uplink data. The invention also discloses a device for data transmission. The frame synchronization time reference of the uplink frame can be obtained according to the downlink frame head; the sending time span of the uplink frame can be obtained according to the downlink frame data; the uplink data can be transmitted in the correct time span of the uplink frame according to the frame synchronization time reference of the uplink frame and the sending time span of the uplink frame; thereby, the uplink data and the phase relation of the uplink frame are ensured to be synchronous; the stable transmission of the uplink frame is realized.

Description

Method and device that data send
Technical field
The present invention relates to the communications field, method and device that particularly a kind of data send.
Background technology
Along with development of Communication Technique, in order to save resource, introduced EPON (PON), PON comprises asynchronous transfer mode EPON (APON), broadband passive optical network (BPON), Ethernet passive optical network (EPON) and Gigabit Passive Optical Network (GPON) etc.In GPON, comprise three parts: optical line terminal (OLT), optical branching device (ODU), network unit/optical network terminal (ONU/ONT).ODU between OLT and ONU/ONT is passive optical branching device, belongs to the module of pure light, does not relate to the processing of the signal of telecommunication.OLT is the local side module, and ONU/ONT is the user side module.OLT-〉ONU/ONT is down direction, ONU/ONT-〉OLT is up direction.Downstream signal is continuous broadcast mode, adopts time-division multiplex technology.Upward signal is a burst mode, adopts time-division multiplex technology, needs to adopt ranging technology to guarantee that upstream data does not clash simultaneously.
Referring to Fig. 1, downlink frame data is continuous periodic frame data in the GPON system, and the downlink frame frame head transmission cycle is 125us, and downlink frame data is sent continuously by the terminal OLT device of GPON; The upstream data of ONU/ONT is the form transmission transmission with burst light, in the GPON system, OLT is called transmission container (TCONT) to the up fluorescent lifetime that ONU/ONT distributes, and each burst light that ONU/ONT sends can comprise one or more TCONT.The TCONT that ONU/ONT sends is carried in the uplink frame of GPON system.At down direction, the downlink frame 125us cycle of GPON system is OLT control, and for all ONU/ONT, the 125us cycle frame head of downlink frame is the unified downgoing time scale of GPON system.And at up direction, also there is the up time scale of a unification in the GPON system, and the TCONT of each ONU sends zero-time and the concluding time all is to weigh with the up time scale of the unification of GPON system.Each ONU/ONT decides this ONU to send the time interval of TCONT by the bandwidth map in the downlink frame data (BWMAP), and the time scale in this TCONT interval is exactly the up time scale of GPON system.
For the up TCONT that guarantees each ONU/ONT the light conflict do not occur at the OLT receiver side, except the interval time of the TCONT of OLT appointment in BWMAP can not have overlappingly, it is consistent with unified up time scale in the GPON system that the TCONT interval that each ONU/ONT sends also will keep.Because different ONU/ONT and OLT differ apart from distance, therefore, the uplink frame that each ONU/ONT sends is all inconsistent with the downlink frame phase relation that receives.The uplink frame of each ONU/ONT and the phase difference between the downlink frame are called balance time-delay (EQD) in the G984.3 agreement, OLT can distribute to each ONU/ONT with EQD by protocol message after each ONU/ONT is finished range finding.
The inventor finds: ONU/ONT is after obtaining EQD, it will be the stable key of GPON system uplink frame transmission synchronously that the uplink frame phase place that how to realize the up TCONT data that send and GPON system keeps, and how agreement does not realize stipulating to this key point.In addition, stable in order to realize the uplink frame transmission, except need in the EPON to guarantee upstream data and uplink frame phase relation synchronously, in other timesharing shared bandwidth transmission systems, the upstream data that also needs to guarantee each terminal is synchronous with the uplink frame phase relation.
Summary of the invention
The purpose of the embodiment of the invention is to provide the method and the device of data transmission, and uplink is stable in the realization timesharing shared bandwidth transmission system.
The method that the embodiment of the invention provides a kind of data to send is applied in the timesharing shared bandwidth transmission system, and this method comprises:
From the downlink frame that receives, extract downlink frame frame head and downlink frame data;
Obtain the frame synchronization time reference of corresponding uplink frame according to described downlink frame frame head;
Obtain the transmitting time interval of corresponding upstream data according to described downlink frame data;
Transmitting time interval according to the frame synchronization time reference and the upstream data of described uplink frame sends described upstream data in the time interval of described uplink frame.
The device that the embodiment of the invention also provides a kind of data to send is used for the transmission of timesharing shared bandwidth transmission system upstream data, and this device comprises:
Receiving element is used to receive downlink frame;
Extraction unit is used for extracting downlink frame frame head and downlink frame data from the downlink frame that described receiving element receives;
Reference cell is used for obtaining according to the downlink frame frame head that described extraction unit extracts the frame synchronization time reference of corresponding uplink frame;
Interval unit is used for obtaining according to the downlink frame data that described extraction unit extracts the transmitting time interval of corresponding upstream data;
Transmitting element is used for the frame synchronization time reference of the uplink frame that obtains according to described reference cell and the transmitting time interval of the upstream data that described interval unit obtains, and described upstream data is sent in the time interval of described uplink frame.
The device that the embodiment of the invention also provides a kind of data to send is used for the transmission of EPON upstream data, and this device comprises:
Downlink frame becomes frame unit, and the downlink frame that is used for receiving is extracted downlink frame frame head and downlink frame data;
The downlink frame data processing unit is used for becoming the downlink frame data of frame unit extraction to obtain the transmitting time interval of transmission container TCONT according to described downlink frame;
The TCONT data processing unit is used for the transmitting time interval of the TCONT that obtains according to described downlink frame data processing unit, and uplink business data is fitted on the corresponding TCONT length, obtains the TCONT data;
Uplink frame frame synchronization unit is used for becoming the downlink frame frame head of frame unit extraction to obtain the frame synchronization time reference of corresponding uplink frame according to described downlink frame; Be used for the TCONT data that transmitting time is interval and described TCONT data processing unit obtains of the TCONT that the frame synchronization time reference according to described uplink frame, described downlink frame data processing unit obtain, described TCONT data are sent in the time interval of described uplink frame.
The technical scheme that adopts the embodiment of the invention to provide because the phase difference of uplink frame in the timesharing shared bandwidth transmission system and downlink frame is certain, can obtain the frame synchronization time reference of uplink frame according to the downlink frame frame head; Because the transmitting time interval of uplink frame is carried in the downlink frame after can being distributed by system side, can obtain the transmitting time interval of uplink frame according to downlink frame data; Transmitting time interval according to the frame synchronization time reference and the upstream data of uplink frame can send upstream data in the correct time interval of uplink frame, thus guarantee upstream data and uplink frame phase relation synchronously, the stable transfer of realization uplink frame.
Description of drawings
Figure 1 shows that the phase relation schematic diagram of downlink frame and uplink frame in the prior art GPON system;
Figure 2 shows that the schematic flow sheet of data transmission method for uplink in the embodiment of the invention one;
Figure 3 shows that the structural representation of data sending device in the embodiment of the invention two;
Figure 4 shows that the structural representation of data sending device in the embodiment of the invention three;
Figure 5 shows that the structural representation of uplink frame frame synchronization unit in the embodiment of the invention three;
Figure 6 shows that the sequential schematic diagram of uplink frame frame synchronization counter under EQD fine setting pattern in the embodiment of the invention three;
Figure 7 shows that the processing schematic diagram of windowing of GPON system in the embodiment of the invention three.
Embodiment
Embodiment one, and the method that a kind of data send is applied in the timesharing shared bandwidth transmission system, and the downlink frame of timesharing shared bandwidth transmission system and uplink frame all are periodic, and downlink data is successional data, is carried in the downlink frame; Upstream data is discontinuous bursty data, is carried in the uplink frame; Wherein, be descending from network side to the direction of user side, be downlink frame from network side to the frame that user side sends; Is up from user side to the direction of network side, is uplink frame from user side to the frame that network side sends.Timesharing shared bandwidth transmission system can include but not limited to EPON and other timesharing shared bandwidth transmission systems, and wherein EPON can include but not limited to asynchronous transmission EPON, broadband passive optical network, Ethernet passive optical network and Gigabit Passive Optical Network.
Referring to Fig. 2, this method can comprise:
201, from the downlink frame that receives, extract downlink frame frame head and downlink frame data.
Downlink frame can comprise periodic frame head and downlink frame data, and downlink frame data can further comprise bandwidth indication information and downlink frame payload data again.
202, obtain the frame synchronization time reference of corresponding uplink frame according to the downlink frame frame head.
The frame synchronization time reference that obtains corresponding uplink frame specifically can comprise:
202-1, according to the phase difference between the periodic signal of downlink frame frame head and downlink frame and the corresponding uplink frame, calculate the phase point of corresponding uplink frame frame head.
In timesharing shared bandwidth transmission system, the downlink frame of each user side is certain with phase difference between the corresponding uplink frame, because differing of each user side and network side apart from distance, therefore, the downlink frame of the phase difference between the downlink frame of each user side and the corresponding uplink frame and other user sides is inconsistent with the phase difference between the corresponding uplink frame.After network side is finished range finding to each user side, can be by protocol message with the corresponding user side of phase difference dispensing between the downlink frame of each user side and the corresponding uplink frame.Each user side can be according to the phase difference between the periodic signal of downlink frame frame head and downlink frame and the corresponding uplink frame, calculate the phase point of corresponding uplink frame frame head, concrete, can adopt the counter of the line clock driving of timesharing shared bandwidth transmission system, utilize the phase difference between the periodic signal of downlink frame frame head and downlink frame and the corresponding uplink frame, calculate the phase point of corresponding uplink frame frame head.
202-2, according to phase point cycle count in the cycle of uplink frame of corresponding uplink frame frame head, obtain the frame synchronization time reference of corresponding uplink frame.
Because the phase difference of uplink frame frame head and downlink frame frame head is certain, obtain the phase point of corresponding uplink frame frame head according to the phase point of downlink frame frame head and uplink frame frame head and the phase difference of downlink frame frame head, begin counting from the phase point of corresponding first uplink frame frame head, increase progressively the cycle that counting reaches a uplink frame along with increasing progressively of time, then obtain the phase point of corresponding second uplink frame frame head; Restart counting from the phase point of corresponding second uplink frame frame head, counting reaches the cycle of a uplink frame, then obtain the phase point of corresponding second uplink frame frame head, by that analogy, by phase point cycle count in the cycle of uplink frame to corresponding uplink frame frame head, can obtain the phase point of corresponding each uplink frame frame head, promptly obtain the frame synchronization time reference of corresponding uplink frame.In addition, begin counting if not phase point from corresponding first uplink frame frame head, then can also be along with increasing progressively of time countdown, obtain the frame synchronization time reference of corresponding uplink frame, for example, begin counting from the phase point of corresponding the 3rd uplink frame frame head, thereby then can be along with increasing progressively of time countdown obtain the phase point of corresponding second uplink frame frame head, and increase progressively the method for counting in conjunction with increasing progressively along with the time, obtain the phase point of corresponding each uplink frame frame head, promptly obtain the frame synchronization time reference of corresponding uplink frame.
Further, can also comprise adjustment process to the frame synchronization time reference.For timesharing shared bandwidth transmission system, after long-term the use, because the loss of circuit, downlink frame can change with phase difference between the corresponding uplink frame, therefore, network side can irregular transmission downlink frame with corresponding uplink frame between the adjustment of phase difference instruct to user side.Owing to need phase difference between change downlink frame and the corresponding uplink frame, if according to phase difference between downlink frame and the corresponding uplink frame after the change, recomputate the phase point of corresponding uplink frame frame head, phase point cycle count in the cycle of uplink frame of the corresponding uplink frame frame head after basis recomputates again, obtain the frame synchronization time reference of new corresponding uplink frame, the transmission of upstream data will be had influence on, the instability that causes data to send; Therefore, in the present embodiment, directly adjust the value of the interior cycle count of cycle of uplink frame, avoid the normal transmission of upstream data is impacted.Concrete, can comprise:
The adjustment that receives phase difference between downlink frame and the corresponding uplink frame is instructed;
According to the value of adjusting cycle count in the cycle that instruction is adjusted at uplink frame, obtain the frame synchronization time reference of adjusted uplink frame.For example, receive that phase difference adds one indication, the value of cycle count directly adds two, is equivalent to the frame synchronization time reference has been shifted to an earlier date a byte, has reached the purpose that phase difference is adjusted.
203, obtain the transmitting time interval of corresponding upstream data according to downlink frame data.
Concrete can comprise:
203-1, from downlink frame data, extract the bandwidth indication information;
203-2, from the bandwidth indication information, obtain the transmitting time interval of corresponding upstream data.
Downlink frame data comprises the bandwidth indication information, promptly distributes to the relevant information of the employed bandwidth of upstream data.Concrete, the bandwidth indication information can comprise bandwidth map, can comprise the sign of user side in bandwidth map, and corresponding bandwidth range.
Generally speaking, network side can carry assignment information to upstream data transmitting time interval, i.e. bandwidth by downlink frame; But, when timesharing shared bandwidth transmission system activates registration to the end that Adds User, need window to the user side of other operate as normal in the system, what is called is windowed, promptly stop user side being carried out the distribution in upstream data transmitting time interval, at this moment, do not carry the transmitting time interval of the upstream data of distribution in the bandwidth indication information, according to the upstream data processing mode under the state of windowing in the prior art be: the upstream data after will windowing advances in the window uplink frame and sends, can have influence on the Phase synchronization relation of uplink frame and upstream data like this, therefore, present embodiment proposes to stop to send the mechanism of upstream data during windowing, upstream data after assurance is windowed can normally send, making the Phase synchronization relation of uplink frame and upstream data do not windowed influences, concrete, the transmitting time interval that obtains corresponding upstream data from the bandwidth indication information comprises:
When the transmitting time of the upstream data that carries distribution in the bandwidth indication information is interval, with transmitting time interval, the transmitting time interval of the upstream data that distributes as corresponding upstream data;
When the transmitting time of the upstream data that does not carry distribution in the bandwidth indication information is interval, equal zero in the transmitting time interval of corresponding upstream data.
204, according to the transmitting time interval of the frame synchronization time reference and the upstream data of uplink frame, upstream data is sent in the time interval of uplink frame.
Concrete can comprise:
204-1, according to the transmitting time interval of the frame synchronization time reference and the upstream data of uplink frame, produce the starting and ending control signal that data send.
Determine the frame synchronization time reference of uplink frame, promptly uplink frame and downlink frame have kept the bit synchronous relation of immobile phase, according to the transmitting time interval of upstream data, then can produce the starting and ending control signal that data send.
204-2, uplink business data is fitted to the transmitting time length of an interval degree of uplink frame, obtains upstream data.
204-3, according to the starting and ending control signal that data send, upstream data is sent in the time interval of uplink frame.
Wherein, 202 and 203 do not have sequencing, can carry out 202 earlier, can carry out 203 earlier yet, can also 202 and 203 execution simultaneously.
Adopt the technical scheme of present embodiment,, can obtain the frame synchronization time reference of uplink frame according to the downlink frame frame head because the phase difference of uplink frame in the timesharing shared bandwidth transmission system and downlink frame is certain; Because the transmitting time interval of uplink frame is carried in the downlink frame after can being distributed by system side, can obtain the transmitting time interval of uplink frame according to downlink frame data; Transmitting time interval according to the frame synchronization time reference and the upstream data of uplink frame can send upstream data in the correct time interval of uplink frame, thus guarantee upstream data and uplink frame phase relation synchronously, the stable transfer of realization uplink frame.
Further, in the present embodiment at after the long-term use, the problem that phase difference between the downlink frame that line loss etc. are brought and the corresponding uplink frame changes, value by cycle count in the cycle of direct adjustment uplink frame, realization is to the adjustment of frame synchronization time reference, guarantee the normal transmission of upstream data, realize the stable transfer of uplink frame.
Further, present embodiment stops to send upstream data during windowing, and the upstream data after guaranteeing to window can normally send, and making the Phase synchronization relation of uplink frame and upstream data do not windowed influences, and realizes the stable transfer of uplink frame.
Embodiment two, it is the concrete application apparatus of data transmission method for uplink among the embodiment one, be used for the transmission of timesharing shared bandwidth transmission system upstream data, the device that these data send can independently be provided with, also can be integrated in the ustomer premises access equipment of timesharing shared bandwidth transmission system, the form with software product that can be part or all of embodies, this software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., this software product can be used integrated circuit (IC) exploitation, also can use field programmable gate array (FPGA) exploitation, can also use CPLD (CPLD) exploitation, can also develop with other logic modules.
Referring to Fig. 3, this device comprises:
Receiving element 301 is used to receive downlink frame;
Extraction unit 302 is used for extracting downlink frame frame head and downlink frame data from the downlink frame that receiving element receives;
Reference cell 303 is used for obtaining according to the downlink frame frame head that extraction unit extracts the frame synchronization time reference of corresponding uplink frame;
Interval unit 304 is used for obtaining according to the downlink frame data that extraction unit extracts the transmitting time interval of corresponding upstream data;
Transmitting element 305 is used for the frame synchronization time reference of the uplink frame that obtains according to reference cell and the transmitting time interval of the upstream data that interval unit obtains, and upstream data is sent in the time interval of uplink frame.
Further, reference cell can comprise:
Receive subelement, be used to receive the phase difference between downlink frame and the corresponding uplink frame;
The phason unit is used for the periodic signal of the downlink frame frame head that extracts according to extraction unit and receives phase difference between downlink frame that subelement receives and the corresponding uplink frame, calculates the phase point of corresponding uplink frame frame head;
Count sub-element is used for phase point cycle count in the cycle of uplink frame of the corresponding uplink frame frame head that calculates according to the phason unit, obtains the frame synchronization time reference of corresponding uplink frame.
Further, reference cell can also comprise:
Adjust the instruction subelement, the adjustment that is used to receive phase difference between downlink frame and the corresponding uplink frame is instructed;
Adjust subelement, be used for adjusting the value of count sub-element cycle count in the cycle of uplink frame, obtain the frame synchronization time reference of adjusted uplink frame according to the adjustment instruction of adjusting the reception of instruction subelement.
Further, interval unit can comprise:
The indication subelement is used for extracting the bandwidth indication information from the downlink frame data that extraction unit extracts;
Interval subelement is used for obtaining from the bandwidth indication information that the indication subelement obtains the transmitting time interval of corresponding upstream data.
Further, interval subelement can comprise:
First subelement is used for when the transmitting time of the upstream data that carries distribution from the bandwidth indication information of indicating subelement to obtain is interval, and the transmitting time interval of the upstream data that output distributes is as the transmitting time interval of corresponding upstream data;
Second subelement is used for when the transmitting time of the upstream data that does not carry distribution from the bandwidth indication information of indicating subelement to obtain is interval the transmitting time interval of exporting null corresponding upstream data.
Further, transmitting element can comprise:
Control sub unit is used for the frame synchronization time reference of the uplink frame that obtains according to reference cell and the transmitting time interval of the upstream data that interval unit obtains, and produces the starting and ending control signal that data send;
Adaptive subelement is used for uplink business data is fitted to the transmitting time length of an interval degree of the uplink frame that interval subelement obtains, and obtains upstream data;
Send subelement, the starting and ending control signal that the data that are used for obtaining according to control sub unit send sends in the time interval of the uplink frame that the upstream data that adaptive subelement is obtained obtains in interval unit.
Adopt the technical scheme of present embodiment, in timesharing shared bandwidth transmission system, because the phase difference of uplink frame and downlink frame is certain, reference cell can obtain the frame synchronization time reference of uplink frame according to the downlink frame frame head; Because the transmitting time interval of uplink frame is carried in the downlink frame after can being distributed by system side, interval unit can obtain the transmitting time interval of uplink frame according to downlink frame data; Transmitting element is according to the transmitting time interval of the frame synchronization time reference and the upstream data of uplink frame, upstream data can be sent in the correct time interval of uplink frame, thereby guarantee the synchronous of upstream data and uplink frame phase relation, realize the stable transfer of uplink frame.
Further, in the present embodiment at after the long-term use, the problem that phase difference between the downlink frame that line loss etc. are brought and the corresponding uplink frame changes, adjust the value of subelement by cycle count in the cycle of directly adjusting uplink frame, realization is to the adjustment of frame synchronization time reference, guarantee the normal transmission of upstream data, realize the stable transfer of uplink frame.
Further, present embodiment stops to send upstream data by second subelement during windowing, upstream data after assurance is windowed can normally send, and making the Phase synchronization relation of uplink frame and upstream data do not windowed influences, and realizes the stable transfer of uplink frame.
Embodiment three, describe with the method for embodiment one data transmission and a kind of application of device in Gigabit Passive Optical Network (GPON) of embodiment two data transmission, other application in GPON, concrete application in other EPONs, and the application in other timesharing shared bandwidth transmission systems is identical with the principle of present embodiment.
In GPON, comprise three parts: optical line terminal (OLT), optical branching device (ODU), network unit/optical network terminal (ONU/ONT).ODU between OLT and ONU/ONT is passive optical branching device, belongs to the module of pure light, does not relate to the processing of the signal of telecommunication.OLT is the local side module, and ONU/ONT is the user side module.OLT-〉ONU/ONT is down direction, ONU/ONT-〉OLT is up direction.Downstream signal is continuous broadcast mode, adopts time-division multiplex technology.Upward signal is a burst mode, adopts time-division multiplex technology.Present embodiment only is that ONU is that example describes with the user side, and user side is ONT, and the user side application that comprises ONU and ONT and user side are that the application principle of ONU is identical.
Referring to Fig. 1, downlink frame data is continuous periodic frame data in the GPON system, and the downlink frame frame head transmission cycle is 125us, and downlink frame data is sent continuously by the terminal OLT device of GPON; The upstream data of ONU is the form transmission transmission with burst light, and each burst light that ONU sends is called transmission container (TCONT) in the GPON system.The TCONT that ONU sends is carried in the uplink frame of GPON system.At down direction, the downlink frame 125us cycle of GPON system is OLT control, and for all ONU, the 125us cycle frame head of downlink frame is the unified downgoing time scale of GPON system.And at up direction, also there is the up time scale of a unification in the GPON system, and the TCONT of each ONU sends zero-time and the concluding time all is to weigh with the up time scale of the unification of GPON system.Each ONU decides this ONU to send the time interval of TCONT by the bandwidth map in the downlink frame data (BWMAP), and the time scale in this TCONT interval is exactly the up time scale of GPON system.
For the up TCONT that guarantees each ONU/ONT the light conflict do not occur at the OLT receiver side, except the interval time of the TCONT of OLT appointment in BWMAP can not have overlappingly, it is consistent with unified up time scale in the GPON system that the TCONT interval that each ONU/ONT sends also will keep.Because different ONU/ONT and OLT differ apart from distance, therefore, the uplink frame that each ONU/ONT sends is all inconsistent with the downlink frame phase relation that receives.The uplink frame of each ONU/ONT and the phase difference between the downlink frame are called balance time-delay (EQD) in the G984.3 agreement, OLT can distribute to each ONU/ONT with EQD by protocol message after each ONU/ONT is finished range finding.
In the present embodiment, referring to Fig. 4, become frame unit 401 to realize the function of receiving element and extraction unit among the embodiment two by downlink frame; By the function of interval unit among the downlink frame data processing unit 402 realization embodiment two, by the function of reference cell and transmitting element among TCONT data processing unit 403 and the uplink frame frame synchronization unit 404 realization embodiment two.
Realize that the flow process that data send comprises:
After ONU receives the downlink frame serial data of OLT transmission, become frame unit to finish the identification of downlink frame by downlink frame earlier, and export the downlink frame data after each downlink frame frame head and the framing.
Downlink frame data after the framing is by the processing of downlink frame data processing unit, the TCONT transmitting time interval that belongs to this ONU among the BWMAP in the downlink frame is extracted, and up TCONT data processing unit is sent in the TCONT transmitting time interval that extracts.
The TCONT data processing unit, the downlink frame frame head is directly delivered to the frame synchronization time reference that uplink frame frame synchronization unit is used for producing the corresponding uplink frame of ONU, and uplink frame frame synchronization unit can be controlled the transmitting time of TCONT data according to the transmitting time interval of corresponding TCONT.
Wherein, the TCONT transmitting time interval that extracts from downlink frame BWMAP is to be used for uplink business data is fitted on the TCONT length, simultaneously, by uplink frame frame synchronization unit the TCONT data is sent in the correct time interval of uplink frame.
Referring to Fig. 5, introduce uplink frame frame synchronization unit below:
Uplink frame frame synchronization unit comprises EQD delay counter 501 and uplink frame frame synchronization counter 502, and wherein EQD delay counter and uplink frame frame synchronization counter adopt the clock-driven counter of GPON system line.Have a fixing phase difference between the uplink frame of ONU correspondence and the downlink frame of reception, for each ONU, because different apart from the distance of OLT, this phase difference also has nothing in common with each other, and this phase difference is embodied in the EQD value that OLT distributes.
The workflow of uplink frame frame synchronization unit is as follows:
The EQD delay counter is used to utilize the periodic signal of downlink frame frame head and the EQD value that OLT distributes, and calculates the phase point of corresponding uplink frame frame head.
Uplink frame frame synchronization counter is used for the uplink frame phase point according to EQD delay counter output, cycle count between 0 to 19439 (Cycle Length of uplink frame), thus obtained the uplink frame transmitting time benchmark of this ONU; Wherein, 19440 is the Cycle Length of uplink frame in the GPON system, and in different timesharing shared bandwidth transmission systems, the Cycle Length value of uplink frame can be different; And be only required in the inside counting of uplink frame cycle herein and get final product, need not to require necessarily to count from zero, also can begin counting from other values.In case uplink frame frame synchronization counter begins cycle count, that is: after uplink frame has kept the bit synchronous relation of immobile phase with downlink frame, according to the TCONT transmitting time interval of sending here, uplink frame frame synchronization counter can produce the starting and ending control signal that TCONT sends, thereby up TCONT data send in just can be between correct sending area.
After the long-term use of optical fiber in the GPON system, the optical transmission time-delay can change, and therefore, OLT can irregularly send the instruction of EQD fine setting to ONU.So-called EQD fine setting changes the uplink frame of ONU and the phase difference between the downlink frame exactly, and the amplitude of fine setting is no more than two bytes usually.Introduce below how uplink frame sends the realization GPON EQD of system fine setting under the impregnable situation in the present embodiment:
Because need the value of change EQD, if overline operation EQD delay counter is counted again to uplink frame frame synchronization counter, the transmission of the TCONT data of uplink frame will inevitably be influenced so, present embodiment is directly revised the count value of uplink frame frame synchronization counter, thereby avoids the normal data transmission of uplink frame is impacted.
The amplitude of EQD fine setting instruction is no more than two bytes, and therefore, the adjusting range of each uplink frame counter all remains on a byte.Referring to Fig. 6, EQD delay counter and uplink frame frame synchronization counter are all driven by the GPON line clock, after uplink frame frame synchronization counter receives that the EQD fine setting adds a directive command, uplink frame frame synchronization counter directly adds two, be equivalent to uplink frame transmitting time benchmark has been shifted to an earlier date a byte, reached the purpose of EQD fine setting; Otherwise when receiving that the EQD fine setting subtracts one indication, uplink frame frame synchronization counter stops to count one-period, is equivalent to uplink frame transmitting time benchmark has been delayed a byte.
When the GPON system activates registration to newly-increased ONU, need the ONU of other operate as normal be windowed.What is called is windowed, and stops ONU being carried out the distribution in TCONT transmitting time interval exactly in the BWMAP territory of downlink frame.During windowing, prior art is the TCONT data after windowing to be advanceed in the window uplink frame send, can influence like this uplink frame and upstream data phase relation synchronously, thereby influence the stability of upstream data transmission.In the present embodiment, not windowed for the uplink frame synchronization mechanism that makes ONU influences, and has introduced the notion of virtual transmission container (IDLE TCONT), so-called IDLETCONT, be exactly to equal zero in TCONT transmitting time interval, promptly during windowing, stop to send the TCONT data in the uplink frame.
Referring to Fig. 7, stop distribution T CONT transmitting time interval in continuous two downlink frame of OLT to this ONU, when the downlink frame data processing unit extracts the TCONT transmitting time interval that belongs to this ONU from downlink frame BWMAP, if judge that current BWMAP belongs between window region, then clog IDLE TCONT as giving uplink frame frame synchronization unit between the sending area, promptly between window region, stop to send upstream data in the uplink frame, the downlink frame data processing unit inserts two IDLE TCONT in the position of correspondence, guarantees that uplink frame frame synchronization unit can keep the synchronous of uplink frame and upstream data.
Adopt the technical scheme of present embodiment, in timesharing shared bandwidth transmission system, because the phase difference of uplink frame and downlink frame is certain, TCONT data processing unit and uplink frame frame synchronization unit can obtain the frame synchronization time reference of uplink frame according to the downlink frame frame head; Because the transmitting time interval of uplink frame is carried in the downlink frame after can being distributed by system side, the downlink frame data processing unit can obtain the transmitting time interval of uplink frame according to downlink frame data; Uplink frame frame synchronization unit is according to the transmitting time interval of the frame synchronization time reference and the upstream data of uplink frame, upstream data can be sent in the correct time interval of uplink frame, thereby guarantee the synchronous of upstream data and uplink frame phase relation, realize the stable transfer of uplink frame.
Further, in the present embodiment at after the long-term use, the problem that phase difference between the downlink frame that line loss etc. are brought and the corresponding uplink frame changes, the value of cycle count in the cycle of the uplink frame by direct adjustment uplink frame frame synchronization counter, realization is to the adjustment of frame synchronization time reference, guarantee the normal transmission of upstream data, realize the stable transfer of uplink frame.
Further, present embodiment stops to send upstream data by the downlink frame data processing unit during windowing, upstream data after assurance is windowed can normally send, and making the Phase synchronization relation of uplink frame and upstream data do not windowed influences, and realizes the stable transfer of uplink frame.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement by hardware.Based on such understanding, all or part of can the embodying that technical scheme of the present invention contributes to background technology with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (16)

1, a kind of method of data transmission is applied to it is characterized in that this method comprises in the timesharing shared bandwidth transmission system:
From the downlink frame that receives, extract downlink frame frame head and downlink frame data;
Obtain the frame synchronization time reference of corresponding uplink frame according to described downlink frame frame head;
Obtain the transmitting time interval of corresponding upstream data according to described downlink frame data;
Transmitting time interval according to the frame synchronization time reference and the upstream data of described uplink frame sends described upstream data in the time interval of described uplink frame.
2, method according to claim 1 is characterized in that, the described frame synchronization time reference that obtains corresponding uplink frame according to described downlink frame frame head comprises:
According to the phase difference between the periodic signal of described downlink frame frame head and downlink frame and the corresponding uplink frame, calculate the phase point of corresponding uplink frame frame head;
According to phase point cycle count in the cycle of uplink frame of described corresponding uplink frame frame head, obtain the frame synchronization time reference of corresponding uplink frame.
3, method according to claim 2 is characterized in that, this method also comprises:
The adjustment that receives phase difference between downlink frame and the corresponding uplink frame is instructed;
Be adjusted at the value of cycle count in cycle of uplink frame according to described adjustment instruction, obtain the frame synchronization time reference of adjusted uplink frame.
4, method according to claim 1 is characterized in that, the described transmitting time interval that obtains corresponding upstream data according to described downlink frame data comprises:
From described downlink frame data, extract the bandwidth indication information;
From described bandwidth indication information, obtain the transmitting time interval of corresponding upstream data.
5, method according to claim 4 is characterized in that, the described transmitting time interval that obtains corresponding upstream data from described bandwidth indication information comprises:
When the transmitting time of the upstream data that carries distribution in the described bandwidth indication information is interval, with transmitting time interval, the transmitting time interval of the upstream data of described distribution as corresponding upstream data;
When the transmitting time of the upstream data that does not carry distribution in the described bandwidth indication information is interval, equal zero in the transmitting time interval of described corresponding upstream data.
6, method according to claim 1 is characterized in that, the transmitting time interval of described frame synchronization time reference and upstream data according to described uplink frame sends described upstream data and to comprise in the time interval of described uplink frame:
According to the transmitting time interval of the frame synchronization time reference and the upstream data of described uplink frame, produce the starting and ending control signal that data send;
Uplink business data is fitted to the transmitting time length of an interval degree of uplink frame, obtains upstream data;
Starting and ending control signal according to described data send sends described upstream data in the time interval of described uplink frame.
7, a kind of device of data transmission is used for the transmission of timesharing shared bandwidth transmission system upstream data, it is characterized in that this device comprises:
Receiving element is used to receive downlink frame;
Extraction unit is used for extracting downlink frame frame head and downlink frame data from the downlink frame that described receiving element receives;
Reference cell is used for obtaining according to the downlink frame frame head that described extraction unit extracts the frame synchronization time reference of corresponding uplink frame;
Interval unit is used for obtaining according to the downlink frame data that described extraction unit extracts the transmitting time interval of corresponding upstream data;
Transmitting element is used for the frame synchronization time reference of the uplink frame that obtains according to described reference cell and the transmitting time interval of the upstream data that described interval unit obtains, and described upstream data is sent in the time interval of described uplink frame.
8, device according to claim 7 is characterized in that, described reference cell comprises:
Receive subelement, be used to receive the phase difference between downlink frame and the corresponding uplink frame;
The phason unit is used for the phase difference between the periodic signal of the downlink frame frame head that extracts according to described extraction unit and downlink frame that described reception subelement receives and the corresponding uplink frame, calculates the phase point of corresponding uplink frame frame head;
Count sub-element is used for phase point cycle count in the cycle of uplink frame of the corresponding uplink frame frame head that calculates according to described phason unit, obtains the frame synchronization time reference of corresponding uplink frame.
9, device according to claim 8 is characterized in that, described reference cell also comprises:
Adjust the instruction subelement, the adjustment that is used to receive phase difference between downlink frame and the corresponding uplink frame is instructed;
Adjust subelement, be used for adjusting the value of described count sub-element cycle count in the cycle of uplink frame, obtain the frame synchronization time reference of adjusted uplink frame according to the adjustment instruction that described adjustment instruction subelement receives.
10, device according to claim 7 is characterized in that, described interval unit comprises:
The indication subelement is used for extracting the bandwidth indication information from the downlink frame data that described extraction unit extracts;
Interval subelement is used for obtaining from the bandwidth indication information that described indication subelement obtains the transmitting time interval of corresponding upstream data.
11, device according to claim 10 is characterized in that, described interval subelement comprises:
First subelement is used for carrying the transmitting time of upstream data of distribution when interval when the bandwidth indication information that obtains from described indication subelement, and the transmitting time interval of upstream data of exporting described distribution is as the transmitting time interval of corresponding upstream data;
Second subelement is used for not carrying the transmitting time of upstream data of distribution when interval, the transmitting time interval of exporting null described corresponding upstream data when the bandwidth indication information that obtains from described indication subelement.
12, device according to claim 7 is characterized in that, described transmitting element comprises:
Control sub unit is used for the frame synchronization time reference of the uplink frame that obtains according to described reference cell and the transmitting time interval of the upstream data that described interval unit obtains, and produces the starting and ending control signal that data send;
Adaptive subelement is used for uplink business data is fitted to the transmitting time length of an interval degree of the uplink frame that described interval subelement obtains, and obtains upstream data;
Send subelement, the starting and ending control signal that the data that are used for obtaining according to described control sub unit send sends in the time interval of the uplink frame that the upstream data that described adaptive subelement is obtained obtains in described interval unit.
13, a kind of device of data transmission is used for the transmission of EPON upstream data, it is characterized in that this device comprises:
Downlink frame becomes frame unit, and the downlink frame that is used for receiving is extracted downlink frame frame head and downlink frame data;
The downlink frame data processing unit is used for becoming the downlink frame data of frame unit extraction to obtain the transmitting time interval of transmission container TCONT according to described downlink frame;
The TCONT data processing unit is used for the transmitting time interval of the TCONT that obtains according to described downlink frame data processing unit, and uplink business data is fitted on the corresponding TCONT length, obtains the TCONT data;
Uplink frame frame synchronization unit is used for becoming the downlink frame frame head of frame unit extraction to obtain the frame synchronization time reference of corresponding uplink frame according to described downlink frame; Be used for the TCONT data that transmitting time is interval and described TCONT data processing unit obtains of the TCONT that the frame synchronization time reference according to described uplink frame, described downlink frame data processing unit obtain, described TCONT data are sent in the time interval of described uplink frame.
14, device according to claim 13 is characterized in that, described uplink frame frame synchronization unit comprises:
Balance time-delay EQD delay counter is used for becoming with described downlink frame according to the EQD value that receives the periodic signal of the downlink frame frame head of frame unit extraction, calculates the phase point of the uplink frame frame head of correspondence;
Uplink frame frame synchronization counter is used for the phase point of the uplink frame frame head that obtains according to described EQD delay counter, and cycle count in the cycle of uplink frame obtains the frame synchronization time reference of corresponding uplink frame; The transmitting time interval of the TCONT that obtains according to the frame synchronization time reference and the described downlink frame data processing unit of described uplink frame produces the starting and ending control information that TCONT data that described TCONT data processing unit obtains send.
15, device according to claim 14 is characterized in that, described uplink frame frame synchronization counter also is used to receive EQD fine setting instruction, adjusts the frame synchronization time reference of described uplink frame.
16, device according to claim 13, it is characterized in that, described downlink frame data processing unit also is used for when the downlink frame data that does not become frame unit to extract from described downlink frame obtains the transmitting time interval of transmission container TCONT the transmitting time interval of exporting null TCONT.
CN2008100845553A 2008-03-25 2008-03-25 Apparatus and method for sending data Expired - Fee Related CN101252388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100845553A CN101252388B (en) 2008-03-25 2008-03-25 Apparatus and method for sending data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100845553A CN101252388B (en) 2008-03-25 2008-03-25 Apparatus and method for sending data

Publications (2)

Publication Number Publication Date
CN101252388A true CN101252388A (en) 2008-08-27
CN101252388B CN101252388B (en) 2011-11-02

Family

ID=39955590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100845553A Expired - Fee Related CN101252388B (en) 2008-03-25 2008-03-25 Apparatus and method for sending data

Country Status (1)

Country Link
CN (1) CN101252388B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729089A (en) * 2008-10-23 2010-06-09 弥亚微电子(上海)有限公司 Transmitter and receiver of communication system and synchronization method thereof
CN101873165A (en) * 2010-03-05 2010-10-27 北京创毅视讯科技有限公司 Downlink transmission method and device for cyber-physical system and base station in cyber-physical system
CN101753415B (en) * 2008-12-08 2012-01-04 华为技术有限公司 Method and device for updating bandwidth map
CN102318362A (en) * 2011-06-03 2012-01-11 华为技术有限公司 Devices and methods for sending data in passive optical network
CN102378070A (en) * 2010-08-13 2012-03-14 新峤网络设备(上海)有限公司 Method for establishing communication between gigabit-capable passive optical network (GPON) optical line terminal (OLT) and GPON optical network unit (ONU)
WO2018094606A1 (en) * 2016-11-23 2018-05-31 华为技术有限公司 Passive optical network system, optical line terminal and optical network unit
CN108235413A (en) * 2016-12-22 2018-06-29 Macom连接解决有限公司 The power optimization mechanism of framer handled by the frame alignment for serializing multiple channels
CN108234074A (en) * 2016-12-22 2018-06-29 Macom连接解决有限公司 Pass through the power optimization mechanism of framer that frame alignment is selectively forbidden to handle
WO2020051753A1 (en) * 2018-09-10 2020-03-19 华为技术有限公司 Data transmission method, related apparatus and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100421151B1 (en) * 2002-01-17 2004-03-04 삼성전자주식회사 Method for implementation procedure in giga bit ethernet passive optical network and ethernet frame structure thereof
KR100606027B1 (en) * 2002-03-11 2006-07-26 삼성전자주식회사 Method for compensating round trip delay in transmission of ethernet frames over a passive optical network and passive optical network system therefor

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729089A (en) * 2008-10-23 2010-06-09 弥亚微电子(上海)有限公司 Transmitter and receiver of communication system and synchronization method thereof
CN101753415B (en) * 2008-12-08 2012-01-04 华为技术有限公司 Method and device for updating bandwidth map
CN101873165A (en) * 2010-03-05 2010-10-27 北京创毅视讯科技有限公司 Downlink transmission method and device for cyber-physical system and base station in cyber-physical system
CN102378070A (en) * 2010-08-13 2012-03-14 新峤网络设备(上海)有限公司 Method for establishing communication between gigabit-capable passive optical network (GPON) optical line terminal (OLT) and GPON optical network unit (ONU)
CN102378070B (en) * 2010-08-13 2014-07-30 上海剑桥科技股份有限公司 Method for establishing communication between gigabit-capable passive optical network (GPON) optical line terminal (OLT) and GPON optical network unit (ONU)
CN102318362A (en) * 2011-06-03 2012-01-11 华为技术有限公司 Devices and methods for sending data in passive optical network
WO2011157167A3 (en) * 2011-06-03 2012-05-03 华为技术有限公司 Method and device for transmitting data in passive optical network
US9054850B2 (en) 2011-06-03 2015-06-09 Huawei Technologies Co., Ltd. Method and device for sending data in passive optical network
WO2018094606A1 (en) * 2016-11-23 2018-05-31 华为技术有限公司 Passive optical network system, optical line terminal and optical network unit
RU2722434C1 (en) * 2016-11-23 2020-05-29 Хуавэй Текнолоджиз Ко., Лтд. Passive optical network system, optical line terminal and optical network unit
US10756841B2 (en) 2016-11-23 2020-08-25 Huawei Technologies Co., Ltd. System for registering an ONU to an OLT in a passive optical network system using a dedicated wavelength
US11374674B2 (en) 2016-11-23 2022-06-28 Huawei Technologies Co., Ltd. Passive optical network system, optical line terminal, and optical network unit
CN108235413A (en) * 2016-12-22 2018-06-29 Macom连接解决有限公司 The power optimization mechanism of framer handled by the frame alignment for serializing multiple channels
CN108234074A (en) * 2016-12-22 2018-06-29 Macom连接解决有限公司 Pass through the power optimization mechanism of framer that frame alignment is selectively forbidden to handle
WO2020051753A1 (en) * 2018-09-10 2020-03-19 华为技术有限公司 Data transmission method, related apparatus and system
US11509395B2 (en) 2018-09-10 2022-11-22 Huawei Technologies Co., Ltd. Data transmission method, related apparatus, and system
US11909446B2 (en) 2018-09-10 2024-02-20 Huawei Technologies Co., Ltd. Data transmission method, related apparatus, and system

Also Published As

Publication number Publication date
CN101252388B (en) 2011-11-02

Similar Documents

Publication Publication Date Title
CN101252388B (en) Apparatus and method for sending data
CN101394229B (en) Passive optical network system and ranging method
US8208815B1 (en) Bit accurate upstream burst transmission phase method for reducing burst data arrival variation
US8953940B2 (en) Method, apparatus, and system for time synchronization on passive optical network
CN101466052B (en) Network system and optical line terminal
CN101662702B (en) Time delay control method in passive optical network, optical line terminal and passive optical network
US8184987B2 (en) Method, system and device for realizing data transmission extension in passive optical network
CN1953353B (en) A distribution method of dynamic bandwidth based on multiple-grade service in the gigabit passive optical network
US7894485B2 (en) Method and device of transmitting SDH services in passive optical network
CN102075238B (en) Passive optical network and protection switching method thereof
CN101827289B (en) Method for acquiring wavelength values by remote equipment in wavelength division multiplex-Ethernet passive optical network (WDM-EPON) passive optical network system
CN100571081C (en) A kind of EPON cascade system and optical line terminal thereof
CN101582734B (en) Access control method in wavelength division multiplexing passive optical network and device thereof
CN105075177A (en) Downstream burst transmission in passive optical networks
CN101945468A (en) Method, system and device for clock synchronization
CN101674498A (en) Method, equipment and system for transmitting constant-rate data stream
CN101350670B (en) Apparatus and method for amplifying optical signal of passive optical network as well as optical line terminal
US11855756B2 (en) Status control method, data sending method, and terminal
CN101945305A (en) Method and system for realizing time synchronization
JP2007295151A (en) Pon system and station side apparatus and terminal used for the same
CN101729934A (en) Method and system for allotting uplink bandwidth
CN102264011B (en) Method and device for determining time delay and performing clock synchronization based on GPON (gigabit-capable passive optical network)
EP2723015A1 (en) Method and device for communicating granularity of parameters
CN101577843B (en) Method, device and system for processing multiframe
CN114567827A (en) Method for determining transmission time delay of passive optical 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

Granted publication date: 20111102

Termination date: 20170325

CF01 Termination of patent right due to non-payment of annual fee