





技术领域technical field
本发明涉及网络通信技术领域,尤其涉及使光网络终端支持多种协议的方法及系统。The invention relates to the technical field of network communication, in particular to a method and a system for enabling an optical network terminal to support multiple protocols.
背景技术Background technique
无源光网络(PON)技术是一种点对多点的光纤传输和接入技术,下行采用广播方式、上行采用时分多址方式,可以灵活地组成树型、星型、总线型等拓扑结构,在光分支点不需要节点设备,只需要安装一个简单的无源光分路器,光信号在传输过程中不再经过放大和再生,网络的分路由光分路器来实现。Passive Optical Network (PON) technology is a point-to-multipoint optical fiber transmission and access technology. The downlink adopts broadcast mode and the uplink adopts time division multiple access mode. It can flexibly form tree, star, bus and other topological structures. , No node equipment is required at the optical branch point, only a simple passive optical splitter needs to be installed, the optical signal is no longer amplified and regenerated during transmission, and the splitting of the network is realized by the optical splitter.
目前的无源光网络(PON)技术主要存在宽带无源光网络(BPON),以太网无源光网络(EPON),千兆传输无源光网络GPON,波分复用无源光网络(WDM-PON)等实现方法。这些实现方法中或者采用在光线路终端(OLT)和光网络单元(ONU)或光网络终端(ONT)使用光处理器进行数据发送或者接收,或者采用不同波长进行波分复用传输,以获得对数据的及时发送和有效接收。The current passive optical network (PON) technologies mainly include broadband passive optical network (BPON), Ethernet passive optical network (EPON), gigabit transmission passive optical network GPON, wavelength division multiplexing passive optical network (WDM) -PON) and other implementation methods. These implementation methods either use an optical processor to send or receive data at the optical line terminal (OLT) and optical network unit (ONU) or optical network terminal (ONT), or use different wavelengths for wavelength division multiplexing transmission to obtain Timely transmission and effective reception of data.
PON网络的基本构成包括OLT、ODN、ONU或ONT。其中OLT的作用相当于服务器端,ONU或者ONT相当于客户端,ODN是无源光纤传输介质。The basic composition of the PON network includes OLT, ODN, ONU or ONT. Among them, the role of the OLT is equivalent to the server end, the ONU or ONT is equivalent to the client end, and the ODN is a passive optical fiber transmission medium.
BPON、EPON、GPON、WDM-PON网络包括一个光纤接入的无源光网络,它由一个局端设备、一个光分路器、多个远端的终端设备和多根光纤组成。在局端设备和光分路器之间通过一根光纤连接,形成光纤的主干路。分路器采用多根光纤和多个远端终端设备连接。BPON, EPON, GPON, and WDM-PON networks include a passive optical network with optical fiber access, which consists of a central office device, an optical splitter, multiple remote terminal devices, and multiple optical fibers. A fiber optic connection is used between the central office equipment and the optical splitter to form a fiber optic trunk. The splitter uses multiple optical fibers to connect multiple remote terminal devices.
BPON的传输速率为上行155Mbps,下行155Mbps或者622Mbps,是一种基于ATM信元的无源光网络传输。The transmission rate of BPON is uplink 155Mbps, downlink 155Mbps or 622Mbps, which is a passive optical network transmission based on ATM cells.
EPON的传输速率为上行125Mbps,下行1.25Gbps,是一种基于以太网的无源光网络传输。The transmission rate of EPON is 125Mbps uplink and 1.25Gbps downlink. It is a passive optical network transmission based on Ethernet.
GPON是有千兆传输能力的无源光网络,兼顾ATM信元和数据包的传输。GPON is a passive optical network with gigabit transmission capability, taking into account the transmission of ATM cells and data packets.
目前的实现方案是各种PON技术分别拥有并使用自己的OLT、ONU和ONT,属于不同PON技术的设备互相之间彼此独立,不能互相兼容。每种PON都必须使用能够识别自身网络协议的ONT,致使需要针对不同的网络设计制造不同的设备,无法使用同一设备接收来自不同类型网络的信号,资源利用率低下,设备管理繁杂。The current implementation scheme is that each PON technology owns and uses its own OLT, ONU, and ONT, and devices belonging to different PON technologies are independent of each other and cannot be compatible with each other. Each type of PON must use an ONT that can identify its own network protocol, resulting in the need to design and manufacture different devices for different networks, and it is impossible to use the same device to receive signals from different types of networks, resulting in low resource utilization and complicated device management.
发明内容Contents of the invention
鉴于上述现有技术所存在的问题,本发明要实现网络终端设备支持以多种协议类型进行传输的信号。In view of the above-mentioned problems in the prior art, the present invention realizes that the network terminal equipment supports signals transmitted in multiple protocol types.
本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:
一种使光网络终端支持多种协议的方法,包括:A method of enabling an optical network terminal to support multiple protocols, comprising:
光网络终端对接收的数据信号进行协议识别;The optical network terminal performs protocol identification on the received data signal;
根据识别到的协议类型对光网络终端进行相应的协议选择和配置,使光网络终端可以接收不同协议类型的数据信号。According to the recognized protocol type, corresponding protocol selection and configuration are performed on the optical network terminal, so that the optical network terminal can receive data signals of different protocol types.
所述的协议识别包括:The protocol identification includes:
光网络终端设备的检测电路检测光线路终端下行传输的数据帧的数据特征,根据数据帧的标识差异将不同的协议标识符输出至协议识别控制单元进行协议的识别。The detection circuit of the optical network terminal equipment detects the data characteristics of the data frame transmitted downlink by the optical line terminal, and outputs different protocol identifiers to the protocol identification control unit for protocol identification according to the identification difference of the data frame.
所述的协议识别的类型包括:宽带无源光网络、千兆比特无源光网络或以太无源光网络。The type of protocol identification includes: broadband passive optical network, gigabit passive optical network or Ethernet passive optical network.
所述协议的选择和配置包括:The selection and configuration of the protocol includes:
协议代码预先未存储于光网络终端的协议存储设备中,光线路终端根据光线路终端自身的要求和/或光网络单元或光网络终端的请求把协议代码下载至光网络单元或光网络终端。The protocol code is not stored in the protocol storage device of the optical network terminal in advance, and the optical line terminal downloads the protocol code to the optical network unit or the optical network terminal according to the requirements of the optical line terminal itself and/or the request of the optical network unit or the optical network terminal.
所述协议的选择和配置包括:The selection and configuration of the protocol includes:
协议代码预先存储于与光网络终端相连的智能设备中,智能设备根据用户的配置以及光网络单元或光网络终端的请求选择、执行协议代码,通过与光网络单元或光网络终端之间的接口进行数据通讯;The protocol code is pre-stored in the smart device connected to the optical network terminal. The smart device selects and executes the protocol code according to the configuration of the user and the request of the optical network unit or the optical network terminal, and through the interface with the optical network unit or the optical network terminal data communication;
光网络终端或光网络单元执行物理层数据发送、接收、数据适配功能。The optical network terminal or optical network unit performs the functions of sending, receiving and adapting data at the physical layer.
所述协议的选择和配置包括:The selection and configuration of the protocol includes:
协议代码预先存储于光网络终端的协议存储设备中,光网络单元或光网络终端根据无源光网络协议识别的结果选择执行相应的协议代码。The protocol code is pre-stored in the protocol storage device of the optical network terminal, and the optical network unit or the optical network terminal selects and executes the corresponding protocol code according to the result of passive optical network protocol identification.
所述协议的选择和配置包括:The selection and configuration of the protocol includes:
协议代码预先存储于光网络终端的协议存储设备中,光网络单元或光网络终端根据无源光网络协议识别的结果进行协议转化,将无源光网络协议转化为一种通用协议。The protocol code is pre-stored in the protocol storage device of the optical network terminal, and the optical network unit or the optical network terminal performs protocol conversion according to the identification result of the passive optical network protocol, and converts the passive optical network protocol into a general protocol.
所述光网络终端协议存储设备在物理上和逻辑上均可以进行更换或增加。The optical network terminal protocol storage device can be replaced or added both physically and logically.
在发送端使用兼容不同速度的光处理器进行数据发送。At the sending end, an optical processor compatible with different speeds is used for data transmission.
对接收信号进行协议识别前先对信号进行恢复,所述的信号恢复包括信号数据恢复和信号时间恢复。Before performing protocol identification on the received signal, the signal is restored, and the signal restoration includes signal data restoration and signal time restoration.
一种在使光网络终端支持多种协议的系统,包括:A system for enabling optical network terminals to support multiple protocols, including:
协议识别模块,用于对所接收信号的数据流进行多种协议数据帧并行扫描检测,判定该数据流的协议类型;The protocol identification module is used to perform parallel scanning detection of multiple protocol data frames on the data stream of the received signal, and determine the protocol type of the data stream;
协议配置模块,用于根据识别出的协议类型为数据处理模块配置协议。The protocol configuration module is configured to configure a protocol for the data processing module according to the identified protocol type.
所述协议识别模块包括:The protocol identification module includes:
宽带无源光网络识别子模块,用于识别在宽带无源光网络中传输的数据信号的协议类型;The broadband passive optical network identification sub-module is used to identify the protocol type of the data signal transmitted in the broadband passive optical network;
千兆比特无源光网络识别子模块,用于识别在千兆比特无源光网络中传输的数据信号的协议类型;The gigabit passive optical network identification sub-module is used to identify the protocol type of the data signal transmitted in the gigabit passive optical network;
以太无源光网络识别子模块,用于识别在以太无源光网络中传输的数据信号的协议类型。The Ethernet passive optical network identification sub-module is used to identify the protocol type of the data signal transmitted in the Ethernet passive optical network.
所述协议配置模块包括:The protocol configuration module includes:
协议代码下载配置子模块:控制光线路终端,使其根据光线路终端自身的要求和/或光网络单元或光网络终端的请求把协议代码下载至光网络单元或光网络终端,然后使用该协议代码进行协议配置;Protocol code download configuration sub-module: control the optical line terminal to download the protocol code to the optical network unit or optical network terminal according to the requirements of the optical line terminal itself and/or the request of the optical network unit or optical network terminal, and then use the protocol Code for protocol configuration;
协议代码智能控制配置子模块:使用智能设备,根据用户的配置以及光网络单元或光网络终端的请求选择、执行存储于智能设备中的协议代码进行协议配置;Protocol code intelligent control configuration sub-module: use the smart device to select and execute the protocol code stored in the smart device to configure the protocol according to the configuration of the user and the request of the optical network unit or optical network terminal;
协议代码预存储配置子模块:将协议代码预先存储于光网络终端的协议存储设备中,根据无源光网络协议识别的结果选择执行相应的协议代码进行协议配置;Protocol code pre-storage configuration sub-module: pre-store the protocol code in the protocol storage device of the optical network terminal, select and execute the corresponding protocol code for protocol configuration according to the result of passive optical network protocol identification;
协议代码转换配置子模块:将预先存储于光网络终端的协议存储设备中的协议代码转化为一种通用协议,执行该通用协议代码进行协议配置。Protocol code conversion configuration sub-module: convert the protocol code pre-stored in the protocol storage device of the optical network terminal into a general protocol, and execute the general protocol code to configure the protocol.
由上述本发明提供的技术方案可以看出,本发明使用一个网络终端便可以接收多种协议的信号,简化了光网络终端的设计与制造,有利于光网络终端的批量化生产和广泛推广;减少光网络终端数量,方便网络设备管理;提高兼容性,易于制定统一标准。It can be seen from the above-mentioned technical solution provided by the present invention that the present invention can receive signals of various protocols by using one network terminal, which simplifies the design and manufacture of optical network terminals, and is conducive to mass production and wide promotion of optical network terminals; Reduce the number of optical network terminals to facilitate network equipment management; improve compatibility and facilitate the formulation of unified standards.
附图说明Description of drawings
图1所示为本发明的基本结构示意图;Fig. 1 shows the basic structural representation of the present invention;
图2所示为以太网数据帧结构示意图;Figure 2 is a schematic diagram of the Ethernet data frame structure;
图3所示为8B10B码变换示意图;Figure 3 shows a schematic diagram of 8B10B code conversion;
图4所示为GPON下行数据帧结构;Figure 4 shows the GPON downlink data frame structure;
图5所示为ONU同步状态机工作原理图;Fig. 5 shows the working principle diagram of ONU synchronous state machine;
图6所示为BPON下行流数据帧结构示意图;Figure 6 is a schematic diagram of the structure of a BPON downstream data frame;
图7所示为OLT下载协议代码的协议配置方案流程示意图;Fig. 7 shows the schematic flow chart of the protocol configuration scheme of OLT download protocol code;
图8所示为通过智能设备管理协议代码的协议配置方案流程示意图;FIG. 8 is a schematic flow diagram of a protocol configuration scheme for managing protocol codes through smart devices;
图9所示为直接使用协议存储设备的协议配置方案流程示意图;FIG. 9 is a schematic flow diagram of a protocol configuration scheme for directly using a protocol storage device;
图10所示为通过协议转化进行的协议配置方案流程示意图;FIG. 10 is a schematic flow diagram of a protocol configuration scheme through protocol conversion;
图11所示为本发明的系统示意图。Fig. 11 is a schematic diagram of the system of the present invention.
具体实施方式Detailed ways
本发明的核心是在光网络终端中添加协议检测、识别功能,对所接收的信号进行协议类型的检测、识别;在获取信号的协议类型后为系统选择、配置该协议,最终根据具体协议的规定进行相应的数据收发处理。The core of the present invention is to add protocol detection and identification functions to the optical network terminal to detect and identify the protocol type of the received signal; after the protocol type of the signal is obtained, the protocol is selected and configured for the system, and finally according to the specific protocol It is stipulated to carry out corresponding data sending and receiving processing.
具体一点讲,本发明所述的无源光网络中使光网络终端支持多种协议的方法可以分为协议的检测、识别和协议的选择、配置两个部分。To be specific, the method for enabling the optical network terminal to support multiple protocols in the passive optical network of the present invention can be divided into two parts: protocol detection and identification, protocol selection and configuration.
本发明中对协议的检测、识别主要通过检测电路单元完成。In the present invention, the detection and identification of the protocol are mainly completed by the detection circuit unit.
本发明中的检测电路单元用于检测来自光传输网络的数据信号,对输入检测电路的数据流信号进行多种协议数据帧的并行扫描检测,判定电路中数据流的协议类型,并将所得到的协议检测状态值发送给协议识别控制单元。The detection circuit unit in the present invention is used to detect data signals from the optical transmission network, perform parallel scanning detection of multiple protocol data frames on the data stream signals input into the detection circuit, determine the protocol type of the data stream in the circuit, and convert the obtained The protocol detection status value is sent to the protocol identification control unit.
对传输数据的协议检测、识别首先需要使用ONU或ONT中的检测电路单元对OLT所接收的下行数据传输帧进行检测,分析其数据特征,找出所接收的各个数据帧标识差异。For the protocol detection and identification of the transmitted data, it is first necessary to use the detection circuit unit in the ONU or ONT to detect the downlink data transmission frame received by the OLT, analyze its data characteristics, and find out the difference in the identification of each data frame received.
根据不同数据帧的标识差异将与数据帧对应的控制数据,即协议标识符,发送至ONU或ONT的协议识别控制单元。According to the identification difference of different data frames, the control data corresponding to the data frames, that is, the protocol identifier, is sent to the protocol identification control unit of the ONU or ONT.
ONU或ONT的协议识别控制单元根据所接收到的协议标识符识别出网络中所传输数据的协议类型,以便为不同协议类型的数据进行协议配置。The protocol identification control unit of the ONU or ONT identifies the protocol type of the data transmitted in the network according to the received protocol identifier, so as to perform protocol configuration for data of different protocol types.
由于本发明中使用的网络类型包括但不限于BPON、EPON、GPON,因此对于每种网络类型都需要设有相应的协议检测、识别方法。Since the network types used in the present invention include but are not limited to BPON, EPON, and GPON, corresponding protocol detection and identification methods need to be provided for each network type.
本发明的另一个重要部分是根据已检测出的协议类型为数据信号进行协议的选择和配置。Another important part of the invention is the protocol selection and configuration for the data signal based on the detected protocol type.
在获取协议类型信息后,为数据信号进行协议的选择和配置可使用多种方式,包括:After obtaining the protocol type information, there are many ways to select and configure the protocol for the data signal, including:
经协议识别后,ONU、ONT中的各种PON协议代码刚开始并不存储在协议存储设备中,而是通过OLT在ONU、ONT在刚开始工作时根据OLT设备的要求或根据ONU或ONT的请求把协议代码下载到ONU或ONT中,也可以直接将所需的PON代码下载至ONU或ONT中,以实现一种ONU/ONT硬件设备可以运行所有的PON代码;After being identified by the protocol, the various PON protocol codes in the ONU and ONT are not stored in the protocol storage device at the beginning, but are stored through the OLT according to the requirements of the OLT device or according to the requirements of the ONU or ONT when the ONU and ONT start to work. Request to download the protocol code to ONU or ONT, or directly download the required PON code to ONU or ONT, so as to realize that an ONU/ONT hardware device can run all PON codes;
或,or,
经协议识别后,将ONU、ONT中的各种PON协议代码刚开始并不存储在协议存储设备中,而是存储在和这个协议存储设备相连的智能设备中,并且主要或全部在智能设备中执行,在ONU或ONT开始工作时,智能设备根据用户的配置或根据ONU或ONT的请求选择并执行相应的PON协议代码,并通过智能设备和ONU或ONT之间的接口进行通讯,ONT、ONU主要执行物理层数据发送、接收、数据适配的功能;After the protocol identification, the various PON protocol codes in the ONU and ONT are not stored in the protocol storage device at first, but are stored in the smart device connected to the protocol storage device, and mainly or all in the smart device Execution, when the ONU or ONT starts to work, the smart device selects and executes the corresponding PON protocol code according to the configuration of the user or according to the request of the ONU or ONT, and communicates through the interface between the smart device and the ONU or ONT, ONT, ONU Mainly perform the functions of physical layer data sending, receiving, and data adaptation;
或,or,
经协议识别后,将ONU、ONT的各种PON协议代码在刚开始时存入协议存储设备中,协议存储设备在物理上或者逻辑上可以更换或增加,ONU或ONT根据PON协议识别产生的请求选择执行相应的协议代码;After the protocol identification, the various PON protocol codes of the ONU and ONT are stored in the protocol storage device at the beginning. The protocol storage device can be replaced or added physically or logically, and the request generated by the ONU or ONT according to the PON protocol identification Choose to execute the corresponding protocol code;
或,or,
经协议识别后,将ONU、ONT中的各种PON协议代码在刚开始时存入协议存储设备中,协议存储设备在物理上或者逻辑上可以更换或增加,ONU或ONT根据PON协议识别的结果进行协议的转化,将PON协议转化为一种通用协议。After the protocol identification, the various PON protocol codes in the ONU and ONT are stored in the protocol storage device at the beginning. The protocol storage device can be replaced or added physically or logically. The result of ONU or ONT identification according to the PON protocol Carry out the conversion of the protocol, and convert the PON protocol into a general protocol.
经过以上对数据信号的协议识别和配置后,将配置好的数据输入业务适配和控制单元,对业务数据进行业务优先级分类和流量控制,最终发送给光网络终端用户。After the protocol identification and configuration of the data signal above, the configured data is input into the service adaptation and control unit, and the business data is classified by business priority and flow controlled, and finally sent to the end user of the optical network.
下面将结合附图对本发明所述的一种使光网络终端支持多种协议的方法及系统作详细说明。A method and system for enabling an optical network terminal to support multiple protocols according to the present invention will be described in detail below with reference to the accompanying drawings.
图1所示为本发明的基本结构示意图。Figure 1 shows a schematic diagram of the basic structure of the present invention.
本发明所述的一种使光网络终端支持多种协议的方法主要是在光网络终端中添加协议检测、识别功能,对所接收的信号进行协议类型的检测、识别;在获取信号的协议类型后为系统配置该协议,最终根据具体协议的规定进行相应的数据收发处理。A method for enabling an optical network terminal to support multiple protocols according to the present invention is mainly to add protocol detection and identification functions to the optical network terminal to detect and identify the protocol type of the received signal; Finally, configure the protocol for the system, and finally perform corresponding data sending and receiving processing according to the provisions of the specific protocol.
本发明可主要分为对所接收数据信号的协议检测、识别和协议的配置两个部分。The present invention can be mainly divided into two parts: the protocol detection and identification of the received data signal and the configuration of the protocol.
对所接收数据信号的协议检测、识别在图1所示的检测电路中实现。The protocol detection and identification of the received data signal are realized in the detection circuit shown in Fig. 1 .
检测电路单元用于检测来自光传输网络的数据信号,对输入检测电路的数据流信号进行多种协议数据帧的并行扫描检测,判定电路中数据流的协议类型,并将所得到的协议检测状态值发送给协议识别控制单元。The detection circuit unit is used to detect the data signal from the optical transmission network, perform parallel scanning detection of multiple protocol data frames on the data flow signal input to the detection circuit, determine the protocol type of the data flow in the circuit, and check the obtained protocol detection status The value is sent to the protocol identification control unit.
对传输数据的协议检测、识别首先需要使用ONU或ONT中的检测电路单元对OLT所接收的下行数据传输帧进行检测,分析其数据特征,找出所接收的各个数据帧标识差异。For the protocol detection and identification of the transmitted data, it is first necessary to use the detection circuit unit in the ONU or ONT to detect the downlink data transmission frame received by the OLT, analyze its data characteristics, and find out the difference in the identification of each data frame received.
根据不同数据帧的标识差异将与数据帧对应的控制数据,即协议标识符,发送至ONU或ONT的协议识别控制单元。According to the identification difference of different data frames, the control data corresponding to the data frames, that is, the protocol identifier, is sent to the protocol identification control unit of the ONU or ONT.
本发明中使用的网络类型包括但不限于BPON、EPON、GPON,因此针对每种网络类型都设有相应的协议检测、识别方法。The network types used in the present invention include but are not limited to BPON, EPON, and GPON, so corresponding protocol detection and identification methods are provided for each network type.
如图2所示为以太网数据帧结构示意图;As shown in Figure 2, it is a schematic diagram of the Ethernet data frame structure;
如图3所示为8B10B码变换示意图。As shown in Figure 3, it is a schematic diagram of 8B10B code transformation.
对下行数据流的EPON标识检测包括:EPON identification detection of downstream data flow includes:
所接收的数据进入检测电路单元后进入该电路中的逻辑单元,直接对10B数据流进行检测。The received data enters the detection circuit unit and then enters the logic unit in the circuit to directly detect the 10B data stream.
当10B数据流的检测结果满足以下4个条件时即可认为该数据帧为EPON帧,所述的条件为:When the detection result of the 10B data flow satisfies the following four conditions, the data frame can be considered as an EPON frame, and the conditions are:
在10B数据流中检测到1010100110,即在8B数据流中检测到Oxd5;1010100110 is detected in the 10B data stream, that is, Oxd5 is detected in the 8B data stream;
在检测到1010100110后立即连续检测到两个1010100101,即8B数据流中的0x55,且1010100101紧接在1010100110的后面;Immediately after detecting 1010100110, two 1010100101s are detected continuously, that is, 0x55 in the 8B data stream, and 1010100101 is immediately behind 1010100110;
在找到上述数据流后,在SFD的位置找到0010011110;After finding the above data flow, find 0010011110 at the location of SFD;
能够在一定时间内重复实现上述3个条件。The above three conditions can be repeatedly realized within a certain period of time.
如图4所示为GPON下行数据帧结构;Figure 4 shows the GPON downlink data frame structure;
如图5所示为ONU同步状态机工作原理图。As shown in FIG. 5, it is a working principle diagram of the ONU synchronization state machine.
对下行数据流的GPON标识检测包括:GPON identification detection for downstream data flow includes:
如图所示的GPON的同步码字(Psync)为:0xB6AB31E0。The synchronization code word (Psync) of GPON as shown in the figure is: 0xB6AB31E0.
所接收的数据进入检测电路单元后进入该电路中的逻辑单元,直接对数据流进行检测。The received data enters the detection circuit unit and then enters the logic unit in the circuit to directly detect the data flow.
当数据流的检测结果满足以下3个条件时即可认为该数据帧为GPON帧,所述的条件为:When the detection result of the data flow satisfies the following three conditions, the data frame can be considered as a GPON frame, and the conditions are:
检测到码字0xB6AB31E0;Codeword 0xB6AB31E0 detected;
上述码字0x B6AB31E0能够重复出现;The above codeword 0x B6AB31E0 can appear repeatedly;
各种参数满足图5所示的同步状态机的要求,达到Sync state状态。Various parameters meet the requirements of the synchronization state machine shown in Figure 5 and reach the Sync state.
如图6所示为BPON下行流数据帧结构示意图。FIG. 6 is a schematic diagram of a structure of a BPON downstream data frame.
对下行数据流的BPON标识检测包括:BPON identification detection for downstream data flow includes:
如图所示,数据帧中设置BPON同步码字:SYNC1、SYNC2。As shown in the figure, the BPON synchronization code words: SYNC1 and SYNC2 are set in the data frame.
所接收的数据进入检测电路单元后进入该电路中的逻辑单元,直接对数据流进行检测。The received data enters the detection circuit unit and then enters the logic unit in the circuit to directly detect the data flow.
当数据流的检测结果满足以下2个条件时即可认为该数据帧为BPON帧,所述的条件为:When the detection result of the data flow satisfies the following two conditions, the data frame can be considered as a BPON frame, and the conditions are:
检测到码字SYNC1、SYNC2;Codewords SYNC1 and SYNC2 are detected;
所述码字SYNC1、SYNC2在固定间隔内重复出现。The codewords SYNC1 and SYNC2 appear repeatedly at fixed intervals.
上述分别针对EPON、GPON、BPON的三种检测方法对某一下行数据数据流同时作用,下行数据数据流被复制成三份,分别接入具有EPON、GPON、BPON检测功能的三个电路中。The above three detection methods for EPON, GPON, and BPON respectively act on a certain downlink data flow at the same time, and the downlink data flow is copied into three copies, which are respectively connected to three circuits with EPON, GPON, and BPON detection functions.
当识别出数据数据流的网络类型后即可相应确定协议类型,将该协议类型的有效信息发送给协议识别控制单元。After identifying the network type of the data stream, the protocol type can be determined accordingly, and the valid information of the protocol type is sent to the protocol identification control unit.
本发明的另一重要部分即协议的配置是在协议识别控制单元中实现。Another important part of the present invention, that is, the configuration of the protocol is realized in the protocol identification control unit.
所述的协议识别控制单元根据不同的PON系统类型对系统工作方式进行配置;调用与系统一致的软件驱动程序,建立相应的工作模式。The protocol identification control unit configures the working mode of the system according to different PON system types; calls the software driver consistent with the system to establish the corresponding working mode.
如图7、图8、图9、图10所示,本发明协议识别控制单元中执行的协议配置包括以下方案。As shown in Fig. 7, Fig. 8, Fig. 9 and Fig. 10, the protocol configuration executed in the protocol identification control unit of the present invention includes the following schemes.
所述方案均采用可兼容不同速度的光处理器进行发送、接收,数据恢复和时钟恢复,并按照上述协议识别方法执行PON协议识别。All of the schemes use optical processors compatible with different speeds for sending, receiving, data recovery and clock recovery, and perform PON protocol identification according to the above protocol identification method.
图7所示为OLT下载协议代码的协议配置方案流程示意图。FIG. 7 is a schematic flow diagram of a protocol configuration solution for downloading protocol codes by the OLT.
在协议识别完成后,ONU、ONT中的各种PON协议代码并未储存在设备中;After the protocol identification is completed, the various PON protocol codes in the ONU and ONT are not stored in the device;
当ONU、ONT开始工作时,光线路终端根据光线路终端自身的要求或/和根据光网络单元或光网络终端的请求把协议代码下载至光网络单元或光网络终端。光线路终端根据自身的要求可以确定一个适用于光网络单元或光网络终端的协议类型的范围。虽然范围内的协议类型均适用于光网络终端或光网络单元,但由于协议类型范围内的协议类型较多,为了找到最适合ONU、ONT的协议,则需要再考虑光网络单元或光网络终端的请求。When the ONU and ONT start to work, the OLT downloads the protocol code to the ONU or ONU according to the requirements of the OLT itself or/and according to the request of the ONU or ONU. The optical line terminal can determine a range of protocol types applicable to the optical network unit or the optical network terminal according to its own requirements. Although the protocol types within the range are applicable to optical network terminals or optical network units, due to the large number of protocol types within the range of protocol types, in order to find the most suitable protocol for ONU and ONT, it is necessary to consider optical network units or optical network terminals. request.
图8所示为通过智能设备管理协议代码的协议配置方案流程示意图。FIG. 8 is a schematic flow diagram of a protocol configuration solution for managing protocol codes through smart devices.
在协议识别完成后,ONU、ONT中的各种PON协议代码未储存在设备中,而是储存在和这个设备相连接的智能设备中,并且主要或者全部在智能设备中执行;After the protocol identification is completed, the various PON protocol codes in the ONU and ONT are not stored in the device, but are stored in the smart device connected to this device, and are mainly or completely executed in the smart device;
当ONU、ONT开始工作时,智能设备根据用户的配置或者ONU、ONT的请求选择并执行合适的PON协议代码,并通过智能设备和ONU、ONT之间的接口进行通讯;When the ONU and ONT start to work, the smart device selects and executes the appropriate PON protocol code according to the user's configuration or the request of the ONU and ONT, and communicates through the interface between the smart device and the ONU and ONT;
ONT、ONU主要完成物理层数据发送、接收、数据适配的功能。ONT and ONU mainly complete the functions of physical layer data sending, receiving, and data adaptation.
如图8虚线部分所示,本方案中包括采用单一固定协议工作的ONU、ONT工作方式。As shown by the dotted line in Fig. 8, this solution includes the working mode of ONU and ONT working with a single fixed protocol.
图9所示为直接使用协议存储设备的协议配置方案流程示意图。FIG. 9 is a schematic flow chart of a protocol configuration solution using a protocol storage device directly.
在协议识别完成后,ONU、ONT中的各种或者某种PON协议代码在初始时即储存在协议存储设备中;After the protocol identification is completed, various or certain PON protocol codes in the ONU and ONT are initially stored in the protocol storage device;
协议存储设备在物理上或者逻辑上可以更换或者增加;Protocol storage devices can be replaced or added physically or logically;
ONU、ONT根据PON协议识别产生的请求在协议存储设备中选择并执行相应的协议代码。ONU and ONT select and execute the corresponding protocol code in the protocol storage device according to the request generated by PON protocol identification.
图10所示为通过协议转化进行的协议配置方案流程示意图。FIG. 10 is a schematic flow chart of a protocol configuration solution through protocol conversion.
在协议识别完成后,ONU、ONT中的各种或者某种PON协议代码刚在初始时即储存在协议存储设备中;After the protocol identification is completed, various or certain PON protocol codes in the ONU and ONT are stored in the protocol storage device at the beginning;
协议存储设备在物理上或者逻辑上可以更换或者增加;Protocol storage devices can be replaced or added physically or logically;
ONU、ONT根据PON协议识别的结果进行协议的转化,将PON协议转化成一种通用的协议并执行该通用协议进行协议配置。ONU and ONT convert the protocol according to the result of PON protocol identification, convert the PON protocol into a general protocol and execute the general protocol for protocol configuration.
图11所示为本发明系统示意图。Fig. 11 is a schematic diagram of the system of the present invention.
本发明所述一种使光网络终端支持多种协议的系统,包括:A system for enabling an optical network terminal to support multiple protocols described in the present invention includes:
协议识别模块,用于对所接收信号的数据流进行多种协议数据帧并行扫描检测,判定该数据流的协议类型;The protocol identification module is used to perform parallel scanning detection of multiple protocol data frames on the data stream of the received signal, and determine the protocol type of the data stream;
协议配置模块,用于根据识别出的协议类型为数据处理模块配置协议。The protocol configuration module is configured to configure a protocol for the data processing module according to the identified protocol type.
所述协议识别模块包括:The protocol identification module includes:
宽带无源光网络识别子模块,用于识别在宽带无源光网络中传输的数据信号的协议类型;The broadband passive optical network identification sub-module is used to identify the protocol type of the data signal transmitted in the broadband passive optical network;
千兆比特无源光网络识别子模块,用于识别在千兆比特无源光网络中传输的数据信号的协议类型;The gigabit passive optical network identification sub-module is used to identify the protocol type of the data signal transmitted in the gigabit passive optical network;
以太无源光网络识别子模块,用于识别在以太无源光网络中传输的数据信号的协议类型。The Ethernet passive optical network identification sub-module is used to identify the protocol type of the data signal transmitted in the Ethernet passive optical network.
所述协议配置模块包括:The protocol configuration module includes:
协议代码下载配置子模块:控制光线路终端,使其根据光线路终端自身的要求和/或光网络单元或光网络终端的请求把协议代码下载至光网络单元或光网络终端,然后使用该协议代码进行协议配置;Protocol code download configuration sub-module: control the optical line terminal to download the protocol code to the optical network unit or optical network terminal according to the requirements of the optical line terminal itself and/or the request of the optical network unit or optical network terminal, and then use the protocol Code for protocol configuration;
协议代码智能控制配置子模块:使用智能设备,根据用户的配置以及光网络单元或光网络终端的请求选择、执行存储于智能设备中的协议代码进行协议配置;Protocol code intelligent control configuration sub-module: use the smart device to select and execute the protocol code stored in the smart device to configure the protocol according to the configuration of the user and the request of the optical network unit or optical network terminal;
协议代码预存储配置子模块:将协议代码预先存储于光网络终端的协议存储设备中,根据无源光网络协议识别的结果选择执行相应的协议代码进行协议配置;Protocol code pre-storage configuration sub-module: pre-store the protocol code in the protocol storage device of the optical network terminal, select and execute the corresponding protocol code for protocol configuration according to the result of passive optical network protocol identification;
协议代码转换配置子模块:将预先存储于光网络终端的协议存储设备中的协议代码转化为一种通用协议,执行该通用协议代码进行协议配置。Protocol code conversion configuration sub-module: convert the protocol code pre-stored in the protocol storage device of the optical network terminal into a general protocol, and execute the general protocol code to configure the protocol.
综上所述,本发明通过为PON网络终端添加多种协议的检测、识别以及配置功能,实现对多种PON网络的支持,有利于网络互通和升级,简化终端品种,减小管理成本,易于形成规模效应。In summary, the present invention realizes support for various PON networks by adding detection, identification and configuration functions of various protocols to PON network terminals, which is beneficial to network intercommunication and upgrading, simplifies terminal types, reduces management costs, and is easy to implement. form a scale effect.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2005101328349ACN1866958B (en) | 2005-12-27 | 2005-12-27 | Method and system for making optical network terminal support multi-protocol |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2005101328349ACN1866958B (en) | 2005-12-27 | 2005-12-27 | Method and system for making optical network terminal support multi-protocol |
| Publication Number | Publication Date |
|---|---|
| CN1866958Atrue CN1866958A (en) | 2006-11-22 |
| CN1866958B CN1866958B (en) | 2012-01-25 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2005101328349AActiveCN1866958B (en) | 2005-12-27 | 2005-12-27 | Method and system for making optical network terminal support multi-protocol |
| Country | Link |
|---|---|
| CN (1) | CN1866958B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009121308A1 (en)* | 2008-04-02 | 2009-10-08 | 华为技术有限公司 | Method, equipment and system for optical network data processing |
| WO2010145501A1 (en)* | 2009-11-04 | 2010-12-23 | 中兴通讯股份有限公司 | Voice call processing method and apparatus thereof |
| CN102413386A (en)* | 2008-02-08 | 2012-04-11 | 株式会社日立制作所 | Passive optical network system, optical line terminator and communication method for passive optical network system |
| CN102546558A (en)* | 2010-12-29 | 2012-07-04 | 中兴通讯股份有限公司 | Method for switching protocols in optical network unit and optical network unit |
| CN102595258A (en)* | 2012-02-15 | 2012-07-18 | 中兴通讯股份有限公司 | Method and optical network unit equipment compatible with different passive optical network protocols |
| CN104468576A (en)* | 2014-12-10 | 2015-03-25 | 深圳市彩煌通信技术有限公司 | Protocol conversion method based on passive optical network and protocol converter |
| CN104540046A (en)* | 2015-01-07 | 2015-04-22 | 上海市共进通信技术有限公司 | Method for achieving intelligent ONU double-light source adaptation based on optical network unit |
| CN105227407A (en)* | 2015-10-16 | 2016-01-06 | 邦讯技术股份有限公司 | A kind of protocol debugging method, Apparatus and system |
| US9521039B2 (en) | 2011-08-23 | 2016-12-13 | Huawei Device Co., Ltd | Method and system for managing devices in batches |
| CN106936653A (en)* | 2015-12-30 | 2017-07-07 | 华为数字技术(苏州)有限公司 | A kind of recognition methods of optical mode block type and device |
| CN107959661A (en)* | 2016-10-17 | 2018-04-24 | 中兴通讯股份有限公司 | A kind of information processing method and device |
| CN108365965A (en)* | 2017-12-27 | 2018-08-03 | 武汉丰天鼎业信息网络有限公司 | A kind of method that ONT supports ONU, fiber optical transceiver uplink mode adaptive and integrated EOC local sides |
| CN111919402A (en)* | 2019-01-03 | 2020-11-10 | 华为技术有限公司 | Optical communication device, optical line terminal and optical communication processing method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE602004012582T2 (en)* | 2004-12-13 | 2009-04-30 | Alcatel Lucent | Protocol configuration process |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102413386A (en)* | 2008-02-08 | 2012-04-11 | 株式会社日立制作所 | Passive optical network system, optical line terminator and communication method for passive optical network system |
| CN101552772B (en)* | 2008-04-02 | 2013-08-28 | 华为技术有限公司 | Method, devices and system for optical network data processing |
| WO2009121308A1 (en)* | 2008-04-02 | 2009-10-08 | 华为技术有限公司 | Method, equipment and system for optical network data processing |
| WO2010145501A1 (en)* | 2009-11-04 | 2010-12-23 | 中兴通讯股份有限公司 | Voice call processing method and apparatus thereof |
| CN101699843B (en)* | 2009-11-04 | 2012-04-04 | 中兴通讯股份有限公司 | Method and device for automatically adapting to voice call of camel network type |
| US9042249B2 (en) | 2009-11-04 | 2015-05-26 | Zte Corporation | Method and apparatus for processing voice call |
| WO2012088895A1 (en)* | 2010-12-29 | 2012-07-05 | 中兴通讯股份有限公司 | Protocol switching method in optical network unit and optical network unit |
| CN102546558A (en)* | 2010-12-29 | 2012-07-04 | 中兴通讯股份有限公司 | Method for switching protocols in optical network unit and optical network unit |
| CN102546558B (en)* | 2010-12-29 | 2015-10-21 | 中兴通讯股份有限公司 | The changing method of agreement and optical network unit in a kind of optical network unit |
| US9521039B2 (en) | 2011-08-23 | 2016-12-13 | Huawei Device Co., Ltd | Method and system for managing devices in batches |
| CN102595258A (en)* | 2012-02-15 | 2012-07-18 | 中兴通讯股份有限公司 | Method and optical network unit equipment compatible with different passive optical network protocols |
| CN104468576A (en)* | 2014-12-10 | 2015-03-25 | 深圳市彩煌通信技术有限公司 | Protocol conversion method based on passive optical network and protocol converter |
| CN104540046A (en)* | 2015-01-07 | 2015-04-22 | 上海市共进通信技术有限公司 | Method for achieving intelligent ONU double-light source adaptation based on optical network unit |
| CN105227407A (en)* | 2015-10-16 | 2016-01-06 | 邦讯技术股份有限公司 | A kind of protocol debugging method, Apparatus and system |
| CN105227407B (en)* | 2015-10-16 | 2018-09-11 | 邦讯技术股份有限公司 | A kind of protocol debugging method, apparatus and system |
| CN106936653A (en)* | 2015-12-30 | 2017-07-07 | 华为数字技术(苏州)有限公司 | A kind of recognition methods of optical mode block type and device |
| CN107959661A (en)* | 2016-10-17 | 2018-04-24 | 中兴通讯股份有限公司 | A kind of information processing method and device |
| CN107959661B (en)* | 2016-10-17 | 2020-10-23 | 南京中兴新软件有限责任公司 | Information processing method and device |
| CN108365965A (en)* | 2017-12-27 | 2018-08-03 | 武汉丰天鼎业信息网络有限公司 | A kind of method that ONT supports ONU, fiber optical transceiver uplink mode adaptive and integrated EOC local sides |
| CN111919402A (en)* | 2019-01-03 | 2020-11-10 | 华为技术有限公司 | Optical communication device, optical line terminal and optical communication processing method |
| CN111919402B (en)* | 2019-01-03 | 2022-01-11 | 华为技术有限公司 | Optical communication device, optical line terminal and optical communication processing method |
| US11515943B2 (en) | 2019-01-03 | 2022-11-29 | Huawei Technologies Co., Ltd. | Optical communications apparatus, optical line termination, and optical communication processing method |
| Publication number | Publication date |
|---|---|
| CN1866958B (en) | 2012-01-25 |
| Publication | Publication Date | Title |
|---|---|---|
| CN101047453A (en) | Managing method and system for optical network unit or optical network terminal | |
| CN1866958A (en) | Method and system for making optical network terminal support multi protocol | |
| CN1249954C (en) | Method and device for transmission of variable length frame for passive optical network | |
| CN101043352A (en) | Method for configuring Native VLAN for GPON system and processing Ethernet packets | |
| CN1525679A (en) | Method and system to frame and format optical control and data bursts in wdm-based photonic burst switched networks | |
| CN101047583A (en) | Passive optical network system and correlation method for support virtual local network service | |
| CN101043276A (en) | Passive optical network (pon) system | |
| CN1601950A (en) | Method and system to recover resources in the event of data burst loss within wdm-based optical-switched networks | |
| CN101043275A (en) | System and method for managing optical network unit or optical network terminal | |
| WO2015192332A1 (en) | Communication method, apparatus and system | |
| CN101047445A (en) | Passive optical network system and method for allocating slave to main controller in system | |
| CN101060370A (en) | A PON terminal management method and system | |
| CN101060369B (en) | Error handling method and system under PON PLOAM mechanism | |
| CN101047554A (en) | Management method and system for broadband access network far-end node | |
| CN1901727A (en) | System and method for realizing antenna equipment central managing | |
| CN101047464A (en) | Controlled multicast method and system for wave complex optical network | |
| KR101466183B1 (en) | Energy efficient ethernet power management via siepon protocol | |
| JP7093045B2 (en) | Data processing equipment, data output method and computer program | |
| CN1852071A (en) | Data-communication net work system of optical network and its realizing method | |
| EP3952324A1 (en) | Interface upgrading method and apparatus, and optical network unit management method and apparatus | |
| CN1592156A (en) | Gigabit Ethernet passive optical network having double link structure | |
| CN102916746B (en) | Passive optical network and its optical network unit optical module | |
| CN1522523A (en) | Packet communication system, packet communication method, packet communication program, and recording medium recording the packet communication program | |
| CN1791112A (en) | Protocol configuration method | |
| CN1794697A (en) | Method of group transmission Ethernet passive light notwork upgoing chain circuit data |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |