WO2016026290A1 - 一种远程配置光网络单元ptp业务的方法、装置和系统 - Google Patents

一种远程配置光网络单元ptp业务的方法、装置和系统 Download PDF

Info

Publication number
WO2016026290A1
WO2016026290A1 PCT/CN2015/074339 CN2015074339W WO2016026290A1 WO 2016026290 A1 WO2016026290 A1 WO 2016026290A1 CN 2015074339 W CN2015074339 W CN 2015074339W WO 2016026290 A1 WO2016026290 A1 WO 2016026290A1
Authority
WO
WIPO (PCT)
Prior art keywords
ptp
onu
management entity
olt
entity attribute
Prior art date
Application number
PCT/CN2015/074339
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Priority to JP2017509722A priority Critical patent/JP6419947B2/ja
Priority to US15/504,020 priority patent/US10063335B2/en
Priority to KR1020177004198A priority patent/KR101969396B1/ko
Priority to AU2015306000A priority patent/AU2015306000B2/en
Priority to EP15833834.3A priority patent/EP3171544B1/en
Publication of WO2016026290A1 publication Critical patent/WO2016026290A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0673Clock or time synchronisation among packet nodes using intermediate nodes, e.g. modification of a received timestamp before further transmission to the next packet node, e.g. including internal delay time or residence time into the packet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/062Synchronisation of signals having the same nominal but fluctuating bit rates, e.g. using buffers
    • H04J3/0623Synchronous multiplexing systems, e.g. synchronous digital hierarchy/synchronous optical network (SDH/SONET), synchronisation with a pointer process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0075Arrangements for synchronising receiver with transmitter with photonic or optical means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0073Services, e.g. multimedia, GOS, QOS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0088Signalling aspects

Definitions

  • the present invention relates to the field of Gigabit Passive Optical Network (GPON) technology, and in particular to a Remote Time Unit (ONU) Precision Time Synchronization Protocol (PTP or 1588). Business methods, devices and systems.
  • GPON Gigabit Passive Optical Network
  • ONU Remote Time Unit
  • PTP Precision Time Synchronization Protocol
  • IEEE 1588v2 is a precision time synchronization protocol for network measurement and control systems, PTP or 1588, which enables frequency and phase synchronization.
  • PTP adopts master/slave synchronization mode, that is, the synchronization function is implemented between the master and slave devices based on the network packet sending and receiving timestamps.
  • the GPON can complete the clock and time synchronization in the following manner.
  • the optical line terminal (OLT) uplink time source obtains the time information, and then transmits the time information to the ONU to complete the time synchronization between the OLT and the ONU.
  • the IEEE 1588 master device the ONU generates a new PTP message and sends it to the lower-level 1588 slave device through the Ethernet interface.
  • the ONU can connect the slave device to the OLT to connect to the time source, that is, the time synchronization between the master devices.
  • the passive optical network PTP service is not limited to the application scenario shown in FIG. 1 , and may be other application scenarios.
  • the 1588 configuration of the ONU is mainly implemented through Telnet or serial port.
  • the remote configuration cannot be implemented through the serial port.
  • the Telnet method has certain limitations. You must configure an IP address for the ONU and ping the ONU address. Otherwise, you cannot log in to the ONU.
  • the Ping also belongs to a communication protocol and is part of the TCP/IP protocol.
  • G.984.4 defines the ONT Management and Control Interface (OMCI), which defines some management entities. (Management Entity, ME for short) and the operation method, the operation management, fault management, performance management, and security management of the ONU can be implemented by the operation of the ONU management entity by the OMCI.
  • OMCI ONT Management and Control Interface
  • G.988 has also improved the G.984.4.
  • the G.988 adds a time-of-day information attribute to the management entity OLT-G, and the OLT-G entity can transmit the OLT time information to the ONU to complete the time between the OLT and the ONU. Synchronize.
  • G.988 does not define a management entity that configures IEEE1588 services, so remote configuration of ONU 1588 services cannot be implemented through the OMCI.
  • the embodiments of the present invention provide a method, an apparatus, and a system for remotely configuring an ONU PTP service.
  • An embodiment of the present invention provides a method for remotely configuring an ONU PTP service, where the method includes:
  • a PTP management entity is created.
  • the ONU receives the PTP management entity attribute that is sent by the OLT and is set by the OLT;
  • the ONU parses the PTP management entity attribute delivered by the OLT, and performs setting of the corresponding PTP service according to the PTP management entity attribute.
  • the number of PTP management entities created by the ONU is one or more.
  • the method further includes:
  • the ONU receives the operation type of the PTP management entity that is sent by the OLT and is set by the OLT.
  • the method further includes:
  • the ONU receives the new PTP management entity attribute that is sent by the OLT and is set by the OLT;
  • the ONU parses the new PTP management entity attribute delivered by the OLT, and performs setting of a new PTP service according to the new PTP management entity attribute.
  • the embodiment of the invention further provides a method for remotely configuring an ONU PTP service, the method comprising:
  • a PTP management entity is created.
  • the OLT sets the PTP management entity attribute, and sends the PTP management entity attribute to the ONU;
  • the ONU receives and parses the PTP management entity attribute, and performs setting of the corresponding PTP service according to the PTP management entity attribute.
  • the method further includes:
  • the OLT sets an operation type of the PTP management entity and sends the operation type to the ONU.
  • the method further includes:
  • the OLT sets a new PTP management entity attribute and sends the attribute to the ONU.
  • the ONU receives and parses the new PTP management entity attribute delivered by the OLT, and performs setting of the new PTP service according to the new PTP management entity attribute.
  • the embodiment of the invention further provides a method for remotely configuring an ONU PTP service, the method comprising:
  • the PTP management entity attribute is set, and the PTP management entity attribute is sent to the ONU;
  • the PTP management entity attribute is used by the ONU to perform the corresponding PTP service setting after being received and parsed by the ONU.
  • the method further includes:
  • the OLT sets an operation type of the PTP management entity and sends the operation type to the ONU.
  • the method further includes:
  • the OLT sets a new PTP management entity attribute and sends the attribute to the ONU.
  • the new PTP management entity attribute is used by the ONU to perform the new PTP service setting after being received and parsed by the ONU.
  • An embodiment of the present invention further provides an ONU, where the ONU includes: an OMCI protocol processing module and a PTP processing module;
  • the PTP management entity is created, and the PTP management entity attribute that is sent by the OLT and configured by the OLT is received and parsed;
  • the PTP processing module is configured to perform setting of a corresponding PTP service according to the PTP management entity attribute parsed by the OMCI protocol processing module.
  • the OMCI protocol processing module is further configured to receive an operation type of the PTP management entity that is sent by the OLT and is set by the OLT.
  • the OMCI protocol processing module is configured to receive a new PTP management entity attribute that is sent by the OLT and configured by the OLT, and parse the PTP service type.
  • the PTP processing module is further configured to perform setting of a new PTP service according to the new PTP management entity attribute parsed by the OMCI protocol processing module.
  • An embodiment of the present invention further provides an OLT, where the OLT includes:
  • the OMCI protocol processing module is configured to initialize the ONU, and after the PTP management entity is created, set the PTP management entity attribute;
  • a sending module configured to deliver the configured PTP management entity attribute to the ONU
  • the PTP management entity attribute is used by the ONU to perform the corresponding PTP service setting after being received and parsed by the ONU.
  • the OMCI protocol processing module is further configured to set an operation type of the PTP management entity.
  • the sending module is further configured to perform the operation of the set PTP management entity The type is sent to the ONU.
  • the OMCI protocol processing module is further configured to set a new PTP management entity attribute when the PTP service type needs to be changed during the running of the system;
  • the sending module is further configured to send the new PTP management entity attribute to the ONU;
  • the new PTP management entity attribute is used by the ONU to perform the new PTP service setting after being received and parsed by the ONU.
  • the embodiment of the invention further provides a system for remotely configuring an ONU PTP service, the system comprising: the ONU and the OLT described above.
  • the method, device, and system for remotely configuring an ONU PTP service provided by the embodiment of the present invention, after the ONU initializes, the PTP management entity is created; the ONU receives the PTP management entity attribute that is sent by the OLT and is set by the OLT; The PTP management entity attribute delivered by the OLT performs the setting of the corresponding PTP service according to the PTP management entity attribute.
  • the ONU completes the GPON registration, and the OMCI channel is established, the ONU precise time synchronization service configuration can be completed on the OLT side, and the remote configuration of the PTP service through the OMCI is realized.
  • there is no need to manage the IP configuration through the ONU which saves IP address resources.
  • the configuration method described in the embodiment of the present invention is easy to maintain and manage, and is convenient for batch configuration.
  • FIG. 1 is a schematic diagram of a PTP service scenario of a passive optical network
  • FIG. 2 is a schematic flowchart of a method for remotely configuring an ONU PTP service according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for remotely configuring an ONU PTP service according to another embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for remotely configuring an ONU PTP service according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an ONU according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an OLT according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a system according to an embodiment of the present invention.
  • a PTP management entity is created; the ONU receives the PTP management entity attribute that is sent by the OLT and is set by the OLT; and the ONU analyzes the PTP management entity attribute delivered by the OLT. And setting the corresponding PTP service according to the PTP management entity attribute.
  • FIG. 2 is a schematic flowchart of a method for remotely configuring an ONU PTP service according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • Step 201 After the ONU initializes, create a PTP management entity.
  • the OMCI protocol processing module creates a PTP management entity.
  • the method for creating the PTP management entity may adopt a general management entity creation method, which will not be described in detail herein.
  • the ONU may create one or more PTP management entities, and the number of PTP management entities created by the specific ONU is related to the number of PTP ports supported by the ONU.
  • Step 202 The ONU receives the PTP management entity attribute that is sent by the OLT and is set by the OLT.
  • the OMCI protocol processing module setting inside the OLT corresponds to the PTP management entity.
  • the attribute is sent to the ONU for receiving the attribute of the PTP management entity through a Set message.
  • Step 203 The ONU parses the PTP management entity attribute delivered by the OLT, and performs setting of the corresponding PTP service according to the PTP management entity attribute.
  • the OMCI protocol processing module in the ONU receives the Set message carrying the PTP management entity attribute sent by the OLT, and then parses the PTP management entity attribute, and the PTP processing module parses the data according to the OMCI protocol processing module.
  • the PTP manages the attributes of the entity and performs the setting of the corresponding PTP service.
  • the result of the successful setting of the PTP service by the ONU is fed back to the OLT through the OMCI message. That is, the PTP processing module in the ONU feeds back the result of the PTP service setting to the OLT through the OMCI protocol processing module.
  • the PTP management entity attributes set by the OLT are different for different PTP services.
  • the created PTP management entity may be set to: PTP config data, referred to as PCD, and of course, may be set to other names.
  • the managed entity class value corresponding to the PCD may be set to 400.
  • other entity numbers reserved by the G.988 standard may also be selected, as shown in Table 1.
  • the attributes of the PTP management entity set by the OLT include: PTP management entity identifier, management status, PTP status, transmission type, remote MAC, near-end MAC, near-end IP, remote IP, and communication mode. , TCI, synchronization steps, PTP priority, and clock quality.
  • the method of the embodiment of the present invention further includes: receiving, by the ONU, an operation type of the PTP management entity that is sent by the OLT and set by the OLT.
  • the types of operations include: Get, Set, and Alarm.
  • the PTP management entity identifier may also be: a managed entity ID (Managed entity id): This attribute provides a unique encoding for each instance of the managed entity. This property is readable and is set when the managed entity is created. It is mandatory and is represented by 2 bytes.
  • This attribute indicates whether the port PTP service is enabled. A value of 1 indicates on and a value of 0 indicates off. This property is readable, writable, and is set when the managed entity is created. It is mandatory and is represented by 1 byte.
  • the PTP state This attribute indicates the port PTP status.
  • the value 0 indicates master, the value 1 indicates slave, and the value 2 indicates passive.
  • This property is readable and is set when the managed entity is created. It is mandatory and is represented by 1 byte.
  • the transport type This attribute indicates the PTP service encapsulation type.
  • the attribute is 0x1 indicating IEEE Std 802.3 Ethernet encapsulation
  • the attribute is 0x2 indicating UDP/IPv4 encapsulation
  • the attribute is 0x3 indicating UDP/IPv6 encapsulation
  • This property is readable, writable, and is set when the managed entity is created. It is mandatory and is represented by 1 byte.
  • Near-end MAC The source MAC address when the 1588 service is transmitted.
  • This property is readable, writable, and is set when the managed entity is created. It is mandatory and is represented by 6 bytes.
  • Far-end MAC The destination MAC address when the 1588 service is transmitted.
  • This property is readable, writable, and is set when the managed entity is created. It is mandatory and is represented by 6 bytes.
  • Near-end IP When an 1588 service is transmitted based on IP, the attribute points to an instance of the UDP configuration data managed entity. If the 1588 service is not transmitted on the IP, the default value of 0 is used. This property is readable and is set when the management entity is created. It is mandatory for IP transfer and is represented by 2 bytes.
  • Far-end IP When transmitting 1588 traffic based on IP, this attribute refers to the IP address containing the remote endpoint. If the 1588 service is not transmitted on the IP, the default value of 0 is used.
  • This property is readable and is set when the management entity is created. It is mandatory for IP transfer and is represented by 2 bytes.
  • the communication mode (Transit mode) is divided into unicast and multicast.
  • the attribute is 0x1 indicating unicast communication
  • the attribute is 0x2 indicating multicast communication
  • This property is readable, writable, and is set when the managed entity is created. It is mandatory and is represented by 1 byte.
  • the TCI indicates the PTP service tag information. If the 1588 service requires a label policy, the attribute specifies the label control information, including the VLAN value, the priority bit, and the CFI bit.
  • This property is readable, writable, optional, and is represented in 2 bytes.
  • the synchronization step the attribute represents the number of synchronization steps, and the PTP synchronization is divided into 1 step and 2 steps.
  • the attribute is 0x1 indicating 1 step synchronization
  • the attribute is 0x2 indicating 2-step synchronization
  • This property is readable, writable, and is set when the managed entity is created. It is mandatory and is represented by 1 byte.
  • the PTP priority is used when the best master clock (BMC) algorithm is executed. Including priority1 and priority2, the value ranges from 0 to 255. It is represented by 2 bytes, the first 1 byte is priority1, and the last 1 byte is priority2.
  • This property is readable, writable, and is set when the managed entity is created. It is mandatory and is represented by 2 bytes.
  • the Clock Class values from 0-255.
  • This property is readable, writable, and is set when the managed entity is created. It is mandatory and is represented by 1 byte.
  • the attributes and operations of the PTP management entity are as described above.
  • the specific settings including but not limited to the above description, for example: the length of the byte, the choice of the name, the order of the entity attribute settings, etc., can also be used for other settings.
  • the method further includes:
  • the ONU receives the new PTP management entity attribute that is sent by the OLT and is set by the OLT; the ONU analyzes the new PTP management entity attribute delivered by the OLT. And setting the new PTP service according to the new PTP management entity attribute.
  • the embodiment of the invention further provides a method for remotely configuring an ONU PTP service. As shown in FIG. 3, the method includes:
  • Step 301 After the ONU initializes, create a PTP management entity.
  • Step 302 The OLT sets the PTP management entity attribute, and sends the PTP management entity attribute to the ONU.
  • Step 303 The ONU receives and parses the PTP management entity attribute, and performs setting of the corresponding PTP service according to the PTP management entity attribute.
  • steps 301-303 is the same as that described in FIG. 2 and will not be described in detail herein.
  • the ONU may create one or more PTP management entities, specifically related to the number of PTP ports supported by the ONU.
  • the method of the embodiment of the present invention further includes: the OLT setting an operation type of the PTP management entity, and delivering the operation type to the ONU.
  • the types of operations include: Get, Set, and Alert.
  • the method of the embodiment of the present invention further includes:
  • the OLT sets a new PTP management entity attribute and sends the attribute to the ONU; the ONU receives and parses the new PTP management entity delivered by the OLT. Attribute, and set the new PTP service according to the new PTP management entity attribute.
  • the embodiment of the present invention further provides a method for remotely configuring an ONU PTP service. As shown in FIG. 4, the method includes:
  • Step 401 After the OLT initializes the ONU and creates a PTP management entity, set the PTP management entity attribute.
  • Step 402 The OLT sends the PTP management entity attribute to the ONU.
  • the PTP management entity attribute is used by the ONU to perform the corresponding PTP service setting after being received and parsed by the ONU.
  • steps 401, 402 are the same as that described in FIG. 2 and will not be described in detail herein.
  • the method further includes:
  • the OLT sets an operation type of the PTP management entity and sends the operation type to the ONU.
  • the method further includes:
  • the OLT sets a new PTP management entity attribute and sends the attribute to the ONU.
  • the new PTP management entity attribute is used by the ONU to perform the new PTP service setting after being received and parsed by the ONU.
  • the ONU precise time synchronization service configuration can be completed on the OLT side, and the remote configuration of the PTP service through the OMCI is realized. Moreover, there is no need to manage the IP configuration through the ONU, which saves IP address resources.
  • the configuration method described in the embodiment of the present invention is easy to maintain and manage, and is convenient for batch configuration.
  • the OMCI protocol processing module After the A.ONU performs the initialization of the OMCI protocol processing module and the PTP processing module, the OMCI protocol processing module creates an instance of the 1588 or PTP management entity;
  • the OMCI protocol processing module inside the OLT sets an attribute corresponding to the PTP management entity
  • the attributes corresponding to the set PTP management entity are as follows:
  • the OMCI protocol processing module of the OLT sends the PTP management entity attribute to the ONU through a Set message
  • the OMCI protocol processing module in the DSU is configured to receive the Set message sent by the OLT, and then the PTP processing module in the ONU performs the setting of the corresponding PTP service according to the PTP management entity attribute parsed by the OMCI protocol processing module;
  • the internal PTP processing module sends the result of whether the PTP service setting is successful to the OMCI protocol processing module in the ONU, and then the OMCI protocol processing module feeds the setting result to the OLT through the OMCI message;
  • PTP processing module settings are as follows:
  • the PTP port After the setting of the ONU is complete, the PTP port starts to send PTP packets, and the data is synchronized with the peer device, which is not detailed in the embodiment of the present invention.
  • the OMCI protocol processing module After the A.ONU performs the initialization of the OMCI protocol processing module and the PTP processing module, the OMCI protocol processing module creates an instance of the 1588 or PTP management entity;
  • the OMCI protocol processing module inside the OLT sets an attribute corresponding to the PTP management entity
  • the attributes corresponding to the set PTP management entity are as follows:
  • the OMCI protocol processing module of the OLT sends the PTP management entity attribute to the ONU through a Set message
  • the OMCI protocol processing module in the DSU is configured to receive the Set message sent by the OLT, and then the PTP processing module in the ONU performs the setting of the corresponding PTP service according to the PTP management entity attribute parsed by the OMCI protocol processing module; Internal PTP processing The module sends the result of whether the PTP service setting is successful to the OMCI protocol processing module in the ONU, and then the OMCI protocol processing module feeds the setting result to the OLT through the OMCI message;
  • PTP processing module settings are as follows:
  • the OMCI protocol processing module After the A.ONU performs the initialization of the OMCI protocol processing module and the PTP processing module, the OMCI protocol processing module creates an instance of the 1588 or PTP management entity;
  • the OMCI protocol processing module inside the OLT sets an attribute corresponding to the PTP management entity
  • the attributes corresponding to the set PTP management entity are as follows:
  • the OMCI protocol processing module of the OLT sends the PTP management entity attribute to the ONU through a Set message
  • the OMCI protocol processing module in the DSU is configured to receive the Set message sent by the OLT, and then the PTP processing module in the ONU performs the setting of the corresponding PTP service according to the PTP management entity attribute parsed by the OMCI protocol processing module;
  • the internal PTP processing module sends the result of whether the PTP service setting is successful to the OMCI protocol processing module in the ONU, and then the OMCI protocol processing module feeds the setting result to the OLT through the OMCI message;
  • PTP processing module settings are as follows:
  • the PTP port After the setting of the ONU is complete, the PTP port starts to send PTP packets, and the data is synchronized with the peer device, which is not detailed in the embodiment of the present invention.
  • the embodiment of the present invention further provides an ONU.
  • the ONU 50 includes: an OMCI protocol processing module 501 and a PTP processing module 502.
  • the OMCI protocol processing module 501 is configured to initialize the ONU, and then create a PTP management entity, and receive the PTP management entity attribute that is sent by the OLT and configured by the OLT, and parse the PTP management entity;
  • the PTP processing module 502 is configured to perform the setting of the corresponding PTP service according to the PTP management entity attribute parsed by the OMCI protocol processing module 501.
  • the OMCI protocol processing module 501 and the PTP processing module 502 may pass through a central processing unit (CPU), a digital signal processor (DSP), or a programmable unit in the ONU 50.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA Field-Programmable Gate Array
  • the OMCI protocol processing module 501 is further configured to receive an operation type of the PTP management entity that is sent by the OLT and is set by the OLT.
  • the OMCI protocol processing module 501 is further configured to receive a new PTP management entity attribute that is sent by the OLT and set by the OLT. And parsing;
  • the PTP processing module 502 is further configured to perform setting of a new PTP service according to the new PTP management entity attribute parsed by the OMCI protocol processing module 501.
  • the embodiment of the present invention further provides an optical line terminal OLT.
  • the OLT 60 includes: an OMCI protocol processing module 601 and a sending module 602.
  • the OMCI protocol processing module 601 is configured to initialize the ONU, and after the PTP management entity is created, set the PTP management entity attribute.
  • the sending module 602 is configured to send the set PTP management entity attribute to the ONU;
  • the PTP management entity attribute is used by the ONU to receive and parse the The ONU performs the basis for the corresponding PTP service settings.
  • the OMCI protocol processing module 601 and the sending module 602 can be implemented by a CPU, a DSP, or an FPGA in the OLT 60.
  • the OMCI protocol processing module 601 is further configured to set an operation type of the PTP management entity; correspondingly,
  • the sending module 602 is further configured to deliver the operation type of the set PTP management entity to the ONU.
  • the OMCI protocol processing module 601 is further configured to set a new PTP management entity attribute; correspondingly,
  • the sending module 602 is further configured to send the new PTP management entity attribute to the ONU;
  • the new PTP management entity attribute is used by the ONU to perform the new PTP service setting after being received and parsed by the ONU.
  • the embodiment of the present invention further provides a system for remotely configuring an ONU PTP service. As shown in FIG. 7, the system includes: the ONU 50 and the OLT 60 described above.
  • the ONU precise time synchronization service configuration can be completed on the OLT side, and the remote configuration of the PTP service through the OMCI is realized. Moreover, there is no need to manage the IP configuration through the ONU, which saves IP address resources.
  • the configuration method described in the embodiment of the present invention is easy to maintain and manage, and is convenient for batch configuration.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the present invention may employ computer-usable storage media (including but not limited to disks) in one or more of the computer-usable program code embodied therein. A form of computer program product embodied on a memory and optical storage, etc.).
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

本发明公开了一种远程配置光网络单元(ONU)精确时间同步协议(PTP)业务的方法,包括:ONU进行初始化后,创建PTP管理实体;所述ONU接收OLT下发的、由所述OLT设置的所述PTP管理实体属性;所述ONU解析所述OLT下发的PTP管理实体属性,并依据所述PTP管理实体属性进行相应PTP业务的设置。本发明还同时公开了与所述方法对应的ONU、OLT和系统。

Description

一种远程配置光网络单元PTP业务的方法、装置和系统 技术领域
本发明涉及吉比特无源光网络(Gigabit Passive Optical Network,GPON)技术领域,尤其涉及一种远程配置光网络单元(Optical Network Unit,ONU)精确时间同步协议(Precision Time Protocol,简称PTP或1588)业务的方法、装置和系统。
背景技术
IEEE 1588v2是网络测量和控制系统的精确时间同步协议,即PTP或1588,可以实现频率和相位同步。PTP采用主从(master/slave)同步方式,即:主从设备之间基于网络数据包发送和接收时间戳的方式完成同步功能。GPON可以通过如下方式完成时钟和时间同步,光线路终端(Optical Line Terminal,OLT)上联时间源获取时间信息,再把时间信息传递给ONU,完成OLT和ONU之间的时间同步。ONU作为IEEE 1588主设备,生成新的PTP消息,通过以太网口发送给下级的1588从设备,通过这种方式就可以实现ONU下联从设备与OLT上联时间源,即主设备间的时间同步,具体如图1所示。当然,无源光网络PTP业务不限于图1中所示的应用场景,也可为其他的应用场景。
目前,ONU的1588配置主要是通过Telnet或串口方式完成。其中,通过所述串口的方式不能实现远程配置。所述Telnet方式也有一定局限性,必须先为ONU配置IP地址,且能够Ping通ONU地址,否则不能登陆ONU配置。所述Ping也属于一个通信协议,是TCP/IP协议的一部分。
GPON标准G.984.4定义了光网络终端管理控制接口(ONT Management and Control Interface,简称OMCI),该标准定义了一些管理实体 (Management Entity,简称ME)和操作方法,通过所述OMCI对ONU管理实体的操作可以实现ONU的配置管理、故障管理、性能管理和安全管理。G.988又对所述G.984.4做了完善。所述G.988为管理实体OLT-G增设了时间信息(Time-of-day information)属性,通过OLT-G实体可以把OLT时间信息传递给ONU,以用来完成OLT和ONU之间的时间同步。但是,G.988未定义配置IEEE1588业务的管理实体,因此无法通过所述OMCI实现对ONU 1588业务的远程配置。
发明内容
为解决现有存在的技术问题,本发明实施例提供一种远程配置ONU PTP业务的方法、装置和系统。
本发明实施例提供了一种远程配置ONU PTP业务的方法,该方法包括:
ONU进行初始化后,创建PTP管理实体;
所述ONU接收OLT下发的、由所述OLT设置的所述PTP管理实体属性;
所述ONU解析所述OLT下发的PTP管理实体属性,并依据所述PTP管理实体属性进行相应PTP业务的设置。
其中,所述ONU创建的PTP管理实体的数量为一个或多个。
在一个实施例中,该方法还包括:
ONU接收OLT下发的、由所述OLT设置的所述PTP管理实体的操作类型。
在一个实施例中,该方法还包括:
在系统运行过程中,如需改变PTP业务类型,则所述ONU接收所述OLT下发的、由所述OLT设置的新的PTP管理实体属性;
所述ONU解析所述OLT下发的新的PTP管理实体属性,并依据所述新的PTP管理实体属性进行新PTP业务的设置。
本发明实施例还提供了一种远程配置ONU PTP业务的方法,该方法包括:
ONU进行初始化后,创建PTP管理实体;
OLT设置所述PTP管理实体属性,并将所述PTP管理实体属性下发到所述ONU;
所述ONU接收并解析所述PTP管理实体属性,并依据所述PTP管理实体属性进行相应PTP业务的设置。
在一个实施例中,该方法还包括:
所述OLT设置所述PTP管理实体的操作类型,并下发到所述ONU。
在一个实施例中,该方法还包括:
在系统运行过程中,如需改变PTP业务类型,则所述OLT设置新的PTP管理实体属性,并下发到所述ONU;
所述ONU接收并解析所述OLT下发的新的PTP管理实体属性,并依据所述新的PTP管理实体属性进行新PTP业务的设置。
本发明实施例还提供了一种远程配置ONU PTP业务的方法,该方法包括:
OLT在ONU初始化,并创建PTP管理实体后,设置所述PTP管理实体属性,并将所述PTP管理实体属性下发到所述ONU;
其中,所述PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行相应PTP业务设置的依据。
在一个实施例中,该方法还包括:
所述OLT设置所述PTP管理实体的操作类型,并下发到所述ONU。
在一个实施例中,该方法还包括:
在系统运行过程中,如需改变PTP业务类型,则所述OLT设置新的PTP管理实体属性,并下发到所述ONU;
其中,所述新的PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行新PTP业务设置的依据。
本发明实施例还提供了一种ONU,所述ONU包括:OMCI协议处理模块和PTP处理模块;其中,
所述OMCI协议处理模块,配置为ONU进行初始化后,创建PTP管理实体,接收OLT下发的、由所述OLT设置的所述PTP管理实体属性,并进行解析;
所述PTP处理模块,配置为依据所述OMCI协议处理模块解析所得的PTP管理实体属性,进行相应PTP业务的设置。
其中,所述OMCI协议处理模块,还配置为接收OLT下发的、由所述OLT设置的所述PTP管理实体的操作类型。
其中,在系统运行过程中,如需改变PTP业务类型,所述OMCI协议处理模块,还配置为接收所述OLT下发的、由所述OLT设置的新的PTP管理实体属性,并进行解析;
相应的,所述PTP处理模块,还配置为依据所述OMCI协议处理模块解析所得的新的PTP管理实体属性进行新PTP业务的设置。
本发明实施例还提供了一种OLT,所述OLT包括:
OMCI协议处理模块,配置为ONU初始化,并创建PTP管理实体后,设置所述PTP管理实体属性;
发送模块,配置为将所述已配置的PTP管理实体属性下发到所述ONU;
其中,所述PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行相应PTP业务设置的依据。
其中,所述OMCI协议处理模块,还配置为设置所述PTP管理实体的操作类型;
相应的,所述发送模块,还配置为将所述已设置的PTP管理实体的操 作类型下发到所述ONU。
其中,在系统运行过程中,如需改变PTP业务类型时,所述OMCI协议处理模块,还配置为设置新的PTP管理实体属性;
相应的,所述发送模块,还配置为将所述新的PTP管理实体属性下发到所述ONU;
其中,所述新的PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行新PTP业务设置的依据。
本发明实施例还提供了一种远程配置ONU PTP业务的系统,该系统包括:上文所述的ONU和OLT。
本发明实施例提供的远程配置ONU PTP业务的方法、装置和系统,ONU进行初始化后,创建PTP管理实体;ONU接收OLT下发的、由所述OLT设置的PTP管理实体属性;ONU解析所述OLT下发的PTP管理实体属性,并依据所述PTP管理实体属性进行相应PTP业务的设置。本发明实施例可在ONU完成GPON注册、正常上线,并建立OMCI通道后,即可在OLT侧完成ONU精确时间同步业务的配置,实现了通过OMCI进行PTP业务的远程配置。而且,不需要通过ONU带内管理IP配置,节省了IP地址资源。此外,本发明实施例所述的配置方法易于维护和管理,便于批量配置。
附图说明
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。
图1为无源光网络PTP业务场景示意图之一;
图2为本发明实施例所述远程配置ONU PTP业务的方法实现流程示意 图;
图3为本发明另一实施例所述远程配置ONU PTP业务的方法实现流程示意图;
图4为本发明另一实施例所述远程配置ONU PTP业务的方法实现流程示意图;
图5为本发明实施例所述ONU的结构示意图;
图6为本发明实施例所述OLT的结构示意图;
图7为本发明实施例所述系统的结构示意图。
具体实施方式
本发明的实施例中,ONU进行初始化后,创建PTP管理实体;ONU接收OLT下发的、由所述OLT设置的所述PTP管理实体属性;ONU解析所述OLT下发的PTP管理实体属性,并依据所述PTP管理实体属性进行相应PTP业务的设置。
下面结合附图及具体实施例对本发明作进一步详细说明。
图2为本发明实施例所述远程配置ONU PTP业务的方法实现流程示意图,如图2所示,包括:
步骤201:ONU进行初始化后,创建PTP管理实体;
例如,ONU启动,进行内部OMCI协议处理模块和PTP处理模块的初始化后,所述OMCI协议处理模块创建PTP管理实体。这里,所述PTP管理实体的创建方法可采用通用的管理实体创建方法,此处不再详述。
这里,所述ONU可以创建一个或多个PTP管理实体,具体ONU所创建的PTP管理实体的数量与ONU所支持的PTP端口数相关。
步骤202:ONU接收OLT下发的、由所述OLT设置的PTP管理实体属性;
例如,OLT内部的OMCI协议处理模块设置与所述PTP管理实体对应 的属性,并通过Set消息将所述PTP管理实体的属性下发给ONU接收。
步骤203:ONU解析所述OLT下发的PTP管理实体属性,并依据所述PTP管理实体属性进行相应PTP业务的设置;
例如,ONU内部的OMCI协议处理模块收到所述OLT下发的携带所述PTP管理实体属性的Set消息后进行解析,得到PTP管理实体属性,PTP处理模块依据所述OMCI协议处理模块解析所得的PTP管理实体属性,进行相应PTP业务的设置。ONU把PTP业务设置是否成功的结果,通过OMCI消息反馈给OLT,即:ONU内部的PTP处理模块将PTP业务设置是否成功的结果通过OMCI协议处理模块反馈给OLT。
这里,对于不同PTP业务,所述OLT设置的PTP管理实体属性不同。
本发明的实施例中,可将创建的PTP管理实体设置为:PTP config data,简称PCD,当然也可设置为其他名称。所述PCD对应的管理实体类值(Managed entity class value)可设置为400,当然,也可选择G.988标准预留的其他实体编号,如表1所示。
表1
Figure PCTCN2015074339-appb-000001
所述OLT设置的PTP管理实体的属性,即:PCD的属性包括:PTP管理实体标识、管理状态、PTP状态、传输类型、远端MAC、近端MAC、近端IP、远端IP、通信方式、TCI、同步步数、PTP优先级,以及时钟质量。
在一个实施例中,本发明实施例所述方法还包括:ONU接收OLT下发的、由所述OLT设置的所述PTP管理实体的操作类型。所述操作类型包括:查询(Get)、设置(Set)和告警(Alarm)。
下面对上述PTP管理实体的属性进行介绍。
所述PTP管理实体标识,也可为:受管实体ID(Managed entity id): 该属性为受管实体的每个实例提供唯一的编码。该属性可读,在创建管理实体时设置,为强制的,2字节表示。
所述管理状态(Administrative state):该属性表示端口PTP业务是否开启。值1表示开启,值0表示关闭。该属性可读,可写,在创建管理实体时设置,为强制的,1字节表示。
所述PTP状态(PTP state):该属性表示端口PTP状态,值0表示为master,值1表示slave,值2表示passive。
该属性可读,在创建管理实体时设置,为强制的,1字节表示。
所述传输类型(Transport type):该属性表示PTP业务封装类型。
该属性为0x1表示IEEE Std 802.3以太封装;
该属性为0x2表示UDP/IPv4封装;
该属性为0x3表示UDP/IPv6封装;
该属性可读,可写,在创建管理实体时设置,为强制的,1字节表示。
所述近端MAC(Near-end MAC):传送1588业务时的源MAC地址。
该属性可读,可写,在创建管理实体时设置,为强制的,6字节表示。
所述远端MAC(Far-end MAC):传送1588业务时的目的MAC地址。
该属性可读,可写,在创建管理实体时设置,为强制的,6字节表示。
所述近端IP(Near-end IP):当基于IP传送1588业务时,该属性指向UDP配置数据受管实体的一个实例。如果1588业务不在IP上传送,则使用缺省值0。该属性可读,在创建管理实体时设置,对IP传送为强制的,2字节表示。
所述远端IP(Far-end IP):当基于IP传送1588业务时,该属性指包含远端终结点的IP地址。如果1588业务不在IP上传送,则使用缺省值0。
该属性可读,在创建管理实体时设置,对IP传送为强制的,2字节表示。
所述通信方式(Transit mode):分为单播、组播。
该属性为0x1表示单播通信;
该属性为0x2表示组播通信;
该属性可读,可写,在创建管理实体时设置,为强制的,1字节表示。
所述TCI:该属性表示PTP业务tag信息,如果1588业务要求标签策略,该属性指定了标签控制信息,包括VLAN值,优先级位和CFI位。
该属性可读,可写,可选,2字节表示。
所述同步步数(Synchronization step):该属性表示同步步数,PTP同步分为1步和2步。
该属性为0x1表示1步同步;
该属性为0x2表示2步同步;
该属性可读,可写,在创建管理实体时设置,为强制的,1字节表示。
所述PTP优先级(PTP priority):执行best master clock(简称BMC)算法时使用。包括priority1和priority2,取值范围均为0-255。使用2个字节表示,前1个字节为priority1,后1个字节为priority2。
该属性可读,可写,在创建管理实体时设置,为强制的,2字节表示。
所述时钟质量(Clock Class):值从0-255。
该属性可读,可写,在创建管理实体时设置,为强制的,1字节表示。
所述操作类型中的告警(Alarm)设置如表2所示
表2
Figure PCTCN2015074339-appb-000002
需要说明的是,本发明实施例中,以上对所述PTP管理实体属性、操 作的具体设置,包括但不限于上面的说明,例如:对字节长度、名称的选择、实体属性设置的先后顺序等,还可进行其他设置。
在一个实施例中,本发明的实施例中,该方法还包括:
在系统运行过程中,如需改变PTP业务类型,则所述ONU接收OLT下发的、由所述OLT设置的新的PTP管理实体属性;ONU解析所述OLT下发的新的PTP管理实体属性,并依据所述新的PTP管理实体属性进行新PTP业务的设置。
本发明实施例还提供一种远程配置ONU PTP业务的方法,如图3所示,该方法包括:
步骤301:ONU进行初始化后,创建PTP管理实体;
步骤302:OLT设置所述PTP管理实体属性,并将所述PTP管理实体属性下发到所述ONU;
步骤303:所述ONU接收并解析所述PTP管理实体属性,并依据所述PTP管理实体属性进行相应PTP业务的设置。
对于步骤301-303的细化描述与图2所述方法相同,此处不再详述。
这里,所述ONU可以创建一个或多个PTP管理实体,具体与ONU所支持的PTP端口数有关。
在一个实施例中,本发明实施例所述方法还包括:OLT设置PTP管理实体的操作类型,并下发到所述ONU。所述操作类型包括:查询(Get)、设置(Set)和告警。
在一个实施例中,本发明实施例所述方法还包括:
在系统运行过程中,如需改变PTP业务类型,则所述OLT设置新的PTP管理实体属性,并下发到所述ONU;所述ONU接收并解析所述OLT下发的新的PTP管理实体属性,并依据所述新的PTP管理实体属性进行新PTP业务的设置。
本发明实施例还提供一种远程配置ONU PTP业务的方法,如图4所示,该方法包括:
步骤401:OLT在ONU初始化,并创建PTP管理实体后,设置所述PTP管理实体属性;
步骤402:所述OLT将所述PTP管理实体属性下发到所述ONU;
其中,所述PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行相应PTP业务设置的依据。
对于步骤401、402的细化描述与图2所述方法相同,此处不再详述。
在一个实施例中,本发明的实施例中,该方法还包括:
所述OLT设置所述PTP管理实体的操作类型,并下发到所述ONU。
在一个实施例中,本发明的实施例中,该方法还包括:
在系统运行过程中,如需改变PTP业务类型,则所述OLT设置新的PTP管理实体属性,并下发到所述ONU;
其中,所述新的PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行新PTP业务设置的依据。
本发明实施例可在ONU完成GPON注册、正常上线,并建立OMCI通道后,即可在OLT侧完成ONU精确时间同步业务的配置,实现了通过OMCI进行PTP业务的远程配置。而且,不需要通过ONU带内管理IP配置,节省了IP地址资源。此外,本发明实施例所述的配置方法易于维护和管理,便于批量配置。
下面给通过具体应用场景对本发明实施例所述方法进行详细描述。
实施例一
本实施例中,需要配置ONU为三层IP组播模式,则需执行如下操作:
A.ONU进行OMCI协议处理模块和PTP处理模块的初始化后,所述OMCI协议处理模块创建一个1588或PTP管理实体的实例;
B.OLT内部的OMCI协议处理模块设置与所述PTP管理实体对应的属性;
这里,所述设置的PTP管理实体对应的属性如下:
设置PTP优先级和时钟质量;
设置PTP状态属性为master;
设置PTP管理状态使能;
设置PTP近端IP和远端IP;
设置PTP同步步数为1步;
设置PTP传输类型为三层IP/UDP;
设置通信方式为组播。
C.所述OLT内部的OMCI协议处理模块通过Set消息把PTP管理实体属性下发给所述ONU;
D.ONU内部的OMCI协议处理模块接收到OLT下发的Set消息后进行解析,ONU内部的PTP处理模块依据所述OMCI协议处理模块解析所得的PTP管理实体属性,进行相应PTP业务的设置;ONU内部的PTP处理模块将PTP业务设置是否成功的结果发送给ONU内部的OMCI协议处理模块,然后由所述OMCI协议处理模块把设置结果通过OMCI消息反馈给OLT;
这里,所述PTP处理模块设置内容如下:
(1)设置PTP优先级和时钟质量属性;
(2)设置端口PTP状态属性为master;
(3)设置同步步数为1步;
(4)设置PTP传输类型为三层IP/UDP;
(5)设置PTP近端IP;
(6)设置PTP通信方式为组播;
(7)设置PTP远端IP;
(8)使能PTP管理状态;
上述设置的内容(1)-(4)没有严格先后顺序限制,包括但不限于上面的设置步骤。
上述ONU的设置完成后,PTP端口开始发送PTP报文,通过与对端设备报文交互实现同步,具体本发明实施例不再详述。
实施例二
本实施例中,需要配置ONU为三层IP单播模式,则需执行如下操作:
A.ONU进行OMCI协议处理模块和PTP处理模块的初始化后,所述OMCI协议处理模块创建一个1588或PTP管理实体的实例;
B.OLT内部的OMCI协议处理模块设置与所述PTP管理实体对应的属性;
这里,所述设置的PTP管理实体对应的属性如下:
设置PTP优先级和时钟质量;
设置PTP状态属性为master;
设置PTP管理状态使能;
设置PTP近端IP和远端IP;
设置PTP同步步数为1步;
设置PTP传输类型为三层IP/UDP;
设置通信方式为单播。
C.所述OLT内部的OMCI协议处理模块通过Set消息把PTP管理实体属性下发给所述ONU;
D.ONU内部的OMCI协议处理模块接收到OLT下发的Set消息后进行解析,ONU内部的PTP处理模块依据所述OMCI协议处理模块解析所得的PTP管理实体属性,进行相应PTP业务的设置;ONU内部的PTP处理 模块将PTP业务设置是否成功的结果发送给ONU内部的OMCI协议处理模块,然后由所述OMCI协议处理模块把设置结果通过OMCI消息反馈给OLT;
这里,所述PTP处理模块设置内容如下:
(1)设置PTP优先级和时钟质量属性;
(2)设置端口PTP状态属性为master;
(3)设置同步步数为1步;
(4)设置PTP传输类型为三层IP/UDP;
(5)设置PTP近端IP;
(6)设置PTP通信方式为单播;
(7)设置PTP远端IP;
(8)使能PTP管理状态;
上述设置的内容(1)-(4)没有严格先后顺序限制,包括但不限于上面的设置步骤。
实施例三
本实施例中,需要配置ONU为二层(以太封装)组播模式,需执行如下操作:
A.ONU进行OMCI协议处理模块和PTP处理模块的初始化后,所述OMCI协议处理模块创建一个1588或PTP管理实体的实例;
B.OLT内部的OMCI协议处理模块设置与所述PTP管理实体对应的属性;
这里,所述设置的PTP管理实体对应的属性如下:
设置PTP优先级和时钟质量;
设置PTP状态属性为master;
设置PTP管理状态使能;
设置PTP近端MAC和远端MAC;
设置PTP同步步数为2步;
设置PTP传输类型为二层以太网;
设置通信方式为组播。
C.所述OLT内部的OMCI协议处理模块通过Set消息把PTP管理实体属性下发给所述ONU;
D.ONU内部的OMCI协议处理模块接收到OLT下发的Set消息后进行解析,ONU内部的PTP处理模块依据所述OMCI协议处理模块解析所得的PTP管理实体属性,进行相应PTP业务的设置;ONU内部的PTP处理模块将PTP业务设置是否成功的结果发送给ONU内部的OMCI协议处理模块,然后由所述OMCI协议处理模块把设置结果通过OMCI消息反馈给OLT;
这里,所述PTP处理模块设置内容如下:
(1)设置PTP优先级和时钟质量属性;
(2)设置端口PTP状态属性为master;
(3)设置同步步数为2步;
(4)设置PTP传输类型为IEEE Std 802.3以太封装;
(5)设置PTP近端MAC;
(6)设置PTP通信方式为组播;
(7)设置PTP远端MAC;
(8)使能PTP管理状态;
上述设置的内容(1)-(4)没有严格先后顺序限制,包括但不限于上面的设置步骤。
上述ONU的设置完成后,PTP端口开始发送PTP报文,通过与对端设备报文交互实现同步,具体本发明实施例不再详述。
本发明实施例还提供了一种ONU,如图5所示,所述ONU 50包括:OMCI协议处理模块501和PTP处理模块502;其中,
所述OMCI协议处理模块501,配置为ONU进行初始化后,创建PTP管理实体,接收OLT下发的、由所述OLT设置的所述PTP管理实体属性,并进行解析;
所述PTP处理模块502,配置为依据所述OMCI协议处理模块501解析所得的PTP管理实体属性,进行相应PTP业务的设置。
在实际应用时,所述OMCI协议处理模块501和PTP处理模块502可通过所述ONU 50中的中央处理器(Central Processing Unit,CPU)、数字信号处理器(Digital Signal Processor,DSP)或可编程逻辑阵列(Field-Programmable Gate Array,FPGA)实现。
在一个实施例中,所述OMCI协议处理模块501,还配置为接收OLT下发的、由所述OLT设置的所述PTP管理实体的操作类型。
在一个实施例中,在系统运行过程中,如需改变PTP业务类型,所述OMCI协议处理模块501,还配置为接收所述OLT下发的、由所述OLT设置的新的PTP管理实体属性,并进行解析;
相应的,所述PTP处理模块502,还配置为依据所述OMCI协议处理模块501解析所得的新的PTP管理实体属性进行新PTP业务的设置。
本发明实施例还提供了一种光线路终端OLT,如图6所示,所述OLT 60包括:OMCI协议处理模块601和发送模块602;其中,
所述OMCI协议处理模块601,配置为ONU初始化,并创建PTP管理实体后,设置所述PTP管理实体属性;
所述发送模块602,配置为将所述已设置的PTP管理实体属性下发到所述ONU;
其中,所述PTP管理实体属性被所述ONU接收并解析后,用于所述 ONU进行相应PTP业务设置的依据。
在实际应用时,所述OMCI协议处理模块601和发送模块602可通过所述OLT 60中的CPU、DSP或FPGA实现。
在一个实施例中,所述OMCI协议处理模块601,还配置为设置所述PTP管理实体的操作类型;相应的,
所述发送模块602,还配置为将所述已设置的PTP管理实体的操作类型下发到所述ONU。
在一个实施例中,在系统运行过程中,如需改变PTP业务类型时,所述OMCI协议处理模块601,还配置为设置新的PTP管理实体属性;相应的,
所述发送模块602,还配置为将所述新的PTP管理实体属性下发到所述ONU;
其中,所述新的PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行新PTP业务设置的依据。
本发明实施例还提供了一种远程配置ONU PTP业务的系统,如图7所示,该系统包括:上文所述的ONU 50和OLT 60。
本发明实施例可在ONU完成GPON注册、正常上线,并建立OMCI通道后,即可在OLT侧完成ONU精确时间同步业务的配置,实现了通过OMCI进行PTP业务的远程配置。而且,不需要通过ONU带内管理IP配置,节省了IP地址资源。此外,本发明实施例所述的配置方法易于维护和管理,便于批量配置。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘 存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。

Claims (17)

  1. 一种远程配置光网络单元ONU精确时间同步协议PTP业务的方法,该方法包括:
    ONU进行初始化后,创建PTP管理实体;
    所述ONU接收OLT下发的、由所述OLT设置的所述PTP管理实体属性;
    所述ONU解析所述OLT下发的PTP管理实体属性,并依据所述PTP管理实体属性进行相应PTP业务的设置。
  2. 根据权利要求1所述的方法,其中,所述ONU创建的PTP管理实体的数量为一个或多个。
  3. 根据权利要求1或2所述的方法,其中,该方法还包括:
    ONU接收OLT下发的、由所述OLT设置的所述PTP管理实体的操作类型。
  4. 根据权利要求1或2所述的方法,其中,该方法还包括:
    在系统运行过程中,如需改变PTP业务类型,则所述ONU接收所述OLT下发的、由所述OLT设置的新的PTP管理实体属性;
    所述ONU解析所述OLT下发的新的PTP管理实体属性,并依据所述新的PTP管理实体属性进行新PTP业务的设置。
  5. 一种远程配置光网络单元ONU精确时间同步协议PTP业务的方法,该方法包括:
    ONU进行初始化后,创建PTP管理实体;
    OLT设置所述PTP管理实体属性,并将所述PTP管理实体属性下发到所述ONU;
    所述ONU接收并解析所述PTP管理实体属性,并依据所述PTP管理实体属性进行相应PTP业务的设置。
  6. 根据权利要求5所述的方法,其中,该方法还包括:
    所述OLT设置所述PTP管理实体的操作类型,并下发到所述ONU。
  7. 根据权利要求5或6所述的方法,其中,该方法还包括:
    在系统运行过程中,如需改变PTP业务类型,则所述OLT设置新的PTP管理实体属性,并下发到所述ONU;
    所述ONU接收并解析所述OLT下发的新的PTP管理实体属性,并依据所述新的PTP管理实体属性进行新PTP业务的设置。
  8. 一种远程配置光网络单元ONU精确时间同步协议PTP业务的方法,该方法包括:
    OLT在ONU初始化,并创建PTP管理实体后,设置所述PTP管理实体属性,并将所述PTP管理实体属性下发到所述ONU;
    其中,所述PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行相应PTP业务设置的依据。
  9. 根据权利要求8所述的方法,其中,该方法还包括:
    所述OLT设置所述PTP管理实体的操作类型,并下发到所述ONU。
  10. 根据权利要求8或9所述的方法,其中,该方法还包括:
    在系统运行过程中,如需改变PTP业务类型,则所述OLT设置新的PTP管理实体属性,并下发到所述ONU;
    其中,所述新的PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行新PTP业务设置的依据。
  11. 一种光网络单元ONU,所述ONU包括:光网络终端管理控制接口OMCI协议处理模块和PTP处理模块;其中,
    所述OMCI协议处理模块,配置为ONU进行初始化后,创建PTP管理实体,接收OLT下发的、由所述OLT设置的所述PTP管理实体属性,并进行解析;
    所述PTP处理模块,配置为依据所述OMCI协议处理模块解析所得的PTP管理实体属性,进行相应PTP业务的设置。
  12. 根据权利要求11所述的ONU,其中,所述OMCI协议处理模块,还配置为接收OLT下发的、由所述OLT设置的所述PTP管理实体的操作类型。
  13. 根据权利要求11或12所述的ONU,其中,在系统运行过程中,如需改变PTP业务类型,所述OMCI协议处理模块,还配置为接收所述OLT下发的、由所述OLT设置的新的PTP管理实体属性,并进行解析;
    相应的,所述PTP处理模块,还配置为依据所述OMCI协议处理模块解析所得的新的PTP管理实体属性进行新PTP业务的设置。
  14. 一种光线路终端OLT,所述OLT包括:
    OMCI协议处理模块,配置为ONU初始化,并创建PTP管理实体后,设置所述PTP管理实体属性;
    发送模块,配置为将所述已配置的PTP管理实体属性下发到所述ONU;
    其中,所述PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行相应PTP业务设置的依据。
  15. 根据权利要求14所述的OLT,其中,所述OMCI协议处理模块,还配置为设置所述PTP管理实体的操作类型;
    相应的,所述发送模块,还配置为将所述已设置的PTP管理实体的操作类型下发到所述ONU。
  16. 根据权利要求14或15所述的OLT,其中,在系统运行过程中,如需改变PTP业务类型时,所述OMCI协议处理模块,还配置为设置新的PTP管理实体属性;
    相应的,所述发送模块,还配置为将所述新的PTP管理实体属性下发到所述ONU;
    其中,所述新的PTP管理实体属性被所述ONU接收并解析后,用于所述ONU进行新PTP业务设置的依据。
  17. 一种远程配置光网络单元ONU精确时间同步协议PTP业务的系统,该系统包括:权利要求11-13中任一项所述的光网络单元ONU和权利要求14-16中任一项所述的光线路终端OLT。
PCT/CN2015/074339 2014-08-19 2015-03-16 一种远程配置光网络单元ptp业务的方法、装置和系统 WO2016026290A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2017509722A JP6419947B2 (ja) 2014-08-19 2015-03-16 光ネットワークユニットptpサービスをリモート設定する方法、装置、及びシステム
US15/504,020 US10063335B2 (en) 2014-08-19 2015-03-16 Method, apparatus and system for remotely configuring PTP service of optical network unit
KR1020177004198A KR101969396B1 (ko) 2014-08-19 2015-03-16 원격으로 광 네트워크 유닛 ptp 서비스를 구성하는 방법, 장치와 시스템
AU2015306000A AU2015306000B2 (en) 2014-08-19 2015-03-16 Method, apparatus and system for remotely configuring PTP service of optical network unit
EP15833834.3A EP3171544B1 (en) 2014-08-19 2015-03-16 Method, apparatus and system for remotely configuring ptp service of optical network unit

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410410718.8A CN105471603B (zh) 2014-08-19 2014-08-19 一种远程配置光网络单元ptp业务的方法、装置和系统
CN201410410718.8 2014-08-19

Publications (1)

Publication Number Publication Date
WO2016026290A1 true WO2016026290A1 (zh) 2016-02-25

Family

ID=55350157

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074339 WO2016026290A1 (zh) 2014-08-19 2015-03-16 一种远程配置光网络单元ptp业务的方法、装置和系统

