CN118158571A - A method for generating topology information and related equipment - Google Patents
A method for generating topology information and related equipment Download PDFInfo
- Publication number
- CN118158571A CN118158571A CN202211558414.7A CN202211558414A CN118158571A CN 118158571 A CN118158571 A CN 118158571A CN 202211558414 A CN202211558414 A CN 202211558414A CN 118158571 A CN118158571 A CN 118158571A
- Authority
- CN
- China
- Prior art keywords
- optical
- optical splitter
- gateway
- slave
- optical power
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/27—Arrangements for networking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/009—Topology aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
Abstract
Description
技术领域Technical Field
本申请涉及FTTR领域,尤其涉及一种生成拓扑信息的方法及相关设备。The present application relates to the FTTR field, and in particular to a method for generating topology information and related equipment.
背景技术Background technique
随着固定接入宽带的普及各种智能终端的出现,为了解决家庭网络WiFi覆盖的问题,光纤到房间(Fiber to the Room,FTTR)的技术被提出并得到了大范围的关注。FTTR的主要想法是在光纤到户(fiber to the home,FTTH)的基础上把光纤进一步延伸至住户房间。当前的FTTH的建网模式是把光纤引入住户室内的弱电信息箱,而用户的WiFi接入设备则安装在信息箱内,由于信息箱的位置通常位于入户门附近,离用户日常活动区域较远,WiFi信号损耗较大导致用户终端接入带宽受限。FTTR的主要想法是把光纤进一步向下延伸至住户房间,在房间内部在安装WiFi接入设备,这样就缩小了用户终端设备与WiFi设备的距离,保证了WiFi信号的质量,解决因WiFi接入不稳定导致的用户终端设备差的问题。With the popularization of fixed access broadband and the emergence of various smart terminals, in order to solve the problem of home network WiFi coverage, fiber to the room (FTTR) technology has been proposed and received widespread attention. The main idea of FTTR is to extend the optical fiber further to the residents' rooms on the basis of fiber to the home (FTTH). The current FTTH network construction mode is to introduce the optical fiber into the weak current information box in the residents' room, and the user's WiFi access device is installed in the information box. Since the information box is usually located near the entrance door and far away from the user's daily activity area, the WiFi signal loss is large, resulting in limited user terminal access bandwidth. The main idea of FTTR is to extend the optical fiber further downward to the residents' room and install the WiFi access device inside the room, which shortens the distance between the user terminal device and the WiFi device, ensures the quality of the WiFi signal, and solves the problem of poor user terminal equipment caused by unstable WiFi access.
FTTR网络主要包括主网关、至少一个光分路器和至少一个从网关。其中,主网关与至少一个光分路器通过级联的方式连接,每个从网关与对应的光分路器的分支端口连接。在FTTR网络中,如何实时获取准确的网络拓扑信息是当前亟待解决的问题。The FTTR network mainly includes a master gateway, at least one optical splitter and at least one slave gateway. The master gateway is connected to at least one optical splitter in a cascade manner, and each slave gateway is connected to the branch port of the corresponding optical splitter. In the FTTR network, how to obtain accurate network topology information in real time is an urgent problem to be solved.
发明内容Summary of the invention
本申请实施例提供了一种生成拓扑信息的方法及相关设备,通过主网关与各从网关的交互即可实时获取FTTR网络当前的拓扑信息,便于有效地对FTTR网络进行管理和维护。The embodiment of the present application provides a method for generating topology information and related equipment, which can obtain the current topology information of the FTTR network in real time through the interaction between the master gateway and each slave gateway, thereby facilitating the effective management and maintenance of the FTTR network.
第一方面,本申请实施例提供了一种生成拓扑信息的方法,方法应用于光通信系统,光通信系统包括主网关、至少一个光分路器和至少一个从网关,主网关与至少一个光分路器通过级联的方式连接,每个从网关与对应的光分路器的分支端口连接。方法包括如下步骤:主网关向每个从网关发送请求消息,请求消息用于请求每个从网关获取并反馈统计信息,统计信息包括从网关的光功率变化参数,其中,每个光分路器为不同分支端口连接的从网关配置的光功率变化参数不同。主网关接收至少一个从网关发送的响应消息,响应消息包括统计信息。主网关根据响应消息生成拓扑信息,拓扑信息包括每个从网关与对应的光分路器的分支端口的连接关系。In a first aspect, an embodiment of the present application provides a method for generating topology information, and the method is applied to an optical communication system, wherein the optical communication system includes a master gateway, at least one optical splitter, and at least one slave gateway, wherein the master gateway is connected to the at least one optical splitter in a cascade manner, and each slave gateway is connected to a branch port of the corresponding optical splitter. The method includes the following steps: the master gateway sends a request message to each slave gateway, and the request message is used to request each slave gateway to obtain and feedback statistical information, and the statistical information includes an optical power change parameter of the slave gateway, wherein each optical splitter configures different optical power change parameters for slave gateways connected to different branch ports. The master gateway receives a response message sent by at least one slave gateway, and the response message includes statistical information. The master gateway generates topology information based on the response message, and the topology information includes a connection relationship between each slave gateway and the branch port of the corresponding optical splitter.
在该实施方式中,主网关向从网关发送请求消息,用于请求从网关获取并反馈统计信息。其中,光分路器会对各分支端口连接的从网关进行光功率的扰动,从而引起从网关的光功率变化,统计信息包括从网关的光功率变化参数,光分路器为不同分支端口连接的从网关配置的光功率变化参数不同。进而,主网关根据各从网关上报的统计信息生成拓扑信息,从而确定每个从网关与对应光分路器的分支端口的连接关系。这样一来,通过主网关与各从网关的交互即可实时获取FTTR网络当前的拓扑信息,便于有效地对FTTR网络进行管理和维护。In this implementation, the master gateway sends a request message to the slave gateway to request the slave gateway to obtain and feedback statistical information. Among them, the optical splitter will disturb the optical power of the slave gateway connected to each branch port, thereby causing the optical power of the slave gateway to change. The statistical information includes the optical power change parameters of the slave gateway. The optical splitter configures different optical power change parameters for slave gateways connected to different branch ports. Then, the master gateway generates topology information based on the statistical information reported by each slave gateway, thereby determining the connection relationship between each slave gateway and the branch port of the corresponding optical splitter. In this way, the current topology information of the FTTR network can be obtained in real time through the interaction between the master gateway and each slave gateway, which is convenient for effective management and maintenance of the FTTR network.
在一些可能的实施方式中,至少一个光分路器包括第一光分路器,光功率变化参数包括光功率变化幅度,第一光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同。也就是说,主网关根据各从网关上报的光功率变化幅度即可识别出各从网关连接的分支端口,便于确定拓扑信息。In some possible implementations, at least one optical splitter includes a first optical splitter, the optical power variation parameter includes an optical power variation amplitude, and the first optical splitter configures different optical power variation amplitudes for slave gateways connected to different branch ports. In other words, the master gateway can identify the branch ports connected to each slave gateway based on the optical power variation amplitude reported by each slave gateway, so as to facilitate determination of topology information.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同。光功率变化参数还包括光功率变化频率,其中,第一光分路器为所有分支端口连接的从网关配置第一光功率变化频率,第二光分路器为所有分支端口连接的从网关配置第二光功率变化频率,第一光功率变化频率与第二光功率变化频率不同。也就是说,主网关根据各从网关上报的光功率变化频率即可识别出各从网关连接的光分路器,便于确定拓扑信息。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change amplitudes for slave gateways connected to different branch ports. The optical power change parameter also includes an optical power change frequency, wherein the first optical splitter configures a first optical power change frequency for slave gateways connected to all branch ports, and the second optical splitter configures a second optical power change frequency for slave gateways connected to all branch ports, and the first optical power change frequency is different from the second optical power change frequency. In other words, the master gateway can identify the optical splitters connected to each slave gateway based on the optical power change frequencies reported by each slave gateway, so as to facilitate determination of topology information.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的光功率变化幅度相同。统计信息还包括从网关的接收信号强度指示(Received Signal Strength Indicator,RSSI)和/或往返时间(Round Trip Time,RTT),其中,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的RSSI不同和/或RTT不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power variation amplitudes for slave gateways connected to different branch ports, and the optical power variation amplitudes of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are the same. The statistical information also includes a received signal strength indicator (RSSI) and/or a round trip time (RTT) of the slave gateway, wherein the RSSI and/or RTT of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are different.
在该实施方式中,每个光分路器对不同分支端口的光功率扰动幅度不同,并且,不同光分路器对端口号相同的分支端口的光功率扰动幅度相同。那么主网关可以先根据光功率变化幅度不同识别出所连接的端口号相同的同一组从网关,进而根据RSSI和/或RTT对所连接的端口号相同的同一组从网关进行区分,从而识别出该同一组从网关分别连接的光分路器,实现拓扑还原。例如,RSSI越大则说明从网关连接的光分路器的级联位置越靠前,又例如,RTT越小则说明从网关连接的光分路器的级联位置越靠前。In this embodiment, each optical splitter has different optical power disturbance amplitudes for different branch ports, and different optical splitters have the same optical power disturbance amplitudes for branch ports with the same port number. Then the master gateway can first identify the same group of slave gateways with the same port number connected based on the different optical power variation amplitudes, and then distinguish the same group of slave gateways with the same port number connected based on RSSI and/or RTT, thereby identifying the optical splitters respectively connected to the same group of slave gateways to achieve topology restoration. For example, the larger the RSSI, the closer the cascade position of the optical splitter connected to the slave gateway is, and for another example, the smaller the RTT, the closer the cascade position of the optical splitter connected to the slave gateway is.
在一些可能的实施方式中,至少一个光分路器包括第一光分路器,光功率变化参数包括光功率变化频率,第一光分路器为不同分支端口连接的从网关配置的光功率变化频率不同。也就是说,主网关根据各从网关上报的光功率变化频率即可识别出各从网关连接的分支端口,便于确定拓扑信息。In some possible implementations, at least one optical splitter includes a first optical splitter, the optical power variation parameter includes an optical power variation frequency, and the first optical splitter configures different optical power variation frequencies for slave gateways connected to different branch ports. In other words, the master gateway can identify the branch ports connected to each slave gateway based on the optical power variation frequencies reported by each slave gateway, so as to facilitate determination of topology information.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化频率不同。光功率变化参数还包括光功率变化幅度,其中,第一光分路器为所有分支端口连接的从网关配置第一光功率变化幅度,第二光分路器为所有分支端口连接的从网关配置第二光功率变化幅度,第一光功率变化幅度与第二光功率变化幅度不同。也就是说,主网关根据各从网关上报的光功率变化幅度即可识别出各从网关连接的光分路器,便于确定拓扑信息。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change frequencies for slave gateways connected to different branch ports. The optical power change parameter also includes an optical power change amplitude, wherein the first optical splitter configures a first optical power change amplitude for slave gateways connected to all branch ports, and the second optical splitter configures a second optical power change amplitude for slave gateways connected to all branch ports, and the first optical power change amplitude is different from the second optical power change amplitude. In other words, the master gateway can identify the optical splitters connected to each slave gateway based on the optical power change amplitude reported by each slave gateway, so as to facilitate the determination of topology information.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化频率不同,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的光功率变化频率相同。统计信息还包括从网关的RSSI和/或RTT,其中,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的RSSI不同和/或RTT不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change frequencies for slave gateways connected to different branch ports, and the optical power change frequencies of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are the same. The statistical information also includes the RSSI and/or RTT of the slave gateway, wherein the RSSI and/or RTT of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are different.
在该实施方式中,每个光分路器对不同分支端口的光功率扰动频率不同,并且,不同光分路器对端口号相同的分支端口的光功率扰动频率相同。那么主网关可以先根据光功率变化频率不同识别出所连接的端口号相同的同一组从网关,进而根据RSSI和/或RTT对所连接的端口号相同的同一组从网关进行区分,从而识别出该同一组从网关分别连接的光分路器,实现拓扑还原。例如,RSSI越大则说明从网关连接的光分路器的级联位置越靠前,又例如,RTT越小则说明从网关连接的光分路器的级联位置越靠前。In this embodiment, each optical splitter has different optical power disturbance frequencies for different branch ports, and different optical splitters have the same optical power disturbance frequencies for branch ports with the same port number. Then the master gateway can first identify the same group of slave gateways with the same port number connected based on the different optical power change frequencies, and then distinguish the same group of slave gateways with the same port number connected based on RSSI and/or RTT, thereby identifying the optical splitters respectively connected to the same group of slave gateways to achieve topology restoration. For example, the larger the RSSI, the closer the cascade position of the optical splitter connected to the slave gateway is, and for another example, the smaller the RTT, the closer the cascade position of the optical splitter connected to the slave gateway is.
在一些可能的实施方式中,光功率变化参数由从网关在第一时段统计,RSSI和/或RTT由从网关在第二时段统计。也就是说,光分路器在第一时段对各分支端口进行光功率扰动,在第二时段停止绕道恢复正常光功率。In some possible implementations, the optical power variation parameter is counted by the slave gateway in the first period, and RSSI and/or RTT is counted by the slave gateway in the second period. That is, the optical splitter performs optical power disturbance on each branch port in the first period, and stops detouring and restores normal optical power in the second period.
在一些可能的实施方式中,请求消息和响应消息采用光网络单元管理控制接口(Management and Control Interface,OMCI)消息格式或操作维护管理(OperationAdministration and Maintenance,OAM)消息格式,以适配现有标准。In some possible implementations, the request message and the response message use an optical network unit management and control interface (OMCI) message format or an operation administration and maintenance (OAM) message format to adapt to existing standards.
在一些可能的实施方式中,光分路器的每个分支端口接入的光纤采用热光材料,光分路器的不同分支端口接入的光纤通过施加不同的电压以实现不同分支端口连接的从网关所配置的光功率变化参数不同。应理解,该实施方式提供了一种实现光功率扰动的具体方法,实现方式较为简单,对所采用的结构改动较小。In some possible implementations, the optical fiber connected to each branch port of the optical splitter uses thermo-optical material, and different voltages are applied to the optical fibers connected to different branch ports of the optical splitter to achieve different optical power change parameters configured for slave gateways connected to different branch ports. It should be understood that this implementation provides a specific method for achieving optical power disturbance, which is relatively simple to implement and requires little change to the adopted structure.
在一些可能的实施方式中,方法还包括:主网关向每个光分路器发送配置消息,配置消息用于指示每个光分路器为不同分支端口连接的从网关配置对应的光功率变化参数。也就是说,光分路器具体是按照主网关的配置对各分支端口进行光功率扰动,即通过主网关进行集中管理,更利于实时获取拓扑信息。In some possible implementations, the method further includes: the master gateway sends a configuration message to each optical splitter, the configuration message is used to instruct each optical splitter to configure corresponding optical power variation parameters for slave gateways connected to different branch ports. In other words, the optical splitter specifically performs optical power disturbance on each branch port according to the configuration of the master gateway, that is, centralized management through the master gateway is more conducive to real-time acquisition of topology information.
第二方面,本申请实施例提供了一种生成拓扑信息的方法,方法应用于光通信系统,光通信系统包括主网关、至少一个光分路器和至少一个从网关,主网关与至少一个光分路器通过级联的方式连接,每个从网关与对应的光分路器的分支端口连接。方法包括如下步骤:从网关接收主网关发送的请求消息。从网关根据请求消息获取统计信息,统计信息包括从网关的光功率变化参数,其中,每个光分路器为不同分支端口连接的从网关配置的光功率变化参数不同。从网关向主网关发送包括统计信息的响应消息,以使得主网关根据响应消息生成拓扑信息,拓扑信息包括每个从网关与对应的光分路器的分支端口的连接关系。In a second aspect, an embodiment of the present application provides a method for generating topology information, and the method is applied to an optical communication system, wherein the optical communication system includes a master gateway, at least one optical splitter and at least one slave gateway, wherein the master gateway is connected to the at least one optical splitter in a cascade manner, and each slave gateway is connected to a branch port of the corresponding optical splitter. The method includes the following steps: the slave gateway receives a request message sent by the master gateway. The slave gateway obtains statistical information based on the request message, and the statistical information includes an optical power change parameter of the slave gateway, wherein each optical splitter has different optical power change parameters configured for slave gateways connected to different branch ports. The slave gateway sends a response message including the statistical information to the master gateway, so that the master gateway generates topology information based on the response message, and the topology information includes a connection relationship between each slave gateway and the branch port of the corresponding optical splitter.
在一些可能的实施方式中,至少一个光分路器包括第一光分路器,光功率变化参数包括光功率变化幅度,第一光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同。In some possible implementations, the at least one optical splitter includes a first optical splitter, the optical power variation parameter includes an optical power variation amplitude, and the first optical splitter configures different optical power variation amplitudes for slave gateways connected to different branch ports.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同。光功率变化参数还包括光功率变化频率,其中,第一光分路器为所有分支端口连接的从网关配置第一光功率变化频率,第二光分路器为所有分支端口连接的从网关配置第二光功率变化频率,第一光功率变化频率与第二光功率变化频率不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change amplitudes for slave gateways connected to different branch ports. The optical power change parameter also includes an optical power change frequency, wherein the first optical splitter configures a first optical power change frequency for slave gateways connected to all branch ports, and the second optical splitter configures a second optical power change frequency for slave gateways connected to all branch ports, and the first optical power change frequency is different from the second optical power change frequency.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的光功率变化幅度相同。统计信息还包括从网关的RSSI和/或RTT,其中,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的RSSI不同和/或RTT不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power variation amplitudes for slave gateways connected to different branch ports, and the optical power variation amplitudes of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are the same. The statistical information also includes the RSSI and/or RTT of the slave gateway, wherein the RSSI and/or RTT of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are different.
在一些可能的实施方式中,至少一个光分路器包括第一光分路器,光功率变化参数包括光功率变化频率,第一光分路器为不同分支端口连接的从网关配置的光功率变化频率不同。In some possible implementations, the at least one optical splitter includes a first optical splitter, the optical power variation parameter includes an optical power variation frequency, and the optical power variation frequencies configured by the first optical splitter for slave gateways connected to different branch ports are different.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化频率不同。光功率变化参数还包括光功率变化幅度,其中,第一光分路器为所有分支端口连接的从网关配置第一光功率变化幅度,第二光分路器为所有分支端口连接的从网关配置第二光功率变化幅度,第一光功率变化幅度与第二光功率变化幅度不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change frequencies for slave gateways connected to different branch ports. The optical power change parameter also includes an optical power change amplitude, wherein the first optical splitter configures a first optical power change amplitude for slave gateways connected to all branch ports, and the second optical splitter configures a second optical power change amplitude for slave gateways connected to all branch ports, and the first optical power change amplitude is different from the second optical power change amplitude.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化频率不同,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的光功率变化频率相同。统计信息还包括从网关的RSSI和/或RTT,其中,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的RSSI不同和/或RTT不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change frequencies for slave gateways connected to different branch ports, and the optical power change frequencies of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are the same. The statistical information also includes the RSSI and/or RTT of the slave gateway, wherein the RSSI and/or RTT of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are different.
在一些可能的实施方式中,光功率变化参数由从网关在第一时段统计,RSSI和/或RTT由从网关在第二时段统计。In some possible implementations, the optical power variation parameter is counted by the slave gateway in a first time period, and the RSSI and/or RTT is counted by the slave gateway in a second time period.
在一些可能的实施方式中,请求消息和响应消息采用OMCI消息格式或OAM消息格式。In some possible implementations, the request message and the response message adopt the OMCI message format or the OAM message format.
在一些可能的实施方式中,光分路器的每个分支端口接入的光纤采用热光材料,光分路器的不同分支端口接入的光纤通过施加不同的电压以实现不同分支端口连接的从网关所配置的光功率变化参数不同。In some possible implementations, the optical fiber connected to each branch port of the optical splitter uses thermo-optical material, and different voltages are applied to the optical fibers connected to different branch ports of the optical splitter to achieve different optical power variation parameters configured for slave gateways connected to different branch ports.
第三方面,本申请实施例提供了一种主网关,主网关包括:处理单元和收发单元,其中,主网关与至少一个光分路器通过级联的方式连接,每个从网关与对应的光分路器的分支端口连接。收发单元用于:向每个从网关发送请求消息,请求消息用于请求每个从网关获取并反馈统计信息,统计信息包括从网关的光功率变化参数,其中,每个光分路器为不同分支端口连接的从网关配置的光功率变化参数不同。收发单元用于:接收至少一个从网关发送的响应消息,响应消息包括统计信息。处理单元用于:根据响应消息生成拓扑信息,拓扑信息包括每个从网关与对应的光分路器的分支端口的连接关系。In a third aspect, an embodiment of the present application provides a master gateway, the master gateway comprising: a processing unit and a transceiver unit, wherein the master gateway is connected to at least one optical splitter in a cascade manner, and each slave gateway is connected to a branch port of the corresponding optical splitter. The transceiver unit is used to send a request message to each slave gateway, the request message is used to request each slave gateway to obtain and feedback statistical information, the statistical information includes an optical power change parameter of the slave gateway, wherein each optical splitter configures different optical power change parameters for slave gateways connected to different branch ports. The transceiver unit is used to receive a response message sent by at least one slave gateway, the response message includes statistical information. The processing unit is used to generate topology information based on the response message, the topology information includes a connection relationship between each slave gateway and the branch port of the corresponding optical splitter.
在一些可能的实施方式中,至少一个光分路器包括第一光分路器,光功率变化参数包括光功率变化幅度,第一光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同。In some possible implementations, the at least one optical splitter includes a first optical splitter, the optical power variation parameter includes an optical power variation amplitude, and the first optical splitter configures different optical power variation amplitudes for slave gateways connected to different branch ports.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同。光功率变化参数还包括光功率变化频率,其中,第一光分路器为所有分支端口连接的从网关配置第一光功率变化频率,第二光分路器为所有分支端口连接的从网关配置第二光功率变化频率,第一光功率变化频率与第二光功率变化频率不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change amplitudes for slave gateways connected to different branch ports. The optical power change parameter also includes an optical power change frequency, wherein the first optical splitter configures a first optical power change frequency for slave gateways connected to all branch ports, and the second optical splitter configures a second optical power change frequency for slave gateways connected to all branch ports, and the first optical power change frequency is different from the second optical power change frequency.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的光功率变化幅度相同。统计信息还包括从网关的RSSI和/或RTT,其中,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的RSSI不同和/或RTT不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power variation amplitudes for slave gateways connected to different branch ports, and the optical power variation amplitudes of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are the same. The statistical information also includes the RSSI and/or RTT of the slave gateway, wherein the RSSI and/or RTT of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are different.
在一些可能的实施方式中,至少一个光分路器包括第一光分路器,光功率变化参数包括光功率变化频率,第一光分路器为不同分支端口连接的从网关配置的光功率变化频率不同。In some possible implementations, the at least one optical splitter includes a first optical splitter, the optical power variation parameter includes an optical power variation frequency, and the optical power variation frequencies configured by the first optical splitter for slave gateways connected to different branch ports are different.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化频率不同。光功率变化参数还包括光功率变化幅度,其中,第一光分路器为所有分支端口连接的从网关配置第一光功率变化幅度,第二光分路器为所有分支端口连接的从网关配置第二光功率变化幅度,第一光功率变化幅度与第二光功率变化幅度不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change frequencies for slave gateways connected to different branch ports. The optical power change parameter also includes an optical power change amplitude, wherein the first optical splitter configures a first optical power change amplitude for slave gateways connected to all branch ports, and the second optical splitter configures a second optical power change amplitude for slave gateways connected to all branch ports, and the first optical power change amplitude is different from the second optical power change amplitude.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化频率不同,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的光功率变化频率相同。统计信息还包括从网关的RSSI和/或RTT,其中,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的RSSI不同和/或RTT不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change frequencies for slave gateways connected to different branch ports, and the optical power change frequencies of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are the same. The statistical information also includes the RSSI and/or RTT of the slave gateway, wherein the RSSI and/or RTT of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are different.
在一些可能的实施方式中,光功率变化参数由从网关在第一时段统计,RSSI和/或RTT由从网关在第二时段统计。In some possible implementations, the optical power variation parameter is counted by the slave gateway in a first time period, and the RSSI and/or RTT is counted by the slave gateway in a second time period.
在一些可能的实施方式中,请求消息和响应消息采用OMCI消息格式或OAM消息格式。In some possible implementations, the request message and the response message adopt the OMCI message format or the OAM message format.
在一些可能的实施方式中,光分路器的每个分支端口接入的光纤采用热光材料,光分路器的不同分支端口接入的光纤通过施加不同的电压以实现不同分支端口连接的从网关所配置的光功率变化参数不同。In some possible implementations, the optical fiber connected to each branch port of the optical splitter uses thermo-optical material, and different voltages are applied to the optical fibers connected to different branch ports of the optical splitter to achieve different optical power variation parameters configured for slave gateways connected to different branch ports.
在一些可能的实施方式中,收发单元还用于:向每个光分路器发送配置消息,配置消息用于指示每个光分路器为不同分支端口连接的从网关配置对应的光功率变化参数。In some possible implementations, the transceiver unit is further used to: send a configuration message to each optical splitter, where the configuration message is used to instruct each optical splitter to configure corresponding optical power variation parameters for slave gateways connected to different branch ports.
第四方面,本申请实施例提供了一种从网关,该从网关包括:处理单元和收发单元,其中,从网关与对应的光分路器的分支端口连接,主网关与至少一个光分路器通过级联的方式连接。收发单元用于:接收主网关发送的请求消息。处理单元用于:根据请求消息获取统计信息,统计信息包括从网关的光功率变化参数,其中,每个光分路器为不同分支端口连接的从网关配置的光功率变化参数不同。收发单元用于:向主网关发送包括统计信息的响应消息,以使得主网关根据响应消息生成拓扑信息,拓扑信息包括每个从网关与对应的光分路器的分支端口的连接关系。In a fourth aspect, an embodiment of the present application provides a slave gateway, which includes: a processing unit and a transceiver unit, wherein the slave gateway is connected to the branch port of the corresponding optical splitter, and the master gateway is connected to at least one optical splitter in a cascade manner. The transceiver unit is used to: receive a request message sent by the master gateway. The processing unit is used to: obtain statistical information according to the request message, the statistical information includes an optical power change parameter of the slave gateway, wherein each optical splitter has different optical power change parameters configured for slave gateways connected to different branch ports. The transceiver unit is used to: send a response message including the statistical information to the master gateway, so that the master gateway generates topology information according to the response message, and the topology information includes the connection relationship between each slave gateway and the branch port of the corresponding optical splitter.
在一些可能的实施方式中,至少一个光分路器包括第一光分路器,光功率变化参数包括光功率变化幅度,第一光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同。In some possible implementations, the at least one optical splitter includes a first optical splitter, the optical power variation parameter includes an optical power variation amplitude, and the first optical splitter configures different optical power variation amplitudes for slave gateways connected to different branch ports.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同。光功率变化参数还包括光功率变化频率,其中,第一光分路器为所有分支端口连接的从网关配置第一光功率变化频率,第二光分路器为所有分支端口连接的从网关配置第二光功率变化频率,第一光功率变化频率与第二光功率变化频率不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change amplitudes for slave gateways connected to different branch ports. The optical power change parameter also includes an optical power change frequency, wherein the first optical splitter configures a first optical power change frequency for slave gateways connected to all branch ports, and the second optical splitter configures a second optical power change frequency for slave gateways connected to all branch ports, and the first optical power change frequency is different from the second optical power change frequency.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化幅度不同,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的光功率变化幅度相同。统计信息还包括从网关的RSSI和/或RTT,其中,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的RSSI不同和/或RTT不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power variation amplitudes for slave gateways connected to different branch ports, and the optical power variation amplitudes of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are the same. The statistical information also includes the RSSI and/or RTT of the slave gateway, wherein the RSSI and/or RTT of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are different.
在一些可能的实施方式中,至少一个光分路器包括第一光分路器,光功率变化参数包括光功率变化频率,第一光分路器为不同分支端口连接的从网关配置的光功率变化频率不同。In some possible implementations, the at least one optical splitter includes a first optical splitter, the optical power variation parameter includes an optical power variation frequency, and the optical power variation frequencies configured by the first optical splitter for slave gateways connected to different branch ports are different.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化频率不同。光功率变化参数还包括光功率变化幅度,其中,第一光分路器为所有分支端口连接的从网关配置第一光功率变化幅度,第二光分路器为所有分支端口连接的从网关配置第二光功率变化幅度,第一光功率变化幅度与第二光功率变化幅度不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change frequencies for slave gateways connected to different branch ports. The optical power change parameter also includes an optical power change amplitude, wherein the first optical splitter configures a first optical power change amplitude for slave gateways connected to all branch ports, and the second optical splitter configures a second optical power change amplitude for slave gateways connected to all branch ports, and the first optical power change amplitude is different from the second optical power change amplitude.
在一些可能的实施方式中,至少一个光分路器还包括第二光分路器,第二光分路器为不同分支端口连接的从网关配置的光功率变化频率不同,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的光功率变化频率相同。统计信息还包括从网关的RSSI和/或RTT,其中,第一光分路器和第二光分路器上端口号相同的分支端口连接的从网关的RSSI不同和/或RTT不同。In some possible implementations, at least one optical splitter further includes a second optical splitter, and the second optical splitter configures different optical power change frequencies for slave gateways connected to different branch ports, and the optical power change frequencies of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are the same. The statistical information also includes the RSSI and/or RTT of the slave gateway, wherein the RSSI and/or RTT of the slave gateways connected to the branch ports with the same port number on the first optical splitter and the second optical splitter are different.
在一些可能的实施方式中,光功率变化参数由从网关在第一时段统计,RSSI和/或RTT由从网关在第二时段统计。In some possible implementations, the optical power variation parameter is counted by the slave gateway in a first time period, and the RSSI and/or RTT is counted by the slave gateway in a second time period.
在一些可能的实施方式中,请求消息和响应消息采用OMCI消息格式或OAM消息格式。In some possible implementations, the request message and the response message adopt the OMCI message format or the OAM message format.
在一些可能的实施方式中,光分路器的每个分支端口接入的光纤采用热光材料,光分路器的不同分支端口接入的光纤通过施加不同的电压以实现不同分支端口连接的从网关所配置的光功率变化参数不同。In some possible implementations, the optical fiber connected to each branch port of the optical splitter uses thermo-optical material, and different voltages are applied to the optical fibers connected to different branch ports of the optical splitter to achieve different optical power variation parameters configured for slave gateways connected to different branch ports.
本申请实施例中,主网关向从网关发送请求消息,用于请求从网关获取并反馈统计信息。其中,光分路器会对各分支端口连接的从网关进行光功率的扰动,从而引起从网关的光功率变化,统计信息包括从网关的光功率变化参数,光分路器为不同分支端口连接的从网关配置的光功率变化参数不同。进而,主网关根据各从网关上报的统计信息生成拓扑信息,从而确定每个从网关与对应光分路器的分支端口的连接关系。这样一来,通过主网关与各从网关的交互即可实时获取FTTR网络当前的拓扑信息,便于有效地对FTTR网络进行管理和维护。In an embodiment of the present application, the master gateway sends a request message to the slave gateway to request the slave gateway to obtain and feedback statistical information. Among them, the optical splitter will disturb the optical power of the slave gateways connected to each branch port, thereby causing the optical power of the slave gateway to change. The statistical information includes the optical power change parameters of the slave gateway, and the optical splitter configures different optical power change parameters for the slave gateways connected to different branch ports. Furthermore, the master gateway generates topology information based on the statistical information reported by each slave gateway, thereby determining the connection relationship between each slave gateway and the branch port of the corresponding optical splitter. In this way, the current topology information of the FTTR network can be obtained in real time through the interaction between the master gateway and each slave gateway, which is convenient for effective management and maintenance of the FTTR network.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为FTTH的系统架构示意图;Figure 1 is a schematic diagram of the system architecture of FTTH;
图2为FTTR的系统架构示意图;Figure 2 is a schematic diagram of the system architecture of FTTR;
图3为本申请实施例中生成拓扑信息的方法的第一个实施例示意图;FIG3 is a schematic diagram of a first embodiment of a method for generating topology information in an embodiment of the present application;
图4为本申请实施例中光分路器的一种结构示意图;FIG4 is a schematic diagram of a structure of an optical splitter in an embodiment of the present application;
图5为本申请实施例中一种网络拓扑结构示意图;FIG5 is a schematic diagram of a network topology structure in an embodiment of the present application;
图6为本申请实施例中生成拓扑信息的方法的第二个实施例示意图;FIG6 is a schematic diagram of a second embodiment of a method for generating topology information in an embodiment of the present application;
图7为本申请实施例中一种可能的主网关的结构示意图;FIG7 is a schematic diagram of the structure of a possible master gateway in an embodiment of the present application;
图8为本申请实施例中另一种可能的主网关的结构示意图;FIG8 is a schematic diagram of the structure of another possible master gateway in an embodiment of the present application;
图9为本申请实施例中一种可能的从网关的结构示意图;FIG9 is a schematic diagram of a possible structure of a slave gateway in an embodiment of the present application;
图10为本申请实施例中另一种可能的从网关的结构示意图。FIG10 is a schematic diagram of the structure of another possible slave gateway in an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例提供了一种生成拓扑信息的方法及相关设备,通过主网关与各从网关的交互即可实时获取FTTR网络当前的拓扑信息,便于有效地对FTTR网络进行管理和维护。需要说明的是,本申请说明书和权利要求书及上述附图中的术语“第一”、“第二”等用于区别类似的对象,而非限定特定的顺序或先后次序。应该理解,上述术语在适当情况下可以互换,以便在本申请描述的实施例能够以除了在本申请描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The embodiment of the present application provides a method for generating topology information and related equipment. The current topology information of the FTTR network can be obtained in real time through the interaction between the master gateway and each slave gateway, which is convenient for effectively managing and maintaining the FTTR network. It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, rather than to limit a specific order or sequence. It should be understood that the above terms can be interchanged where appropriate, so that the embodiments described in this application can be implemented in an order other than the content described in this application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
无源光网络(passive optical network,PON)是光接入网的一种实现技术,PON是一种点对多点传送的光接入技术。当前的PON系统主要用于光纤到户(fiber to the home,FTTH)场景,每个家庭用户只会有一个ONU。Passive optical network (PON) is an implementation technology of optical access network. PON is an optical access technology for point-to-multipoint transmission. The current PON system is mainly used in fiber to the home (FTTH) scenarios, and each home user will only have one ONU.
图1为FTTH的系统架构示意图。OLT连接上层的网络侧设备(如交换机、路由器等),下层连接一个或者多个光分配网络(optical distribution network,ODN)。ODN包括用于光功率分配的无源光分光器、连接在无源光分光器和OLT之间的主干光纤,以及连接在无源光分光器和ONU之间的分支光纤。下行传输数据时,ODN将OLT下行的数据通过分光器传输到各个ONU,ONU选择性接收携带自身标识的下行数据。上行传输数据时,ODN将N路ONU发送的光信号组合成一路光信号传输到OLT。ONU为OAN提供用户侧接口,同时与ODN相连。如果ONU同时提供用户端口功能,如ONU提供以太网用户端口或者传统电话业务(plain oldtelephone service,POTS)用户端口,则称为光网络终端(optical network termination,ONT)。Figure 1 is a schematic diagram of the system architecture of FTTH. The OLT is connected to the upper network side equipment (such as switches, routers, etc.), and the lower layer is connected to one or more optical distribution networks (ODN). The ODN includes a passive optical splitter for optical power distribution, a trunk optical fiber connected between the passive optical splitter and the OLT, and a branch optical fiber connected between the passive optical splitter and the ONU. When transmitting data downstream, the ODN transmits the downstream data of the OLT to each ONU through the splitter, and the ONU selectively receives the downstream data carrying its own identification. When transmitting data upstream, the ODN combines the optical signals sent by N ONUs into one optical signal and transmits it to the OLT. The ONU provides a user-side interface for the OAN and is connected to the ODN at the same time. If the ONU also provides a user port function, such as the ONU provides an Ethernet user port or a plain old telephone service (POTS) user port, it is called an optical network terminal (ONT).
在FTTH的基础上,为了解决家庭网络WIFI覆盖的问题,还可以把光纤进一步延伸至住户房间内。在房间内部安装ONU,这样就缩小了用户终端与ONU的距离,提高了信号质量。这种应用场景称之为光纤到房间(Fiber to the Room,FTTR)。On the basis of FTTH, in order to solve the problem of home network WIFI coverage, optical fiber can be further extended to the residents' rooms. ONU is installed inside the room, which shortens the distance between the user terminal and ONU and improves the signal quality. This application scenario is called fiber to the room (FTTR).
图2为FTTR的系统架构示意图。FTTR网络和FTTH网络可以看作是两级PON系统。第一级PON系统(FTTH)中的OLT部署在中心机房,ONU部署在家庭的信息箱中。第二级PON系统(FTTR)中的主网关可以代替FTTH中的ONU部署在家庭的信息箱中,该主网关在FTTR场景中具备与FTTH场景中OLT的类似功能,同时该主网关也可以具备与FTTH场景中ONU的类似功能。也即是说,FTTR中的主网关是兼具OLT和ONU功能的设备,可以作为FTTH和FTTR之间起承上启下作用的网络设备。FTTR中的从网关可以部署在家庭的各房间内,用于和用户终端之间相连,该从网关和FTTH中的ONU在本质上是同一类型的网络设备。不同的是,FTTH中ONU一般部署在信息箱内,与用户终端之间通常还会相隔一个接入点(access point,AP)。而FTTR中从网关进入每个房间,并且该从网关还具备AP的功能,可直接与用户终端进行WiFi连接。Figure 2 is a schematic diagram of the system architecture of FTTR. The FTTR network and the FTTH network can be regarded as a two-level PON system. The OLT in the first-level PON system (FTTH) is deployed in the central machine room, and the ONU is deployed in the information box of the home. The master gateway in the second-level PON system (FTTR) can replace the ONU in FTTH and be deployed in the information box of the home. The master gateway has similar functions as the OLT in the FTTH scenario in the FTTR scenario, and the master gateway can also have similar functions as the ONU in the FTTH scenario. In other words, the master gateway in the FTTR is a device that has both OLT and ONU functions, and can serve as a network device that connects FTTH and FTTR. The slave gateway in the FTTR can be deployed in each room of the home to connect with the user terminal. The slave gateway and the ONU in the FTTH are essentially the same type of network devices. The difference is that the ONU in the FTTH is generally deployed in the information box, and there is usually an access point (AP) between the user terminal. In FTTR, each room is accessed from a gateway, which also has the function of an AP and can directly establish a WiFi connection with the user terminal.
应理解,在FTTR中可以部署多个从网关,每个从网关连接在对应的光分路器的分支端口。并且,本申请不限定FTTR中光分路器的数量,主网关与各光分路器通过级联的方式连接。主网关可以实现对所有从网关的统一管理和配置。比如,主网关作为家庭网络的控制中心,可以将全屋的WiFi热点配置为一个统一的网络,优化信道从而避免干扰,并且可以控制用户终端的漫游和切换,降低网络切换时间,提升用户体验。It should be understood that multiple slave gateways can be deployed in the FTTR, and each slave gateway is connected to the branch port of the corresponding optical splitter. In addition, the present application does not limit the number of optical splitters in the FTTR, and the master gateway is connected to each optical splitter in a cascade manner. The master gateway can achieve unified management and configuration of all slave gateways. For example, as the control center of the home network, the master gateway can configure the WiFi hotspots of the whole house into a unified network, optimize the channels to avoid interference, and control the roaming and switching of user terminals, reduce network switching time, and improve user experience.
图3为本申请实施例中生成拓扑信息的方法的第一个实施例示意图。在该示例中,生成拓扑信息的方法包括如下步骤。Fig. 3 is a schematic diagram of a first embodiment of a method for generating topology information in an embodiment of the present application. In this example, the method for generating topology information includes the following steps.
301、主网关向光分路器发送配置消息。301. The main gateway sends a configuration message to the optical splitter.
在一种可能的实施方式中,光分路器可以根据主网关发送的配置消息进行本地配置,从而可以按照配置对各分支端口进行光功率的扰动,以使得各从网关检测到相应的光功率变化。应理解,在另一种可能的实施方式中,光分路器也可以预先完成本地配置,也就不需要主网关再向光分路器发送的配置消息了。In a possible implementation, the optical splitter can be locally configured according to the configuration message sent by the master gateway, so that the optical power of each branch port can be disturbed according to the configuration, so that each slave gateway detects the corresponding optical power change. It should be understood that in another possible implementation, the optical splitter can also complete the local configuration in advance, so that the master gateway does not need to send a configuration message to the optical splitter.
302、光分路器对各分支端口进行光功率扰动。302. The optical splitter performs optical power disturbance on each branch port.
需要说明的是,对各分支端口进行光功率扰动指的是调节各分支端口输出光功率的大小。光功率扰动包括但不限于光功率的扰动幅度和光功率的扰动频率。其中,光分路器对不同分支端口的光功率扰动规则不同,即光分路器为不同分支端口连接的从网关配置的光功率变化参数不同,光功率变化参数包括但不限于光功率变化幅度和光功率变化频率。例如,光分路器对不同分支端口进行光功率扰动的扰动幅度不同,即不同从网关检测到的光功率变化幅度不同。又例如,光分路器对不同分支端口进行光功率扰动的扰动频率不同,即不同从网关检测到的光功率变化频率不同,或者,不同从网关单位周期内检测到的光功率变化次数不同。It should be noted that performing optical power disturbance on each branch port refers to adjusting the size of the optical power output by each branch port. Optical power disturbance includes, but is not limited to, the disturbance amplitude of optical power and the disturbance frequency of optical power. Among them, the optical splitter has different optical power disturbance rules for different branch ports, that is, the optical splitter configures different optical power change parameters for the slave gateways connected to different branch ports, and the optical power change parameters include, but are not limited to, the optical power change amplitude and the optical power change frequency. For example, the optical splitter has different disturbance amplitudes for optical power disturbances on different branch ports, that is, the optical power change amplitudes detected by different slave gateways are different. For another example, the optical splitter has different disturbance frequencies for optical power disturbances on different branch ports, that is, the optical power change frequencies detected by different slave gateways are different, or the number of optical power changes detected by different slave gateways within a unit period is different.
图4为本申请实施例中光分路器的一种结构示意图。如图4所示,光分路器中增加了微控制单元(Microcontroller Unit,MCU),MCU可以按照主网关发送的配置消息或预先设定好的配置烧制好扰动不同分支端口的电极程序。在一种可能的实施方式中,光分路器的每个分支端口接入的光纤采用热光材料,当对该热光材料外皮层施加电压,导致温度变化时,部分光场能量将从该处逸出,从而达到通过用MCU调节光衰减量的目的。应理解,MCU对各分支端口施加电压的强度决定了光功率的扰动幅度,MCU对各分支端口施加电压的频率决定了光功率的扰动频率。FIG4 is a schematic diagram of the structure of an optical splitter in an embodiment of the present application. As shown in FIG4 , a microcontroller unit (MCU) is added to the optical splitter. The MCU can burn the electrode program that disturbs different branch ports according to the configuration message sent by the main gateway or the pre-set configuration. In a possible implementation, the optical fiber connected to each branch port of the optical splitter adopts thermo-optical material. When a voltage is applied to the outer layer of the thermo-optical material, causing the temperature to change, part of the light field energy will escape from there, thereby achieving the purpose of adjusting the light attenuation by using the MCU. It should be understood that the intensity of the voltage applied by the MCU to each branch port determines the disturbance amplitude of the optical power, and the frequency of the voltage applied by the MCU to each branch port determines the disturbance frequency of the optical power.
303、主网关向从网关发送请求消息。303. The master gateway sends a request message to the slave gateway.
主网关通过向从网关发送请求消息,以请求从网关进行光功率检测,从而获取用于反映光功率扰动情况的光功率变化参数。The master gateway sends a request message to the slave gateway to request the slave gateway to perform optical power detection, thereby obtaining an optical power variation parameter for reflecting an optical power disturbance situation.
304、从网关获取统计信息。304. Obtain statistical information from the gateway.
需要说明的是,从网关获取的统计信息包括但不限定于光功率变化参数,例如,统计信息还可以包括从网关的接收信号强度指示(Received Signal Strength Indicator,RSSI)和/或往返时间(Round Trip Time,RTT),下面会有其他的实施例进行介绍。It should be noted that the statistical information obtained from the gateway includes but is not limited to the optical power change parameter. For example, the statistical information may also include the received signal strength indication (RSSI) and/or the round trip time (RTT) from the gateway. Other embodiments will be introduced below.
305、从网关向主网关发送携带统计信息的响应消息。305. The slave gateway sends a response message carrying statistical information to the master gateway.
需要说明的是,本申请不限定主网关与从网关之间交互消息的格式,例如可以采用已有的消息格式,以适配现有的标准。作为一个示例,当主网关和从网关使用GPON制式时,请求消息和响应消息可以采用光网络单元管理控制接口(Management and ControlInterface,OMCI)消息格式。例如下表1所示,可以在OMCI消息的相应字段进行新的定义,用于指示光功率变化参数。It should be noted that the present application does not limit the format of the interactive messages between the master gateway and the slave gateway. For example, an existing message format can be used to adapt to existing standards. As an example, when the master gateway and the slave gateway use the GPON standard, the request message and the response message can use the optical network unit management control interface (OMCI) message format. For example, as shown in Table 1 below, a new definition can be made in the corresponding field of the OMCI message to indicate the optical power change parameter.
表1Table 1
作为另一个示例,当主网关和从网关使用EPON制式时,请求消息和响应消息可以采用操作维护管理(Operation Administration and Maintenance,OAM)消息格式。例如下表2所示,可以在OAM消息增加新的字段,用于指示光功率变化参数。As another example, when the master gateway and the slave gateway use the EPON standard, the request message and the response message may adopt the Operation Administration and Maintenance (OAM) message format. For example, as shown in Table 2 below, a new field may be added to the OAM message to indicate the optical power change parameter.
表2Table 2
应理解,除了上述介绍的OMCI消息和OAM消息外,主网关与从网关之间交互的消息格式也可以采用以太报文等其他格式的消息。另外,在一些可能的场景中,主网关与光分路器之间以及光分路器与从网关之间还可以采用光电复合缆连接,那么主网关与从网关之间也可以通过电信号进行交互。It should be understood that, in addition to the OMCI message and OAM message described above, the message format for interaction between the master gateway and the slave gateway may also be messages in other formats such as Ethernet messages. In addition, in some possible scenarios, the master gateway and the optical splitter and the optical splitter and the slave gateway may also be connected by an optoelectronic composite cable, so that the master gateway and the slave gateway may also interact through electrical signals.
306、主网关根据响应消息生成拓扑信息。306. The main gateway generates topology information according to the response message.
需要说明的是,由于光分路器对不同分支端口进行了不同规则的光功率扰动,各从网关检测到的光功率变化参数也各不相同。因此,主网关根据各从网关上报的统计消息即可对不同从网关进行区分,从而确定每个从网关连接的光分路器以及具体连接的分支端口,实现了拓扑还原。应理解,在实际应用中,可以制定不同的策略来识别各从网关连接的光分路器以及具体连接的分支端口,下面介绍几种可能的实施方式。It should be noted that, since the optical splitter performs optical power disturbances on different branch ports in different rules, the optical power change parameters detected by each slave gateway are also different. Therefore, the master gateway can distinguish different slave gateways based on the statistical messages reported by each slave gateway, thereby determining the optical splitter connected to each slave gateway and the specific connected branch port, thereby achieving topology restoration. It should be understood that in actual applications, different strategies can be formulated to identify the optical splitter connected to each slave gateway and the specific connected branch port. Several possible implementation methods are introduced below.
实施方式1:通过光功率的扰动幅度区分与同一个光分路器连接的不同从网关,通过光功率的扰动频率区分不同的光分路器。Implementation method 1: different slave gateways connected to the same optical splitter are distinguished by the disturbance amplitude of the optical power, and different optical splitters are distinguished by the disturbance frequency of the optical power.
图5为本申请实施例中一种网络拓扑结构示意图。如图5所示,光分路器0、光分路器1与光分路器2级联连接,光分路器0的端口0连接从网关0,光分路器0的端口1连接从网关1,光分路器1的端口0连接从网关2,光分路器1的端口1连接从网关3,光分路器2的端口0连接从网关4,光分路器2的端口1连接从网关5。FIG5 is a schematic diagram of a network topology structure in an embodiment of the present application. As shown in FIG5, optical splitter 0, optical splitter 1 and optical splitter 2 are connected in cascade, port 0 of optical splitter 0 is connected to slave gateway 0, port 1 of optical splitter 0 is connected to slave gateway 1, port 0 of optical splitter 1 is connected to slave gateway 2, port 1 of optical splitter 1 is connected to slave gateway 3, port 0 of optical splitter 2 is connected to slave gateway 4, and port 1 of optical splitter 2 is connected to slave gateway 5.
以图5为例,每个光分路器对所有分支端口的光功率扰动频率相同,每个光分路器对不同分支端口的光功率扰动幅度不同,并且,不同光分路器的光功率扰动频率不同。例如,光分路器0对所有端口采用的光功率扰动频率为f0,光分路器1对所有端口采用的光功率扰动频率为f1,光分路器2对所有端口采用的光功率扰动频率为f2。光分路器0对端口0采用的光功率扰动幅度为p0,光分路器0对端口1采用的光功率扰动幅度为p1。光分路器1对端口0采用的光功率扰动幅度为p2,光分路器0对端口1采用的光功率扰动幅度为p3。光分路器2对端口0采用的光功率扰动幅度为p4,光分路器2对端口1采用的光功率扰动幅度为p5。Taking Figure 5 as an example, each optical splitter has the same optical power disturbance frequency for all branch ports, each optical splitter has different optical power disturbance amplitudes for different branch ports, and different optical splitters have different optical power disturbance frequencies. For example, the optical power disturbance frequency used by optical splitter 0 for all ports is f0, the optical power disturbance frequency used by optical splitter 1 for all ports is f1, and the optical power disturbance frequency used by optical splitter 2 for all ports is f2. The optical power disturbance amplitude used by optical splitter 0 for port 0 is p0, and the optical power disturbance amplitude used by optical splitter 0 for port 1 is p1. The optical power disturbance amplitude used by optical splitter 1 for port 0 is p2, and the optical power disturbance amplitude used by optical splitter 0 for port 1 is p3. The optical power disturbance amplitude used by optical splitter 2 for port 0 is p4, and the optical power disturbance amplitude used by optical splitter 2 for port 1 is p5.
应理解,f0、f1与f2互不相同,那么主网关根据各从网关上报的光功率变化频率即可识别出各从网关所连接的光分路器。进而,p0与p1互不相同,p2与p3互不相同,p4与p5互不相同,那么主网关根据各从网关上报的光功率变化幅度即可识别出各从网关连接的分支端口。这样一来,主网关也就知道了各从网关连接在哪个光分路器以及具体连接在哪个端口。It should be understood that f0, f1 and f2 are different from each other, so the master gateway can identify the optical splitter connected to each slave gateway according to the optical power change frequency reported by each slave gateway. Furthermore, p0 and p1 are different, p2 and p3 are different, and p4 and p5 are different, so the master gateway can identify the branch port connected to each slave gateway according to the optical power change amplitude reported by each slave gateway. In this way, the master gateway also knows which optical splitter each slave gateway is connected to and which specific port it is connected to.
实施方式2:通过光功率的扰动频率区分与同一个光分路器连接的不同从网关,通过光功率的扰动幅度区分不同的光分路器。Implementation method 2: different slave gateways connected to the same optical splitter are distinguished by the disturbance frequency of the optical power, and different optical splitters are distinguished by the disturbance amplitude of the optical power.
以图5为例,每个光分路器对所有分支端口的光功率扰动幅度相同,每个光分路器对不同分支端口的光功率扰动频率不同,并且,不同光分路器的光功率扰动幅度不同。例如,光分路器0对所有端口采用的光功率扰动幅度为p0,光分路器1对所有端口采用的光功率扰动幅度为p1,光分路器2对所有端口采用的光功率扰动幅度为p2。光分路器0对端口0采用的光功率扰动频率为f0,光分路器0对端口1采用的光功率扰动频率为f1。光分路器1对端口0采用的光功率扰动频率为f2,光分路器0对端口1采用的光功率扰动频率为f3。光分路器2对端口0采用的光功率扰动频率为f4,光分路器2对端口1采用的光功率扰动频率为f5。Taking Figure 5 as an example, the optical power disturbance amplitude of each optical splitter for all branch ports is the same, the optical power disturbance frequency of each optical splitter for different branch ports is different, and the optical power disturbance amplitudes of different optical splitters are different. For example, the optical power disturbance amplitude used by optical splitter 0 for all ports is p0, the optical power disturbance amplitude used by optical splitter 1 for all ports is p1, and the optical power disturbance amplitude used by optical splitter 2 for all ports is p2. The optical power disturbance frequency used by optical splitter 0 for port 0 is f0, and the optical power disturbance frequency used by optical splitter 0 for port 1 is f1. The optical power disturbance frequency used by optical splitter 1 for port 0 is f2, and the optical power disturbance frequency used by optical splitter 0 for port 1 is f3. The optical power disturbance frequency used by optical splitter 2 for port 0 is f4, and the optical power disturbance frequency used by optical splitter 2 for port 1 is f5.
应理解,p0、p1与p2互不相同,那么主网关根据各从网关上报的光功率变化幅度即可识别出各从网关所连接的光分路器。进而,f0与f1互不相同,f2与f3互不相同,f4与f5互不相同,那么主网关根据各从网关上报的光功率变化频率即可识别出各从网关连接的分支端口。这样一来,主网关也就知道了各从网关连接在哪个光分路器以及具体连接在哪个端口。It should be understood that p0, p1 and p2 are different from each other, so the master gateway can identify the optical splitter connected to each slave gateway according to the optical power change amplitude reported by each slave gateway. Furthermore, f0 and f1 are different, f2 and f3 are different, and f4 and f5 are different, so the master gateway can identify the branch port connected to each slave gateway according to the optical power change frequency reported by each slave gateway. In this way, the master gateway also knows which optical splitter each slave gateway is connected to and which specific port it is connected to.
图6为本申请实施例中生成拓扑信息的方法的第二个实施例示意图。在该示例中,生成拓扑信息的方法包括如下步骤。Fig. 6 is a schematic diagram of a second embodiment of the method for generating topology information in an embodiment of the present application. In this example, the method for generating topology information includes the following steps.
601、主网关向从网关发送请求消息1。601. The master gateway sends a request message 1 to the slave gateway.
主网关通过向从网关发送请求消息1,以请求从网关检测RSSI和/或RTT。应理解,此时光分路器还没有对各分支端口进行光功率扰动,因此,各从网关检测的都是正常状态下的RSSI和/或RTT。The master gateway requests the slave gateway to detect RSSI and/or RTT by sending a request message 1 to the slave gateway. It should be understood that at this time, the optical splitter has not yet disturbed the optical power of each branch port, so each slave gateway detects RSSI and/or RTT in a normal state.
602、从网关获取统计信息1。602. Obtain statistical information 1 from the gateway.
从网关根据主网关发送的请求消息1检测RSSI和/或RTT,从而得到包括RSSI和/或RTT的统计信息1。The slave gateway detects RSSI and/or RTT according to the request message 1 sent by the master gateway, thereby obtaining statistical information 1 including RSSI and/or RTT.
603、从网关向主网关发送携带统计信息1的响应消息1。603. The slave gateway sends a response message 1 carrying statistical information 1 to the master gateway.
需要说明的是,本申请不限定主网关与从网关之间交互消息的格式,请求消息1与响应消息1的具体格式可以参考图3所示实施例中步骤305的相关介绍,此处不再赘述。It should be noted that the present application does not limit the format of the interactive messages between the master gateway and the slave gateway. The specific formats of the request message 1 and the response message 1 can refer to the relevant introduction of step 305 in the embodiment shown in FIG. 3 , which will not be repeated here.
604、主网关向光分路器发送配置消息。604. The main gateway sends a configuration message to the optical splitter.
605、光分路器对各分支端口进行光功率扰动。605. The optical splitter performs optical power disturbance on each branch port.
本实施例中步骤604-步骤605与图3所示实施例中步骤301-步骤302类似,此处不再赘述。Step 604-step 605 in this embodiment is similar to step 301-step 302 in the embodiment shown in FIG. 3 , and will not be described in detail here.
606、主网关向从网关发送请求消息2。606. The master gateway sends a request message 2 to the slave gateway.
应理解,此时光分路器已经开始对各分支端口进行光功率扰动了,请求消息2不同于上述的请求消息1,请求消息2用于请求从网关进行光功率检测,从而获取用于反映光功率扰动情况的光功率变化参数。其中,光功率变化参数包括但不限于光功率变化幅度和光功率变化频率。It should be understood that at this time, the optical splitter has begun to disturb the optical power of each branch port. Request message 2 is different from the above-mentioned request message 1. Request message 2 is used to request optical power detection from the gateway, so as to obtain optical power change parameters used to reflect the optical power disturbance. Among them, the optical power change parameters include but are not limited to the optical power change amplitude and the optical power change frequency.
607、从网关获取统计信息2。607. Obtain statistical information 2 from the gateway.
应理解,统计信息2不同于上述统计信息1,统计信息2包括从网关检测的光功率变化参数。It should be understood that the statistical information 2 is different from the statistical information 1 described above, and the statistical information 2 includes an optical power variation parameter detected from the gateway.
608、从网关向主网关发送携带统计信息2的响应消息2。608. The slave gateway sends a response message 2 carrying statistical information 2 to the master gateway.
需要说明的是,本申请不限定主网关与从网关之间交互消息的格式,请求消息2与响应消息2的具体格式可以参考图3所示实施例中步骤305的相关介绍,此处不再赘述。It should be noted that the present application does not limit the format of the interactive messages between the master gateway and the slave gateway. The specific formats of the request message 2 and the response message 2 can refer to the relevant introduction of step 305 in the embodiment shown in FIG. 3 , which will not be repeated here.
609、主网关根据响应消息1和响应消息2生成拓扑信息。609. The main gateway generates topology information according to the response message 1 and the response message 2.
需要说明的是,由于光分路器对不同分支端口进行了不同规则的光功率扰动,与同一光分路器连接的各从网关检测到的光功率变化参数也各不相同。因此,主网关根据各从网关上报的统计消息2即可对与同一光分路器连接的不同从网关进行区分,从而确定每个从网关连接的分支端口。进而,不同光分路器上的端口号相同的端口采用了相同规则的光功率扰动,那么主网关还可以根据各从网关上报的统计消息1对所连接的端口号相同的同一组从网关进行区分,从而识别出该同一组从网关分别连接的光分路器。例如,RSSI越大则说明从网关连接的光分路器的级联位置越靠前,又例如,RTT越小则说明从网关连接的光分路器的级联位置越靠前。主网关综合统计信息1和统计信息2即可实现拓扑还原。应理解,在实际应用中,结合统计信息1和统计信息2可以制定不同的策略来识别各从网关连接的光分路器以及具体连接的分支端口,下面介绍几种可能的实施方式。It should be noted that, since the optical splitter performs optical power disturbances of different rules on different branch ports, the optical power change parameters detected by each slave gateway connected to the same optical splitter are also different. Therefore, the master gateway can distinguish different slave gateways connected to the same optical splitter according to the statistical message 2 reported by each slave gateway, thereby determining the branch port connected to each slave gateway. Furthermore, the ports with the same port number on different optical splitters use the same rule of optical power disturbance, so the master gateway can also distinguish the same group of slave gateways with the same port number according to the statistical message 1 reported by each slave gateway, thereby identifying the optical splitters connected to the same group of slave gateways. For example, the larger the RSSI, the closer the cascade position of the optical splitter connected to the slave gateway is. For another example, the smaller the RTT, the closer the cascade position of the optical splitter connected to the slave gateway is. The master gateway can realize topology restoration by combining statistical information 1 and statistical information 2. It should be understood that in practical applications, different strategies can be formulated in combination with statistical information 1 and statistical information 2 to identify the optical splitters connected to each slave gateway and the specific connected branch ports. Several possible implementation methods are introduced below.
实施方式3:通过光功率的扰动幅度区分与同一个光分路器连接的不同从网关,通过RSSI和/或RTT识别从网关连接的光分路器。Implementation method 3: different slave gateways connected to the same optical splitter are distinguished by the disturbance amplitude of optical power, and the optical splitter connected to the slave gateway is identified by RSSI and/or RTT.
以图5为例,每个光分路器对不同分支端口的光功率扰动幅度不同,并且,不同光分路器对端口号相同的分支端口的光功率扰动幅度相同。例如,光分路器0对端口0采用的光功率扰动幅度为p0,光分路器0对端口1采用的光功率扰动幅度为p1。光分路器1对端口0采用的光功率扰动幅度为p0,光分路器0对端口1采用的光功率扰动幅度为p1。光分路器2对端口0采用的光功率扰动幅度为p0,光分路器2对端口1采用的光功率扰动幅度为p1。Taking Figure 5 as an example, each optical splitter has different optical power disturbance amplitudes for different branch ports, and different optical splitters have the same optical power disturbance amplitudes for branch ports with the same port number. For example, the optical power disturbance amplitude used by optical splitter 0 for port 0 is p0, and the optical power disturbance amplitude used by optical splitter 0 for port 1 is p1. The optical power disturbance amplitude used by optical splitter 1 for port 0 is p0, and the optical power disturbance amplitude used by optical splitter 0 for port 1 is p1. The optical power disturbance amplitude used by optical splitter 2 for port 0 is p0, and the optical power disturbance amplitude used by optical splitter 2 for port 1 is p1.
应理解,p0与p1互不相同,那么主网关根据各从网关上报的光功率变化幅度即可识别出各从网关连接的分支端口。可以看出,从网关0、从网关2和从网关4检测到的光功率变化幅度均为p0,从网关1、从网关3和从网关5检测到的光功率变化幅度均为p1。对于检测到的RSSI,从网关0>从网关2>从网关4,从网关1>从网关3>从网关5。对于检测到的RTT,从网关0<从网关2<从网关4,从网关1<从网关3<从网关5。基于此可以推断出,从网关0和从网关1与光分路器0连接,从网关2和从网关3与光分路器1连接,从网关4和从网关5与光分路器2连接。It should be understood that p0 and p1 are different from each other, so the master gateway can identify the branch ports connected to each slave gateway according to the optical power change amplitude reported by each slave gateway. It can be seen that the optical power change amplitude detected by slave gateway 0, slave gateway 2 and slave gateway 4 is p0, and the optical power change amplitude detected by slave gateway 1, slave gateway 3 and slave gateway 5 is p1. For the detected RSSI, slave gateway 0>slave gateway 2>slave gateway 4, slave gateway 1>slave gateway 3>slave gateway 5. For the detected RTT, slave gateway 0<slave gateway 2<slave gateway 4, slave gateway 1<slave gateway 3<slave gateway 5. Based on this, it can be inferred that slave gateway 0 and slave gateway 1 are connected to optical splitter 0, slave gateway 2 and slave gateway 3 are connected to optical splitter 1, and slave gateway 4 and slave gateway 5 are connected to optical splitter 2.
实施方式4:通过光功率的扰动频率区分与同一个光分路器连接的不同从网关,通过RSSI和/或RTT识别从网关连接的光分路器。Embodiment 4: Different slave gateways connected to the same optical splitter are distinguished by the disturbance frequency of optical power, and the optical splitter connected to the slave gateway is identified by RSSI and/or RTT.
以图5为例,每个光分路器对不同分支端口的光功率扰动频率不同,并且,不同光分路器对端口号相同的分支端口的光功率扰动频率相同。例如,光分路器0对端口0采用的光功率扰动频率为f0,光分路器0对端口1采用的光功率扰动频率为f1。光分路器1对端口0采用的光功率扰动频率为f0,光分路器0对端口1采用的光功率扰动频率为f1。光分路器2对端口0采用的光功率扰动频率为f0,光分路器2对端口1采用的光功率扰动频率为f1。Taking Figure 5 as an example, each optical splitter has different optical power disturbance frequencies for different branch ports, and different optical splitters have the same optical power disturbance frequencies for branch ports with the same port number. For example, the optical power disturbance frequency used by optical splitter 0 for port 0 is f0, and the optical power disturbance frequency used by optical splitter 0 for port 1 is f1. The optical power disturbance frequency used by optical splitter 1 for port 0 is f0, and the optical power disturbance frequency used by optical splitter 0 for port 1 is f1. The optical power disturbance frequency used by optical splitter 2 for port 0 is f0, and the optical power disturbance frequency used by optical splitter 2 for port 1 is f1.
应理解,f0与f1互不相同,那么主网关根据各从网关上报的光功率变化频率即可识别出各从网关连接的分支端口。可以看出,从网关0、从网关2和从网关4检测到的光功率变化频率均为f0,从网关1、从网关3和从网关5检测到的光功率变化频率均为f1。对于检测到的RSSI,从网关0>从网关2>从网关4,从网关1>从网关3>从网关5。对于检测到的RTT,从网关0<从网关2<从网关4,从网关1<从网关3<从网关5。基于此可以推断出,从网关0和从网关1与光分路器0连接,从网关2和从网关3与光分路器1连接,从网关4和从网关5与光分路器2连接。It should be understood that f0 and f1 are different from each other, so the master gateway can identify the branch port connected to each slave gateway according to the optical power change frequency reported by each slave gateway. It can be seen that the optical power change frequency detected by slave gateway 0, slave gateway 2 and slave gateway 4 is f0, and the optical power change frequency detected by slave gateway 1, slave gateway 3 and slave gateway 5 is f1. For the detected RSSI, slave gateway 0>slave gateway 2>slave gateway 4, slave gateway 1>slave gateway 3>slave gateway 5. For the detected RTT, slave gateway 0<slave gateway 2<slave gateway 4, slave gateway 1<slave gateway 3<slave gateway 5. Based on this, it can be inferred that slave gateway 0 and slave gateway 1 are connected to optical splitter 0, slave gateway 2 and slave gateway 3 are connected to optical splitter 1, and slave gateway 4 and slave gateway 5 are connected to optical splitter 2.
综合上面的介绍,本申请实施例中,主网关向从网关发送请求消息,用于请求从网关获取并反馈统计信息。其中,光分路器会对各分支端口连接的从网关进行光功率的扰动,从而引起从网关的光功率变化,统计信息包括从网关的光功率变化参数,光分路器为不同分支端口连接的从网关配置的光功率变化参数不同。进而,主网关根据各从网关上报的统计信息生成拓扑信息,从而确定每个从网关与对应光分路器的分支端口的连接关系。这样一来,通过主网关与各从网关的交互即可实时获取FTTR网络当前的拓扑信息,便于有效地对FTTR网络进行管理和维护。To summarize the above introduction, in an embodiment of the present application, the master gateway sends a request message to the slave gateway to request the slave gateway to obtain and feedback statistical information. Among them, the optical splitter will disturb the optical power of the slave gateways connected to each branch port, thereby causing the optical power of the slave gateway to change, and the statistical information includes the optical power change parameters of the slave gateway, and the optical splitter configures different optical power change parameters for the slave gateways connected to different branch ports. Furthermore, the master gateway generates topology information based on the statistical information reported by each slave gateway, thereby determining the connection relationship between each slave gateway and the branch port of the corresponding optical splitter. In this way, the current topology information of the FTTR network can be obtained in real time through the interaction between the master gateway and each slave gateway, which is convenient for effective management and maintenance of the FTTR network.
下面对本申请实施例提供的主网关和从网关进行介绍。The master gateway and slave gateway provided in the embodiment of the present application are introduced below.
图7为本申请实施例中一种可能的主网关的结构示意图。该主网关包括处理单元701和收发单元702。具体地,收发单元702用于执行上述图3和图6所示实施例中主网关进行消息收发的操作,处理单元701用于执行上述图3和图6所示实施例中除了消息收发之外主网关的其他操作。FIG7 is a schematic diagram of the structure of a possible master gateway in an embodiment of the present application. The master gateway includes a processing unit 701 and a transceiver unit 702. Specifically, the transceiver unit 702 is used to perform the operations of the master gateway in sending and receiving messages in the embodiments shown in FIG3 and FIG6, and the processing unit 701 is used to perform other operations of the master gateway in addition to sending and receiving messages in the embodiments shown in FIG3 and FIG6.
图8为本申请实施例中另一种可能的主网关的结构示意图。该主网关包括处理器801和收发器802,处理器801与收发器802通过线路相互连接。需要说明的是,收发器802用于执行上述图3和图6所示实施例中主网关进行消息收发的操作。处理器801用于执行上述图3和图6所示实施例中除消息收发外主网关的其他操作。在一些可能的实施方式中,处理器801包括上述的处理单元701,收发器802包括上述的收发单元702。可选地,主网关还可以包括存储器803,其中,存储器803用于存储程序指令和数据。FIG8 is a schematic diagram of the structure of another possible master gateway in an embodiment of the present application. The master gateway includes a processor 801 and a transceiver 802, and the processor 801 and the transceiver 802 are interconnected through lines. It should be noted that the transceiver 802 is used to perform the operations of the master gateway in sending and receiving messages in the embodiments shown in FIG3 and FIG6 above. The processor 801 is used to perform other operations of the master gateway in addition to sending and receiving messages in the embodiments shown in FIG3 and FIG6 above. In some possible implementations, the processor 801 includes the above-mentioned processing unit 701, and the transceiver 802 includes the above-mentioned transceiver unit 702. Optionally, the master gateway may also include a memory 803, wherein the memory 803 is used to store program instructions and data.
图9为本申请实施例中一种可能的从网关的结构示意图。该从网关包括处理单元901和收发单元902。具体地,收发单元902用于执行上述图3和图6所示实施例中从网关进行消息收发的操作,处理单元901用于执行上述图3和图6所示实施例中除了消息收发之外从网关的其他操作。FIG9 is a schematic diagram of a possible structure of a slave gateway in an embodiment of the present application. The slave gateway includes a processing unit 901 and a transceiver unit 902. Specifically, the transceiver unit 902 is used to perform the operations of sending and receiving messages by the slave gateway in the embodiments shown in FIG3 and FIG6, and the processing unit 901 is used to perform other operations of the slave gateway in addition to sending and receiving messages in the embodiments shown in FIG3 and FIG6.
图10为本申请实施例中另一种可能的从网关的结构示意图。该从网关包括处理器1001和收发器1002,处理器1001与收发器1002通过线路相互连接。需要说明的是,收发器1002用于执行上述图3和图6所示实施例中从网关进行消息收发的操作。处理器1001用于执行上述图3和图6所示实施例中除消息收发外从网关的其他操作。在一些可能的实施方式中,处理器1001包括上述的处理单元901,收发器1002包括上述的收发单元902。可选地,从网关还可以包括存储器1003,其中,存储器1003用于存储程序指令和数据。Figure 10 is a schematic diagram of the structure of another possible slave gateway in an embodiment of the present application. The slave gateway includes a processor 1001 and a transceiver 1002, and the processor 1001 and the transceiver 1002 are interconnected by lines. It should be noted that the transceiver 1002 is used to perform the operations of sending and receiving messages from the slave gateway in the embodiments shown in Figures 3 and 6 above. The processor 1001 is used to perform other operations of the slave gateway except sending and receiving messages in the embodiments shown in Figures 3 and 6 above. In some possible implementations, the processor 1001 includes the above-mentioned processing unit 901, and the transceiver 1002 includes the above-mentioned transceiver unit 902. Optionally, the slave gateway may also include a memory 1003, wherein the memory 1003 is used to store program instructions and data.
需要说明的是,上述图8和图10中所示的处理器可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路ASIC,或者至少一个集成电路,用于执行相关程序,以实现本申请实施例所提供的技术方案。上述图8和图10所示的存储器可以存储操作系统和其他应用程序。在通过软件或者固件来实现本申请实施例提供的技术方案时,用于实现本申请实施例提供的技术方案的程序代码保存在存储器中,并由处理器来执行。在一实施例中,处理器内部可以包括存储器。在另一实施例中,处理器和存储器是两个独立的结构。It should be noted that the processor shown in Figures 8 and 10 above can adopt a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit ASIC, or at least one integrated circuit to execute relevant programs to implement the technical solution provided in the embodiment of the present application. The memory shown in Figures 8 and 10 above can store an operating system and other applications. When the technical solution provided in the embodiment of the present application is implemented by software or firmware, the program code for implementing the technical solution provided in the embodiment of the present application is stored in the memory and executed by the processor. In one embodiment, the processor may include a memory inside. In another embodiment, the processor and the memory are two independent structures.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,随机接入存储器等。具体地,例如:上述处理单元或处理器可以是中央处理器,通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。上述的这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that all or part of the steps to implement the above-mentioned embodiments can be completed by hardware, or can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a random access memory, etc. Specifically, for example: the above-mentioned processing unit or processor can be a central processing unit, a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. Whether the above-mentioned functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
当使用软件实现时,上述实施例描述的方法步骤可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。When software is used for implementation, the method steps described in the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
Claims (42)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211558414.7A CN118158571A (en) | 2022-12-06 | 2022-12-06 | A method for generating topology information and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211558414.7A CN118158571A (en) | 2022-12-06 | 2022-12-06 | A method for generating topology information and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118158571A true CN118158571A (en) | 2024-06-07 |
Family
ID=91290814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211558414.7A Pending CN118158571A (en) | 2022-12-06 | 2022-12-06 | A method for generating topology information and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118158571A (en) |
-
2022
- 2022-12-06 CN CN202211558414.7A patent/CN118158571A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10057667B2 (en) | Extending EPON multi-point control protocol to run on Ethernet PON over coax networks | |
EP3829080A1 (en) | Pon fault location method and device | |
JP5409609B2 (en) | GPON OAM using IEEE802.1ag method | |
CN100499408C (en) | Method for configuring slave to optical line terminal and point-to-multipoint optical network system | |
EP3154222B1 (en) | Service configuration data processing method and apparatus | |
US9344239B2 (en) | Allocating orthogonal frequency-division multiple access (OFDMA) resources in ethernet passive optical network(PON) over coaxial (EPOC) | |
AU2018403910B2 (en) | Communication network and related devices | |
CN114125594B (en) | Network configuration method and related equipment | |
WO2011150620A1 (en) | Method and system for identifying accessing network for home gateway | |
BR112015030807B1 (en) | METHOD AND DEVICE TO VIRTUALIZE PASSIVE OPTICAL NETWORK AND PASSIVE OPTICAL NETWORK VIRTUALIZATION SYSTEM | |
CN204993716U (en) | Novel wavelength devision multiplex integration of three networks system that fiber to home | |
CN118158571A (en) | A method for generating topology information and related equipment | |
WO2024119973A1 (en) | Optical splitter, slave gateway, master gateway, and electrical signal transmission method | |
US20150350755A1 (en) | Method And Apparatus For The Management Of Remote Nodes In A Communication Network | |
CN103595600B (en) | A kind of clustering methods and photoelectricity Two-way Network suitable for EOC large-scale network-estabilishings | |
CN212627917U (en) | A distributed home base station and optical fiber network system | |
CN102377587B (en) | Method for automatic authentication and configuration issue of cable bridge terminal with utilization of BOSS system | |
Tego et al. | Experimental Verification on a Slicing Management Based on the mPlane Monitoring Plane With GPON Comparison | |
WO2024221722A1 (en) | Message transmission method, master device, olt, and optical communication system | |
CN111654764B (en) | Terminal management method and system | |
WO2025112294A1 (en) | Communication method, communication apparatus, and communication network | |
FENG et al. | A NETWORK MANAGEMENT SYSTEM FOR EPON BASED ON SNMP | |
Yang | Application Of Gpon In Campus Network | |
CN115412273A (en) | Communication method and device for power line low-voltage transformer area | |
CN118158569A (en) | A signal sending method, a port identification method and related devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication |