WO2009155830A1 - Exchanging method, equipment and system for the optical access system - Google Patents

Exchanging method, equipment and system for the optical access system Download PDF

Info

Publication number
WO2009155830A1
WO2009155830A1 PCT/CN2009/072291 CN2009072291W WO2009155830A1 WO 2009155830 A1 WO2009155830 A1 WO 2009155830A1 CN 2009072291 W CN2009072291 W CN 2009072291W WO 2009155830 A1 WO2009155830 A1 WO 2009155830A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
inter
frame header
turn
downlink
Prior art date
Application number
PCT/CN2009/072291
Other languages
French (fr)
Chinese (zh)
Inventor
钟文彪
高海
董英华
周恩松
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2009155830A1 publication Critical patent/WO2009155830A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an optical access system switching method, device, and system
  • the Network, PON system is a system that provides users with optical access solutions.
  • the PON system includes optical line terminals (Central Line, CO) (Optical Line)
  • ODN ODN Connect to the customer premises network (Customer Premise Netwrok,
  • CPN user premises equipment
  • optical network units Optical Network
  • optical network terminal Optical Network
  • ONT Termination, ONT
  • passive means that the ODN mainly includes passive components such as optical splitters/splitters, which do not require or require only a small amount of expensive active electronic equipment.
  • the main signal processing functions are performed at the central office equipment OLT and the customer premises equipment ONU/ONT. From the content of the bearer, the typical PON system now includes APON/BPON (ATM Based
  • wavelength-multiplexed passive optical networks TDM-PON wavelength division multiplexing passive optical network (Wave Division Multiple PON, WDM)
  • line level The protection involves the protection of the active and standby optical fibers to ensure that one of the optical fibers fails and does not affect the service.
  • the device-level protection involves the protection of the active and standby processing modules to ensure that one of the processing modules fails and does not affect the service.
  • the existing adjustment methods are: opening up a ranging window, performing ranging for each user separately, and calculating the delay based on the ranging result, thereby performing adjustment using the calculated delay.
  • the PON port backup network diagram shown in Figure 1 The OLT system's central office OLT includes two PON modules PON LT1 and PON
  • the LT2 is connected to the optical fibers F1 and F2 of the ODN through port 1 and port 2 (or channel 1 and channel 2) respectively.
  • the PON LT1 is the main PON module
  • the port 1 is the working path interface
  • the PON LT2 is the standby.
  • the PON module which is the interface of the standby path, describes the active/standby switchover process of the prior art. As shown in Figure 2, the following steps are included:
  • Step s201 When the active and standby interfaces need to be switched, stop sending data from port 1 (the interface of the working path), and the ONUs go offline;
  • Step s202 Register and measure each ONU through port 2 (the interface of the alternate path), so as to obtain the delay parameters related to port 2, such as equalization delay (Equalization)
  • EQD is a waiting delay in the ONU to ensure that the ONU does not have an uplink collision, so that all ONUs are at the same physical distance;
  • Step s203 After all the online ONUs are back online, the network led by the interface of the original alternate path is established, and the active/standby switchover is completed.
  • each online ONU needs to be re-registered online after going offline, and the OLT can only perform one ONU registration operation at a time. To complete the measurement of all users, it can be expensive. In the meantime, the on-line time of the ONU is slow and the service interruption is too long during the active/standby switchover. Moreover, each ONU needs to re-range to determine the new EQD, so the entire switching process is very expensive. long. On the other hand, as the number of users increases, the range of ranging is further lengthened, which is unacceptable to operators and users. Therefore, this kind of protection structure can not meet the requirements of protection switching during the system failure.
  • Embodiments of the present invention provide a method, an apparatus, and a system for switching an optical access system, to simplify the active and standby
  • the port switching process shortens the interruption of services during the active/standby switchover.
  • An embodiment of the present invention provides a method for switching an optical access system, where the central end of the optical access system includes a first interface and a second interface, and the first interface is coupled to the working path, where The second interface is coupled to the alternate path, including:
  • An embodiment of the present invention further provides an optical line terminal, where the optical line terminal includes a first interface function module, a second interface function module, and a control module.
  • the first interface function module is configured to provide an interface processing function of the working path
  • the second interface function module is configured to provide an interface processing function of the alternate path
  • the control module is configured to acquire, by the first interface function module, a downlink frame header and a second interface function module, where the two interface points of the uplink frame header are received, and/or two inter-points Inter-turn difference, according to the inter-turn between the two inter-turn points and/or the inter-turn difference between the two inter-turn points, obtain the adjustment time of the second interface function module, according to the adjustment day adjustment Transmitting a downlink frame header or receiving an uplink frame header from the second interface function module, so that the frame transmitted on the alternate path reaches the frame header position of the receiving end and the frame transmitted on the working path reaches the frame header of the receiving end The positions are consistent, and then the switching of the first interface function module to the second interface function module is controlled.
  • An embodiment of the present invention further provides an optical access system, where the optical access system includes an optical line terminal and an optical network unit, and a connection path between the optical line terminal and the optical network unit includes a working path. And the alternate path, the optical line terminal includes a first interface and a second interface, the first interface is coupled to the working path, and the second interface is coupled to the standby path,
  • the optical line terminal is configured to acquire a downlink frame header from the first interface and receive an uplink frame from the second interface.
  • the inter-turn difference between the two inter-turn points of the head and/or between the two inter-turn points, based on the inter-turn difference between the two inter-turn points and/or between the two inter-turn points Obtaining an adjustment interval of the second interface; adjusting the time of transmitting the frame header on the second interface according to the adjusting the daytime adjustment, so that the frame transmitted on the alternate path after adjusting the daytime arrives at the receiving end frame header
  • the position and the frame transmitted on the working path are consistent at the position of the receiving end frame, and the time of the transmitting frame header includes transmitting the time of the downlink frame header or receiving the time of the uplink frame header, and then executing from the working path to the standby.
  • the path is switched.
  • the embodiment of the invention further provides a switching control device
  • the switching control device includes: an inter-turn acquisition unit, an adjustment unit, and a switching control unit; the switching control device further includes a first inter-turn acquisition unit and/or a second inter-turn acquisition unit;
  • the first inter-time acquisition unit is configured to acquire a downlink frame header from the interface of the working path and a time interval between the two inter-frame points of the uplink frame header from the interface of the backup path;
  • the second inter-time acquisition unit is configured to acquire, by the interface of the working path, the downlink frame header and the interface of the backup path to receive the inter-turn difference between the two inter-frame points of the uplink frame header;
  • the adjustment inter-time acquisition unit is configured to calculate an interface and an alternate path of the working path according to the inter-turn obtained by the first inter-frame acquisition unit and/or the inter-turn obtained by the second inter-frame acquisition unit Adjustment between interfaces;
  • the adjusting unit is configured to adjust, according to the adjustment, the adjustment time acquired by the inter-time acquisition unit, the frame transmission frame header of the alternate path, so that the frame transmitted on the alternate path after the adjustment is reached.
  • the receiving end frame header position and the frame transmitted on the working path are consistent at the receiving end frame header position, and the transmission frame header includes transmitting the downlink frame header or receiving the uplink frame header.
  • the switching control unit is configured to control the switching of the interface of the working path to the interface of the standby path after the adjusting unit adjusts the time of the interface transmission frame header of the alternate path.
  • Embodiments of the invention have the following advantages:
  • FIG. 1 is a network diagram of a common port backup of a passive optical network in the prior art
  • FIG. 2 is a flow chart of the active/standby switchover of the port of the PON of the prior art passive optical network
  • FIG. 3 is a schematic structural diagram of a switching device of an active/standby interface of an OLT device according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a network device according to another embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for switching an active/standby interface of an OLT device according to an embodiment of the present invention.
  • An embodiment of the present invention provides a switching control apparatus, as shown in FIG. 3, including:
  • the first inter-time acquisition unit 11 is configured to acquire a downlink frame header from the interface of the working path and a time interval between the two inter-frame points of the uplink frame header received from the interface of the alternate path;
  • the second inter-time obtaining unit 12 is configured to obtain, by sending, between the downlink frame header from the interface of the working path and the two inter-points of the uplink frame header from the interface of the alternate path (inter-segment) ⁇ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;
  • the inter-time acquisition unit 13 is configured to calculate an adjustment between the interface of the working path and the interface of the alternate path, such as sending the downlink frame header according to the interface from the working path acquired by the first inter-frame acquisition unit. And receiving an adjustment between the interface of the working path of the uplink frame header and the interface of the standby path, and transmitting the downlink from the interface of the working path acquired by the second inter-frame obtaining unit 12
  • the frame header is received from the interface of the alternate path to receive the adjustment between the interface of the working path and the interface of the alternate path.
  • the storage unit 15 is configured to store at least one inter-turn information acquired by the first inter-turn acquisition unit 11, the second inter-time acquisition unit 12, and the inter-time acquisition unit 13;
  • the adjusting unit 17 is configured to adjust, according to the interface of the working path stored by the storage unit 15 and the inter-interface information of the alternate path, the interface of the alternate path to send the downlink frame header. Specifically, if the interface of the alternate path receives the uplink frame header of the ONU and the interface of the working path is received by the interface of the ONU, the adjustment frame is T1, and the downlink frame sent from the interface of the alternate path Head than working path interface The transmitted downlink frame header is advanced by T1; if the uplink frame header from the ONU is received from the interface of the alternate path earlier than the interface of the ONU uplink frame header from the interface of the working path, the adjustment time is T2, and the backup is performed.
  • the interface of the path uses the clock frame header of the lag T2 engraved than the interface of the working path as the downlink frame header.
  • the time interval for transmitting the downlink frame header may be the amount of time between the positions of the downlink frame headers.
  • the adjusting unit 17 can also adjust the time interval at which the alternate path interface receives the uplink frame header or adjust the position of the upstream frame header.
  • the adjusting unit 17 adjusts the transmission of the frame header on the interface of the alternate path according to the adjustment of the adjustment time stored by the storage unit 15, so that the frame transmitted on the alternate path after the adjustment is reached at the receiving end frame position and The frames transmitted on the working path are consistent in the frame header position of the receiving end, and the time of the transmitting frame header includes the time interval of transmitting the downlink frame header or the time interval of receiving the uplink frame header, that is, the following two cases are included: Adjusting the time interval for transmitting the downlink frame header so that the downlink frame transmitted on the alternate path after the adjustment is reached to the receiving end.
  • the U-frame header position and the downlink frame of the working path are the same as the frame header position of the receiving end ONU ⁇ ; b Adjusting the time interval of receiving the uplink frame header so that the frame header position of the uplink frame transmitted on the alternate path after the adjustment period reaches the receiving end OLT ⁇ and the uplink frame transmitted on the primary path reach the receiving end OLT frame header position.
  • the switching control unit 19 is configured to control the switching of the interface of the working path to the interface of the standby path after the interface of the adjusting path of the adjusting unit 17 transmits the downlink frame header or receives the uplink frame header.
  • the first inter-turn acquisition unit 11 and the second inter-turn acquisition unit 12 in the active/standby switching device may need only one of them, or two of them.
  • the first inter-frame acquisition unit 11 may transmit an interface function module of the working path by transmitting an interface function module of the working path, and may send a downlink frame header, and/or may detect the synchronization signal according to the detected The synchronization signal acquisition sends the downlink frame header from the interface of the working path.
  • the first inter-time acquisition unit 11 records the inter-frame of the interface function module of the uplink frame header to the alternate path by monitoring the interface function module of the alternate path, thereby obtaining the time interval of receiving the uplink frame header from the interface of the alternate path.
  • the second inter-time obtaining unit 12 can monitor the interface function module of the working path and the interface function module of the standby path, and the interface function module that detects the working path sends the downlink frame header to start counting, and detects the interface function of the alternate path.
  • the module receives the uplink frame header and ends the calculation, thereby obtaining the inter-turn difference between the downlink frame header sent from the interface of the working path and the uplink frame header received from the interface of the alternate path.
  • the network device 300 includes:
  • One or more network side service interface function modules PON are provided.
  • the NT380 is responsible for sending and receiving service data packets and/or management packets to the upper layer network device.
  • At least two interfaces at least one of which has an alternate path.
  • the interface of the working path corresponding to the interface of the alternate path needs to be switched, the interface can be switched from the interface of the working path to the interface of the alternate path.
  • each line interface function module PON PON
  • the LT 340 includes at least one optoelectronic conversion module 342 and at least one message processing module 344, as shown in Figure 4, PON
  • the LT340-1 includes two photoelectric conversion modules 342-11, 342-12, and a message processing module 344-1.
  • the message processing module 344 is responsible for functions such as service processing, synchronization clock processing, and frame header processing.
  • the photoelectric conversion module 34 2 realizes photoelectric conversion and/or electro-optical conversion, and may be a module that is integrated and received, or a module that is separated and transmitted.
  • the photoelectric conversion module connected to each packet processing module is not limited and may be one. Two, three, or four, and so on. In the context, two photoelectric conversion modules are taken as an example, and are not mentioned unless otherwise specified.
  • the network device 300 in order to implement the protection switching function, includes a control module 360, which can perform a control function of protection switching.
  • the structure of the control module 360 is consistent with the structure of the switching device shown in FIG.
  • the first inter-turn acquisition unit 11 and/or the second inter-time acquisition unit 12, the adjustment inter-time acquisition unit 13, the storage unit 15, the adjustment unit 17, and the switching control unit 19 are included.
  • the functions of these units of the control module 360 are shown in the specific structure and description of the switching device in Fig. 3, and will not be repeatedly described herein.
  • the optical receiving module 342-11 and the optical transmitting module 342-12 may also be an integrated optical transceiver module (not shown).
  • the message processing module 344-1 will lower the frame hair.
  • the control module 360 sends the received uplink frame hair to the control module 360. Therefore, the first inter-frame acquisition unit and/or the second inter-frame acquisition unit of the control module 360 can be configured according to the message.
  • the header sent by the processing module 340-1 and the message processing module 340-M obtains the time between transmitting the downlink frame header from the interface of the working path to receiving the uplink frame header from the interface of the alternate path.
  • the frame header synchronization module 390 can also provide the downlink synchronization chirp signal to the control module 360, so that the control module 360 can obtain the downlink frame header from the primary port according to the downlink synchronization chirp signal or send the downlink frame from the primary port. Head reference.
  • FIG. 5 is a schematic diagram of another network device according to an embodiment of the present invention.
  • the network device 400 in Figure 5 includes at least two PON LTs 420 (e.g., PON LT
  • the LT includes at least one message processing module 344, and each of the message processing modules 344 is coupled to at least one of the photoelectric conversion modules 342, such as the PON in FIG.
  • the LT420-1 includes a message processing module 344-1, photoelectric conversion modules 342-11, 342-12. Unlike the PO N LT340 in Figure 4, each PON
  • the LT420 includes a control module 360, and its own PON LT and other PONs.
  • the message processing module on the LT is coupled to receive a frame header sent by the message processing module. Specifically, to PO
  • N LT420-M is the interface function module of the alternate path, PON
  • the LT420-1 is an interface function module of the working path.
  • the control module 360-M performs the switching control function as an example.
  • the control module 360-M receives the downlink frame header sent by the message processing module 344-1, and receives the packet processing module 344.
  • the uplink header sent by the M so that the two frames of the downlink header are transmitted from the interface of the working path and the uplink header is received from the interface of the alternate path, and/or the downlink is sent from the interface of the working path.
  • the inter-turn difference between the header of the frame header and the interface of the alternate path is received.
  • the PON LT420-M can also obtain the reference for transmitting the downlink header by the primary port or the reference for transmitting the downstream header from the primary port by using the chirp signal provided by the frame header synchronization module 390.
  • adjusting the time frame of transmitting the downlink frame header or receiving the uplink frame header from the interface of the alternate path so that the frame header position of the frame transmitted on the alternate path arrives at the receiving end
  • the frame transmitted on the working path arrives at the receiving end and the frame header position is the same. ⁇ In this way, the active/standby switchover of the port is performed, avoiding 0.
  • the NU enters the re-registration and ranging state, which saves a lot of switching time.
  • the same ONU does not need to go offline, and has almost no impact on the business.
  • “1: ⁇ protection can also achieve “1: N” protection.
  • “1 : ⁇ protection means that each working path interface has an alternate path for backup;
  • “1 : N” protection means N work The interface of the path shares the interface of an alternate path.
  • the implementation of the "1: N” protection is similar to the above “1: 1" protection method and will not be repeated here.
  • an optical access system includes an optical line terminal and an optical network unit, and a connection path between the optical line terminal and the optical network unit includes a working path and an alternate path, where the optical line terminal includes The first interface and the second interface, the first interface is coupled to the working path, and the second interface is coupled to the standby path, where the optical line terminal is configured to acquire a downlink frame header and a second interface from the first interface.
  • the backup of the LT420-1 is taken as an example.
  • the photoelectric conversion module 342-11 is a light emitting module
  • the photoelectric conversion module 342-12 is a light receiving module
  • the photoelectric conversion module 342-M1 is a light emitting module
  • the photoelectric conversion module 342-M2 is a light receiving module.
  • the module that is, the downstream optical signal transmitted by the photoelectric conversion module 342-11, is sent to the optical network unit through a working path (or referred to as a primary path), and the photoelectric conversion module 342-M2 receives the upstream optical signal from the alternate path.
  • the downlink header is sent from the interface of the working path and the two headers of the uplink header are received from the interface of the alternate path, and/or the downlink is obtained from the interface of the working path.
  • the frame header and the inter-turn difference between the two inter-turn points of the uplink frame header are received from the interface of the alternate path, and the interface that needs to be switched from the interface of the working path to the alternate path, according to the above-mentioned inter-day and/or ⁇
  • the interface of the inter-differential adjustment alternate path sends the downlink frame header and the downstream frame header and slave sent from the interface of the alternate path.
  • the downlink frame header sent by the interface of the working path is consistent with the ONU. After the time adjustment, the interface from the working path to the backup path is switched, so that the active/standby switchover of the OLT device port is implemented.
  • the OLT device switching method in the embodiment of the present invention includes the following steps: [63] Step s601: Acquire a downlink frame header from an interface of the working path and receive an uplink from an interface of the alternate path. The inter-turn between the two inter-points of the frame header, and/or the inter-turn difference between the two inter-points that receive the downlink header from the primary interface and the upstream header from the interface of the alternate path;
  • Step s602 Send a downlink frame header from the interface of the alternate path according to the inter-turn difference between the two inter-turn points and/or between the two inter-turn points, so as to make it and the slave working path
  • the downlink frame header sent by the interface reaches the ONU's time.
  • Step s603 Perform the switching of the interface of the working path to the interface of the alternate path.
  • the interface function module of the working path and the interface function module of the standby path may be configured to obtain a downlink frame header from the interface of the working path and an uplink frame from the interface of the standby path.
  • the inter-turn difference between the two inter-turn points of the head and/or between the two inter-turn points; this method is to use the method of mutually transmitting the frame header, and the interface function module of the working path sends the downlink frame to the ONU.
  • Header the peer sends the downlink frame hair to the control module.
  • the downlink frame header is driven into two paths, one is sent to the ONU, and the other is sent to the control module.
  • the control module After receiving the downlink frame header sent by the interface function module of the working path, the control module can obtain the downlink frame header position of the interface of the working path, and the time point of the downlink frame header position can be recorded by the internal high frequency chirp, the interface
  • the switch that adjusts the alternate path sends the downlink header, so that the frame transmitted on the alternate path arrives at the receiving end and the frame transmitted on the working path arrives at the receiving end. Or not adjusting the alternate path interface to send the time of the downlink frame header, and adjusting the alternate path interface to receive the time of the uplink frame header, or adjusting the amount of time of the downlink frame header, or adjusting the amount of the position of the uplink frame header.
  • the interface function module of the frame header synchronization module and the alternate path may also be monitored, and the downlink frame header is sent from the interface of the working path and the uplink frame header is received from the interface of the alternate path.
  • Two methods are provided for obtaining the inter-frame of the downstream frame header from the interface of the working path. In this method, the synchronization frame header is used, and the interface function module of the working path and the interface function module of the alternate path are sent by the frame header synchronization module to send the downlink frame.
  • Head synchronization that is, the control module directly detects the unified downlink synchronization frame header to obtain the downlink frame header position of the interface of the working path from the primary interface, and the downlink header position of the interface of the working path can pass through the internal
  • the high frequency chime is recorded, the interface is switched, and the interface of the alternate path is adjusted to transmit the frame header, so that the frame transmitted on the alternate path reaches the frame header position of the receiving end and the frame transmitted on the working path reaches the frame of the receiving end frame.
  • the head position is the same, or the alternate path interface is not adjusted to transmit the time of the downlink frame header, and the amount of time of the position of the downlink frame header is adjusted, or the amount of time of the position of the uplink frame header is adjusted.
  • [68] further provides a frame header synchronization module that records a downlink frame header of a working path in a frame header synchronization module of a working path by using a synchronous inter-chamber system, and transmits the frame header synchronization module to the alternate path through the interworking information channel, thereby The alternate path gets the downstream frame header position of the working path.
  • control module can be set on an independent control function entity, centralized control of interface function modules and protection line interface function modules of multiple working paths,
  • This method can realize centralized control of multiple line interface function modules, which is more convenient for system scheduling, configuration maintenance and management, especially 1: N or x: N (X represents a natural number greater than 1, and N represents a natural number greater than 1) Protection systems can reduce control complexity.
  • control module can also be done on the interface function module with the alternate path of the control module, that is, the control module can be set on the interface function module of the alternate path, which is more obvious for the protection advantage of 1:1, protection The exchange is faster.
  • the control module detects the position of the downlink frame header of the interface function module of the working path, such as the downlink frame header sent by the interface function module that receives the working path or the downlink frame header reference signal sent by the frame header synchronization module,
  • the inter-turn T1 of the inter-turn point is recorded.
  • the inter-turn point can be determined by an internal high-frequency chime.
  • the interface function module of the alternate path receives the uplink frame, detects the uplink frame header, records the time ⁇ 2 of the time point, and then uses T1 and ⁇ 2 to calculate the adjustment time, and takes an uplink and downlink round trip cycle as an example to adjust the daytime interval.
  • can be obtained by:
  • T2 indicates that the interface function module of the alternate path receives the time of the uplink frame header
  • T1 indicates that the interface function module of the working path transmits the time of the downlink frame header
  • Tf indicates the frame length of one frame.
  • Cycle eg The frame length of one frame in GPON is 125 ⁇ ⁇
  • Tr is the response time of the ONU.
  • the Tf may be determined according to a frame length period specified by the system protocol, and the Tr may include at least one of the following: an ONU's own response time, a system requiring the ONU to wait for delay, and an equalization delay EQD.
  • Tr can be replaced by a mean value; but considering the particularity of the ONU and the line, an information table can be maintained, and information such as the inter-turn Tr of each ONU and the T2 and T1 of each ONU can be recorded.
  • the inter-turn T of each ONU is calculated according to the information table.
  • the adjustment time can be obtained by:
  • T2-T1 can be obtained by the meter. This method does not need to know the specific time between each point, only need to know the time between the two points; Tf and Tr and The same in equation (1), no longer praise.
  • 02 ONU waits to receive network parameter status
  • 03 0NU waits to receive serial number request status
  • 04 Ranging status
  • 05 Running status (normal status)
  • 06 POPUP
  • the frame header of the downlink frame may be sent by adjusting the interface function module of the alternate path, so that the downlink frame header sent from the interface of the alternate path and the downlink frame sent from the primary interface reach the time of the ONU are not consistent. Impact on the reception of the 0NU service.
  • an adjustment direction such as comparing the time between receiving the uplink header from the second interface and transmitting the downlink header from the first interface; when receiving from the second interface
  • the time between the uplink frame header and the downlink frame header sent from the first interface is greater than a predetermined value, and the determination needs to be advanced; when the uplink frame header is received from the second interface, and the downlink frame is sent from the first interface.
  • the head of the head is less than the predetermined value Hey, make sure you need to delay.
  • This predetermined value can be set according to the specific conditions, such as equations (1) and (2), and the predetermined value can be set to 0; wherein, if ⁇ is directly compared, the predetermined value is 2*Tf+Tr.
  • the alternate line interface sends the downlink frame header to the TO-T, that is, if the time 1>0 is adjusted, it will be used.
  • the interface function module of the path sends the inter-time transmission of the downlink frame header. If the inter-turn time is ⁇ 0, the interface function module of the alternate path sends the inter-turn delay of the downlink frame header.
  • it is also possible to not know the switching time ⁇ 0 of the working line interface for example, using the reference time point of each frame transmission period, and adjusting the time based on the reference point.
  • the adjustment time is >0, that is, the case where the time is advanced
  • the backup service will be backed up through the upper layer network or the upper layer service channel before the switchover, and the interface function module of the backup work path is managed as ON U.
  • Information such as equalization delay EQD.
  • the interface function module of the control module controls the working path stops transmitting, and the interface function module of the alternate path is designated as the interface function module of the working path, starts to open the downlink transmission, and uses the adjusted transmission time frame of the time frame.
  • the header is used as the downlink transmission frame header.
  • the downlink frame header sent from the interface of the alternate path is delayed later than the downlink frame header originally sent from the interface of the working path. Therefore, the downlink frame header sent from the interface of the alternate path arrives at the ONU and the downlink frame header sent from the interface of the working path arrives at the ONU.
  • the downlink frame header of the OLT does not change for the ONU.
  • the ONU enters the re-registration and ranging state, which saves a lot of switching time.
  • the same ONU does not go offline, and has almost no impact on the business.
  • the EQD on the ONU needs to be updated, and there are many methods for re-updating the EQD, for example, according to G.9 84.
  • Standard the command to update the EQD is issued in the downlink, and the EQD is adjusted to the time of the EQD-2T, so that the uplink frame header of the ONU reaches the standard requirement of the interface of the working path after the switching.
  • the present invention can be implemented by hardware, or can be realized by means of software plus necessary general hardware platform, the present invention.
  • the technical solution can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.)
  • a computer device which may be a personal computer, server, or network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An exchanging method, equipment and system for the optical access system are provided. The station side of the optical access system includes the first interface and the second interface. The first interface is coupled to the working path, and the second interface is coupled to the standby path. The method includes that of: obtaining the time of two time points and/or the time difference between the two time points at which the downlink frame head is sent from the first interface and the uplink frame head is received from the second interface; obtaining the adjusting time between the first interface and the second interface according to the time of two time points and/or the time difference between the two time points; adjusting the time for transmitting the frame head at the second interface according to the adjusting time, and performing the exchanging from the first interface to the second interface. During the normal communication, by using the embodiment of the invention, the downlink frame head of the standby interface could be adjusted. It is avoided that the ONU should enter the state of re-registering and distance measuring. A great lot of exchanging time is saved, and the ONU would not be offline, therefore there is almost no impact on the service.

Description

一种光接入系统的倒换方法、 装置和系统  Switching method, device and system for optical access system
[1] 本申请要求于 2008年 6月 25日提交中国专利局、 申请号为 CN200810126402.0、 发明名称为"一种光接入系统的倒换方法、 装置和系统"的中国专利申请的优先权 , 其全部内容通过引用结合在本申请中。  [1] This application claims priority from Chinese Patent Application filed on June 25, 2008, to the Chinese Patent Office, Application No. CN200810126402.0, entitled "A Light Access System Switching Method, Apparatus and System" The entire contents of which are incorporated herein by reference.
[2] 技术领域 [2] Technical field
[3] 本发明涉及通信技术领域, 尤其涉及一种光接入系统的倒换方法、 装置和系统  [3] The present invention relates to the field of communications technologies, and in particular, to an optical access system switching method, device, and system
[4] 发明背景[4] Background of the invention
Figure imgf000003_0001
Figure imgf000003_0001
Network, PON) 系统是一种为用户提供光接入解决方案的系统。 PON系统包括 设置在局端 (Central Office, CO) 的光线路终端设备 (Optical Line  The Network, PON) system is a system that provides users with optical access solutions. The PON system includes optical line terminals (Central Line, CO) (Optical Line)
Termination, OLT) , 通过光分配网络 (Optical Distribution  Termination, OLT) , through optical distribution network (Optical Distribution
Network, ODN) 连接到用户驻地网络 (Customer Premise Netwrok,  Network, ODN) Connect to the customer premises network (Customer Premise Netwrok,
CPN) 的用户驻地设备, 如光网络单元 (Optical Network  CPN) user premises equipment, such as optical network units (Optical Network
Unit, ONU) 或光网络终端 (Optical Network  Unit, ONU) or optical network terminal (Optical Network
Termination, ONT) , 其中无源是指 ODN中主要包括由光分路 /合路器 (Splitter) 等无源器件, 不需要或者只需要少量贵重的有源电子设备。 PON系统中, 主要 的信号处理功能在局端设备 OLT和用户驻地设备 ONU/ONT处完成。 从承载的内 容来分, 现在典型的 PON系统包括 APON/BPON (ATM Based  Termination, ONT), where passive means that the ODN mainly includes passive components such as optical splitters/splitters, which do not require or require only a small amount of expensive active electronic equipment. In the PON system, the main signal processing functions are performed at the central office equipment OLT and the customer premises equipment ONU/ONT. From the content of the bearer, the typical PON system now includes APON/BPON (ATM Based
PON) 、 EPON (Ethernet Based PON) 以及 GPON (Gigabit  PON), EPON (Ethernet Based PON) and GPON (Gigabit)
PON) 等; 从波长传输方式来分, 分为吋分复用无源光网络 TDM-PON、 波分复 用无源光网络 (Wave Division Multiple PON, WDM  PON), etc.; divided into wavelength-multiplexed passive optical networks TDM-PON, wavelength division multiplexing passive optical network (Wave Division Multiple PON, WDM)
PON) 、 码分复用无源光网络 (Code Division Multiple Access PON,  PON), Code Division Multiple Access PON,
CDMA-PON) 。  CDMA-PON).
随着无源光网络技术的发展和应用, 对系统性能的要求越来越高, 从而提出对 PON系统保护的需求, 其中包括设备级保护和 /或线路级保护。 其中, 线路级的 保护涉及主备光纤的保护, 保证其中一条光纤故障吋不影响业务; 设备级保护 涉及主备处理模块的保护, 保证其中一个处理模块故障吋不影响业务。 With the development and application of passive optical network technology, the requirements for system performance are getting higher and higher, and the demand for protection of PON system, including device level protection and/or line level protection, is proposed. Among them, line level The protection involves the protection of the active and standby optical fibers to ensure that one of the optical fibers fails and does not affect the service. The device-level protection involves the protection of the active and standby processing modules to ensure that one of the processing modules fails and does not affect the service.
[7] 在实现保护倒换吋需要考虑主备传输吋延的影响, 主备切换吋需要调整吋延。  [7] After implementing protection switching, you need to consider the impact of the primary and secondary transmission delays.
现有的调整方式是: 开辟测距窗, 分别对每一个用户进行测距, 根据测距结果 计算延吋, 从而利用计算的延吋进行调整。 例如对于图 1所示的 PON端口备份组 网示意图: PON系统的局端 OLT包括两个 PON模块 PON LT1和 PON  The existing adjustment methods are: opening up a ranging window, performing ranging for each user separately, and calculating the delay based on the ranging result, thereby performing adjustment using the calculated delay. For example, the PON port backup network diagram shown in Figure 1: The OLT system's central office OLT includes two PON modules PON LT1 and PON
LT2, 分别通过端口 1和端口 2 (或称通道 1和通道 2) 分别与 ODN的光纤 F1和 F2 连接, 下面以 PON LT1为主用 PON模块, 端口 1为工作路径的接口, PON LT2为备用 PON模块, 端口 2为备用路径的接口, 描述现有技术的主备倒换过程 , 如图 2所示, 包括以下步骤:  LT2 is connected to the optical fibers F1 and F2 of the ODN through port 1 and port 2 (or channel 1 and channel 2) respectively. The PON LT1 is the main PON module, the port 1 is the working path interface, and the PON LT2 is the standby. The PON module, which is the interface of the standby path, describes the active/standby switchover process of the prior art. As shown in Figure 2, the following steps are included:
[8] 步骤 s201、 当主备接口需要进行倒换吋, 停止从端口 1 (工作路径的接口) 发 送数据, ONU陆续下线;  [8] Step s201: When the active and standby interfaces need to be switched, stop sending data from port 1 (the interface of the working path), and the ONUs go offline;
[9] 步骤 s202、 通过端口 2 (备用路径的接口) 对每一个 ONU进行注册和测距, 从 而获得端口 2相关的吋延参数, 如均衡吋延 (Equalization  [9] Step s202: Register and measure each ONU through port 2 (the interface of the alternate path), so as to obtain the delay parameters related to port 2, such as equalization delay (Equalization)
Delay, EQD) , EQD是为了保证 ONU不发生上行冲突而在 ONU内部做的一个等 待延吋, 使得所有的 ONU都处于同一个物理距离;  Delay, EQD), EQD is a waiting delay in the ONU to ensure that the ONU does not have an uplink collision, so that all ONUs are at the same physical distance;
[10] 步骤 s203、 所有之前在线的 ONU重新上线后, 由原来备用路径的接口主导的网 络建立, 主备倒换完成。  [10] Step s203: After all the online ONUs are back online, the network led by the interface of the original alternate path is established, and the active/standby switchover is completed.
[11] 在实现本发明的过程中, 发明人发现现有技术至少存在以下缺点:  In the process of implementing the present invention, the inventors have found that the prior art has at least the following disadvantages:
[12] 釆用这种方式, 每个在线的 ONU需要下线后重新注册上线, 且 OLT每次只能进 行一个 ONU的注册操作, 要完成所有用户的测距才能倒换, 这样会耗费大量的 吋间, 导致了在主备倒换过程中 ONU的上线吋间比较慢、 业务中断的吋间过长 ; 而且, 每一个 ONU需要重新测距来确定新的 EQD, 所以在整个倒换过程耗吋 很长。 另一方面, 随着用户数的增多, 测距的吋间进一步加长, 对于运营商和 用户都是无法容忍的。 所以这种保护结构在系统出现故障吋不能满足保护倒换 吋间的要求。  [12] In this way, each online ONU needs to be re-registered online after going offline, and the OLT can only perform one ONU registration operation at a time. To complete the measurement of all users, it can be expensive. In the meantime, the on-line time of the ONU is slow and the service interruption is too long during the active/standby switchover. Moreover, each ONU needs to re-range to determine the new EQD, so the entire switching process is very expensive. long. On the other hand, as the number of users increases, the range of ranging is further lengthened, which is unacceptable to operators and users. Therefore, this kind of protection structure can not meet the requirements of protection switching during the system failure.
[13] 发明内容  [13] Summary of the invention
[14] 本发明的实施例提供一种光接入系统的倒换方法、 装置和系统, 以简化主备接 口倒换流程, 缩短主备倒换过程中业务的中断吋间。 [14] Embodiments of the present invention provide a method, an apparatus, and a system for switching an optical access system, to simplify the active and standby The port switching process shortens the interruption of services during the active/standby switchover.
[15] 本发明的实施例提供一种光接入系统的倒换方法, 所述光接入系统的局端包括 第一接口和第二接口, 所述第一接口耦接到工作路径, 所述第二接口耦接到备 用路径, 包括:  An embodiment of the present invention provides a method for switching an optical access system, where the central end of the optical access system includes a first interface and a second interface, and the first interface is coupled to the working path, where The second interface is coupled to the alternate path, including:
[16] 获取从第一接口发送下行帧头和从第二接口接收上行帧头的两个吋间点的吋间 和 /或两个吋间点之间的吋间差;  [16] obtaining the inter-turn difference between the inter-turn and/or the two inter-turn points of the two inter-points that are sent from the first interface and the two inter-frames that receive the uplink header from the second interface;
[17] 根据所述两个吋间点的吋间和 /或两个吋间点之间的吋间差, 获取第一接口和 第二接口之间的调整吋间;  [17] obtaining an adjustment time between the first interface and the second interface according to the inter-turn difference between the two inter-turn points and/or between the two inter-turn points;
[18] 根据所述调整吋间调整在所述第二接口上传输帧头的吋间, 使得调整吋间后在 备用路径上传输的帧在到达接收端吋帧头位置和在工作路径上传输的帧在到达 接收端吋帧头位置一致, 所述传输帧头的吋间包括发送下行帧头的吋间或接收 上行帧头的吋间, 执行从第一接口到第二接口的倒换。  [18] adjusting the time of transmitting the frame header on the second interface according to the adjusting day adjustment, so that the frame transmitted on the alternate path after adjusting the time is transmitted to the receiving end frame position and transmitted on the working path The frame is consistent in the frame position of the receiving end, and the time of the transmitting frame header includes the time of transmitting the downlink frame header or the time of receiving the uplink frame header, and performs switching from the first interface to the second interface.
[19] 本发明实施例还提供了一种光线路终端, 所述光线路终端包括第一接口功能模 块、 第二接口功能模块和控制模块,  An embodiment of the present invention further provides an optical line terminal, where the optical line terminal includes a first interface function module, a second interface function module, and a control module.
[20] 所述第一接口功能模块, 用于提供工作路径的接口处理功能;  [20] the first interface function module is configured to provide an interface processing function of the working path;
[21] 所述第二接口功能模块, 用于提供备用路径的接口处理功能;  [21] the second interface function module is configured to provide an interface processing function of the alternate path;
[22] 所述控制模块, 用于获取所述第一接口功能模块发送下行帧头和第二接口功能 模块接收上行帧头的两个吋间点的吋间和 /或两个吋间点之间的吋间差, 根据所 述两个吋间点的吋间和 /或两个吋间点之间的吋间差, 获取第二接口功能模块的 调整吋间, 根据所述调整吋间调整从所述第二接口功能模块发送下行帧头或接 收上行帧头的吋间, 使备用路径上传输的帧到达接收端吋的帧头位置和工作路 径上传输的帧到达接收端吋的帧头位置一致, 之后控制所述第一接口功能模块 到所述第二接口功能模块的切换。  [22] The control module is configured to acquire, by the first interface function module, a downlink frame header and a second interface function module, where the two interface points of the uplink frame header are received, and/or two inter-points Inter-turn difference, according to the inter-turn between the two inter-turn points and/or the inter-turn difference between the two inter-turn points, obtain the adjustment time of the second interface function module, according to the adjustment day adjustment Transmitting a downlink frame header or receiving an uplink frame header from the second interface function module, so that the frame transmitted on the alternate path reaches the frame header position of the receiving end and the frame transmitted on the working path reaches the frame header of the receiving end The positions are consistent, and then the switching of the first interface function module to the second interface function module is controlled.
[23] 本发明实施例还提供了一种光接入系统, 所述光接入系统包括光线路终端和光 网络单元, 所述光线路终端和所述光网络单元之间的连接路径包括工作路径和 备用路径, 所述光线路终端包括第一接口和第二接口, 所述第一接口耦接工作 路径, 所述第二接口耦接备用路径,  An embodiment of the present invention further provides an optical access system, where the optical access system includes an optical line terminal and an optical network unit, and a connection path between the optical line terminal and the optical network unit includes a working path. And the alternate path, the optical line terminal includes a first interface and a second interface, the first interface is coupled to the working path, and the second interface is coupled to the standby path,
[24] 所述光线路终端, 用于获取从第一接口发送下行帧头和从第二接口接收上行帧 头的两个吋间点的吋间和 /或两个吋间点之间的吋间差, 根据所述两个吋间点的 吋间和 /或两个吋间点之间的吋间差, 获取第二接口的调整吋间; 根据所述调整 吋间调整在所述第二接口上传输帧头的吋间, 使得调整吋间后在备用路径上传 输的帧在到达接收端吋帧头位置和在工作路径上传输的帧在到达接收端吋帧头 位置一致, 所述传输帧头的吋间包括发送下行帧头的吋间或接收上行帧头的吋 间, 之后执行从工作路径到备用路径的倒换。 [24] the optical line terminal is configured to acquire a downlink frame header from the first interface and receive an uplink frame from the second interface. The inter-turn difference between the two inter-turn points of the head and/or between the two inter-turn points, based on the inter-turn difference between the two inter-turn points and/or between the two inter-turn points Obtaining an adjustment interval of the second interface; adjusting the time of transmitting the frame header on the second interface according to the adjusting the daytime adjustment, so that the frame transmitted on the alternate path after adjusting the daytime arrives at the receiving end frame header The position and the frame transmitted on the working path are consistent at the position of the receiving end frame, and the time of the transmitting frame header includes transmitting the time of the downlink frame header or receiving the time of the uplink frame header, and then executing from the working path to the standby. The path is switched.
[25] 本发明实施例还提供了一种倒换控制装置,  [25] The embodiment of the invention further provides a switching control device,
倒换控制装置包括: 调整吋间获取单元、 调整单元、 倒换控制单元; 所述倒换 控制装置还包括第一吋间获取单元和 /或第二吋间获取单元; 其中,  The switching control device includes: an inter-turn acquisition unit, an adjustment unit, and a switching control unit; the switching control device further includes a first inter-turn acquisition unit and/or a second inter-turn acquisition unit;
[26] 所述第一吋间获取单元, 用于获取从工作路径的接口发送下行帧头和从备用路 径的接口接收上行帧头的两个吋间点的吋间;  [26] The first inter-time acquisition unit is configured to acquire a downlink frame header from the interface of the working path and a time interval between the two inter-frame points of the uplink frame header from the interface of the backup path;
[27] 所述第二吋间获取单元, 用于获取从工作路径的接口发送下行帧头和从备用路 径的接口接收上行帧头的两个吋间点之间的吋间差;  [27] The second inter-time acquisition unit is configured to acquire, by the interface of the working path, the downlink frame header and the interface of the backup path to receive the inter-turn difference between the two inter-frame points of the uplink frame header;
[28] 所述调整吋间获取单元, 用于根据所述第一吋间获取单元获取的吋间和 /或所 述第二吋间获取单元获取的吋间差计算工作路径的接口和备用路径的接口之间 的调整吋间;  [28] The adjustment inter-time acquisition unit is configured to calculate an interface and an alternate path of the working path according to the inter-turn obtained by the first inter-frame acquisition unit and/or the inter-turn obtained by the second inter-frame acquisition unit Adjustment between interfaces;
[29] 所述调整单元, 用于根据所述调整吋间获取单元获取的调整吋间调整在备用路 径的接口传输帧头的吋间, 使得调整吋间后在备用路径上传输的帧在到达接收 端吋帧头位置和在工作路径上传输的帧在到达接收端吋帧头位置一致, 所述传 输帧头的吋间包括发送下行帧头的吋间或接收上行帧头的吋间;  [29] The adjusting unit is configured to adjust, according to the adjustment, the adjustment time acquired by the inter-time acquisition unit, the frame transmission frame header of the alternate path, so that the frame transmitted on the alternate path after the adjustment is reached The receiving end frame header position and the frame transmitted on the working path are consistent at the receiving end frame header position, and the transmission frame header includes transmitting the downlink frame header or receiving the uplink frame header.
[30] 倒换控制单元, 用于在调整单元调整在备用路径的接口传输帧头的吋间后, 控 制工作路径的接口到备用路径的接口的倒换。  [30] The switching control unit is configured to control the switching of the interface of the working path to the interface of the standby path after the adjusting unit adjusts the time of the interface transmission frame header of the alternate path.
[31] 本发明的实施例具有以下优点:  [31] Embodiments of the invention have the following advantages:
[32] 可以在正常通过过程中, 通过获取从第一接口发送下行帧头和从第二接口接收 上行帧头的两个吋间点的吋间和 /或两个吋间点之间的吋间差, 从而调整备用接 口的下行帧头, 避免了 ONU进入重新注册和测距状态, 节约了大量的倒换吋间 , 同吋 ONU没有下线, 对业务几乎没有影响。  [32] In the normal pass, by acquiring the downlink header from the first interface and the two inter-points of the upstream header from the second interface, and/or between the two inter-points The difference between the downlink frame headers of the standby interface is adjusted to avoid the ONU entering the re-registration and ranging state, which saves a lot of switching time, and the ONU does not go offline, which has little impact on the service.
[33] 附图简要说明 [34] 图 1是现有技术中无源光网络的常用端口备份组网图; [33] BRIEF DESCRIPTION OF THE DRAWINGS [34] FIG. 1 is a network diagram of a common port backup of a passive optical network in the prior art;
[35] 图 2是现有技术的无源光网络 OLT的端口主备倒换的流程图;  [35] FIG. 2 is a flow chart of the active/standby switchover of the port of the PON of the prior art passive optical network;
[36] 图 3是本发明实施例中的 OLT设备主备接口的倒换装置的结构示意图;  [36] FIG. 3 is a schematic structural diagram of a switching device of an active/standby interface of an OLT device according to an embodiment of the present invention;
[37] 图 4是本发明一实施例中的网络设备的结构示意图;  4 is a schematic structural diagram of a network device according to an embodiment of the present invention;
[38] 图 5是本发明另一实施例中的网络设备的结构示意图;  FIG. 5 is a schematic structural diagram of a network device according to another embodiment of the present invention; FIG.
[39] 图 6是本发明实施例中 OLT设备主备接口倒换方法的流程图。  FIG. 6 is a flowchart of a method for switching an active/standby interface of an OLT device according to an embodiment of the present invention.
[40] 实施本发明的方式  [40] Mode for carrying out the invention
[41] 以下结合附图和实施例, 对本发明的实施方式做进一步说明。  [41] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[42] 本发明的实施例提供了一种倒换控制装置, 如图 3所示, 包括:  [42] An embodiment of the present invention provides a switching control apparatus, as shown in FIG. 3, including:
[43] 第一吋间获取单元 11, 用于获取从工作路径的接口发送下行帧头和从备用路径 的接口接收上行帧头的两个吋间点的吋间;  [43] The first inter-time acquisition unit 11 is configured to acquire a downlink frame header from the interface of the working path and a time interval between the two inter-frame points of the uplink frame header received from the interface of the alternate path;
[44] 第二吋间获取单元 12, 用于通过对从工作路径的接口发送下行帧头到从备用路 径的接口接收上行帧头的两个吋间点之间 (吋间段) 计吋获得吋间差; 如通过 一个记吋器, 从工作路径的接口发送下行帧头开始计吋, 从备用路径的接口接 收上行帧头结束计吋从而记录从工作路径的接口发送下行帧头和从备用路径的 接口接收到上行帧头之间的吋间差;  [44] The second inter-time obtaining unit 12 is configured to obtain, by sending, between the downlink frame header from the interface of the working path and the two inter-points of the uplink frame header from the interface of the alternate path (inter-segment)吋 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; The interface of the path receives the inter-turn difference between the upstream frame headers;
[45] 调整吋间获取单元 13, 用于计算工作路径的接口和备用路径的接口之间的调整 吋间, 如可根据第一吋间获取单元获取的从工作路径的接口发送下行帧头的吋 间和从备用路径的接口接收上行帧头的吋间计算工作路径的接口和备用路径的 接口之间的调整吋间, 或者根据第二吋间获取单元 12获取的从工作路径的接口 发送下行帧头到从备用路径的接口接收上行帧头的吋间差计算工作路径的接口 和备用路径的接口之间的调整吋间;  [45] The inter-time acquisition unit 13 is configured to calculate an adjustment between the interface of the working path and the interface of the alternate path, such as sending the downlink frame header according to the interface from the working path acquired by the first inter-frame acquisition unit. And receiving an adjustment between the interface of the working path of the uplink frame header and the interface of the standby path, and transmitting the downlink from the interface of the working path acquired by the second inter-frame obtaining unit 12 The frame header is received from the interface of the alternate path to receive the adjustment between the interface of the working path and the interface of the alternate path.
[46] 存储单元 15, 用于存储第一吋间获取单元 11、 第二吋间获取单元 12、 调整吋间 获取单元 13获取的至少一个吋间信息;  [46] The storage unit 15 is configured to store at least one inter-turn information acquired by the first inter-turn acquisition unit 11, the second inter-time acquisition unit 12, and the inter-time acquisition unit 13;
[47] 调整单元 17, 用于根据存储单元 15存储的工作路径的接口和备用路径的接口吋 间信息, 调整备用路径的接口发送下行帧头的吋间。 具体的, 若备用路径的接 口接收 ONU的上行帧头的吋间晚于工作路径的接口接收到来自 ONU的上行帧头 的吋间, 调整吋间为 Tl, 从备用路径的接口发送的下行帧头比工作路径的接口 发送的下行帧头提前 Tl吋刻; 若从备用路径的接口接收到来自 ONU的上行帧头 的吋间早于从工作路径的接口接收 ONU上行帧头的吋间, 调整吋间为 T2, 备用 路径的接口使用比工作路径的接口滞后 T2吋刻的吋钟帧头作为下行帧头。 上述 发送下行帧头的吋间也可以是下行帧头的位置的吋间量。 调整单元 17也可以调 整备用路径接口接收上行帧头的吋间, 或调整上行帧头的位置的吋间量。 也就 是说, 调整单元 17根据存储单元 15存储的调整吋间调整在备用路径的接口上传 输帧头的吋间使调整吋间后在备用路径上传输的帧在到达接收端吋帧头位置和 在工作路径上传输的帧在到达接收端吋的帧头位置一致, 所述传输帧头的吋间 包括发送下行帧头的吋间或接收上行帧头的吋间, 即包括如下两种情况: a) 调 整发送下行帧头的吋间使得调整吋间后备用路径上传输的下行帧到达接收端 ON U吋帧头位置和工作路径的传输的下行帧到达接收端 ONU吋的帧头位置一致; b ) 调整接收上行帧头的吋间使得调整吋间后在备用路径上传输的上行帧到达接 收端 OLT吋的帧头位置和主用路径上传输的上行帧到达接收端 OLT吋帧头位置一 致。 [47] The adjusting unit 17 is configured to adjust, according to the interface of the working path stored by the storage unit 15 and the inter-interface information of the alternate path, the interface of the alternate path to send the downlink frame header. Specifically, if the interface of the alternate path receives the uplink frame header of the ONU and the interface of the working path is received by the interface of the ONU, the adjustment frame is T1, and the downlink frame sent from the interface of the alternate path Head than working path interface The transmitted downlink frame header is advanced by T1; if the uplink frame header from the ONU is received from the interface of the alternate path earlier than the interface of the ONU uplink frame header from the interface of the working path, the adjustment time is T2, and the backup is performed. The interface of the path uses the clock frame header of the lag T2 engraved than the interface of the working path as the downlink frame header. The time interval for transmitting the downlink frame header may be the amount of time between the positions of the downlink frame headers. The adjusting unit 17 can also adjust the time interval at which the alternate path interface receives the uplink frame header or adjust the position of the upstream frame header. That is to say, the adjusting unit 17 adjusts the transmission of the frame header on the interface of the alternate path according to the adjustment of the adjustment time stored by the storage unit 15, so that the frame transmitted on the alternate path after the adjustment is reached at the receiving end frame position and The frames transmitted on the working path are consistent in the frame header position of the receiving end, and the time of the transmitting frame header includes the time interval of transmitting the downlink frame header or the time interval of receiving the uplink frame header, that is, the following two cases are included: Adjusting the time interval for transmitting the downlink frame header so that the downlink frame transmitted on the alternate path after the adjustment is reached to the receiving end. The U-frame header position and the downlink frame of the working path are the same as the frame header position of the receiving end ONU吋; b Adjusting the time interval of receiving the uplink frame header so that the frame header position of the uplink frame transmitted on the alternate path after the adjustment period reaches the receiving end OLT吋 and the uplink frame transmitted on the primary path reach the receiving end OLT frame header position.
[48] 倒换控制单元 19, 用于在调整单元 17调整备用路径的接口发送下行帧头或接收 上行帧头的吋间后, 控制工作路径的接口到备用路径的接口的倒换。  [48] The switching control unit 19 is configured to control the switching of the interface of the working path to the interface of the standby path after the interface of the adjusting path of the adjusting unit 17 transmits the downlink frame header or receives the uplink frame header.
[49] 其中, 主备倒换装置中的第一吋间获取单元 11和第二吋间获取单元 12可以只需 要其中任何一个, 也可以两个同吋存在。  [49] The first inter-turn acquisition unit 11 and the second inter-turn acquisition unit 12 in the active/standby switching device may need only one of them, or two of them.
[50] 另外, 第一吋间获取单元 11可以通过监控工作路径的接口功能模块, 记录工作 路径的接口功能模块发送下行帧头的吋间, 和 /或可以通过检测同步信号, 根据 检测到的同步信号获取从工作路径的接口发送下行帧头的吋间。 第一吋间获取 单元 11通过监控备用路径的接口功能模块, 记录上行帧头到达备用路径的接口 功能模块的吋间, 从而获得从备用路径的接口接收上行帧头的吋间。 第二吋间 获取单元 12可以通过对工作路径的接口功能模块和备用路径的接口功能模块进 行监控, 检测到工作路径的接口功能模块发送下行帧头吋开始计吋, 检测到备 用路径的接口功能模块接收到上行帧头吋结束计吋, 从而得到从工作路径的接 口发送下行帧头和从备用路径的接口接收到上行帧头之间的吋间差。  [50] In addition, the first inter-frame acquisition unit 11 may transmit an interface function module of the working path by transmitting an interface function module of the working path, and may send a downlink frame header, and/or may detect the synchronization signal according to the detected The synchronization signal acquisition sends the downlink frame header from the interface of the working path. The first inter-time acquisition unit 11 records the inter-frame of the interface function module of the uplink frame header to the alternate path by monitoring the interface function module of the alternate path, thereby obtaining the time interval of receiving the uplink frame header from the interface of the alternate path. The second inter-time obtaining unit 12 can monitor the interface function module of the working path and the interface function module of the standby path, and the interface function module that detects the working path sends the downlink frame header to start counting, and detects the interface function of the alternate path. The module receives the uplink frame header and ends the calculation, thereby obtaining the inter-turn difference between the downlink frame header sent from the interface of the working path and the uplink frame header received from the interface of the alternate path.
[51] 如图 4所示为基于图 3的一个具体实例。 本发明的实施例提供了一种无源光网络 中的网络设备, 负责业务处理分发、 ONU的管理、 同步吋钟处理等。 在本发明 的实施例中, 如图 4所示, 该网络设备 300包括: [51] As shown in FIG. 4, a specific example based on FIG. Embodiments of the present invention provide a passive optical network The network equipment in the network is responsible for business processing and distribution, ONU management, and synchronous clock processing. In the embodiment of the present invention, as shown in FIG. 4, the network device 300 includes:
[52] 一个或多个网络侧业务接口功能模块 PON [52] One or more network side service interface function modules PON
NT380, 负责收发与上层网络设备的业务数据报文和 /或管理报文。  The NT380 is responsible for sending and receiving service data packets and/or management packets to the upper layer network device.
[53] 至少两个接口, 其中至少有一个备用路径的接口, 当与备用路径的接口对应的 工作路径的接口需要切换吋, 可以从该工作路径的接口切换到备用路径的接口 [53] At least two interfaces, at least one of which has an alternate path. When the interface of the working path corresponding to the interface of the alternate path needs to be switched, the interface can be switched from the interface of the working path to the interface of the alternate path.
[54] 至少两个逻辑独立的线路接口功能模块 PON LT [54] At least two logically independent line interface function modules PON LT
340, 分别对应一个接口, 完成线路接口终结, 并和网络侧业务接口功能模块 38 0互通。  340, corresponding to one interface, complete the line interface termination, and interwork with the network side service interface function module 38 0.
[55] 其中, 每一线路接口功能模块 PON  [55] Among them, each line interface function module PON
LT340包括至少一个光电转换模块 342和至少一个报文处理模块 344, 如图 4中所 示, PON  The LT 340 includes at least one optoelectronic conversion module 342 and at least one message processing module 344, as shown in Figure 4, PON
LT340-1包括两个光电转换模块 342-11、 342-12, 一个报文处理模块 344-1。 报文 处理模块 344负责业务处理、 同步吋钟处理、 帧头处理等功能。 光电转换模块 34 2实现光电变换和 /或电光变换, 可以是收发一体的模块也可以是收发分离的模块 。 其中, 图 4描述的设备中报文处理模块 344-1、 344-M上分别有两个光电转换模 块只是一个示例, 每个报文处理模块所接的光电转换模块不限制, 可以是一个 , 两个, 三个, 或者四个等等。 在上下文中以两个光电转换模块为例, 如无特 殊说明不再赞述。 The LT340-1 includes two photoelectric conversion modules 342-11, 342-12, and a message processing module 344-1. The message processing module 344 is responsible for functions such as service processing, synchronization clock processing, and frame header processing. The photoelectric conversion module 34 2 realizes photoelectric conversion and/or electro-optical conversion, and may be a module that is integrated and received, or a module that is separated and transmitted. There are two photoelectric conversion modules on the packet processing modules 344-1 and 344-M in the device described in FIG. 4, which are only one example. The photoelectric conversion module connected to each packet processing module is not limited and may be one. Two, three, or four, and so on. In the context, two photoelectric conversion modules are taken as an example, and are not mentioned unless otherwise specified.
[56] 在本发明实施例中为实现保护倒换功能, 网络设备 300包括一个控制模块 360, 能够执行保护倒换的控制功能, 控制模块 360的结构与图 3中所示的倒换装置的 结构一致, 包括第一吋间获取单元 11和 /或第二吋间获取单元 12、 调整吋间获取 单元 13、 存储单元 15, 调整单元 17以及倒换控制单元 19。 控制模块 360的这些单 元的功能见图 3中倒换装置的具体结构及描述, 在此不进行重复描述。 其中光接 收模块 342-11和光发射模块 342-12也可是收发一体的光收发模块 (图中未示出) 。 以 PON LT340-1作为工作路径的接口功能模块, PON  In the embodiment of the present invention, in order to implement the protection switching function, the network device 300 includes a control module 360, which can perform a control function of protection switching. The structure of the control module 360 is consistent with the structure of the switching device shown in FIG. The first inter-turn acquisition unit 11 and/or the second inter-time acquisition unit 12, the adjustment inter-time acquisition unit 13, the storage unit 15, the adjustment unit 17, and the switching control unit 19 are included. The functions of these units of the control module 360 are shown in the specific structure and description of the switching device in Fig. 3, and will not be repeatedly described herein. The optical receiving module 342-11 and the optical transmitting module 342-12 may also be an integrated optical transceiver module (not shown). Interface function module with PON LT340-1 as working path, PON
LT340-M作为备用路径的接口功能模块为例, 报文处理模块 344-1将下行帧头发 送给控制模块 360, 报文处理模块 344-M将接收到的上行帧头发送给控制模块 360 , 因此控制模块 360的第一吋间获取单元和 /或第二吋间获取单元可以根据报文处 理模块 340-1和报文处理模块 340-M发送的帧头获得从工作路径的接口发送下行 帧头到从备用路径的接口接收上行帧头之间的吋间。 帧头同步模块 390还可以将 下行同步吋钟信号提供给控制模块 360, 以便控制模块 360可以根据下行同步吋 钟信号获得从主用端口发送下行帧头的吋间或作为从主用端口发送下行帧头的 参考。 Taking the LT340-M as an interface function module of the alternate path, the message processing module 344-1 will lower the frame hair. The control module 360 sends the received uplink frame hair to the control module 360. Therefore, the first inter-frame acquisition unit and/or the second inter-frame acquisition unit of the control module 360 can be configured according to the message. The header sent by the processing module 340-1 and the message processing module 340-M obtains the time between transmitting the downlink frame header from the interface of the working path to receiving the uplink frame header from the interface of the alternate path. The frame header synchronization module 390 can also provide the downlink synchronization chirp signal to the control module 360, so that the control module 360 can obtain the downlink frame header from the primary port according to the downlink synchronization chirp signal or send the downlink frame from the primary port. Head reference.
[57] 如图 5所示为本发明实施例提供的另一种网络设备示意图。 在图 5中的网络设备 400包括至少两个 PON LT420 (如 PON LT  FIG. 5 is a schematic diagram of another network device according to an embodiment of the present invention. The network device 400 in Figure 5 includes at least two PON LTs 420 (e.g., PON LT
420-1, ..., 420-M) 、 网络侧业务接口模块 380和帧头同步模块 390。 和图 4中 PO N LT340类似, 每个 PON  420-1, ..., 420-M), network side service interface module 380 and frame header synchronization module 390. Similar to PO N LT340 in Figure 4, each PON
LT上包括至少一个报文处理模块 344, 每一个报文处理模块 344耦接至少一个光 电转换模块 342, 如图 5中 PON  The LT includes at least one message processing module 344, and each of the message processing modules 344 is coupled to at least one of the photoelectric conversion modules 342, such as the PON in FIG.
LT420-1上包括报文处理模块 344-1, 光电转换模块 342-11、 342-12。 与图 4中 PO N LT340不同的是, 每一个 PON  The LT420-1 includes a message processing module 344-1, photoelectric conversion modules 342-11, 342-12. Unlike the PO N LT340 in Figure 4, each PON
LT420上包括一个控制模块 360, 和自身所在的 PON LT及其它 PON  The LT420 includes a control module 360, and its own PON LT and other PONs.
LT上的报文处理模块耦接, 能够接收报文处理模块发送的帧头。 具体的, 以 PO The message processing module on the LT is coupled to receive a frame header sent by the message processing module. Specifically, to PO
N LT420-M为备用路径的接口功能模块, PON N LT420-M is the interface function module of the alternate path, PON
LT420-1为工作路径的接口功能模块由控制模块 360-M执行倒换控制功能为例, 控制模块 360-M接收报文处理模块 344-1发送的下行帧头, 以及接收来自报文处 理模块 344-M发送的上行帧头, 从而得到从工作路径的接口发送下行帧头的吋间 和从备用路径的接口接收上行帧头的这两个吋间, 和 /或得到从工作路径的接口 发送下行帧头的吋间和从备用路径的接口接收上行帧头的之间的吋间差。 PON LT420-M也可以通过帧头同步模块 390提供的吋钟信号获得主用端口发送下行帧 头的吋间或作为从主用端口发送下行帧头的参考。 通过使用本发明上述实施例 提供的倒换的装置, 调整从备用路径的接口发送下行帧头或接收上行帧头的吋 间, 使备用路径上传输的帧的到达接收端吋的帧头位置和在工作路径上传输的 帧到达接收端吋的帧头位置一致。 釆用这种方式进行端口的主备倒换, 避免了 0 NU进入重新注册和测距状态, 节约了大量的倒换吋间, 同吋 ONU不需要下线, 对业务几乎没有影响。 The LT420-1 is an interface function module of the working path. The control module 360-M performs the switching control function as an example. The control module 360-M receives the downlink frame header sent by the message processing module 344-1, and receives the packet processing module 344. - The uplink header sent by the M, so that the two frames of the downlink header are transmitted from the interface of the working path and the uplink header is received from the interface of the alternate path, and/or the downlink is sent from the interface of the working path. The inter-turn difference between the header of the frame header and the interface of the alternate path is received. The PON LT420-M can also obtain the reference for transmitting the downlink header by the primary port or the reference for transmitting the downstream header from the primary port by using the chirp signal provided by the frame header synchronization module 390. By using the switching device provided by the foregoing embodiment of the present invention, adjusting the time frame of transmitting the downlink frame header or receiving the uplink frame header from the interface of the alternate path, so that the frame header position of the frame transmitted on the alternate path arrives at the receiving end The frame transmitted on the working path arrives at the receiving end and the frame header position is the same.釆In this way, the active/standby switchover of the port is performed, avoiding 0. The NU enters the re-registration and ranging state, which saves a lot of switching time. The same ONU does not need to go offline, and has almost no impact on the business.
[58] 在本发明的实施例中, 可以实现  [58] In an embodiment of the present invention, it can be implemented
"1: Γ保护, 也可以实现 "1 : N"保护。 其中, "1 : Γ保护表示每一个工作路径的 接口都有一个备用路径的接口作备份; "1 : N"保护表示 N个工作路径的接口共享 一个备用路径的接口。 对于 "1 : N"保护的实现方法, 与上述 "1 : 1 "保护的方法 类似, 在此不进行重复描述。  "1: Γ protection, can also achieve "1: N" protection. Among them, "1 : Γ protection means that each working path interface has an alternate path for backup; "1 : N" protection means N work The interface of the path shares the interface of an alternate path. The implementation of the "1: N" protection is similar to the above "1: 1" protection method and will not be repeated here.
[59] 根据本发明实施例, 光接入系统包括光线路终端和光网络单元, 所述光线路终 端和所述光网络单元之间的连接路径包括工作路径和备用路径, 所述光线路终 端包括第一接口和第二接口, 所述第一接口耦接工作路径, 所述第二接口耦接 备用路径, 所述光线路终端, 用于获取从第一接口发送下行帧头和从第二接口 接收上行帧头的两个吋间点的吋间和 /或两个吋间点之间的吋间差, 根据所述两 个吋间点的吋间和 /或两个吋间点之间的吋间差, 获取在第二接口上传输帧头的 调整吋间; 根据所述调整吋间调整在所述第二接口传输帧头的吋间, 执行从工 作路径到备用路径的倒换, 其中, 所述在第二接口上传输帧头包括在第二接口 上发送下行帧头或在第二接口上接收上行帧头。  According to an embodiment of the present invention, an optical access system includes an optical line terminal and an optical network unit, and a connection path between the optical line terminal and the optical network unit includes a working path and an alternate path, where the optical line terminal includes The first interface and the second interface, the first interface is coupled to the working path, and the second interface is coupled to the standby path, where the optical line terminal is configured to acquire a downlink frame header and a second interface from the first interface. Receiving the inter-turn difference between the two inter-turn points of the upstream frame header and/or between the two inter-turn points, according to the inter-turn between the two inter-turn points and/or between the two inter-turn points Inter-time difference, obtaining an adjustment period for transmitting a frame header on the second interface; performing, according to the adjusting the inter-turn adjustment, a switching from a working path to an alternate path during a transmission of the frame header of the second interface, where The transmitting the frame header on the second interface includes transmitting a downlink frame header on the second interface or receiving an uplink frame header on the second interface.
[60] 下面对图 2、 3、 4中相应的控制功能模块的倒换控制方法进一步说明。 以线路 接口功能模块 PON LT420-M作为 PON  [60] The following describes the switching control method of the corresponding control function module in Figures 2, 3 and 4. Line interface function module PON LT420-M as PON
LT420-1的备份为例, 光电转换模块 342-11为光发射模块, 光电转换模块 342-12 为光接收模块, 光电转换模块 342-M1为光发射模块, 光电转换模块 342-M2为光 接收模块, 即光电转换模块 342-11发送的下行光信号通过工作路径 (或称作主用 路径) 发送给光网络单元, 光电转换模块 342-M2接收来自备用路径的上行光信 号。  The backup of the LT420-1 is taken as an example. The photoelectric conversion module 342-11 is a light emitting module, the photoelectric conversion module 342-12 is a light receiving module, the photoelectric conversion module 342-M1 is a light emitting module, and the photoelectric conversion module 342-M2 is a light receiving module. The module, that is, the downstream optical signal transmitted by the photoelectric conversion module 342-11, is sent to the optical network unit through a working path (or referred to as a primary path), and the photoelectric conversion module 342-M2 receives the upstream optical signal from the alternate path.
[61] 在正常通信过程中, 获得从工作路径的接口发送下行帧头和从备用路径的接口 接收上行帧头的两个吋间点的吋间, 和 /或获得从工作路径的接口发送下行帧头 和从备用路径的接口接收上行帧头的两个吋间点之间的吋间差, 在需要从工作 路径的接口切换到备用路径的接口吋, 根据上述获得的吋间和 /或吋间差调整备 用路径的接口发送下行帧头的吋间, 使从备用路径的接口发送的下行帧头和从 工作路径的接口发送的下行帧头到达 ONU的吋间一致, 吋间调整之后执行从工 作路径的接口到备用路径的接口的倒换, 从而实现 OLT设备端口的主备倒换。 [61] In the normal communication process, the downlink header is sent from the interface of the working path and the two headers of the uplink header are received from the interface of the alternate path, and/or the downlink is obtained from the interface of the working path. The frame header and the inter-turn difference between the two inter-turn points of the uplink frame header are received from the interface of the alternate path, and the interface that needs to be switched from the interface of the working path to the alternate path, according to the above-mentioned inter-day and/or 吋The interface of the inter-differential adjustment alternate path sends the downlink frame header and the downstream frame header and slave sent from the interface of the alternate path. The downlink frame header sent by the interface of the working path is consistent with the ONU. After the time adjustment, the interface from the working path to the backup path is switched, so that the active/standby switchover of the OLT device port is implemented.
[62] 具体的, 如图 6所示, 本发明实施例中的 OLT设备倒换方法包括以下步骤: [63] 步骤 s601、 获取从工作路径的接口发送下行帧头和从备用路径的接口接收上行 帧头的两个吋间点的吋间, 和 /或获得从主用接口发送下行帧头和从备用路径的 接口接收上行帧头的两个吋间点之间的吋间差; [62] Specifically, as shown in FIG. 6, the OLT device switching method in the embodiment of the present invention includes the following steps: [63] Step s601: Acquire a downlink frame header from an interface of the working path and receive an uplink from an interface of the alternate path. The inter-turn between the two inter-points of the frame header, and/or the inter-turn difference between the two inter-points that receive the downlink header from the primary interface and the upstream header from the interface of the alternate path;
[64] 步骤 s602、 根据上述两个吋间点的吋间和 /或两个吋间点之间的吋间差调整从备 用路径的接口发送下行帧头的吋间, 使其与从工作路径的接口发送的下行帧头 到达 ONU的吋间一致。 [64] Step s602: Send a downlink frame header from the interface of the alternate path according to the inter-turn difference between the two inter-turn points and/or between the two inter-turn points, so as to make it and the slave working path The downlink frame header sent by the interface reaches the ONU's time.
[65] 步骤 s603、 执行工作路径的接口到备用路径的接口的倒换。 [65] Step s603: Perform the switching of the interface of the working path to the interface of the alternate path.
[66] 具体的, 本发明的一个实施例中, 可以通过监测工作路径的接口功能模块和备 用路径的接口功能模块, 获得从工作路径的接口发送下行帧头和从备用路径的 接口接收上行帧头的两个吋间点的吋间和 /或两个吋间点之间的吋间差; 这种方 法为釆用互送帧头的方法, 工作路径的接口功能模块在向 ONU发送下行帧头吋 , 同吋将该下行帧头发送给控制模块, 例如, 将下行帧头驱动成两路, 一路发 送给 ONU, 另一路发送给控制模块。 控制模块接收到工作路径的接口功能模块 发送的下行帧头后, 可以获得工作路径的接口的下行帧头位置, 这个下行帧头 位置的吋间点可以通过内部的高频吋钟记录下来, 接口倒换吋调整备用路径的 接口发送下行帧头的吋间, 使备用路径上传输的帧到达接收端吋的帧头位置和 工作路径上传输的帧到达接收端吋的帧头位置一致。 或不调整备用路径接口发 送下行帧头的吋间, 而调整备用路径接口接收上行帧头的吋间, 或调整下行帧 头的位置的吋间量, 或调整上行帧头的位置的吋间量。 [66] Specifically, in an embodiment of the present invention, the interface function module of the working path and the interface function module of the standby path may be configured to obtain a downlink frame header from the interface of the working path and an uplink frame from the interface of the standby path. The inter-turn difference between the two inter-turn points of the head and/or between the two inter-turn points; this method is to use the method of mutually transmitting the frame header, and the interface function module of the working path sends the downlink frame to the ONU. Header, the peer sends the downlink frame hair to the control module. For example, the downlink frame header is driven into two paths, one is sent to the ONU, and the other is sent to the control module. After receiving the downlink frame header sent by the interface function module of the working path, the control module can obtain the downlink frame header position of the interface of the working path, and the time point of the downlink frame header position can be recorded by the internal high frequency chirp, the interface The switch that adjusts the alternate path sends the downlink header, so that the frame transmitted on the alternate path arrives at the receiving end and the frame transmitted on the working path arrives at the receiving end. Or not adjusting the alternate path interface to send the time of the downlink frame header, and adjusting the alternate path interface to receive the time of the uplink frame header, or adjusting the amount of time of the downlink frame header, or adjusting the amount of the position of the uplink frame header. .
[67] 在本发明的另一实施例中, 也可以监测帧头同步模块和备用路径的接口功能模 块, 获得从工作路径的接口发送下行帧头和从备用路径的接口接收上行帧头的 两个吋间点的吋间和 /或两个吋间点之间的吋间差, 其中, 所述帧头同步模块提 供工作路径的接口和备用路径的接口的同步帧头。 提供了两种获取从工作路径 的接口发送下行帧头的吋间的方法。 这种方法为釆用同步帧头的方法, 通过帧 头同步模块使工作路径的接口功能模块和备用路径的接口功能模块发送下行帧 头同步, 即控制模块直接检测统一的下行同步帧头得到从主用接口发送下行帧 头的吋间, 工作路径的接口的下行帧头位置, 这个下行帧头位置的吋间点可以 通过内部的高频吋钟记录下来, 接口倒换吋调整备用路径的接口传输帧头的吋 间, 使备用路径上传输的帧到达接收端吋的帧头位置和工作路径上传输的帧到 达接收端吋的帧头位置一致, 或不调整备用路径接口发送下行帧头的吋间, 而 调整下行帧头的位置的吋间量, 或调整上行帧头的位置的吋间量。 In another embodiment of the present invention, the interface function module of the frame header synchronization module and the alternate path may also be monitored, and the downlink frame header is sent from the interface of the working path and the uplink frame header is received from the interface of the alternate path. The inter-turn difference between the inter-turn points and/or the two inter-turn points, wherein the frame header synchronization module provides an interface of the working path and a sync frame header of the interface of the alternate path. Two methods are provided for obtaining the inter-frame of the downstream frame header from the interface of the working path. In this method, the synchronization frame header is used, and the interface function module of the working path and the interface function module of the alternate path are sent by the frame header synchronization module to send the downlink frame. Head synchronization, that is, the control module directly detects the unified downlink synchronization frame header to obtain the downlink frame header position of the interface of the working path from the primary interface, and the downlink header position of the interface of the working path can pass through the internal The high frequency chime is recorded, the interface is switched, and the interface of the alternate path is adjusted to transmit the frame header, so that the frame transmitted on the alternate path reaches the frame header position of the receiving end and the frame transmitted on the working path reaches the frame of the receiving end frame. The head position is the same, or the alternate path interface is not adjusted to transmit the time of the downlink frame header, and the amount of time of the position of the downlink frame header is adjusted, or the amount of time of the position of the uplink frame header is adjusted.
[68] 还提供一种通过同步吋间系统, 在工作路径的帧头同步模块中记录工作路径的 下行帧头的吋间点, 通过互通信息通道发送给备用路径的帧头同步模块, 从而 使得备用路径获得工作路径的下行帧头位置。  [68] further provides a frame header synchronization module that records a downlink frame header of a working path in a frame header synchronization module of a working path by using a synchronous inter-chamber system, and transmits the frame header synchronization module to the alternate path through the interworking information channel, thereby The alternate path gets the downstream frame header position of the working path.
[69] 上面的控制可以在独立的控制功能实体上完成, 即控制模块可以设置在独立的 控制功能实体上, 对多个工作路径的接口功能模块和保护线路接口功能模块的 集中控制, 釆用这种方式可以实现多个线路接口功能模块的集中控制, 更便于 系统调度, 配置维护和管理, 特别是 1 : N或 x:N (X表示大于 1的自然数, N表示 大于 1的自然数) 的保护系统可以降低控制复杂度。  [69] The above control can be completed on an independent control function entity, that is, the control module can be set on an independent control function entity, centralized control of interface function modules and protection line interface function modules of multiple working paths, This method can realize centralized control of multiple line interface function modules, which is more convenient for system scheduling, configuration maintenance and management, especially 1: N or x: N (X represents a natural number greater than 1, and N represents a natural number greater than 1) Protection systems can reduce control complexity.
[70] 上面的控制也可以在具有控制模块的备用路径的接口功能模块上完成, 即控制 模块可以设置在备用路径的接口功能模块上, 这种方式对于 1 : 1的保护优势更 明显, 保护倒换更迅速。  [70] The above control can also be done on the interface function module with the alternate path of the control module, that is, the control module can be set on the interface function module of the alternate path, which is more obvious for the protection advantage of 1:1, protection The exchange is faster.
[71] 为了调整备用路径的接口功能模块发送下行帧头的吋间, 需要获得调整吋间, 具体包括:  [71] In order to adjust the interface function module of the alternate path to send the downlink frame header, the adjustment time needs to be obtained, including:
[72] 控制模块检测到工作路径的接口功能模块的下行帧头的位置, 如接收到工作路 径的接口功能模块发送的下行帧头或接收到帧头同步模块发送的下行帧头参考 信号吋, 记录该吋间点的吋间 Tl, 具体的, 该吋间点可以通过内部高频吋钟确 定。 备用路径的接口功能模块接收上行帧, 检测出上行帧头吋记录该吋间点的 吋间 Τ2, 然后利用 T1和 Τ2计算出调整吋间 Τ, 以一个上下行往返周期为例, 调整 吋间 Τ可用下式得到:  [72] The control module detects the position of the downlink frame header of the interface function module of the working path, such as the downlink frame header sent by the interface function module that receives the working path or the downlink frame header reference signal sent by the frame header synchronization module, The inter-turn T1 of the inter-turn point is recorded. Specifically, the inter-turn point can be determined by an internal high-frequency chime. The interface function module of the alternate path receives the uplink frame, detects the uplink frame header, records the time Τ2 of the time point, and then uses T1 and Τ2 to calculate the adjustment time, and takes an uplink and downlink round trip cycle as an example to adjust the daytime interval. Τ can be obtained by:
[73] T=T2-Tl-2*Tf-Tr (1)  [73] T=T2-Tl-2*Tf-Tr (1)
[74] 上式 (1) 中, T2表示备用路径的接口功能模块接收到上行帧头的吋间, T1表 示工作路径的接口功能模块发送下行帧头的吋间, Tf表示一个帧的帧长周期 (如 GPON中一个帧的帧长周期为 125μ§) , Tr为 ONU的响应吋间。 其中, Tf可以根 据系统协议规定的帧长周期确定, Tr可以包括如下至少一种: ONU自身的响应 吋间、 系统要求 ONU的等待吋延和均衡吋延 EQD等。 为了简化处理, Tr的取值 可以釆用一个均值代替; 但考虑到 ONU和线路的特殊性, 可以维护一个信息表 , 记录每一个 ONU的吋间 Tr和每一个 ONU的 T2和 T1等信息, 根据信息表计算每 一个 ONU的吋间 T。 [74] In the above formula (1), T2 indicates that the interface function module of the alternate path receives the time of the uplink frame header, T1 indicates that the interface function module of the working path transmits the time of the downlink frame header, and Tf indicates the frame length of one frame. Cycle (eg The frame length of one frame in GPON is 125μ § ), and Tr is the response time of the ONU. The Tf may be determined according to a frame length period specified by the system protocol, and the Tr may include at least one of the following: an ONU's own response time, a system requiring the ONU to wait for delay, and an equalization delay EQD. In order to simplify the processing, the value of Tr can be replaced by a mean value; but considering the particularity of the ONU and the line, an information table can be maintained, and information such as the inter-turn Tr of each ONU and the T2 and T1 of each ONU can be recorded. The inter-turn T of each ONU is calculated according to the information table.
[75] 根据上面的描述, 调整吋间 Τ可用下式得到:  [75] According to the above description, the adjustment time can be obtained by:
[76] Τ=ΔΤ -2*Tf-Tr (2)  [76] Τ=ΔΤ -2*Tf-Tr (2)
[77] 上式 (2) 中, ΔΤ  [77] In the above formula (2), ΔΤ
=T2-T1 , 可以通过计吋器得到, 釆用这种方法可以不需要知道每一个吋间点的 具体吋间, 只需要知道这两个吋间点之间的吋间; Tf和 Tr与公式 (1) 中的相同 , 不再赞述。  =T2-T1 can be obtained by the meter. This method does not need to know the specific time between each point, only need to know the time between the two points; Tf and Tr and The same in equation (1), no longer praise.
[78] 值得注意的是, 上式 (1) 和 (2) 不仅限于一个上下行周期的应用, 可扩展到 多个上下行周期的应用, 另外, 公式中的简单变化, 如加上误差调整吋间等都 在本发明的保护范围之内。  [78] It is worth noting that the above equations (1) and (2) are not limited to the application of one uplink and downlink cycle, but can be extended to multiple uplink and downlink cycles. In addition, simple changes in the formula, such as error adjustment. The daytime and the like are all within the scope of the present invention.
[79] 由于 ONU有如下几种状态: 01 : ONU刚上电, 处于初始状态;;  [79] Since the ONU has the following states: 01 : The ONU is just powered on, in the initial state;
02: ONU等待接收网络参数状态; 03: 0NU等待接收 serial number request 状态; 04: 测距状态; 05: 运行状态 (正常态) ; 06: POPUP  02: ONU waits to receive network parameter status; 03: 0NU waits to receive serial number request status; 04: Ranging status; 05: Running status (normal status); 06: POPUP
State (等待状态) ; 07: 紧急停止状态。 如果 0NU没有接收到业务会从 05 (正 常状态) 进入 06 (等待状态) , 或者在特定情况如数据冲突, 会从 05 (正常状 态) 进入 07: 紧急停止状态。 为了解决上述问题, 可以通过调整备用路径的接 口功能模块发送下行帧的帧头, 使得从备用路径的接口发送的下行帧头和从主 用接口发送的下行帧到达 0NU的吋间一致, 不会对 0NU业务接收带来影响, 下 面具体描述调整备用路径的接口功能模块发送下行帧头的吋间:  State (waiting state); 07: Emergency stop state. If 0NU does not receive the service, it will enter 06 (waiting state) from 05 (normal state), or in certain situations such as data conflict, it will enter 07: emergency stop state from 05 (normal state). In order to solve the above problem, the frame header of the downlink frame may be sent by adjusting the interface function module of the alternate path, so that the downlink frame header sent from the interface of the alternate path and the downlink frame sent from the primary interface reach the time of the ONU are not consistent. Impact on the reception of the 0NU service. The following describes the interface function module that adjusts the alternate path to send the downlink header:
[80] 为了调整吋间, 还需要确定调整方向, 如比较所述从第二接口接收上行帧头的 吋间和从第一接口发送下行帧头的吋间; 当从所述第二接口接收上行帧头的吋 间比从第一接口发送下行帧头的吋间大于预定值吋, 确定需要提前; 当从所述 从第二接口接收上行帧头的吋间和从第一接口发送下行帧头的吋间小于预定值 吋, 确定需要延后。 这个预定值可以根据具体情况设定, 如式 (1) 和 (2) , 预定值可设为 0; 其中, 如果直接比较 ΔΤ, 则预定值为 2*Tf+Tr。 [80] In order to adjust the inter-turn, it is also necessary to determine an adjustment direction, such as comparing the time between receiving the uplink header from the second interface and transmitting the downlink header from the first interface; when receiving from the second interface The time between the uplink frame header and the downlink frame header sent from the first interface is greater than a predetermined value, and the determination needs to be advanced; when the uplink frame header is received from the second interface, and the downlink frame is sent from the first interface. The head of the head is less than the predetermined value Hey, make sure you need to delay. This predetermined value can be set according to the specific conditions, such as equations (1) and (2), and the predetermined value can be set to 0; wherein, if ΔΤ is directly compared, the predetermined value is 2*Tf+Tr.
[81] 当需要接口倒换吋, 假如工作线路接口的倒换吋间为 TO, 此吋, 备用线路接口 发送下行帧头的吋间调整为 TO— T, 即如果调整吋间1>0, 将备用路径的接口功 能模块发送下行帧头的吋间提前 Τ吋间发送, 如果调整吋间 Τ<0, 将备用路径的 接口功能模块发送下行帧头的吋间延后 Τ吋间发送。 当然, 也可以不知道工作线 路接口的倒换吋间 Τ0, 例如利用每一个帧发送周期的参考吋间点, 以该参考吋 间点为依据调整吋间。 [81] When interface switching is required, if the switching time of the working line interface is TO, then the alternate line interface sends the downlink frame header to the TO-T, that is, if the time 1>0 is adjusted, it will be used. The interface function module of the path sends the inter-time transmission of the downlink frame header. If the inter-turn time is <0, the interface function module of the alternate path sends the inter-turn delay of the downlink frame header. Of course, it is also possible to not know the switching time Τ0 of the working line interface, for example, using the reference time point of each frame transmission period, and adjusting the time based on the reference point.
[82] 如果调整吋间 Τ>0, 即发送吋间点提前的情况, 在执行倒换前, 将先通过上层 网络或者上层业务通道等备份业务, 同吋备份工作路径的接口功能模块管理 ON U的信息, 例如均衡吋延 EQD等。 主备倒换吋, 控制模块控制工作路径的接口功 能模块停止发送, 备用路径的接口功能模块被指定为工作路径的接口功能模块 , 开始打开下行发送, 使用经过调整的发送吋间点的吋钟帧头作为下行发送帧 头。  [82] If the adjustment time is >0, that is, the case where the time is advanced, the backup service will be backed up through the upper layer network or the upper layer service channel before the switchover, and the interface function module of the backup work path is managed as ON U. Information such as equalization delay EQD. After the master/slave switchover, the interface function module of the control module controls the working path stops transmitting, and the interface function module of the alternate path is designated as the interface function module of the working path, starts to open the downlink transmission, and uses the adjusted transmission time frame of the time frame. The header is used as the downlink transmission frame header.
[83] 如果调整吋间 T<0, 即发送吋间点延后的情况, 由于从备用路径的接口发送的 下行帧头比原来从工作路径的接口发送的下行帧头延后了吋间 Τ, 因此从备用路 径的接口发送的下行帧头到达 ONU的吋间和从工作路径的接口发送的下行帧头 到达 ONU的吋间一致, OLT的下行帧头对 ONU来说没有改变,  [83] If the adjustment time T<0, that is, the case where the transmission point is delayed, the downlink frame header sent from the interface of the alternate path is delayed later than the downlink frame header originally sent from the interface of the working path. Therefore, the downlink frame header sent from the interface of the alternate path arrives at the ONU and the downlink frame header sent from the interface of the working path arrives at the ONU. The downlink frame header of the OLT does not change for the ONU.
ONU进入重新注册和测距状态, 节约了大量的倒换吋间, 同吋 ONU没有下线, 对业务几乎没有影响。  The ONU enters the re-registration and ranging state, which saves a lot of switching time. The same ONU does not go offline, and has almost no impact on the business.
[84] 另外, 为了使得 ONU上行的帧头到达倒换后的工作路径的接口的吋间满足标准 要求, 需要对 ONU上的 EQD进行更新, 重新更新 EQD的方法很多, 例如按照 G.9 84.标准, 下行下发更新 EQD的命令, 将 EQD调整为 EQD-2T的吋间, 使得 ONU 的上行帧头到达倒换后的工作路径的接口的吋间满足标准要求。  [84] In addition, in order to make the ONU uplink header reach the standard requirement of the interface of the switched working path, the EQD on the ONU needs to be updated, and there are many methods for re-updating the EQD, for example, according to G.9 84. Standard, the command to update the EQD is issued in the downlink, and the EQD is adjusted to the time of the EQD-2T, so that the uplink frame header of the ONU reaches the standard requirement of the interface of the working path after the switching.
[85] 通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本发明可以 通过硬件实现, 也可以可借助软件加必要的通用硬件平台的方式来实现基于这 样的理解, 本发明的技术方案可以以软件产品的形式体现出来, 该软件产品可 以存储在一个非易失性存储介质 (可以是 CD-ROM, U盘, 移动硬盘等) 中, 包 括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络 设备等) 执行本发明各个实施例所述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware, or can be realized by means of software plus necessary general hardware platform, the present invention. The technical solution can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
[86] 以上公开的仅为本发明的几个具体实施例, 但是, 本发明并非局限于此, 任何 本领域的技术人员能思之的变化都应落入本发明的保护范围。  The above disclosure is only a few specific embodiments of the present invention, but the present invention is not limited thereto, and any changes that can be considered by those skilled in the art should fall within the protection scope of the present invention.

Claims

权利要求书 Claim
[1] 一种光接入系统的倒换方法, 所述光接入系统的局端包括第一接口和第二 接口, 所述第一接口耦接到工作路径, 所述第二接口耦接到备用路径, 其 特征在于, 包括:  [1] A method for switching an optical access system, where the central end of the optical access system includes a first interface and a second interface, the first interface is coupled to the working path, and the second interface is coupled to the second interface An alternate path, which is characterized by:
获取从第一接口发送下行帧头和从第二接口接收上行帧头的两个吋间点的 吋间或两个吋间点之间的吋间差;  Acquiring the inter-turn difference between the two inter-turn points or the two inter-turn points of the two inter-points that are sent from the first interface and the second frame from the second interface;
根据所述两个吋间点的吋间或两个吋间点之间的吋间差, 获取第一接口和 第二接口之间的调整吋间;  Obtaining an adjustment time between the first interface and the second interface according to the inter-turn difference between the two inter-turn points or between the two inter-turn points;
根据所述调整吋间调整在所述第二接口上传输帧头的吋间, 使得调整吋间 后在备用路径上传输的帧在到达接收端吋帧头位置和在工作路径上传输的 帧在到达接收端吋帧头位置一致, 所述传输帧头的吋间包括发送下行帧头 的吋间或接收上行帧头的吋间, 执行从第一接口到第二接口的倒换。  Adjusting, according to the adjusting the inter-turn, adjusting the time of the frame header on the second interface, so that the frame transmitted on the alternate path after adjusting the inter-turn is at the position of the receiving end, and the frame transmitted on the working path is The position of the frame header is the same as that of the receiving end, and the time of the transmission frame header includes the time of transmitting the downlink frame header or the time of receiving the uplink frame header, and performs switching from the first interface to the second interface.
[2] 如权利要求 1所述的方法, 其特征在于, 所述获取从第一接口发送下行帧头 和从第二接口接收上行帧头的两个吋间点的吋间或两个吋间点之间的吋间 差包括:  [2] The method according to claim 1, wherein the acquiring the downlink header from the first interface and the inter-turn or two inter-points of the two inter-frames receiving the uplink header from the second interface The difference between the turns includes:
监测第一接口的接口功能模块和第二接口的接口功能模块, 获得从第一接 口发送下行帧头和从第二接口接收上行帧头的两个吋间点的吋间或两个吋 间点之间的吋间差; 或  The interface function module of the first interface and the interface function module of the second interface are monitored, and the downlink headers sent from the first interface and the two inter-points of the uplink headers received from the second interface are obtained. Interdipual difference; or
监测帧头同步模块和第二接口的接口功能模块, 获得从第一接口发送下行 帧头和从第二接口接收上行帧头的两个吋间点的吋间或两个吋间点之间的 吋间差, 其中, 所述帧头同步模块提供第一接口和第二接口的同步帧头; 在工作路径的帧头同步模块中记录工作路径的下行帧头的吋间点, 通过互 通信息通道发送给备用路径的帧头同步模块, 使备用路径获得工作路径的 下行帧头位置, 从而获得从第一接口发送下行帧头和从第二接口接收上行 帧头的两个吋间点的吋间或两个吋间点之间的吋间差。  Monitoring the frame header synchronization module and the interface function module of the second interface, and obtaining between the two frames of the downlink header and the two headers of the uplink header from the second interface a frame header synchronization module, wherein the frame header synchronization module provides a synchronization frame header of the first interface and the second interface; and records a time point of the downlink frame header of the working path in the frame header synchronization module of the working path, and sends the information through the interworking information channel Giving the frame header synchronization module of the alternate path, so that the alternate path obtains the downlink frame header position of the working path, thereby obtaining the inter-day or two of the two inter-points that send the downlink frame header from the first interface and the uplink frame header from the second interface. The inter-turn difference between the points.
[3] 如权利要求 1所述的方法, 其特征在于, 所述方法进一步包括: [3] The method according to claim 1, wherein the method further comprises:
比较所述从第二接口接收上行帧头的吋间和从第一接口发送下行帧头的吋 间; 当从所述第二接口接收上行帧头的吋间比从第一接口发送下行帧头的吋间 大于预定值吋, 使从第二接口发送下行帧头的吋间调整成从第一接口发送 下行帧头的吋间提前所述调整吋间; Comparing the time interval between receiving the uplink frame header from the second interface and transmitting the downlink frame header from the first interface; When the timeout period of receiving the uplink frame header from the second interface is greater than the predetermined value 发送 between the times of transmitting the downlink frame header from the first interface, the time interval for transmitting the downlink frame header from the second interface is adjusted to be sent from the first interface. Adjusting the time between the time of the downlink frame header;
当从所述第二接口接收上行帧头的吋间比从第一接口发送下行帧头的吋间 小于预定值吋, 使所述从第二接口发送下行帧头的吋间调整成从第一接口 发送下行帧头的吋间延后所述调整吋间。  When the time period of receiving the uplink frame header from the second interface is less than a predetermined value 发送 between the times when the downlink frame header is sent from the first interface, the time interval for transmitting the downlink frame header from the second interface is adjusted to be from the first The interface sends the delay of the downlink frame header to the adjustment interval.
[4] 如权利要求 1所述的方法, 其特征在于, 所述方法进一步包括: [4] The method of claim 1, wherein the method further comprises:
向光网络单元发送控制帧, 更新所述光网络单元上的均衡吋延 EQD。  Sending a control frame to the optical network unit, and updating the equalization delay EQD on the optical network unit.
[5] 如权利要求 1至 4中任一项所述的方法, 其特征在于, 所述方法进一步包括 所述调整吋间由所述从第一接口发送下行帧头和从第二接口接收上行帧头 的两个吋间点的吋间、 帧长周期、 光网络单元的响应吋间确定; 或 所述调整吋间由所述从第一接口发送下行帧头和从第二接口接收上行帧头 的两个吋间点之间的吋间差、 帧长周期、 光网络单元的响应吋间确定。 [5] The method according to any one of claims 1 to 4, wherein the method further comprises: transmitting, by the adjusting, the downlink frame header from the first interface and receiving the uplink from the second interface The inter-turn of the two inter-points of the frame header, the period of the frame length, and the response of the optical network unit are determined; or the adjustment period is that the downlink frame header is sent from the first interface and the uplink frame is received from the second interface. The inter-turn difference between the two inter-turn points of the head, the frame length period, and the response of the optical network unit are determined.
[6] 一种光线路终端, 其特征在于, 所述光线路终端包括第一接口功能模块、 第二接口功能模块和控制模块, [6] An optical line terminal, wherein the optical line terminal comprises a first interface function module, a second interface function module, and a control module,
所述第一接口功能模块, 用于提供工作路径的接口处理功能; 所述第二接口功能模块, 用于提供备用路径的接口处理功能; 所述控制模块, 用于获取所述第一接口功能模块发送下行帧头和第二接口 功能模块接收上行帧头的两个吋间点的吋间或两个吋间点之间的吋间差, 根据所述两个吋间点的吋间或两个吋间点之间的吋间差, 获取第二接口功 能模块的调整吋间, 根据所述调整吋间调整从所述第二接口功能模块发送 下行帧头或接收上行帧头的吋间, 使备用路径上传输的帧到达接收端吋的 帧头位置和工作路径上传输的帧到达接收端吋的帧头位置一致, 之后控制 所述第一接口功能模块到所述第二接口功能模块的切换。  The first interface function module is configured to provide an interface processing function of the working path; the second interface function module is configured to provide an interface processing function of the standby path; and the control module is configured to acquire the function of the first interface The module sends the downlink frame header and the second interface function module to receive the inter-turn difference between the two inter-turn points of the uplink frame header or between the two inter-turn points, according to the inter-turn or two吋 of the two inter-turn points Obtaining the inter-turn difference between the points, obtaining the adjustment time of the second interface function module, and transmitting the downlink frame header or receiving the uplink frame header from the second interface function module according to the adjustment time adjustment The frame header position of the frame transmitted on the path reaches the receiving end and the frame transmitted on the working path reaches the frame header position of the receiving end, and then the switching of the first interface function module to the second interface function module is controlled.
[7] 如权利要求 6所述的光线路终端, 其特征在于, 所述控制模块通过监测所述 第一接口功能模块和所述第二接口功能模块, 获取所述第一接口功能模块 发送下行帧头和第二接口功能模块接收上行帧头的两个吋间点的吋间或两 个吋间点之间的吋间差。 [7] The optical line terminal according to claim 6, wherein the control module acquires the downlink of the first interface function module by monitoring the first interface function module and the second interface function module The frame header and the second interface function module receive the inter-turn or two of the two inter-points of the uplink frame header The inter-turn difference between the points.
[8] 如权利要求 6所述的光线路终端, 其特征在于, 所述光线路终端还包括帧头 同步模块, 用于提供所述第一接口功能模块和所述第二接口功能模块的同 步帧头,  [8] The optical line terminal according to claim 6, wherein the optical line terminal further includes a frame header synchronization module, configured to provide synchronization between the first interface function module and the second interface function module Frame header,
所述控制模块通过监测帧头同步模块和所述第二接口功能模块, 获取所述 第一接口功能模块发送下行帧头和从第二接口功能模块接收上行帧头的两 个吋间点的吋间或两个吋间点之间的吋间差。  The control module acquires, by using the frame header synchronization module and the second interface function module, the first interface function module to send a downlink frame header and the second interface function module to receive two uplink points of the uplink frame header. The inter-turn difference between the two or two inter-turn points.
[9] 如权利要求 6所述的光线路终端, 其特征在于, 所述光线路终端还包括帧头 同步模块, 用于提供所述第一接口功能模块和所述第二接口功能模块的同 步帧头, [9] The optical line terminal according to claim 6, wherein the optical line terminal further includes a frame header synchronization module, configured to provide synchronization between the first interface function module and the second interface function module Frame header,
所述控制模块通过监测第一接口功能模块, 记录工作路径的下行帧头的吋 间点, 通过互通信息通道发送给备用路径的帧头同步模块, 使备用路径获 得工作路径的下行帧头位置, 从而获得从第一接口发送下行帧头和从第二 接口接收上行帧头的两个吋间点的吋间或两个吋间点之间的吋间差。  The control module monitors the first interface function module, records the time point of the downlink frame header of the working path, and sends the frame header synchronization module to the alternate path through the interworking information channel, so that the alternate path obtains the downlink frame header position of the working path. Thereby, the inter-turn difference between the two inter-turn points or the two inter-turn points of the two inter-frame points that transmit the downlink frame header from the first interface and the uplink frame header from the second interface is obtained.
[10] 如权利要求 6所述的光线路终端, 其特征在于, 所述光线路终端还包括更新 模块, 用于更新光网络单元上的均衡吋延 EQD, 其中, 需要更新的均衡吋 延 EQD通过下行帧发送给所述光网络单元。  [10] The optical line terminal according to claim 6, wherein the optical line terminal further includes an update module, configured to update an equalization delay EQD on the optical network unit, where the balanced delay EQD needs to be updated. The downlink network frame is sent to the optical network unit.
[11] 一种光接入系统, 其特征在于, 所述光接入系统包括光线路终端和光网络 单元, 所述光线路终端和所述光网络单元之间的连接路径包括工作路径和 备用路径, 所述光线路终端包括第一接口和第二接口, 所述第一接口耦接 工作路径, 所述第二接口耦接备用路径,  [11] An optical access system, wherein the optical access system includes an optical line terminal and an optical network unit, and a connection path between the optical line terminal and the optical network unit includes a working path and an alternate path. The optical line terminal includes a first interface and a second interface, where the first interface is coupled to the working path, and the second interface is coupled to the standby path.
所述光线路终端, 用于获取从第一接口发送下行帧头和从第二接口接收上 行帧头的两个吋间点的吋间或两个吋间点之间的吋间差, 根据所述两个吋 间点的吋间或两个吋间点之间的吋间差, 获取第二接口的调整吋间; 根据 所述调整吋间调整在所述第二接口上传输行帧头的吋间, 使得调整吋间后 在备用路径上传输的帧在到达接收端吋帧头位置和在工作路径上传输的帧 在到达接收端吋帧头位置一致, 所述传输帧头的吋间包括发送下行帧头的 吋间或接收上行帧头的吋间, 之后执行从工作路径到备用路径的倒换。 The optical line terminal is configured to acquire a inter-turn difference between two inter-turn points or two inter-turn points of the two downlink points that are sent from the first interface and the second frame from the second interface, according to the Obtaining the inter-turn difference between the two inter-turn points or between the two inter-turn points, obtaining an adjustment interval of the second interface; adjusting the inter-turn of the line header on the second interface according to the adjustment Therefore, the frame transmitted on the alternate path after the adjustment of the inter-frame arrives at the receiving end, the frame header position and the frame transmitted on the working path are consistent at the receiving end, the frame header position, and the transmission frame header includes the transmission downlink. The turn of the frame header or the time of receiving the upstream frame header, and then the switching from the working path to the alternate path is performed.
[12] 一种倒换控制装置, 其特征在于, [12] A switching control device, characterized in that
倒换控制装置包括: 调整吋间获取单元、 调整单元、 倒换控制单元; 所述 倒换控制装置还包括第一吋间获取单元和 /或第二吋间获取单元; 其中, 所述第一吋间获取单元, 用于获取从工作路径的接口发送下行帧头和从备 用路径的接口接收上行帧头的两个吋间点的吋间;  The switching control device includes: an inter-turn acquisition unit, an adjustment unit, and a switching control unit; the switching control device further includes a first inter-turn acquisition unit and/or a second inter-time acquisition unit; wherein the first inter-turn acquisition a unit, configured to acquire a downlink frame header from an interface of the working path and a time interval of receiving two downlink points of the uplink frame header from an interface of the alternate path;
所述第二吋间获取单元, 用于获取从工作路径的接口发送下行帧头和从备 用路径的接口接收上行帧头的两个吋间点之间的吋间差;  The second inter-time acquisition unit is configured to acquire, by the interface of the working path, the downlink frame header and the interface of the standby path to receive the inter-turn difference between the two inter-frame points of the uplink frame header;
所述调整吋间获取单元, 用于根据所述第一吋间获取单元获取的吋间或所 述第二吋间获取单元获取的吋间差计算工作路径的接口和备用路径的接口 之间的调整吋间;  The adjustment inter-time acquisition unit is configured to calculate an adjustment between an interface of the working path and an interface of the standby path according to the inter-turn obtained by the first inter-frame acquisition unit or the inter-turn obtained by the second inter-frame acquisition unit Daytime
所述调整单元, 用于根据所述调整吋间获取单元获取的调整吋间调整在备 用路径的接口上传输帧头的吋间, 使得调整吋间后在备用路径上传输的帧 在到达接收端吋帧头位置和在工作路径上传输的帧在到达接收端吋帧头位 置一致, 所述传输帧头的吋间包括发送下行帧头的吋间或接收上行帧头的 吋间;  The adjusting unit is configured to adjust, according to the adjustment of the inter-time adjustment unit, the transmission of the frame header on the interface of the alternate path, so that the frame transmitted on the alternate path after the adjustment of the inter-turn arrives at the receiving end吋 The frame header position and the frame transmitted on the working path are consistent at the receiving end 吋 frame header position, and the time of the transmission frame header includes transmitting the downlink frame header or receiving the uplink frame header;
倒换控制单元, 用于在调整单元调整在备用路径的接口传输帧头的吋间后 , 控制工作路径的接口到备用路径的接口的倒换。  The switching control unit is configured to control switching of the interface of the working path to the interface of the standby path after the adjusting unit adjusts the time of the interface transmission frame header of the alternate path.
[13] 如权利要求 12所述的倒换控制装置, 其特征在于, 还包括: [13] The switching control device according to claim 12, further comprising:
存储单元, 用于存储第一吋间获取单元、 第二吋间获取单元、 调整吋间获 取单元获取的至少一个吋间信息。  And a storage unit, configured to store at least one inter-turn information acquired by the first inter-turn acquisition unit, the second inter-time acquisition unit, and the inter-time acquisition unit.
PCT/CN2009/072291 2008-06-25 2009-06-16 Exchanging method, equipment and system for the optical access system WO2009155830A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810126402.0 2008-06-25
CN200810126402A CN101615927A (en) 2008-06-25 2008-06-25 A kind of reverse method of multi-plexing light accessing system, device and system