Country Status (7)

Country Link
US (1) US10063335B2 (zh)
EP (1) EP3171544B1 (zh)
JP (1) JP6419947B2 (zh)
KR (1) KR101969396B1 (zh)
CN (1) CN105471603B (zh)
AU (1) AU2015306000B2 (zh)
WO (1) WO2016026290A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107205180B (zh) * 2016-03-17 2021-01-15 华为技术有限公司 消息传输方法、中继设备及消息处理器
CN109413222B (zh) * 2018-10-24 2022-04-19 广东微云科技股份有限公司 云终端的批量有序自动设置方法及其系统
CN111277349B (zh) * 2018-12-04 2023-12-22 深圳市中兴微电子技术有限公司 一种时钟同步的方法及系统
US11502767B2 (en) 2019-08-16 2022-11-15 Arista Networks, Inc. VLAN-aware clock synchronization
CN112492409B (zh) * 2019-09-11 2024-03-19 中兴通讯股份有限公司 一种业务配置方法及装置
JP7463841B2 (ja) 2020-05-20 2024-04-09 住友電気工業株式会社 制御装置、ponシステム、及び、通信方法
CN112351355B (zh) * 2020-10-20 2022-04-15 烽火通信科技股份有限公司 一种基于gRPC的ONU通道的管理方法和系统
CN115190022B (zh) * 2022-07-25 2023-08-22 武汉烽火技术服务有限公司 一种onu配置部署的方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662702A (zh) * 2008-08-27 2010-03-03 华为技术有限公司 无源光网络中的时延控制方法、光线路终端和无源光网络
CN101841736A (zh) * 2009-03-20 2010-09-22 中兴通讯股份有限公司 一种无源光网络时间传递的方法及系统
CN102340396A (zh) * 2010-07-29 2012-02-01 高通创锐讯通讯科技(上海)有限公司 Epon网络中时间同步的方法
CN103873179A (zh) * 2012-12-17 2014-06-18 财团法人工业技术研究院 使无源光网络具备支持时间同步能力的装置与方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3428538B2 (ja) * 1999-12-02 2003-07-22 日本電気株式会社 アクセス網遠隔制御方式
CN101795423A (zh) * 2009-02-04 2010-08-04 中兴通讯股份有限公司 无源光网络系统的时间同步方法及其同步系统
JP5375195B2 (ja) 2009-02-27 2013-12-25 沖電気工業株式会社 光多重伝送システム、精密時刻同期装置、伝送制御信号生成装置、及び光多重伝送システムにおける精密時刻同期方法
US8850197B2 (en) * 2009-07-31 2014-09-30 Futurewei Technologies, Inc. Optical network terminal management control interface-based passive optical network security enhancement
EP2288048A1 (en) 2009-08-21 2011-02-23 Panasonic Corporation Rotated multi-dimensional constellations for improved diversity in fading channels
JP5576747B2 (ja) 2010-09-06 2014-08-20 株式会社日立製作所 通信システム及び時刻同期方法
CN102480321A (zh) * 2010-11-29 2012-05-30 中兴通讯股份有限公司 一种gpon系统中家庭网关相关参数的管理方法及系统
US9497019B2 (en) * 2012-06-18 2016-11-15 Telefonaktiebolaget L M Ericsson (Publ) Time domains in a PON
CN104284258B (zh) * 2013-07-12 2017-10-27 上海贝尔股份有限公司 在pon中配置onu作为ieee1588主时钟的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662702A (zh) * 2008-08-27 2010-03-03 华为技术有限公司 无源光网络中的时延控制方法、光线路终端和无源光网络
CN101841736A (zh) * 2009-03-20 2010-09-22 中兴通讯股份有限公司 一种无源光网络时间传递的方法及系统
CN102340396A (zh) * 2010-07-29 2012-02-01 高通创锐讯通讯科技(上海)有限公司 Epon网络中时间同步的方法
CN103873179A (zh) * 2012-12-17 2014-06-18 财团法人工业技术研究院 使无源光网络具备支持时间同步能力的装置与方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3171544A4 *

Also Published As

Publication number Publication date
AU2015306000A1 (en) 2017-03-09
JP6419947B2 (ja) 2018-11-07
US20170272191A1 (en) 2017-09-21
KR20170037989A (ko) 2017-04-05
US10063335B2 (en) 2018-08-28
EP3171544A1 (en) 2017-05-24
EP3171544B1 (en) 2019-09-18
AU2015306000B2 (en) 2018-02-15
JP2017527213A (ja) 2017-09-14
CN105471603A (zh) 2016-04-06
EP3171544A4 (en) 2017-07-19
KR101969396B1 (ko) 2019-04-16
CN105471603B (zh) 2020-12-11

Similar Documents

Publication Publication Date Title
WO2016026290A1 (zh) 一种远程配置光网络单元ptp业务的方法、装置和系统
US9882666B2 (en) Time synchronization for network testing equipment
US9559899B2 (en) Upstream external PHY interface for data and control plane traffic
US9031095B2 (en) Precision timing using a modified synchronization operation
WO2018040529A1 (zh) 一种报文处理方法、设备及系统
US20130227008A1 (en) Clock synchronization based on predefined grandmaster
WO2016045098A1 (zh) 交换机、控制器、系统及链路质量检测方法
WO2018210213A1 (zh) 一种实现ioam封装的方法及装置、存储介质
TW202127849A (zh) 用於在電腦網路中經加密流量的時間同步
WO2017177751A1 (zh) 时间同步方法和装置
WO2015184771A1 (zh) 一种业务功能链操作、管理和维护方法及节点设备
US11171860B2 (en) Method for obtaining target transmission route, related device, and system
WO2011057544A1 (zh) 一种基于802.3ah协议实现点到多点OAM的方法及系统
WO2015117319A1 (zh) 一种时间同步方法、设备及系统
EP4054149A1 (en) Method and apparatus for configuring aging time of media access control address
CN112087477B (zh) 建立非以太网业务的方法和网络设备
WO2022089231A1 (zh) 时间校准方法、通信设备和计算机可读介质
US8891384B2 (en) Circuit emulation service for carrying time division multiplexed SCADA traffic
Chowdhury Packet Timing: Precision Time Protocol
WO2015062330A1 (zh) 基于wan接口的1588v2报文传输方法及装置
US9548889B2 (en) Methods and apparatuses for automated TDM-ethernet provisioning

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20177004198

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15504020

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2015833834

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015833834

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017509722

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2015306000

Country of ref document: AU

Date of ref document: 20150316

Kind code of ref document: A