WO2017000710A1 - Optical network unit (onu) management method and message processing method and device - Google Patents

Optical network unit (onu) management method and message processing method and device Download PDF

Info

Publication number
WO2017000710A1
WO2017000710A1 PCT/CN2016/083182 CN2016083182W WO2017000710A1 WO 2017000710 A1 WO2017000710 A1 WO 2017000710A1 CN 2016083182 W CN2016083182 W CN 2016083182W WO 2017000710 A1 WO2017000710 A1 WO 2017000710A1
Authority
WO
WIPO (PCT)
Prior art keywords
onu
binding
message
channel
management
Prior art date
Application number
PCT/CN2016/083182
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 WO2017000710A1 publication Critical patent/WO2017000710A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/34Signalling channels for network management communication
    • H04L41/344Out-of-band transfers

Definitions

  • This document relates to, but is not limited to, the field of communications, and in particular, to an optical network unit (ONU) management method, a message processing method and apparatus.
  • ONU optical network unit
  • the operator has defined the optical network unit (Optical Network Unit, ONU) for the remote application (Application, abbreviated as APP).
  • ONU optical Network Unit
  • APP Application, abbreviated as APP.
  • the interface connection channel interacts with the remote platform. Under normal circumstances, this method is really convenient and easy to maintain. However, in most cases, the Interface connection channel will not work in the event of a fault; or the heartbeat of the mobile app communication link cannot be maintained, causing a malfunction, which may cause it to work normally; if it is necessary to troubleshoot the fault, it will be troublesome. Of course, it is also possible to use the mobile phone to access the ONU's IEEE 802.11b-based wireless local area network (WiFi) to operate the ONU.
  • WiFi wireless local area network
  • the ONU needs to have the wifi access function, or the maintenance personnel bring their own access point (Access Point, referred to as AP) access, and this processing method must be entered into the user's home to operate, and it is cumbersome to enter the user's home when the fault occurs, and the processing efficiency is very low. It can be seen that when the Interface connection channel fails, the operation management ONU is limited by the environment, and the processing efficiency is low.
  • AP Access Point
  • Embodiments of the present invention provide an optical network unit (ONU) management method, a message processing method, and an apparatus, which can implement an operation management ONU.
  • ONU optical network unit
  • An embodiment of the present invention provides a method for managing an optical network unit, where the method includes: establishing, by using a remote service platform, an alternate channel for managing the ONU, where the remote service platform is provided by an optical line terminal OLT. Data transmission between the external interface and the ONU, the OLT A management channel for transmitting data is established between the ONU and the ONU; after determining that the interface of the interface for managing the ONU is faulty, the ONU is managed by using the established backup channel.
  • managing the ONU by using the established standby channel includes: binding with the ONU by using the remote service platform; and controlling the established standby channel after successfully binding to the ONU through the remote service platform. Enter the normal configuration mode; manage the ONU with an alternate channel entering the normal configuration mode.
  • the binding to the ONU by the remote service platform includes: acquiring an Internet Protocol IP address of the remote service platform; and delivering the IP address to the remote service platform according to the obtained IP address of the remote service platform.
  • a binding command for binding the ONU where the binding command carries the serial number SN information of the ONU, where the binding command is used by the remote service platform to transmit to the ONU through the OLT.
  • managing the ONU by using an alternate channel entering the normal configuration mode includes: transmitting, by using an alternate channel entering a normal configuration mode, a management message for configuring and/or querying the ONU, where the management The message carries a unique identification code; and receives a processing result returned by the ONU through the backup channel after processing according to the management message.
  • the method further includes:
  • the ONU is managed by the interface connection channel that is restored to normal.
  • releasing the binding relationship with the ONU includes: sending an unbinding message to the ONU; receiving an operation success result returned by the ONU according to the unbinding message; and exiting according to the successful operation result The management mode of the alternate channel.
  • the embodiment of the present invention further provides a message processing method, including: receiving a management message sent by a terminal through an alternate channel, where the standby channel is established by the terminal through a remote service platform, the remote service The platform passes through the external interface provided on the optical line terminal OLT and The optical network unit ONU performs data transmission, and a management channel for transmitting data is established between the OLT and the ONU; corresponding processing is performed according to the received management message; and the processing result is returned to the terminal.
  • the management message sent by the receiving terminal by using the standby channel includes: receiving a binding message sent by the remote service platform, where the binding message is a binding sent by the remote service platform according to the terminal a message transmitted by the command, the binding command carrying the serial number SN information of the ONU; processing the binding message; returning the binding success result to the terminal, wherein the binding success result is used for
  • the terminal controls the standby channel to enter a normal configuration mode; and receives a management message sent by the terminal by using the standby channel that enters the normal configuration mode.
  • the management message carries a unique identification code.
  • the method further includes: receiving an unbinding message sent by the terminal; and debinding according to the The message performs an unbinding operation; returns an unbinding operation success message to the terminal and closes the alternate channel.
  • the embodiment of the present invention further provides an apparatus for managing an ONU of an optical network unit, including: an establishing module configured to establish, by using a remote service platform, an alternate channel for managing the ONU, where the remote service platform Data transmission is performed between the external interface provided by the optical line terminal OLT and the ONU, and a management channel for transmitting data is established between the OLT and the ONU; the management module is configured to determine the management of the ONU. After the interface Interface is faulty, the ONU is managed by the established alternate channel.
  • the management module includes: a binding unit configured to bind to the ONU by using the remote service platform;
  • the control unit is configured to control the established standby channel to enter a normal configuration mode after being successfully bound to the ONU through the remote service platform;
  • the first management unit is configured to manage the ONU with the alternate channel entering a normal configuration mode.
  • the binding unit includes: the obtaining subunit is configured to obtain an internet protocol IP address of the remote service platform;
  • the sending sub-unit is configured to send a binding command for binding the ONU to the remote service platform according to the acquired IP address of the remote service platform, where the binding command carries the The serial number SN information of the ONU, where the binding command is used by the remote service platform to transmit a binding message to the ONU through the OLT;
  • the first receiving subunit is configured to receive a binding result returned by the ONU after processing the binding message carried in the binding command.
  • the first management unit includes: the first sending subunit is configured to send, by using the standby channel entering the normal configuration mode, a management message for configuring and/or querying the ONU to the ONU, where The management message carries a unique identification code;
  • the second receiving subunit is configured to receive a processing result returned by the ONU through the standby channel after being processed according to the management message.
  • the device further includes:
  • the determining unit is configured to determine whether the Interface connection channel returns to normal
  • the releasing unit is configured to release the binding relationship with the ONU when the Interface connection channel returns to normal;
  • the second management unit is configured to manage the ONU by using the interface connection channel that is restored to normal.
  • the releasing unit includes:
  • the second sending subunit is configured to send an unbinding message to the ONU;
  • the third receiving subunit is configured to receive an operation success result returned by the ONU according to the unbinding message
  • an embodiment of the present invention further provides a terminal, including the device described above.
  • an embodiment of the present invention further provides an apparatus for message processing, including: a first receiving module is configured to receive a management message sent by a terminal through an alternate channel, where the standby channel is a remote service for the terminal.
  • the remote service platform performs data transmission by using an external interface provided by the optical line terminal OLT and the optical network unit ONU, the OLT and the A management channel for transmitting data is established between the ONUs;
  • the processing module is configured to perform corresponding processing according to the management message
  • the first return module is configured to return a processing result to the terminal.
  • the first receiving module includes: the first receiving unit is configured to receive a binding message transmitted by the remote service platform, where the binding message is sent by the remote service platform according to the terminal The message transmitted by the binding command, where the binding command carries the serial number SN information of the ONU;
  • the processing unit is configured to process the binding message
  • the returning unit is configured to return a successful binding result to the terminal, where the binding success result is used by the terminal to control the standby channel to enter a normal configuration mode;
  • the second receiving unit is configured to receive a management message sent by the terminal by using the standby channel that enters the normal configuration mode.
  • the management message carries a unique identification code.
  • the device further includes: the second receiving module is configured to receive an unbinding message sent by the terminal;
  • the operation module is configured to perform an unbinding operation according to the unbinding message
  • the second return module is configured to return an unbinding operation success message to the terminal and close the standby channel.
  • an embodiment of the present invention further provides an optical network unit ONU, including the apparatus described above.
  • an alternate channel for managing an ONU is established through a remote service platform, wherein the remote service platform performs data transmission through an external interface provided by an optical line terminal (OLT) and an ONU, and a useful relationship between the OLT and the ONU is established.
  • the management channel for transmitting data after determining the interface connection channel for managing the ONU, the backup channel is used to manage the ONU. Efficient management of the ONU after the interface connection channel fails.
  • FIG. 1 is a flowchart of a method for managing an ONU of an optical network unit according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for message processing according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of an apparatus for managing an ONU of an optical network unit according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram of a management module 34 in an apparatus managed by an optical network unit ONU according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of a binding unit 42 in an apparatus managed by an optical network unit ONU according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram of a first management unit 46 in an apparatus managed by an optical network unit ONU according to an embodiment of the present invention
  • FIG. 7 is a block diagram showing an optional structure of a management module 34 in an apparatus managed by an optical network unit ONU according to an embodiment of the present invention
  • FIG. 8 is a structural block diagram of the releasing unit 74 in the device managed by the optical network unit ONU according to the embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • FIG. 10 is a structural block diagram of an apparatus for message processing according to an embodiment of the present invention.
  • FIG. 11 is a structural block diagram of a receiving module 102 in an apparatus for message processing according to an embodiment of the present invention.
  • FIG. 12 is a block diagram showing an optional structure of an apparatus for message processing according to an embodiment of the present invention.
  • FIG. 13 is a structural block diagram of an optical network unit ONU according to an embodiment of the present invention.
  • FIG. 14 is a topological diagram of an EPON system according to an embodiment of the present invention.
  • 15 is a flowchart of an overall management of an ONU according to an embodiment of the present invention.
  • 16 is a flow chart of switching to an alternate channel according to an embodiment of the present invention.
  • 17 is a flowchart of managing an ONU through an alternate channel according to an embodiment of the present invention.
  • FIG. 19 is a schematic diagram of an extended OAM frame format used to establish an extended OAM channel according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for managing an ONU of an optical network unit according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step 102 Establish an alternate channel for managing the ONU through the remote service platform, where the remote service platform performs data transmission through the external interface provided by the optical line terminal (OLT) and the ONU, and the data is transmitted between the OLT and the ONU.
  • Management channel ;
  • Step 104 After determining that the interface (Interface) connection channel for managing the ONU is faulty, the ONU is managed by using the established alternate channel.
  • the ONU can be managed by using a pre-established backup channel for managing the ONU, compared with the wifi that needs to be connected to the ONU in the related art, or needs to enter the user's home to manage the ONU, and the present invention
  • the method in the embodiment can be applied to various ONUs (including ONUs with wifi access function and wifi access function), and also does not need to enter the user's home, saving administrator time. Therefore, the problem that the ONU cannot be effectively operated after the interface connection channel is faulty exists in the related art.
  • the managing the ONU by using the foregoing standby channel includes: binding the ONU through the remote service platform; after the binding is successful, controlling the standby channel to enter the normal configuration mode; and utilizing the standby channel management that enters the normal configuration mode. ONU.
  • the binding to the ONU by the remote service platform includes: obtaining an Internet Protocol (IP) address of the remote service platform, and delivering the binding for binding the ONU to the remote service platform according to the IP address.
  • IP Internet Protocol
  • the binding command carries the serial number (Series Number, SN for short) information of the ONU, and the binding command is used by the remote service platform to transmit the binding message to the ONU through the OLT; receiving the binding of the ONU The binding result returned after the binding message carried in the command is processed.
  • managing the ONU with the alternate channel entering the normal configuration mode includes: transmitting, by using an alternate channel entering the normal configuration mode, a management message for configuring and/or querying the ONU, wherein the management message is Carrying a unique identification code; receiving the processing result returned by the ONU through the backup channel after processing according to the above management message.
  • the purpose of the above-mentioned management message carrying the unique identification code is to avoid conflicts between the process of interacting with the ONU and the interaction process of the Operation Administration and Maintenance (OAM) itself; the unique identification code, The identifier of the alternate channel can be used. After the ONU resolves to the unique identifier, the message that the management message is the alternate channel can be determined by the unique identifier.
  • the method further includes: determining whether the interface connection channel returns to normal; and when the interface connection channel returns to normal, releasing the binding relationship with the ONU; The above ONUs are managed by using a normal interface connection channel.
  • releasing the binding relationship with the ONU includes: sending an unbinding message to the ONU; receiving an operation success result returned by the ONU according to the unbinding message; and exiting the standby channel according to the successful result of the operation Management mode. That is, when the Interface connection channel returns to normal, the channel that manages the ONU is switched to the normal Interface connection channel.
  • the method for managing an optical network unit provided in this embodiment may be implemented by a network side terminal.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method for managing the optical network unit.
  • FIG. 2 is a flowchart of a method for message processing according to an embodiment of the present invention. As shown in FIG. 2, the process includes:
  • Step 202 The management message sent by the terminal through the standby channel, where the standby channel is established by the terminal through the remote service platform, and the remote service platform performs data transmission through the external interface provided by the optical line terminal OLT and the optical network unit ONU.
  • a management channel for transmitting data is established between the OLT and the ONU;
  • Step 204 Perform corresponding processing according to the received management message.
  • performing the corresponding processing according to the received management message may include: checking the current state of the optical network terminal, the cause of the fault, the crawling log, and the like;
  • Step 206 Return the processing result of the management message to the terminal.
  • the main body that performs the above process may be an ONU.
  • the management message sent by the terminal through the standby channel may be received, so that when the interface connection channel fails, the management message sent by the receiving terminal is not affected.
  • the method in the above embodiment can effectively solve the problem in the related art, as compared with the related art, when the interface connection channel is faulty, the terminal needs to access the wifi of the ONU, or the administrator needs to enter the user's home to manage the ONU.
  • the interface connection channel fails, the problem of managing the ONU cannot be effectively operated, and the effect of managing the ONU by using the alternate channel after the interface connection channel is faulted is achieved.
  • the receiving, by the receiving terminal, the management message sent by the standby channel comprises: receiving a binding message transmitted by the remote service platform, where the binding message is a message transmitted by the remote service platform according to the binding command sent by the terminal.
  • the binding command carries the serial number (SN) information of the ONU; the binding message is processed; the binding success result is returned to the terminal, wherein the binding success result is used by the terminal to control the standby channel to enter the normal state.
  • the configuration mode receives the management message sent by the terminal through the standby channel that enters the normal configuration mode.
  • the management message carries a unique identification code.
  • the purpose of carrying the unique identification code in the management message is to avoid conflicts between the process of the terminal interacting with the ONU and the interaction process of the Operation Operation and Maintenance (OAM) itself.
  • OAM Operation Operation and Maintenance
  • the method further includes: receiving an unbinding message sent by the terminal; performing an unbinding operation according to the unbinding message ; Return the unbinding operation success message to the terminal and close the above alternate channel.
  • the method for message processing in the embodiment of the present invention may be implemented by using a mobile phone or a tablet computer or the like to connect to a terminal device such as wifi.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the message processing method.
  • an apparatus for managing an ONU of an optical network unit is provided, and the apparatus is used to implement the foregoing embodiments and optional implementations, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram of an ONU management apparatus for an optical network unit according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes an establishing module 32 and a management module 34, which will be described below.
  • the establishing module 32 is configured to establish an alternate channel for managing the ONU through the remote service platform, wherein the remote service platform performs data transmission through the external interface provided by the optical line terminal (OLT) and the ONU, and the utility between the OLT and the ONU is established.
  • the management module 34 is configured to be connected to the above-mentioned establishing module 32. After determining that the interface of the interface for managing the ONU is faulty, the ONU is managed by using the established standby channel.
  • FIG. 4 is a structural block diagram of a management module 34 in an apparatus for managing an optical network unit according to an embodiment of the present invention. As shown in FIG. 4, the management module 34 includes a binding unit 42, a control unit 44, and a first management unit 46. The management module 34 will be described.
  • the binding unit 42 is configured to be bound to the ONU through the remote service platform; the control unit 44 is configured to be connected to the binding unit 42, and after the binding to the ONU through the remote service platform is successful, the control established standby channel enters the normal state.
  • FIG. 5 is a structural block diagram of a binding unit 42 in an ONU management apparatus of an optical network unit according to an embodiment of the present invention.
  • the binding unit 42 includes an obtaining subunit 52, a sending subunit 54, and a first receiving sub Unit 56, the binding unit 42 will be described below.
  • the obtaining sub-unit 52 is configured to obtain an Internet Protocol (IP) address of the remote service platform
  • the sending sub-unit 54 is connected to the obtaining sub-unit 52, and is configured to deliver the data to the remote service platform according to the obtained IP address of the remote service platform.
  • IP Internet Protocol
  • a binding command for binding an ONU where the binding command carries the serial number SN information of the ONU, where the binding command is used by the remote service platform to transmit a binding message to the ONU through the OLT; the first receiving subunit 56 And the connection to the sending sub-unit 54 is configured to receive the binding result returned by the ONU after processing the binding message carried in the binding command.
  • FIG. 6 is a structural block diagram of a first management unit 46 in an apparatus for managing an optical network unit according to an embodiment of the present invention. As shown in FIG. 6, the first management unit 46 includes a first transmitting subunit 62 and a second receiving subunit 64. The first management unit 46 will be described below.
  • the first sending sub-unit 62 is configured to send a management message for configuring and/or querying the ONU to the ONU by using an alternate channel entering the normal configuration mode, wherein the management message carries a unique identification code; the second receiving sub-unit 64 And connected to the first sending sub-unit 62, configured to receive a processing result that the ONU returns according to the management message and returns through the standby channel.
  • FIG. 7 is a block diagram showing an optional structure of the management module 34 in the apparatus for managing the optical network unit according to the embodiment of the present invention.
  • the management module 34 includes a determining unit 72 in addition to all the units shown in FIG.
  • the release unit 74 and the second management unit 76 are described below.
  • the determining unit 72 is connected to the first management unit 46, and is configured to determine whether the interface connection channel is restored to normal.
  • the releasing unit 74 is connected to the determining unit 72, and is configured to release the binding between the ONU and the ONU when the interface is restored.
  • the second management unit 76 is connected to the above-mentioned release unit 74 and is configured to manage the ONU by using a restored interface connection channel.
  • FIG. 8 is a block diagram showing the structure of the releasing unit 74 in the apparatus managed by the optical network unit ONU according to the embodiment of the present invention.
  • the releasing unit 74 includes a second transmitting subunit 82, a third receiving subunit 84, and a quitper. Unit 86, the release unit 74 will be described below.
  • the second sending subunit 82 is configured to send an unbinding message to the ONU; the third receiving subunit 84, connected to the second sending sub-unit 82, configured to receive an operation success result returned by the ONU according to the unbinding message; the exit sub-unit 86 is connected to the third receiving sub-unit 84, and is set to be successful according to the foregoing operation. Exit the management mode of the alternate channel.
  • FIG. 9 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 9, the terminal 92 includes the device 94 managed by the ONU.
  • FIG. 10 is a structural block diagram of an apparatus for message processing according to an embodiment of the present invention. As shown in FIG. 10, the message processing apparatus includes a first receiving module 102, a processing module 104, and a first returning module 106. Description.
  • the first receiving module 102 is configured to receive a management message sent by the terminal through the standby channel, where the standby channel is established by the terminal through the remote service platform, and the remote service platform is performed by the external interface and the optical network unit ONU provided by the optical line terminal OLT. Data transmission, a management channel for transmitting data is established between the OLT and the ONU; the processing module 104 is connected to the first receiving module 102, and is configured to perform corresponding processing according to the management message; the first returning module 106 is connected to the foregoing The processing module 104 is configured to return a processing result to the terminal.
  • FIG. 11 is a structural block diagram of a receiving module 102 in an apparatus for message processing according to an embodiment of the present invention.
  • the receiving module 102 includes a first receiving unit 112, a processing unit 114, a returning unit 116, and a second receiving unit 118.
  • the receiving module 102 will be described below.
  • the first receiving unit 112 is configured to receive a binding message transmitted by the remote service platform, where the binding message is a message that is sent by the remote service platform according to the binding command sent by the terminal, and the binding command carries the series of ONUs.
  • No. (SN) information the processing unit 114 is connected to the first receiving unit 112, and is configured to process the binding message; the returning unit 116 is connected to the processing unit 114, and is configured to return the binding success result to the terminal.
  • the binding success result is used by the terminal to control the standby channel to enter the normal configuration mode; the second receiving unit 118 is connected to the first returning unit 116, and is configured to receive the management message sent by the terminal by entering the standby channel of the normal configuration mode. .
  • the foregoing management message carries a unique identification code.
  • FIG. 12 is a block diagram showing an optional structure of a message processing apparatus according to an embodiment of the present invention.
  • the receiving module 102 includes a second receiving module 122, in addition to all the modules shown in FIG.
  • the operation module 124 and the second return module 126 are described below.
  • the second receiving module 122 is connected to the first receiving module 102, and is configured to receive an unbinding message sent by the terminal.
  • the operating module 124 is connected to the second receiving module 122, and is configured to be unbound according to the unbinding message.
  • the second return module 126 is connected to the operation module 124, and is configured to return a debinding operation success message to the terminal and close the standby channel.
  • FIG. 13 is a structural block diagram of an optical network unit (ONU) according to an embodiment of the present invention. As shown in FIG. 13, the ONU 132 includes the above-described message processing device 134.
  • the present invention will be described below by taking the above terminal as a smart phone device as an example. It can be seen from the foregoing embodiment that, in order to facilitate state detection and troubleshooting of the remote ONU, an alternate channel is provided, and the ONU is managed by the management channel in the PON network through the smart phone device. With this method, as long as the optical network terminal ONU establishes a management channel with the OLT, the ONU can be managed remotely through the smart terminal. When the remote communication link of the mobile APP is faulty, you can quickly switch to the alternate channel, query the current running status and main parameters of the ONU, analyze the cause of the fault, and quickly locate the problem. After troubleshooting, it is also convenient to switch to the normal communication link.
  • the following describes how to manage the ONU by using a smart phone.
  • the management process includes the following steps:
  • Step A Add support for the universal exchange format on the optical network unit (ONU); such as JSON (java Script Object notation, is a lightweight data exchange format), protocol cache protocol buffer, thrift (a software framework) For development of scalable and cross-language services, etc.
  • JSON java Script Object notation
  • protocol cache protocol buffer a software framework
  • Step A also includes defining a common data exchange format common to the ONU and the APP side.
  • the content contained in the universal format is determined according to actual needs, but needs to have a basic format, such as a message type, a message sequence number, a command type, and a message status. Configuration content, etc.
  • the ONU needs to support the data of the universal switching format to be transmitted through the management channel of the ONU.
  • the Ethernet Passive Optical Network (EPON) product the extended OAM mode is adopted.
  • Step B Establish a management channel of the OLT and the optical network unit (ONU) for carrying the general data exchange format generated in step A.
  • step B the definition of the frame format common to the ONU and the OLT is also included, and the management channel is implemented by using the frame format.
  • the frame format is used to carry a common data exchange format to implement data interaction between the remote intelligent terminal and the ONU.
  • the OLT also needs to provide an external interface for other platforms to receive content generated by the ONU side in a common data exchange format.
  • the OLT itself does not perform any processing on the general interaction data and directly transmits it to the remote service management platform.
  • Step C Providing a remote service management platform, the remote intelligent terminal manages and operates the ONU through the platform.
  • the link switches to the remote service platform, and the intelligent terminal operation mode of the management channel is adopted.
  • the intelligent terminal can implement the operation and maintenance of the ONU by performing the following steps, that is, managing the OUN.
  • Step 1 Configure the IP address of the remote service platform on the smart terminal.
  • the intelligent terminal detects the remote ONU failure, the intelligent terminal switches to the remote service platform according to the configured IP address.
  • Step 2 The smart terminal sends a command to bind to the ONU of the terminal.
  • the command is transmitted in the general data exchange format in step A, and the content carried is the SN information of the ONU.
  • Step 3 The remote service management platform connects to the OLT through a protocol such as Simple Network Management Protocol (SNMP), and invokes the interface of the common data interaction format provided by the OLT in step B.
  • SNMP Simple Network Management Protocol
  • Step 4 After the binding message is transparently transmitted to the ONU through the OLT, the ONU decodes the general data interaction content, and after verifying the password, sends the result to the intelligent terminal.
  • Step 5 After the binding is successful, the standby channel enters the normal configuration mode, and the intelligent terminal can configure and query the ONU.
  • the interaction process between the intelligent terminal and the ONU should not conflict with the interaction process of the extended OAM itself. That is to say, each message of the intelligent terminal and the ONU should carry a unique identification code, and each packet of data is processed by using a unique identification code.
  • the common universal data format of the intelligent terminal and the ONU may adopt a format defined in the telecommunication specification, or may negotiate a new format as needed.
  • Step D After the normal Interface connection channel is restored, the connection channel between the intelligent terminal and the ONU Switch to the Interface connection channel.
  • Steps for the intelligent terminal to switch back to the normal operation channel :
  • Step 1 The unbinding command is sent to the ONU through the smart terminal, and the command is encapsulated in a common data format.
  • Step 2 After receiving the unbinding message sent by the intelligent terminal, the ONU returns an operation success message to the intelligent terminal, and closes the connection channel of the intelligent terminal.
  • Step 3 The intelligent terminal exits the standby channel management mode and switches to the normal Interface connection channel to operate the intelligent terminal.
  • FIG. 14 is a topological diagram of an EPON system according to an embodiment of the present invention
  • FIG. 14 is a diagram showing an EPON network topology diagram related to an embodiment of the present invention and a basic implementation diagram in the embodiment of the present invention.
  • an OLT can connect multiple ONUs through a splitter.
  • the downlink data transmission mode from the OLT to the ONU is time division multiplexing and physical layer broadcast mode, that is, each downlink frame is sent to all ONUs.
  • Source Optical Network (PON) port Source Optical Network (PON) port.
  • the uplink data transmission mode from the ONU to the OLT is Time Division Multiple Access (TDMA).
  • TDMA Time Division Multiple Access
  • the smart terminal mobile phone, tablet, etc.
  • the remote service platform and the OLT directly adopt a simple network management protocol (snmp).
  • FIG. 15 is an overall flowchart of ONU management according to an embodiment of the present invention. As shown in FIG. 15, the process includes the following steps:
  • Step 1502 Add a general format parsing module to the ONU.
  • a universal data exchange interface is provided on the ONU, and the ONU can be operated through the data exchange interface, so that the ONU can receive an operation command sent from the smart terminal side through the interface.
  • Step 1504 Establish a management channel for carrying a universal exchange format.
  • the extended OAM protocol in the related art is extended to define a frame format and related parameters common to the ONU and the OLT side for transmitting a general data interface.
  • Step 1506 Provide an alternate channel remote service platform, where the original link fails and switches to the standby channel.
  • Step 1508 The intelligent terminal operates the ONU through the standby channel to perform information query and fault location.
  • Step 1510 When the Interface connection returns to normal, the connection channel of the intelligent terminal and the ONU is switched to the normal Interface connection channel.
  • FIG. 16 is a flowchart of switching to an alternate channel according to an embodiment of the present invention.
  • FIG. 16 is a description of an optional implementation manner of step S1506. As shown in FIG. 16, the process includes the following steps:
  • Step 1602 Configure an IP address of the remote service platform on the smart terminal, and switch to the alternate channel remote service platform according to the configured IP address.
  • Step 1604 The remote standby management platform connects to the OLT through a protocol such as SNMP.
  • Step 1606 The smart terminal sends the command bound to the ONU of the terminal through the Hypertext Transfer Protocol (http), and the content carried by the smart terminal is the SN information of the ONU.
  • https Hypertext Transfer Protocol
  • Step 1608 The ONU decodes the general data interaction content, and sends the result to the smart terminal after the password is successfully verified.
  • Step 1610 After the binding is successful, the standby channel enters the normal configuration mode, and the intelligent terminal can configure and query the ONU.
  • the standby channel is successfully established, and the ONU can be managed and operated by the intelligent terminal.
  • FIG. 17 is a flowchart of managing an ONU through an alternate channel according to an embodiment of the present invention.
  • FIG. 17 is a description of an optional implementation manner of step 1508. As shown in FIG. 17, the process includes the following steps:
  • Step 1702 The intelligent terminal sends a query or configured operation to the ONU through the standby channel.
  • Step 1704 After receiving the command, the ONU decodes the common data format, processes the corresponding command, and encapsulates the result of the command into a common data format, and then sends the result to the smart terminal through the backup channel.
  • Step 1706 After receiving the data returned by the ONU, the smart terminal performs decoding and display on the operation interface.
  • FIG. 18 is a flowchart of switching to a normal interface connection channel according to an embodiment of the present invention.
  • FIG. 18 is a description of an optional implementation manner of step 1510. As shown in FIG. 18, the process includes the following steps:
  • step 1802 the unbinding command is sent to the ONU through the smart terminal, and the command is encapsulated in a common data format.
  • Step 1804 After receiving the unbinding message sent by the intelligent terminal, the ONU returns an operation success message to the intelligent terminal, and closes the connection channel of the intelligent terminal.
  • Step 1806 The intelligent terminal exits the standby channel management mode, and switches to a normal Interface connection channel to operate the smart terminal.
  • FIG. 19 is a schematic diagram of an extended OAM frame format used to establish an extended OAM channel according to an embodiment of the present invention.
  • FIG. 19-1 is a request frame format
  • FIG. 19-2 is a response format.
  • Common fields for request format and response format destination address, source address, frame length, frame type, tag, padding field, and frame check sequence.
  • the other fields of the request frame are as follows: spreading code (Code, 1 byte, fixed padding 0xFE), using the extension code defined by IEEE802.3; organization identifier (value 0xD0D09D), extended opcode (Opcode value 0x01), branch Field (Branch, value 0x0F), leaf field (Leaf value 0x0106).
  • the other fields of the response frame are as follows: spreading code (Code, 1 byte, fixed padding 0xFE), using the IEEE802.3 defined spreading code; organization identifier (value 0xD0D09D), extended opcode (Opcode value 0x02), branch Field (Branch, value 0x0F), leaf field (Leaf value 0x0106), JSON character length (Variable Width 1 byte, 0x400), JSON string (1024 bytes). Among them, the JSON string fills the unreasonable content according to different commands.
  • each of the foregoing modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the standby channel for managing the ONU is established through the remote service platform, wherein the remote service platform performs data transmission through the external interface and the ONU provided by the optical line terminal OLT, and a management channel for transmitting data is established between the OLT and the ONU. ;
  • the backup channel is used to manage the ONU.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the management terminal sends a management message sent by the standby channel, where the standby channel is a terminal.
  • the remote service platform performs data transmission through the external interface provided by the optical line terminal OLT and the optical network unit ONU, and a management channel for transmitting data is established between the OLT and the ONU;
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a medium that can store program code such as a hard disk, a disk, or a disc.
  • the processor performs the above steps 11-12 according to the stored program code in the storage medium.
  • the processor performs the above steps 21-23 according to the stored program code in the storage medium.
  • the solution in the embodiment of the present invention can be independent of the inband IP. Even when the ONU is not connected to the public network, the terminal can query the information and status of the ONU through the management channel, so that when the original link is faulty, As long as the management channel of the optical network terminal exists, the method can be used for fault location and status inquiry, which can be a good complement to the original mobile phone APP system.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions.
  • the invention is not limited to any particular form of hardware and software Combination of. ”
  • the above technical solution improves the efficiency of operating the ONU after the interface connection channel fails.

Abstract

An optical network unit (ONU) management method and a message processing method and device, comprising: establishing a standby channel for managing ONUs by means of a remote service platform, wherein the remote service platform performs data transmission with the ONUs via an outbound interface provided by an optical line terminal (OLT), and a management channel for transmitting data is established between the OLT and the ONU; and after a fault of an Interface connection channel for managing the ONUs is determined, utilizing the standby channel to manage the ONUs. The embodiments of the present invention increase the efficiency of operating and managing ONUs after an Interface connection channel has failed.

Description

一种光网络单元ONU管理的方法、消息处理的方法及装置Optical network unit ONU management method, message processing method and device 技术领域Technical field
本文涉及但不限于通信领域,尤其涉及一种光网络单元(ONU)管理的方法、消息处理的方法及装置。This document relates to, but is not limited to, the field of communications, and in particular, to an optical network unit (ONU) management method, a message processing method and apparatus.
背景技术Background technique
运营商已经就终端应用(Application,简称为APP)远程操作光网络单元(Optical Network Unit,简称为ONU)进行了规范定义,下面以该终端为手机为例进行说明:规定中ONU和手机APP通过接口(Interface)连接通道和远程平台进行交互。在正常情况下,该方法确实方便快捷,便于维护。但发生故障时大多情况下Interface连接通道会不通;或者,手机App通信链路心跳无法保持从而引起故障,导致无法正常工作;此时如果需要排查故障就会比较麻烦。当然也可以采用手机通过接入ONU的基于IEEE 802.11b标准的无线局域网(wifi)对ONU进行操作,此时需要ONU具备wifi接入功能,或者维护人员自带接入点(Access Point,简称为AP)接入,并且这种处理方法必须要进入用户家中才能操作,而发生故障时进入用户家中比较麻烦,处理效率十分低。由此可知,当Interface连接通道故障后,操作管理ONU受环境限制,处理效率低下。The operator has defined the optical network unit (Optical Network Unit, ONU) for the remote application (Application, abbreviated as APP). The following uses the terminal as a mobile phone as an example: the specified ONU and mobile APP pass The interface connection channel interacts with the remote platform. Under normal circumstances, this method is really convenient and easy to maintain. However, in most cases, the Interface connection channel will not work in the event of a fault; or the heartbeat of the mobile app communication link cannot be maintained, causing a malfunction, which may cause it to work normally; if it is necessary to troubleshoot the fault, it will be troublesome. Of course, it is also possible to use the mobile phone to access the ONU's IEEE 802.11b-based wireless local area network (WiFi) to operate the ONU. In this case, the ONU needs to have the wifi access function, or the maintenance personnel bring their own access point (Access Point, referred to as AP) access, and this processing method must be entered into the user's home to operate, and it is cumbersome to enter the user's home when the fault occurs, and the processing efficiency is very low. It can be seen that when the Interface connection channel fails, the operation management ONU is limited by the environment, and the processing efficiency is low.
针对相关技术中存在的当Interface连接通道故障后,操作管理ONU受环境限制,处理效率低的问题,目前尚未提出有效的解决方案。For the problem that the operation management ONU is limited by the environment and the processing efficiency is low after the interface connection channel is faulty in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种光网络单元(ONU)管理的方法、消息处理的方法及装置,能够实现操作管理ONU。Embodiments of the present invention provide an optical network unit (ONU) management method, a message processing method, and an apparatus, which can implement an operation management ONU.
本发明实施例提供了一种光网络单元管理的方法,所述方法包括:通过远程服务平台建立用于管理所述ONU的备用通道,其中,所述远程服务平台通过光线路终端OLT上提供的对外接口和所述ONU进行数据传输,所述OLT 和所述ONU之间建立有用于传输数据的管理通道;在确定用于管理所述ONU的接口Interface连接通道故障后,利用建立的所述备用通道管理所述ONU。An embodiment of the present invention provides a method for managing an optical network unit, where the method includes: establishing, by using a remote service platform, an alternate channel for managing the ONU, where the remote service platform is provided by an optical line terminal OLT. Data transmission between the external interface and the ONU, the OLT A management channel for transmitting data is established between the ONU and the ONU; after determining that the interface of the interface for managing the ONU is faulty, the ONU is managed by using the established backup channel.
可选地,利用建立的所述备用通道管理所述ONU包括:通过所述远程服务平台与所述ONU进行绑定;在通过远程服务平台与ONU绑定成功后,控制建立的所述备用通道进入正常配置模式;利用进入正常配置模式的备用通道管理所述ONU。Optionally, managing the ONU by using the established standby channel includes: binding with the ONU by using the remote service platform; and controlling the established standby channel after successfully binding to the ONU through the remote service platform. Enter the normal configuration mode; manage the ONU with an alternate channel entering the normal configuration mode.
可选地,通过所述远程服务平台与所述ONU进行绑定包括:获取所述远程服务平台的互联网协议IP地址;根据获取的所述远程服务平台的IP地址向所述远程服务平台下发用于绑定所述ONU的绑定命令,其中,所述绑定命令中携带有所述ONU的系列号SN信息,所述绑定命令用于所述远程服务平台通过OLT向所述ONU传送绑定消息;接收所述ONU对所述绑定命令中携带的所述绑定消息进行处理后返回的绑定结果。Optionally, the binding to the ONU by the remote service platform includes: acquiring an Internet Protocol IP address of the remote service platform; and delivering the IP address to the remote service platform according to the obtained IP address of the remote service platform. a binding command for binding the ONU, where the binding command carries the serial number SN information of the ONU, where the binding command is used by the remote service platform to transmit to the ONU through the OLT. Binding a message; receiving a binding result returned by the ONU after processing the binding message carried in the binding command.
可选地,利用进入正常配置模式的备用通道管理所述ONU包括:利用进入正常配置模式的备用通道向所述ONU发送用于配置和/或查询所述ONU的管理消息,其中,所述管理消息中携带有唯一标识码;接收所述ONU根据所述管理消息进行处理后通过所述备用通道返回的处理结果。Optionally, managing the ONU by using an alternate channel entering the normal configuration mode includes: transmitting, by using an alternate channel entering a normal configuration mode, a management message for configuring and/or querying the ONU, where the management The message carries a unique identification code; and receives a processing result returned by the ONU through the backup channel after processing according to the management message.
可选地,所述利用进入正常配置模式的备用通道管理所述ONU之后,所述方法还包括:Optionally, after the managing the ONU by using the standby channel that enters the normal configuration mode, the method further includes:
确定所述Interface连接通道是否恢复正常;Determining whether the interface connection channel is restored to normal;
所述Interface连接通道恢复正常时,解除与所述ONU间的绑定;When the interface connection channel returns to normal, the binding with the ONU is released;
利用恢复正常的所述Interface连接通道管理所述ONU。The ONU is managed by the interface connection channel that is restored to normal.
可选地,解除与所述ONU间的绑定关系包括:向所述ONU发送解绑定消息;接收所述ONU根据所述解绑定消息返回的操作成功结果;根据所述操作成功结果退出所述备用通道的管理模式。Optionally, releasing the binding relationship with the ONU includes: sending an unbinding message to the ONU; receiving an operation success result returned by the ONU according to the unbinding message; and exiting according to the successful operation result The management mode of the alternate channel.
另一方面,本发明实施例还提供了一种消息处理方法,包括:接收终端通过备用通道发送的管理消息,其中,所述备用通道为所述终端通过远程服务平台建立的,所述远程服务平台通过光线路终端OLT上提供的对外接口和 光网络单元ONU进行数据传输,所述OLT和所述ONU之间建立有用于传输数据的管理通道;根据接收的所述管理消息进行相应的处理;向所述终端返回处理结果。On the other hand, the embodiment of the present invention further provides a message processing method, including: receiving a management message sent by a terminal through an alternate channel, where the standby channel is established by the terminal through a remote service platform, the remote service The platform passes through the external interface provided on the optical line terminal OLT and The optical network unit ONU performs data transmission, and a management channel for transmitting data is established between the OLT and the ONU; corresponding processing is performed according to the received management message; and the processing result is returned to the terminal.
可选地,接收终端通过所述备用通道发送的管理消息包括:接收所述远程服务平台传送的绑定消息,其中,所述绑定消息为所述远程服务平台根据所述终端发送的绑定命令传送的消息,所述绑定命令中携带有ONU的系列号SN信息;对所述绑定消息进行处理;将绑定成功结果返回给所述终端,其中,所述绑定成功结果用于所述终端控制所述备用通道进入正常配置模式;接收所述终端通过所述进入正常配置模式的备用通道发送的管理消息。Optionally, the management message sent by the receiving terminal by using the standby channel includes: receiving a binding message sent by the remote service platform, where the binding message is a binding sent by the remote service platform according to the terminal a message transmitted by the command, the binding command carrying the serial number SN information of the ONU; processing the binding message; returning the binding success result to the terminal, wherein the binding success result is used for The terminal controls the standby channel to enter a normal configuration mode; and receives a management message sent by the terminal by using the standby channel that enters the normal configuration mode.
可选地,所述管理消息中携带有唯一标识码。Optionally, the management message carries a unique identification code.
可选地,在接收所述终端通过所述进入正常配置模式的备用通道发送的所述管理消息之后,所述方法还包括:接收所述终端发送的解绑定消息;根据所述解绑定消息进行解绑定操作;向所述终端返回解绑定操作成功消息并关闭所述备用通道。Optionally, after receiving the management message sent by the terminal by using the standby channel that enters the normal configuration mode, the method further includes: receiving an unbinding message sent by the terminal; and debinding according to the The message performs an unbinding operation; returns an unbinding operation success message to the terminal and closes the alternate channel.
另一方面,本发明实施例还提供了一种光网络单元ONU管理的装置,包括:建立模块设置为,通过远程服务平台建立用于管理所述ONU的备用通道,其中,所述远程服务平台通过光线路终端OLT上提供的对外接口和所述ONU进行数据传输,所述OLT和所述ONU之间建立有用于传输数据的管理通道;管理模块设置为,在确定用于管理所述ONU的接口Interface连接通道故障后,利用建立的所述备用通道管理所述ONU。In another aspect, the embodiment of the present invention further provides an apparatus for managing an ONU of an optical network unit, including: an establishing module configured to establish, by using a remote service platform, an alternate channel for managing the ONU, where the remote service platform Data transmission is performed between the external interface provided by the optical line terminal OLT and the ONU, and a management channel for transmitting data is established between the OLT and the ONU; the management module is configured to determine the management of the ONU. After the interface Interface is faulty, the ONU is managed by the established alternate channel.
可选地,所述管理模块包括:绑定单元设置为,通过所述远程服务平台与所述ONU进行绑定;Optionally, the management module includes: a binding unit configured to bind to the ONU by using the remote service platform;
控制单元设置为,在通过远程服务平台与ONU绑定成功后,控制建立的所述备用通道进入正常配置模式;The control unit is configured to control the established standby channel to enter a normal configuration mode after being successfully bound to the ONU through the remote service platform;
第一管理单元设置为,利用进入正常配置模式的所述备用通道管理所述ONU。The first management unit is configured to manage the ONU with the alternate channel entering a normal configuration mode.
可选地,所述绑定单元包括:获取子单元设置为,获取所述远程服务平台的互联网协议IP地址; Optionally, the binding unit includes: the obtaining subunit is configured to obtain an internet protocol IP address of the remote service platform;
下发子单元设置为,根据获取的所述远程服务平台的IP地址向所述远程服务平台下发用于绑定所述ONU的绑定命令,其中,所述绑定命令中携带有所述ONU的系列号SN信息,所述绑定命令用于所述远程服务平台通过OLT向所述ONU传送绑定消息;The sending sub-unit is configured to send a binding command for binding the ONU to the remote service platform according to the acquired IP address of the remote service platform, where the binding command carries the The serial number SN information of the ONU, where the binding command is used by the remote service platform to transmit a binding message to the ONU through the OLT;
第一接收子单元设置为,接收所述ONU对所述绑定命令中携带的所述绑定消息进行处理后返回的绑定结果。The first receiving subunit is configured to receive a binding result returned by the ONU after processing the binding message carried in the binding command.
可选地,所述第一管理单元包括:第一发送子单元设置为,利用进入正常配置模式的所述备用通道向所述ONU发送用于配置和/或查询所述ONU的管理消息,其中,所述管理消息中携带有唯一标识码;Optionally, the first management unit includes: the first sending subunit is configured to send, by using the standby channel entering the normal configuration mode, a management message for configuring and/or querying the ONU to the ONU, where The management message carries a unique identification code;
第二接收子单元设置为,接收所述ONU根据所述管理消息进行处理后通过所述备用通道返回的处理结果。The second receiving subunit is configured to receive a processing result returned by the ONU through the standby channel after being processed according to the management message.
可选地,所述装置还包括:Optionally, the device further includes:
确定单元设置为,确定所述Interface连接通道是否恢复正常;The determining unit is configured to determine whether the Interface connection channel returns to normal;
解除单元设置为,所述Interface连接通道恢复正常时,解除与所述ONU间的绑定关系;The releasing unit is configured to release the binding relationship with the ONU when the Interface connection channel returns to normal;
第二管理单元设置为,利用恢复正常的所述Interface连接通道管理所述ONU。The second management unit is configured to manage the ONU by using the interface connection channel that is restored to normal.
可选地,所述解除单元包括:Optionally, the releasing unit includes:
第二发送子单元设置为,向所述ONU发送解绑定消息;The second sending subunit is configured to send an unbinding message to the ONU;
第三接收子单元设置为,接收所述ONU根据所述解绑定消息返回的操作成功结果;The third receiving subunit is configured to receive an operation success result returned by the ONU according to the unbinding message;
退出子单元,用于根据所述操作成功结果退出所述备用通道的管理模式。Exiting the subunit, for exiting the management mode of the alternate channel according to the successful result of the operation.
再一方面,本发明实施例还提供了一种终端,包括上述所述的装置。In still another aspect, an embodiment of the present invention further provides a terminal, including the device described above.
又一方面,本发明实施例还提供了一种消息处理的装置,包括:第一接收模块设置为,接收终端通过备用通道发送的管理消息,其中,所述备用通道为所述终端通过远程服务平台建立的,所述远程服务平台通过光线路终端OLT上提供的对外接口和光网络单元ONU进行数据传输,所述OLT和所述 ONU之间建立有用于传输数据的管理通道;In another aspect, an embodiment of the present invention further provides an apparatus for message processing, including: a first receiving module is configured to receive a management message sent by a terminal through an alternate channel, where the standby channel is a remote service for the terminal. Established by the platform, the remote service platform performs data transmission by using an external interface provided by the optical line terminal OLT and the optical network unit ONU, the OLT and the A management channel for transmitting data is established between the ONUs;
处理模块设置为,根据所述管理消息进行相应的处理;The processing module is configured to perform corresponding processing according to the management message;
第一返回模块设置为,向所述终端返回处理结果。The first return module is configured to return a processing result to the terminal.
可选地,所述第一接收模块包括:第一接收单元设置为,接收所述远程服务平台传送的绑定消息,其中,所述绑定消息为所述远程服务平台根据所述终端发送的绑定命令传送的消息,所述绑定命令中携带有ONU的系列号SN信息;Optionally, the first receiving module includes: the first receiving unit is configured to receive a binding message transmitted by the remote service platform, where the binding message is sent by the remote service platform according to the terminal The message transmitted by the binding command, where the binding command carries the serial number SN information of the ONU;
处理单元设置为,对所述绑定消息进行处理;The processing unit is configured to process the binding message;
返回单元设置为,将绑定成功结果返回给所述终端,其中,所述绑定成功结果用于所述终端控制所述备用通道进入正常配置模式;The returning unit is configured to return a successful binding result to the terminal, where the binding success result is used by the terminal to control the standby channel to enter a normal configuration mode;
第二接收单元设置为,接收所述终端通过所述进入正常配置模式的备用通道发送的管理消息。The second receiving unit is configured to receive a management message sent by the terminal by using the standby channel that enters the normal configuration mode.
可选地,所述管理消息中携带有唯一标识码。Optionally, the management message carries a unique identification code.
可选地,所述装置还包括:第二接收模块设置为,接收所述终端发送的解绑定消息;Optionally, the device further includes: the second receiving module is configured to receive an unbinding message sent by the terminal;
操作模块设置为,根据所述解绑定消息进行解绑定操作;The operation module is configured to perform an unbinding operation according to the unbinding message;
第二返回模块设置为,向所述终端返回解绑定操作成功消息并关闭所述备用通道。The second return module is configured to return an unbinding operation success message to the terminal and close the standby channel.
还一方面,本发明实施例还提供了一种光网络单元ONU,包括上述所述的装置。In another aspect, an embodiment of the present invention further provides an optical network unit ONU, including the apparatus described above.
通过本发明实施例,采用通过远程服务平台建立用于管理ONU的备用通道,其中,远程服务平台通过光线路终端(OLT)上提供的对外接口和ONU进行数据传输,OLT和ONU之间建立有用于传输数据的管理通道;在确定用于管理ONU的接口(Interface)连接通道故障后,利用备用通道管理ONU。实现了在Interface连接通道故障后,高效的管理ONU。Through the embodiment of the present invention, an alternate channel for managing an ONU is established through a remote service platform, wherein the remote service platform performs data transmission through an external interface provided by an optical line terminal (OLT) and an ONU, and a useful relationship between the OLT and the ONU is established. The management channel for transmitting data; after determining the interface connection channel for managing the ONU, the backup channel is used to manage the ONU. Efficient management of the ONU after the interface connection channel fails.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述 BRIEF abstract
图1是本发明实施例的光网络单元ONU管理的方法的流程图;1 is a flowchart of a method for managing an ONU of an optical network unit according to an embodiment of the present invention;
图2是本发明实施例的消息处理的方法的流程图;2 is a flowchart of a method for message processing according to an embodiment of the present invention;
图3是本发明实施例的光网络单元ONU管理的装置的结构框图;3 is a structural block diagram of an apparatus for managing an ONU of an optical network unit according to an embodiment of the present invention;
图4是本发明实施例的光网络单元ONU管理的装置中管理模块34的结构框图;4 is a structural block diagram of a management module 34 in an apparatus managed by an optical network unit ONU according to an embodiment of the present invention;
图5是本发明实施例的光网络单元ONU管理的装置中绑定单元42的结构框图;5 is a structural block diagram of a binding unit 42 in an apparatus managed by an optical network unit ONU according to an embodiment of the present invention;
图6是本发明实施例的光网络单元ONU管理的装置中第一管理单元46的结构框图;6 is a structural block diagram of a first management unit 46 in an apparatus managed by an optical network unit ONU according to an embodiment of the present invention;
图7是本发明实施例的光网络单元ONU管理的装置中管理模块34的可选结构框图;7 is a block diagram showing an optional structure of a management module 34 in an apparatus managed by an optical network unit ONU according to an embodiment of the present invention;
图8是本发明实施例的光网络单元ONU管理的装置中解除单元74的结构框图;FIG. 8 is a structural block diagram of the releasing unit 74 in the device managed by the optical network unit ONU according to the embodiment of the present invention;
图9是本发明实施例的终端的结构框图;9 is a structural block diagram of a terminal according to an embodiment of the present invention;
图10是本发明实施例的消息处理的装置的结构框图;FIG. 10 is a structural block diagram of an apparatus for message processing according to an embodiment of the present invention; FIG.
图11是本发明实施例的消息处理的装置中接收模块102的结构框图;11 is a structural block diagram of a receiving module 102 in an apparatus for message processing according to an embodiment of the present invention;
图12是本发明实施例的消息处理的装置的可选结构框图;FIG. 12 is a block diagram showing an optional structure of an apparatus for message processing according to an embodiment of the present invention; FIG.
图13是本发明实施例的光网络单元ONU的结构框图;FIG. 13 is a structural block diagram of an optical network unit ONU according to an embodiment of the present invention; FIG.
图14是本发明实施例的EPON系统拓扑图;14 is a topological diagram of an EPON system according to an embodiment of the present invention;
图15是本发明实施例的ONU管理整体流程图;15 is a flowchart of an overall management of an ONU according to an embodiment of the present invention;
图16是本发明实施例的切换到备用通道的流程图;16 is a flow chart of switching to an alternate channel according to an embodiment of the present invention;
图17是本发明实施例的通过备用通道对ONU进行管理的流程图;17 is a flowchart of managing an ONU through an alternate channel according to an embodiment of the present invention;
图18是本发明实施例的切换到正常的Interface连接通道的流程图;18 is a flow chart of switching to a normal Interface connection channel according to an embodiment of the present invention;
图19是本发明实施例的建立扩展OAM通道所采用的扩展OAM帧格式示意图。FIG. 19 is a schematic diagram of an extended OAM frame format used to establish an extended OAM channel according to an embodiment of the present invention.
本发明的实施方式 Embodiments of the invention
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种光网络单元(ONU)管理的方法,图1是本发明实施例的光网络单元ONU管理的方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for managing an optical network unit (ONU) is provided. FIG. 1 is a flowchart of a method for managing an ONU of an optical network unit according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤102,通过远程服务平台建立用于管理ONU的备用通道,其中,该远程服务平台通过光线路终端(OLT)上提供的对外接口和ONU进行数据传输,OLT和ONU之间建立有用于传输数据的管理通道;Step 102: Establish an alternate channel for managing the ONU through the remote service platform, where the remote service platform performs data transmission through the external interface provided by the optical line terminal (OLT) and the ONU, and the data is transmitted between the OLT and the ONU. Management channel;
步骤104,在确定用于管理ONU的接口(Interface)连接通道故障后,利用建立的备用通道管理ONU。Step 104: After determining that the interface (Interface) connection channel for managing the ONU is faulty, the ONU is managed by using the established alternate channel.
通过上述步骤,当Interface连接通道故障后,可以利用预先建立的用于管理ONU的备用通道管理ONU,相对于相关技术中存在的需要接入ONU的wifi,或者需要进入用户家中管理ONU,本发明实施例中的方法可以适用于多种ONU(包括具备wifi接入功能和不具备wifi接入功能的ONU),并且,也无需进入用户家中,节省了管理者的时间。从而有效解决相关技术中存在的当Interface连接通道故障后,无法有效操作管理ONU的问题。Through the above steps, after the interface connection channel is faulty, the ONU can be managed by using a pre-established backup channel for managing the ONU, compared with the wifi that needs to be connected to the ONU in the related art, or needs to enter the user's home to manage the ONU, and the present invention The method in the embodiment can be applied to various ONUs (including ONUs with wifi access function and wifi access function), and also does not need to enter the user's home, saving administrator time. Therefore, the problem that the ONU cannot be effectively operated after the interface connection channel is faulty exists in the related art.
在一个可选的实施例中,利用上述备用通道管理ONU包括:通过远程服务平台与ONU进行绑定;在绑定成功后,控制备用通道进入正常配置模式;利用进入正常配置模式的备用通道管理ONU。In an optional embodiment, the managing the ONU by using the foregoing standby channel includes: binding the ONU through the remote service platform; after the binding is successful, controlling the standby channel to enter the normal configuration mode; and utilizing the standby channel management that enters the normal configuration mode. ONU.
在一个可选的实施例中,通过上述远程服务平台与ONU进行绑定包括:获取远程服务平台的互联网协议(IP)地址;根据该IP地址向远程服务平台下发用于绑定ONU的绑定命令,其中,该绑定命令中携带有ONU的系列号(Series Number,简称为SN)信息,该绑定命令用于远程服务平台通过OLT向ONU传送绑定消息;接收ONU对该绑定命令中携带的绑定消息进行处理后返回的绑定结果。 In an optional embodiment, the binding to the ONU by the remote service platform includes: obtaining an Internet Protocol (IP) address of the remote service platform, and delivering the binding for binding the ONU to the remote service platform according to the IP address. The binding command carries the serial number (Series Number, SN for short) information of the ONU, and the binding command is used by the remote service platform to transmit the binding message to the ONU through the OLT; receiving the binding of the ONU The binding result returned after the binding message carried in the command is processed.
在一个可选的实施例中,利用进入正常配置模式的备用通道管理ONU包括:利用进入正常配置模式的备用通道向ONU发送用于配置和/或查询ONU的管理消息,其中,该管理消息中携带有唯一标识码;接收ONU根据上述管理消息进行处理后通过备用通道返回的处理结果。其中,上述的管理消息中携带有唯一标识码的目的是为了避免与ONU交互的流程与扩展操作维护管理(Operation Administration and Maintenance,简称为OAM)本身的交互流程之间的冲突;唯一标识码,可以为备用通道的标识码,ONU解析到唯一标识码后,就可以通过唯一标识码确定管理消息是备用通道的消息。In an optional embodiment, managing the ONU with the alternate channel entering the normal configuration mode includes: transmitting, by using an alternate channel entering the normal configuration mode, a management message for configuring and/or querying the ONU, wherein the management message is Carrying a unique identification code; receiving the processing result returned by the ONU through the backup channel after processing according to the above management message. The purpose of the above-mentioned management message carrying the unique identification code is to avoid conflicts between the process of interacting with the ONU and the interaction process of the Operation Administration and Maintenance (OAM) itself; the unique identification code, The identifier of the alternate channel can be used. After the ONU resolves to the unique identifier, the message that the management message is the alternate channel can be determined by the unique identifier.
在一个可选的实施例中,在利用进入正常配置模式的备用通道管理ONU之后,还包括:确定上述Interface连接通道是否恢复正常;Interface连接通道恢复正常时,解除与ONU间的绑定关系;利用恢复正常的Interface连接通道管理上述ONU。In an optional embodiment, after the ONU is managed by using the standby channel that enters the normal configuration mode, the method further includes: determining whether the interface connection channel returns to normal; and when the interface connection channel returns to normal, releasing the binding relationship with the ONU; The above ONUs are managed by using a normal interface connection channel.
在一个可选的实施例中,解除与ONU间的绑定关系包括:向ONU发送解绑定消息;接收ONU根据上述解绑定消息返回的操作成功结果;根据该操作成功结果退出备用通道的管理模式。即,当Interface连接通道恢复正常后,将管理ONU的通道切换到正常的Interface连接通道上。In an optional embodiment, releasing the binding relationship with the ONU includes: sending an unbinding message to the ONU; receiving an operation success result returned by the ONU according to the unbinding message; and exiting the standby channel according to the successful result of the operation Management mode. That is, when the Interface connection channel returns to normal, the channel that manages the ONU is switched to the normal Interface connection channel.
需要说明的是,本实施例中提供的一种光网络单元管理的方法可以由网络侧终端实施。It should be noted that the method for managing an optical network unit provided in this embodiment may be implemented by a network side terminal.
本发明实施例还提供一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行上述光网络单元管理的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method for managing the optical network unit.
图2是本发明实施例的消息处理的方法的流程图,如图2所示,该流程包括:2 is a flowchart of a method for message processing according to an embodiment of the present invention. As shown in FIG. 2, the process includes:
步骤202,接收终端通过备用通道发送的管理消息,其中,该备用通道为终端通过远程服务平台建立的,该远程服务平台通过光线路终端OLT上提供的对外接口和光网络单元ONU进行数据传输,该OLT和ONU之间建立有用于传输数据的管理通道; Step 202: The management message sent by the terminal through the standby channel, where the standby channel is established by the terminal through the remote service platform, and the remote service platform performs data transmission through the external interface provided by the optical line terminal OLT and the optical network unit ONU. A management channel for transmitting data is established between the OLT and the ONU;
步骤204,根据接收的管理消息进行相应的处理;Step 204: Perform corresponding processing according to the received management message.
需要说明的是,根据接收的管理消息进行相应的处理可以包括:查看光网络终端目前的状态、故障原因、抓取日志等;It should be noted that performing the corresponding processing according to the received management message may include: checking the current state of the optical network terminal, the cause of the fault, the crawling log, and the like;
步骤206,向终端返回管理消息的处理结果。Step 206: Return the processing result of the management message to the terminal.
执行上述流程的主体可以为ONU,通过上述步骤,在接收终端的管理消息时,可以接收终端通过备用通道发送的管理消息,从而当Interface连接通道故障时,也不会影响接收终端发送的管理消息的流程,相对于相关技术中存在的当Interface连接通道故障时,终端需要接入ONU的wifi,或者需要由管理者进入用户家中管理ONU,上述实施例中的方法可以有效解决相关技术中存在的当Interface连接通道故障后,无法有效操作管理ONU的问题,进而达到了在Interface连接通道故障后,利用备用通道管理ONU的效果。The main body that performs the above process may be an ONU. Through the above steps, when receiving the management message of the terminal, the management message sent by the terminal through the standby channel may be received, so that when the interface connection channel fails, the management message sent by the receiving terminal is not affected. The method in the above embodiment can effectively solve the problem in the related art, as compared with the related art, when the interface connection channel is faulty, the terminal needs to access the wifi of the ONU, or the administrator needs to enter the user's home to manage the ONU. When the interface connection channel fails, the problem of managing the ONU cannot be effectively operated, and the effect of managing the ONU by using the alternate channel after the interface connection channel is faulted is achieved.
在一个可选的实施例中,接收终端通过备用通道发送的管理消息包括:接收远程服务平台传送的绑定消息,其中,该绑定消息为远程服务平台根据终端发送的绑定命令传送的消息,该绑定命令中携带有ONU的系列号(SN)信息;对上述绑定消息进行处理;将绑定成功结果返回给上述终端,其中,该绑定成功结果用于终端控制备用通道进入正常配置模式;接收上述终端通过进入正常配置模式的备用通道发送的管理消息。In an optional embodiment, the receiving, by the receiving terminal, the management message sent by the standby channel comprises: receiving a binding message transmitted by the remote service platform, where the binding message is a message transmitted by the remote service platform according to the binding command sent by the terminal. The binding command carries the serial number (SN) information of the ONU; the binding message is processed; the binding success result is returned to the terminal, wherein the binding success result is used by the terminal to control the standby channel to enter the normal state. The configuration mode receives the management message sent by the terminal through the standby channel that enters the normal configuration mode.
在一个可选的实施例中,上述管理消息中携带有唯一标识码。该管理消息中携带有唯一标识码的目的是为了避免终端与ONU交互的流程与扩展操作维护管理(Operation Administration and Maintenance,简称为OAM)本身的交互流程之间的冲突。In an optional embodiment, the management message carries a unique identification code. The purpose of carrying the unique identification code in the management message is to avoid conflicts between the process of the terminal interacting with the ONU and the interaction process of the Operation Operation and Maintenance (OAM) itself.
在一个可选的实施例中,在接收上述终端通过进入正常配置模式的备用通道发送的管理消息之后,还包括:接收终端发送的解绑定消息;根据该解绑定消息进行解绑定操作;向终端返回解绑定操作成功消息并关闭上述备用通道。In an optional embodiment, after receiving the management message sent by the terminal by entering the standby channel of the normal configuration mode, the method further includes: receiving an unbinding message sent by the terminal; performing an unbinding operation according to the unbinding message ; Return the unbinding operation success message to the terminal and close the above alternate channel.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本 发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明每一个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on this understanding, this The technical solution of the invention may be embodied in the form of a software product, which is stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including several The instructions are for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the method described in each of the embodiments of the present invention.
需要说明的是,本发明实施例消息处理的方法可以由手机或者平板电脑等可以连接wifi等终端设备实施。It should be noted that the method for message processing in the embodiment of the present invention may be implemented by using a mobile phone or a tablet computer or the like to connect to a terminal device such as wifi.
本发明实施例还提供一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行上述消息处理的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the message processing method.
在本实施例中还提供了一种光网络单元ONU管理的装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, an apparatus for managing an ONU of an optical network unit is provided, and the apparatus is used to implement the foregoing embodiments and optional implementations, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是本发明实施例的光网络单元ONU管理装置的结构框图,如图3所示,该装置包括建立模块32和管理模块34,下面对该装置进行说明。FIG. 3 is a structural block diagram of an ONU management apparatus for an optical network unit according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes an establishing module 32 and a management module 34, which will be described below.
建立模块32设置为,通过远程服务平台建立用于管理ONU的备用通道,其中,该远程服务平台通过光线路终端(OLT)上提供的对外接口和ONU进行数据传输,OLT和ONU之间建立有用于传输数据的管理通道;管理模块34设置为,连接至上述建立模块32,在确定用于管理上述ONU的接口Interface连接通道故障后,利用建立的备用通道管理ONU。The establishing module 32 is configured to establish an alternate channel for managing the ONU through the remote service platform, wherein the remote service platform performs data transmission through the external interface provided by the optical line terminal (OLT) and the ONU, and the utility between the OLT and the ONU is established. The management module 34 is configured to be connected to the above-mentioned establishing module 32. After determining that the interface of the interface for managing the ONU is faulty, the ONU is managed by using the established standby channel.
图4是本发明实施例的光网络单元管理的装置中管理模块34的结构框图,如图4所示,该管理模块34包括绑定单元42、控制单元44和第一管理单元46,下面对该管理模块34进行说明。4 is a structural block diagram of a management module 34 in an apparatus for managing an optical network unit according to an embodiment of the present invention. As shown in FIG. 4, the management module 34 includes a binding unit 42, a control unit 44, and a first management unit 46. The management module 34 will be described.
绑定单元42设置为,通过远程服务平台与ONU进行绑定;控制单元44设置为,连接至上述绑定单元42,在通过远程服务平台与ONU绑定成功后,控制建立的备用通道进入正常配置模式;第一管理单元46设置为,连接至上 述控制单元44设置为,利用进入正常配置模式的备用通道管理上述ONU。The binding unit 42 is configured to be bound to the ONU through the remote service platform; the control unit 44 is configured to be connected to the binding unit 42, and after the binding to the ONU through the remote service platform is successful, the control established standby channel enters the normal state. Configuration mode; the first management unit 46 is set to connect to The control unit 44 is arranged to manage the above ONUs with an alternate channel entering the normal configuration mode.
图5是本发明实施例的光网络单元ONU管理装置中绑定单元42的结构框图,如图5所示,该绑定单元42包括获取子单元52、下发子单元54和第一接收子单元56,下面对该绑定单元42进行说明。FIG. 5 is a structural block diagram of a binding unit 42 in an ONU management apparatus of an optical network unit according to an embodiment of the present invention. As shown in FIG. 5, the binding unit 42 includes an obtaining subunit 52, a sending subunit 54, and a first receiving sub Unit 56, the binding unit 42 will be described below.
获取子单元52设置为,获取远程服务平台的互联网协议(IP)地址;下发子单元54,连接至上述获取子单元52,设置为根据获取的远程服务平台的IP地址向远程服务平台下发用于绑定ONU的绑定命令,其中,该绑定命令中携带有ONU的系列号SN信息,该绑定命令用于远程服务平台通过OLT向ONU传送绑定消息;第一接收子单元56,连接至上述下发子单元54,设置为接收ONU对绑定命令中携带的绑定消息进行处理后返回的绑定结果。The obtaining sub-unit 52 is configured to obtain an Internet Protocol (IP) address of the remote service platform, and the sending sub-unit 54 is connected to the obtaining sub-unit 52, and is configured to deliver the data to the remote service platform according to the obtained IP address of the remote service platform. A binding command for binding an ONU, where the binding command carries the serial number SN information of the ONU, where the binding command is used by the remote service platform to transmit a binding message to the ONU through the OLT; the first receiving subunit 56 And the connection to the sending sub-unit 54 is configured to receive the binding result returned by the ONU after processing the binding message carried in the binding command.
图6是本发明实施例的光网络单元管理的装置中第一管理单元46的结构框图,如图6所示,该第一管理单元46包括第一发送子单元62和第二接收子单元64,下面对该第一管理单元46进行说明。FIG. 6 is a structural block diagram of a first management unit 46 in an apparatus for managing an optical network unit according to an embodiment of the present invention. As shown in FIG. 6, the first management unit 46 includes a first transmitting subunit 62 and a second receiving subunit 64. The first management unit 46 will be described below.
第一发送子单元62设置为,利用进入正常配置模式的备用通道向ONU发送用于配置和/或查询ONU的管理消息,其中,该管理消息中携带有唯一标识码;第二接收子单元64,连接至上述第一发送子单元62,设置为接收ONU根据上述管理消息进行处理后通过备用通道返回的处理结果。The first sending sub-unit 62 is configured to send a management message for configuring and/or querying the ONU to the ONU by using an alternate channel entering the normal configuration mode, wherein the management message carries a unique identification code; the second receiving sub-unit 64 And connected to the first sending sub-unit 62, configured to receive a processing result that the ONU returns according to the management message and returns through the standby channel.
图7是本发明实施例的光网络单元管理的装置中管理模块34的可选结构框图,如图7所示,该管理模块34除包括图4所示的所有单元外,还包括确定单元72、解除单元74和第二管理单元76,下面对该管理模块34进行说明。FIG. 7 is a block diagram showing an optional structure of the management module 34 in the apparatus for managing the optical network unit according to the embodiment of the present invention. As shown in FIG. 7, the management module 34 includes a determining unit 72 in addition to all the units shown in FIG. The release unit 74 and the second management unit 76 are described below.
确定单元72,连接至上述第一管理单元46,设置为确定Interface连接通道是否恢复正常;解除单元74,连接至上述确定单元72,设置为Interface连接通道恢复正常时,解除与ONU间的绑定关系;第二管理单元76,连接至上述解除单元74,设置为利用恢复正常的Interface连接通道管理ONU。The determining unit 72 is connected to the first management unit 46, and is configured to determine whether the interface connection channel is restored to normal. The releasing unit 74 is connected to the determining unit 72, and is configured to release the binding between the ONU and the ONU when the interface is restored. The second management unit 76 is connected to the above-mentioned release unit 74 and is configured to manage the ONU by using a restored interface connection channel.
图8是本发明实施例的光网络单元ONU管理的装置中解除单元74的结构框图,如图8所示,该解除单元74包括第二发送子单元82、第三接收子单元84和退出子单元86,下面对该解除单元74进行说明。FIG. 8 is a block diagram showing the structure of the releasing unit 74 in the apparatus managed by the optical network unit ONU according to the embodiment of the present invention. As shown in FIG. 8, the releasing unit 74 includes a second transmitting subunit 82, a third receiving subunit 84, and a quitper. Unit 86, the release unit 74 will be described below.
第二发送子单元82,设置为向ONU发送解绑定消息;第三接收子单元 84,连接至上述第二发送子单元82,设置为接收ONU根据上述解绑定消息返回的操作成功结果;退出子单元86,连接至上述第三接收子单元84,设置为根据上述操作成功结果退出备用通道的管理模式。The second sending subunit 82 is configured to send an unbinding message to the ONU; the third receiving subunit 84, connected to the second sending sub-unit 82, configured to receive an operation success result returned by the ONU according to the unbinding message; the exit sub-unit 86 is connected to the third receiving sub-unit 84, and is set to be successful according to the foregoing operation. Exit the management mode of the alternate channel.
图9是本发明实施例的终端的结构框图,如图9所示,该终端92包括上述ONU管理的装置94。FIG. 9 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 9, the terminal 92 includes the device 94 managed by the ONU.
图10是根据本发明实施例的消息处理的装置的结构框图,如图10所示,该消息处理装置包括第一接收模块102、处理模块104和第一返回模块106,下面对该装置进行说明。FIG. 10 is a structural block diagram of an apparatus for message processing according to an embodiment of the present invention. As shown in FIG. 10, the message processing apparatus includes a first receiving module 102, a processing module 104, and a first returning module 106. Description.
第一接收模块102,设置为接收终端通过备用通道发送的管理消息,其中,该备用通道为终端通过远程服务平台建立的,远程服务平台通过光线路终端OLT上提供的对外接口和光网络单元ONU进行数据传输,OLT和ONU之间建立有用于传输数据的管理通道;处理模块104,连接至上述第一接收模块102,设置为根据上述管理消息进行相应的处理;第一返回模块106,连接至上述处理模块104,设置为向终端返回处理结果。The first receiving module 102 is configured to receive a management message sent by the terminal through the standby channel, where the standby channel is established by the terminal through the remote service platform, and the remote service platform is performed by the external interface and the optical network unit ONU provided by the optical line terminal OLT. Data transmission, a management channel for transmitting data is established between the OLT and the ONU; the processing module 104 is connected to the first receiving module 102, and is configured to perform corresponding processing according to the management message; the first returning module 106 is connected to the foregoing The processing module 104 is configured to return a processing result to the terminal.
图11是本发明实施例的消息处理的装置中接收模块102的结构框图,如图11所示,该接收模块102包括第一接收单元112、处理单元114、返回单元116和第二接收单元118,下面对该接收模块102进行说明。FIG. 11 is a structural block diagram of a receiving module 102 in an apparatus for message processing according to an embodiment of the present invention. As shown in FIG. 11, the receiving module 102 includes a first receiving unit 112, a processing unit 114, a returning unit 116, and a second receiving unit 118. The receiving module 102 will be described below.
第一接收单元112,设置为接收远程服务平台传送的绑定消息,其中,该绑定消息为远程服务平台根据上述终端发送的绑定命令传送的消息,该绑定命令中携带有ONU的系列号(SN)信息;处理单元114,连接至上述第一接收单元112,设置为对上述绑定消息进行处理;返回单元116,连接至上述处理单元114,设置为将绑定成功结果返回给终端,其中,该绑定成功结果用于终端控制备用通道进入正常配置模式;第二接收单元118,连接至上述第一返回单元116,设置为接收终端通过进入正常配置模式的备用通道发送的管理消息。The first receiving unit 112 is configured to receive a binding message transmitted by the remote service platform, where the binding message is a message that is sent by the remote service platform according to the binding command sent by the terminal, and the binding command carries the series of ONUs. No. (SN) information; the processing unit 114 is connected to the first receiving unit 112, and is configured to process the binding message; the returning unit 116 is connected to the processing unit 114, and is configured to return the binding success result to the terminal. The binding success result is used by the terminal to control the standby channel to enter the normal configuration mode; the second receiving unit 118 is connected to the first returning unit 116, and is configured to receive the management message sent by the terminal by entering the standby channel of the normal configuration mode. .
可选地,上述管理消息中携带有唯一标识码。Optionally, the foregoing management message carries a unique identification code.
图12是本发明实施例的消息处理装置的可选结构框图,如图12所示,该接收模块102除包括图11所示的所有模块外,还包括第二接收模块122、 操作模块124和第二返回模块126,下面对该装置进行说明。FIG. 12 is a block diagram showing an optional structure of a message processing apparatus according to an embodiment of the present invention. As shown in FIG. 12, the receiving module 102 includes a second receiving module 122, in addition to all the modules shown in FIG. The operation module 124 and the second return module 126 are described below.
第二接收模块122,连接至上述第一接收模块102,设置为接收终端发送的解绑定消息;操作模块124,连接至上述第二接收模块122,设置为根据解绑定消息进行解绑定操作;第二返回模块126,连接至上述操作模块124,设置为向终端返回解绑定操作成功消息并关闭上述备用通道。The second receiving module 122 is connected to the first receiving module 102, and is configured to receive an unbinding message sent by the terminal. The operating module 124 is connected to the second receiving module 122, and is configured to be unbound according to the unbinding message. The second return module 126 is connected to the operation module 124, and is configured to return a debinding operation success message to the terminal and close the standby channel.
图13是本发明实施例的光网络单元(ONU)的结构框图,如图13所示,该ONU 132包括上述消息处理的装置134。FIG. 13 is a structural block diagram of an optical network unit (ONU) according to an embodiment of the present invention. As shown in FIG. 13, the ONU 132 includes the above-described message processing device 134.
下面以上述终端为智能手机设备为例,对本发明进行说明。从上述实施例可知,为了方便对远端ONU进行状态检测和故障排查,提供了一条备用通道,通过智能手机设备,利用PON组网中的管理通道对ONU进行管理。使用该方法,只要光网络终端ONU与OLT建立起管理通道,就可以通过智能终端通过远程方式对ONU进行管理。在手机APP的远程通信链路故障时,可以快速切换到备用通道,查询ONU当前的运行状态和主要参数,分析故障原因,快速定位问题。故障排除后,也可以方便的切换到正常的通信链路。The present invention will be described below by taking the above terminal as a smart phone device as an example. It can be seen from the foregoing embodiment that, in order to facilitate state detection and troubleshooting of the remote ONU, an alternate channel is provided, and the ONU is managed by the management channel in the PON network through the smart phone device. With this method, as long as the optical network terminal ONU establishes a management channel with the OLT, the ONU can be managed remotely through the smart terminal. When the remote communication link of the mobile APP is faulty, you can quickly switch to the alternate channel, query the current running status and main parameters of the ONU, analyze the cause of the fault, and quickly locate the problem. After troubleshooting, it is also convenient to switch to the normal communication link.
下面对如何利用智能手机对ONU进行管理进行说明,该管理流程包括如下步骤:The following describes how to manage the ONU by using a smart phone. The management process includes the following steps:
步骤A、在光网络单元(ONU)上加入对通用交换格式的支持;如JSON(java Script Object notation,是一种轻量级的数据交换格式)、协议缓存protocol buffer、thrift(一种软件框架,用来进行可扩展且跨语言服务的开发)等。Step A: Add support for the universal exchange format on the optical network unit (ONU); such as JSON (java Script Object notation, is a lightweight data exchange format), protocol cache protocol buffer, thrift (a software framework) For development of scalable and cross-language services, etc.
步骤A中,还包括定义ONU和APP侧公用的通用数据交换格式,通用格式包含的内容根据实际需要而定,但需要有基本的格式,如消息类型,消息序列号,命令类型,消息状态,配置内容等。Step A also includes defining a common data exchange format common to the ONU and the APP side. The content contained in the universal format is determined according to actual needs, but needs to have a basic format, such as a message type, a message sequence number, a command type, and a message status. Configuration content, etc.
其中,ONU需要支持通用交换格式的数据通过ONU的管理通道进行传输,对于以太网无源光网络(Ethernet Passive Optical Network,简称为EPON)产品而言是扩展OAM方式。The ONU needs to support the data of the universal switching format to be transmitted through the management channel of the ONU. For the Ethernet Passive Optical Network (EPON) product, the extended OAM mode is adopted.
步骤B、建立OLT和光网络单元(ONU)的管理通道,用于承载步骤A生成的通用数据交换格式。 Step B: Establish a management channel of the OLT and the optical network unit (ONU) for carrying the general data exchange format generated in step A.
步骤B中,还包括ONU和OLT公用的帧格式的定义,管理通道通过帧格式进行实现。帧格式用来承载通用数据交换格式,实现远程智能终端和ONU之间的数据交互。In step B, the definition of the frame format common to the ONU and the OLT is also included, and the management channel is implemented by using the frame format. The frame format is used to carry a common data exchange format to implement data interaction between the remote intelligent terminal and the ONU.
OLT还需要提供对外接口,供其他平台接收ONU侧生成通用数据交换格式的内容。OLT本身不对通用交互数据进行任何处理,直接透传给远程服务管理平台。The OLT also needs to provide an external interface for other platforms to receive content generated by the ONU side in a common data exchange format. The OLT itself does not perform any processing on the general interaction data and directly transmits it to the remote service management platform.
步骤C、提供一个远程服务管理平台,远程智能终端通过该平台实现对ONU的管理和操作,正常Interface连接通道故障时,链路切换到该远程服务平台,采用管理通道的智能终端操作模式。Step C: Providing a remote service management platform, the remote intelligent terminal manages and operates the ONU through the platform. When the normal interface connection channel fails, the link switches to the remote service platform, and the intelligent terminal operation mode of the management channel is adopted.
其中,智能终端可以通过如下步骤实现对ONU的操作和维护,即对OUN进行管理。The intelligent terminal can implement the operation and maintenance of the ONU by performing the following steps, that is, managing the OUN.
步骤1:在智能终端上配置远程服务平台的IP地址,智能终端检测到远端ONU故障时,根据所配置的IP地址切换到远程服务平台。Step 1: Configure the IP address of the remote service platform on the smart terminal. When the intelligent terminal detects the remote ONU failure, the intelligent terminal switches to the remote service platform according to the configured IP address.
步骤2:智能终端下发和终端ONU绑定的命令,该命令采用步骤A中通用数据交换格式进行传输,携带的内容为ONU的SN信息。Step 2: The smart terminal sends a command to bind to the ONU of the terminal. The command is transmitted in the general data exchange format in step A, and the content carried is the SN information of the ONU.
步骤3:远程服务管理平台通过简单网络管理协议(Simple Network Management Protocol,简称为SNMP)等协议和OLT进行连接,调用步骤B中OLT提供的读取通用数据交互格式的接口。Step 3: The remote service management platform connects to the OLT through a protocol such as Simple Network Management Protocol (SNMP), and invokes the interface of the common data interaction format provided by the OLT in step B.
步骤4:绑定消息通过OLT透传到ONU后,ONU对通用数据交互内容进行解码处理,校验密码后将结果发送给智能终端。Step 4: After the binding message is transparently transmitted to the ONU through the OLT, the ONU decodes the general data interaction content, and after verifying the password, sends the result to the intelligent terminal.
步骤5:绑定成功后,备用通道进入正常配置模式,智能终端可以对ONU进行配置和查询。Step 5: After the binding is successful, the standby channel enters the normal configuration mode, and the intelligent terminal can configure and query the ONU.
其中,智能终端与ONU的交互流程不应该与扩展OAM本身的交互流程冲突。也就是说,智能终端与ONU的每一条消息都应该带唯一标识码,采用唯一标识码对每包数据进行处理。The interaction process between the intelligent terminal and the ONU should not conflict with the interaction process of the extended OAM itself. That is to say, each message of the intelligent terminal and the ONU should carry a unique identification code, and each packet of data is processed by using a unique identification code.
其中,智能终端和ONU直接的通用数据格式可以采用电信规范中已定义的格式,也可以根据需要协商新的格式。The common universal data format of the intelligent terminal and the ONU may adopt a format defined in the telecommunication specification, or may negotiate a new format as needed.
步骤D、正常的Interface连接通道恢复后,智能终端和ONU的连接通道 切换到Interface连接通道。Step D: After the normal Interface connection channel is restored, the connection channel between the intelligent terminal and the ONU Switch to the Interface connection channel.
智能终端切换回正常操作通道的步骤:Steps for the intelligent terminal to switch back to the normal operation channel:
步骤1:通过智能终端下发解绑定命令到ONU,命令采用通用数据格式封装。Step 1: The unbinding command is sent to the ONU through the smart terminal, and the command is encapsulated in a common data format.
步骤2:ONU收到智能终端发来的解绑定消息后,返回操作成功消息给智能终端,同时关闭智能终端的连接通道。Step 2: After receiving the unbinding message sent by the intelligent terminal, the ONU returns an operation success message to the intelligent terminal, and closes the connection channel of the intelligent terminal.
步骤3:智能终端退出备用通道管理模式,切换到正常的Interface连接通道对智能终端进行操作。Step 3: The intelligent terminal exits the standby channel management mode and switches to the normal Interface connection channel to operate the intelligent terminal.
图14是本发明实施例的EPON系统拓扑图,图14中介绍了与本发明实施例相关的EPON网络拓扑图和本发明实施例中的基本实现图。从拓扑图可以看到,一个OLT可以通过分光器连接多个ONU,从OLT到ONU的下行数据传送方式为时分复用且物理层广播方式,即每一个下行帧会发送到所有的ONU的无源光网络(PON)端口。从ONU到OLT的上行数据传送方式为时分多址(TDMA)方式。从实现图可以看出,智能终端(手机、平板(Pad)等)通过http协议连接到备用远程服务平台,远程服务平台和OLT直接采用简单网络管理协议(snmp)。FIG. 14 is a topological diagram of an EPON system according to an embodiment of the present invention, and FIG. 14 is a diagram showing an EPON network topology diagram related to an embodiment of the present invention and a basic implementation diagram in the embodiment of the present invention. As can be seen from the topology diagram, an OLT can connect multiple ONUs through a splitter. The downlink data transmission mode from the OLT to the ONU is time division multiplexing and physical layer broadcast mode, that is, each downlink frame is sent to all ONUs. Source Optical Network (PON) port. The uplink data transmission mode from the ONU to the OLT is Time Division Multiple Access (TDMA). As can be seen from the implementation diagram, the smart terminal (mobile phone, tablet, etc.) is connected to the standby remote service platform through the http protocol, and the remote service platform and the OLT directly adopt a simple network management protocol (snmp).
图15是本发明实施例的ONU管理整体流程图,如图15所示,该流程包括如下步骤:FIG. 15 is an overall flowchart of ONU management according to an embodiment of the present invention. As shown in FIG. 15, the process includes the following steps:
步骤1502:在ONU上增加通用格式解析模块;Step 1502: Add a general format parsing module to the ONU.
在ONU上提供通用数据交换接口,能够通过数据交换接口操作ONU,从而使得ONU可以通过该接口接收从智能终端侧发来的操作命令。A universal data exchange interface is provided on the ONU, and the ONU can be operated through the data exchange interface, so that the ONU can receive an operation command sent from the smart terminal side through the interface.
步骤1504:建立用于承载通用交换格式的管理通道;Step 1504: Establish a management channel for carrying a universal exchange format.
对相关技术中的扩展OAM协议进行扩展,定义ONU和OLT侧公用的用来传送通用数据接口的帧格式和相关参数。The extended OAM protocol in the related art is extended to define a frame format and related parameters common to the ONU and the OLT side for transmitting a general data interface.
步骤1506:提供一个备用通道远程服务平台,原有链路发生故障,切换到备用通道。Step 1506: Provide an alternate channel remote service platform, where the original link fails and switches to the standby channel.
步骤1508:智能终端通过备用通道操作ONU,进行信息查询和故障定位。 Step 1508: The intelligent terminal operates the ONU through the standby channel to perform information query and fault location.
步骤1510:Interface连接恢复正常时,智能终端和ONU的连接通道切换到正常的Interface连接通道。Step 1510: When the Interface connection returns to normal, the connection channel of the intelligent terminal and the ONU is switched to the normal Interface connection channel.
图16是本发明实施例的切换到备用通道的流程图,图16主要是对步骤S1506的可选实现方式描述,如图16所示,该流程包括如下步骤:FIG. 16 is a flowchart of switching to an alternate channel according to an embodiment of the present invention. FIG. 16 is a description of an optional implementation manner of step S1506. As shown in FIG. 16, the process includes the following steps:
步骤1602:在智能终端上配置远程服务平台的IP地址,根据所配置的IP地址切换到备用通道远程服务平台。Step 1602: Configure an IP address of the remote service platform on the smart terminal, and switch to the alternate channel remote service platform according to the configured IP address.
步骤1604:远程备用管理平台通过SNMP等协议和OLT进行连接。Step 1604: The remote standby management platform connects to the OLT through a protocol such as SNMP.
步骤1606:智能终端通过超文本传输协议(http)下发和终端ONU绑定的命令,携带的内容为ONU的SN信息。Step 1606: The smart terminal sends the command bound to the ONU of the terminal through the Hypertext Transfer Protocol (http), and the content carried by the smart terminal is the SN information of the ONU.
步骤1608:ONU对通用数据交互内容进行解码处理,校验密码成功后将结果发送给智能终端。Step 1608: The ONU decodes the general data interaction content, and sends the result to the smart terminal after the password is successfully verified.
步骤1610:绑定成功后,备用通道进入正常配置模式,智能终端可以对ONU进行配置和查询。Step 1610: After the binding is successful, the standby channel enters the normal configuration mode, and the intelligent terminal can configure and query the ONU.
此时备用通道建立成功,通过智能终端可以对ONU进行管理和操作了。At this time, the standby channel is successfully established, and the ONU can be managed and operated by the intelligent terminal.
图17是本发明实施例的通过备用通道对ONU进行管理的流程图,图17主要是对步骤1508的可选实现方式描述,如图17所示,该流程包括如下步骤:17 is a flowchart of managing an ONU through an alternate channel according to an embodiment of the present invention. FIG. 17 is a description of an optional implementation manner of step 1508. As shown in FIG. 17, the process includes the following steps:
步骤1702:智能终端通过备用通道下发查询或者配置的操作到ONU。Step 1702: The intelligent terminal sends a query or configured operation to the ONU through the standby channel.
步骤1704:ONU收到命令后,对通用数据格式进行解码,处理相应命令,并将命令返回结果封装成通用数据格式后通过备用通道发送给智能终端。Step 1704: After receiving the command, the ONU decodes the common data format, processes the corresponding command, and encapsulates the result of the command into a common data format, and then sends the result to the smart terminal through the backup channel.
步骤1706:智能终端收到ONU返回的数据后,在操作界面进行解码显示。Step 1706: After receiving the data returned by the ONU, the smart terminal performs decoding and display on the operation interface.
图18是本发明实施例的切换到正常的Interface连接通道的流程图,图18主要是对步骤1510的可选实现方式描述,如图18所示,该流程包括如下步骤:FIG. 18 is a flowchart of switching to a normal interface connection channel according to an embodiment of the present invention. FIG. 18 is a description of an optional implementation manner of step 1510. As shown in FIG. 18, the process includes the following steps:
步骤1802:通过智能终端下发解绑定命令到ONU,命令采用通用数据格式封装。 In step 1802, the unbinding command is sent to the ONU through the smart terminal, and the command is encapsulated in a common data format.
步骤1804:ONU收到智能终端发来的解绑定消息后,返回操作成功消息给智能终端,同时关闭智能终端的连接通道。Step 1804: After receiving the unbinding message sent by the intelligent terminal, the ONU returns an operation success message to the intelligent terminal, and closes the connection channel of the intelligent terminal.
步骤1806:智能终端退出备用通道管理模式,切换到正常的Interface连接通道对智能终端进行操作。Step 1806: The intelligent terminal exits the standby channel management mode, and switches to a normal Interface connection channel to operate the smart terminal.
图19是根据本发明实施例的建立扩展OAM通道所采用的扩展OAM帧格式示意图,其中,图19-1为请求帧格式,图19-2为响应格式。请求格式和响应格式的共有字段:目的地址,源地址、帧长、帧类型,标记、填充字段和帧校验序列。FIG. 19 is a schematic diagram of an extended OAM frame format used to establish an extended OAM channel according to an embodiment of the present invention. FIG. 19-1 is a request frame format, and FIG. 19-2 is a response format. Common fields for request format and response format: destination address, source address, frame length, frame type, tag, padding field, and frame check sequence.
请求帧的其他字段如下:扩展码(Code,1个字节,固定填0xFE),采用IEEE802.3定义的扩展码;组织标识(值为0xD0D09D),扩展操作码(Opcode值为0x01)、分支字段(Branch,值为0x0F)、叶子字段(Leaf值为0x0106)。The other fields of the request frame are as follows: spreading code (Code, 1 byte, fixed padding 0xFE), using the extension code defined by IEEE802.3; organization identifier (value 0xD0D09D), extended opcode (Opcode value 0x01), branch Field (Branch, value 0x0F), leaf field (Leaf value 0x0106).
响应帧的其他字段如下:扩展码(Code,1个字节,固定填0xFE),采用IEEE802.3定义的扩展码;组织标识(值为0xD0D09D),扩展操作码(Opcode值为0x02)、分支字段(Branch,值为0x0F)、叶子字段(Leaf值为0x0106)、JSON字符长度(Variable Width 1个字节,0x400)、JSON字符串(1024字节)。其中,JSON字符串根据不同命令填充不通的内容。The other fields of the response frame are as follows: spreading code (Code, 1 byte, fixed padding 0xFE), using the IEEE802.3 defined spreading code; organization identifier (value 0xD0D09D), extended opcode (Opcode value 0x02), branch Field (Branch, value 0x0F), leaf field (Leaf value 0x0106), JSON character length (Variable Width 1 byte, 0x400), JSON string (1024 bytes). Among them, the JSON string fills the unreasonable content according to different commands.
需要说明的是,上述每一个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the foregoing modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S11,通过远程服务平台建立用于管理ONU的备用通道,其中,该远程服务平台通过光线路终端OLT上提供的对外接口和ONU进行数据传输,OLT和ONU之间建立有用于传输数据的管理通道;S11, the standby channel for managing the ONU is established through the remote service platform, wherein the remote service platform performs data transmission through the external interface and the ONU provided by the optical line terminal OLT, and a management channel for transmitting data is established between the OLT and the ONU. ;
S12,在确定用于管理ONU的接口Interface连接通道故障后,利用该备用通道管理ONU。S12. After determining that the interface of the interface for managing the ONU is faulty, the backup channel is used to manage the ONU.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
S21,接收终端通过备用通道发送的管理消息,其中,该备用通道为终端 通过远程服务平台建立的,该远程服务平台通过光线路终端OLT上提供的对外接口和光网络单元ONU进行数据传输,该OLT和ONU之间建立有用于传输数据的管理通道;S21. The management terminal sends a management message sent by the standby channel, where the standby channel is a terminal. Established by the remote service platform, the remote service platform performs data transmission through the external interface provided by the optical line terminal OLT and the optical network unit ONU, and a management channel for transmitting data is established between the OLT and the ONU;
S22,根据上述管理消息进行相应的处理;S22, performing corresponding processing according to the foregoing management message;
S23,向上述终端返回处理结果。S23. Return the processing result to the terminal.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A medium that can store program code, such as a hard disk, a disk, or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述步骤11-12。Optionally, in this embodiment, the processor performs the above steps 11-12 according to the stored program code in the storage medium.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述步骤21-23。Optionally, in this embodiment, the processor performs the above steps 21-23 according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
通过本发明实施例中的方案,可以不依赖于带内IP,即使ONU在没有接入公网的时候,终端也可以通过管理通道查询ONU的信息和状态,从而在原有链路有故障时,只要光网络终端的管理通道存在,就可以利用该方法进行故障定位和状态查询等操作,可以作为原有电信规范的手机APP系统的很好补充。The solution in the embodiment of the present invention can be independent of the inband IP. Even when the ONU is not connected to the public network, the terminal can query the information and status of the ONU through the management channel, so that when the original link is faulty, As long as the management channel of the optical network terminal exists, the method can be used for fault location and status inquiry, which can be a good complement to the original mobile phone APP system.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件 的结合。”One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions. The invention is not limited to any particular form of hardware and software Combination of. ”
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请,如本发明实施方式中的具体的实现方法。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the present application are as described above, but the descriptions are only for the purpose of understanding the present application, and are not intended to limit the present application, such as the specific implementation method in the embodiments of the present invention. Any modifications and changes in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the disclosure. The scope defined by the appended claims shall prevail.
工业实用性Industrial applicability
上述技术方案提高了Interface连接通道故障后操作管理ONU的效率。 The above technical solution improves the efficiency of operating the ONU after the interface connection channel fails.

Claims (22)

  1. 一种光网络单元ONU管理的方法,所述方法包括:A method for managing an ONU of an optical network unit, the method comprising:
    通过远程服务平台建立用于管理所述ONU的备用通道,其中,所述远程服务平台通过光线路终端OLT上提供的对外接口和所述ONU进行数据传输,所述OLT和所述ONU之间建立有用于传输数据的管理通道;Establishing, by the remote service platform, an alternate channel for managing the ONU, wherein the remote service platform performs data transmission between the external interface provided by the optical line terminal OLT and the ONU, and the OLT and the ONU are established. There is a management channel for transmitting data;
    在确定用于管理所述ONU的接口Interface连接通道故障后,利用建立的所述备用通道管理所述ONU。After determining that the interface Interface connection channel for managing the ONU is faulty, the ONU is managed by the established alternate channel.
  2. 根据权利要求1所述的方法,其中,所述利用建立的所述备用通道管理所述ONU包括:The method of claim 1, wherein the managing the ONU with the established alternate channel comprises:
    通过所述远程服务平台与所述ONU进行绑定;Binding with the ONU through the remote service platform;
    在通过远程服务平台与ONU绑定成功后,控制建立的所述备用通道进入正常配置模式;After the binding to the ONU is successful through the remote service platform, the standby channel established by the control enters a normal configuration mode;
    利用进入正常配置模式的所述备用通道管理所述ONU。The ONU is managed with the alternate channel entering a normal configuration mode.
  3. 根据权利要求2所述的方法,其中,所述通过所述远程服务平台与所述ONU进行绑定包括:The method of claim 2, wherein the binding by the remote service platform to the ONU comprises:
    获取所述远程服务平台的互联网协议IP地址;Obtaining an internet protocol IP address of the remote service platform;
    根据获取的所述远程服务平台的IP地址向所述远程服务平台下发用于绑定所述ONU的绑定命令,其中,所述绑定命令中携带有所述ONU的系列号SN信息,所述绑定命令用于所述远程服务平台通过OLT向所述ONU传送绑定消息;Deleting a binding command for binding the ONU to the remote service platform according to the acquired IP address of the remote service platform, where the binding command carries the serial number SN information of the ONU, The binding command is used by the remote service platform to transmit a binding message to the ONU through an OLT;
    接收所述ONU对所述绑定命令中携带的所述绑定消息进行处理后返回的绑定结果。Receiving a binding result returned by the ONU after processing the binding message carried in the binding command.
  4. 根据权利要求2所述的方法,其中,所述利用进入正常配置模式的备用通道管理所述ONU包括:The method of claim 2, wherein the managing the ONU with an alternate channel entering a normal configuration mode comprises:
    利用进入正常配置模式的所述备用通道向所述ONU发送用于配置和/或查询所述ONU的管理消息,其中,所述管理消息中携带有唯一标识码;And sending, by the standby channel that enters the normal configuration mode, a management message for configuring and/or querying the ONU, where the management message carries a unique identification code;
    接收所述ONU根据所述管理消息进行处理后通过所述备用通道返回的 处理结果。Receiving, by the ONU, processing, according to the management message, returning through the standby channel process result.
  5. 根据权利要求2所述的方法,所述利用进入正常配置模式的备用通道管理所述ONU之后,所述方法还包括:The method of claim 2, after the managing the ONU by using an alternate channel that enters a normal configuration mode, the method further includes:
    确定所述Interface连接通道是否恢复正常;Determining whether the interface connection channel is restored to normal;
    所述Interface连接通道恢复正常时,解除与所述ONU间的绑定;When the interface connection channel returns to normal, the binding with the ONU is released;
    利用恢复正常的所述Interface连接通道管理所述ONU。The ONU is managed by the interface connection channel that is restored to normal.
  6. 根据权利要求5所述的方法,其中,解除与所述ONU间的绑定关系包括:The method of claim 5, wherein disassociating the binding relationship with the ONU comprises:
    向所述ONU发送解绑定消息;Sending an unbinding message to the ONU;
    接收所述ONU根据所述解绑定消息返回的操作成功结果;Receiving an operation success result returned by the ONU according to the unbinding message;
    根据所述操作成功结果退出所述备用通道。Exiting the alternate channel according to the successful result of the operation.
  7. 一种消息处理的方法,所述方法包括:A method of message processing, the method comprising:
    接收终端通过备用通道发送的管理消息,其中,所述备用通道为所述终端通过远程服务平台建立的,所述远程服务平台通过光线路终端OLT上提供的对外接口和光网络单元ONU进行数据传输,所述OLT和所述ONU之间建立有用于传输数据的管理通道;Receiving, by the terminal, the management message sent by the standby channel, where the standby channel is established by the remote service platform, and the remote service platform transmits data through the external interface provided by the optical line terminal OLT and the optical network unit ONU. A management channel for transmitting data is established between the OLT and the ONU;
    根据接收的所述管理消息进行相应的处理;Performing corresponding processing according to the received management message;
    向所述终端返回所述管理消息的处理结果。Returning the processing result of the management message to the terminal.
  8. 根据权利要求7所述的方法,其中,所述接收终端通过所述备用通道发送的管理消息包括:The method according to claim 7, wherein the management message sent by the receiving terminal through the standby channel comprises:
    接收所述远程服务平台传送的绑定消息,其中,所述绑定消息为所述远程服务平台根据所述终端发送的绑定命令传送的消息,所述绑定命令中携带有ONU的系列号SN信息;Receiving a binding message transmitted by the remote service platform, where the binding message is a message that is sent by the remote service platform according to a binding command sent by the terminal, where the binding command carries a serial number of the ONU SN information;
    对所述绑定消息进行处理;Processing the binding message;
    将绑定成功结果返回给所述终端,其中,所述绑定成功结果用于所述终端控制所述备用通道进入正常配置模式;Returning the successful result of the binding to the terminal, where the binding success result is used by the terminal to control the standby channel to enter a normal configuration mode;
    接收所述终端通过所述进入正常配置模式的备用通道发送的所述管理消 息。Receiving, by the terminal, the management cancellation sent by using the standby channel that enters the normal configuration mode interest.
  9. 根据权利要求8所述的方法,其中,所述管理消息中携带有唯一标识码。The method of claim 8 wherein said management message carries a unique identification code.
  10. 根据权利要求8所述的方法,所述接收所述终端通过所述进入正常配置模式的备用通道发送的所述管理消息之后,所述方法还包括:The method according to claim 8, after the receiving the management message sent by the terminal to the standby channel of the normal configuration mode, the method further includes:
    接收所述终端发送的解绑定消息;Receiving an unbinding message sent by the terminal;
    根据所述解绑定消息进行解绑定操作;Debinding operation according to the unbinding message;
    向所述终端返回解绑定操作成功消息并关闭所述备用通道。Returning an unbinding operation success message to the terminal and closing the alternate channel.
  11. 一种光网络单元ONU管理的装置,所述装置包括:An apparatus for managing an optical network unit ONU, the apparatus comprising:
    建立模块设置为,通过远程服务平台建立用于管理所述ONU的备用通道,其中,所述远程服务平台通过光线路终端OLT上提供的对外接口和所述ONU进行数据传输,所述OLT和所述ONU之间建立有用于传输数据的管理通道;The establishing module is configured to establish, by the remote service platform, an alternate channel for managing the ONU, wherein the remote service platform performs data transmission through the external interface provided by the optical line terminal OLT and the ONU, where the OLT and the A management channel for transmitting data is established between the ONUs;
    管理模块设置为,在确定用于管理所述ONU的接口Interface连接通道故障后,利用建立的所述备用通道管理所述ONU。The management module is configured to manage the ONU by using the established backup channel after determining that the interface Interface connection channel for managing the ONU is faulty.
  12. 根据权利要求11所述的装置,其中,所述管理模块包括:The apparatus of claim 11 wherein said management module comprises:
    绑定单元设置为,通过所述远程服务平台与所述ONU进行绑定;The binding unit is configured to bind to the ONU by using the remote service platform;
    控制单元设置为,在通过远程服务平台与ONU绑定成功后,控制建立的所述备用通道进入正常配置模式;The control unit is configured to control the established standby channel to enter a normal configuration mode after being successfully bound to the ONU through the remote service platform;
    第一管理单元设置为,利用进入正常配置模式的所述备用通道管理所述ONU。The first management unit is configured to manage the ONU with the alternate channel entering a normal configuration mode.
  13. 根据权利要求12所述的装置,其中,所述绑定单元包括:The apparatus of claim 12, wherein the binding unit comprises:
    获取子单元设置为,获取所述远程服务平台的互联网协议IP地址;The obtaining subunit is configured to obtain an internet protocol IP address of the remote service platform;
    下发子单元设置为,根据获取的所述远程服务平台的IP地址向所述远程服务平台下发用于绑定所述ONU的绑定命令,其中,所述绑定命令中携带有所述ONU的系列号SN信息,所述绑定命令用于所述远程服务平台通过OLT向所述ONU传送绑定消息; The sending sub-unit is configured to send a binding command for binding the ONU to the remote service platform according to the acquired IP address of the remote service platform, where the binding command carries the The serial number SN information of the ONU, where the binding command is used by the remote service platform to transmit a binding message to the ONU through the OLT;
    第一接收子单元设置为,接收所述ONU对所述绑定命令中携带的所述绑定消息进行处理后返回的绑定结果。The first receiving subunit is configured to receive a binding result returned by the ONU after processing the binding message carried in the binding command.
  14. 根据权利要求12所述的装置,其中,所述第一管理单元包括:The apparatus of claim 12, wherein the first management unit comprises:
    第一发送子单元设置为,利用进入正常配置模式的所述备用通道向所述ONU发送用于配置和/或查询所述ONU的管理消息,其中,所述管理消息中携带有唯一标识码;The first sending subunit is configured to send a management message for configuring and/or querying the ONU to the ONU by using the standby channel that enters the normal configuration mode, where the management message carries a unique identification code;
    第二接收子单元设置为,接收所述ONU根据所述管理消息进行处理后通过所述备用通道返回的处理结果。The second receiving subunit is configured to receive a processing result returned by the ONU through the standby channel after being processed according to the management message.
  15. 根据权利要求12所述的装置,所述装置还包括:The device of claim 12, the device further comprising:
    确定单元设置为,确定所述Interface连接通道是否恢复正常;The determining unit is configured to determine whether the Interface connection channel returns to normal;
    解除单元设置为,所述Interface连接通道恢复正常时,解除与所述ONU间的绑定关系;The releasing unit is configured to release the binding relationship with the ONU when the Interface connection channel returns to normal;
    第二管理单元设置为,利用恢复正常的所述Interface连接通道管理所述ONU。The second management unit is configured to manage the ONU by using the interface connection channel that is restored to normal.
  16. 根据权利要求15所述的装置,其中,所述解除单元包括:The apparatus according to claim 15, wherein said releasing unit comprises:
    第二发送子单元设置为,向所述ONU发送解绑定消息;The second sending subunit is configured to send an unbinding message to the ONU;
    第三接收子单元设置为,接收所述ONU根据所述解绑定消息返回的操作成功结果;The third receiving subunit is configured to receive an operation success result returned by the ONU according to the unbinding message;
    退出子单元,用于根据所述操作成功结果退出所述备用通道的管理模式。Exiting the subunit, for exiting the management mode of the alternate channel according to the successful result of the operation.
  17. 一种终端,所述终端包括权利要求11至16中任一项所述的装置。A terminal comprising the apparatus of any one of claims 11 to 16.
  18. 一种消息处理的装置,所述装置包括:A device for message processing, the device comprising:
    第一接收模块设置为,接收终端通过备用通道发送的管理消息,其中,所述备用通道为所述终端通过远程服务平台建立的,所述远程服务平台通过光线路终端OLT上提供的对外接口和光网络单元ONU进行数据传输,所述OLT和所述ONU之间建立有用于传输数据的管理通道;The first receiving module is configured to receive, by the terminal, a management message sent by the standby channel, where the standby channel is established by the terminal through the remote service platform, and the remote service platform passes the external interface and the light provided by the optical line terminal OLT. The network unit ONU performs data transmission, and a management channel for transmitting data is established between the OLT and the ONU;
    处理模块设置为,根据所述管理消息进行相应的处理;The processing module is configured to perform corresponding processing according to the management message;
    第一返回模块设置为,向所述终端返回处理结果。 The first return module is configured to return a processing result to the terminal.
  19. 根据权利要求18所述的装置,其中,所述第一接收模块包括:The apparatus of claim 18, wherein the first receiving module comprises:
    第一接收单元设置为,接收所述远程服务平台传送的绑定消息,其中,所述绑定消息为所述远程服务平台根据所述终端发送的绑定命令传送的消息,所述绑定命令中携带有ONU的系列号SN信息;The first receiving unit is configured to receive a binding message transmitted by the remote service platform, where the binding message is a message that is sent by the remote service platform according to a binding command sent by the terminal, and the binding command is The serial number SN information of the ONU is carried therein;
    处理单元设置为,对所述绑定消息进行处理;The processing unit is configured to process the binding message;
    返回单元设置为,将绑定成功结果返回给所述终端,其中,所述绑定成功结果用于所述终端控制所述备用通道进入正常配置模式;The returning unit is configured to return a successful binding result to the terminal, where the binding success result is used by the terminal to control the standby channel to enter a normal configuration mode;
    第二接收单元设置为,接收所述终端通过所述进入正常配置模式的备用通道发送的管理消息。The second receiving unit is configured to receive a management message sent by the terminal by using the standby channel that enters the normal configuration mode.
  20. 根据权利要求19所述的装置,其中,所述管理消息中携带有唯一标识码。The apparatus of claim 19, wherein the management message carries a unique identification code.
  21. 根据权利要求19所述的装置,所述装置还包括:The device of claim 19, the device further comprising:
    第二接收模块设置为,接收所述终端发送的解绑定消息;The second receiving module is configured to receive an unbinding message sent by the terminal;
    操作模块设置为,根据所述解绑定消息进行解绑定操作;The operation module is configured to perform an unbinding operation according to the unbinding message;
    第二返回模块设置为,向所述终端返回解绑定操作成功消息并关闭所述备用通道。The second return module is configured to return an unbinding operation success message to the terminal and close the standby channel.
  22. 一种光网络单元ONU,所述光网络单元包括权利要求18至21中任一项所述的装置。 An optical network unit ONU, the optical network unit comprising the apparatus of any one of claims 18 to 21.
PCT/CN2016/083182 2015-06-29 2016-05-24 Optical network unit (onu) management method and message processing method and device WO2017000710A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510369631.5 2015-06-29
CN201510369631.5A CN106330505A (en) 2015-06-29 2015-06-29 Optical network unit (ONU) management method, message processing method and devices

Publications (1)

Publication Number Publication Date
WO2017000710A1 true WO2017000710A1 (en) 2017-01-05

Family

ID=57607685

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/083182 WO2017000710A1 (en) 2015-06-29 2016-05-24 Optical network unit (onu) management method and message processing method and device

Country Status (2)

Country Link
CN (1) CN106330505A (en)
WO (1) WO2017000710A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282548A (en) * 2018-01-20 2018-07-13 中天宽带技术有限公司 PON device dynamic managements DNS management systems based on the libraries cloud platform ip and its management method
CN111327970B (en) * 2018-12-13 2022-04-26 中国电信股份有限公司 Passive optical network management channel, establishment method and system, sending end and receiving end

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080253769A1 (en) * 2007-04-16 2008-10-16 Accton Technology Corporation Management method of optical fiber network system
CN102035661A (en) * 2009-09-24 2011-04-27 中兴通讯股份有限公司 Method, device and system for managing optical network unit
CN102064986A (en) * 2010-12-07 2011-05-18 杭州通谷科技有限公司 Intelligent management equipment of Ethernet circuit to home and method for establishing switching circuit
CN102316392A (en) * 2011-09-22 2012-01-11 中兴通讯股份有限公司 Method for realizing optical network unit (ONU) redundancy protection in fiber to the home (FTTH) network, apparatus and system thereof
US20120128349A1 (en) * 2010-11-19 2012-05-24 Hitachi, Ltd. Passive optical network system, station side apparatus and power consumption control method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100426739C (en) * 2005-04-13 2008-10-15 华为技术有限公司 Network unit long-distance management system and method
CN101141193B (en) * 2007-09-24 2010-12-29 中兴通讯股份有限公司 Method of remote managing user side equipment in Gbit passive optical network system
CN101873221B (en) * 2009-04-21 2015-04-01 中兴通讯股份有限公司 Management method and system of optical network unit
CN101902447B (en) * 2009-05-28 2012-12-26 华为技术有限公司 Authentication method and device in passive optical network and passive optical network
CN103378918B (en) * 2012-04-19 2019-08-06 中兴通讯股份有限公司 Channel method of adjustment and device
US8818188B2 (en) * 2012-10-05 2014-08-26 Telefonaktiebolaget L M Ericsson (Publ) Traffic generation and analysis for ONU emulation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080253769A1 (en) * 2007-04-16 2008-10-16 Accton Technology Corporation Management method of optical fiber network system
CN102035661A (en) * 2009-09-24 2011-04-27 中兴通讯股份有限公司 Method, device and system for managing optical network unit
US20120128349A1 (en) * 2010-11-19 2012-05-24 Hitachi, Ltd. Passive optical network system, station side apparatus and power consumption control method
CN102064986A (en) * 2010-12-07 2011-05-18 杭州通谷科技有限公司 Intelligent management equipment of Ethernet circuit to home and method for establishing switching circuit
CN102316392A (en) * 2011-09-22 2012-01-11 中兴通讯股份有限公司 Method for realizing optical network unit (ONU) redundancy protection in fiber to the home (FTTH) network, apparatus and system thereof

Also Published As

Publication number Publication date
CN106330505A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN107959622B (en) Intelligent home gateway system and intelligent home gateway
CA2736527C (en) Reducing cc message transmission in a provider network
CN107360105B (en) SDN management control method, device and system and OLT
CN116208525A (en) Method, equipment and system for detecting data message
EP2961101B1 (en) Method, system and optical network terminal for ethernet performance detection
CN103259685A (en) Method for detecting link failures and network equipment
WO2012000251A1 (en) Software upgrading method and system for optical node in ethernet passive optical network
WO2017198003A1 (en) Service processing method and system
US9900100B2 (en) Optical line terminal, communication control method, and communication control program
JPWO2012050071A1 (en) Communication system, control device, processing rule setting method and program
CN101242370B (en) Method for realizing Ethernet and frame-relay Internet and protocol conversion device
CN104703165A (en) Wireless access processing method, retransmitting equipment and network controller
WO2017000710A1 (en) Optical network unit (onu) management method and message processing method and device
CN110391961A (en) A kind of tunnel binding method, equipment and system
US11791898B2 (en) Method, device and computer-readable storage medium implemented in optical network
WO2016101582A1 (en) Method for configuring and implementing operations, administration and maintenance function, and forwarding device
CN1996880A (en) Method and network device of the self-adapted management network device
CN114189485A (en) Network port management method and system of switch and computer readable storage medium
CN103327643B (en) Information transferring method, device between microwave network element and microwave network element
CN106559234B (en) Control message sending method and device
EP3562101A1 (en) Bras management method, packet forwarding method, packet forwarding controller, and bras
WO2021259097A1 (en) Communication method, communication device, and storage medium
US9191281B2 (en) Systems and methods for configuring a demarcation device
CN108449204B (en) ROF equipment management system and method
JP5246812B2 (en) COMMUNICATION SYSTEM, CLIENT DEVICE, SERVER DEVICE, AND COMMUNICATION SETTING METHOD

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

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

Country of ref document: EP

Kind code of ref document: A1