Publications (1)

Publication Number Publication Date
WO2009155830A1 true WO2009155830A1 (en) 2009-12-30

Family

ID=41444019

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/072291 WO2009155830A1 (en) 2008-06-25 2009-06-16 Exchanging method, equipment and system for the optical access system

Country Status (2)

Country Link
CN (1) CN101615927A (en)
WO (1) WO2009155830A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500165A (en) * 2020-11-12 2022-05-13 中国联合网络通信集团有限公司 Communication method, local side equipment and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248418B (en) * 2012-02-06 2016-02-10 中兴通讯股份有限公司 A kind of primary channel changing method based on EPON and system
CN105763381A (en) * 2016-04-14 2016-07-13 烽火通信科技股份有限公司 Lossless processing method and system of main-standby switching messages
WO2019006704A1 (en) * 2017-07-05 2019-01-10 华为技术有限公司 Path computation method, apparatus and system
CN109428614B (en) * 2017-08-30 2020-04-28 华为技术有限公司 Dynamic time adjustment method, device and system
CN114127767A (en) * 2019-08-21 2022-03-01 华为技术有限公司 Data processing equipment and system
CN111866624B (en) * 2020-06-16 2022-09-02 烽火通信科技股份有限公司 ONU (optical network Unit) service migration method, device and equipment and readable storage medium
CN113839707A (en) * 2020-06-23 2021-12-24 中兴通讯股份有限公司 Authentication method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070019642A1 (en) * 2005-06-24 2007-01-25 Infinera Corporation Virtual local area network configuration for multi-chassis network element
CN101150361A (en) * 2006-09-20 2008-03-26 北京格林威尔科技发展有限公司 A method and system for realizing fully protective switching in passive optical network
CN101179334A (en) * 2006-11-09 2008-05-14 英保达股份有限公司 Optical fiber network alternate channel switch controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070019642A1 (en) * 2005-06-24 2007-01-25 Infinera Corporation Virtual local area network configuration for multi-chassis network element
CN101150361A (en) * 2006-09-20 2008-03-26 北京格林威尔科技发展有限公司 A method and system for realizing fully protective switching in passive optical network
CN101179334A (en) * 2006-11-09 2008-05-14 英保达股份有限公司 Optical fiber network alternate channel switch controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500165A (en) * 2020-11-12 2022-05-13 中国联合网络通信集团有限公司 Communication method, local side equipment and storage medium
CN114500165B (en) * 2020-11-12 2023-05-12 中国联合网络通信集团有限公司 Communication method, local side equipment and storage medium

Also Published As

Publication number Publication date
CN101615927A (en) 2009-12-30

Similar Documents

Publication Publication Date Title
WO2009155830A1 (en) Exchanging method, equipment and system for the optical access system
US9154221B2 (en) Method, system, and relay apparatus for realizing passive optical network reach extension
EP2469786B1 (en) Pon system, subscriber-end terminal apparatus, station-end terminal apparatus and power saving method
CA2830917C (en) System and method for performing in-service optical fiber network certification
US8818201B2 (en) Optical communication
US20140226984A1 (en) Transparent clock for precision timing distribution
KR102035629B1 (en) Communication methods, devices, and systems applied to multi-wavelength passive optical networks
JP4913865B2 (en) Optical communication network system, master station optical communication device, optical communication method and communication program
WO2011088727A1 (en) Method, equipment and system for time synchronization of passive optical network
US20090196606A1 (en) Optical access network and optical switching systems
WO2014008659A1 (en) Wavelength negotiation method, system, and device for multi-wavelength passive optical network
US8798460B2 (en) Optical access system, optical network unit, and optical line terminal
WO2010031326A1 (en) Method for switching data link in the optical network system, optical line terminal and system
WO2015172279A1 (en) Wavelength switching method, device and system
WO2011012007A1 (en) Method and system for quickly updating ranging results of optical network unit by optical line terminal
WO2021008224A1 (en) Method for reducing uplink time delay of passive optical network, and related device
JP2014143502A (en) Optical subscriber system and dynamic wavelength band allocation method of optical subscriber system
WO2019141037A1 (en) Communication network and related devices
CN106664234B (en) WDM/TDM-PON system and transmission start time correction method thereof
JP2007295151A (en) Pon system and station side apparatus and terminal used for the same
CN102377481B (en) Distance-finding method in a kind of EPON and system
WO2011157167A2 (en) Method and device for transmitting data in passive optical network
WO2013075507A1 (en) Data sending method and system
JP6403634B2 (en) Station side apparatus and delay related setting value correction method
WO2022111045A1 (en) Method for determining transmission delay of passive optical network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09768755

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09768755

Country of ref document: EP

Kind code of ref document: A1