CN112351355B - Management method and system of ONU channel based on gPC - Google Patents

Management method and system of ONU channel based on gPC Download PDF

Info

Publication number
CN112351355B
CN112351355B CN202011127110.6A CN202011127110A CN112351355B CN 112351355 B CN112351355 B CN 112351355B CN 202011127110 A CN202011127110 A CN 202011127110A CN 112351355 B CN112351355 B CN 112351355B
Authority
CN
China
Prior art keywords
message
onu
management
channel
management message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011127110.6A
Other languages
Chinese (zh)
Other versions
CN112351355A (en
Inventor
张超
梁炎华
吴繁
杨义
胡媛媛
张岚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202011127110.6A priority Critical patent/CN112351355B/en
Publication of CN112351355A publication Critical patent/CN112351355A/en
Application granted granted Critical
Publication of CN112351355B publication Critical patent/CN112351355B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Abstract

The invention discloses a management method and a system of an ONU channel based on gRPC, wherein the management method comprises the following steps: the virtual OMCI module and the OLT establish a traditional channel, the master control panel and the service line card establish a master-slave channel, the service line card and the ONU establish a PON channel, and the virtual OMCI module and the version server both establish a data channel with the ONU; the virtual OMCI module judges the function type of the management message; if the management message is a performance statistics message or an upgrade message, the management message is sent to the ONU through a data channel; and if the management message is a control message, the management message is sent to a main control panel of the OLT through a traditional channel, the main control panel sends the management message to a service line card through a main channel and a slave channel, and the service line card sends the management message to the ONU through a PON channel. In the invention, two channels are adopted to manage the ONU aiming at different service characteristics, thereby meeting the requirements of the virtual OLT system on different service processing efficiencies.

Description

Management method and system of ONU channel based on gPC
Technical Field
The invention belongs to the field of optical communication, and particularly relates to a management method and a management system of an ONU channel based on a gPC (gateway GPRS).
Background
In an access Network system, an OMCI (ONU Management and Control Interface, abbreviated as OMCI) module for managing an ONU (Optical Network Unit) is located in an OLT (OLT) device, and since there is a difference between the OMCI modules of different manufacturers, in order to implement the intercommunication between the OLT and the ONU of different manufacturers, it is necessary to test the OLT and the ONU of different manufacturers, and modify software, so as to implement the intercommunication. The whole workload is large, and the technology is complicated.
In the virtual OLT system, the OMCI module is virtualized, and the virtual OMCI module manages the ONU of each manufacturer, so that the problem of intercommunication between the OLT and the ONU of different manufacturers can be solved. But in the virtual OLT system, the OMCI module is virtualized and a management and control module is added. When the virtual OLT system is configured, the network manager feeds back the IP of the entity OLT and the IP of the virtual OMCI module corresponding to the entity OLT to the management and control module, and the management and control module sends the IP of the virtual OMCI module to the entity OLT after being connected with the entity OLT. After the entity OLT receives the IP of the virtual OMCI module, the master control disk of the entity OLT actively initiates a connection to the virtual OMCI module, and establishes a gRPC (generic Remote Procedure Call, abbreviated as gRPC) channel, where the gRPC channel is used to transmit a general OMCI message. The network manager communicates with the virtual OMCI module through the management and control module and manages the ONU, the main control disk receives the gPC packet sent by the virtual OMCI module, analyzes the OMCI message, adds a main and auxiliary protocol message header, sends the data packet to the service line card through a main and auxiliary channel of the main control disk and the service line card, and sends the data packet to the ONU through the PON channel after the service line card analyzes the OMCI message. The message sent from the ONU can also reversely go through the PON channel, the master-slave channel and the gPC channel to transmit the message to the virtual OMCI module.
When the message passes through the different channels, the packet unpacking and packing processes are repeated, not only the processor resources of the master control panel and the service line cards are occupied, but also the master channel and the slave channel are occupied, when the message is very long or the number of the message is very large, the communication rate is greatly reduced, the processor occupancy rates of the master control panel and the service line cards are also very high, and the system efficiency is reduced.
Disclosure of Invention
In view of the above drawbacks or needs of the prior art, the present invention provides a method and system for managing a gRPC-based ONU channel, the method aims to adopt two channels to manage the ONU, respectively realize different functions, meet the requirements of a virtual OLT system on different service processing efficiencies, the management message with the performance statistic function is transmitted through the data channel, so that the occupation of a master channel and a slave channel of the OLT can be greatly reduced, the utilization rate of processors of a master control disk and a service line card is reduced, therefore, when the message passes through different channels, the message can be unpacked and packed for multiple times, which not only occupies the processor resources of the master control panel and the service line card, and the master-slave channel is occupied, when the message is very long or the number is very large, the communication rate is reduced greatly, the occupancy rate of the processors of the master control disk and the service line card is also high, and the technical problem of system efficiency reduction is caused.
To achieve the above object, according to an aspect of the present invention, there is provided a management method of a gRPC-based ONU channel, the management method being applied to a PON system including: the management method comprises the following steps that a version server, a virtual OMCI module, an OLT and an ONU, wherein the OLT comprises a master control panel and a service line card, and the management method comprises the following steps:
the virtual OMCI module and the OLT establish a traditional channel, the master control panel and the service line card establish a master-slave channel, the service line card and the ONU establish a PON channel, and the virtual OMCI module and the version server both establish a data channel with the ONU;
the virtual OMCI module judges the function type of the management message;
if the management message is a performance statistics message or an upgrade message, the virtual OMCI module sends the management message to the ONU through the data channel;
if the management message is a control message, the virtual OMCI module sends the management message to a master control panel of the OLT through the traditional channel, the master control panel sends the management message to the service line card through the master channel and the slave channel, and the service line card sends the management message to the ONU through the PON channel.
Preferably, the management method further comprises:
the ONU receives the management message and judges the type of the management message;
if the management message is a performance statistics message, the ONU obtains a response message according to the management message and sends the response message to the virtual OMCI module through the data channel;
if the management message is an upgrade message, the ONU obtains a response message according to the management message, and sends the response message to a version server through the data channel to obtain an upgrade file for upgrading;
and if the management message is a control message, the ONU obtains a response message according to the management message, and sends the response message to a service line card of the OLT through the PON channel, the service line card sends the response message to the master control panel through a master-slave channel, and the master control panel sends the response message to the virtual OMCI module through the traditional channel.
Preferably, the establishing, by both the virtual OMCI module and the version server, a data channel with the ONU includes:
after the ONU obtains the authorization of the OLT, the OLT issues the IP of the virtual OMCI module or the IP of the version server to the ONU;
and after acquiring the own IP, the ONU establishes connection with the IP of the virtual OMCI module or the IP of the version server by utilizing the own IP so as to form the data channel and transmit the message to corresponding equipment according to the target IP carried in the message.
Preferably, the master control panel includes a first switching chip, the service line card includes a second switching chip, an uplink port of the OLT is connected to a first port of the first switching chip, a second port of the first switching chip is connected to a first port of the second switching chip, a second port of the second switching chip is connected to a PON port, and the PON port is connected to the ONU;
the virtual OMCI module and the version server establish data channels with the ONU and further comprise:
after receiving an instruction for configuring a VLAN of an uplink port of the OLT, the OLT adds the uplink port into a first VLAN;
the OLT adds the first port of the first switching chip, the second port of the first switching chip, the first port of the second switching chip, the second port of the second switching chip and the PON port to the first VLAN so as to open a channel between an uplink port of the OLT and the PON port of the ONU, thereby ensuring that messages passing through the uplink port, the master control panel and the service line card can be directly forwarded to corresponding equipment;
and the upper connection port of the OLT is connected with the virtual OMCI module and the version server.
Preferably, if the management packet is a performance statistics packet or an upgrade packet, sending the management packet to the ONU through the data channel includes:
if the management message is a performance statistics message or an upgrade message, the virtual OMCI module performs gPC protocol encapsulation on a first management message in an OMCI format to obtain a second management message;
the virtual OMCI module issues the second management message to a main control panel of the OLT, and a first switching chip of the main control panel directly sends the second management message to the service line card;
the second exchange chip of the service line card sends the second management message to the ONU;
and the ONU decapsulates the second management message, removes the gPC protocol encapsulation and obtains the first management message.
Preferably, if the management packet is a performance statistics packet, obtaining a response packet according to the management packet, and sending the response packet to the virtual OMCI module through the data channel includes:
the ONU obtains a first response message according to the first management message;
the ONU carries out gPC protocol encapsulation on the first response message to obtain a second response message;
and the ONU sends the second response message to the service line card, a second exchange chip of the service line card is sent to the master control panel, and a first exchange chip of the master control panel is sent to the virtual OMCI module.
Preferably, if the management packet is a control packet, the virtual OMCI module sends the management packet to a master control panel of the OLT through the legacy channel, the master control panel sends the management packet to the service line card through the master channel and the slave channel, and the service line card sends the management packet to the ONU through the PON channel includes:
if the management message is a control message, the virtual OMCI module performs gPC protocol encapsulation on a third management message in an OMCI format to obtain a fourth management message, and the fourth management message is issued to a master control panel of the OLT;
the first switching chip of the master control disk sends the fourth management message to the processor of the master control disk, the processor of the master control disk unpacks the fourth management message, removes gPC protocol encapsulation to obtain a third management message, and performs master-slave protocol encapsulation on the third management message to obtain a fifth management message;
the master control disk sends the fifth management message to the service line card through the master-slave channel, a second switching chip of the service line card sends the fifth management message to a processor of the service line card, and the processor of the service line card decapsulates the fifth management message and obtains a third management message after removing master-slave protocol encapsulation;
and the service line card sends the third management message to the ONU through a PON channel.
According to another aspect of the present invention, there is provided a gRPC-based PON system, the PON system including: the optical line terminal comprises a virtual OMCI module, an OLT and an ONU, wherein the OLT comprises a main control panel and a service line card, the virtual OMCI module and the OLT establish a traditional channel, the main control panel and the service line card establish a main channel and a subordinate channel, the service line card and the ONU establish a PON channel, and the virtual OMCI module and the version server both establish a data channel with the ONU;
the virtual OMCI module is used for judging the function type of a management message, and if the management message is a performance statistics message or an upgrade message, the management message is sent to the ONU through the data channel;
if the management message is a control message, the management message is sent to a master control panel of the OLT through the traditional channel, the master control panel sends the management message to the service line card through the master channel and the slave channel, and the service line card sends the management message to the ONU through the PON channel.
Preferably, the ONU is configured to receive the management packet, determine the type of the response packet, and if the management packet is a performance statistics packet, obtain, by the ONU, a response packet according to the management packet, and send the response packet to the virtual OMCI module through the data channel;
if the management message is an upgrade message, the ONU obtains a response message according to the management message, and sends the response message to a version server through the data channel to obtain an upgrade file for upgrading;
and if the management message is a control message, the ONU obtains a response message according to the management message, and sends the response message to a service line card of the OLT through the PON channel, the service line card sends the response message to the master control panel through a master-slave channel, and the master control panel sends the response message to the virtual OMCI module through the traditional channel.
Preferably, after the ONU obtains the authorization of the OLT, the OLT is configured to issue the IP of the virtual OMCI module or the IP of the version server to the ONU;
and after acquiring the own IP, the ONU establishes connection with the IP of the virtual OMCI module or the IP of the version server by utilizing the own IP so as to form the data channel and transmit the message to corresponding equipment according to the target IP carried in the message.
Generally, compared with the prior art, the technical scheme of the invention has the following beneficial effects: the invention provides a management method and a system of an ONU channel based on gRPC, wherein the management method comprises the following steps: the virtual OMCI module and the OLT establish a traditional channel, the master control panel and the service line card establish a master-slave channel, the service line card and the ONU establish a PON channel, and the virtual OMCI module and the version server both establish a data channel with the ONU; the virtual OMCI module judges the function type of the management message; if the management message is a performance statistics message or an upgrade message, the virtual OMCI module sends the management message to the ONU through the data channel; if the management message is a control message, the virtual OMCI module sends the management message to a master control panel of the OLT through a traditional channel, the master control panel sends the management message to a service line card through the master channel and the slave channel, and the service line card sends the management message to the ONU through the PON channel.
In the invention, aiming at different service characteristics, two channels are adopted to manage the ONU, different functions are respectively realized, and the requirements of the virtual OLT system on different service processing efficiencies are met. For the common management function, the management message still goes through the master-slave channel to manage the ONU, and the software change is small. The management message with the performance statistics function is transmitted through the data channel without walking a master-slave channel or encoding and decoding by a processor of a master control disk and a service line card, so that the occupation of the master-slave channel of the OLT can be greatly reduced, the utilization rate of the processors of the master control disk and the service line card is reduced, and the number of the ONUs for performing performance statistics by the OLT at the same time can be increased.
The management message of the ONU upgrading function is routed through a data channel, and the data channel is used for connecting and downloading the upgrading file, so that the defect of low efficiency caused by that the upgrading is carried out by using OMCI (operation management interface) and needs to be split into small packets is avoided, the file downloading speed is high, the upgrading time can be shortened, and the number of ONUs which can be simultaneously upgraded by the OLT is increased.
Drawings
Fig. 1 is a schematic structural diagram of a gRPC-based PON system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a management method for an ONU channel based on a gRPC according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another management method for an ONU channel based on a gRPC according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1:
referring to fig. 1, the present invention provides a gRPC-based PON system, which includes: the optical line terminal comprises a version server, a virtual OMCI module, an OLT and an ONU, wherein the OLT comprises a main control panel and a service line card, an upgrade file is stored in the version server, the virtual OMCI module and the OLT establish a traditional channel, the traditional channel is a channel based on gRPC, the main control panel and the service line card establish a main channel and a subordinate channel, the service line card and the ONU establish a PON channel, the virtual OMCI module and the version server both establish a data channel with the ONU, the data channel is also a channel based on gRPC, and the difference between the traditional channel and the data channel is as follows: the message of the data channel is directly connected to the ONU from the virtual OMCI module or the version server, and the data of the path does not need to be processed by a main control panel and a service line card CPU; the message of the traditional channel is processed by a main control panel and a service line card CPU in the process from the virtual OMCI module to the ONU.
The virtual OMCI module is used for judging the function type of a management message, and if the management message is a performance statistics message or an upgrade message, the management message is sent to the ONU through the data channel; if the management message is a control message, the management message is sent to a master control panel of the OLT through the traditional channel, the master control panel sends the management message to the service line card through the master channel and the slave channel, and the service line card sends the management message to the ONU through the PON channel.
The ONU is used for receiving the management message and judging the type of the response message, if the management message is a performance statistics message, the ONU obtains the response message according to the management message and sends the response message to the virtual OMCI module through the data channel;
if the management message is an upgrade message, the ONU obtains a response message according to the management message, and sends the response message to a version server through the data channel to obtain an upgrade file for upgrading;
and if the management message is a control message, the ONU obtains a response message according to the management message, and sends the response message to a service line card of the OLT through the PON channel, the service line card sends the response message to the master control panel through a master-slave channel, and the master control panel sends the response message to the virtual OMCI module through the traditional channel.
Namely, the virtual OMCI module manages the ONU through two management channels: one is a traditional channel + a master-slave channel + a PON channel, and the management message is encapsulated by gRPCs, then flows from the virtual OMCI module to the master control panel through the traditional channel, flows to the service line card through the master-slave channel, and then flows to the ONU through the PON channel; one is a data channel, and after the management message is encapsulated by the gPC and then is sent to the master control disk from the virtual OMCI module or the version server, the management message directly passes through the data channel to the ONU without passing through a master channel and a slave channel.
When the management message passes through a data channel, the virtual OMCI module packages a first management message in an OMCI format by a gPC protocol to obtain a second management message, the second management message is issued to a main control panel of the OLT, a switching chip of the main control panel directly forwards the second management message to a service line card, the switching chip of the service line card sends the second management message to the ONU through a PON channel, a processor of the ONU unpacks the second management message, removes the gPC protocol package to obtain the first management message, and obtains a response message based on the first management message. The response message from the ONU to the virtual OMCI module is the reverse process of the above process, and is not described herein again.
When the management message goes through the master-slave channel, the virtual OMCI module encapsulates the third management message in the OMCI format by the gPC protocol to obtain a fourth management message, and the fourth management message is sent to the main control disk of the OLT, the switching chip of the main control disk transfers the fourth management message to the processor of the main control disk, the processor of the main control disk unpacks the fourth management message, removes the gPC protocol encapsulation to obtain a third management message, and after the third management message is subjected to the master-slave protocol encapsulation, obtaining a fifth management message, sending the fifth management message to the service line card through the master-slave channel, transmitting the fifth management message to a processor of the service line card by the service line card, decapsulating the fifth management message by the processor of the service line card, removing the master-slave protocol encapsulation to obtain a third management message, and then sending the third management message to the ONU through the PON channel, and the ONU obtains a response message based on the third management message. The response message from the ONU to the virtual OMCI module is the reverse process of the above process, and is not described herein again.
In this embodiment, when the virtual OLT system is configured, the network manager feeds back the IP of the OLT and the IP of the virtual OMCI module to the management and control module, and the management and control module, after connecting to the OLT, sends the IP of the virtual OMCI module to the entity OLT. Meanwhile, the network manager also issues the IP of the version server to the control module, and the control module issues the IP of the version server to the OLT. After the ONU obtains the authorization of the OLT, the OLT can manage the ONU, and after the ONU obtains the authorization of the OLT, the OLT is used for issuing the IP of the virtual OMCI module or the IP of the version server to the ONU; and after acquiring the own IP, the ONU establishes connection with the IP of the virtual OMCI module or the IP of the version server by utilizing the own IP so as to form the data channel and transmit the message to corresponding equipment according to the target IP carried in the message.
The OLT comprises a master control panel and a service line card, the master control panel comprises a first exchange chip, the service line card comprises a second exchange chip, an upper connection port of the OLT is connected with a first port of the first exchange chip, a second port of the first exchange chip is connected with a first port of the second exchange chip, a second port of the second exchange chip is connected with a PON port, and the PON port is connected with the ONU.
The PON system further comprises a management and control module, the management and control module is connected with a network manager, the management and control module is connected with the virtual OMCI module, and for management messages for managing the ONU, the network manager sends the management messages to the virtual OMCI module through the management and control module and sends the management messages to the ONU through the virtual OMCI module; for the message for directly managing the OLT, the network manager directly transmits the message to the OLT.
In this embodiment, the OLT acquires a VEIP (Virtual Ethernet Interface Point, abbreviated as VEIP) message sent by a network manager, and sends the VEIP message to the ONU; the VEIP information comprises VLAN ID, the ONU is configured according to the VEIP information, and the VLAN is added to packets sent from the ONU to the OLT; the OLT configures an exchange chip of the main control panel and an exchange chip of the service line card based on the VEIP information so as to open a channel between an upper connection port of the OLT and a PON port of the service line card where the ONU is located, thereby ensuring that messages passing through the upper connection port, the main control panel and the service line card can be directly forwarded to external equipment; and the upper connection port of the OLT is connected with the virtual OMCI module and the version server.
Specifically, after receiving an instruction for configuring a Virtual Local Area Network (VLAN) of an uplink port of the OLT, the OLT adds the uplink port to a first VLAN; the OLT adds a first port of the first switching chip, a second port of the first switching chip, a first port of the second switching chip and a second port of the second switching chip, which is connected with the PON port, to the first VLAN so as to open a channel between an uplink port of the OLT and the PON port of the ONU, thereby ensuring that messages passing through the uplink port, the master control panel and the service line card can be directly forwarded to corresponding equipment; and the upper connection port of the OLT is connected with the virtual OMCI module and the version server.
In the foregoing description, the structure and transmission mechanism of the PON system are described in detail in embodiment 2 below, with respect to the management method of the gRPC-based ONU channel used in conjunction with the PON system.
Example 2:
referring to fig. 3, the present embodiment provides a management method for an ONU channel based on a gRPC, where the management method is applied to a PON system, and the PON system includes: the management method comprises the following steps:
step 101: the virtual OMCI module and the OLT establish a traditional channel, the master control panel and the service line card establish a master-slave channel, the service line card and the ONU establish a PON channel, and the virtual OMCI module and the version server both establish a data channel with the ONU.
Step 102: and the virtual OMCI module judges the function type of the management message.
Wherein, the management message can be divided into a performance statistic message, an upgrade message and a control message according to the function, if the management message is the performance statistic message or the upgrade message, the step 103 is executed; if the management packet is a control packet, step 104 is executed.
Step 103: and if the management message is a performance statistics message or an upgrade message, the virtual OMCI module sends the management message to the ONU through the data channel.
Step 104: if the management message is a control message, the virtual OMCI module sends the management message to a master control panel of the OLT through the traditional channel, the master control panel sends the management message to the service line card through the master channel and the slave channel, and the service line card sends the management message to the ONU through the PON channel.
The channel selection is performed for the virtual OMCI module to send the management message to the ONU, and correspondingly, when the ONU sends the response message to the virtual OMCI module or the version server, the channel where the response message travels can be determined according to the function of the management message. Referring to fig. 3, the management method further includes the steps of:
step 201: and the ONU receives the management message and judges the type of the management message.
Wherein, the management message can be divided into a performance statistic message, an upgrade message and a control message according to the function, if the management message is the performance statistic message, the step 202 is executed; if the management message is an upgrade message, executing step 203; if the management packet is a control packet, go to step 204.
Step 202: and if the management message is a performance statistics message, the ONU obtains a response message according to the management message and sends the response message to the virtual OMCI module through the data channel.
In this embodiment, after the response packet is encapsulated by the gRPC protocol, the encapsulated response packet is sent to the service line card of the OLT, the service line card of the OLT sends the encapsulated response packet to the main control panel of the OLT, and the main control panel of the OLT sends the encapsulated response packet to the virtual OMCI module.
Step 203: and if the management message is an upgrading message, the ONU obtains a response message according to the management message, and sends the response message to a version server through the data channel so as to obtain an upgrading file for upgrading.
In this embodiment, after the response packet is encapsulated by the gRPC protocol, the encapsulated response packet is sent to the service line card of the OLT, the service line card of the OLT sends the encapsulated response packet to the main control panel of the OLT, and the main control panel of the OLT sends the encapsulated response packet to the version server.
Step 204: if the management message is a control message, obtaining a response message according to the management message, and sending the response message to a service line card of the OLT through the PON channel, wherein the service line card sends the response message to the master control panel through a master-slave channel, and the master control panel sends the response message to the virtual OMCI module through the traditional channel.
In a specific application scenario, the establishing, by the virtual OMCI module and the version server, a data channel with the ONU includes: after the ONU obtains the authorization of the OLT, the OLT issues the IP of the virtual OMCI module or the IP of the version server to the ONU; after the ONU acquires the IP of the ONU, the method for acquiring the IP of the ONU comprises the following steps: static Configuration, Web interface Configuration, and DHCP (Dynamic Host Configuration Protocol, abbreviated as DHCP) acquisition. And then, the ONU establishes connection with the IP of the virtual OMCI module or the IP of the version server by utilizing the IP of the ONU, so that a data channel is formed, and the message is transmitted to corresponding equipment according to the target IP carried in the message. And sending the message to corresponding equipment according to the destination IP carried in the message.
Further, the master control panel includes a first switching chip, the service line card includes a second switching chip, an uplink port of the OLT is connected to a first port of the first switching chip, a second port of the first switching chip is connected to a first port of the second switching chip, a second port of the second switching chip is connected to a PON port, and the PON port is connected to the ONU. The process that the virtual OMCI module and the version server establish a data channel with the ONU further comprises the following steps: after receiving an instruction for configuring a VLAN of an uplink port of the OLT, adding the uplink port into a first VLAN; the OLT adds a first port of the first switching chip, a second port of the first switching chip, a first port of the second switching chip and a second port of the second switching chip, which is connected with the PON port, to the first VLAN so as to open a channel between an uplink port of the OLT and the PON port of the ONU, thereby ensuring that messages passing through the uplink port, the master control panel and the service line card can be directly forwarded to corresponding equipment; and the upper connection port of the OLT is connected with the virtual OMCI module and the version server.
In conjunction with the aforementioned data channel, in step 103, the following process is specifically included: if the management message is a performance statistics message or an upgrade message, the virtual OMCI module performs gPC protocol encapsulation on a first management message in an OMCI format to obtain a second management message; the virtual OMCI module issues the second management message to a main control panel of the OLT, and a first switching chip of the main control panel directly sends the second management message to the service line card; the second exchange chip of the service line card sends the second management message to the ONU; and the ONU decapsulates the second management message, removes the gPC protocol encapsulation and obtains a first management message.
Corresponding to step 103, in step 202, the following process is specifically included: the ONU obtains a first response message according to the first management message; the ONU carries out gPC protocol encapsulation on the first response message to obtain a second response message; and the ONU sends the second response message to the service line card, a second switching chip of the service line card sends the second response message to the master control panel, and a first switching chip of the master control panel sends the second response message to the virtual OMCI module.
That is, for the performance statistics function, the ONU encapsulates the performance statistics packet to be reported with the gRPC protocol, and sends the packet to the virtual OMCI module via the data channel. And after receiving the performance statistic packet, the virtual OMCI module removes gPC package to obtain performance statistic data, and performs subsequent processing, wherein the message for inquiring the performance statistic by the subsequent virtual OMCI module also passes through a data channel.
Corresponding to step 103, in step 203, the following process is specifically included: the ONU obtains a first response message according to the first management message; the ONU carries out gPC protocol encapsulation on the first response message to obtain a second response message; and the ONU sends the second response message to the service line card, a second switching chip of the service line card sends the second response message to the master control panel, and a first switching chip of the master control panel sends the second response message to the version server. The management message carries the IP, the user name, the password and the file name of the version server, and the ONU establishes connection between the IP of the ONU and the IP of the version server to form a data channel.
And the version server authenticates according to the second response message, wherein the second response message carries a user name, a password and a file name, authenticates through the user name and the password, acquires a corresponding upgrade file through the file name after the authentication is passed, and sends the upgrade file to the OMU through a data channel.
For the upgrading function, the network manager sends the IP, the user name, the password and the file name of the version server storing the ONU upgrading file to the ONU through the virtual OMCI module through a data channel, the ONU establishes gPC connection with the version server by using the IP of the ONU after receiving the information, the ONU sends the user name and the password to the version server, the version server checks the user name and the password, the ONU sends the file name to the version server after passing the authentication, the version server finds the version file according to the file name, the ONU can download the required version file through a gPC protocol, and the ONU continues the subsequent upgrading process after downloading the version file.
In step 104, the method specifically includes the following steps: if the management message is a control message, the virtual OMCI module performs gPC protocol encapsulation on a third management message in an OMCI format to obtain a fourth management message, and the fourth management message is issued to a master control panel of the OLT; the first switching chip of the master control disk sends the fourth management message to the processor of the master control disk, the processor of the master control disk unpacks the fourth management message, removes gPC protocol encapsulation to obtain a third management message, and performs master-slave protocol encapsulation on the third management message to obtain a fifth management message; the master control disk sends the fifth management message to the service line card through the master-slave channel, a second switching chip of the service line card sends the fifth management message to a processor of the service line card, and the processor of the service line card decapsulates the fifth management message and obtains a third management message after removing master-slave protocol encapsulation; and the service line card sends the third management message to the ONU through a PON channel.
Corresponding to step 104, step 204 specifically includes: the ONU obtains a third response message in an OMCI format according to the third management message, and sends the third response message to a service line card of the OLT through a PON channel, a processor of the service line card of the OLT encapsulates the third response message in a master-slave protocol to obtain a fourth response message, the service line card of the OLT sends the fourth response message to a master control disk of the OLT through the master-slave channel, the processor of the master control disk of the OLT de-encapsulates the fourth response message to remove the master-slave protocol encapsulation to obtain a third response message, the master control disk of the OLT encapsulates the third response message in a gPC protocol to obtain a fifth response message and sends the fifth response message to the virtual OMCI module, and the virtual OMCI module de-encapsulates the fifth response message to obtain the third response message.
For other management functions of the ONU, the master-slave channel is still taken.
In this embodiment, for different service characteristics, two channels are used to manage the ONUs, so as to implement different functions, respectively, and meet the requirements of the virtual OLT system on different service processing efficiencies. For the common management function, the management message still goes through the master-slave channel to manage the ONU, and the software change is small. The management message with the performance statistics function is transmitted through the data channel without walking a master-slave channel or encoding and decoding by a processor of a master control disk and a service line card, so that the occupation of the master-slave channel of the OLT can be greatly reduced, the utilization rate of the processors of the master control disk and the service line card is reduced, and the number of the ONUs for performing performance statistics by the OLT at the same time can be increased.
The management message of the ONU upgrading function is routed through a data channel, and the data channel is used for connecting and downloading the upgrading file, so that the defect of low efficiency caused by that the upgrading is carried out by using OMCI (operation management interface) and needs to be split into small packets is avoided, the file downloading speed is high, the upgrading time can be shortened, and the number of ONUs which can be simultaneously upgraded by the OLT is increased.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A management method of ONU channels based on gRPC is characterized in that the management method is applied to a PON system, and the PON system comprises: the management method comprises the following steps that a version server, a virtual OMCI module, an OLT and an ONU, wherein the OLT comprises a master control panel and a service line card, and the management method comprises the following steps:
the virtual OMCI module and the OLT establish a gPC traditional channel, the master control disk and the service line card establish a master-slave channel, the service line card and the ONU establish a PON channel, and the virtual OMCI module and the version server both establish a gPC data channel with the ONU; the virtual OMCI module and the version server establish a gPC data channel with the ONU, and the method comprises the following steps: after the ONU obtains the authorization of the OLT, the OLT issues the IP of the virtual OMCI module or the IP of the version server to the ONU; after acquiring the IP of the ONU, the ONU establishes connection with the IP of the virtual OMCI module or the IP of the version server by utilizing the IP of the ONU, so that a gPC data channel is formed, and the message is transmitted to corresponding equipment according to the target IP carried in the message;
the virtual OMCI module judges the function type of the management message;
if the management message is a performance statistics message or an upgrade message, the virtual OMCI module sends the management message to the ONU through the gRPC data channel;
if the management message is a control message, the virtual OMCI module sends the management message to a master control disk of the OLT through the gPC traditional channel, the master control disk sends the management message to the service line card through the master channel and the slave channel, and the service line card sends the management message to the ONU through the PON channel.
2. The management method according to claim 1, wherein the management method further comprises:
the ONU receives the management message and judges the type of the management message;
if the management message is a performance statistics message, the ONU obtains a response message according to the management message and sends the response message to the virtual OMCI module through the gRPC data channel;
if the management message is an upgrade message, the ONU obtains a response message according to the management message, and sends the response message to a version server through the gRPC data channel to obtain an upgrade file for upgrading;
and if the management message is a control message, the ONU obtains a response message according to the management message, and sends the response message to a service line card of the OLT through the PON channel, the service line card sends the response message to the main control panel through a master-slave channel, and the main control panel sends the response message to the virtual OMCI module through the gPC conventional channel.
3. The management method according to claim 1, wherein the master controller includes a first switch chip, the service line card includes a second switch chip, the uplink port of the OLT is connected to the first port of the first switch chip, the second port of the first switch chip is connected to the first port of the second switch chip, the second port of the second switch chip is connected to a PON port, and the PON port is connected to the ONU;
the virtual OMCI module and the version server establish a gPC data channel with the ONU and further comprise:
after receiving an instruction for configuring a VLAN of an uplink port of the OLT, the OLT adds the uplink port into a first VLAN;
the OLT adds the first port of the first switching chip, the second port of the first switching chip, the first port of the second switching chip, the second port of the second switching chip and the PON port to the first VLAN so as to open a channel between an uplink port of the OLT and the PON port of the ONU, thereby ensuring that messages passing through the uplink port, the master control panel and the service line card can be directly forwarded to corresponding equipment;
and the upper connection port of the OLT is connected with the virtual OMCI module and the version server.
4. The management method according to claim 3, wherein if the management packet is a performance statistics packet or an upgrade packet, sending the management packet to the ONU through the gRPC data channel includes:
if the management message is a performance statistics message or an upgrade message, the virtual OMCI module performs gPC protocol encapsulation on a first management message in an OMCI format to obtain a second management message;
the virtual OMCI module issues the second management message to a main control panel of the OLT, and a first switching chip of the main control panel directly sends the second management message to the service line card;
the second exchange chip of the service line card sends the second management message to the ONU;
and the ONU decapsulates the second management message, removes the gPC protocol encapsulation and obtains the first management message.
5. The management method according to claim 4, wherein if the management packet is a performance statistics packet, obtaining a response packet according to the management packet, and sending the response packet to the virtual OMCI module through the gRPC data channel includes:
the ONU obtains a first response message according to the first management message;
the ONU carries out gPC protocol encapsulation on the first response message to obtain a second response message;
and the ONU sends the second response message to the service line card, a second exchange chip of the service line card is sent to the master control panel, and a first exchange chip of the master control panel is sent to the virtual OMCI module.
6. The management method according to claim 3, wherein if the management packet is a control packet, the virtual OMCI module sends the management packet to a master control disk of the OLT through the gRPC legacy channel, the master control disk sends the management packet to the service line card through the master and slave channels, and the service line card sends the management packet to the ONU through the PON channel includes:
if the management message is a control message, the virtual OMCI module performs gPC protocol encapsulation on a third management message in an OMCI format to obtain a fourth management message, and the fourth management message is issued to a master control panel of the OLT;
the first switching chip of the master control disk sends the fourth management message to the processor of the master control disk, the processor of the master control disk unpacks the fourth management message, removes gPC protocol encapsulation to obtain a third management message, and performs master-slave protocol encapsulation on the third management message to obtain a fifth management message;
the master control disk sends the fifth management message to the service line card through the master-slave channel, a second switching chip of the service line card sends the fifth management message to a processor of the service line card, and the processor of the service line card decapsulates the fifth management message and obtains a third management message after removing master-slave protocol encapsulation;
and the service line card sends the third management message to the ONU through a PON channel.
7. A gRPC-based PON system, the PON system comprising: the system comprises a virtual OMCI module, an OLT and an ONU, wherein the OLT comprises a main control disk and a service line card, the virtual OMCI module and the OLT establish a gPC traditional channel, the main control disk and the service line card establish a main channel and a slave channel, the service line card and the ONU establish a PON channel, and the virtual OMCI module and a version server both establish a gPC data channel with the ONU; after the ONU obtains the authorization of the OLT, the OLT is used for issuing the IP of the virtual OMCI module or the IP of the version server to the ONU; after acquiring the IP of the ONU, the ONU establishes connection with the IP of the virtual OMCI module or the IP of the version server by utilizing the IP of the ONU, so that a gPC data channel is formed, and the message is transmitted to corresponding equipment according to the target IP carried in the message;
the virtual OMCI module is used for judging the function type of a management message, and if the management message is a performance statistics message or an upgrade message, the management message is sent to the ONU through the gPC data channel;
if the management message is a control message, the management message is sent to a master control disk of the OLT through the gPC traditional channel, the master control disk sends the management message to the service line card through the master channel and the slave channel, and the service line card sends the management message to the ONU through the PON channel.
8. The PON system of claim 7, wherein the ONU is configured to receive the management packet and determine a type of a response packet, and if the management packet is a performance statistics packet, the ONU obtains a response packet according to the management packet and sends the response packet to the virtual OMCI module through the gRPC data channel;
if the management message is an upgrade message, the ONU obtains a response message according to the management message, and sends the response message to a version server through the gRPC data channel to obtain an upgrade file for upgrading;
and if the management message is a control message, the ONU obtains a response message according to the management message, and sends the response message to a service line card of the OLT through the PON channel, the service line card sends the response message to the main control panel through a master-slave channel, and the main control panel sends the response message to the virtual OMCI module through the gPC conventional channel.
CN202011127110.6A 2020-10-20 2020-10-20 Management method and system of ONU channel based on gPC Active CN112351355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011127110.6A CN112351355B (en) 2020-10-20 2020-10-20 Management method and system of ONU channel based on gPC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011127110.6A CN112351355B (en) 2020-10-20 2020-10-20 Management method and system of ONU channel based on gPC

Publications (2)

Publication Number Publication Date
CN112351355A CN112351355A (en) 2021-02-09
CN112351355B true CN112351355B (en) 2022-04-15

Family

ID=74359151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011127110.6A Active CN112351355B (en) 2020-10-20 2020-10-20 Management method and system of ONU channel based on gPC

Country Status (1)

Country Link
CN (1) CN112351355B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115140B (en) * 2021-06-11 2021-09-07 武汉长光科技有限公司 Communication method, device, equipment, system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047453A (en) * 2006-04-25 2007-10-03 华为技术有限公司 Managing method and system for optical network unit or optical network terminal
CN202190367U (en) * 2011-08-02 2012-04-11 成都锐达智诚科技有限责任公司 Long-range passive optical network system using remote protocol converter

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710999A (en) * 2012-05-29 2012-10-03 南京邮电大学 Method for transmitting and processing OMCI (ont management and control interface) messages in GPON (gigabit passive optical network)
CN105471603B (en) * 2014-08-19 2020-12-11 中兴通讯股份有限公司 Method, device and system for remotely configuring PTP (precision time protocol) service of optical network unit
CN104243206B (en) * 2014-09-03 2017-12-29 烽火通信科技股份有限公司 Realize the system and method to ONU radio function centralized configuration and managements
CN107294753B (en) * 2016-04-11 2019-06-25 中兴通讯股份有限公司 A kind of method that SDN/NFV opens access net system and manages ONU/ONT
US10560190B2 (en) * 2018-05-09 2020-02-11 Greenwave Systems Pte. Ltd. Adapting to differing optical line termination characteristics
CN110858779B (en) * 2018-08-24 2022-03-29 中兴通讯股份有限公司 ONU channel processing method, device and computer readable storage medium
CN110519101B (en) * 2019-09-06 2021-11-02 烽火通信科技股份有限公司 Method and system for dynamic virtualization of performance management function of entity OLT (optical line terminal)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047453A (en) * 2006-04-25 2007-10-03 华为技术有限公司 Managing method and system for optical network unit or optical network terminal
CN202190367U (en) * 2011-08-02 2012-04-11 成都锐达智诚科技有限责任公司 Long-range passive optical network system using remote protocol converter

Also Published As

Publication number Publication date
CN112351355A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
KR101536141B1 (en) Apparatus and method for converting signal between ethernet and can in a vehicle
KR101472399B1 (en) Method, system and controlling bridge for obtaining port extension topology information
KR101690853B1 (en) Optical line terminal device and implementation method thereof
WO2016169246A1 (en) Access convergence device and authentication and registration method
US9621685B2 (en) Architecture for an access network system management protocol control under heterogeneous network management environment
EP1841114A1 (en) Station-side apparatus of wavelength multiplexing PON system, wavelength and network address allotting method and program thereof
CN111954100B (en) Interface upgrading method and device and optical network unit management method and device
CN112351355B (en) Management method and system of ONU channel based on gPC
EP3086508B1 (en) Fiber-to-the-distribution point device and communication method therefor
CN113055296B (en) Data processing method, device and system and terminal equipment
CN108306755B (en) Method and system for establishing management channel
CN113890680A (en) Transmission method applied to fiber channel avionics network DDS
CN106506306B (en) Method and device for transmitting data message
WO2023208116A1 (en) Management and control method and apparatus, communication device, and computer storage medium
CN110446275A (en) A kind of method, terminal and the system of E1 point-to-point communication
CN109803322B (en) Data frame forwarding system and method
WO2017020292A1 (en) Optical access device and optical access system
EP4120637A1 (en) Dialing message processing method, network elements, system, and network device
JP7225809B2 (en) PON station side device, management server, PON system, and subscriber line management method
CN105337757A (en) Line card management method and system
JP2020155888A (en) Subscriber line aggregation device, pon station side device, pon system and subscriber line aggregation device control method
CN114389776B (en) Service processing method and device
CN101977247B (en) Method and exchange equipment for realizing N:1 VLAN translation
CN108449204B (en) ROF equipment management system and method
JP2009135681A (en) Communication system and media converter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant