WO2020063991A1 - Pon network, method and apparatus for pon network and robot system - Google Patents

Pon network, method and apparatus for pon network and robot system Download PDF

Info

Publication number
WO2020063991A1
WO2020063991A1 PCT/CN2019/109246 CN2019109246W WO2020063991A1 WO 2020063991 A1 WO2020063991 A1 WO 2020063991A1 CN 2019109246 W CN2019109246 W CN 2019109246W WO 2020063991 A1 WO2020063991 A1 WO 2020063991A1
Authority
WO
WIPO (PCT)
Prior art keywords
onu
olt
state machine
event
message
Prior art date
Application number
PCT/CN2019/109246
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 WO2020063991A1 publication Critical patent/WO2020063991A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • H04B10/272Star-type networks or tree-type networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present disclosure relates to the field of communications, and in particular, to a PON network, a method and device for the PON network, and a robot system.
  • CAN Controller Area Network. There is no master-slave data communication in CAN bus. Any node can initiate data communication to any other node, and the CAN bus will not be damaged by a single node. And paralyzed.
  • An object of the present disclosure is to provide a PON network, a method and device for the PON network, and a robot system capable of managing and controlling communication processes between nodes in the PON network, and improving communication in the PON network. Flexibility in communication between nodes.
  • a first aspect of the embodiments of the present disclosure provides a PON network, where the PON network includes an optical line terminal OLT, and at least one optical network unit ONU connected to the OLT;
  • the OLT as a master device for network management and control includes:
  • a first state machine module configured to run a master state machine that performs a state operation according to an event occurring on the OLT itself, and a slave state machine that performs a state operation according to an event occurring on an ONU connected to the OLT;
  • a first message bus layer module configured to provide a message bus server and a first message bus client to support a user of the first message bus client in the OLT and a user of a second message bus client in the ONU Register and subscribe to message topics and publish and receive topic messages;
  • the ONU as a network management control slave device includes:
  • a second state machine module configured to run a slave state machine that performs state operations according to an event occurring on the ONU itself and according to an event of the slave state machine running in the first state machine module;
  • a second message bus layer module configured to provide the second message bus client to support users of the second message bus client in the ONU to register and subscribe to message topics, and to publish and receive topic messages;
  • a second transmission network for message transmission between the ONU and the OLT
  • the first transmission network and the second transmission network include a time division and wavelength division multiplexed TWDM network, so that the ONU can switch access between different wavelength channels provided by the OLT.
  • a second aspect of the embodiments of the present disclosure provides a method for a PON network.
  • the method is applied to the PON network according to any one of the first aspects, and the method includes:
  • the first state machine module of the OLT registers a first message subject with a message bus server of the first message bus layer module, and sends a network management control NMC configuration instruction to an ONU connected to the OLT;
  • the second state machine module of the ONU performs NMC service configuration on the second transmission network of the ONU according to the NMC configuration instruction, and performs a second process on the message bus server through the second message bus layer module of the ONU.
  • the ONU switches access between different wavelength channels provided by the OLT.
  • a third aspect of the embodiments of the present disclosure provides an apparatus for a PON network, the apparatus being configured as an OLT in the PON network according to any one of the first aspects.
  • a fourth aspect of the embodiments of the present disclosure provides a device for a PON network, the device being configured as an ONU in the PON network according to any one of the first aspects.
  • a fifth aspect of the embodiments of the present disclosure provides a robot system including the PON network according to any one of the first aspects.
  • the OLT and ONU can perform the corresponding message bus layer module through the corresponding time division and wavelength division multiplexing transmission network. Registration and mutual subscription of message topics, and publication and reception of topic messages, thereby realizing message communication between the OLT and the ONU.
  • the OLT and the ONU are also provided with corresponding state machine modules, and the state machines in the state machine modules can perform corresponding state operations according to events occurring at the corresponding node devices.
  • the OLT which is the master device of network management and control
  • the OLT can interact with the state machine of the ONU of the network management control slave device through the corresponding state machine through the corresponding transmission network, and switch the wavelength channel where the ONU is located when necessary Therefore, the effect of managing and controlling the communication process between the nodes in the PON network is achieved, and the communication flexibility between the communication nodes in the PON network is also improved.
  • FIG. 1 is a schematic diagram of a PON-CAN bus architecture shown in an exemplary embodiment of the present disclosure.
  • FIG. 2 is a schematic structural diagram of a robot system based on a PON-CAN bus architecture according to an exemplary embodiment of the present disclosure.
  • FIG. 3 is a system architecture diagram of an OLT in a PON network according to an exemplary embodiment of the present disclosure.
  • FIG. 4 is a system architecture diagram of an ONU in a PON network according to an exemplary embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of a method for a PON network according to an exemplary embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of state switching of a main state machine in an OLT according to an exemplary embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of state switching of a slave state machine in an OLT according to an exemplary embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of state switching of a slave state machine in an ONU according to an exemplary embodiment of the present disclosure.
  • a PON-CAN bus architecture based on a passive optical fiber network and a symmetric coupler and / or an asymmetric coupler can avoid the influence of electromagnetic interference, and it will not cause bandwidth reduction between levels, so it can provide very high bandwidth.
  • the PON-CAN bus architecture can meet the high-speed transmission requirements at the same time as the number of connected nodes continues to increase, which solves the problems of the existing CAN bus with low communication speed and limited number of node connections.
  • FIG. 1 is a schematic diagram of the PON-CAN bus architecture.
  • the PON-CAN bus architecture includes an OLT (Optical Line Terminal) 101, and an optical fiber bus connected to the OLT 101.
  • the optical fiber bus It is formed by interconnecting multiple asymmetric couplers.
  • the optical fiber bus 102 shown in FIG. 1 is formed by interconnecting a plurality of asymmetric couplers 103.
  • an ONU (Optical Network Unit) device 104 as shown in FIG. 1 is also connected to the optical fiber bus, which is used to realize the conversion of the photoelectric signals between the optical fiber bus and the electronically controlled terminal device, thereby enabling The communication between the total information device 101 and the terminal device is realized.
  • FIG. 2 is a schematic structural diagram of a robot system based on a PON-CAN bus architecture.
  • the upper computer 201 in the robot system shown may be a node including an OLT, and the OLT is used as a Bus master.
  • the median machine system, power management system, lower computer control system, servo system of each limb joint, and corresponding terminal equipment of each limb joint in the robot system are respectively connected with the optical fiber bus of the PON-CAN bus architecture.
  • To the next-level network which are respectively connected to the optical fiber bus through corresponding ONU equipment.
  • the purpose of the embodiments of the present disclosure is to provide a PON network, which can manage and control the communication process between communication nodes in the PON network, and improve the communication flexibility between the communication nodes in the PON network.
  • the PON network can be applied to the internal communication of a robot system, communication between machines, or communication between nodes in an IoT environment. Taking the robot system shown in FIG. 2 as an example, the robot may be an industrial automation robot.
  • the PON network may form a PON-CAN bus architecture with a CAN network in the robot system.
  • the PON network includes an OLT, and at least one ONU connected to the OLT.
  • the OLT as a master device for network management and control includes:
  • a first state machine module configured to run a master state machine that performs a state operation according to an event occurring on the OLT itself, and a slave state machine that performs a state operation according to an event occurring on an ONU connected to the OLT;
  • a first message bus layer module configured to provide a message bus server and a first message bus client to support a user of the first message bus client in the OLT and a user of a second message bus client in the ONU Register and subscribe to message topics and publish and receive topic messages;
  • the ONU as a network management control slave device includes:
  • a second state machine module configured to run a slave state machine that performs state operations according to an event occurring on the ONU itself and according to an event of the slave state machine running in the first state machine module;
  • a second message bus layer module configured to provide the second message bus client to support users of the second message bus client in the ONU to register and subscribe to message topics, and to publish and receive topic messages;
  • a second transmission network for message transmission between the ONU and the OLT
  • the first transmission network and the second transmission network include TWDM (Time and Wavelength Division Multiplexed Network) to enable the ONU to switch between different wavelength channels provided by the OLT. Access.
  • TWDM Time and Wavelength Division Multiplexed Network
  • the PON network may be based on NG-PON2.
  • the OLT includes a first state machine module 31 and a first message bus.
  • the first state machine module 31 includes a master state machine 311 and a slave state machine 312.
  • the master state machine 311 is responsible for managing the OLT itself and the message bus. The state operation of the event. For example, after the OLT enters a normal working state, if the corresponding ONU communication link is activated, the master state machine 311 may separately start the slave state machines 312 corresponding to the corresponding ONU in the OLT. For another example, if the wavelength channel port of the OLT fails, the OLT may switch the wavelength channel in which the ONU is located, thereby improving communication stability.
  • the number of slave state machines 312 in the OLT may be one or more, and each of the slave state machines 312 in the OLT can directly perform a slave state machine in a corresponding ONU connected to the OLT. Interaction to facilitate management of the corresponding ONU.
  • the first message bus layer module 32 includes:
  • the first message bus client 322 is capable of supporting users of the first message bus client to register and subscribe to message topics, and to publish and receive topic messages.
  • a message bus server (the MQTT server 324 is taken as an example in the figure, and the MQTT server is connected to the MQTT-SQ gateway 325), which can support the user of the first message bus client in the OLT and the second message in the ONU Users of the bus client register and subscribe to message topics and publish and receive topic messages.
  • the first transmission network 33 may include:
  • the TWDM-TC sub-layer includes: TWDM-TC function module, physical layer operation management and maintenance PLOAM module 333, AMCC framework 334 (AMCC Framing), AMCC-PHY adapter 335 (AMCC physical adaptation), and TWDM-TC business application Game layer 332 (TWDM Service and Adaptation Sublayer), TWDM-TC FRAMING sublayer 336, TWDM-TC PHY adaptation sublayer 337;
  • the TWDM-TC service adaptation sub-layer includes: a user data adapter (User Data Adapter), an OMCI adapter, and an encapsulation layer engine (XGEM Engine), and the user data adapter is connected to the TWDM-TC function module 331;
  • a user data adapter User Data Adapter
  • OMCI adapter OMCI adapter
  • XGEM Engine encapsulation layer engine
  • the TWDM-TC FRAMING sublayer 336 includes: a bandwidth dynamic allocation DBA (Upstream Bandwidth Mgmt & DBA Control) connected to the TWDM-TC functional module 331, a message connected to the TWDM-TC functional module 331 and a dynamic bandwidth allocation DBA Embedded Header Fields (Embedded Header Fields), PLOAM Partition Module (PLOAM Partition) connected to the Message Header Field Embedded Module and Physical Layer Operation Management and Maintenance PLOAM 333, Connected to the Message Header Field Embedded Module and Encapsulation Engine Encapsulation layer partition module (XGEM Partition);
  • DBA Upstream Bandwidth Mgmt & DBA Control
  • Embedded Header Fields Embedded Header Fields
  • PLOAM Partition PLOAM Partition Module
  • the message header field embedding module is also connected to the PHY burst timing and configuration file control module in the TWDM-TC PHY adaptation sublayer 337, and the AMCC-PHY adapter 335 is also connected to the TWDM-PMD sublayer 338.
  • the physical layer operation management and maintenance PLOAM module 333, the bandwidth dynamic allocation DBA, and the TWDM-TC function module 331 are also connected to the network controller, respectively.
  • the optical network unit management control interface OMCI can be used to support ONU configuration, fault management, performance management, XGEM adaptation layer, and Ethernet services (including MAC bridge LAN) in the operation of the optical access system. service.
  • the physical layer operation management and maintenance PLOAM module 333 is a message-based operation management channel between the OLT and the ONU, and supports PON, including ONU activation, ONU management control channel (OMCC) establishment, encryption configuration, key management, and alarm signaling. Layer management functions.
  • the TWDM-TC function module 332 includes functions such as TWDM channel management, performance management, security key management, and protection.
  • the AMCC framework sub-layer 334 is responsible for constructing and parsing overhead fields, and these fields support necessary PON management functions. .
  • the AMCC-PHY adapter 335 has a function of modifying the bit stream of the modulated optical transmitter, and the purpose is to improve the detection, reception, and rendering characteristics of signals transmitted through the optical medium.
  • the TWDM-TC service adaptation sublayer 336 is responsible for encapsulation, multiplexing, and description of the upper-layer SDU. it includes:
  • OMCI adapter is responsible for filtering and decapsulating the upstream frames. It can support many concurrent channels. These channels can be of a mixed type and are responsible for encapsulating the OMCI PDUs in the OMCI control logic into an appropriate format for transmission to the ONU.
  • User data adapter can be configured to adapt to various upper-layer transmission interfaces.
  • the encapsulation layer engine can be responsible for the multiplexing and filtering of XGEM Port-ID.
  • the TWDM-TC FRAMING sublayer 337 may be responsible for constructing and parsing overhead fields. These fields support the necessary PON management functions. It includes: upstream bandwidth management and DBA control (DBA). Dynamic indication of status and configured communication contracts, the process of allocating uplink passive optical network (PON) capacity among communication bearer entities within the ONU.
  • DBA DBA control
  • the TWDM-PMD sublayer 339 includes a function of modifying the bit stream of the modulated optical transmitter, which can improve the detection, reception, and rendering characteristics of signals transmitted through the optical medium.
  • the first transmission network 33 can respond to the NMC control request of the first state machine module to perform corresponding configuration, thereby supporting related functions of the first state machine module.
  • FIG. 4 is a system architecture diagram of an ONU in a PON network. As shown in FIG. 4, the ONU includes a second state machine module 41, a second message bus layer module 42, and a second transmission network 43.
  • the second state machine module 41 includes a slave state machine 411 that is responsible for managing the corresponding ONU.
  • the slave state machine 411 in the ONU can directly interact with the slave state machine 312 in the OLT connected to the ONU, and can An event occurring on the ONU itself performs a state operation corresponding to the event.
  • the first state machine module 31, the first message bus layer module 32, and the first transmission layer module 33 may also be configured in the same system, and the system is used as a network management control master device in the PON network.
  • the first transmission layer module 33 may be an OLT in the related art, and the first state machine module 31 and the first message bus layer module 32 may be configured on a CPU board of another device. In this case, the running carriers of the first state machine module 31 and the first message bus layer module 32 need to be in the same local area network environment as the OLT.
  • the second transmission layer module 43 may be an ONU in the related art, and the second state machine module 41 and the second message bus layer module 42 may also be configured on a CPU board of another device.
  • the carriers of the second state machine module 41 and the second message bus layer module 42 need to be in the same local area network environment as the ONU.
  • the PON network is connected to the CAN network in the robot system to form a PON-CAN bus architecture.
  • the first message bus layer module 32 is set in the OLT and the second message bus layer module 42 is set in the ONU.
  • the OLT and ONU can register the message topic and subscribe to each other, and issue and receive topic messages through the corresponding message bus layer module through the corresponding TDM TWDM transmission network, thereby realizing the OLT and the ONU.
  • the OLT and the ONU are also provided with corresponding state machine modules, and the state machines in the state machine modules can perform corresponding state operations according to events occurring at the corresponding node devices.
  • the OLT which is the master device of network management and control
  • the OLT can interact with the state machine of the ONU of the network management control slave device through the corresponding state machine through the corresponding transmission network, and switch the wavelength channel where the ONU is located when needed. Therefore, the effect of managing and controlling the communication process between the nodes in the PON network is achieved, and the communication flexibility between the communication nodes in the PON network is also improved.
  • the first state machine module 31 includes:
  • a first message bus client interface 313, configured to support the first state machine module as a user of the first message bus client 322 in the OLT to register and subscribe to message topics and publish with the message bus server 324 And receive subject messages;
  • the first network controller 315 is configured to perform, by the first state machine module, an NMC (Network Management and Control Subsystem, NMC) service configuration on a transmission network of the OLT.
  • NMC Network Management and Control Subsystem
  • the service flow tag can be used to classify the subject message for which registration is requested.
  • the service flow tag It can be XGEM Port-ID, which is carried in the inner VLAN ID field of the Ethernet frame.
  • the MQTT server may include in the REGACK message returned to the ONU for responding to the message subject registration request the MQTT server to register for the request.
  • Service flow token assigned by the message subject Thereafter, the messages published by the ONU to the topic later carry the service flow mark.
  • the service specification information may include one or more of specification version information, encryption mode information, distribution mode information, distribution mode information, and bandwidth description information.
  • the specification version information is used to identify a current service specification; the encryption mode information is used to specify whether data distribution is encrypted; the release mode information is used to specify data transmission between an MQTT-SN client and an MQTT server Mode; the distribution mode information is used to specify a data transmission method between the MQTT server and the subscribed MQTT-SN client; the bandwidth description information is used to specify a fixed bandwidth, a guaranteed bandwidth, and a maximum bandwidth for the topic message release.
  • Table 1 is an example of ServiceSpec information:
  • the relationship between the fixed bandwidth, the guaranteed bandwidth, and the maximum bandwidth can refer to the corresponding description in the G-PON technical specification ITU-T G.984.3 standard.
  • DISTRIBUTION Encryption when the bit value carried in the encryption mode information is 0, it indicates that the transmission path from the gateway of MQTT-SN to the subscribed MQTT-SN client is not encrypted, Suitable for MQTT-SN gateway from MQTT-SN gateway to ONU and OLT client.
  • the value of the bit carrying the encryption mode information is 1, it indicates that the transmission path from the MQTT-SN gateway to the subscribed MQTT-SN client is encrypted, which is suitable for the MQTT-SN client from the MQTT-SN gateway to the ONU.
  • DISTRIBUTION refers to the transmission path from the MQTT-SN gateway to the subscribed MQTT-SN client, which is suitable for unicast and multicast.
  • PUBLISH Mode information when the value of the corresponding bit is 00, it indicates that the transmission path from the MQTT-SN client to the MQTT-SN gateway uses shared unicast to transmit data, which is suitable for ONU and OLT. MQTT-SN client. When the value of the bit carrying the encryption mode information is 01, it indicates that the transmission path from the MQTT-SN client to the MQTT-SN gateway is a unicast transmission of data, which is suitable for the MQTT-SN client on the ONU and the OLT.
  • PUBLISH here specifically refers to the transmission path from the MQTT-SN client to the MQTT-SN gateway, which can only be unicast.
  • the distribution mode information (DISTRIBUTION Mode) when the value of the bit carrying the distribution mode information is 00, it indicates that the transmission path from the MQTT-SN gateway to the subscribed MQTT-SN client is shared unicast, which is suitable for ONUs and OLTs.
  • MQTT-SN client on the Internet when the value of the bit carrying the distribution mode information is 01, it means that the MQTT-SN gateway to the subscribed MQTT-SN client uses dedicated unicast to this section of transmission path, suitable for ONU and OLT MQTT-SN client; when the value of the bit carrying the distribution mode information is 10, it means that the MQTT-SN gateway to the subscribed MQTT-SN client uses shared multicast for this transmission path, which is suitable for the MQTT on the ONU and the OLT -SN client; when the value of the bit carrying the distribution mode information is 11, it means that the MQTT-SN gateway to the subscribed MQTT-SN client uses a dedicated multicast to this transmission path, which is suitable for the MQTT-ONU and OLT- SN client.
  • DISTRIBUTION here specifically refers to the transmission path from the MQTT-SN gateway to the subscribed MQTT-SN client, which can be unicast and multicast.
  • the second state machine module 41 includes:
  • a second message bus client interface 412 configured to support the second state machine module 41 as a user of the second message bus client 421 in the ONU, register and subscribe to a message topic and publish with the message bus server 324 And receive subject messages;
  • a second network management control server interface 413 configured to support the second state machine module 41 to implement a service specification and a service flow mark of the communication between the OLT and the ONU through the second message bus layer module 42;
  • the second network controller 414 is configured for the second state machine module 41 to perform NMC service configuration on the transmission network 43 of the ONU.
  • the first message bus layer module 32 includes:
  • a message bus server interface 321 is configured to support the first state machine module 31 to register and subscribe to a message topic, and to publish and receive a topic message through the first message bus client 322 (that is, the first message bus client in the OLT). .
  • the message bus server is configured to support a first message bus client 322 in the OLT on the message bus and / or a second message bus client 423 in the ONU to register and subscribe to a message topic, and to publish and receive topic messages.
  • the network adapter 326 is connected to the transmission network 33 of the OLT, and implements adaptation of the first message bus layer module 32 to the transmission network 33 of the OLT.
  • the network adapter 326 stores a message transmission path for each message subject between the OLT and the ONU, which can support remote and / or between the message bus server 324 and a client of the message bus server. Local messaging.
  • the network adapter may store transmission path information of each message topic between the OLT and the ONU, such as a service flow tag Flow tag, a service specification Service spec, information of a subject message issuer, and an upstream T-CONT.
  • the OLT and ONU can update the corresponding stored in the network adapter through the corresponding network management control server interface and network management control client interface. Transmission path information.
  • the OLT and the ONU can update the network through the corresponding network management control server interface and network management control client interface according to the switching result (COMPLETE, NACK, or ROLLBACK). Corresponding transmission path information stored in the adapter.
  • the second message bus layer module 42 may include:
  • a network management control client interface 422 configured to support the second state machine module 41 to implement a service specification and a service flow mark of the communication between the OLT and the ONU through the second message bus layer module 42;
  • a second message bus client 423 to support a user of the second message bus client 423 in the ONU to communicate with the message bus server 324 to implement registration and subscription of message topics and publication and reception of topic messages;
  • a network adapter 424 is connected to the transmission network 43 of the ONU, and implements the adaptation of the second message bus layer module 42 to the transmission network 43 of the ONU.
  • the network adapter 424 stores the OLT and the transmission network 43. Message transmission path for each message subject between ONUs
  • the OLT and the ONU can register, subscribe to, and subscribe to topic messages through the message bus server through the corresponding message bus layer module and the corresponding transmission network through their corresponding state machine modules. Publish and receive, thereby establishing a publish / subscribe messaging model.
  • the state machine module corresponding to the OLT and ONU further includes a network management control server interface
  • the message bus layer module corresponding to the OLT and ONU further includes a network management control client interface, so that the OLT and the ONU can be supported.
  • the service specification and service flow mark of the communication between the ONUs That is to say, during the communication process, the data channel of the subject message requesting publication and the subscription process can be configured according to the specific service specification information, and then the communication process between nodes in the PON network can be managed.
  • the slave state machine and the master state machine in the first state machine module may share the first message bus client interface and / or the first network management control server interface.
  • the performing, by the first state machine module, the NMC service configuration on the transmission network of the OLT through the first network controller includes:
  • the first network controller 315 may serve as a control interface of the first state machine module 31 to the first transmission network 33 of the OLT.
  • the first network controller 315 may configure the corresponding service request of the first state machine module 31 to the transmission network 33 according to the actual software and hardware resource status of the transmission network.
  • the first network controller 315 may respond to the corresponding service request of the first state machine module 31 to the OMCI 331, Configure and manage QoS resources such as PLOAM333, DBA, and possible traffic classification.
  • the master state machine is configured to start a slave state machine in the OLT for interaction with the ONU after an ONU connected to the OLT is activated.
  • the main state machine is configured to perform a state operation according to at least one of the following events:
  • An event used to indicate that the first state machine module requests a message bus server in the first message bus layer module to register a message subject.
  • Table 2 is a schematic diagram of the events that a main state machine needs to process:
  • the NMCM_LINK_UP shown is an event characterizing the activation of the OLT;
  • the NMCM_LINK_DN shown is an event signifying the deactivation of the OLT;
  • the NMCS_LINK_UP shown is an event signifying the activation of the link between the OLT and the ONU;
  • the NMCS_LINK_DN shown is an event that characterizes the deactivation of the link between the OLT and the ONU;
  • the NMCS_LINK_TUNING_BEGIN is shown that it is an event that the ONU connected to the OLT starts to switch wavelength channels;
  • the NMCS_LINK_TUNING_END is shown that it is access The event that the ONU of the OLT switches the end of the wavelength channel;
  • MB_BROKER_UP shown is an event that represents the activation of the message bus server in the first message bus layer module;
  • MB_BROKER_DN is shown that represents the message bus server in the first message bus layer module Deactivation event;
  • the slave state machine in the first state machine module is configured to perform a state operation according to at least one of the following events:
  • Table 3 is a schematic diagram of events that a slave state machine needs to process in a first state machine module:
  • NMCS_LINK_UP is an event characterizing a link activation between the OLT and the ONU
  • NMCS_LINK_DN is an event characterizing a link deactivation between the OLT and the ONU
  • NMCS_LINK_TUNING_BEGIN is a characterization An ONU that accesses the OLT starts to switch wavelength channels
  • the NMCS_LINK_TUNING_END shown is an event that indicates that the ONU that accesses the OLT switches the wavelength channel
  • NMC_ACCESS_REQ is an event that characterizes the ONU that issues an access request
  • NMC_IDENT_RESP is the characterization The event in which the ONU performs an identity response response
  • NMC_CONFIG_RESP is an event that characterizes the ONU to perform a configuration response
  • NMC_STATUS_RESP is an event that characterizes the ONU in a status update response.
  • the slave state machine in the first state machine module can perform corresponding state operations according to the events shown in Table 3,
  • the slave state machine in the second state machine module is configured to perform a state operation according to at least one of the following events:
  • An event used to indicate that the OLT sends a status update request to the ONU is an event used to indicate that the OLT sends a status update request to the ONU.
  • Table 4 is a schematic diagram of the events that the slave state machine needs to process in a second state machine module:
  • the NMCS_LINK_UP shown is an event characterizing a link activation between the ONU and the OLT;
  • the NMCS_LINK_DN is an event signifying a link deactivation between the ONU and the OLT;
  • the NMCS_LINK_TUNING_BEGIN is a characterization The event that the ONU connected to the OLT starts to switch the wavelength channel;
  • the NMCS_LINK_TUNING_END shown is the event that characterizes the end of the ONU that accesses the OLT to switch the wavelength channel;
  • MB_CONNACK is the event that characterizes the second state machine module and the first message bus An event that the message bus server in the layer module performs connection confirmation;
  • MB_REGISTER is an event that characterizes the message subject registered by the message bus server of the second state machine module in the first message bus layer module;
  • NMC_IDENT_REQ is an event that characterizes the OLT to The ONU sends an event for an identity response request;
  • the value of the CPI (Channel Partition Index) of the ONU is 0, so that the ONU can switch access between multiple wavelength channels provided by the same wavelength port of the OLT.
  • NG-PON2 network-based network
  • operators can use any standard (such as service profile, universality of equipment or geographical location) to subdivide the TWDM and / or PtP WDM channel set in the system into non-overlapping Subset.
  • Each such subset of channels is called a channel partition and is identified by a unique index in the NG-PON2 system.
  • the channel partition index (CPI) is contained in the Channel_ProfilePLOAM message.
  • the ONU carries a channel partition index, which is stored in non-volatile memory and is guaranteed to be retained through ONU reactivation, hot and cold restarts, power cycling and / or power loss.
  • the CPI value of the ONU can be read and written through OMCI.
  • the manner of setting the CPI value of the ONU in the PON network to 0 supports the switching of the ONU in each wavelength channel provided by the OLT in the PON network. For example, when a certain wavelength channel of the OLT is to be upgraded with software, the OLT can control the ONU on the wavelength channel to perform channel switching, thereby reducing communication interruption time.
  • the identification information of the OLT includes a wavelength port ID of the OLT and does not include a wavelength channel ID provided by the OLT
  • the identification information of the ONU includes a wavelength port ID of the OLT and does not include the OLT The provided wavelength channel ID, so that when the ONU switches between different wavelength channels, the identification information of the ONU and the OLT connected to the ONU does not change; and / or,
  • the transmission container T-CONT allocated to the same ONU under the same wavelength port of the OLT, the XGEM port-ID of the encapsulation layer port, and the VLAN of the virtual local area network remain unchanged.
  • wavelength port (abbreviated as wlPort) can be used as the identifier of an OLT.
  • the OLT identification method in the PON network may be OLT card / Wavelength port.
  • the OLT card of the OLT is 1, and the Wavelength port is 2, the flag of the corresponding OLT is 1/2.
  • the Wavelength port may correspond to 1 to 8 wavelength channels (corresponding to 1 to 8 wavelength channel ports, which are represented by OLT CT).
  • ctPort may be used to mark a wavelength channel port (OLT) corresponding to a wavelength channel on the wavelength port Wavelength port.
  • the source OLT CT and the destination OLT CT can be marked with sctPort and dctPort, respectively.
  • the ONUs may be assigned the same ONU ID. That is, the ONU can keep the ONU ID unchanged during the process of switching between different wavelength channels.
  • the OLT assigns the transmission container T-CONT, the encapsulation layer port X-GEM port-ID, and the virtual local area network VLAN to the same ONU under the same wavelength port. constant. If any of the ONU ID, T-CONT, XGEM, Port-ID, and VLAN of the encapsulation layer changes, you need to restart and activate the corresponding ONU.
  • the NMC message bus may also be identified through the foregoing OLT identification method.
  • the corresponding NMC message bus may be identified through an OLT card / Wavelength port.
  • the MQTT-SN client ID on the message bus may be recorded as a corresponding OLT card / Wavelength port.
  • the identifier of the MQTT-SN client on the ONU may be OLT card / Wavelength port / ONU ID.
  • Consistent equalization delay method Consistent equalization delay method
  • the IDs of all communication nodes can remain unchanged during the ONU switching in different wavelength channels under the same wavelength port. Based on the message subject defined by such communication node IDs It can also remain unchanged, which can reduce unnecessary resynchronization overhead during wavelength channel switching, reduce message communication interruption time and packet loss.
  • the message bus server 324 in the first message bus layer module includes an MQTT server, and when the MQTT server is initialized, the first state machine module pre-registers NMC management for ONUs that need to access the OLT. Control channel
  • the NMC management control channel includes: a first downlink management control channel for downlink multicast messages from the OLT to all ONUs or a specified portion of the ONUs; and a first uplink management control channel for uplink orders from the ONU Broadcast the message to the OLT, and then multicast the message to all ONUs.
  • the main state machine in the first state machine module of the OLT receives MB_REGISTER (refer to Table 4) from an MQTT server or an MQTT-SN gateway connected to the MQTT, and the OLT and the corresponding ONU After the transmission channel is established in the underlying physical transmission network (for example, the downlink multicast XGEM Port-ID and VLAN of the G-PON), the first downlink management control channel takes effect.
  • MB_REGISTER (refer to Table 4) from an MQTT server or an MQTT-SN gateway connected to the MQTT
  • the OLT and the corresponding ONU After the transmission channel is established in the underlying physical transmission network (for example, the downlink multicast XGEM Port-ID and VLAN of the G-PON), the first downlink management control channel takes effect.
  • the first uplink management control channel receives the MB_REGISTER from the MQTT-SN gateway / MQTT server in the slave state machine in the second state machine module, and establishes a transmission channel from the ONU to the OLT in the underlying physical transmission network (for example, G-PON's uplink T-CONT (Transmission Container), XGEM (Port-ID and VLAN) will take effect later.
  • G-PON's uplink T-CONT Transmission Container
  • XGEM Port-ID and VLAN
  • the NMC management control channel further includes:
  • a second downlink management control channel configured to downlink a unicast message from the OLT to a designated ONU; and / or,
  • the second uplink management control channel is used for uplink unicast messages from the ONU to the OLT.
  • the second downlink management control channel only needs to receive MB_REGISTER from the MQTT-SN gateway / MQTT server in the slave state machine of the second state machine module, and establish the physical transmission network from the OLT to the specific The ONU's transmission channel (such as G-PON's downstream unicast XGEM Port-ID and VLAN) becomes effective afterwards.
  • the second uplink management control channel receives the MB_REGISTER from the MQTT-SN gateway / MQTT server in the slave state machine of the second state machine module, and establishes a physical transport network from the ONU to the OLT at the bottom layer Transmission channels (such as G-PON's uplink T-CONT, XGEM, Port-ID, and VLAN) will be valid afterwards.
  • the bottom layer Transmission channels such as G-PON's uplink T-CONT, XGEM, Port-ID, and VLAN
  • the default configuration of the PON network may be that all MQTT-SN control messages and message topics related to network management control are on the downlink of the OLT to the G-PON of all ONUs.
  • the multicast XGEM Port-ID and VLAN, and the upstream T-CONT, XGEM Port-ID and VLAN of the G-PON from the ONU to the OLT are transmitted.
  • uplink and downlink transmission channels can also be established separately according to the application requirements of the system.
  • the PUBLISH transmission channel corresponding to other MQTT-SN topic message data can use the topic message data service specification (Service Spec) according to specific message characteristics.
  • Service Spec topic message data service specification
  • NMC Service to establish G-PON uplink and downlink T-CONT, XGEM Port-ID and VLAN separately for transmission.
  • the topic publishing message transmission method can be:
  • the MQTT server When the MQTT server processes the topic registration message issued by the MQTT-SN client of the ONU, it can use the bandwidth description information in the service specification information and the existing multicast, XGEM port, and T-CONT usage status of the published ONU, and the current OLT With and without multicast, XGEM port, and T-CONT, determine how to allocate and use multicast, XGEM port, and T-CONT.
  • the MQTT server can use OMCI and PLOAM to perform corresponding dynamic configuration on the OLT and ONU, and will dynamically adjust the DBA allocation of the OLT accordingly.
  • the MQTT server processes the topic subscription of the ONTT's MQTT-SN client to subscribe to the SUBSCRIBE message, it can use the bandwidth description information in the service specification information provided by the ONU that publishes the topic message, as well as the existing multicast and XGEM ports of the subscribed ONU.
  • the usage of the OLT, the existing and remaining multicast of the OLT, and the situation of the XGEM port determine how to allocate and use the multicast and XGEM port.
  • the MQTT server can use OMCI and PLOAM to perform corresponding dynamic configuration on the OLT and the subscribed ONU.
  • using the PON network can also isolate the transmission channel of the MQTT-SN control message from the transmission channel of the subject message data release to ensure the reliability of the transmission of the MQTT-SN control message. That is, the topic release message is transmitted by the data channel, and all other MQTT-SN control messages are transmitted by the control channel.
  • the present disclosure also provides a method for a PON network, which can be applied to the PON network described in any one of the above embodiments.
  • a method for a PON network which can be applied to the PON network described in any one of the above embodiments.
  • NMC-M is the master device of the network management control (for example, OLT)
  • NMC-S is a network management control slave device (such as ONU):
  • FIG. 5 is a schematic flowchart of a method for a PON network according to an exemplary embodiment of the present disclosure. As shown in FIG. 5, the method includes:
  • the first state machine module of the OLT performs first message subject registration on the first message bus layer module server of the OLT, and sends an NMC configuration instruction to an ONU connected to the OLT.
  • the configuration method of the PON itself can be used to transmit the corresponding initial configuration of the network management control and the initial configuration of the message bus from the OLT to the ONU through OMCI for corresponding configuration.
  • the MAC address of the gateway of the message bus may be transmitted to the ONU through the OMCI.
  • the second state machine module of the ONU performs NMC service configuration on the second transmission network of the ONU according to the NMC configuration instruction, and performs the NMC service on the message bus server through the second message bus layer module of the ONU. Second message subject registration.
  • the OLT and the ONU establish message communication in a publish / subscribe mode in the first wavelength channel.
  • the ONU when the preset condition is satisfied, the ONU can switch access between different wavelength channels provided by the OLT.
  • a first message bus client, a message bus server, and a corresponding gateway may be set in a message bus layer module of the OLT, so as to support the first message bus client in the OLT.
  • Users at the end, and users of the second message bus client in all related ONUs register and subscribe to message topics, and publish and receive topic messages. That is, a device provided with a corresponding message bus client can be connected to the message bus server through a corresponding message bus server interface, and then can register and subscribe to message topics and publish and receive topic messages through the message bus server, thereby achieving Messages are transmitted between devices through a publish / subscribe message communication mode.
  • the message bus server works at the data link layer, which can avoid extra processing and transmission overhead working at the IP layer or the network layer.
  • the preset condition includes at least one of the following conditions:
  • the OLT CT of the first wavelength port fails, for example, after an OLT CT of the first wavelength port fails, the ONU of the wavelength channel is switched to another wavelength channel, or the ONU line card fails After that, switch ONU to other wavelength channels;
  • the board of the ONU fails
  • the OLT CT of the first wavelength port enters a software upgrade state.
  • the ONU switching access between different wavelength channels provided by the OLT under the condition that the preset conditions are met includes:
  • all ONUs of the plurality of wavelength channels are switched to the first wavelength channel, where the first wavelength channel is the foregoing Any one of multiple wavelength channels.
  • the ONU in the higher-loaded wavelength channel can be switched to the lower-loaded wavelength channel according to the load capacity of the wavelength channel, so as to achieve the effect of controlling the load capacity and capacity of each wavelength channel.
  • the idle degree of the PON network when the PON network is relatively idle (for example, at night), multiple ONUs can be switched to the same wavelength channel, thereby reducing the energy consumption of the OLT.
  • the OLT CT of the destination wavelength channel shall:
  • the OLT is controlled to transmit other non-network management control related topic messages in a best-effort mode.
  • the ONU shall:
  • the OLT can switch the wavelength channel in which the ONU is located according to its wavelength channel and the actual situation of the ONU, thereby improving the flexibility and communication between the communication nodes in the PON network. stability.
  • the parameters in the NMC configuration instruction configured by the first message bus layer module include at least one of the following parameters:
  • a parameter for monitoring the operating status of the OLT and an ONU connected to the OLT wherein if the OLT does not receive a communication message from the ONU within a threshold duration, or if the ONU is in If no communication message is received from the OLT within the threshold duration, it is determined that the communication between the OLT and the ONU is disconnected;
  • Table 7 shows the configuration parameters of a first message bus layer module:
  • NMCMNodeId is a parameter that characterizes the node ID of the OLT
  • NMCSNodeId is a parameter that characterizes the node ID of the ONU
  • NMCDeathChkTimer is a parameter that monitors the operating status of the OLT and the ONU that communicates with the OLT.
  • NMCHealthChkTimer is a health check timeout parameter for the OLT to initiate a status update request to the ONU, and / or for the ONU to report its status to the OLT
  • NMCM2AllCtrlTopicName is a characteristic Parameters of the names of the multicast control topics from the OLT to all ONUs
  • NMCS2AllCtrlTopicName is a parameter that characterizes the names of the multicast control topics from the ONU to the OLT and all ONUs
  • the parameters of the address DefaultMBGwId is a parameter characterizing the ID of the MQTT-SN gateway; DefaultMBGwMACAddress is a parameter characterizing the MAC address of the default MQTT-SN gateway.
  • step S51 the method includes:
  • the main state machine in the first state machine module of the OLT responds to a message bus server activation event in the first message bus layer module, and a state operation corresponding to the event occurs.
  • the state operation includes at least: Sending a message bus connection request to the message bus server.
  • the message bus server activation event may be an autonomous event of the message bus server, such as the MB_BROKER_UP event shown in Table 2.
  • the main state machine in the first state machine module of the OLT responds to a connection confirmation event with a message bus server in the first message bus layer module, and a state operation corresponding to the event occurs.
  • the master state machine in the first state machine module of the OLT responds to a message bus server registering a message subject event in the first message bus layer module, and a state operation corresponding to the event occurs.
  • the message bus server registration message subject event in the first message bus layer module may be the MB_REGISTER event shown in Table 2.
  • the message bus server uses the event to predefine the master device of the message bus server through the event.
  • the control message subject and the slave device control message subject are sent to the master state machine.
  • the main state machine performs a corresponding state operation according to the MB_REGISTER event, and updates a control theme.
  • step S51 after the sending an NMC configuration instruction to the ONU, the method includes:
  • the OLT When the OLT receives a message indicating that the ONU completes the NMC configuration, it triggers an event indicating the activation of the OLT, and the main state machine in the first state machine module of the OLT responds to the event, A state operation corresponding to the event occurred.
  • the ONU may send a message to the OLT to indicate that the ONU completes the NMC configuration, thereby triggering the NMCM_LINK_UP event shown in Table 2, and the OLT starts normal operation.
  • the OLT When receiving the message bus server connection request sent by the ONU, the OLT triggers an event that is used to characterize the activation of the link between the ONU and the OLT.
  • the first state machine module of the OLT In response to the event, the main state machine occurs, and a state operation corresponding to the event occurs.
  • the OLT when receiving the message bus server connection request sent by the ONU, the OLT triggers the NMCS_LINK_UP event shown in Table 2. After the OLT determines that the ONU works normally according to the NMCS_LINK_UP event, the master state machine can activate the slave state machine corresponding to the ONU in the OLT, so that the slave state machine in the OLT can communicate with all The slave state machine in the ONU interacts with the message bus server to realize the communication between the OLT and the ONU.
  • the method further includes:
  • the OLT When the OLT detects that an event meeting the preset condition occurs, it triggers an event that is used to characterize that the ONU starts to switch wavelength channels, and the main state machine in the first state machine module of the OLT responds to the An event occurs with a state operation corresponding to the event.
  • the state operation includes at least: sending a wavelength channel switching request to the ONU.
  • the OLT may trigger an NMCS_LINK_TUNING_BEGIN event that is used to indicate that the ONU starts to switch wavelength channels, and switch the ONU to In the second wavelength channel of the OLT.
  • the OLT can send to the ONU.
  • the OLT When the OLT receives an instruction for characterizing completion of the ONU wavelength channel switching, it triggers an event for characterizing the end of the ONU switching wavelength channel, and the main state machine in the first state machine module of the OLT In response to the event, a status operation corresponding to the event occurs.
  • the ONU may send a wavelength channel switching success instruction to the OLT through the destination wavelength channel after the wavelength channel switching is successful, triggering the NMCS_LINK_TUNING_END event.
  • the method further includes:
  • the OLT When receiving the message bus server connection request sent by the ONU, the OLT triggers an event that is used to characterize the activation of the link between the ONU and the OLT.
  • the first state machine module of the OLT The slave state machine responds to the event, and a state operation corresponding to the event occurs.
  • the OLT when receiving the message bus server connection request sent by the ONU, the OLT triggers the NMCS_LINK_UP event shown in Table 2.
  • the slave state machine in the OLT changes to the active state in response to the event.
  • the OLT When the OLT receives the message of the message bus server connection request sent by the ONU, the OLT triggers an event for characterizing the access request issued by the ONU, and the slave state machine in the first state machine module of the OLT In response to the event, a state operation corresponding to the event occurs, and the state operation includes at least sending an identity response request (for example, NMC_IDENT_REQ) to the ONU.
  • an identity response request for example, NMC_IDENT_REQ
  • the OLT When the OLT receives the identity response response sent by the ONU, an event for characterizing the ONU to respond to the identity response is triggered, and the slave state machine in the first state machine module of the OLT responds to the event, A state operation corresponding to the event occurs, the state operation includes at least: sending a configuration request to the ONU for configuring a slave state machine in the second state machine module of the ONU.
  • the OLT may configure a node ID of a device connected to the ONU by sending a configuration request (such as NMC_CONFIG_REQ) to the ONU.
  • a configuration request such as NMC_CONFIG_REQ
  • the OLT When the OLT receives the configuration response sent by the ONU, an event for triggering the configuration response of the ONU is triggered.
  • the slave state machine in the first state machine module of the OLT responds to the event, and a corresponding event occurs.
  • the state operation includes at least: sending a status update request (such as NMC_STATUS_REQ) to the ONU to implement the slave state machine and the second state of the ONU in the first state machine module of the OLT Between slave state machines in the machine module.
  • a status update request such as NMC_STATUS_REQ
  • a state operation corresponding to the event may occur, and the slave state machine in the OLT enters a normal operating state.
  • an event for triggering the status update of the ONU is triggered, and a slave state machine in the first state machine module of the OLT occurs in response to the event. Action corresponding to the state of the event.
  • the OLT may request to stop the ONU.
  • the method further includes:
  • the OLT When the OLT detects that an event meeting the preset condition occurs, it triggers an event used to characterize that the ONU starts to switch wavelength channels, and the slave state machine in the first state machine module of the OLT responds to the An event occurs with a state operation corresponding to the event.
  • the slave state machine in the first state machine module of the OLT may respond to the NMCS_LINK_TUNING_BEGIN event, reset the NMCDeathChkTimer and stop the NMCHealthChkTimer to monitor the ONU switch state .
  • the slave state machine in the OLT may request through the NMC_STOP_REQ instruction Stopping the ONU, and stopping the NMCDeathChkTimer and NMCHealthChkTimer.
  • an event for characterizing the end of the ONU switching wavelength channel is triggered, and the slave state machine in the first state machine module of the OLT In response to the event, a status operation corresponding to the event occurs.
  • the slave state machine may set M2AllCtrlTopicChan and S2AllCtrlTopicChan according to the wavelength channel after the switching is completed.
  • the M2AllCtrlTopicChan is a wavelength channel of the multicast control topic from the NMC-M node to all NMC-S nodes
  • the S2AllCtrlTopicChan is the multicast control topic of the NMC-S node to the NMC-M node and all NMC-S nodes.
  • Wavelength channel NMC-S first uplink unicast, then downlink multicast.
  • the method further includes:
  • the ONU Upon receiving the NMC configuration instruction sent by the OLT, the ONU triggers an event for characterizing a link activation between the ONU and the OLT, and the slave in the second state machine module of the ONU The state machine responds to the event, and a state operation corresponding to the event occurs, such as setting the M2AllCtrlTopicChan and S2AllCtrlTopicChan according to the source wavelength channel.
  • the ONU When the ONU receives the message of the message bus server connection confirmation sent by the OLT, the ONU triggers an event for characterizing the connection confirmation of the second state machine module and the message bus server in the first message bus layer module.
  • the slave state machine in the second state machine module of the ONU responds to the event, and a state operation corresponding to the event occurs.
  • a slave state machine in the second state machine module of the ONU responds to a registered message subject event of a message bus server in the first message bus layer module, and a state operation corresponding to the event occurs;
  • the ONU When the ONU receives the identity response request sent by the OLT, it triggers an event used to characterize the OLT sending an identity response request to the ONU, and the slave state machine in the second state machine module of the ONU responds At the event, a status operation corresponding to the event occurs, and the status operation at least includes: sending an identity response response (such as NMC_IDENT_RESP) to the OLT.
  • an identity response response such as NMC_IDENT_RESP
  • the ONU When the ONU receives a configuration request sent by the OLT, it triggers an event used to characterize that the OLT sends a configuration request to the ONU, and a slave state machine in the second state machine module of the ONU responds to the An event occurs with a state operation corresponding to the event.
  • the state operation includes at least: sending a configuration response (such as NMC_CONFIG_RESP) to the OLT.
  • the ONU receives a status update request sent by the OLT, and triggers an event for characterizing the OLT to send a status update request to the ONU.
  • the slave state machine in the second state machine module of the ONU responds to In this event, a state operation corresponding to the event occurs.
  • the state operation includes at least: sending a status update response (such as NMC_STATUS_RESP) to the OLT to implement the slave state machine and the state machine in the first state machine module of the OLT. Interaction between the slave state machines in the second state machine module of the ONU.
  • the method further includes:
  • a slave state machine in the second state machine module of the ONU When the ONU receives a wavelength channel switching request sent by the OLT, a slave state machine in the second state machine module of the ONU responds to the event, and a state operation corresponding to the event occurs.
  • the state operation may include : Sending a channel switching response to the OLT and resetting the NMCDeathChkTimer, and stopping the NMCHealthChkTimer.
  • the state operation includes at least: sending a wavelength channel switching completion message to the OLT.
  • the slave state machine in the OLT may also set the parameters M2AllCtrlTopicChan and S2AllCtrlTopicChan according to the destination wavelength channel, and restart setting the NMCDeathChkTimer and NMCHealthChkTimer.
  • the following describes the process of establishing a connection control by the network management control subsystem in the PON network of the present application through an embodiment.
  • the OLT identified by 1/2 and the message bus server and the ONU identified by 1/2/3 pass through the PON network.
  • Establish a control connection Referring to Table 6, the main state machine in the first state machine module of the OLT responds to the MQTT-SN message bus server activation event MB_BROKER_UP in the first message bus layer module, and sends a message bus connection request MB_CONNECT to the message bus server. After receiving the MB_CONNACK message fed back by the MQTT-SN server or the gateway, the connection between the main state machine and the MQTT-SN server is successful. After that, the MQTT-SN server may send an MB_REGISTER instruction to the master state machine, and send the predefined master device control message subject and topic ID, and the slave device control message subject and topic ID to the master state machine.
  • the OLT may also send an NMC configuration instruction (PON_NMC_CONFIG_REQ (OMCI / PLOAM: NMC-M, NMC-S, MB)) to an ONU connected to the OLT.
  • PON_NMC_CONFIG_REQ OMCI / PLOAM: NMC-M, NMC-S, MB
  • the configuration method of the PON itself can be used to transmit the initial configuration of the corresponding network management control, the initial configuration of the message bus, etc. from the OLT to the ONU for configuration through OMCI.
  • the NMCS_LINK_UP event is triggered, and the corresponding ONU starts to run normally.
  • the slave state machine in the ONU may also request to establish a connection with the MQTT-SN server by sending an MB_CONNECT instruction to the MQTT-SN server. And, after the connection is successful, in response to the MB_REGISTER instruction sent by the MQTT-SN server, receiving a predefined master device control message subject and subject ID, and a slave device control message subject and subject ID.
  • the ONU may also send a configuration result message PON_NMC_CONFIG_RESP (OMCI / PLOAM) to the OLT after the configuration is successful, and trigger the NMCM_LINK_UP event according to the PON_NMC_CONFIG_RESP (OMCI / PLOAM) event to activate the OLT.
  • the OLT may trigger an NMCS_LINK_UP event according to the PON_NMC_CONFIG_RESP (OMCI / PLOAM) message, and activate the corresponding slave state machine in the OLT through the master state machine in the OLT.
  • the slave state machine in the OLT and the slave state machine in the ONU can directly interact through the MQTT-SN message bus, and transmit control topic messages through the established corresponding control channel, so as to facilitate OLT management and control.
  • a communication node device in the PON network can directly interact through the MQTT-SN message bus, and transmit control topic messages through the established corresponding control channel, so as to facilitate OLT management and control.
  • the ONU may send a connection request NMC_ACCESS_REQ to the OLT.
  • the ONU may receive the OLT by receiving the OLT.
  • the manner of sending a status update request and sending a status update response to the OLT implement interaction with the OLT.
  • the status update request may be sent periodically by the OLT.
  • the OLT determines the connection of the ONU by sending the status update request to the ONU and receiving the response of the ONU to the status update request. Status to manage and control the ONU.
  • the above embodiments have combined the state switching diagram of the master state machine and the slave state machine in the OLT and the slave state machine in the ONU.
  • Various operations of the master state machine and the slave state machine, as well as the slave state machine in the ONU have been described in detail, and this disclosure will not repeat them here.
  • the present disclosure also provides an apparatus for a PON network, the apparatus being configured as an OLT in the PON network described in any of the above embodiments.
  • the present disclosure also provides an apparatus for a PON network, the apparatus being configured as an ONU in the PON network described in any of the above embodiments.
  • the present disclosure also provides a robot system including the PON network described in any one of the above embodiments.
  • the robot system is provided with a first message bus layer module in the OLT and a second message bus layer module in the ONU, and the OLT and the ONU can pass the corresponding message bus layer module through the corresponding time division and wavelength division multiplexing.
  • the transmission network performs registration and mutual subscription of message topics and release and reception of topic messages, thereby realizing message communication between the OLT and the ONU.
  • the OLT and the ONU are also provided with corresponding state machine modules, and the state machines in the state machine modules can perform corresponding state operations according to events occurring at the corresponding node devices.
  • the OLT which is the master device of the network management control
  • the OLT can interact with the state machine of the ONU of the network management control slave device through the corresponding state machine through the corresponding transmission network, and switch the wavelength channel where the ONU is located when needed. Therefore, the effect of managing and controlling the communication process between the nodes in the PON network is achieved, and the communication flexibility between the communication nodes in the PON network is also improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computing Systems (AREA)
  • Small-Scale Networks (AREA)
  • Information Transfer Between Computers (AREA)
  • Communication Control (AREA)

Abstract

A PON network, a method and an apparatus for a PON network, and a robot system, the PON network comprising an OLT and an ONU connected to the OLT. The OLT, as a master network management control device, comprises: a first state machine module, used to run a master state machine and a slave state machine; a first message bus layer module, used to provide a message bus server and a first message bus client; and a first transmission network, used to transmit messages between the OLT and the ONU. The ONU, as a slave network management control device, comprises: a second state machine module, used for running a slave state machine that performs state operations on the basis of an event occurring in the ONU and on the basis of an event in the slave state machine in the first state machine module; a second message bus layer module, used to provide a second message bus client; and a second transmission network, used to transmit messages between the ONU and the OLT. The first transmission network and the second transmission network comprise time-division and wavelength-division multiplexed networks, so as to enable ONU access handover between different wavelength channels provided by the OLT.

Description

PON网络,用于PON网络的方法及装置,以及机器人系统PON network, method and device for PON network, and robot system
相关申请的交叉引用Cross-reference to related applications
本申请要求于2018年9月29日提交的、申请号为62/739214的美国临时申请的优先权,该申请的内容通过引用的方式合并于此。This application claims priority from US Provisional Application No. 62/739214, filed on September 29, 2018, the contents of which are incorporated herein by reference.
技术领域Technical field
本公开涉及通信领域,具体地,涉及一种PON网络,用于PON网络的方法及装置,以及机器人系统。The present disclosure relates to the field of communications, and in particular, to a PON network, a method and device for the PON network, and a robot system.
背景技术Background technique
CAN是控制器局域网络(Controller Area Network)的简称,在CAN总线中数据通信没有主从之分,任意一个节点都可以向任何其他节点发起数据通信,并且CAN总线也不会因单个节点的损坏而瘫痪。CAN is the abbreviation of Controller Area Network. There is no master-slave data communication in CAN bus. Any node can initiate data communication to any other node, and the CAN bus will not be damaged by a single node. And paralyzed.
随着科学科技的发展,控制系统的应用范围正不断扩大,受控制的节点也越来越多,例如机器人系统,其具有运动量大、传感器多、关节多等特点,从而对节点数、指令响应速度以及传输速率的要求也会越来越高。而现有的CAN总线网络在多节点控制传输的情况下,无法满足相应的通信要求。With the development of science and technology, the application range of control systems is continuously expanding, and more and more nodes are controlled. For example, robot systems have the characteristics of large amounts of motion, many sensors, and many joints, so they respond to the number of nodes and instructions. The requirements for speed and transmission rate will also become higher and higher. However, the existing CAN bus network cannot meet the corresponding communication requirements in the case of multi-node control transmission.
发明内容Summary of the Invention
本公开的目的是提供一种PON网络,用于PON网络的方法及装置,以及机器人系统,能够对PON网络下的各节点间的通信过程进行管理和控制,并提升所述PON网络中各通信节点间通信的灵活性。An object of the present disclosure is to provide a PON network, a method and device for the PON network, and a robot system capable of managing and controlling communication processes between nodes in the PON network, and improving communication in the PON network. Flexibility in communication between nodes.
为了实现上述目的,本公开实施例第一方面提供一种PON网络,所述PON网络包括光线路终端OLT,以及与所述OLT相连的至少一个光网络单元ONU;To achieve the foregoing object, a first aspect of the embodiments of the present disclosure provides a PON network, where the PON network includes an optical line terminal OLT, and at least one optical network unit ONU connected to the OLT;
所述OLT作为网络管理控制主设备,包括:The OLT as a master device for network management and control includes:
第一状态机模块,用于运行根据所述OLT自身发生的事件进行状态操作的主状态机,以及运行根据接入所述OLT的ONU发生的事件进行状态操作的从状态机;A first state machine module, configured to run a master state machine that performs a state operation according to an event occurring on the OLT itself, and a slave state machine that performs a state operation according to an event occurring on an ONU connected to the OLT;
第一消息总线层模块,用于提供消息总线服务器和第一消息总线客户端,以支持所述OLT中的所述第一消息总线客户端的用户和所述ONU中的第二消息总线客户端的用户注册和订阅消息主题以及发布和接收主题消息;A first message bus layer module, configured to provide a message bus server and a first message bus client to support a user of the first message bus client in the OLT and a user of a second message bus client in the ONU Register and subscribe to message topics and publish and receive topic messages;
第一传输网络,用于所述OLT与所述ONU之间的消息传输;A first transmission network for message transmission between the OLT and the ONU;
所述ONU作为网络管理控制从设备,包括:The ONU as a network management control slave device includes:
第二状态机模块,用于运行根据所述ONU自身发生的事件以及根据所述第一状态机模块中运行的从状态机的事件进行状态操作的从状态机;A second state machine module, configured to run a slave state machine that performs state operations according to an event occurring on the ONU itself and according to an event of the slave state machine running in the first state machine module;
第二消息总线层模块,用于提供所述第二消息总线客户端,以支持所述ONU中的所述第二消息总线客户端的用户注册和订阅消息主题以及发布和接收主题消息;A second message bus layer module, configured to provide the second message bus client to support users of the second message bus client in the ONU to register and subscribe to message topics, and to publish and receive topic messages;
第二传输网络,用于所述ONU与所述OLT之间的消息传输;A second transmission network for message transmission between the ONU and the OLT;
其中,所述第一传输网络与所述第二传输网络包括时分和波分复用TWDM网络,以使所述ONU能够在所述OLT提供的不同波长通道之间切换接入。The first transmission network and the second transmission network include a time division and wavelength division multiplexed TWDM network, so that the ONU can switch access between different wavelength channels provided by the OLT.
本公开实施例第二方面提供一种用于PON网络的方法,所述方法应用于上述第一方面中任一项所述的PON网络,所述方法包括:A second aspect of the embodiments of the present disclosure provides a method for a PON network. The method is applied to the PON network according to any one of the first aspects, and the method includes:
所述OLT的所述第一状态机模块在所述第一消息总线层模块的消息总线服务器进行第一消息主题注册,并向与所述OLT相连的ONU发送网络管理控制NMC配置指令;The first state machine module of the OLT registers a first message subject with a message bus server of the first message bus layer module, and sends a network management control NMC configuration instruction to an ONU connected to the OLT;
所述ONU的所述第二状态机模块根据所述NMC配置指令对所述ONU的第二传输网络进行NMC服务配置,并通过所述ONU的第二消息总线层模块在消息总线服务器进行第二消息主题注册;The second state machine module of the ONU performs NMC service configuration on the second transmission network of the ONU according to the NMC configuration instruction, and performs a second process on the message bus server through the second message bus layer module of the ONU. Message subject registration;
所述ONU接入所述OLT的第一波长端口的第一波长通道中;Accessing the ONU to a first wavelength channel of a first wavelength port of the OLT;
所述OLT与所述ONU在所述第一波长通道中建立发布/订阅模式的消息通讯;Message communication between the OLT and the ONU in a publish / subscribe mode in the first wavelength channel;
其中,在满足预设条件的情况下,所述ONU在所述OLT提供的不同波长通道之间切换接入。Wherein, when the preset condition is satisfied, the ONU switches access between different wavelength channels provided by the OLT.
本公开实施例第三方面提供一种用于PON网络的装置,所述装置被配置为上述第一方面中任一项所述的PON网络中的OLT。A third aspect of the embodiments of the present disclosure provides an apparatus for a PON network, the apparatus being configured as an OLT in the PON network according to any one of the first aspects.
本公开实施例第四方面提供一种用于PON网络的装置,所述装置被配置为上述第一方面中任一项所述的PON网络中的ONU。A fourth aspect of the embodiments of the present disclosure provides a device for a PON network, the device being configured as an ONU in the PON network according to any one of the first aspects.
本公开实施例第五方面提供一种机器人系统,所述机器人系统包括上述第一方面中任一项所述的PON网络。A fifth aspect of the embodiments of the present disclosure provides a robot system including the PON network according to any one of the first aspects.
上述技术方案至少能够包括如下技术效果:The above technical solution can at least include the following technical effects:
通过在OLT中设置第一消息总线层模块以及在ONU中设置第二消息总线层模块,所述OLT和ONU可以通过相应的消息总线层模块,经由相应的时分和波分复用传输网络来进行消息主题的注册和相互订阅,以及主题消息的发布与接收,从而实现所述OLT与所述ONU之间的消息通讯。此外,所述OLT和ONU中还设置有相应的状态机模块,所述状态机模块中的状态机可以根据与其对应的各节点设备所发生的事件来进行相应的状态操作。也就是说,作为网络管理控制主设备的OLT可以通过相应的状态机经由相应的 传输网络与网络管理控制从设备ONU的状态机进行交互,在需要时对所述ONU所处的波长通道进行切换,从而实现对所述PON网络中各节点间的通讯过程进行管理控制的效果,同时也提升了所述PON网络中各通信节点间通信的灵活性。By setting a first message bus layer module in the OLT and a second message bus layer module in the ONU, the OLT and ONU can perform the corresponding message bus layer module through the corresponding time division and wavelength division multiplexing transmission network. Registration and mutual subscription of message topics, and publication and reception of topic messages, thereby realizing message communication between the OLT and the ONU. In addition, the OLT and the ONU are also provided with corresponding state machine modules, and the state machines in the state machine modules can perform corresponding state operations according to events occurring at the corresponding node devices. In other words, the OLT, which is the master device of network management and control, can interact with the state machine of the ONU of the network management control slave device through the corresponding state machine through the corresponding transmission network, and switch the wavelength channel where the ONU is located when necessary Therefore, the effect of managing and controlling the communication process between the nodes in the PON network is achieved, and the communication flexibility between the communication nodes in the PON network is also improved.
本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the detailed description section that follows.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:The drawings are used to provide a further understanding of the present disclosure, and constitute a part of the specification. Together with the following specific embodiments, the drawings are used to explain the present disclosure, but do not constitute a limitation on the present disclosure. In the drawings:
图1是本公开一示例性实施例所示出的一种PON-CAN总线架构的示意图。FIG. 1 is a schematic diagram of a PON-CAN bus architecture shown in an exemplary embodiment of the present disclosure.
图2是本公开一示例性实施例所示出的一种基于PON-CAN总线架构的一种机器人系统的结构示意图。FIG. 2 is a schematic structural diagram of a robot system based on a PON-CAN bus architecture according to an exemplary embodiment of the present disclosure.
图3是本公开一示例性实施例所示出的一种PON网络中OLT的系统架构图。FIG. 3 is a system architecture diagram of an OLT in a PON network according to an exemplary embodiment of the present disclosure.
图4是本公开一示例性实施例所示出的一种PON网络中ONU的系统架构图。FIG. 4 is a system architecture diagram of an ONU in a PON network according to an exemplary embodiment of the present disclosure.
图5是本公开一示例性实施例所示出的一种用于PON网络的方法的流程示意图。FIG. 5 is a schematic flowchart of a method for a PON network according to an exemplary embodiment of the present disclosure.
图6是本公开一示例性实施例所示出的一种OLT中的主状态机的状态切换示意图。FIG. 6 is a schematic diagram of state switching of a main state machine in an OLT according to an exemplary embodiment of the present disclosure.
图7是本公开一示例性实施例所示出的一种OLT中的从状态机的状态切换示意图。FIG. 7 is a schematic diagram of state switching of a slave state machine in an OLT according to an exemplary embodiment of the present disclosure.
图8是本公开一示例性实施例所示出的一种ONU中的从状态机的状态切换示意图。FIG. 8 is a schematic diagram of state switching of a slave state machine in an ONU according to an exemplary embodiment of the present disclosure.
具体实施方式detailed description
以下结合附图对本公开的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开,并不用于限制本公开。Hereinafter, specific embodiments of the present disclosure will be described in detail with reference to the drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the disclosure, and are not intended to limit the disclosure.
为了本领域技术人员能够更加容易地理解本公开实施例提供的技术方案,首先对PON-CAN总线架构进行说明。In order that those skilled in the art can more easily understand the technical solutions provided by the embodiments of the present disclosure, the PON-CAN bus architecture is described first.
基于无源光纤网络以及对称耦合器和/或不对称耦合器构成的PON-CAN总线架构能够避免电磁干扰影响,并且层级之间不会造成带宽消减,从而可以提供非常高的带宽。也就是说,PON-CAN总线架构可以在所 连接的节点不断增加的情况下同时满足高速率的传输要求,解决了现有CAN总线通信速率低,节点连接数受限的问题。A PON-CAN bus architecture based on a passive optical fiber network and a symmetric coupler and / or an asymmetric coupler can avoid the influence of electromagnetic interference, and it will not cause bandwidth reduction between levels, so it can provide very high bandwidth. In other words, the PON-CAN bus architecture can meet the high-speed transmission requirements at the same time as the number of connected nodes continues to increase, which solves the problems of the existing CAN bus with low communication speed and limited number of node connections.
图1是PON-CAN总线架构的一种示意图,如图1所示,PON-CAN总线架构包括OLT(Optical Line Terminal,光线路终端)101,以及与该OLT 101连接的光纤总线,该光纤总线由多个不对称耦合器互连形成。例如,图1中所示的光纤总线102由多个不对称耦合器103互连形成。并且,所述光纤总线上还连接有如图1中所示的ONU(Optical Network Unit,光网络单元)设备104,用于实现光纤总线与电控的终端设备之间的光电信号的转换,进而能够实现总信息设备101与终端设备之间的通信。Figure 1 is a schematic diagram of the PON-CAN bus architecture. As shown in Figure 1, the PON-CAN bus architecture includes an OLT (Optical Line Terminal) 101, and an optical fiber bus connected to the OLT 101. The optical fiber bus It is formed by interconnecting multiple asymmetric couplers. For example, the optical fiber bus 102 shown in FIG. 1 is formed by interconnecting a plurality of asymmetric couplers 103. In addition, an ONU (Optical Network Unit) device 104 as shown in FIG. 1 is also connected to the optical fiber bus, which is used to realize the conversion of the photoelectric signals between the optical fiber bus and the electronically controlled terminal device, thereby enabling The communication between the total information device 101 and the terminal device is realized.
以机器人系统为例,图2是基于PON-CAN总线架构的一种机器人系统的结构示意图,所示机器人系统中的上位机201可以是一个包括OLT的节点,所述OLT作为PON-CAN总线的总线主设备。所述机器人系统中的中位机系统、电源管理系统、下位机控制系统、各个肢体关节的伺服系统、各个肢体关节相应的终端设备,分别位于与所述PON-CAN总线架构的光纤总线相连接的下一级网络,其分别通过相应的ONU设备连接至所述光纤总线。Taking a robot system as an example, FIG. 2 is a schematic structural diagram of a robot system based on a PON-CAN bus architecture. The upper computer 201 in the robot system shown may be a node including an OLT, and the OLT is used as a Bus master. The median machine system, power management system, lower computer control system, servo system of each limb joint, and corresponding terminal equipment of each limb joint in the robot system are respectively connected with the optical fiber bus of the PON-CAN bus architecture. To the next-level network, which are respectively connected to the optical fiber bus through corresponding ONU equipment.
本公开实施例的目的即是提供一种PON网络,能够对PON网络中各通信节点间的通信过程进行管理控制,并提升PON网络中各通信节点间通信的灵活性。所述PON网络可以应用于机器人系统的内部通信、机器与机器之间的通信或是物联网环境下各节点的通信中。以图2所示的机器人系统为例,所述机器人可以是工业自动化机器人,在具体实施时,所述PON网络可以与所述机器人系统中的CAN网络构成PON-CAN总线架构。所述PON网络包括OLT,以及与所述OLT相连的至少一个ONU。The purpose of the embodiments of the present disclosure is to provide a PON network, which can manage and control the communication process between communication nodes in the PON network, and improve the communication flexibility between the communication nodes in the PON network. The PON network can be applied to the internal communication of a robot system, communication between machines, or communication between nodes in an IoT environment. Taking the robot system shown in FIG. 2 as an example, the robot may be an industrial automation robot. In specific implementation, the PON network may form a PON-CAN bus architecture with a CAN network in the robot system. The PON network includes an OLT, and at least one ONU connected to the OLT.
所述OLT作为网络管理控制主设备,包括:The OLT as a master device for network management and control includes:
第一状态机模块,用于运行根据所述OLT自身发生的事件进行状态操作的主状态机,以及运行根据接入所述OLT的ONU发生的事件进行状态操作的从状态机;A first state machine module, configured to run a master state machine that performs a state operation according to an event occurring on the OLT itself, and a slave state machine that performs a state operation according to an event occurring on an ONU connected to the OLT;
第一消息总线层模块,用于提供消息总线服务器和第一消息总线客户端,以支持所述OLT中的所述第一消息总线客户端的用户和所述ONU中的第二消息总线客户端的用户注册和订阅消息主题以及发布和接收主题消息;A first message bus layer module, configured to provide a message bus server and a first message bus client to support a user of the first message bus client in the OLT and a user of a second message bus client in the ONU Register and subscribe to message topics and publish and receive topic messages;
第一传输网络,用于所述OLT与所述ONU之间的消息传输;A first transmission network for message transmission between the OLT and the ONU;
所述ONU作为网络管理控制从设备,包括:The ONU as a network management control slave device includes:
第二状态机模块,用于运行根据所述ONU自身发生的事件以及根据所述第一状态机模块中运行的从状态机的事件进行状态操作的从状态机;A second state machine module, configured to run a slave state machine that performs state operations according to an event occurring on the ONU itself and according to an event of the slave state machine running in the first state machine module;
第二消息总线层模块,用于提供所述第二消息总线客户端,以支持所述ONU中的所述第二消息总线客户端的用户注册和订阅消息主题以及发布和接收主题消息;A second message bus layer module, configured to provide the second message bus client to support users of the second message bus client in the ONU to register and subscribe to message topics, and to publish and receive topic messages;
第二传输网络,用于所述ONU与所述OLT之间的消息传输;A second transmission network for message transmission between the ONU and the OLT;
其中,所述第一传输网络与所述第二传输网络包括TWDM(Timeand Wavelength Division Multiplexed Network,时分波分复用网络),以使所述ONU能够在所述OLT提供的不同波长通道之间切换接入。The first transmission network and the second transmission network include TWDM (Time and Wavelength Division Multiplexed Network) to enable the ONU to switch between different wavelength channels provided by the OLT. Access.
在一实施例中,所述PON网络可以基于NG-PON2,参照图3所示出的一种PON网络中OLT的系统架构图,所述OLT包括:第一状态机模块31、第一消息总线层模块32以及第一传输网络33。In an embodiment, the PON network may be based on NG-PON2. Referring to a system architecture diagram of an OLT in a PON network shown in FIG. 3, the OLT includes a first state machine module 31 and a first message bus. The layer module 32 and the first transmission network 33.
所述第一状态机模块31包括主状态机311以及从状态机312,其中,所述主状态机311负责管理OLT自身以及消息总线,其可以根据OLT自身所发生的各项事件进行相应于所述事件的状态操作。示例地,OLT进入正常工作状态之后,若相应的ONU通信链路被激活,则所述主状态机311可以分别启动所述OLT中与相应的ONU相对应的从状态机312。又例如,若所述OLT的波长通道端口出现故障,则所述OLT可以对所述ONU所处的波长通道进行切换,从而提升通信的稳定性。此外,所述OLT中的从状态机312的数量可以为一个或者多个,每一所述OLT中的所述从状态机312能够直接与和所述OLT相连的对应ONU中的从状态机进行交互,以便于对对应的ONU进行管理。The first state machine module 31 includes a master state machine 311 and a slave state machine 312. The master state machine 311 is responsible for managing the OLT itself and the message bus. The state operation of the event. For example, after the OLT enters a normal working state, if the corresponding ONU communication link is activated, the master state machine 311 may separately start the slave state machines 312 corresponding to the corresponding ONU in the OLT. For another example, if the wavelength channel port of the OLT fails, the OLT may switch the wavelength channel in which the ONU is located, thereby improving communication stability. In addition, the number of slave state machines 312 in the OLT may be one or more, and each of the slave state machines 312 in the OLT can directly perform a slave state machine in a corresponding ONU connected to the OLT. Interaction to facilitate management of the corresponding ONU.
所述第一消息总线层模块32包括:The first message bus layer module 32 includes:
第一消息总线客户端322,能够支持所述第一消息总线客户端的用户注册和订阅消息主题以及发布和接收主题消息。The first message bus client 322 is capable of supporting users of the first message bus client to register and subscribe to message topics, and to publish and receive topic messages.
消息总线服务器(图中以MQTT服务器324示例,所述MQTT服务器与MQTT-SQ网关325相连),能够支持所述OLT中的所述第一消息总线客户端的用户和所述ONU中的第二消息总线客户端的用户注册和订阅消息主题以及发布和接收主题消息。A message bus server (the MQTT server 324 is taken as an example in the figure, and the MQTT server is connected to the MQTT-SQ gateway 325), which can support the user of the first message bus client in the OLT and the second message in the ONU Users of the bus client register and subscribe to message topics and publish and receive topic messages.
所述第一传输网络33可以包括:The first transmission network 33 may include:
TWDM-TC子层以及与所述TWDM-TC子层相连的TWDM-PMD子层338,所述TWDM-TC子层通过光网络单元管理控制接口OMCI与网络控制器相连;A TWDM-TC sublayer and a TWDM-PMD sublayer 338 connected to the TWDM-TC sublayer, and the TWDM-TC sublayer is connected to a network controller through an optical network unit management control interface OMCI;
所述TWDM-TC子层包括:TWDM-TC功能模块、物理层操作管理和维护PLOAM模块333、AMCC框架334(AMCC Framing)、AMCC-PHY适配器335(AMCC PHY Adaptation),以及TWDM-TC业务适配子层332(TWDM TC Service Adaptation Sublayer)、TWDM-TC FRAMING子层336、TWDM-TC PHY适配子层337;The TWDM-TC sub-layer includes: TWDM-TC function module, physical layer operation management and maintenance PLOAM module 333, AMCC framework 334 (AMCC Framing), AMCC-PHY adapter 335 (AMCC physical adaptation), and TWDM-TC business application Game layer 332 (TWDM Service and Adaptation Sublayer), TWDM-TC FRAMING sublayer 336, TWDM-TC PHY adaptation sublayer 337;
所述TWDM-TC业务适配子层包括:用户数据适配器(User Data Adapter)、OMCI适配器以及封装层引擎(XGEM Engine),所述用户数据适配器与所述TWDM-TC功能模块331相连;The TWDM-TC service adaptation sub-layer includes: a user data adapter (User Data Adapter), an OMCI adapter, and an encapsulation layer engine (XGEM Engine), and the user data adapter is connected to the TWDM-TC function module 331;
所述TWDM-TC FRAMING子层336包括:与所述TWDM-TC功能模块331相连的带宽动态分配DBA(Upstream Bandwidth Mgmt&DBA  Control)、与所述TWDM-TC功能模块331以及带宽动态分配DBA相连的消息头域嵌入模块(Embedded Header Fields)、与所述消息头域嵌入模块以及物理层操作管理和维护PLOAM 333相连的PLOAM划分模块(PLOAM Partition)、与所述消息头域嵌入模块以及封装层引擎相连的封装层划分模块(XGEM Partition);The TWDM-TC FRAMING sublayer 336 includes: a bandwidth dynamic allocation DBA (Upstream Bandwidth Mgmt & DBA Control) connected to the TWDM-TC functional module 331, a message connected to the TWDM-TC functional module 331 and a dynamic bandwidth allocation DBA Embedded Header Fields (Embedded Header Fields), PLOAM Partition Module (PLOAM Partition) connected to the Message Header Field Embedded Module and Physical Layer Operation Management and Maintenance PLOAM 333, Connected to the Message Header Field Embedded Module and Encapsulation Engine Encapsulation layer partition module (XGEM Partition);
其中,所述消息头域嵌入模块还与所述TWDM-TC PHY适配子层337中的PHY突发时序及配置文件控制模块相连,所述AMCC-PHY适配器335还与TWDM-PMD子层338相连,所述物理层操作管理和维护PLOAM模块333、带宽动态分配DBA、TWDM-TC功能模块331还分别与所述网络控制器相连。The message header field embedding module is also connected to the PHY burst timing and configuration file control module in the TWDM-TC PHY adaptation sublayer 337, and the AMCC-PHY adapter 335 is also connected to the TWDM-PMD sublayer 338. Connected, the physical layer operation management and maintenance PLOAM module 333, the bandwidth dynamic allocation DBA, and the TWDM-TC function module 331 are also connected to the network controller, respectively.
举例来讲,所述光网络单元管理控制接口OMCI可以用于支持光接入系统运行中的ONU配置、故障管理、性能管理,XGEM适配层以及以太网服务(包括MAC桥接LAN)等多个服务。For example, the optical network unit management control interface OMCI can be used to support ONU configuration, fault management, performance management, XGEM adaptation layer, and Ethernet services (including MAC bridge LAN) in the operation of the optical access system. service.
所述物理层操作管理和维护PLOAM模块333是OLT与ONU之间基于消息的运营管理通道,支持包括ONU激活、ONU管控通道(OMCC)建立、加密配置、密钥管理和报警信令等PON TC层管理功能。The physical layer operation management and maintenance PLOAM module 333 is a message-based operation management channel between the OLT and the ONU, and supports PON, including ONU activation, ONU management control channel (OMCC) establishment, encryption configuration, key management, and alarm signaling. Layer management functions.
所述TWDM-TC功能模块332包括TWDM通道管理、性能管理、安全密钥管理、保护等功能。The TWDM-TC function module 332 includes functions such as TWDM channel management, performance management, security key management, and protection.
所述AMCC框架子层334负责构建和解析开销字段,这些字段支持必要的PON管理功能。。The AMCC framework sub-layer 334 is responsible for constructing and parsing overhead fields, and these fields support necessary PON management functions. .
所述AMCC-PHY适配器335具有修改调制光发射机的比特流的功能,目的是改善通过光介质传输的信号的检测、接收和描绘特性。The AMCC-PHY adapter 335 has a function of modifying the bit stream of the modulated optical transmitter, and the purpose is to improve the detection, reception, and rendering characteristics of signals transmitted through the optical medium.
所述TWDM-TC业务适配子层336负责上层SDU的封装、复用和描述。它包括:The TWDM-TC service adaptation sublayer 336 is responsible for encapsulation, multiplexing, and description of the upper-layer SDU. it includes:
OMCI适配器,负责过滤和解除上行帧的封装。其可以支持许多并发通道,这些通道可以是混合类型的,以及负责将OMCI控制逻辑中的OMCI PDU封装成适当的格式,以便传输到ONU。OMCI adapter is responsible for filtering and decapsulating the upstream frames. It can support many concurrent channels. These channels can be of a mixed type and are responsible for encapsulating the OMCI PDUs in the OMCI control logic into an appropriate format for transmission to the ONU.
用户数据适配器,可以配置为适应各种上层传输接口。User data adapter can be configured to adapt to various upper-layer transmission interfaces.
封装层引擎,可以负责XGEM Port-ID的复用和过滤。The encapsulation layer engine can be responsible for the multiplexing and filtering of XGEM Port-ID.
所述TWDM-TC FRAMING子层337可以负责构建和解析开销字段,这些字段支持必要的PON管理功能,它包括:上行带宽管理和DBA控制(DBA),上行带宽管理和DBA控制是OLT根据其活动状态和已配置的通信契约的动态指示,在ONU内的通信承载实体之间分配上行无源光网络(PON)容量的过程。The TWDM-TC FRAMING sublayer 337 may be responsible for constructing and parsing overhead fields. These fields support the necessary PON management functions. It includes: upstream bandwidth management and DBA control (DBA). Dynamic indication of status and configured communication contracts, the process of allocating uplink passive optical network (PON) capacity among communication bearer entities within the ONU.
所述TWDM-PMD子层339,包含修改调制光发射机的比特流的功能,可以改善通过光介质传输的信号的检测、接收和描绘特性。The TWDM-PMD sublayer 339 includes a function of modifying the bit stream of the modulated optical transmitter, which can improve the detection, reception, and rendering characteristics of signals transmitted through the optical medium.
所述第一传输网络33能够响应所述第一状态机模块的NMC控制请求进 行相应的配置,进而支持所述第一状态机模块的相关功能。The first transmission network 33 can respond to the NMC control request of the first state machine module to perform corresponding configuration, thereby supporting related functions of the first state machine module.
图4是一种PON网络中ONU的系统架构图,如图4所示,所述ONU包括第二状态机模块41、第二消息总线层模块42以及第二传输网络43。FIG. 4 is a system architecture diagram of an ONU in a PON network. As shown in FIG. 4, the ONU includes a second state machine module 41, a second message bus layer module 42, and a second transmission network 43.
所述第二状态机模块41包括负责管理对应ONU的从状态机411,所述ONU中的从状态机411能够直接与所述ONU相连的OLT中的从状态机312相交互,并能够根据所述ONU自身发生的事件进行相应于所述事件的状态操作。The second state machine module 41 includes a slave state machine 411 that is responsible for managing the corresponding ONU. The slave state machine 411 in the ONU can directly interact with the slave state machine 312 in the OLT connected to the ONU, and can An event occurring on the ONU itself performs a state operation corresponding to the event.
此外值得说明的是,除了上述实施例中所提供的将所述第一状态机模块31、第一消息总线层模块32以及第一传输层模块33,配置在OLT中的这一方式之外,所述第一状态机模块31、第一消息总线层模块32以及第一传输层模块33也可以配置在同一个系统之中,将所述系统作为PON网络中的网络管理控制主设备。示例地,所述第一传输层模块33可以为相关技术中的OLT,所述第一状态机模块31以及第一消息总线层模块32可以被配置在其他设备的CPU板上。在这种情况下,所述第一状态机模块31以及第一消息总线层模块32的运行载体需要与所述OLT处于同一局域网环境。In addition, it is worth noting that, in addition to the manner in which the first state machine module 31, the first message bus layer module 32, and the first transmission layer module 33 are configured in the OLT provided in the foregoing embodiment, The first state machine module 31, the first message bus layer module 32, and the first transmission layer module 33 may also be configured in the same system, and the system is used as a network management control master device in the PON network. For example, the first transmission layer module 33 may be an OLT in the related art, and the first state machine module 31 and the first message bus layer module 32 may be configured on a CPU board of another device. In this case, the running carriers of the first state machine module 31 and the first message bus layer module 32 need to be in the same local area network environment as the OLT.
类似的,所述第二传输层模块43可以是相关技术中的ONU,所述第二状态机模块41以及第二消息总线层模块42也可以被配置在其他设备的CPU板上。在这种情况下,所述第二状态机模块41以及第二消息总线层模块42的运行载体需要与所述ONU处于同一局域网环境。Similarly, the second transmission layer module 43 may be an ONU in the related art, and the second state machine module 41 and the second message bus layer module 42 may also be configured on a CPU board of another device. In this case, the carriers of the second state machine module 41 and the second message bus layer module 42 need to be in the same local area network environment as the ONU.
本实施例中将所述PON网络与机器人系统中的CAN网络连接构成PON-CAN总线架构,通过在OLT中设置第一消息总线层模块32以及在ONU中设置第二消息总线层模块42,所述OLT和ONU可以通过相应的消息总线层模块,经由相应的时分波分复用TWDM传输网络来进行消息主题的注册和相互订阅以及主题消息的发布与接收,从而实现所述OLT与所述ONU之间的消息通讯。此外,所述OLT和ONU中还设置有相应的状态机模块,所述状态机模块中的状态机可以根据与其对应的各节点设备所发生的事件来进行相应的状态操作。也就是说,作为网络管理控制主设备的OLT可以通过相应的状态机经由相应的传输网络与网络管理控制从设备ONU的状态机进行交互,在需要时对所述ONU所处的波长通道进行切换,从而实现对所述PON网络中各节点间的通讯过程进行管理控制的效果,同时也提升了所述PON网络中各通信节点间通信的灵活性。In this embodiment, the PON network is connected to the CAN network in the robot system to form a PON-CAN bus architecture. The first message bus layer module 32 is set in the OLT and the second message bus layer module 42 is set in the ONU. The OLT and ONU can register the message topic and subscribe to each other, and issue and receive topic messages through the corresponding message bus layer module through the corresponding TDM TWDM transmission network, thereby realizing the OLT and the ONU. Message communication between. In addition, the OLT and the ONU are also provided with corresponding state machine modules, and the state machines in the state machine modules can perform corresponding state operations according to events occurring at the corresponding node devices. In other words, the OLT, which is the master device of network management and control, can interact with the state machine of the ONU of the network management control slave device through the corresponding state machine through the corresponding transmission network, and switch the wavelength channel where the ONU is located when needed. Therefore, the effect of managing and controlling the communication process between the nodes in the PON network is achieved, and the communication flexibility between the communication nodes in the PON network is also improved.
可选的,所述第一状态机模块31包括:Optionally, the first state machine module 31 includes:
第一消息总线客户端接口313,用于支持所述第一状态机模块作为所述OLT中的所述第一消息总线客户端322的用户在所述消息总线服务器324注册和订阅消息主题以及发布和接收主题消息;A first message bus client interface 313, configured to support the first state machine module as a user of the first message bus client 322 in the OLT to register and subscribe to message topics and publish with the message bus server 324 And receive subject messages;
第一网络管理控制服务端接口314,用于支持所述第一状态机模块31通过所述第一消息总线层模块32实现所述OLT与所述ONU之间通讯的服 务规格和服务流标记;A first network management control server interface 314, configured to support the first state machine module 31 to implement service specifications and service flow tags for communication between the OLT and the ONU through the first message bus layer module 32;
第一网络控制器315,用于所述第一状态机模块对所述OLT的传输网络进行NMC(Network Management and Control Subsystem,网络管理控制子系统)服务配置。The first network controller 315 is configured to perform, by the first state machine module, an NMC (Network Management and Control Subsystem, NMC) service configuration on a transmission network of the OLT.
其中,所述服务流标记可以用于对请求注册的主题消息进行流分类,以MQTT-SN(Message Queuing Telemetry Transport For Sensor Networks,传感器版消息队列遥测传输)消息总线为例,所述服务流标记可以是XGEM Port-ID,携带在Ethernet帧的inner VLAN ID域中。在这种情况下,MQTT服务器在接收到ONU发送的消息主题注册请求后,可以在向所述ONU返回的用于响应所述消息主题注册请求的REGACK消息中包括所述MQTT服务器为请求注册的消息主题分配的服务流标记。此后,ONU在之后向该主题发布的消息均携带所述服务流标记。The service flow tag can be used to classify the subject message for which registration is requested. Taking the MQTT-SN (Message Queuing, Telemetry, Transport, Sensor Networks, Sensor Edition Message Queue Telemetry Transmission) message bus as an example, the service flow tag It can be XGEM Port-ID, which is carried in the inner VLAN ID field of the Ethernet frame. In this case, after receiving the message subject registration request sent by the ONU, the MQTT server may include in the REGACK message returned to the ONU for responding to the message subject registration request the MQTT server to register for the request. Service flow token assigned by the message subject. Thereafter, the messages published by the ONU to the topic later carry the service flow mark.
所述服务规格信息可以包括规格版本信息、加密模式信息、发布模式信息、分发模式信息以及带宽描述信息中的一者或多者。The service specification information may include one or more of specification version information, encryption mode information, distribution mode information, distribution mode information, and bandwidth description information.
其中,所述规格版本信息用于标识当前的服务规格;所述加密模式信息用于指定数据的分发是否加密;所述发布模式信息用于指定MQTT-SN客户端到MQTT服务器之间的数据传输模式;所述分发模式信息用于指定MQTT服务器到订阅的MQTT-SN客户端之间的数据传输方式;所述带宽描述信息用于指定主题消息发布的固定带宽,保证带宽,以及最大带宽。Wherein, the specification version information is used to identify a current service specification; the encryption mode information is used to specify whether data distribution is encrypted; the release mode information is used to specify data transmission between an MQTT-SN client and an MQTT server Mode; the distribution mode information is used to specify a data transmission method between the MQTT server and the subscribed MQTT-SN client; the bandwidth description information is used to specify a fixed bandwidth, a guaranteed bandwidth, and a maximum bandwidth for the topic message release.
表1是一种服务规格信息Service Spec的示例:Table 1 is an example of ServiceSpec information:
Figure PCTCN2019109246-appb-000001
Figure PCTCN2019109246-appb-000001
表1Table 1
参照表1,在具体实施时,固定带宽、保证带宽以及最大带宽三者之间的关系可以参照G-PON技术规范ITU-T G.984.3标准中对应的描述。Referring to Table 1, in the specific implementation, the relationship between the fixed bandwidth, the guaranteed bandwidth, and the maximum bandwidth can refer to the corresponding description in the G-PON technical specification ITU-T G.984.3 standard.
此外,针对所述加密模式信息(DISTRIBUTION Encryption),所述加密模式信息携带的比特位的值为0时,表示MQTT-SN的网关到订阅的MQTT-SN客户端到这一段传送路径不加密,适合MQTT-SN网关到ONU和OLT上的MQTT-SN客户端。携带加密模式信息的比特位的值为1时,表示MQTT-SN网关到订阅的MQTT-SN客户端到这一段传送路径加密,适合MQTT-SN网关到ONU上的MQTT-SN客户端。其中,DISTRIBUTION即 是指从MQTT-SN网关到订阅的MQTT-SN客户端到这一段传送路径,适合于单播和组播。In addition, for the encryption mode information (DISTRIBUTION Encryption), when the bit value carried in the encryption mode information is 0, it indicates that the transmission path from the gateway of MQTT-SN to the subscribed MQTT-SN client is not encrypted, Suitable for MQTT-SN gateway from MQTT-SN gateway to ONU and OLT client. When the value of the bit carrying the encryption mode information is 1, it indicates that the transmission path from the MQTT-SN gateway to the subscribed MQTT-SN client is encrypted, which is suitable for the MQTT-SN client from the MQTT-SN gateway to the ONU. Among them, DISTRIBUTION refers to the transmission path from the MQTT-SN gateway to the subscribed MQTT-SN client, which is suitable for unicast and multicast.
针对所述发布模式信息(PUBLISH Mode),当对应比特位的值为00时,表示MQTT-SN客户端到MQTT-SN网关这一段传送路径,用共享单播传输数据,适合ONU和OLT上的MQTT-SN客户端。携带加密模式信息的比特位的值为01时,表示MQTT-SN客户端到MQTT-SN网关这一段传送路径,用专一单播传输数据,适合ONU和OLT上的MQTT-SN客户端。其中,PUBLISH在这里特指从MQTT-SN客户端到MQTT-SN网关这一段传送路径,只能单播(unicast)。For the PUBLISH Mode information, when the value of the corresponding bit is 00, it indicates that the transmission path from the MQTT-SN client to the MQTT-SN gateway uses shared unicast to transmit data, which is suitable for ONU and OLT. MQTT-SN client. When the value of the bit carrying the encryption mode information is 01, it indicates that the transmission path from the MQTT-SN client to the MQTT-SN gateway is a unicast transmission of data, which is suitable for the MQTT-SN client on the ONU and the OLT. Among them, PUBLISH here specifically refers to the transmission path from the MQTT-SN client to the MQTT-SN gateway, which can only be unicast.
针对所述分发模式信息(DISTRIBUTION Mode),携带分发模式信息的比特位的值为00时,表示MQTT-SN网关到订阅的MQTT-SN客户端这一段传送路径用共享单播,适合ONU和OLT上的MQTT-SN客户端;携带分发模式信息的比特位的值为01时,表示MQTT-SN网关到订阅的MQTT-SN客户端到这一段传送路径用专一单播,适合ONU和OLT上的MQTT-SN客户端;携带分发模式信息的比特位的值为10时,表示MQTT-SN网关到订阅的MQTT-SN客户端到这一段传送路径用共享组播,适合ONU和OLT上的MQTT-SN客户端;携带分发模式信息的比特位的值为11时,表示MQTT-SN网关到订阅的MQTT-SN客户端到这一段传送路径用专一组播,适合ONU和OLT上的MQTT-SN客户端。其中,DISTRIBUTION在这里特指从MQTT-SN网关到订阅的MQTT-SN客户端这一段传送路径,可以单播和组播。For the distribution mode information (DISTRIBUTION Mode), when the value of the bit carrying the distribution mode information is 00, it indicates that the transmission path from the MQTT-SN gateway to the subscribed MQTT-SN client is shared unicast, which is suitable for ONUs and OLTs. MQTT-SN client on the Internet; when the value of the bit carrying the distribution mode information is 01, it means that the MQTT-SN gateway to the subscribed MQTT-SN client uses dedicated unicast to this section of transmission path, suitable for ONU and OLT MQTT-SN client; when the value of the bit carrying the distribution mode information is 10, it means that the MQTT-SN gateway to the subscribed MQTT-SN client uses shared multicast for this transmission path, which is suitable for the MQTT on the ONU and the OLT -SN client; when the value of the bit carrying the distribution mode information is 11, it means that the MQTT-SN gateway to the subscribed MQTT-SN client uses a dedicated multicast to this transmission path, which is suitable for the MQTT-ONU and OLT- SN client. Among them, DISTRIBUTION here specifically refers to the transmission path from the MQTT-SN gateway to the subscribed MQTT-SN client, which can be unicast and multicast.
类似的,参照图4,所述第二状态机模块41包括:Similarly, referring to FIG. 4, the second state machine module 41 includes:
第二消息总线客户端接口412,用于支持所述第二状态机模块41作为所述ONU中的第二消息总线客户端421的用户,在所述消息总线服务器324注册和订阅消息主题以及发布和接收主题消息;A second message bus client interface 412, configured to support the second state machine module 41 as a user of the second message bus client 421 in the ONU, register and subscribe to a message topic and publish with the message bus server 324 And receive subject messages;
第二网络管理控制服务端接口413,用于支持所述第二状态机模块41通过所述第二消息总线层模块42实现所述OLT与所述ONU之间通讯的服务规格和服务流标记;A second network management control server interface 413, configured to support the second state machine module 41 to implement a service specification and a service flow mark of the communication between the OLT and the ONU through the second message bus layer module 42;
第二网络控制器414,用于所述第二状态机模块41对所述ONU的传输网络43进行NMC服务配置。The second network controller 414 is configured for the second state machine module 41 to perform NMC service configuration on the transmission network 43 of the ONU.
返回至图3描述所述第一消息总线层模块32,如图3所示,所述第一消息总线层模块32包括:Returning to FIG. 3, the first message bus layer module 32 is described. As shown in FIG. 3, the first message bus layer module 32 includes:
消息总线服务器接口321,用于支持所述第一状态机模块31通过所述第一消息总线客户端322(即OLT中的第一消息总线客户端)注册和订阅消息主题以及发布和接收主题消息。A message bus server interface 321 is configured to support the first state machine module 31 to register and subscribe to a message topic, and to publish and receive a topic message through the first message bus client 322 (that is, the first message bus client in the OLT). .
消息总线服务器,用于支持所述消息总线上的OLT中的第一消息总线客户端322和/或ONU中的第二消息总线客户端423注册和订阅消息主题以 及发布和接收主题消息。The message bus server is configured to support a first message bus client 322 in the OLT on the message bus and / or a second message bus client 423 in the ONU to register and subscribe to a message topic, and to publish and receive topic messages.
网络管理控制客户端接口323,用于支持所述第一状态机模块通过所述第一消息总线层模块42实现所述OLT与所述ONU之间通讯的服务规格和服务流标记;A network management control client interface 323, configured to support the first state machine module to implement a service specification and a service flow mark of the communication between the OLT and the ONU through the first message bus layer module 42;
网络适配器326,与所述OLT的传输网络33相连,实现所述第一消息总线层模块32与所述OLT的传输网络33的适配。The network adapter 326 is connected to the transmission network 33 of the OLT, and implements adaptation of the first message bus layer module 32 to the transmission network 33 of the OLT.
其中,所述网络适配器326存储所述OLT与所述ONU之间的每一消息主题的消息传送路径,其可以支持消息总线服务器324与所述消息总线服务器的客户端之间的远程和/或本地消息传送。Wherein, the network adapter 326 stores a message transmission path for each message subject between the OLT and the ONU, which can support remote and / or between the message bus server 324 and a client of the message bus server. Local messaging.
示例地,所述网络适配器中可以保存OLT与ONU之间的每一消息主题的传送路径信息,例如服务流标记Flow tag spec、服务规格Service spec、主题消息发布者的信息、上行的T-CONT、XGEM Port-ID、VLAN、OLT的波长通道端口OLT CT(OLT Channel Terminal,特定工作波长的OLT端口)、以及每一个主题消息订阅者的下行XGEM Port-ID(可能组播或者单播)、VLAN(可能组播或者单播)、波长通道端口等。在每一个消息主题创建、增减订阅者时,参照图3以及图4,OLT和ONU可以通过对应的网络管理控制服务端接口和网络管理控制客户端接口更新所述网络适配器中存储的的相应传送路径信息。For example, the network adapter may store transmission path information of each message topic between the OLT and the ONU, such as a service flow tag Flow tag, a service specification Service spec, information of a subject message issuer, and an upstream T-CONT. XGEM Port-ID, VLAN, OLT wavelength channel port OLT CT (OLT Channel Channel Terminal, OLT port of a specific working wavelength), and downstream XGEM Port-ID (possibly multicast or unicast) of each topic message subscriber, VLAN (possibly multicast or unicast), wavelength channel port, etc. When creating or adding or removing subscribers to each message topic, referring to FIG. 3 and FIG. 4, the OLT and ONU can update the corresponding stored in the network adapter through the corresponding network management control server interface and network management control client interface. Transmission path information.
此外,当ONU在不同的波长通道端口之间切换时,OLT和ONU可以根据切换的结果(COMPLETE、NACK或ROLLBACK)通过对应的网络管理控制服务端接口和网络管理控制客户端接口更新所述网络适配器中存储的相应传送路径信息。In addition, when the ONU switches between different wavelength channel ports, the OLT and the ONU can update the network through the corresponding network management control server interface and network management control client interface according to the switching result (COMPLETE, NACK, or ROLLBACK). Corresponding transmission path information stored in the adapter.
类似的,参照图4,所述第二消息总线层模块42,可以包括:Similarly, referring to FIG. 4, the second message bus layer module 42 may include:
网络管理控制客户端接口422,用于支持所述第二状态机模块41通过所述第二消息总线层模块42实现所述OLT与所述ONU之间通讯的服务规格和服务流标记;A network management control client interface 422, configured to support the second state machine module 41 to implement a service specification and a service flow mark of the communication between the OLT and the ONU through the second message bus layer module 42;
第二消息总线客户端423,以支持所述ONU中的第二消息总线客户端423的用户与消息总线服务器324通讯,实现消息主题的注册和订阅以及主题消息的发布和接收;A second message bus client 423 to support a user of the second message bus client 423 in the ONU to communicate with the message bus server 324 to implement registration and subscription of message topics and publication and reception of topic messages;
网络适配器424,与所述ONU的传输网络43相连,实现所述第二消息总线层模块42与所述ONU的传输网络43的适配,其中,所述网络适配器424存储所述OLT与所述ONU之间的每一消息主题的消息传送路径A network adapter 424 is connected to the transmission network 43 of the ONU, and implements the adaptation of the second message bus layer module 42 to the transmission network 43 of the ONU. The network adapter 424 stores the OLT and the transmission network 43. Message transmission path for each message subject between ONUs
采用本实施例中所提供的PON网络,OLT以及ONU可以通过其相应的状态机模块经由相应的消息总线层模块以及对应的传输网络,通过消息总线服务器进行消息主题的注册、订阅以及主题消息的发布和接收,从而建立发布/订阅模式的消息通讯。并且,所述OLT以及ONU对应的状态机模块中还包括网络管理控制服务端接口,所述OLT以及ONU对应的消息总线层模块 中还包括网络管理控制客户端接口,从而能够支持所述OLT与所述ONU之间通讯的服务规格和服务流标记。也就是说,在通讯过程中可以根据具体的服务规格信息来对请求发布的主题消息的发布以及订阅过程的数据通道进行配置,进而对PON网络中各节点间通信过程进行管理。With the PON network provided in this embodiment, the OLT and the ONU can register, subscribe to, and subscribe to topic messages through the message bus server through the corresponding message bus layer module and the corresponding transmission network through their corresponding state machine modules. Publish and receive, thereby establishing a publish / subscribe messaging model. In addition, the state machine module corresponding to the OLT and ONU further includes a network management control server interface, and the message bus layer module corresponding to the OLT and ONU further includes a network management control client interface, so that the OLT and the ONU can be supported. The service specification and service flow mark of the communication between the ONUs. That is to say, during the communication process, the data channel of the subject message requesting publication and the subscription process can be configured according to the specific service specification information, and then the communication process between nodes in the PON network can be managed.
可选的,所述第一状态机模块中的从状态机与所述主状态机可以共用所述第一消息总线客户端接口和/或所述第一网络管理控制服务端接口。Optionally, the slave state machine and the master state machine in the first state machine module may share the first message bus client interface and / or the first network management control server interface.
可选的,所述第一状态机模块通过第一网络控制器对所述OLT的传输网络进行NMC服务配置,包括:Optionally, the performing, by the first state machine module, the NMC service configuration on the transmission network of the OLT through the first network controller includes:
对所述OLT的传输网络中的光网络单元管理控制接口OMCI、物理层操作管理和维护PLOAM以及带宽动态分配DBA进行配置管理。Perform configuration management on the optical network unit management control interface OMCI, physical layer operation management and maintenance PLOAM, and bandwidth dynamic allocation DBA in the OLT's transmission network.
仍以图3进行说明,其中,所述第一网络控制器315可以作为所述第一状态机模块31对所述OLT的第一传输网络33的控制接口。在具体实施时,所述第一网络控制器315可以根据述传输网络的实际软硬件资源状态,将所述第一状态机模块31的相应服务请求配置到所述传输网络33。参照图3,以PON-CAN总线架构为例,所述第一网络控制器315可以根据所述第一状态机模块31的相应服务请求,对所述OLT的第一传输层模块中的OMCI331、PLOAM 333、DBA以及可能的流分类等QoS资源进行配置和管理。The description is still made with reference to FIG. 3, where the first network controller 315 may serve as a control interface of the first state machine module 31 to the first transmission network 33 of the OLT. In specific implementation, the first network controller 315 may configure the corresponding service request of the first state machine module 31 to the transmission network 33 according to the actual software and hardware resource status of the transmission network. Referring to FIG. 3, taking the PON-CAN bus architecture as an example, the first network controller 315 may respond to the corresponding service request of the first state machine module 31 to the OMCI 331, Configure and manage QoS resources such as PLOAM333, DBA, and possible traffic classification.
可选的,所述主状态机用于,在任一接入所述OLT的ONU激活后,启动所述OLT中的从状态机以用于与所述ONU进行交互。Optionally, the master state machine is configured to start a slave state machine in the OLT for interaction with the ONU after an ONU connected to the OLT is activated.
可选的,所述主状态机用于根据以下事件中的至少一件进行状态操作:Optionally, the main state machine is configured to perform a state operation according to at least one of the following events:
用于表征所述OLT激活的事件;An event used to characterize the activation of the OLT;
用于表征所述OLT去激活的事件;An event used to characterize the OLT deactivation;
用于表征所述OLT与所述ONU之间的链路激活的事件;An event for characterizing a link activation between the OLT and the ONU;
用于表征所述OLT与所述ONU之间的链路去激活的事件;An event for deactivating a link between the OLT and the ONU;
用于表征接入所述OLT的ONU开始切换波长通道的事件;An event used to characterize an ONU that accesses the OLT to switch wavelength channels;
用于表征接入所述OLT的ONU切换波长通道结束的事件;An event used to characterize the end of an ONU switching wavelength channel accessing the OLT;
用于表征所述第一消息总线层模块中的消息总线服务器激活的事件;An event for characterizing a message bus server activation in the first message bus layer module;
用于表征所述第一消息总线层模块中的消息总线服务器去激活的事件;An event for deactivating a message bus server in the first message bus layer module;
用于表征所述第一状态机模块与所述第一消息总线层模块中的消息总线服务器进行连接确认的事件;An event for characterizing connection confirmation between the first state machine module and a message bus server in the first message bus layer module;
用于表征所述第一状态机模块在向所述第一消息总线层模块中的消息总线服务器请求注册消息主题的事件。An event used to indicate that the first state machine module requests a message bus server in the first message bus layer module to register a message subject.
表2即是一种主状态机需要处理的事件的示意:Table 2 is a schematic diagram of the events that a main state machine needs to process:
Figure PCTCN2019109246-appb-000002
Figure PCTCN2019109246-appb-000002
Figure PCTCN2019109246-appb-000003
Figure PCTCN2019109246-appb-000003
Figure PCTCN2019109246-appb-000004
Figure PCTCN2019109246-appb-000004
表2Table 2
参照表2,所示NMCM_LINK_UP为表征所述OLT激活的事件;所示NMCM_LINK_DN为表征所述OLT去激活的事件;所示NMCS_LINK_UP为表征所述OLT与所述ONU之间的链路激活的事件;所示NMCS_LINK_DN为表征所述OLT与所述ONU之间的链路去激活的事件;所示NMCS_LINK_TUNING_BEGIN为表征接入所述OLT的ONU开始切换波长通道的事件;所示NMCS_LINK_TUNING_END为表征接入所述OLT的ONU切换波长通道结束的事件;所示MB_BROKER_UP为表征所述第一消息总线层模块中的消息总线服务器激活的事件;所示MB_BROKER_DN为表征所述第一消息总线层模块中的消息总线服务器去激活的事件;所示MB_CONNACK为表征所述第一状态机模块与所述第一消息总线层模块中的消息总线服务器进行连接确认的事件;所示MB_REGISTER为表征所述第一状态机模块在向所述第一消息总线层模块中的消息总线服务器请求注册消息主题的事件。所述主状态机能够根据上述事件进行相应的状态操作,从而对OLT自身以及消息总线进行管理。Referring to Table 2, the NMCM_LINK_UP shown is an event characterizing the activation of the OLT; the NMCM_LINK_DN shown is an event signifying the deactivation of the OLT; the NMCS_LINK_UP shown is an event signifying the activation of the link between the OLT and the ONU; The NMCS_LINK_DN shown is an event that characterizes the deactivation of the link between the OLT and the ONU; the NMCS_LINK_TUNING_BEGIN is shown that it is an event that the ONU connected to the OLT starts to switch wavelength channels; the NMCS_LINK_TUNING_END is shown that it is access The event that the ONU of the OLT switches the end of the wavelength channel; MB_BROKER_UP shown is an event that represents the activation of the message bus server in the first message bus layer module; MB_BROKER_DN is shown that represents the message bus server in the first message bus layer module Deactivation event; MB_CONNACK shown is an event that indicates that the first state machine module and a message bus server in the first message bus layer module perform a connection confirmation; MB_REGISTER is shown that indicates that the first state machine module is in Request a message bus server in the first message bus layer module to register an event for a message subject. The main state machine can perform corresponding state operations according to the above events, thereby managing the OLT itself and the message bus.
可选的,所述第一状态机模块中的从状态机用于根据以下事件中的至少一件进行状态操作:Optionally, the slave state machine in the first state machine module is configured to perform a state operation according to at least one of the following events:
用于表征所述OLT与所述ONU之间的链路激活的事件;An event for characterizing a link activation between the OLT and the ONU;
用于表征所述OLT与所述ONU之间的链路去激活的事件;An event for deactivating a link between the OLT and the ONU;
用于表征接入所述OLT的ONU开始切换波长通道的事件;An event used to characterize an ONU that accesses the OLT to switch wavelength channels;
用于表征接入所述OLT的ONU切换波长通道结束的事件;An event used to characterize the end of an ONU switching wavelength channel accessing the OLT;
用于表征所述ONU发出接入请求的事件;An event used to characterize the ONU sending an access request;
用于表征所述ONU进行身份应答响应的事件;An event used to characterize the ONU's identity response response;
用于表征所述ONU进行配置响应的事件;An event used to characterize the ONU's configuration response;
用于表征所述ONU进行状态更新响应的事件。An event used to characterize the ONU's status update response.
表3是一种第一状态机模块中的从状态机需要处理的事件的示意:Table 3 is a schematic diagram of events that a slave state machine needs to process in a first state machine module:
Figure PCTCN2019109246-appb-000005
Figure PCTCN2019109246-appb-000005
Figure PCTCN2019109246-appb-000006
Figure PCTCN2019109246-appb-000006
表3table 3
如表3所示,NMCS_LINK_UP为表征所述OLT与所述ONU之间的链路激活的事件;NMCS_LINK_DN为表征所述OLT与所述ONU之间的链路去激活的事件;所示NMCS_LINK_TUNING_BEGIN为表征接入所述OLT的ONU开始切换波长通道的事件;所示NMCS_LINK_TUNING_END为表征接入所述OLT的ONU切换波长通道结束的事件;NMC_ACCESS_REQ为表征所述ONU发出接入请求的事件;NMC_IDENT_RESP为表征所述ONU进行身份应答响应的事件;NMC_CONFIG_RESP为表征所述ONU进行配置响应的事件;NMC_STATUS_RESP为表征所述ONU进行状态更新响应的事件。所述第一状态机模块中的从状态机可以根据如表3所示的事件进行相应的状态操作,通过与ONU中的从状态机进行交互来对所述ONU进行管理。As shown in Table 3, NMCS_LINK_UP is an event characterizing a link activation between the OLT and the ONU; NMCS_LINK_DN is an event characterizing a link deactivation between the OLT and the ONU; NMCS_LINK_TUNING_BEGIN is a characterization An ONU that accesses the OLT starts to switch wavelength channels; the NMCS_LINK_TUNING_END shown is an event that indicates that the ONU that accesses the OLT switches the wavelength channel; NMC_ACCESS_REQ is an event that characterizes the ONU that issues an access request; NMC_IDENT_RESP is the characterization The event in which the ONU performs an identity response response; NMC_CONFIG_RESP is an event that characterizes the ONU to perform a configuration response; NMC_STATUS_RESP is an event that characterizes the ONU in a status update response. The slave state machine in the first state machine module can perform corresponding state operations according to the events shown in Table 3, and manage the ONU by interacting with the slave state machine in the ONU.
可选的,所述第二状态机模块中的从状态机用于根据以下事件中的至少一件进行状态操作:Optionally, the slave state machine in the second state machine module is configured to perform a state operation according to at least one of the following events:
用于表征所述ONU与所述OLT之间的链路激活的事件;An event for characterizing a link activation between the ONU and the OLT;
用于表征所述ONU与所述OLT之间的链路去激活的事件;An event for deactivating a link between the ONU and the OLT;
用于表征所述第二状态机模块与所述第一消息总线层模块中的消息总线服务器进行连接确认的事件;An event for characterizing connection confirmation between the second state machine module and a message bus server in the first message bus layer module;
用于表征所述第二状态机模块在所述第一消息总线层模块中的消息总线服务器注册消息主题的事件;An event used to characterize that the second state machine module registers a message subject with a message bus server in the first message bus layer module;
用于表征所述OLT向所述ONU发出身份应答请求的事件;An event used to characterize that the OLT sends an identity response request to the ONU;
用于表征所述OLT向所述ONU发出配置请求的事件;An event used to indicate that the OLT sends a configuration request to the ONU;
用于表征所述OLT向所述ONU发出状态更新请求的事件。An event used to indicate that the OLT sends a status update request to the ONU.
表4是一种第二状态机模块中的从状态机需要处理的事件的示意:Table 4 is a schematic diagram of the events that the slave state machine needs to process in a second state machine module:
Figure PCTCN2019109246-appb-000007
Figure PCTCN2019109246-appb-000007
Figure PCTCN2019109246-appb-000008
Figure PCTCN2019109246-appb-000008
表4Table 4
参照表4,所示NMCS_LINK_UP为表征所述ONU与所述OLT之间的链路激活的事件;NMCS_LINK_DN为表征所述ONU与所述OLT之间的链路去激活的事件;所示NMCS_LINK_TUNING_BEGIN为表征接入所述OLT的ONU开始切换波长通道的事件;所示NMCS_LINK_TUNING_END为表征接入所述OLT的ONU切换波长通道结束的事件;MB_CONNACK为表征所述第二状态机模块与所述第一消息总线层模块中的消息总线服务器进行连接确认的事件;MB_REGISTER为表征所述第二状态机模块在所述第一消息总线层模块中的消息总线服务器注册消息主题的事件;NMC_IDENT_REQ为表征所述OLT向所述ONU发出身份应答请求的事件;NMC_CONFIG_REQ为表征所述OLT向所述ONU发出配置请求的事件;NMC_STATUS_REQ为表征所述OLT向所述ONU发出状态更新请求的事件。所述第二状态机模块中的从状态机根据如表4所示的事件进行相应状态操作,通过与第一状态机模块中的从状态机进行交互,便于实现所述OLT和ONU之间的通信以及控制管理过程。Referring to Table 4, the NMCS_LINK_UP shown is an event characterizing a link activation between the ONU and the OLT; the NMCS_LINK_DN is an event signifying a link deactivation between the ONU and the OLT; the NMCS_LINK_TUNING_BEGIN is a characterization The event that the ONU connected to the OLT starts to switch the wavelength channel; the NMCS_LINK_TUNING_END shown is the event that characterizes the end of the ONU that accesses the OLT to switch the wavelength channel; MB_CONNACK is the event that characterizes the second state machine module and the first message bus An event that the message bus server in the layer module performs connection confirmation; MB_REGISTER is an event that characterizes the message subject registered by the message bus server of the second state machine module in the first message bus layer module; NMC_IDENT_REQ is an event that characterizes the OLT to The ONU sends an event for an identity response request; NMC_CONFIG_REQ is an event indicating that the OLT sends a configuration request to the ONU; NMC_STATUS_REQ is an event indicating that the OLT sends a status update request to the ONU. The slave state machine in the second state machine module performs corresponding state operations according to the events shown in Table 4. By interacting with the slave state machine in the first state machine module, it is convenient to implement the communication between the OLT and the ONU. Communication and control management processes.
可选的,所述ONU的CPI(Channel Partition Index,通道分区索引)的值为0,以使得所述ONU能够在所述OLT的同一波长端口提供的多个波长通道之间切换接入。Optionally, the value of the CPI (Channel Partition Index) of the ONU is 0, so that the ONU can switch access between multiple wavelength channels provided by the same wavelength port of the OLT.
值得说明的是,以NG-PON2网络为例,运营商可以使用任意标准(例如服务配置文件,设备或地理位置的通用性)将系统中的TWDM和/或PtP WDM信道集合细分为不重叠的子集。每个这样的信道子集被称为信道分区,并由NG-PON2系统中唯一的索引标识通道分区索引(CPI)包含在Channel_Profile PLOAM消息中。作为一个操作属性,ONU带有信道分区索引,其被存储在非易失性存储器中,并通过ONU重新激活、热重启和冷重启、电源循环和/或功率损耗来确保其值得以保留。ONU的CPI值可通过OMCI进行读写访问。It is worth noting that taking the NG-PON2 network as an example, operators can use any standard (such as service profile, universality of equipment or geographical location) to subdivide the TWDM and / or PtP WDM channel set in the system into non-overlapping Subset. Each such subset of channels is called a channel partition and is identified by a unique index in the NG-PON2 system. The channel partition index (CPI) is contained in the Channel_ProfilePLOAM message. As an operational attribute, the ONU carries a channel partition index, which is stored in non-volatile memory and is guaranteed to be retained through ONU reactivation, hot and cold restarts, power cycling and / or power loss. The CPI value of the ONU can be read and written through OMCI.
ONU的CPI可以是非零或零。具有特定非零CPI的ONU只能在Channel_Profile CPI与ONU的CPI相匹配的通道上激活。CPI为零的ONU可以尝试在属于任何通道分区的通道上激活,并在分配ONU-ID时将其与特定的通道分区关联。此外,具有特定CPI的ONU拒绝调谐属于不同于所述ONU所处通道分区的通道的指令。在CPI=P(P不为零)的信道分区中,激活或切换可用于默认CPI=0或特定CPI=P的ONU。在CPI=0信道分区中,激活或切换仅可用于CPI=0的ONU。当具有特定CPI的ONU开始搜索要激活的信道分区时,找到属于不匹配信道分区的下行波长信道时,它将启动一个计时器,以标记预定间隔T CPI。The CPI of the ONU can be non-zero or zero. ONUs with a specific non-zero CPI can only be activated on channels whose Channel_Profile CPI matches the CPI of the ONU. An ONU with a CPI of zero can attempt to activate on a channel belonging to any channel partition and associate it with a specific channel partition when assigning an ONU-ID. In addition, an ONU with a specific CPI rejects an instruction to tune a channel belonging to a channel partition different from the ONU where the ONU is located. In a channel partition with CPI = P (P is not zero), activation or switching can be used for ONUs with default CPI = 0 or a specific CPI = P. In the CPI = 0 channel partition, activation or switching is only available for ONUs with CPI = 0. When an ONU with a specific CPI starts searching for a channel partition to be activated and finds a downstream wavelength channel belonging to a mismatched channel partition, it will start a timer to mark the predetermined interval TCPI.
也就是说,将所述PON网络中的ONU的CPI值设置为0的方式,支持了所述ONU在所述PON网络中OLT所提供的各个波长通道中的切换。示例地,当OLT的某一波长通道将要进行软件升级时,所述OLT可以控制该波长通道上的ONU进行通道切换,从而能够减少通信中断时间。That is, the manner of setting the CPI value of the ONU in the PON network to 0 supports the switching of the ONU in each wavelength channel provided by the OLT in the PON network. For example, when a certain wavelength channel of the OLT is to be upgraded with software, the OLT can control the ONU on the wavelength channel to perform channel switching, thereby reducing communication interruption time.
可选的,所述OLT的标识信息包括所述OLT的波长端口ID且不包括所述OLT提供的波长通道ID,所述ONU的标识信息包括所述OLT的波长端口ID且不包括所述OLT提供的波长通道ID,使得所述ONU在不同波长通道切换时,所述ONU和所述ONU连接的OLT的标识信息不发生变化;和/或,Optionally, the identification information of the OLT includes a wavelength port ID of the OLT and does not include a wavelength channel ID provided by the OLT, and the identification information of the ONU includes a wavelength port ID of the OLT and does not include the OLT The provided wavelength channel ID, so that when the ONU switches between different wavelength channels, the identification information of the ONU and the OLT connected to the ONU does not change; and / or,
所述OLT同一个波长端口下分配给同一ONU的传输容器T-CONT,封装层端口XGEM Port-ID,虚拟局域网VLAN保持不变。The transmission container T-CONT allocated to the same ONU under the same wavelength port of the OLT, the XGEM port-ID of the encapsulation layer port, and the VLAN of the virtual local area network remain unchanged.
示例地,针对TWDM-PON(Timeand Wavelength Division Multiplexed Passive Optical Network,时分波分复用PON)可以有多个上下行波长的情况,可以采用wavelength port(简写为wlPort)作为标志一个OLT的识别号的最后一段。所述OLT的标志方法可以如表5所示:For example, in the case that TWDM-PON (Time and Wavelength Division Multiplex Passive Optical Network) can have multiple uplink and downlink wavelengths, wavelength port (abbreviated as wlPort) can be used as the identifier of an OLT. Last paragraph. The marking method of the OLT may be shown in Table 5:
Figure PCTCN2019109246-appb-000009
Figure PCTCN2019109246-appb-000009
表5table 5
这样,参照表5,在一个特定的OLT机架内部,所述PON网络中的OLT的标志方法可以为OLT card/Wavelength port。示例地,OLT的OLT card为1,Wavelength port为2,则相应OLT的标志为1/2。其中,所述Wavelength port可对应1至8个波长通道(对应1-8个波长通道端口,以OLT CT表示)。相应地,可以采用ctPort来标志在波长端口Wavelength port上和一个波长通道相对应的波长通道端口(OLT CT)。其中,在波长通道切换过程中,源OLT CT和目的OLT CT可以分别用sctPort和dctPort来标志。In this way, referring to Table 5, in a specific OLT rack, the OLT identification method in the PON network may be OLT card / Wavelength port. For example, if the OLT card of the OLT is 1, and the Wavelength port is 2, the flag of the corresponding OLT is 1/2. The Wavelength port may correspond to 1 to 8 wavelength channels (corresponding to 1 to 8 wavelength channel ports, which are represented by OLT CT). Correspondingly, ctPort may be used to mark a wavelength channel port (OLT) corresponding to a wavelength channel on the wavelength port Wavelength port. Among them, in the wavelength channel switching process, the source OLT CT and the destination OLT CT can be marked with sctPort and dctPort, respectively.
此外,针对同一波长端口下的ONU,可以为所述ONU分配同样的ONU ID。也就是说,所述ONU在不同的波长通道间进行切换的过程中能够保持ONU ID不变。相应地,ONU的标志方法可以为OLT card/Wavelength port/ONU ID。举例来讲,若ONU所对应的OLT的OLT card为1,Wavelength port为2,该ONU的ID为1,所处波长通道为2,则所述ONU可以标志为1/2/1,ctPort=2。在一实施例中,ONU在不同的波长通道间进行切换的过程中,OLT对同一个波长端口下分配给同一个ONU的传输容器T-CONT,封装层端口XGEM Port-ID,虚拟局域网VLAN也保持不变。其中,若所述ONU ID、T-CONT、封装层端口XGEM Port-ID、VLAN中任一项出现变化,则需要重启并激活对应的ONU。In addition, for ONUs under the same wavelength port, the ONUs may be assigned the same ONU ID. That is, the ONU can keep the ONU ID unchanged during the process of switching between different wavelength channels. Correspondingly, the identification method of the ONU may be OLT card / Wavelength port / ONU ID. For example, if the OLT card of the OLT corresponding to the ONU is 1, the Wavelength port is 2, the ID of the ONU is 1, and the wavelength channel is 2, the ONU can be labeled 1/2/1, ctPort = 2. In an embodiment, during the process of ONU switching between different wavelength channels, the OLT assigns the transmission container T-CONT, the encapsulation layer port X-GEM port-ID, and the virtual local area network VLAN to the same ONU under the same wavelength port. constant. If any of the ONU ID, T-CONT, XGEM, Port-ID, and VLAN of the encapsulation layer changes, you need to restart and activate the corresponding ONU.
在一种可能的实施方式中,也可以通过上述OLT的标识方法来对NMC消息总线进行标识,以MQTT-SN消息总线为例,可以通过OLT card/Wavelength port来标识对应的NMC消息总线。可选的,可以将该消息总线上的MQTT-SN客户端ID记为对应的OLT card/Wavelength port。类似的,ONU上的MQTT-SN客户端的标识可以为OLT card/Wavelength port/ONU ID。In a possible implementation manner, the NMC message bus may also be identified through the foregoing OLT identification method. Taking the MQTT-SN message bus as an example, the corresponding NMC message bus may be identified through an OLT card / Wavelength port. Optionally, the MQTT-SN client ID on the message bus may be recorded as a corresponding OLT card / Wavelength port. Similarly, the identifier of the MQTT-SN client on the ONU may be OLT card / Wavelength port / ONU ID.
此外值得说明的是,为避免ONU在不同波长通道之间切换过程中可能的重新测距过程,本公开可以采用ITU-T G.989.3(2015)/Amd.2(11/2018)中建议的一致性均衡延迟方法(Consistent equalization delay method)来处理不同波长通道之间可能的不一致性均衡延迟,达到缩短切换时间,减少可能的消息通信中断时间和丢包的效果。In addition, it is worth noting that in order to avoid the possible re-ranging process of the ONU during the switching between different wavelength channels, this disclosure can adopt the recommendations in ITU-T G.989.3 (2015) /Amd.2 (11/2018) Consistent equalization delay method (Consistent equalization delay method) to deal with the possible inconsistent equalization delay between different wavelength channels, to shorten the switching time, reduce the possible message communication interruption time and packet loss.
也就是说,采用本实施例中的标识方式,ONU在同一个波长端口下的不同波长通道中切换的过程中,所有通信节点的ID能够保持不变,基于这样的通信节点ID定义的消息主题也可以保持不变,从而可以减少波长通道切换过程中不必要的重新同步开销,减少消息通信中断时间和丢包。That is to say, by using the identification method in this embodiment, the IDs of all communication nodes can remain unchanged during the ONU switching in different wavelength channels under the same wavelength port. Based on the message subject defined by such communication node IDs It can also remain unchanged, which can reduce unnecessary resynchronization overhead during wavelength channel switching, reduce message communication interruption time and packet loss.
可选的,所述第一消息总线层模块中的消息总线服务器324包括MQTT服务器,所述第一状态机模块在所述MQTT服务器初始化时,预先为需要接入所述OLT的ONU注册NMC管理控制通道;Optionally, the message bus server 324 in the first message bus layer module includes an MQTT server, and when the MQTT server is initialized, the first state machine module pre-registers NMC management for ONUs that need to access the OLT. Control channel
所述NMC管理控制通道包括:第一下行管理控制通道,用于从所述OLT下行组播消息到所有ONU或指定的部分ONU;以及,第一上行管理控制通 道,用于从ONU上行单播消息到所述OLT,再下行组播该消息到所有ONU。The NMC management control channel includes: a first downlink management control channel for downlink multicast messages from the OLT to all ONUs or a specified portion of the ONUs; and a first uplink management control channel for uplink orders from the ONU Broadcast the message to the OLT, and then multicast the message to all ONUs.
示例地,若所述OLT的第一状态机模块中的主状态机接收到来自MQTT服务器或与所述MQTT相连的MQTT-SN网关的MB_REGISTER(参照表4),并且所述OLT与对应ONU的传送通道在底层物理传送网络建立完成(例如G-PON的下行组播XGEM Port-ID和VLAN),则所述第一下行管理控制通道开始生效。所述第一上行管理控制通道只要在第二状态机模块中的从状态机接收到来自MQTT-SN网关/MQTT服务器的MB_REGISTER,并且在底层物理传送网络建立好从ONU到OLT的传送通道(例如G-PON的上行T-CONT(Transmission Container,传输载体),XGEM Port-ID和VLAN)之后就生效。For example, if the main state machine in the first state machine module of the OLT receives MB_REGISTER (refer to Table 4) from an MQTT server or an MQTT-SN gateway connected to the MQTT, and the OLT and the corresponding ONU After the transmission channel is established in the underlying physical transmission network (for example, the downlink multicast XGEM Port-ID and VLAN of the G-PON), the first downlink management control channel takes effect. As long as the first uplink management control channel receives the MB_REGISTER from the MQTT-SN gateway / MQTT server in the slave state machine in the second state machine module, and establishes a transmission channel from the ONU to the OLT in the underlying physical transmission network (for example, G-PON's uplink T-CONT (Transmission Container), XGEM (Port-ID and VLAN) will take effect later.
可选的,所述NMC管理控制通道还包括:Optionally, the NMC management control channel further includes:
第二下行管理控制通道,用于从所述OLT下行单播消息到指定的ONU;和/或,A second downlink management control channel, configured to downlink a unicast message from the OLT to a designated ONU; and / or,
第二上行管理控制通道,用于从ONU上行单播消息到所述OLT。The second uplink management control channel is used for uplink unicast messages from the ONU to the OLT.
其中,所述第二下行管理控制通道只要在所述第二状态机模块的从状态机接收到来自MQTT-SN网关/MQTT服务器的MB_REGISTER,并且在底层物理传送网络建立好从所述OLT到特定ONU的传送通道(例如G-PON的下行单播XGEM Port-ID和VLAN)之后就有效。所述第二上行管理控制通道只要在所述第二状态机模块的从状态机接收到从MQTT-SN网关/MQTT服务器的MB_REGISTER,并且在底层物理传送网络建立好从所述ONU到所述OLT的传送通道(例如G-PON的上行T-CONT,XGEM Port-ID和VLAN)之后就有效。Wherein, the second downlink management control channel only needs to receive MB_REGISTER from the MQTT-SN gateway / MQTT server in the slave state machine of the second state machine module, and establish the physical transmission network from the OLT to the specific The ONU's transmission channel (such as G-PON's downstream unicast XGEM Port-ID and VLAN) becomes effective afterwards. As long as the second uplink management control channel receives the MB_REGISTER from the MQTT-SN gateway / MQTT server in the slave state machine of the second state machine module, and establishes a physical transport network from the ONU to the OLT at the bottom layer Transmission channels (such as G-PON's uplink T-CONT, XGEM, Port-ID, and VLAN) will be valid afterwards.
此外,在一种可能的实施方式中,所述PON网络的默认配置可以是将所有MQTT-SN控制消息和网络管理控制有关的消息主题都在上述为OLT下行到所有ONU的G-PON的下行组播XGEM Port-ID和VLAN,以及ONU上行到OLT的G-PON的上行T-CONT,XGEM Port-ID和VLAN中传送。在具体实施时,也可以根据系统的应用需求,分别建立上下行传送通道。In addition, in a possible implementation manner, the default configuration of the PON network may be that all MQTT-SN control messages and message topics related to network management control are on the downlink of the OLT to the G-PON of all ONUs. The multicast XGEM Port-ID and VLAN, and the upstream T-CONT, XGEM Port-ID and VLAN of the G-PON from the ONU to the OLT are transmitted. In specific implementation, uplink and downlink transmission channels can also be established separately according to the application requirements of the system.
值得说明的是,在所述PON网络中,除了上述管理控制通道,对应于其它MQTT-SN主题消息数据的发布(PUBLISH)传送通道可以根据具体消息特性,利用主题消息数据服务规格(Service Spec)以及NMC Service来另行建立G-PON的上下行T-CONT,XGEM Port-ID和VLAN来予以传送。It is worth noting that in the PON network, in addition to the above-mentioned management control channel, the PUBLISH transmission channel corresponding to other MQTT-SN topic message data can use the topic message data service specification (Service Spec) according to specific message characteristics. And NMC Service to establish G-PON uplink and downlink T-CONT, XGEM Port-ID and VLAN separately for transmission.
示例地,主题发布消息传送方式可以为:For example, the topic publishing message transmission method can be:
MQTT服务器在处理发布ONU的MQTT-SN客户端的主题注册消息时,可以根据服务规格信息中的带宽描述信息、以及该发布ONU现有的组播、XGEM port和T-CONT的使用情况、OLT现有和剩余组播、XGEM port和T-CONT的情况,确定如何分配和使用组播、XGEM port和T-CONT。MQTT服务器可以利用OMCI和PLOAM在OLT和ONU上进行相应的动态配置, 并会相应地动态调整OLT的DBA分配。When the MQTT server processes the topic registration message issued by the MQTT-SN client of the ONU, it can use the bandwidth description information in the service specification information and the existing multicast, XGEM port, and T-CONT usage status of the published ONU, and the current OLT With and without multicast, XGEM port, and T-CONT, determine how to allocate and use multicast, XGEM port, and T-CONT. The MQTT server can use OMCI and PLOAM to perform corresponding dynamic configuration on the OLT and ONU, and will dynamically adjust the DBA allocation of the OLT accordingly.
同理,MQTT服务器在处理ONU的MQTT-SN客户端的主题订阅SUBSCRIBE消息时,可以根据发布主题消息的ONU提供的服务规格信息中的带宽描述信息、以及订阅的ONU现有的组播、XGEM port的使用情况、OLT现有和剩余组播、XGEM port的情况,确定如何分配和使用组播、XGEM port。MQTT服务器可以利用OMCI和PLOAM在OLT和订阅的ONU上进行相应的动态配置。Similarly, when the MQTT server processes the topic subscription of the ONTT's MQTT-SN client to subscribe to the SUBSCRIBE message, it can use the bandwidth description information in the service specification information provided by the ONU that publishes the topic message, as well as the existing multicast and XGEM ports of the subscribed ONU. The usage of the OLT, the existing and remaining multicast of the OLT, and the situation of the XGEM port determine how to allocate and use the multicast and XGEM port. The MQTT server can use OMCI and PLOAM to perform corresponding dynamic configuration on the OLT and the subscribed ONU.
也就是说,采用所述PON网络还可以将MQTT-SN控制消息的传送通道和主题消息数据发布的传送通道隔离,以确保MQTT-SN控制消息的传送可靠性。即,主题发布消息由数据通道传送,所有其它MQTT-SN控制消息由控制通道传送。That is, using the PON network can also isolate the transmission channel of the MQTT-SN control message from the transmission channel of the subject message data release to ensure the reliability of the transmission of the MQTT-SN control message. That is, the topic release message is transmitted by the data channel, and all other MQTT-SN control messages are transmitted by the control channel.
本公开还提供一种用于PON网络的方法,所述方法可以应用于以上任一实施例所述的PON网络。在介绍所述方法之前,首先对所述方法中涉及到的相关网络管理控制中的事件和命令进行介绍,相关事件和命令如表6所示,其中NMC-M为网络管理控制主设备(例如OLT),NMC-S为网络管理控制从设备(如ONU):The present disclosure also provides a method for a PON network, which can be applied to the PON network described in any one of the above embodiments. Before introducing the method, first introduce the events and commands in the related network management control involved in the method. The related events and commands are shown in Table 6, where NMC-M is the master device of the network management control (for example, OLT), NMC-S is a network management control slave device (such as ONU):
Figure PCTCN2019109246-appb-000010
Figure PCTCN2019109246-appb-000010
Figure PCTCN2019109246-appb-000011
Figure PCTCN2019109246-appb-000011
表6Table 6
图5是本公开示例性实施例所示出的一种用于PON网络的方法的流程示意图,如图5所示,所述方法包括:FIG. 5 is a schematic flowchart of a method for a PON network according to an exemplary embodiment of the present disclosure. As shown in FIG. 5, the method includes:
S51,OLT的第一状态机模块在所述OLT的第一消息总线层模块服务器进行第一消息主题注册,并向与所述OLT相连的ONU发送NMC配置指令。S51. The first state machine module of the OLT performs first message subject registration on the first message bus layer module server of the OLT, and sends an NMC configuration instruction to an ONU connected to the OLT.
其中,可以利用PON本身的配置方法,通过OMCI将相应的网络管理控制初始配置、消息总线的初始配置等信息从OLT传输至ONU以进行相应配置。例如,可以通过所述OMCI将消息总线的网关的MAC地址传送给所述ONU。Among them, the configuration method of the PON itself can be used to transmit the corresponding initial configuration of the network management control and the initial configuration of the message bus from the OLT to the ONU through OMCI for corresponding configuration. For example, the MAC address of the gateway of the message bus may be transmitted to the ONU through the OMCI.
S52,所述ONU的第二状态机模块根据所述NMC配置指令对所述ONU的第二传输网络进行NMC服务配置,并通过所述ONU的第二消息总线层模块在所述消息总线服务器进行第二消息主题注册。S52. The second state machine module of the ONU performs NMC service configuration on the second transmission network of the ONU according to the NMC configuration instruction, and performs the NMC service on the message bus server through the second message bus layer module of the ONU. Second message subject registration.
S53,将所述ONU接入所述OLT的第一波长端口的第一波长通道中。S53. Connect the ONU to a first wavelength channel of a first wavelength port of the OLT.
S54,所述OLT与所述ONU在所述第一波长通道中建立发布/订阅模式的消息通讯;S54. The OLT and the ONU establish message communication in a publish / subscribe mode in the first wavelength channel.
其中,在满足预设条件的情况下,所述ONU能够在所述OLT提供的不同波长通道之间切换接入。Wherein, when the preset condition is satisfied, the ONU can switch access between different wavelength channels provided by the OLT.
参照图3以及图4,在一实施例中,可以将第一消息总线客户端、消息总线服务器以及对应的网关设置在OLT的消息总线层模块中,从而能够支持OLT中的第一消息总线客户端的用户、以及所有相关的ONU中的第二消息总线客户端的用户注册和订阅消息主题、以及发布和接收主题消息。也就 是说,设置有相应消息总线客户端的设备可以通过相应的消息总线服务器接口连接至所述消息总线服务器,进而能够通过所述消息总线服务器注册和订阅消息主题以及发布和接收主题消息,从而实现设备之间通过发布/订阅消息通讯模式进行消息传输。并且,所述消息总线服务器工作在数据链路层,可以避免工作在IP层或网络层的额外处理和传送开销。Referring to FIG. 3 and FIG. 4, in an embodiment, a first message bus client, a message bus server, and a corresponding gateway may be set in a message bus layer module of the OLT, so as to support the first message bus client in the OLT. Users at the end, and users of the second message bus client in all related ONUs, register and subscribe to message topics, and publish and receive topic messages. That is, a device provided with a corresponding message bus client can be connected to the message bus server through a corresponding message bus server interface, and then can register and subscribe to message topics and publish and receive topic messages through the message bus server, thereby achieving Messages are transmitted between devices through a publish / subscribe message communication mode. In addition, the message bus server works at the data link layer, which can avoid extra processing and transmission overhead working at the IP layer or the network layer.
在一种可能的实施方式中,所述预设条件包括以下条件中的至少一项:In a possible implementation manner, the preset condition includes at least one of the following conditions:
所述第一波长端口的OLT CT发生故障,例如,在所述第一波长端口的某一OLT CT发生故障之后,将该波长通道的ONU切换至其他波长通道,或者,在ONU线卡发生故障之后,将ONU切换至其他波长通道;The OLT CT of the first wavelength port fails, for example, after an OLT CT of the first wavelength port fails, the ONU of the wavelength channel is switched to another wavelength channel, or the ONU line card fails After that, switch ONU to other wavelength channels;
所述ONU的板卡发生故障;The board of the ONU fails;
所述第一波长端口的OLT CT进入软件升级状态。The OLT CT of the first wavelength port enters a software upgrade state.
除了上述预设条件,在一实施例中,所述在满足预设条件的情况下,所述ONU在所述OLT提供的不同波长通道之间切换接入,包括:In addition to the above-mentioned preset conditions, in an embodiment, the ONU switching access between different wavelength channels provided by the OLT under the condition that the preset conditions are met includes:
进行波长通道的负载分担,若所述第一波长通道的总负载值大于预设阈值,将所述ONU从所述第一波长通道切换至第二波长通道,其中,所述第二波长通道的总负载值再加上所述ONU的负载值小于上述预设阈值;和/或Perform load sharing of the wavelength channel, and if the total load value of the first wavelength channel is greater than a preset threshold, switch the ONU from the first wavelength channel to a second wavelength channel, wherein the The total load value plus the load value of the ONU is less than the preset threshold; and / or
若多个所述波长通道的总负载值的总和仍小于上述预设阈值,则将所述多个波长通道的所有ONU切换至所述第一波长通道,其中,所述第一波长通道是上述多个波长通道中的任一个。If the sum of the total load values of the plurality of wavelength channels is still less than the preset threshold, all ONUs of the plurality of wavelength channels are switched to the first wavelength channel, where the first wavelength channel is the foregoing Any one of multiple wavelength channels.
示例地,可以根据所述波长通道的负载能力,将负载较高的波长通道中的ONU切换至负载较低的波长通道之中,实现对各波长通道的负载能力和容量进行控制的效果。在另一实施例中,也可以根据所述PON网络的空闲程度,在PON网络相对空闲(例如夜间)时,将多个ONU切换至同一波长通道中,从而能够降低OLT的能耗。For example, the ONU in the higher-loaded wavelength channel can be switched to the lower-loaded wavelength channel according to the load capacity of the wavelength channel, so as to achieve the effect of controlling the load capacity and capacity of each wavelength channel. In another embodiment, according to the idle degree of the PON network, when the PON network is relatively idle (for example, at night), multiple ONUs can be switched to the same wavelength channel, thereby reducing the energy consumption of the OLT.
此外值得说明的是,为了保证所述ONU的正常切换,在所述ONU在两个波长通道之间切换的过程中,所述OLT、MQTT-SN网关/MQTT服务器以及源波长通道的OLT CT和目的波长通道的OLT CT应当:In addition, it is worth noting that, in order to ensure the normal switching of the ONU, during the switching of the ONU between two wavelength channels, the OLT, the MQTT-SN gateway / MQTT server, and the OLT of the source wavelength channel The OLT CT of the destination wavelength channel shall:
保证下行组播和/或到所述ONU的单播通路上的MQTT-SN控制消息以及来自第一状态机模块和/或第二状态机模块的管理控制有关的消息主题的传送;Guarantee transmission of downlink multicast and / or MQTT-SN control messages on the unicast path to the ONU and management control related message topics from the first state machine module and / or the second state machine module;
保证上行单播通路上的MQTT-SN控制消息和来自第一状态机模块和/或第二状态机模块的管理控制有关的消息主题传送;Ensuring the transmission of MQTT-SN control messages on the uplink unicast path and message topics related to management control from the first state machine module and / or the second state machine module;
利用OLT系统的流量控制和缓存能力,控制OLT以尽力而为模式传送其它非网络管理控制相关的主题消息。Utilizing the flow control and buffering capabilities of the OLT system, the OLT is controlled to transmit other non-network management control related topic messages in a best-effort mode.
所述ONU应当:The ONU shall:
保证下行组播和/或到该ONU的单播通路上的MQTT-SN控制消息和以 及来自第一状态机模块和/或第二状态机模块的管理控制有关的消息主题传送;Ensure the transmission of MQTT-SN control messages on the downstream multicast and / or unicast path to the ONU and the message subject related to management control from the first state machine module and / or the second state machine module;
保证上行单播通路上的MQTT-SN控制消息和以及来自第一状态机模块和/或第二状态机模块的管理控制有关的消息主题传送;Ensure the transmission of MQTT-SN control messages on the uplink unicast path and message subject related to management control from the first state machine module and / or the second state machine module;
利用ONU系统的流量控制和缓存能力以尽力而为模式传送其它非网络管理控制相关的主题消息;以及,Utilizing the flow control and buffering capabilities of the ONU system to transmit other non-network management control related topic messages in a best-effort mode; and,
停止新消息主题的创建。Stop the creation of a new message topic.
采用本实施例所提供的PON网络,OLT可以根据其波长通道以及ONU的实际情况对所述ONU所处的波长通道进行切换,从而能够提升所述PON网络中各通信节点间通信的灵活性和稳定性。With the PON network provided in this embodiment, the OLT can switch the wavelength channel in which the ONU is located according to its wavelength channel and the actual situation of the ONU, thereby improving the flexibility and communication between the communication nodes in the PON network. stability.
可选地,所述第一消息总线层模块配置的NMC配置指令中的参数包括以下参数中的至少一种:Optionally, the parameters in the NMC configuration instruction configured by the first message bus layer module include at least one of the following parameters:
用于表征所述OLT的节点ID的参数;A parameter for characterizing a node ID of the OLT;
用于表征所述ONU的节点ID的参数;A parameter for characterizing a node ID of the ONU;
用于监控所述OLT以及与所述OLT通信连接的ONU的运行状态的参数,其中,若所述OLT在阈值时长之内未收到来自所述ONU的通信消息,或者,若所述ONU在阈值时长之内未收到来自所述OLT的通信消息,则确定所述OLT与所述ONU的通信断开;A parameter for monitoring the operating status of the OLT and an ONU connected to the OLT, wherein if the OLT does not receive a communication message from the ONU within a threshold duration, or if the ONU is in If no communication message is received from the OLT within the threshold duration, it is determined that the communication between the OLT and the ONU is disconnected;
用于所述OLT向所述ONU发起状态更新请求的参数,和/或,用于所述ONU向所述OLT报告自身状态的参数;Parameters for the OLT to initiate a status update request to the ONU, and / or parameters for the ONU to report its status to the OLT;
用于表征从所述OLT到所有ONU的组播控制主题的名称的参数;A parameter for characterizing names of multicast control topics from the OLT to all ONUs;
用于表征从所述ONU到所述OLT和所有ONU的组播控制主题的名称的参数;A parameter for characterizing names of multicast control topics from the ONU to the OLT and all ONUs;
用于表征默认MQTT-SN网关的地址的参数;Parameters used to characterize the address of the default MQTT-SN gateway;
用于表征所述MQTT-SN网关的ID的参数;A parameter for characterizing an ID of the MQTT-SN gateway;
用于表征默认MQTT-SN网关的MAC地址的参数。Parameters used to characterize the MAC address of the default MQTT-SN gateway.
表7是一种第一消息总线层模块配置的参数示意:Table 7 shows the configuration parameters of a first message bus layer module:
Figure PCTCN2019109246-appb-000012
Figure PCTCN2019109246-appb-000012
Figure PCTCN2019109246-appb-000013
Figure PCTCN2019109246-appb-000013
表7Table 7
如表7所示,NMCMNodeId为表征所述OLT的节点ID的参数;NMCSNodeId为表征所述ONU的节点ID的参数;NMCDeathChkTimer为监控所述OLT以及与所述OLT通信连接的ONU的运行状态的参数,其中,若所述OLT在阈值时长之内未收到来自所述ONU的通信消息,或者,若所述ONU在阈值时长之内未收到来自所述OLT的通信消息,则确定所述OLT与所述ONU的通信断开;NMCHealthChkTimer为健康检查超时参数,用于所述OLT向所述ONU发起状态更新请求,和/或,用于所述ONU向所述OLT报告自身状态;NMCM2AllCtrlTopicName为表征从所述OLT到所有ONU的组播控制主题的名称的参数;NMCS2AllCtrlTopicName为表征从所述ONU到所述OLT和所有ONU的组播控制主题的名称的参数; DefaultMBGwAdd为表征默认MQTT-SN网关的地址的参数;DefaultMBGwId为表征所述MQTT-SN网关的ID的参数;DefaultMBGwMACAddress为表征默认MQTT-SN网关的MAC地址的参数。As shown in Table 7, NMCMNodeId is a parameter that characterizes the node ID of the OLT; NMCSNodeId is a parameter that characterizes the node ID of the ONU; NMCDeathChkTimer is a parameter that monitors the operating status of the OLT and the ONU that communicates with the OLT. Wherein, if the OLT does not receive a communication message from the ONU within a threshold duration, or if the ONU does not receive a communication message from the OLT within a threshold duration, determining the OLT Communication with the ONU is disconnected; NMCHealthChkTimer is a health check timeout parameter for the OLT to initiate a status update request to the ONU, and / or for the ONU to report its status to the OLT; NMCM2AllCtrlTopicName is a characteristic Parameters of the names of the multicast control topics from the OLT to all ONUs; NMCS2AllCtrlTopicName is a parameter that characterizes the names of the multicast control topics from the ONU to the OLT and all ONUs; The parameters of the address; DefaultMBGwId is a parameter characterizing the ID of the MQTT-SN gateway; DefaultMBGwMACAddress is a parameter characterizing the MAC address of the default MQTT-SN gateway.
参照图6所示的一种OLT中的主状态机的状态切换示意图,在一种可能的实施方式中,所述步骤S51之前,所述方法包括:Referring to a schematic diagram of state switching of a main state machine in an OLT shown in FIG. 6, in a possible implementation manner, before step S51, the method includes:
所述OLT的所述第一状态机模块中的主状态机响应于所述第一消息总线层模块中的消息总线服务器激活事件,发生相应于该事件的状态操作,所述状态操作至少包括:向所述消息总线服务器发送消息总线连接请求。The main state machine in the first state machine module of the OLT responds to a message bus server activation event in the first message bus layer module, and a state operation corresponding to the event occurs. The state operation includes at least: Sending a message bus connection request to the message bus server.
其中,所述消息总线服务器激活事件可以是所述消息总线服务器的自治事件,例如表2所示的MB_BROKER_UP事件。The message bus server activation event may be an autonomous event of the message bus server, such as the MB_BROKER_UP event shown in Table 2.
所述OLT的所述第一状态机模块中的主状态机响应于与所述第一消息总线层模块中的消息总线服务器之间的连接确认事件,发生相应于该事件的状态操作。The main state machine in the first state machine module of the OLT responds to a connection confirmation event with a message bus server in the first message bus layer module, and a state operation corresponding to the event occurs.
所述OLT的所述第一状态机模块中的主状态机响应于在所述第一消息总线层模块中的消息总线服务器注册消息主题事件,发生相应于该事件的状态操作。The master state machine in the first state machine module of the OLT responds to a message bus server registering a message subject event in the first message bus layer module, and a state operation corresponding to the event occurs.
示例地,所述在所述第一消息总线层模块中的消息总线服务器注册消息主题事件可以是表2所示的MB_REGISTER事件,消息总线服务器通过该事件将所述消息总线服务器预定义的主设备控制消息主题以及从设备控制消息主题发送给所述主状态机。所述主状态机根据所述MB_REGISTER事件进行相应的状态操作,并更新控制主题。For example, the message bus server registration message subject event in the first message bus layer module may be the MB_REGISTER event shown in Table 2. The message bus server uses the event to predefine the master device of the message bus server through the event. The control message subject and the slave device control message subject are sent to the master state machine. The main state machine performs a corresponding state operation according to the MB_REGISTER event, and updates a control theme.
所述步骤S51中,在所述向所述ONU发送NMC配置指令之后,所述方法包括:In step S51, after the sending an NMC configuration instruction to the ONU, the method includes:
所述OLT接收到用于表征所述ONU完成NMC配置的消息时,触发用于表征所述OLT激活的事件,所述OLT的所述第一状态机模块中的主状态机响应于该事件,发生相应于该事件的状态操作。When the OLT receives a message indicating that the ONU completes the NMC configuration, it triggers an event indicating the activation of the OLT, and the main state machine in the first state machine module of the OLT responds to the event, A state operation corresponding to the event occurred.
示例地,所述ONU完成NMC配置之后,可以向所述OLT发送用于表征所述ONU完成NMC配置的消息,从而触发如表2所示的NMCM_LINK_UP事件,所述OLT开始正常运行。For example, after the ONU completes the NMC configuration, it may send a message to the OLT to indicate that the ONU completes the NMC configuration, thereby triggering the NMCM_LINK_UP event shown in Table 2, and the OLT starts normal operation.
所述OLT在接收到所述ONU发送的消息总线服务器连接请求时,触发用于表征所述ONU与所述OLT之间的链路激活的事件,所述OLT的所述第一状态机模块中的主状态机响应于该事件,发生相应于该事件的状态操作。When receiving the message bus server connection request sent by the ONU, the OLT triggers an event that is used to characterize the activation of the link between the ONU and the OLT. The first state machine module of the OLT In response to the event, the main state machine occurs, and a state operation corresponding to the event occurs.
示例地,所述OLT在接收到所述ONU发送的消息总线服务器连接请求时,触发如表2所示的NMCS_LINK_UP事件。所述OLT根据NMCS_LINK_UP事件确定ONU正常工作之后,可以由所述主状态机来激活所述OLT中的与所述ONU所对应的从状态机,进而使得所述OLT中的 从状态机能够与所述ONU中的从状态机通过消息总线服务器进行交互,实现OLT与ONU的通信。For example, when receiving the message bus server connection request sent by the ONU, the OLT triggers the NMCS_LINK_UP event shown in Table 2. After the OLT determines that the ONU works normally according to the NMCS_LINK_UP event, the master state machine can activate the slave state machine corresponding to the ONU in the OLT, so that the slave state machine in the OLT can communicate with all The slave state machine in the ONU interacts with the message bus server to realize the communication between the OLT and the ONU.
仍参照图6,可选的,所述方法还包括:Still referring to FIG. 6, optionally, the method further includes:
所述OLT在检测到满足所述预设条件的事件发生时,触发用于表征所述ONU开始切换波长通道的事件,所述OLT的所述第一状态机模块中的主状态机响应于该事件,发生相应于该事件的状态操作,所述状态操作至少包括:向所述ONU发送波长通道切换请求。When the OLT detects that an event meeting the preset condition occurs, it triggers an event that is used to characterize that the ONU starts to switch wavelength channels, and the main state machine in the first state machine module of the OLT responds to the An event occurs with a state operation corresponding to the event. The state operation includes at least: sending a wavelength channel switching request to the ONU.
示例地,所述OLT的OLT card为1,Wavelength port为2,所述ONU的ID为3,且处于所述OLT的第一波长通道中,则所述ONU的标识可以为1/2/3,ctPort=1。所述OLT在检测到满足所述预设条件的事件发生后(例如所述第一波长通道出现故障),可以触发用于表征所述ONU开始切换波长通道的NMCS_LINK_TUNING_BEGIN事件,将所述ONU切换至所述OLT的第二波长通道中。其中,所述OLT在确认源波长通道sctPort(即上述ctPort=1)以及目的波长通道dctPort的链路正常运行后([linkOp[sctPort]=linkOp[dctPort]=True),可以向所述ONU发送包括源波长通道信息以及目的波长通道信息在内的波长通道切换请求NMCS_LINK_TUNING_BEGIN(1/2/3,sctPort=1,dctPort=2)。此外,所述OLT还可以向所述OLT的主状态机以及从状态机发送所述波长通道切换请求NMCS_LINK_TUNING_BEGIN(1/2/3,sctPort=1,dctPort=2)。For example, if the OLT card of the OLT is 1, the Wavelength port is 2, the ID of the ONU is 3, and the ONU is in the first wavelength channel of the OLT, the identity of the ONU may be 1/2/3 , CtPort = 1. After detecting that an event meeting the preset condition occurs (for example, the first wavelength channel is faulty), the OLT may trigger an NMCS_LINK_TUNING_BEGIN event that is used to indicate that the ONU starts to switch wavelength channels, and switch the ONU to In the second wavelength channel of the OLT. Wherein, after confirming that the source wavelength channel sctPort (that is, ctPort = 1) and the destination wavelength channel dctPort are operating normally ([linkOp [sctPort] = linkOp [dctPort] = True), the OLT can send to the ONU. The wavelength channel switching request including the source wavelength channel information and the destination wavelength channel information is NMCS_LINK_TUNING_BEGIN (1/2/3, sctPort = 1, dctPort = 2). In addition, the OLT may also send the wavelength channel switching request NMCS_LINK_TUNING_BEGIN (1/2/3, sctPort = 1, dctPort = 2) to the master state machine and the slave state machine of the OLT.
所述OLT在接收到用于表征所述ONU波长通道切换完成的指令时,触发用于表征所述ONU切换波长通道结束的事件,所述OLT的所述第一状态机模块中的主状态机响应于该事件,发生相应于该事件的状态操作。When the OLT receives an instruction for characterizing completion of the ONU wavelength channel switching, it triggers an event for characterizing the end of the ONU switching wavelength channel, and the main state machine in the first state machine module of the OLT In response to the event, a status operation corresponding to the event occurs.
接上一实施例,所述ONU在波长通道切换成功后可以通过目的波长通道向所述OLT发送波长通道切换成功指令,触发NMCS_LINK_TUNING_END事件。所述OLT可以向所述OLT的主状态机以及从状态机发送NMCS_LINK_TUNING_END(1/2/3,sctPort=1,dctPort=2,rslt=COMPLETE)指令,便于所述OLT中的从状态机根据所述切换结果进行相应的参数设置,进而能够通过切换后的波长通道与所述ONU通讯。Following the previous embodiment, the ONU may send a wavelength channel switching success instruction to the OLT through the destination wavelength channel after the wavelength channel switching is successful, triggering the NMCS_LINK_TUNING_END event. The OLT may send an NMCS_LINK_TUNING_END (1/2/3, sctPort = 1, dctPort = 2, rslt = COMPLETE) instruction to the master state machine and the slave state machine of the OLT, so that the slave state machine in the OLT is According to the switching result, corresponding parameter setting is performed, and then the ONU can be communicated through the switched wavelength channel.
可选的,参照表6以及图7所示的一种OLT中的从状态机的状态切换示意图,所述方法在图5的基础上还包括:Optionally, referring to Table 6 and a schematic diagram of state switching of a slave state machine in the OLT shown in FIG. 7, the method further includes:
所述OLT在接收到所述ONU发送的消息总线服务器连接请求时,触发用于表征所述ONU与所述OLT之间的链路激活的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作。When receiving the message bus server connection request sent by the ONU, the OLT triggers an event that is used to characterize the activation of the link between the ONU and the OLT. The first state machine module of the OLT The slave state machine responds to the event, and a state operation corresponding to the event occurs.
示例地,所述OLT在接收到所述ONU发送的消息总线服务器连接请求时,触发如表2所示的NMCS_LINK_UP事件,所述OLT中的从状态机响应于该事件,变更为激活状态。For example, when receiving the message bus server connection request sent by the ONU, the OLT triggers the NMCS_LINK_UP event shown in Table 2. The slave state machine in the OLT changes to the active state in response to the event.
所述OLT在接收到所述ONU发送的消息总线服务器连接请求的消息时,触发用于表征所述ONU发出接入请求的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述ONU发送身份应答请求(例如NMC_IDENT_REQ)。When the OLT receives the message of the message bus server connection request sent by the ONU, the OLT triggers an event for characterizing the access request issued by the ONU, and the slave state machine in the first state machine module of the OLT In response to the event, a state operation corresponding to the event occurs, and the state operation includes at least sending an identity response request (for example, NMC_IDENT_REQ) to the ONU.
在OLT在接收到所述ONU发送的身份应答响应时,触发用于表征所述ONU进行身份应答响应的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述ONU发送配置请求,用于对所述ONU第二状态机模块中的从状态机进行配置。When the OLT receives the identity response response sent by the ONU, an event for characterizing the ONU to respond to the identity response is triggered, and the slave state machine in the first state machine module of the OLT responds to the event, A state operation corresponding to the event occurs, the state operation includes at least: sending a configuration request to the ONU for configuring a slave state machine in the second state machine module of the ONU.
其中,所述OLT可以通过向所述ONU发送配置请求(如NMC_CONFIG_REQ),进而对所述ONU下所连接的设备的节点ID进行配置。The OLT may configure a node ID of a device connected to the ONU by sending a configuration request (such as NMC_CONFIG_REQ) to the ONU.
在OLT在接收到所述ONU发送的配置响应时,触发用于表征所述ONU进行配置响应的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述ONU发送状态更新请求(如NMC_STATUS_REQ),以实现所述OLT的第一状态机模块中的从状态机与所述ONU的第二状态机模块中的从状态机之间的交互。When the OLT receives the configuration response sent by the ONU, an event for triggering the configuration response of the ONU is triggered. The slave state machine in the first state machine module of the OLT responds to the event, and a corresponding event occurs. For the state operation of the event, the state operation includes at least: sending a status update request (such as NMC_STATUS_REQ) to the ONU to implement the slave state machine and the second state of the ONU in the first state machine module of the OLT Between slave state machines in the machine module.
示例地,OLT在接收到所述ONU发送的用于表征所述ONU接收配置的配置响应时,可以发生相应于该事件的状态操作,OLT中的从状态机进入正常运行状态。For example, when the OLT receives a configuration response sent by the ONU to characterize the ONU receiving configuration, a state operation corresponding to the event may occur, and the slave state machine in the OLT enters a normal operating state.
在OLT在接收到所述ONU发送的状态更新响应时,触发用于表征所述ONU进行状态更新的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作。When the OLT receives a status update response sent by the ONU, an event for triggering the status update of the ONU is triggered, and a slave state machine in the first state machine module of the OLT occurs in response to the event. Action corresponding to the state of the event.
需要注意的是,所述OLT中的从状态机在对ONU中的从状态机进行身份应答请求和/或配置请求的过程中,若所述身份应答请求和/或配置请求被ONU中的从状态机拒绝,则所述OLT可以请求停止所述ONU。It should be noted that during the process of the identity response request and / or the configuration request from the slave state machine in the ONU, if the identity response request and / or the configuration request is received by the slave in the ONU, The state machine rejects, then the OLT may request to stop the ONU.
仍参照表6以及图7,可选地,所述方法还包括:Still referring to Table 6 and Figure 7, optionally, the method further includes:
所述OLT在检测到满足所述预设条件的事件发生时,触发用于表征所述ONU开始切换波长通道的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作。When the OLT detects that an event meeting the preset condition occurs, it triggers an event used to characterize that the ONU starts to switch wavelength channels, and the slave state machine in the first state machine module of the OLT responds to the An event occurs with a state operation corresponding to the event.
以上一实施例的ONU切换过程进行说明,所述OLT的第一状态机模块中的从状态机可以响应于所述NMCS_LINK_TUNING_BEGIN事件,重置NMCDeathChkTimer并停止NMCHealthChkTimer,以对所述ONU的切换状态进行监控。其中,若所述从状态机在所述ONU切换过程中收到用于表征停止所述ONU的切换过程的指令或是所述NMCDeathChkTimer超时,则所 述OLT中的从状态机可以通过NMC_STOP_REQ指令请求停止所述ONU,并停止所述NMCDeathChkTimer以及NMCHealthChkTimer。The ONU handover process of the previous embodiment is described. The slave state machine in the first state machine module of the OLT may respond to the NMCS_LINK_TUNING_BEGIN event, reset the NMCDeathChkTimer and stop the NMCHealthChkTimer to monitor the ONU switch state . Wherein, if the slave state machine receives an instruction for stopping the switching process of the ONU during the ONU switching process or the NMCDeathChkTimer times out, the slave state machine in the OLT may request through the NMC_STOP_REQ instruction Stopping the ONU, and stopping the NMCDeathChkTimer and NMCHealthChkTimer.
所述OLT在接收到用于表征所述ONU波长通道切换完成的指令时,触发用于表征所述ONU切换波长通道结束的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作。When the OLT receives an instruction for characterizing completion of the ONU wavelength channel switching, an event for characterizing the end of the ONU switching wavelength channel is triggered, and the slave state machine in the first state machine module of the OLT In response to the event, a status operation corresponding to the event occurs.
其中,在接收到表征所述ONU波长通道切换成功的指令时,可以根据所述指令进行相应的参数设置。例如,所述从状态机可以根据切换完成后的波长通道来对M2AllCtrlTopicChan以及S2AllCtrlTopicChan进行设置。所述M2AllCtrlTopicChan为从NMC-M节点到所有NMC-S节点的组播控制主题的波长通道,所述S2AllCtrlTopicChan为从NMC-S节点到NMC-M节点以及所有NMC-S节点的组播控制主题的波长通道(NMC-S先上行单播,然后下行组播)。以上一切换实施例进行说明,切换之前上述参数可以分别为M2AllCtrlTopicChan(1/2,ctPort=1),S2AllCtrlTopicChan(1/2/3,ctPort=1)。切换完成之后,所述OLT中的从状态机可以根据切换结果(此处以切换成功为例)将上述参数设置为M2AllCtrlTopicChan(1/2,ctPort=2),S2AllCtrlTopicChan(1/2/3,ctPort=2),并重新开始设置所述NMCDeathChkTimer以及NMCHealthChkTimer。When an instruction indicating that the ONU wavelength channel is successfully switched is received, corresponding parameter settings may be performed according to the instruction. For example, the slave state machine may set M2AllCtrlTopicChan and S2AllCtrlTopicChan according to the wavelength channel after the switching is completed. The M2AllCtrlTopicChan is a wavelength channel of the multicast control topic from the NMC-M node to all NMC-S nodes, and the S2AllCtrlTopicChan is the multicast control topic of the NMC-S node to the NMC-M node and all NMC-S nodes. Wavelength channel (NMC-S first uplink unicast, then downlink multicast). The foregoing switching embodiment is described. Before the switching, the foregoing parameters may be M2AllCtrlTopicChan (1/2, ctPort = 1) and S2AllCtrlTopicChan (1/2/3, ctPort = 1), respectively. After the switchover is completed, the slave state machine in the OLT can set the above parameters to M2AllCtrlTopicChan (1/2, ctPort = 2), S2AllCtrlTopicChan (1/2/3, ctPort = 2) and restart setting the NMCDeathChkTimer and NMCHealthChkTimer.
可选的,参照表6以及图8所示出的一种ONU中的从状态机的状态切换示意图,所述方法在图5的基础上还包括:Optionally, referring to Table 6 and a schematic diagram of the state switching of the slave state machine in the ONU shown in FIG. 8, the method further includes:
所述ONU在接收到所述OLT发送的NMC配置指令时,触发用于表征所述ONU与所述OLT之间的链路激活的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,例如根据源波长通道对所述M2AllCtrlTopicChan以及S2AllCtrlTopicChan进行设置。Upon receiving the NMC configuration instruction sent by the OLT, the ONU triggers an event for characterizing a link activation between the ONU and the OLT, and the slave in the second state machine module of the ONU The state machine responds to the event, and a state operation corresponding to the event occurs, such as setting the M2AllCtrlTopicChan and S2AllCtrlTopicChan according to the source wavelength channel.
所述ONU在接收到所述OLT发送的消息总线服务器连接确认的消息时,触发用于表征所述第二状态机模块与所述第一消息总线层模块中的消息总线服务器进行连接确认的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作。When the ONU receives the message of the message bus server connection confirmation sent by the OLT, the ONU triggers an event for characterizing the connection confirmation of the second state machine module and the message bus server in the first message bus layer module. The slave state machine in the second state machine module of the ONU responds to the event, and a state operation corresponding to the event occurs.
所述ONU的所述第二状态机模块中的从状态机响应于在所述第一消息总线层模块中的消息总线服务器的注册消息主题事件,发生相应于该事件的状态操作;A slave state machine in the second state machine module of the ONU responds to a registered message subject event of a message bus server in the first message bus layer module, and a state operation corresponding to the event occurs;
所述ONU接收到所述OLT发送的身份应答请求时,触发用于表征所述OLT向所述ONU发出身份应答请求的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述OLT发送身份应答响应(如NMC_IDENT_RESP)。When the ONU receives the identity response request sent by the OLT, it triggers an event used to characterize the OLT sending an identity response request to the ONU, and the slave state machine in the second state machine module of the ONU responds At the event, a status operation corresponding to the event occurs, and the status operation at least includes: sending an identity response response (such as NMC_IDENT_RESP) to the OLT.
所述ONU接收到所述OLT发送的配置请求时,触发用于表征所述OLT向所述ONU发出配置请求的事件,所述ONU的所述第二状态机模块中的 从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述OLT发送配置响应(如NMC_CONFIG_RESP)。When the ONU receives a configuration request sent by the OLT, it triggers an event used to characterize that the OLT sends a configuration request to the ONU, and a slave state machine in the second state machine module of the ONU responds to the An event occurs with a state operation corresponding to the event. The state operation includes at least: sending a configuration response (such as NMC_CONFIG_RESP) to the OLT.
所述ONU接收到所述OLT发送的状态更新请求,触发用于表征所述OLT向所述ONU发出状态更新请求的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述OLT发送状态更新响应(如NMC_STATUS_RESP),以实现所述OLT的第一状态机模块中的从状态机与所述ONU的第二状态机模块中的从状态机之间的交互。The ONU receives a status update request sent by the OLT, and triggers an event for characterizing the OLT to send a status update request to the ONU. The slave state machine in the second state machine module of the ONU responds to In this event, a state operation corresponding to the event occurs. The state operation includes at least: sending a status update response (such as NMC_STATUS_RESP) to the OLT to implement the slave state machine and the state machine in the first state machine module of the OLT. Interaction between the slave state machines in the second state machine module of the ONU.
仍参照表6以及图8,可选地,所述方法还包括:Still referring to Table 6 and Figure 8, optionally, the method further includes:
所述ONU接收所述OLT发送的波长通道切换请求时,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作可以包括:向所述OLT发送通道切换响应并重置NMCDeathChkTimer,以及停止NMCHealthChkTimer。When the ONU receives a wavelength channel switching request sent by the OLT, a slave state machine in the second state machine module of the ONU responds to the event, and a state operation corresponding to the event occurs. The state operation may include : Sending a channel switching response to the OLT and resetting the NMCDeathChkTimer, and stopping the NMCHealthChkTimer.
在所述ONU波长通道切换完成时,触发用于表征所述ONU切换波长通道结束的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述OLT发送波长通道切换完成消息。此外,在向所述OLT发送波长通道切换完成消息之后,所述OLT中的从状态机还可以根据目的波长通道对上述参数M2AllCtrlTopicChan和S2AllCtrlTopicChan进行设置,并重新开始设置所述NMCDeathChkTimer以及NMCHealthChkTimer。When the ONU wavelength channel switching is completed, an event for triggering the end of the ONU wavelength channel switching is triggered, and the slave state machine in the second state machine module of the ONU responds to the event and occurs corresponding to the event The state operation includes at least: sending a wavelength channel switching completion message to the OLT. In addition, after sending a wavelength channel switching completion message to the OLT, the slave state machine in the OLT may also set the parameters M2AllCtrlTopicChan and S2AllCtrlTopicChan according to the destination wavelength channel, and restart setting the NMCDeathChkTimer and NMCHealthChkTimer.
以下通过一个实施例来介绍本申请PON网络中网络管理控制子系统控制连接建立过程,其中,标识为1/2的OLT以及消息总线服务器与标识为1/2/3的ONU通过所述PON网络建立控制连接。参照表6,OLT的第一状态机模块中的主状态机响应于第一消息总线层模块中的MQTT-SN消息总线服务器激活事件MB_BROKER_UP,向所述消息总线服务器发送消息总线连接请求MB_CONNECT,在接收到所述MQTT-SN服务器或网关反馈的MB_CONNACK消息之后,即所述主状态机与所述MQTT-SN服务器连接成功。之后,MQTT-SN服务器可以向所述主状态机发送MB_REGISTER指令,将预定义的主设备控制消息主题和主题ID,以及从设备控制消息主题和主题ID发送给所述主状态机。The following describes the process of establishing a connection control by the network management control subsystem in the PON network of the present application through an embodiment. The OLT identified by 1/2 and the message bus server and the ONU identified by 1/2/3 pass through the PON network. Establish a control connection. Referring to Table 6, the main state machine in the first state machine module of the OLT responds to the MQTT-SN message bus server activation event MB_BROKER_UP in the first message bus layer module, and sends a message bus connection request MB_CONNECT to the message bus server. After receiving the MB_CONNACK message fed back by the MQTT-SN server or the gateway, the connection between the main state machine and the MQTT-SN server is successful. After that, the MQTT-SN server may send an MB_REGISTER instruction to the master state machine, and send the predefined master device control message subject and topic ID, and the slave device control message subject and topic ID to the master state machine.
此外,所述OLT在接收到所述MB_BROKER_UP事件之后,还可以向与所述OLT相连的ONU发送NMC配置指令(PON_NMC_CONFIG_REQ(OMCI/PLOAM:NMC-M,NMC-S,MB))。例如可以利用PON本身的配置方法,通过OMCI将相应的网络管理控制初始配置、消息总线的初始配置等信息从OLT传输至ONU以进行配置。在配置成功之后,触发NMCS_LINK_UP事件,相应ONU开始正常运行。类似的,所述ONU中的从状态机也可以通过向所述MQTT-SN服务器发送MB_CONNECT指令来请 求与所述MQTT-SN服务器建立连接。并且,在连接成功之后响应所述MQTT-SN服务器发送的MB_REGISTER指令,接收预定义的主设备控制消息主题和主题ID,以及从设备控制消息主题和主题ID。In addition, after receiving the MB_BROKER_UP event, the OLT may also send an NMC configuration instruction (PON_NMC_CONFIG_REQ (OMCI / PLOAM: NMC-M, NMC-S, MB)) to an ONU connected to the OLT. For example, the configuration method of the PON itself can be used to transmit the initial configuration of the corresponding network management control, the initial configuration of the message bus, etc. from the OLT to the ONU for configuration through OMCI. After the configuration is successful, the NMCS_LINK_UP event is triggered, and the corresponding ONU starts to run normally. Similarly, the slave state machine in the ONU may also request to establish a connection with the MQTT-SN server by sending an MB_CONNECT instruction to the MQTT-SN server. And, after the connection is successful, in response to the MB_REGISTER instruction sent by the MQTT-SN server, receiving a predefined master device control message subject and subject ID, and a slave device control message subject and subject ID.
需要注意的是,所述ONU在配置成功之后还可以向OLT发送一个配置结果消息PON_NMC_CONFIG_RESP(OMCI/PLOAM),并根据所述PON_NMC_CONFIG_RESP(OMCI/PLOAM)触发NMCM_LINK_UP事件,以激活所述OLT。此外,所述OLT还可以根据所述PON_NMC_CONFIG_RESP(OMCI/PLOAM)消息触发NMCS_LINK_UP事件,并通过所述OLT中的主状态机激活所述OLT中的对应从状态机。这样,所述OLT中的从状态机以及所述ONU中的从状态机可以通过所述MQTT-SN消息总线直接进行交互,并通过建立的相应控制通道传送控制主题消息,以便于OLT管理和控制所述PON网络中的通信节点设备。It should be noted that the ONU may also send a configuration result message PON_NMC_CONFIG_RESP (OMCI / PLOAM) to the OLT after the configuration is successful, and trigger the NMCM_LINK_UP event according to the PON_NMC_CONFIG_RESP (OMCI / PLOAM) event to activate the OLT. In addition, the OLT may trigger an NMCS_LINK_UP event according to the PON_NMC_CONFIG_RESP (OMCI / PLOAM) message, and activate the corresponding slave state machine in the OLT through the master state machine in the OLT. In this way, the slave state machine in the OLT and the slave state machine in the ONU can directly interact through the MQTT-SN message bus, and transmit control topic messages through the established corresponding control channel, so as to facilitate OLT management and control. A communication node device in the PON network.
此外,若ONU需要与所述OLT进行连接通讯,则所述ONU可以向所述OLT发送连接请求NMC_ACCESS_REQ,在响应所述OLT的身份应答请求以及配置请求之后,所述ONU可以通过接收所述OLT发送的状态更新请求,以及向所述OLT发送状态更新响应的方式实现与所述OLT的交互。其中,所述状态更新请求可以由所述OLT周期性的发送,所述OLT通过向所述ONU发送所述状态更新请求,并接收所述ONU对所述状态更新请求的响应来确定ONU的连接状态,以便对ONU进行管理控制。In addition, if the ONU needs to communicate with the OLT, the ONU may send a connection request NMC_ACCESS_REQ to the OLT. After responding to the OLT ’s identity response request and configuration request, the ONU may receive the OLT by receiving the OLT. The manner of sending a status update request and sending a status update response to the OLT implement interaction with the OLT. The status update request may be sent periodically by the OLT. The OLT determines the connection of the ONU by sending the status update request to the ONU and receiving the response of the ONU to the status update request. Status to manage and control the ONU.
此外,关于ONU在不同波长通道之间的切换过程,上述实施例中已经结合OLT中的主状态机和从状态机,以及ONU中的从状态机的状态切换示意图,对切换过程中OLT中的主状态机和从状态机,以及ONU中的从状态机的各种操作进行过详细描述,本公开在此不再赘述。In addition, regarding the switching process of the ONU between different wavelength channels, the above embodiments have combined the state switching diagram of the master state machine and the slave state machine in the OLT and the slave state machine in the ONU. Various operations of the master state machine and the slave state machine, as well as the slave state machine in the ONU have been described in detail, and this disclosure will not repeat them here.
本公开还提供一种用于PON网络的装置,所述装置被配置为上述任一实施例中所述的PON网络中的OLT。The present disclosure also provides an apparatus for a PON network, the apparatus being configured as an OLT in the PON network described in any of the above embodiments.
本公开还提供一种用于PON网络的装置,所述装置被配置为上述任一实施例中所述的PON网络中的ONU。The present disclosure also provides an apparatus for a PON network, the apparatus being configured as an ONU in the PON network described in any of the above embodiments.
本公开还提供一种机器人系统,所述机器人系统包括上述任一实施例中所述的PON网络。The present disclosure also provides a robot system including the PON network described in any one of the above embodiments.
所述机器人系统通过在OLT中设置第一消息总线层模块以及在ONU中设置第二消息总线层模块,所述OLT和ONU可以通过相应的消息总线层模块,经由相应的时分和波分复用传输网络来进行消息主题的注册和相互订阅以及主题消息的发布与接收,从而实现所述OLT与所述ONU之间的消息通讯。此外,所述OLT和ONU中还设置有相应的状态机模块,所述状态机模块中的状态机可以根据与其对应的各节点设备所发生的事件来进行相应的状态操作。也就是说,作为网络管理控制主设备的OLT可以通过相应的状态机经由相应的传输网络与网络管理控制从设备ONU的状态机进行交互, 在需要时对所述ONU所处的波长通道进行切换,从而实现对所述PON网络中各节点间的通讯过程进行管理控制的效果,同时也提升了所述PON网络中各通信节点间通信的灵活性。The robot system is provided with a first message bus layer module in the OLT and a second message bus layer module in the ONU, and the OLT and the ONU can pass the corresponding message bus layer module through the corresponding time division and wavelength division multiplexing. The transmission network performs registration and mutual subscription of message topics and release and reception of topic messages, thereby realizing message communication between the OLT and the ONU. In addition, the OLT and the ONU are also provided with corresponding state machine modules, and the state machines in the state machine modules can perform corresponding state operations according to events occurring at the corresponding node devices. In other words, the OLT, which is the master device of the network management control, can interact with the state machine of the ONU of the network management control slave device through the corresponding state machine through the corresponding transmission network, and switch the wavelength channel where the ONU is located when needed. Therefore, the effect of managing and controlling the communication process between the nodes in the PON network is achieved, and the communication flexibility between the communication nodes in the PON network is also improved.
以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,可以对本公开的技术方案进行多种简单变型,这些简单变型均属于本公开的保护范围。The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings. However, the present disclosure is not limited to the specific details in the above embodiments. Within the scope of the technical concept of the present disclosure, various simple modifications can be made to the technical solutions of the present disclosure. These simple modifications all belong to the protection scope of the present disclosure.
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合,为了避免不必要的重复,本公开对各种可能的组合方式不再另行说明。In addition, it should be noted that the specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure provides various possible features. The combination is not explained separately.
此外,本公开的各种不同的实施方式之间也可以进行任意组合,只要其不违背本公开的思想,其同样应当视为本公开所公开的内容。In addition, various embodiments of the present disclosure can also be arbitrarily combined, as long as it does not violate the idea of the present disclosure, it should also be regarded as the content disclosed in the present disclosure.

Claims (27)

  1. 一种PON网络,其特征在于,所述PON网络包括光线路终端OLT,以及与所述OLT相连的至少一个光网络单元ONU;A PON network, characterized in that the PON network includes an optical line terminal OLT and at least one optical network unit ONU connected to the OLT;
    所述OLT作为网络管理控制主设备,包括:The OLT as a master device for network management and control includes:
    第一状态机模块,用于运行根据所述OLT自身发生的事件进行状态操作的主状态机,以及运行根据接入所述OLT的ONU发生的事件进行状态操作的从状态机;A first state machine module, configured to run a master state machine that performs a state operation according to an event occurring on the OLT itself, and a slave state machine that performs a state operation according to an event occurring on an ONU connected to the OLT;
    第一消息总线层模块,用于提供消息总线服务器和第一消息总线客户端,以支持所述OLT中的所述第一消息总线客户端的用户和所述ONU中的第二消息总线客户端的用户注册和订阅消息主题以及发布和接收主题消息;A first message bus layer module, configured to provide a message bus server and a first message bus client to support a user of the first message bus client in the OLT and a user of a second message bus client in the ONU Register and subscribe to message topics and publish and receive topic messages;
    第一传输网络,用于所述OLT与所述ONU之间的消息传输;A first transmission network for message transmission between the OLT and the ONU;
    所述ONU作为网络管理控制从设备,包括:The ONU as a network management control slave device includes:
    第二状态机模块,用于运行根据所述ONU自身发生的事件以及根据所述第一状态机模块中运行的从状态机的事件进行状态操作的从状态机;A second state machine module, configured to run a slave state machine that performs state operations according to an event occurring on the ONU itself and according to an event of the slave state machine running in the first state machine module;
    第二消息总线层模块,用于提供所述第二消息总线客户端,以支持所述ONU中的所述第二消息总线客户端的用户注册和订阅消息主题以及发布和接收主题消息;A second message bus layer module, configured to provide the second message bus client to support users of the second message bus client in the ONU to register and subscribe to message topics, and to publish and receive topic messages;
    第二传输网络,用于所述ONU与所述OLT之间的消息传输;A second transmission network for message transmission between the ONU and the OLT;
    其中,所述第一传输网络与所述第二传输网络包括时分和波分复用TWDM网络,以使所述ONU能够在所述OLT提供的不同波长通道之间切换接入。The first transmission network and the second transmission network include a time division and wavelength division multiplexed TWDM network, so that the ONU can switch access between different wavelength channels provided by the OLT.
  2. 根据权利要求1所述的PON网络,其特征在于,所述第一状态机模块包括:The PON network according to claim 1, wherein the first state machine module comprises:
    第一消息总线客户端接口,用于支持所述第一状态机模块作为所述OLT中的所述第一消息总线客户端的用户在所述消息总线服务器注册和订阅消息主题以及发布和接收主题消息;A first message bus client interface for supporting the first state machine module as a user of the first message bus client in the OLT to register and subscribe to a message topic with the message bus server, and to publish and receive topic messages ;
    第一网络管理控制服务端接口,用于支持所述第一状态机模块通过所述第一消息总线层模块实现所述OLT与所述ONU之间通讯的服务规格和服务流标记;A first network management control server interface for supporting the first state machine module to implement a service specification and a service flow mark for communication between the OLT and the ONU through the first message bus layer module;
    第一网络控制器,用于所述第一状态机模块对所述第一传输网络进行网络管理控制NMC服务配置。A first network controller, configured to perform network management, control, and NMC service configuration on the first transmission network by the first state machine module.
  3. 根据权利要求1所述的PON网络,其特征在于,所述第二状态机模块包括:The PON network according to claim 1, wherein the second state machine module comprises:
    第二消息总线客户端接口,用于支持所述第二状态机模块作为所述ONU中的所述第二消息总线客户端的用户,在所述消息总线服务器注册和订阅消 息主题以及发布和接收主题消息;A second message bus client interface for supporting the second state machine module as a user of the second message bus client in the ONU, registering and subscribing to message topics and publishing and receiving topics with the message bus server News
    第二网络管理控制服务端接口,用于支持所述第二状态机模块通过所述第二消息总线层模块实现所述OLT与所述ONU之间通讯的服务规格和服务流标记;A second network management control server interface for supporting the second state machine module to implement service specifications and service flow tags for communication between the OLT and the ONU through the second message bus layer module;
    第二网络控制器,用于所述第二状态机模块对所述ONU的传输网络进行NMC服务配置。A second network controller, configured to perform, by the second state machine module, an NMC service configuration on a transmission network of the ONU.
  4. 根据权利要求1所述的PON网络,其特征在于,所述第一消息总线层模块包括:The PON network according to claim 1, wherein the first message bus layer module comprises:
    网络管理控制客户端接口,用于支持所述第一状态机模块通过所述第一消息总线层模块实现所述OLT与所述ONU之间通讯的服务规格和服务流标记;A network management control client interface for supporting the first state machine module to implement a service specification and a service flow mark of the communication between the OLT and the ONU through the first message bus layer module;
    网络适配器,与所述第一传输网络相连,实现所述第一消息总线层模块与所述第一传输网络的适配,其中,所述网络适配器存储所述OLT与所述ONU之间的每一消息主题的消息传送路径。A network adapter connected to the first transmission network to implement adaptation of the first message bus layer module to the first transmission network, wherein the network adapter stores each of the data between the OLT and the ONU Message delivery path for a message subject.
  5. 根据权利要求2所述的PON网络,其特征在于,所述第一状态机模块中的所述从状态机与所述主状态机共用所述第一消息总线客户端接口和/或所述第一网络管理控制服务端接口。The PON network according to claim 2, wherein the slave state machine in the first state machine module and the master state machine share the first message bus client interface and / or the first A network management control server interface.
  6. 根据权利要求2所述的PON网络,其特征在于,所述第一状态机模块通过第一网络控制器对所述第一传输网络进行NMC服务配置,包括:The PON network according to claim 2, wherein the first state machine module performs NMC service configuration on the first transmission network through a first network controller, comprising:
    对所述第一传输网络中的光网络单元管理控制接口OMCI、物理层操作管理和维护PLOAM以及带宽动态分配DBA进行配置管理。Performing configuration management on the optical network unit management control interface OMCI, physical layer operation management and maintenance PLOAM, and bandwidth dynamic allocation DBA in the first transmission network.
  7. 根据权利要求1-6任一项所述的PON网络,其特征在于,所述主状态机用于,在任一接入所述OLT的ONU激活后,启动所述第一状态机模块中的从状态机以用于与所述ONU进行交互。The PON network according to any one of claims 1-6, wherein the master state machine is configured to start a slave in the first state machine module after any ONU connected to the OLT is activated. A state machine for interacting with the ONU.
  8. 根据权利要求1-6任一项所述的PON网络,其特征在于,所述主状态机用于根据以下事件中的至少一件进行状态操作:The PON network according to any one of claims 1-6, wherein the master state machine is configured to perform a state operation according to at least one of the following events:
    用于表征所述OLT激活的事件;An event used to characterize the activation of the OLT;
    用于表征所述OLT去激活的事件;An event used to characterize the OLT deactivation;
    用于表征所述OLT与所述ONU之间的链路激活的事件;An event for characterizing a link activation between the OLT and the ONU;
    用于表征所述OLT与所述ONU之间的链路去激活的事件;An event for deactivating a link between the OLT and the ONU;
    用于表征接入所述OLT的ONU开始切换波长通道的事件;An event used to characterize an ONU that accesses the OLT to switch wavelength channels;
    用于表征接入所述OLT的ONU切换波长通道结束的事件;An event used to characterize the end of an ONU switching wavelength channel accessing the OLT;
    用于表征所述第一消息总线层模块中的消息总线服务器激活的事件;An event for characterizing a message bus server activation in the first message bus layer module;
    用于表征所述第一消息总线层模块中的消息总线服务器去激活的事件;An event for deactivating a message bus server in the first message bus layer module;
    用于表征所述第一状态机模块与所述第一消息总线层模块中的消息总线服务器进行连接确认的事件;An event for characterizing connection confirmation between the first state machine module and a message bus server in the first message bus layer module;
    用于表征所述第一状态机模块在所述第一消息总线层模块中的消息总线服务器注册消息主题的事件。An event used to characterize that the message bus server of the first state machine module in the first message bus layer module registers a message subject.
  9. 根据权利要求1-6任一项所述的PON网络,其特征在于,所述第一状态机模块中的从状态机用于根据以下事件中的至少一件进行状态操作:The PON network according to any one of claims 1-6, wherein the slave state machine in the first state machine module is configured to perform a state operation according to at least one of the following events:
    用于表征所述OLT与所述ONU之间的链路激活的事件;An event for characterizing a link activation between the OLT and the ONU;
    用于表征所述OLT与所述ONU之间的链路去激活的事件;An event for deactivating a link between the OLT and the ONU;
    用于表征接入所述OLT的ONU开始切换波长通道的事件;An event used to characterize an ONU that accesses the OLT to switch wavelength channels;
    用于表征接入所述OLT的ONU切换波长通道结束的事件;An event used to characterize the end of an ONU switching wavelength channel accessing the OLT;
    用于表征所述ONU发出接入请求的事件;An event used to characterize the ONU sending an access request;
    用于表征所述ONU进行身份应答响应的事件;An event used to characterize the ONU's identity response response;
    用于表征所述ONU进行配置响应的事件;An event used to characterize the ONU's configuration response;
    用于表征所述ONU进行状态更新响应的事件。An event used to characterize the ONU's status update response.
  10. 根据权利要求1-6任一项所述的PON网络,其特征在于,所述第二状态机模块中的从状态机用于根据以下事件中的至少一件进行状态操作:The PON network according to any one of claims 1-6, wherein the slave state machine in the second state machine module is configured to perform a state operation according to at least one of the following events:
    用于表征所述ONU与所述OLT之间的链路激活的事件;An event for characterizing a link activation between the ONU and the OLT;
    用于表征所述ONU与所述OLT之间的链路去激活的事件;An event for deactivating a link between the ONU and the OLT;
    用于表征所述ONU开始切换波长通道的事件;An event used to characterize that the ONU starts to switch wavelength channels;
    用于表征所述ONU切换波长通道结束的事件;An event used to characterize the end of the ONU switching wavelength channel;
    用于表征所述第二状态机模块与所述第一消息总线层模块中的消息总线服务器进行连接确认的事件;An event for characterizing connection confirmation between the second state machine module and a message bus server in the first message bus layer module;
    用于表征所述第二状态机模块在所述第一消息总线层模块中的消息总线服务器注册消息主题的事件;An event used to characterize that the second state machine module registers a message subject with a message bus server in the first message bus layer module;
    用于表征所述OLT向所述ONU发出身份应答请求的事件;An event used to characterize that the OLT sends an identity response request to the ONU;
    用于表征所述OLT向所述ONU发出配置请求的事件;An event used to indicate that the OLT sends a configuration request to the ONU;
    用于表征所述OLT向所述ONU发出状态更新请求的事件。An event used to indicate that the OLT sends a status update request to the ONU.
  11. 根据权利要求1-6任一项所述的PON网络,其特征在于,所述ONU的通道分区索引CPI的值为0,以使得所述ONU能够在所述OLT的同一波长端口提供的多个波长通道之间切换接入。The PON network according to any one of claims 1-6, wherein a value of a channel partition index CPI of the ONU is 0, so that the ONU can provide multiple multiples provided by the same wavelength port of the OLT. Switch access between wavelength channels.
  12. 根据权利要求11所述的PON网络,其特征在于,所述OLT的标识信息包括所述OLT的波长端口ID且不包括所述OLT提供的波长通道ID,所述ONU的标识信息包括所述OLT的波长端口ID且不包括所述OLT提供 的波长通道ID,使得所述ONU在不同波长通道切换时,所述ONU和所述ONU连接的OLT的标识信息不发生变化;和/或,The PON network according to claim 11, wherein the identification information of the OLT includes a wavelength port ID of the OLT and does not include a wavelength channel ID provided by the OLT, and the identification information of the ONU includes the OLT The wavelength port ID does not include the wavelength channel ID provided by the OLT, so that when the ONU switches between different wavelength channels, the identification information of the ONU and the OLT connected to the ONU does not change; and / or,
    所述OLT同一个波长端口下分配给同一ONU的传输容器T-CONT、封装层端口XGEM Port-ID、虚拟局域网VLAN保持不变。The transmission container T-CONT, the encapsulation layer port XGEM, the Port-ID, and the virtual local area network VLAN allocated to the same ONU by the OLT on the same wavelength port remain unchanged.
  13. 根据权利要求1-6任一项所述的PON网络,其特征在于,所述第一消息总线层模块中的消息总线服务器包括MQTT服务器,所述第一状态机模块在所述MQTT服务器初始化时,预先为需要接入所述OLT的ONU注册NMC管理控制通道;The PON network according to any one of claims 1-6, wherein the message bus server in the first message bus layer module includes an MQTT server, and the first state machine module is initialized when the MQTT server is initialized. Registering an NMC management control channel for ONUs that need to access the OLT in advance;
    所述NMC管理控制通道包括:The NMC management control channel includes:
    第一下行管理控制通道,用于从所述OLT下行组播消息到所有ONU或指定的部分ONU;以及,A first downlink management control channel for downlink multicast messages from the OLT to all ONUs or designated ONUs; and
    第一上行管理控制通道,用于从ONU上行单播消息到所述OLT,再下行组播该消息到所有ONU。The first uplink management control channel is used for uplink unicast message from the ONU to the OLT, and then multicast the message to all ONUs.
  14. 根据权利要求13所述的PON网络,其特征在于,所述NMC管理控制通道还包括:The PON network according to claim 13, wherein the NMC management control channel further comprises:
    第二下行管理控制通道,用于从所述OLT下行单播消息到指定的ONU;和/或,A second downlink management control channel, configured to downlink a unicast message from the OLT to a designated ONU; and / or,
    第二上行管理控制通道,用于从ONU上行单播消息到所述OLT。The second uplink management control channel is used for uplink unicast messages from the ONU to the OLT.
  15. 一种用于PON网络的方法,其特征在于,所述方法应用于权利要求1-14任一项所述的PON网络,所述方法包括:A method for a PON network, wherein the method is applied to the PON network according to any one of claims 1-14, and the method includes:
    所述OLT的所述第一状态机模块在所述第一消息总线层模块的消息总线服务器进行第一消息主题注册,并向与所述OLT相连的ONU发送网络管理控制NMC配置指令;The first state machine module of the OLT registers a first message subject with a message bus server of the first message bus layer module, and sends a network management control NMC configuration instruction to an ONU connected to the OLT;
    所述ONU的所述第二状态机模块根据所述NMC配置指令对所述ONU的第二传输网络进行NMC服务配置,并通过所述ONU的第二消息总线层模块在消息总线服务器进行第二消息主题注册;The second state machine module of the ONU performs NMC service configuration on the second transmission network of the ONU according to the NMC configuration instruction, and performs a second process on the message bus server through the second message bus layer module of the ONU. Message subject registration;
    所述ONU接入所述OLT的第一波长端口的第一波长通道中;Accessing the ONU to a first wavelength channel of a first wavelength port of the OLT;
    所述OLT与所述ONU在所述第一波长通道中建立发布/订阅模式的消息通讯;Message communication between the OLT and the ONU in a publish / subscribe mode in the first wavelength channel;
    其中,在满足预设条件的情况下,所述ONU在所述OLT提供的不同波长通道之间切换接入。Wherein, when the preset condition is satisfied, the ONU switches access between different wavelength channels provided by the OLT.
  16. 根据权利要求15所述的方法,其特征在于,所述预设条件包括以下条件中的至少一项:The method according to claim 15, wherein the preset condition comprises at least one of the following conditions:
    所述第一波长端口的所述第一波长通道的端口OLT CT发生故障;The port OLT CT of the first wavelength channel of the first wavelength port fails;
    所述ONU的板卡发生故障;The board of the ONU fails;
    所述第一波长端口的OLT CT进入软件升级状态。The OLT CT of the first wavelength port enters a software upgrade state.
  17. 根据权利要求15所述的方法,其特征在于,所述在满足预设条件的情况下,所述ONU在所述OLT提供的不同波长通道之间切换接入,包括:The method according to claim 15, wherein the ONU switching access between different wavelength channels provided by the OLT under the condition that a preset condition is satisfied, comprising:
    ONU切换到相对空闲的波长通道,以增加负载能力或者容量分担;和/或ONU switches to a relatively idle wavelength channel to increase load capacity or capacity sharing; and / or
    在所述PON网络空闲或者进入夜间的情况下,将分散在多个波长通道中的ONU切换至数量小于预定阈值的波长通道。When the PON network is idle or at night, the ONUs dispersed in multiple wavelength channels are switched to wavelength channels whose number is less than a predetermined threshold.
  18. 根据权利要求15所述的方法,其特征在于,所述第一消息总线层模块配置的NMC配置指令中的参数包括以下参数中的至少一项:The method according to claim 15, wherein the parameters in the NMC configuration instruction configured by the first message bus layer module include at least one of the following parameters:
    用于表征所述OLT的节点ID的参数;A parameter for characterizing a node ID of the OLT;
    用于表征所述ONU的节点ID的参数;A parameter for characterizing a node ID of the ONU;
    用于监控所述OLT以及与所述OLT通信连接的ONU的运行状态的参数,其中,若所述OLT在阈值时长之内未收到来自所述ONU的通信消息,或者,若所述ONU在阈值时长之内未收到来自所述OLT的通信消息,则确定所述OLT与所述ONU的通信断开;A parameter for monitoring the operating status of the OLT and an ONU connected to the OLT, wherein if the OLT does not receive a communication message from the ONU within a threshold duration, or if the ONU is in If no communication message is received from the OLT within the threshold duration, it is determined that the communication between the OLT and the ONU is disconnected;
    用于所述OLT向所述ONU发起状态更新请求的参数,和/或,用于所述ONU向所述OLT报告自身状态的参数;Parameters for the OLT to initiate a status update request to the ONU, and / or parameters for the ONU to report its status to the OLT;
    用于表征从所述OLT到所有ONU的组播控制主题的名称的参数;A parameter for characterizing names of multicast control topics from the OLT to all ONUs;
    用于表征从所述ONU到所述OLT和所有ONU的组播控制主题的名称的参数;A parameter for characterizing names of multicast control topics from the ONU to the OLT and all ONUs;
    用于表征默认MQTT-SN网关的地址的参数;Parameters used to characterize the address of the default MQTT-SN gateway;
    用于表征默认MQTT-SN网关的MAC地址的参数;以及Parameters used to characterize the MAC address of the default MQTT-SN gateway; and
    用于表征所述MQTT-SN网关的ID的参数。A parameter used to characterize the ID of the MQTT-SN gateway.
  19. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, further comprising:
    在所述OLT的所述第一状态机模块在所述第一消息总线层模块进行第一消息主题注册之前,包括:Before the first state machine module of the OLT performs first message topic registration by the first message bus layer module, the method includes:
    所述OLT的所述第一状态机模块中的主状态机响应于所述第一消息总线层模块中的消息总线服务器激活事件,发生相应于该事件的状态操作,所述状态操作至少包括:向所述消息总线服务器发送消息总线连接请求;The main state machine in the first state machine module of the OLT responds to a message bus server activation event in the first message bus layer module, and a state operation corresponding to the event occurs. The state operation includes at least: Sending a message bus connection request to the message bus server;
    所述OLT的所述第一状态机模块中的主状态机响应于与所述第一消息总线层模块中的消息总线服务器之间的连接确认事件,发生相应于该事件的状态操作;The main state machine in the first state machine module of the OLT responds to a connection confirmation event with a message bus server in the first message bus layer module, and a state operation corresponding to the event occurs;
    所述OLT的所述第一状态机模块中的主状态机响应于在所述第一消息 总线层模块中的消息总线服务器注册消息主题事件,发生相应于该事件的状态操作;The main state machine in the first state machine module of the OLT registers a message subject event in response to a message bus server in the first message bus layer module, and a state operation corresponding to the event occurs;
    在所述向所述ONU发送NMC配置指令之后,包括:After sending the NMC configuration instruction to the ONU, the method includes:
    所述OLT接收到用于表征所述ONU完成NMC配置的消息时,触发用于表征所述OLT激活的事件,所述OLT的所述第一状态机模块中的主状态机响应于该事件,发生相应于该事件的状态操作;When the OLT receives a message indicating that the ONU completes the NMC configuration, it triggers an event indicating the activation of the OLT, and the main state machine in the first state machine module of the OLT responds to the event, A status operation corresponding to the event occurred;
    所述OLT在接收到所述ONU发送的消息总线服务器连接请求时,触发用于表征所述ONU与所述OLT之间的链路激活的事件,所述OLT的所述第一状态机模块中的主状态机响应于该事件,发生相应于该事件的状态操作。When receiving the message bus server connection request sent by the ONU, the OLT triggers an event that is used to characterize the activation of the link between the ONU and the OLT. The first state machine module of the OLT In response to the event, the main state machine occurs, and a state operation corresponding to the event occurs.
  20. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, further comprising:
    所述OLT在检测到满足所述预设条件的事件发生时,触发用于表征所述ONU开始切换波长通道的事件,所述OLT的所述第一状态机模块中的主状态机响应于该事件,发生相应于该事件的状态操作,所述状态操作至少包括:向所述ONU发送波长通道切换请求;When the OLT detects that an event meeting the preset condition occurs, it triggers an event that is used to characterize that the ONU starts to switch wavelength channels, and the main state machine in the first state machine module of the OLT responds to the An event, a state operation corresponding to the event occurs, the state operation includes at least: sending a wavelength channel switching request to the ONU;
    所述OLT在接收到用于表征所述ONU波长通道切换完成的指令时,触发用于表征所述ONU切换波长通道结束的事件,所述OLT的所述第一状态机模块中的主状态机响应于该事件,发生相应于该事件的状态操作。When the OLT receives an instruction for characterizing completion of the ONU wavelength channel switching, it triggers an event for characterizing the end of the ONU switching wavelength channel, and the main state machine in the first state machine module of the OLT In response to the event, a status operation corresponding to the event occurs.
  21. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, further comprising:
    所述OLT在接收到所述ONU发送的消息总线服务器连接请求时,触发用于表征所述ONU与所述OLT之间的链路激活的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作;When receiving the message bus server connection request sent by the ONU, the OLT triggers an event that is used to characterize the activation of the link between the ONU and the OLT. The first state machine module of the OLT The slave state machine responds to the event, and a state operation corresponding to the event occurs;
    所述OLT在接收到所述ONU发送的消息总线服务器连接请求的消息时,触发用于表征所述ONU发出接入请求的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述ONU发送身份应答请求;When the OLT receives the message of the message bus server connection request sent by the ONU, the OLT triggers an event for characterizing the access request issued by the ONU, and the slave state machine in the first state machine module of the OLT In response to the event, a state operation corresponding to the event occurs, and the state operation includes at least: sending an identity response request to the ONU;
    在OLT在接收到所述ONU发送的身份应答响应时,触发用于表征所述ONU进行身份应答响应的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述ONU发送配置请求,用于对所述ONU第二状态机模块中的从状态机进行配置;When the OLT receives the identity response response sent by the ONU, an event for characterizing the ONU to respond to the identity response is triggered, and the slave state machine in the first state machine module of the OLT responds to the event, A state operation corresponding to the event occurs, the state operation includes at least: sending a configuration request to the ONU for configuring a slave state machine in the second state machine module of the ONU;
    在OLT在接收到所述ONU发送的配置响应时,触发用于表征所述ONU进行配置响应的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述 ONU发送状态更新请求,以实现所述OLT的第一状态机模块中的从状态机与所述ONU的第二状态机模块中的从状态机之间的交互;When the OLT receives the configuration response sent by the ONU, an event for triggering the configuration response of the ONU is triggered. The slave state machine in the first state machine module of the OLT responds to the event, and a corresponding event occurs. For the state operation of the event, the state operation includes at least: sending a status update request to the ONU to implement the slave state machine in the first state machine module of the OLT and the second state machine module in the ONU Interactions between state machines;
    在OLT在接收到所述ONU发送的状态更新响应时,触发用于表征所述ONU进行状态更新的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作。When the OLT receives a status update response sent by the ONU, an event for triggering the status update of the ONU is triggered, and a slave state machine in the first state machine module of the OLT occurs in response to the event. Action corresponding to the state of the event.
  22. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, further comprising:
    所述OLT在检测到满足所述预设条件的事件发生时,触发用于表征所述ONU开始切换波长通道的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作;When the OLT detects that an event meeting the preset condition occurs, it triggers an event used to characterize that the ONU starts to switch wavelength channels, and the slave state machine in the first state machine module of the OLT responds to the Event, a state operation corresponding to the event occurs;
    所述OLT在接收到用于表征所述ONU波长通道切换完成的指令时,触发用于表征所述ONU切换波长通道结束的事件,所述OLT的所述第一状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作。When the OLT receives an instruction for characterizing completion of the ONU wavelength channel switching, an event for characterizing the end of the ONU switching wavelength channel is triggered, and the slave state machine in the first state machine module of the OLT In response to the event, a status operation corresponding to the event occurs.
  23. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, further comprising:
    所述ONU在接收到所述OLT发送的NMC配置指令时,触发用于表征所述ONU与所述OLT之间的链路激活的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作;Upon receiving the NMC configuration instruction sent by the OLT, the ONU triggers an event for characterizing a link activation between the ONU and the OLT, and the slave in the second state machine module of the ONU The state machine responds to the event, and a state operation corresponding to the event occurs;
    所述ONU在接收到所述OLT发送的消息总线服务器连接确认的消息时,触发用于表征所述第二状态机模块与所述第一消息总线层模块中的消息总线服务器进行连接确认的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作;When the ONU receives the message of the message bus server connection confirmation sent by the OLT, it triggers an event for characterizing the connection confirmation of the second state machine module with the message bus server in the first message bus layer module , The slave state machine in the second state machine module of the ONU responds to the event, and a state operation corresponding to the event occurs;
    所述ONU的所述第二状态机模块中的从状态机响应于在所述第一消息总线层模块中的消息总线服务器注册消息主题事件,发生相应于该事件的状态操作;The slave state machine in the second state machine module of the ONU responds to the message bus server registering the message subject event in the first message bus layer module, and a state operation corresponding to the event occurs;
    所述ONU接收到所述OLT发送的身份应答请求时,触发用于表征所述OLT向所述ONU发出身份应答请求的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述OLT发送身份应答响应;When the ONU receives the identity response request sent by the OLT, it triggers an event used to characterize the OLT sending an identity response request to the ONU, and the slave state machine in the second state machine module of the ONU responds At the event, a status operation corresponding to the event occurs, and the status operation includes at least: sending an identity response response to the OLT;
    所述ONU接收到所述OLT发送的配置请求时,触发用于表征所述OLT向所述ONU发出配置请求的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述OLT发送配置响应;When the ONU receives a configuration request sent by the OLT, it triggers an event used to characterize that the OLT sends a configuration request to the ONU, and a slave state machine in the second state machine module of the ONU responds to the An event, a state operation corresponding to the event occurs, the state operation includes at least: sending a configuration response to the OLT;
    所述ONU接收到所述OLT发送的状态更新请求,触发用于表征所述OLT向所述ONU发出状态更新请求的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述OLT发送状态更新响应,以实现所述OLT的第一状态 机模块中的从状态机与所述ONU的第二状态机模块中的从状态机之间的交互。The ONU receives a status update request sent by the OLT, and triggers an event for characterizing the OLT to send a status update request to the ONU. The slave state machine in the second state machine module of the ONU responds to In this event, a state operation corresponding to the event occurs. The state operation includes at least sending a status update response to the OLT to implement a slave state machine in the first state machine module of the OLT and a second state machine in the ONU. Interaction between slave state machines in the state machine module.
  24. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, further comprising:
    所述ONU接收所述OLT发送的波长通道切换请求时,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述OLT发送通道切换响应。When the ONU receives the wavelength channel switching request sent by the OLT, the slave state machine in the second state machine module of the ONU responds to the event, and a state operation corresponding to the event occurs. The state operation includes at least : Sending a channel switching response to the OLT.
    在所述ONU波长通道切换完成时,触发用于表征所述ONU切换波长通道结束的事件,所述ONU的所述第二状态机模块中的从状态机响应于该事件,发生相应于该事件的状态操作,该状态操作至少包括:向所述OLT发送波长通道切换完成消息。When the ONU wavelength channel switching is completed, an event for triggering the end of the ONU wavelength channel switching is triggered, and the slave state machine in the second state machine module of the ONU responds to the event and occurs corresponding to the event The state operation includes at least: sending a wavelength channel switching completion message to the OLT.
  25. 一种用于PON网络的装置,其特征在于,所述装置被配置为权利要求1-14任一项所述的PON网络中的OLT。A device for a PON network, wherein the device is configured as an OLT in the PON network according to any one of claims 1-14.
  26. 一种用于PON网络的装置,其特征在于,所述装置被配置为权利要求1-14任一项所述的PON网络中的ONU。A device for a PON network, wherein the device is configured as an ONU in the PON network according to any one of claims 1-14.
  27. 一种机器人系统,其特征在于,所述机器人系统包括权利要求1至14任一项所述的PON网络。A robot system, characterized in that the robot system comprises the PON network according to any one of claims 1 to 14.
PCT/CN2019/109246 2018-09-29 2019-09-29 Pon network, method and apparatus for pon network and robot system WO2020063991A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201862739214P 2018-09-29 2018-09-29
US62/739,214 2018-09-29

Publications (1)

Publication Number Publication Date
WO2020063991A1 true WO2020063991A1 (en) 2020-04-02

Family

ID=69950254

Family Applications (8)

Application Number Title Priority Date Filing Date
PCT/CN2019/096208 WO2020063044A1 (en) 2018-09-29 2019-07-16 Node communication method, server and client
PCT/CN2019/096217 WO2020063048A1 (en) 2018-09-29 2019-07-16 Pon network and communication method therefor, olt, mqtt-sn gateway, onu, and mqtt server
PCT/CN2019/109252 WO2020063993A1 (en) 2018-09-29 2019-09-29 Pon network, method and apparatus used for pon network, and robot system
PCT/CN2019/109247 WO2020063992A1 (en) 2018-09-29 2019-09-29 Pon network, method and apparatus for pon network and robot system
PCT/CN2019/109256 WO2020063995A1 (en) 2018-09-29 2019-09-29 Pon, method and apparatus for pon, and robot system
PCT/CN2019/109257 WO2020063996A1 (en) 2018-09-29 2019-09-29 Pon network, method and device for pon network, and robot system
PCT/CN2019/109246 WO2020063991A1 (en) 2018-09-29 2019-09-29 Pon network, method and apparatus for pon network and robot system
PCT/CN2019/109263 WO2020063997A1 (en) 2018-09-29 2019-09-30 Method for communication between nodes, and communication node and communication system

Family Applications Before (6)

Application Number Title Priority Date Filing Date
PCT/CN2019/096208 WO2020063044A1 (en) 2018-09-29 2019-07-16 Node communication method, server and client
PCT/CN2019/096217 WO2020063048A1 (en) 2018-09-29 2019-07-16 Pon network and communication method therefor, olt, mqtt-sn gateway, onu, and mqtt server
PCT/CN2019/109252 WO2020063993A1 (en) 2018-09-29 2019-09-29 Pon network, method and apparatus used for pon network, and robot system
PCT/CN2019/109247 WO2020063992A1 (en) 2018-09-29 2019-09-29 Pon network, method and apparatus for pon network and robot system
PCT/CN2019/109256 WO2020063995A1 (en) 2018-09-29 2019-09-29 Pon, method and apparatus for pon, and robot system
PCT/CN2019/109257 WO2020063996A1 (en) 2018-09-29 2019-09-29 Pon network, method and device for pon network, and robot system

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/109263 WO2020063997A1 (en) 2018-09-29 2019-09-30 Method for communication between nodes, and communication node and communication system

Country Status (1)

Country Link
WO (8) WO2020063044A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021237229A3 (en) * 2020-12-09 2022-03-03 Futurewei Technologies, Inc. Efficient protection switching in wdm-pon

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383904B (en) * 2020-10-22 2023-03-14 赞同科技股份有限公司 Pair-free quick peripheral calling method and device
CN114979097B (en) * 2021-06-03 2023-07-21 中移互联网有限公司 Message pushing method and device based on MQTT and electronic equipment
CN114338082A (en) * 2021-11-30 2022-04-12 福建超智集团有限公司 Method and system for safely connecting intelligent gateway to cloud platform
CN114363422A (en) * 2021-12-31 2022-04-15 深圳市普渡科技有限公司 Indoor robot and control system and method thereof
CN114938329A (en) * 2022-01-25 2022-08-23 厦门锐谷通信设备有限公司 MQTT-based router gateway device management method and system
CN115086380B (en) * 2022-07-25 2022-11-15 苏州思萃工业互联网技术研究所有限公司 Data transmission system and method based on energy management platform
CN115297144B (en) * 2022-07-29 2024-03-08 中汽创智科技有限公司 Node data interaction method and device
CN116208379B (en) * 2022-12-30 2023-08-22 金茂云科技服务(北京)有限公司 Method and system for checking MQTT theme publishing and subscribing permission of Internet of things equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075247A (en) * 2009-11-25 2011-05-25 中国科学院光电研究院 High-speed optical fiber bus and realization method for redundance topological structure thereof
US20110274428A1 (en) * 2010-05-07 2011-11-10 Rong-Nan Chiou Bus-based optical network system
US20140193151A1 (en) * 2010-05-07 2014-07-10 Rong-Nan Chiou Bus-based optical network system
CN104837077A (en) * 2014-02-12 2015-08-12 中兴通讯股份有限公司 Optical line terminal/optical network unit wavelength adjustment method and device
WO2015199267A1 (en) * 2014-06-27 2015-12-30 주식회사 쏠리드시스템스 Ethernet-based communication system
CN105934903A (en) * 2014-01-23 2016-09-07 华为技术有限公司 Optical line terminal communication method and device with data structure

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123649A (en) * 2006-08-08 2008-02-13 中国移动通信集团公司 Information service system and supply and obtainment method for service information
CN101355387B (en) * 2007-07-26 2012-04-04 华为技术有限公司 Method, equipment and system for optical network unit to access network
CN101841747B (en) * 2010-05-12 2013-04-10 烽火通信科技股份有限公司 Plugboard type FTTB (Fiber To The Building) type ONU (Optical Network Unit) and method for realizing voice service
JP5564393B2 (en) * 2010-10-06 2014-07-30 株式会社日立製作所 Passive optical network system
CN103916442A (en) * 2013-01-07 2014-07-09 阿里巴巴集团控股有限公司 Message pushing achieving method, mobile terminal and message pushing system
CN203300035U (en) * 2013-04-25 2013-11-20 国家电网公司 Acquirer and power utilization information acquiring system
CN103347221B (en) * 2013-07-04 2016-08-10 北京邮电大学 A kind of threshold values discussion power-economizing method for EPON (Ethernet Passive Optical Network)
US10313858B2 (en) * 2014-07-21 2019-06-04 Convida Wireless, Llc Service layer interworking using MQTT protocol
CN107615791B (en) * 2015-04-23 2020-07-28 康维达无线有限责任公司 Apparatus and method for adding M2M service
DE102016122384A1 (en) * 2016-11-21 2018-05-24 Beckhoff Automation Gmbh CONCEPT FOR CONTROLLING MESSAGE TRANSMISSION BETWEEN COMMUNICATION PARTICIPANTS OF AN AUTOMATION SYSTEM
CN106657340A (en) * 2016-12-26 2017-05-10 安徽超清科技股份有限公司 Wireless collection and pushing system and method for alarm information
CN106713124A (en) * 2017-01-24 2017-05-24 深圳市启仑智能科技有限公司 Message push method and system based on MQTT and MYSQL
CN113162996B (en) * 2017-06-02 2023-03-24 华为技术有限公司 Service discovery method, registration center and equipment
CN107708112A (en) * 2017-11-02 2018-02-16 重庆邮电大学 A kind of encryption method suitable for MQTT SN agreements

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075247A (en) * 2009-11-25 2011-05-25 中国科学院光电研究院 High-speed optical fiber bus and realization method for redundance topological structure thereof
US20110274428A1 (en) * 2010-05-07 2011-11-10 Rong-Nan Chiou Bus-based optical network system
US20140193151A1 (en) * 2010-05-07 2014-07-10 Rong-Nan Chiou Bus-based optical network system
CN105934903A (en) * 2014-01-23 2016-09-07 华为技术有限公司 Optical line terminal communication method and device with data structure
CN104837077A (en) * 2014-02-12 2015-08-12 中兴通讯股份有限公司 Optical line terminal/optical network unit wavelength adjustment method and device
WO2015199267A1 (en) * 2014-06-27 2015-12-30 주식회사 쏠리드시스템스 Ethernet-based communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021237229A3 (en) * 2020-12-09 2022-03-03 Futurewei Technologies, Inc. Efficient protection switching in wdm-pon

Also Published As

Publication number Publication date
WO2020063992A1 (en) 2020-04-02
WO2020063996A1 (en) 2020-04-02
WO2020063048A1 (en) 2020-04-02
WO2020063997A1 (en) 2020-04-02
WO2020063044A1 (en) 2020-04-02
WO2020063995A1 (en) 2020-04-02
WO2020063993A1 (en) 2020-04-02

Similar Documents

Publication Publication Date Title
WO2020063991A1 (en) Pon network, method and apparatus for pon network and robot system
TWI455501B (en) Methods and apparatus for extending mac control messages in epon
US10003405B2 (en) Data over cable service interface specification (DOCSIS) over passive optical network (PON)
US11271668B2 (en) Data transmission methods, apparatuses, devices, and system
JP7020608B2 (en) Passive optical network communication methods and devices and systems
WO2013134428A1 (en) Multi-point control protocol proxy architecture in a network with optical and coaxial domains
TWI555348B (en) Energy efficient ethernet power management via siepon protocol
WO2014198017A1 (en) Method and device for virtualization passive optical network and passive optical network virtualization system
WO2015166791A1 (en) Station-side device, communication control method, and communication control program
WO2016188196A1 (en) Method and device for detecting abnormal pon terminal
JP2006115143A (en) Method of establishing dynamic logical link and optical terminating device in pon system
WO2010028578A1 (en) Method for sensing the service provider on an optical network device, device and system thereof
WO2012136102A1 (en) Method and system for controlling coaxial broadband access terminal
WO2016101525A1 (en) Method, apparatus and system for managing optical network unit dpu device
US20200259734A1 (en) Method for obtaining target transmission route, related device, and system
WO2009000194A1 (en) Bandwidth allocation method, system and apparatus in optical network
WO2009062449A1 (en) A control method, device and system for multicast access in passive optical network
JP2009260668A (en) Station side device
JP6829023B2 (en) Communication equipment, information notification method and computer program
JP7277828B2 (en) Setting device and setting method
JP2001036581A (en) Communication band setting system and its method
CN108449204B (en) ROF equipment management system and method
CN113938420B (en) Loop avoidance method and device for RPR (resilient packet ring) intersection loop
WO2015106506A1 (en) Methods for setting control information and establishing communication, management controller and controller
WO2015100534A1 (en) Ethernet passive optical network communication method, device and system

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

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

Country of ref document: EP

Kind code of ref document: A1