[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2020211482A1 - Network topology information acquisition method, apparatus, device, and storage medium - Google Patents

Network topology information acquisition method, apparatus, device, and storage medium Download PDF

Info

Publication number
WO2020211482A1
WO2020211482A1 PCT/CN2020/070944 CN2020070944W WO2020211482A1 WO 2020211482 A1 WO2020211482 A1 WO 2020211482A1 CN 2020070944 W CN2020070944 W CN 2020070944W WO 2020211482 A1 WO2020211482 A1 WO 2020211482A1
Authority
WO
WIPO (PCT)
Prior art keywords
target user
equipment
optical
user
side device
Prior art date
Application number
PCT/CN2020/070944
Other languages
French (fr)
Chinese (zh)
Inventor
肖欣
高云鹏
谢于明
周世勇
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020211482A1 publication Critical patent/WO2020211482A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/009Topology aspects

Definitions

  • This application relates to the field of network technology, and in particular to a method, device, device, and storage medium for obtaining network topology information.
  • Passive optical network is mainly composed of optical line terminal (optical line terminal, OLT), optical distribution network (optical distribution network, ODN) containing passive optical components, and optical network unit (optical network unit) on the user side.
  • ODN optical distribution network
  • ODN optical distribution network
  • optical network unit optical network unit
  • ONU optical network unit
  • ODN includes optical fiber and passive optical splitting equipment, forming a multi-level network topology through passive optical splitting equipment and optical fiber. According to actual needs, the PON network can form different topological structures.
  • the method for obtaining PON network topology information is generally manual management to obtain the updated topology information of the optical splitting equipment at all levels.
  • topology information of the optical splitting equipment in the PON network is very cumbersome, and relying solely on manual management, maintenance is difficult, costly, and low in efficiency, and the topology information may be inaccurate.
  • the embodiments of the present application provide a method, device, device, and computer-readable storage medium for acquiring network topology information to solve the problems provided by related technologies.
  • the technical solutions are as follows:
  • a method for acquiring network topology information includes: acquiring first physical data of a target user-side device in the network, and the first physical data of the target user-side device under the same level of optical splitting device is in the same Within the target numerical range; perform cluster analysis on the first physical data of the target user-side device to obtain one or more data groups, and the target user-side device corresponding to the first physical data of the same data group is under the same level of spectroscopic equipment The user-side equipment; classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs to obtain the level of the spectroscopic equipment to which the target user-side equipment belongs; according to the spectroscopic equipment to which the target user-side equipment belongs Level, which determines the network topology information.
  • the determining the network topology information according to the level of the spectroscopic device to which the target user-side device belongs includes: obtaining identification information of the target user-side device; according to the identification information of the target user-side device and the target The level of the optical splitting device to which the user-side device belongs determines the network topology information.
  • the method before acquiring the first physical data of the target user-side device in the network, the method further includes: acquiring second physical data that characterizes the stability of the user-side device; and targeting the user-side device whose second physical data meets the target threshold User-side equipment.
  • the classifying the spectroscopic devices to which the target user-side device belongs under different levels of spectroscopic devices to obtain the class of the spectroscopic device to which the target user-side device belongs includes: obtaining the target user in each data group The representative data of the first physical data of the side device; according to the representative data and the setting standard corresponding to the representative data, determine the level of the spectroscopic device to which the target user-side device of the different level of spectroscopic device belongs.
  • the first physical data and the second physical data include: optical power and/or optical distance.
  • the setting standard includes the number of optical splitting devices in the network and the optical splitting ratio of each optical splitting device.
  • the optical splitting ratio is used to determine each optical power.
  • the optical power of the user-side equipment under the first-level optical splitting equipment is different from the optical power of the user-side equipment under the different-level optical splitting equipment; the target is determined under the different-level optical splitting equipment according to the representative data and the setting standards corresponding to the representative data
  • the level of the optical splitting device to which the user-side device belongs includes: matching the representative data of the optical power with the optical power of the user-side device of the optical splitting device in the network; when the matching is successful, the matched user-side device of the optical splitting device
  • the level of the spectroscopic device corresponding to the optical power of is used as the level of the spectroscopic device to which the target user-side device belongs to the representative data of the optical power.
  • the setting standard includes the number of optical splitting equipment levels in the network and the constrained optical distance of the user-side equipment under each level of optical splitting equipment.
  • the constrained optical distances of the user-side equipment under the spectroscopic equipment are different; the determination of the level of the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs according to the representative data and the setting standards corresponding to the representative data includes: The representative data of the optical distance is matched with the constrained optical distance of the user-side equipment under each level of spectroscopy equipment; when the matching is successful, the matched constrained optical distance of the user-side equipment is matched to the number of levels of the spectroscopic equipment, The level of the spectroscopic device to which the target user-side device belongs as the representative data of the optical distance.
  • the identification information of the target user-side device includes port information of the target user-side device in the network; the obtaining the identification information of the target user-side device includes: obtaining the target user-side device through a port information communication protocol Port information of the device in the network.
  • an apparatus for acquiring network topology information includes: an acquiring module for acquiring first physical data of a target user-side device in the network, and a second physical data of the target user-side device under the same level of optical splitting equipment One physical data is within the same target value range; the clustering module is used to perform cluster analysis on the first physical data of the target user-side device to obtain one or more data groups, and the first physical data of the same data group corresponds to
  • the target user-side equipment is the user-side equipment under the same level of optical splitting equipment;
  • the class division module is used to classify the optical splitting equipment to which the target user-side equipment under different levels of optical splitting equipment belongs to obtain the The class of the optical splitting device;
  • the determining module is used to determine the network topology information according to the class of the optical splitting device to which the target user-side device belongs.
  • the determining module is configured to obtain identification information of the target user-side device; determine the network topology information according to the identification information of the target user-side device and the level of the optical splitting device to which the target user-side device belongs .
  • the acquiring module is further configured to acquire second physical data that characterizes the stability of the user-side device; the user-side device whose second physical data meets the target threshold is taken as the target user-side device.
  • the level division module includes: an obtaining unit, configured to obtain representative data of the first physical data of the target user-side device in each data group; and a determining unit, configured to obtain representative data based on the representative data and the Represents the setting standards corresponding to the data, and determines the level of the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs.
  • the first physical data and the second physical data include: optical power and/or optical distance.
  • the setting standard when the first physical data of the target user-side device includes optical power, includes the number of optical splitting devices in the network and the optical splitting ratio of each optical splitting device.
  • the optical splitting ratio is used to determine each optical power.
  • the optical power of the user-side equipment under the first-level optical splitting equipment is different from the optical power of the user-side equipment under the optical splitting equipment of different levels; the determining unit is used to compare the representative data of the optical power with the optical power of the user-side equipment under the optical splitting equipment in the network The optical power is matched; when the matching is successful, the level of the optical splitting device corresponding to the optical power of the user-side device under the matched optical splitting device is used as the optical splitting device to which the target user-side device belongs to the representative data of the optical power The grade.
  • the setting standard includes the number of optical splitting equipment levels in the network and the constrained optical distance of the user-side equipment under each level of optical splitting equipment.
  • the constrained optical distances of the user-side equipment under the spectroscopic equipment are different; the determining unit is used to match the representative data of the optical distance with the constrained optical distances of the user-side equipment under each level of the spectroscopic equipment; when the matching is successful , Taking the matched class of the spectroscopic device corresponding to the constrained optical distance of the user-side device as the class of the spectroscopic device to which the target user-side device belongs corresponding to the representative data of the optical distance.
  • the identification information of the target user-side device includes port information of the target user-side device in the network; the determining module is configured to obtain the port information of the target user-side device in the network through a port information communication protocol information.
  • a device for acquiring network topology information includes a memory and a processor.
  • the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to Implement the first aspect or the method in any possible implementation of the first aspect.
  • a computer-readable storage medium is provided, and at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the first aspect or any one of the first aspect. The method in the embodiment.
  • another communication device which includes: a transceiver, a memory, and a processor.
  • the transceiver, the memory, and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control the transceiver to receive signals and control the transceiver to send signals And when the processor executes the instructions stored in the memory, the processor is caused to execute the first aspect or the method in any possible implementation manner of the first aspect.
  • processors there are one or more processors and one or more memories.
  • the memory may be integrated with the processor, or the memory and the processor may be provided separately.
  • the memory can be a non-transitory (non-transitory) memory, such as a read only memory (ROM), which can be integrated with the processor on the same chip, or can be set in different On the chip, the embodiment of the present application does not limit the type of memory and the setting mode of the memory and the processor.
  • ROM read only memory
  • a computer program includes: computer program code, which when the computer program code is run by a computer, causes the computer to execute the methods in the above aspects.
  • a chip including a processor, configured to call and execute instructions stored in the memory from a memory, so that a communication device installed with the chip executes the methods in the foregoing aspects.
  • another chip including: an input interface, an output interface, a processor, and a memory.
  • the input interface, output interface, the processor, and the memory are connected by an internal connection path, and the processing
  • the processor is used to execute the code in the memory, and when the code is executed, the processor is used to execute the methods in the foregoing aspects.
  • the network By obtaining the first physical data of the target user-side equipment under different levels of optical splitting equipment in the network, perform cluster analysis on the obtained first physical data to obtain a data group, and use the target user-side equipment corresponding to the physical data of the same data group as The user-side equipment under the same level of optical splitting equipment is used to classify the target user-side equipment under different levels of optical splitting equipment.
  • the topology information of the side device in the network is then used to locate the topology structure relationship of the user side device in the network, which solves the need for manual management of topology information, which is difficult to maintain, high cost, low efficiency, and topology information may appear The problem of inaccuracy.
  • Figure 1 is a schematic diagram of a PON network structure provided by an embodiment of the application.
  • FIG. 2 is a flowchart of a method for acquiring network topology information provided by an embodiment of the application
  • Figure 3 is a schematic diagram of the PON network structure provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of a data processing process of a method for acquiring network topology information according to an embodiment of this application;
  • FIG. 5 is a schematic diagram of aggregation results of a method for acquiring network topology information according to an embodiment of the application
  • FIG. 6 is a schematic diagram of aggregation results of a method for acquiring network topology information according to an embodiment of the application
  • FIG. 7 is a flowchart of a method for acquiring network topology information according to an embodiment of this application.
  • FIG. 8 is a schematic diagram of stability analysis results of a method for acquiring network topology information according to an embodiment of the application.
  • FIG. 9 is a schematic diagram of a data processing process of a method for acquiring network topology information according to an embodiment of this application.
  • FIG. 10 is a flowchart of a method for acquiring network topology information according to an embodiment of this application.
  • FIG. 11 is a schematic structural diagram of a device for acquiring network topology information provided by an embodiment of this application.
  • FIG. 12 is a schematic structural diagram of a device for acquiring network topology information according to an embodiment of this application.
  • Fig. 1 is a single-chain multi-level passive optical fiber network.
  • the network is mainly composed of optical line terminals (OLT) and optical distribution networks containing passive optical devices (Optical Distribution Network (ODN) and user-side equipment.
  • OLT optical line terminals
  • ODN Optical Distribution Network
  • the user-side equipment in Figure 1 is an optical network unit (ONU).
  • ODN includes backbone fiber 5, secondary fiber 6, tertiary fiber 7, fourth-level fiber 8, and first-level optical splitter 1, second-level optical splitter 2, third-level optical splitter 3, and fourth-level optical splitter 4 .
  • the OLT and the first-stage optical splitter are connected by a backbone fiber 5, the first-stage optical splitter 1 and the second-stage optical splitter 2 are connected by a second-stage optical fiber 6, and the second-stage optical splitter 2 and the third-stage optical splitter 3 are connected. They are connected by a three-stage optical fiber 7, and the third-stage optical splitter and the fourth-stage optical splitter are connected by a four-stage optical fiber 8.
  • the optical splitter and the optical fiber form a single-point to multi-point tree network topology.
  • the first-level splitter 1 includes a 1:2 sub-splitter 11 and a 1:8 sub-splitter 14, the second-level splitter 2 includes a 1:2 sub-splitter 12 and a 1:8 sub-splitter 15, the third-level splitter
  • the splitter 3 includes a 1:2 sub-splitter 13 and a 1:8 sub-splitter 16, and the fourth-stage splitter 4 includes a 1:8 sub-splitter 17.
  • 1:2 means that the splitter has 1 input port and 2 output ports
  • 1:8 means that the splitter has 1 input port and 8 output ports.
  • each 1:8 output port in Figure 1 can be used to connect up to 8 ONUs, and only one ONU is shown in Figure 1.
  • network topological structure shown in FIG. 1 those skilled in the art can deploy other network topological structures according to actual network setting requirements.
  • the embodiment of the present application provides a method for acquiring network topology information, which is applied to an analysis device that can perform network data processing. As shown in Figure 2, the method includes:
  • S21 Acquire first physical data of the target user-side device in the network, and the first physical data of the target user-side device under the same level of optical splitting device is within the same target value range.
  • the optical splitter 21 is a level of optical splitter, called the first-stage optical splitter; the optical splitter 22 and the optical splitter 23 are the same level of optical splitter, called the second-stage optical splitter; the optical splitter 24 is One level of optical splitter is called the third level of optical splitter.
  • the stability of the user-side device 221, the user-side device 222, the user-side device 223, and the user-side device 224 all meet the stability requirements
  • the user-side device 221, the user-side device 222, the user-side device 223, and the user-side device 224 all meet the stability requirements. It is the target user side equipment under the second-level optical splitter.
  • the user-side device 241 meets the stability requirement
  • the user-side device 241 is the target user-side device under the third-level optical splitter.
  • the method of determining the target user-side device please refer to the relevant description of S211-S212, which will not be repeated here.
  • the first physical data of the target user-side device may first periodically report the data to the OLT through the target user-side device itself, and then the OLT periodically reports the data to the data collection device; or directly periodically reports the data through the target user-side device To the data acquisition device.
  • the period for the target user-side device to report data can be set according to the actual needs of the network, and can be in minutes or seconds.
  • the data acquisition device can uniformly store the data in the storage module of the analysis device for analysis and use by the analysis device.
  • the storage module may be a distributed file system (hadoop distributed file system, HDFS).
  • HDFS hadoop distributed file system
  • the analysis device can obtain the data in the storage module for analysis and processing at any time, or perform data analysis and processing according to the user's request.
  • the data acquisition device can also directly upload the collected data to the analysis device.
  • the analysis device receives the data, it triggers the analysis device to perform analysis and processing, as shown in Figure 4.
  • the user-side devices under the same level of optical splitters in the network are theoretically equivalent.
  • the first physical data of the user-side equipment under the same level of optical splitting equipment may have deviations. Therefore, in the solution of the embodiment of the present application, as long as the first physical data of the user-side device under the same level of optical splitting device is in the same target value range.
  • the target value range can be obtained according to actual network performance tests.
  • the first physical data may be the optical power (including the received optical power and/or the transmitted optical power) and/or the optical distance of the target user-side device.
  • the optical power and optical distance of the target user-side equipment are not the same under different levels of optical splitters in the network. By acquiring the data of this kind of characteristics, it is convenient to perform cluster analysis on the physical data of the target user-side device, and achieve the purpose of judging the level of the spectroscope to which the target user-side device belongs.
  • the first physical data selected in the embodiment of the present application may be any one or more of the above-mentioned physical data.
  • analysis and calculation can be performed separately, and the network topology information can be determined according to the comprehensive analysis result, which improves the accuracy of the obtained network topology information.
  • the first physical data in the embodiment of the present application is described by taking the received optical power of the user-side device as an example.
  • S22 Perform cluster analysis on the first physical data of the target user-side device to obtain one or more data groups, and the target user-side device corresponding to the first physical data of the same data group is the user-side device under the same level of optical splitting device.
  • the feature of the first physical data used in the embodiment of the present application is that the first physical data is within the same target value range under the same level of spectrometer, so cluster analysis can be used to determine the first physical data in the same target value range.
  • the physical data is divided into different groups.
  • the received optical power of the user-side equipment is -20dB, -19.5dB, -24dB, -23.9dB
  • the clustering standard the range of the first group [-19dB, -20dB], the range of the second group [-23.5dB, -24dB]. It can be seen that -20dB and -19.5dB can be divided into the first group, and -24dB and -23.9dB can be divided into the second group.
  • the number of data groups can be determined according to the number of optical splitters in the network. As shown in Figure 3, if two data groups are obtained after the above cluster analysis, the data of the first data group are -19.1dB, -19.2dB, -19.3dB, -19.4dB, and the four data correspond to users Side device 221, user side device 222, user side device 223, and user side device 234, the user side device 221, user side device 222, user side device 223, and user side device 234 are regarded as user side devices under the same level of optical splitter .
  • the second set of data obtained in the same way is -23.6dB.
  • the user-side device 241 is taken as the user-side device under the same level of optical splitter.
  • the above process of performing cluster analysis to obtain a data group can also be implemented by using the K-Means clustering method, which can be determined by those skilled in the art according to actual clustering requirements, which is not limited in the embodiment of the present application.
  • FIG. 5 is a statistical diagram of the received optical power of each user-side device.
  • the four groups of user-side device clustering diagrams shown in FIG. 6 can be obtained.
  • Each group can be marked as C1, C2, C3, C4, that is, identify the user-side equipment hanging under four different optical splitters.
  • 0_0, 0_1,0_2, 0_3, 1_0, 1_1, 1_2, 1_3 are the numbers of some different user-side devices under the same PON.
  • the aggregation result ⁇ 'C 1 ':[0_0,0_1,0_2,0_3],'C 2 ':[1_0,1_1,1_2,1_3] ⁇ corresponds to the meaning of the topology information: 0_0,0_1,0_2,0_3 are at the same level Under the splitter, 1_0, 1_1, 1_2, 1_3 are under the same level of splitter.
  • S23 Classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs to obtain the level of the spectroscopic equipment to which the target user-side equipment belongs.
  • the levels of the optical splitters to which the target user-side equipment belongs are classified, and the hierarchical connection relationship between the optical splitters is determined by the classification results.
  • the data between the data groups of the same data type can be sequentially compared with each other to obtain the data size ranking relationship between the groups of the same data type.
  • the size sorting relationship can be obtained by adding the data in the groups to obtain the sum of the data in each group, and sorting by the sum size of the data. Then, according to the numerical change relationship of the data of this data type in the network known to those skilled in the art, the hierarchical relationship of the optical splitter to which the target user side device belongs is obtained.
  • step S23 includes:
  • S231 Acquire representative data of the first physical data of the target user-side device in each data group.
  • a representative data can be selected from the same data group to classify the level of the spectroscope to which the target user side device belongs, which improves the target user side The efficiency of classifying the splitter to which the equipment belongs.
  • the representative data can be the average or median of all data in each data group. Those skilled in the art can also select other data as representative data, which is not limited in the embodiment of the present application.
  • S232 Acquire a setting standard corresponding to the data type of the representative data in the network.
  • the constraint condition corresponding to the received optical power may be: the optical splitter transmits to the user-side device according to the set splitting ratio. Output Power.
  • the splitting ratio is 7:3, the optical splitter outputs 30% of the received optical power to the user-side equipment; it can be seen that the output power of each stage of the optical splitter in the network presents a gradual attenuation trend.
  • FIG. 1 taking FIG. 1 as an example, from the first-stage optical splitter to the third-stage optical splitter in FIG. 1, the received optical power of the user-side equipment connected under each stage of the optical splitter is in a state of decreasing.
  • the output power of the OLT is 5dB.
  • the splitter of each level is split with a certain splitting ratio, assuming that the splitting ratio of each level of the splitter is 7:3, the ONU connected to the first-level splitter can be received.
  • the optical power is about -15dB
  • the received optical power of the ONU attached to the second-level splitter is about -17dB
  • the received optical power of the ONU attached to the third-level splitter is about -19dB.
  • the fourth-level splitter is less than 1 : The attenuation of the sub-splitter of 2, so the received optical power of the ONU connected to it is about -16dB.
  • the received optical power of the user-side equipment under the various levels of optical splitters obtained in this way can be used as a setting standard. It can be seen that the received optical power of the user-side equipment between different levels of optical splitters is attenuated, and the attenuation value can be determined according to the following formula (1):
  • Link attenuation value L ⁇ a+n1 ⁇ b+n2 ⁇ c+d (1)
  • L is the length of the optical cable
  • a is the attenuation per kilometer of the optical cable, for example, the attenuation a per kilometer of the 1310nm wavelength optical cable is 0.35dB
  • n1 is the number of splices
  • b is the loss of splices, where b can be 0.1dB
  • n2 is the number of active connectors
  • c is the loss of active connectors, c can be 0.3dB
  • d splitter loss, such as 1:2
  • the splitting ratio of the spectroscope is 70%: 30%.
  • the attenuation power of 70% output port is calculated by the following formula (2), 70% output port is used to connect to the next-stage optical splitter; the attenuated power of 30% output port is calculated by the following formula (3), and 30% output port is used for connection 1:8 sub splitter.
  • the optical power reaching the user-side equipment under each level of optical splitter can be obtained.
  • the received optical power of the ONU connected to the first level of optical splitter is about -15dB.
  • the sub-splitter 11 of the first-stage splitter is (70%: 30%) and the output of the 1:8 sub splitter is equal:
  • the values of the above-mentioned optical splitters at all levels are calculated based on the structure in Figure 1. After the number of stages and splitting ratios of the splitters in the network are known, the attenuation coefficients of the splitters with different splitting ratios and the link between the splitters can be calculated The attenuation coefficient is determined, and those skilled in the art can use other calculation formulas according to actual network deployment requirements, which is not limited in this application.
  • the constraints corresponding to the optical distance are: (1) the length of the optical cable between the optical splitters is greater than 200m; (2) the optical distance between the optical splitter and the user-side equipment The length of the optical cable is less than 100m; (3) If the conditions of standard (1) and standard (2) cannot be met during actual deployment, the length of the optical cable that needs to be met is the following: The length of the optical cable between the optical fiber> the longest optical cable length from the optical splitter of this level to the user-side equipment of this level + 100m.
  • the embodiment of this application does not limit the optical distance setting standard, and those skilled in the art can set it according to the actual network deployment situation, and the relevant setting parameters can be seen in FIG. 3.
  • S233 According to the representative data and the setting standards corresponding to the representative data, determine the level of the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs.
  • the setting standard when the first physical data of the target user-side device includes optical power, includes the number of optical splitting devices in the network and the optical splitting ratio of each optical splitting device.
  • the optical splitting ratio is used to determine each optical power.
  • the optical power of the user-side equipment under the first-level optical splitting equipment is different, and the optical power of the user-side equipment under the different-level optical splitting equipment is different.
  • the first-stage optical splitter 1 includes a 1:2 sub-splitter 11 and a 1:8 sub-splitter 14, then the splitting ratio of each stage of the optical splitter is Including the splitting ratio of the sub-splitters inside each stage of the splitter, and then the attenuation ratio of each stage of the splitter can be obtained through the splitting ratio.
  • the length loss of the optical cable the loss of the movable connector and the loss of the splice point in formula 1
  • the length of the optical cable, the number of active connectors and the number of splice points under the same level of optical splitter are basically the same; and the length of the optical cable, the active connector and The attenuation value of the three fusion splices is small, and the received optical power of the user-side equipment under different levels of optical splitters is mainly due to the attenuation of the optical splitter, so it can be obtained according to the number of optical splitters in the network and the number of optical splitters.
  • the light splitting ratio of each light splitting device may be equal or unequal.
  • the first-stage optical splitter 1 in the four optical splitter devices shown in Figure 1 Take the first-stage optical splitter 1 in the four optical splitter devices shown in Figure 1 as an example. If the first-stage optical splitter 1 has a light splitting ratio of 70:30, 70% of the optical power is distributed to the next-stage optical splitter , 30% of the optical power is allocated to the user-side equipment under the splitter.
  • the light splitting ratios of different levels of light splitting devices can be the same or different. When the ratio is not equal, the ratio can be 70:30 or 90:10. Those skilled in the art can set it according to actual network deployment needs.
  • step S233 includes:
  • the matching criterion may be to compare whether the representative data of the optical power is equal to the optical power of the user-side device under the optical splitting device in the network. It can also be whether the representative data of the optical power is within the standard floating range of the optical power of the user-side device under the optical splitting device in the network. Those skilled in the art can set the standard floating range according to the needs of use, which is not limited here.
  • the level of the spectroscopic device corresponding to the optical power of the user-side device under the matched spectroscopic device is used as the level of the spectroscopic device to which the target user-side device belongs to the representative data of the optical power.
  • the matched standard as the representative data of optical power in the standard floating range of the received optical power of the user-side equipment under the optical splitting device in the network as an example, when the representative data A of the received optical power of an ONU is -20dB, there are two optical splitters in the network.
  • the received optical power range of the user side equipment is [-14dB, 16dB] and [-18dB, -20dB]
  • the optical splitter corresponding to the [-18dB, -20dB] received optical power range is the second level
  • the optical splitter corresponding to [-14dB, -16dB] received optical power range is the first-stage optical splitter.
  • the representative data A of the received optical power falls within the range of [-18dB, -20dB]. If the level of the optical splitter corresponding to [-18dB, -20dB] is the second level, then it can be determined that the representative data of the received optical power is the level of the optical splitter corresponding to the data group where -20dB is located. By analogy, the level of the optical splitter in the network corresponding to the category of other representative data can be obtained. When determining the level, the obtained representative data of the optical power can be sorted and judged in turn, or judged according to the sequence of obtaining the representative data.
  • the setting standard when the first physical data of the target user-side equipment includes the optical distance, includes the number of optical splitting equipment levels in the network and the target-side equipment of the user-side equipment under each level of optical splitting equipment The constrained optical distance of the user side equipment under different levels of optical splitting equipment is different.
  • step S233 includes:
  • the representative data of the optical distance is matched with the constrained optical distance of the user-side equipment under each level of optical splitting equipment.
  • optical distance matching standard is similar to the setting principle of the aforementioned power matching standard, and those skilled in the art can set the optical distance matching standard according to the setting principle of the aforementioned power matching standard, which will not be repeated here.
  • the level of the spectroscopic device corresponding to the constrained optical distance of the matched user-side device is used as the level of the spectroscopic device to which the target user-side device belongs to the representative data of the optical distance.
  • the distance from the OLT to each user-side device can be determined according to the optical distance constraints (1) and (2) of the network. Assuming that the distance from the OLT to the first-stage optical splitter 1 is a meter, the distance between the user-side equipment connected under the first-stage optical splitter and the OLT is [a,a+100]m, and the second-stage optical splitter is connected The distance from the user-side equipment to the OLT is [a+200,a+300]m, and the distance from the user-side equipment connected to the third-level optical splitter to the OLT is [a+400,a+500]m, the fourth level The distance between the user-side equipment connected under the splitter and the OLT is [a+600, a+700]m. When the representative data B of a light distance is (220+a)m, it can be determined that the splitter level corresponding to the data category of the representative data B is the second level.
  • either one of the determination methods can be selected, or both of the determination methods can be selected at the same time.
  • the accuracy of the judgment result is improved.
  • the priority of the determination criterion can be set, and the priority is determined in sequence. The solution described in the embodiment of the present application does not limit this.
  • S24 Obtain network topology information according to the level of the optical splitting device to which the target user-side device belongs.
  • the target user-side equipment By obtaining the first physical data of the target user-side equipment that is not equivalent under different levels of optical splitting equipment in the network, clustering analysis of the obtained first physical data of the same data type is performed to obtain a data group, and the first physical data of the same data group
  • the target user-side device corresponding to the physical data is used as the user-side device under the same level of optical splitting equipment, thereby dividing the target user-side device under different levels of optical splitting equipment.
  • the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs is classified to determine the level of the spectroscopic equipment to which the target user-side equipment belongs.
  • the topology information of the user-side device in the network can be obtained, and then the network topology information can be used to assist in locating the topology structure relationship of the user-side device in the network, and solve the network topology Information needs to rely on manual management, which is difficult to maintain, costly, low in efficiency, and inaccurate topology information may occur.
  • the method further includes: acquiring second physical data that characterizes the stability of the user-side device; taking the user-side device whose second physical data meets the target threshold as the target user Side equipment.
  • the method further includes:
  • S211 Acquire second physical data that characterizes the stability of the user-side device.
  • the second physical data that characterizes the stability of the user-side device may include: optical power, optical distance, and other physical data known to those skilled in the art that can characterize the stability of the user-side device.
  • the received optical power of the user-side device is taken as an example.
  • step S212 Determine whether the second physical data meets the target threshold.
  • step S213 is executed; when the physical data characterizing the stability of the user-side device does not meet the target threshold, step S211 is executed.
  • the method for calculating data stability includes the confidence interval algorithm, the ADF unit root test algorithm or the interquartile range algorithm. Those skilled in the art can also choose other methods that can calculate data stability according to actual needs.
  • the embodiments of this application do not limit this.
  • the embodiment of this application uses the confidence interval algorithm as an example to calculate the stability of the received optical power.
  • the received optical power data uses the format of (time, optical power value) to represent the time sequence, such as (2018-01-01-00:00:00 , -20dB) means that the received optical power collected at 00: 00: 00 on January 6, 2018 is -20 dB. Calculate the mean (mean) and standard deviation (std) of the received optical power in the acquisition window.
  • collection windows of different sizes contain different numbers of collection points, and the size of the collection window can be determined according to actual collection requirements or experience. For example, when the number of collection points in the collection window is 50, it can be that the data of 50 collection points are collected and then analyzed. When the collection time of each collection point is 15 minutes, that is, within 750 minutes The collected data of the user-side equipment is used to determine the stability of the user-side equipment. Combining the confidence (confidence) to obtain the upper confidence bound (UCL) and the lower confidence bound (LCL), if the confidence corresponding to 99% confidence is 2.58, the calculation formula is as follows:
  • mean is the average value of received optical power
  • n is the number of received optical power within the target time period
  • xi is the received optical power.
  • std is the standard deviation of the received optical power
  • n is the number of received optical powers within the target time period
  • xi is the received optical power
  • mean is the average received optical power obtained by formula (1).
  • UCL is the upper bound of confidence
  • mean is the average received optical power obtained by formula (5)
  • confidence is the degree of confidence
  • std is the standard deviation of received optical power obtained by formula (6).
  • LCL is the lower bound of confidence
  • mean is the average value of received optical power obtained by equation (5)
  • confidence is the degree of confidence
  • std is the standard deviation of received optical power obtained by equation (6).
  • the obtained UCL and LCL determine whether the received optical power within the target time is within the confidence interval.
  • the received optical power within the target time is within the confidence interval, it indicates that the corresponding user-side equipment at this time meets the static and stable condition User side equipment, see Figure 8.
  • S213 Use the user-side device whose second physical data meets the target threshold as the target user-side device.
  • the first physical data of the target user-side device is acquired by taking the user-side device that meets the target threshold as the target user-side device, so as to perform subsequent division of the optical splitter level to which the target user-side device belongs.
  • S21 Acquire first physical data of the target user-side device in the network.
  • S22 Perform cluster analysis on the first physical data of the target user-side device to obtain a data group, and the target user-side device corresponding to the first physical data of the same data group is the user-side device under the same level of spectroscopic device.
  • S23 Classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs to obtain the level of the spectroscopic equipment to which the target user-side equipment belongs.
  • S24 Obtain network topology information according to the level of the optical splitting device to which the target user-side device belongs.
  • step S24 further includes:
  • the identification information of the target user-side device is used to indicate the identity of the user-side device. It is set at the initial network setting and always represents a fixed user-side device during the change of the network topology. Each user-side device corresponds to An identification information.
  • the embodiment of the application does not limit the category of the identification information, as long as it can be read by the analysis device.
  • the identification information of the target user-side device includes port information of the user-side device in the network, and the port information can be obtained through a port information communication protocol. For example, in a PON network, the PON port information of the OLT device can be obtained in real time through the PPPoE communication protocol.
  • S26 Determine network topology information according to the identification information of the target user-side device and the level of the optical splitting device to which the target user-side device belongs.
  • the comprehensiveness and diversity of the obtained network topology information are further improved.
  • the description is mainly based on the single-chain networking mode, but the technical solution of this application is not limited to the single-chain networking mode.
  • the double-chain or multi-chain networking mode other devices and methods need to be coordinated first. Distinguish each single strand.
  • the networking mode of the network is double-stranded, after first distinguishing the single strands by cooperating with other devices and methods, according to the method recorded in the above embodiment, the ONUs attached to each single strand in the network and the ONUs to which the ONU belongs are obtained. The grade of the spectroscopic equipment.
  • an embodiment of the present application also provides a device for acquiring network topology information, which includes:
  • the obtaining module 1101 is configured to obtain the first physical data of the target user-side device in the network, and the first physical data of the target user-side device under the same level of optical splitting device is within the same target value range;
  • the clustering module 1102 is used to perform cluster analysis on the first physical data of the target user-side device to obtain one or more data groups, and the target user-side device corresponding to the first physical data of the same data group is under the same level of spectroscopic equipment User-side equipment;
  • the class division module 1103 is used to classify the spectroscopic devices to which the target user-side device belongs under different levels of spectroscopic devices, to obtain the class of the spectroscopic device to which the target user-side device belongs;
  • the determining module 1104 is configured to determine the network topology information according to the level of the optical splitting device to which the target user side device belongs.
  • the apparatus for acquiring network topology information clusters the obtained first physical data of the same data type by acquiring the first physical data of the target user-side equipment that is not equivalent under different levels of optical splitting equipment in the network. Analyze and obtain the data group, and regard the target user-side device corresponding to the physical data of the same data group as the user-side device under the same level of optical splitting equipment, so as to divide the user-side equipment under different levels of optical splitting equipment.
  • classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs to determine the level of the spectroscopic equipment to which the target user-side equipment belongs, and obtain the target by obtaining the level of the spectroscopic equipment to which the target user-side equipment belongs.
  • the topology information of the user-side equipment in the network can then be used to assist in locating the topological structure relationship of the user-side equipment in the network, which solves the need for manual management of the network topology information, which is difficult to maintain, costly, and low in efficiency. Inaccurate topology information may occur.
  • the determining module 1104 is configured to obtain identification information of the target user-side device; determine network topology information according to the identification information of the target user-side device and the level of the optical splitting device to which the target user-side device belongs.
  • the acquiring module 1101 is further configured to acquire second physical data that characterizes the stability of the user-side device; the user-side device whose second physical data meets the target threshold is used as the target user-side device.
  • the classification module 1103 includes:
  • the obtaining unit is configured to obtain representative data of the first physical data of the target user-side device in each data group;
  • the determining unit is used to determine the level of the spectroscopic device to which the target user-side equipment under different levels of spectroscopic devices belongs according to the representative data and the setting standards corresponding to the representative data.
  • the first physical data and the second physical data include: optical power and/or optical distance.
  • the setting standard when the first physical data of the target user-side device includes optical power, the setting standard includes the number of optical splitting devices in the network and the optical splitting ratio of each optical splitting device. The optical splitting ratio is used to determine each optical power. The optical power of the user-side equipment under the graded optical equipment, and the optical power of the user-side equipment under different grades of optical equipment is different;
  • the determining unit is used to match the representative data of the optical power with the optical power of the user-side device under the optical splitting device in the network; when the matching is successful, match the optical power of the optical power splitting device corresponding to the optical power of the user-side device under the optical splitting device.
  • the level is the level of the spectroscopic device to which the target user-side device belongs as the representative data of the optical power.
  • the setting standard when the first physical data of the target user-side device includes the optical distance, the setting standard includes the number of optical splitting devices in the network and the constrained optical distance of the user-side devices under each optical splitting device.
  • the constrained optical distances of the user-side equipment under the graded optical equipment are different;
  • the determining unit is used to match the representative data of the optical distance with the constrained optical distance of the user-side equipment under each level of spectroscopic equipment; when the matching is successful, the matched constrained optical distance of the user-side equipment corresponds to the optical distance of the spectroscopic equipment
  • the level is the level of the spectroscopic device to which the target user-side device belongs as the representative data of the optical distance.
  • the identification information of the target user-side device includes port information of the target user-side device in the network
  • the determining module 1104 is used to obtain the port information of the target user side device in the network through the port information communication protocol.
  • an embodiment of the present application also provides a device for acquiring network topology information. As shown in FIG. 12, the device includes:
  • the processor 1202 and the memory 1203 are connected by a communication bus 1201.
  • the memory 1203 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 1202 to implement the above-mentioned embodiments.
  • the described method for acquiring network topology information is described.
  • processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processing (digital signal processing, DSP), and application specific integrated circuits. ASIC), field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or any conventional processor. It is worth noting that the processor may be a processor that supports an advanced reduced instruction set machine (advanced RISC machines, ARM) architecture.
  • the foregoing memory may include a read-only memory and a random access memory, and provide instructions and data to the processor.
  • the memory may also include non-volatile random access memory.
  • the memory can also store device type information.
  • the memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electronic Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not limiting illustration, many forms of RAM are available.
  • static random access memory static random access memory
  • dynamic random access memory dynamic random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • double data rate synchronous dynamic random access Memory double data date SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • serial link DRAM SLDRAM
  • direct memory bus random access memory direct rambus RAM
  • This application provides a computer program.
  • the computer program When the computer program is executed by a computer, it can cause a processor or computer to execute the corresponding steps and/or processes in the foregoing method embodiments.
  • the computer program product includes one or more computer instructions.
  • 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, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Optical Communication System (AREA)

Abstract

The present application discloses a network topology information acquisition method, an apparatus, a device, and a storage medium, belonging to the field of network technology. Said method comprises: acquiring first physical data of target user side devices in a network, the first physical data of the target user side devices under the light splitting devices at the same stage being within the same target numerical value range; performing clustering analysis on the first physical data of the target user side devices, to obtain one or more data groups, the target user side devices corresponding to the first physical data of the same data group being user side devices under the light splitting devices at the same stage; performing stage division on the light splitting devices to which the target user side devices under the light splitting devices at different stages belong, to obtain the stage of the light splitting devices to which the target user side devices belong; and according to the stage of the light splitting devices to which the target user side devices belong, determining network topology information. The present application can quickly and accurately acquire topology information from a network.

Description

网络拓扑信息的获取方法、装置、设备及存储介质Method, device, equipment and storage medium for acquiring network topology information
本申请要求于2019年04月17日提交的申请号为201910309936.5、发明名称为“网络拓扑信息的获取方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on April 17, 2019 with the application number 201910309936.5 and the invention title "Methods, devices, equipment and storage media for obtaining network topology information", the entire contents of which are incorporated by reference In this application.
技术领域Technical field
本申请涉及网络技术领域,特别涉及一种网络拓扑信息的获取方法、装置、设备及存储介质。This application relates to the field of network technology, and in particular to a method, device, device, and storage medium for obtaining network topology information.
背景技术Background technique
无源光纤网络(passive optical network,PON)主要由光线路终端(optical line terminal,OLT)、含有无源光器件的光配线网络(optical distribution network,ODN)以及用户侧的光网络单元(optical network unit,ONU)组成。其中,ODN包含了光纤以及无源分光设备,通过无源分光设备和光纤形成多级网络拓扑结构。依实际使用需要,PON网络可形成不同的拓扑结构。Passive optical network (PON) is mainly composed of optical line terminal (optical line terminal, OLT), optical distribution network (optical distribution network, ODN) containing passive optical components, and optical network unit (optical network unit) on the user side. network unit, ONU). Among them, ODN includes optical fiber and passive optical splitting equipment, forming a multi-level network topology through passive optical splitting equipment and optical fiber. According to actual needs, the PON network can form different topological structures.
由于PON网络场景复杂,且在实际使用过程中ONU与网络中的分光设备的对应关系经常变动,导致PON网络的拓扑信息也随之改变。相关技术中,获取PON网络拓扑信息的方法一般通过人工管理,以得到更新后各级分光设备的拓扑信息。Because the PON network scene is complex, and the corresponding relationship between the ONU and the optical splitting device in the network often changes during actual use, the topology information of the PON network also changes accordingly. In related technologies, the method for obtaining PON network topology information is generally manual management to obtain the updated topology information of the optical splitting equipment at all levels.
然而,由于PON网络中分光设备的拓扑信息非常繁琐,单单依靠人工管理,维护难度大、成本高、效率低且可能出现拓扑信息不准确的问题。However, because the topology information of the optical splitting equipment in the PON network is very cumbersome, and relying solely on manual management, maintenance is difficult, costly, and low in efficiency, and the topology information may be inaccurate.
发明内容Summary of the invention
本申请实施例提供了一种网络拓扑信息的获取方法、装置、设备及计算机可读存储介质,以解决相关技术提供的问题,技术方案如下:The embodiments of the present application provide a method, device, device, and computer-readable storage medium for acquiring network topology information to solve the problems provided by related technologies. The technical solutions are as follows:
第一方面,提供了一种网络拓扑信息的获取方法,所述方法包括:获取网络中目标用户侧设备的第一物理数据,同一级分光设备下的目标用户侧设备的第一物理数据处于同一目标数值范围内;对所述目标用户侧设备的第一物理数据进行聚类分析,得到一个或多个数据组,同一数据组的第一物理数据对应的目标用户侧设备为同一级分光设备下的用户侧设备;对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,得到所述目标用户侧设备隶属的分光设备的等级;根据所述目标用户侧设备隶属的分光设备的等级,确定网络拓扑信息。In a first aspect, a method for acquiring network topology information is provided. The method includes: acquiring first physical data of a target user-side device in the network, and the first physical data of the target user-side device under the same level of optical splitting device is in the same Within the target numerical range; perform cluster analysis on the first physical data of the target user-side device to obtain one or more data groups, and the target user-side device corresponding to the first physical data of the same data group is under the same level of spectroscopic equipment The user-side equipment; classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs to obtain the level of the spectroscopic equipment to which the target user-side equipment belongs; according to the spectroscopic equipment to which the target user-side equipment belongs Level, which determines the network topology information.
可选地,所述根据所述目标用户侧设备隶属的分光设备的等级,确定网络拓扑信息,包括:获取目标用户侧设备的标识信息;根据所述目标用户侧设备的标识信息和所述目标用户侧设备隶属的分光设备的等级,确定所述网络拓扑信息。Optionally, the determining the network topology information according to the level of the spectroscopic device to which the target user-side device belongs includes: obtaining identification information of the target user-side device; according to the identification information of the target user-side device and the target The level of the optical splitting device to which the user-side device belongs determines the network topology information.
可选地,所述获取网络中目标用户侧设备的第一物理数据之前,还包括:获取表征用户侧设备稳定性的第二物理数据;将第二物理数据满足目标阈值的用户侧设备作为目标用户侧设备。Optionally, before acquiring the first physical data of the target user-side device in the network, the method further includes: acquiring second physical data that characterizes the stability of the user-side device; and targeting the user-side device whose second physical data meets the target threshold User-side equipment.
可选地,所述对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,得到所述目标用户侧设备隶属的分光设备的等级,包括:获取每一个数据组内的目标用户侧设备的第一物理数据的代表数据;根据所述代表数据及所述代表数据对应的设置标准,确定不同级分光设备下的目标用户侧设备隶属的分光设备的等级。Optionally, the classifying the spectroscopic devices to which the target user-side device belongs under different levels of spectroscopic devices to obtain the class of the spectroscopic device to which the target user-side device belongs includes: obtaining the target user in each data group The representative data of the first physical data of the side device; according to the representative data and the setting standard corresponding to the representative data, determine the level of the spectroscopic device to which the target user-side device of the different level of spectroscopic device belongs.
可选地,所述第一物理数据和所述第二物理数据包括:光功率和/或光距。Optionally, the first physical data and the second physical data include: optical power and/or optical distance.
可选地,当所述目标用户侧设备的第一物理数据包括光功率时,所述设置标准包括网络中分光设备级数以及每一级分光设备的分光比例,所述分光比例用于确定每一级分光设备下用户侧设备的光功率,不同级分光设备下用户侧设备的光功率不同;所述根据所述代表数据及所述代表数据对应的设置标准,确定不同级分光设备下的目标用户侧设备隶属的分光设备的等级,包括:将所述光功率的代表数据与网络中分光设备下用户侧设备的光功率进行匹配;当匹配成功时,将匹配出的分光设备下用户侧设备的光功率所对应的分光设备的级数,作为所述光功率的代表数据对应的目标用户侧设备隶属的分光设备的等级。Optionally, when the first physical data of the target user-side device includes optical power, the setting standard includes the number of optical splitting devices in the network and the optical splitting ratio of each optical splitting device. The optical splitting ratio is used to determine each optical power. The optical power of the user-side equipment under the first-level optical splitting equipment is different from the optical power of the user-side equipment under the different-level optical splitting equipment; the target is determined under the different-level optical splitting equipment according to the representative data and the setting standards corresponding to the representative data The level of the optical splitting device to which the user-side device belongs includes: matching the representative data of the optical power with the optical power of the user-side device of the optical splitting device in the network; when the matching is successful, the matched user-side device of the optical splitting device The level of the spectroscopic device corresponding to the optical power of is used as the level of the spectroscopic device to which the target user-side device belongs to the representative data of the optical power.
可选地,当所述目标用户侧设备的第一物理数据包括光距时,所述设置标准包括网络中分光设备级数以及每一级分光设备下的用户侧设备的约束光距,不同级分光设备下的用户侧设备的约束光距不同;所述根据所述代表数据及所述代表数据对应的设置标准,确定不同级分光设备下的目标用户侧设备隶属的分光设备的等级,包括:将所述光距的代表数据与每一级分光设备下的用户侧设备的约束光距进行匹配;当匹配成功时,将匹配出的用户侧设备的约束光距所对应分光设备的级数,作为所述光距的代表数据对应的目标用户侧设备隶属的分光设备的等级。Optionally, when the first physical data of the target user-side equipment includes the optical distance, the setting standard includes the number of optical splitting equipment levels in the network and the constrained optical distance of the user-side equipment under each level of optical splitting equipment. The constrained optical distances of the user-side equipment under the spectroscopic equipment are different; the determination of the level of the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs according to the representative data and the setting standards corresponding to the representative data includes: The representative data of the optical distance is matched with the constrained optical distance of the user-side equipment under each level of spectroscopy equipment; when the matching is successful, the matched constrained optical distance of the user-side equipment is matched to the number of levels of the spectroscopic equipment, The level of the spectroscopic device to which the target user-side device belongs as the representative data of the optical distance.
可选地,所述目标用户侧设备的标识信息包括目标用户侧设备在网络中的端口信息;所述获取目标用户侧设备的标识信息,包括:通过端口信息通讯协议,获取所述目标用户侧设备在网络中的端口信息。Optionally, the identification information of the target user-side device includes port information of the target user-side device in the network; the obtaining the identification information of the target user-side device includes: obtaining the target user-side device through a port information communication protocol Port information of the device in the network.
第二方面,提供了一种网络拓扑信息的获取装置,所述装置包括:获取模块,用于获取网络中目标用户侧设备的第一物理数据,同一级分光设备下的目标用户侧设备的第一物理数据处于同一目标数值范围内;聚类模块,用于对所述目标用户侧设备的第一物理数据进行聚类分析,得到一个或多个数据组,同一数据组的第一物理数据对应的目标用户侧设备为同一级分光设备下的用户侧设备;等级划分模块,用于对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,得到所述目标用户侧设备隶属的分光设备的等级;确定模块,用于根据所述目标用户侧设备隶属的分光设备的等级,确定网络拓扑信息。In a second aspect, an apparatus for acquiring network topology information is provided. The apparatus includes: an acquiring module for acquiring first physical data of a target user-side device in the network, and a second physical data of the target user-side device under the same level of optical splitting equipment One physical data is within the same target value range; the clustering module is used to perform cluster analysis on the first physical data of the target user-side device to obtain one or more data groups, and the first physical data of the same data group corresponds to The target user-side equipment is the user-side equipment under the same level of optical splitting equipment; the class division module is used to classify the optical splitting equipment to which the target user-side equipment under different levels of optical splitting equipment belongs to obtain the The class of the optical splitting device; the determining module is used to determine the network topology information according to the class of the optical splitting device to which the target user-side device belongs.
可选地,所述确定模块,用于获取目标用户侧设备的标识信息;根据所述目标用户侧设备的标识信息和所述目标用户侧设备隶属的分光设备的等级,确定所述网络拓扑信息。Optionally, the determining module is configured to obtain identification information of the target user-side device; determine the network topology information according to the identification information of the target user-side device and the level of the optical splitting device to which the target user-side device belongs .
可选地,所述获取模块,还用于获取表征用户侧设备稳定性的第二物理数据;将第二物理数据满足目标阈值的用户侧设备作为目标用户侧设备。Optionally, the acquiring module is further configured to acquire second physical data that characterizes the stability of the user-side device; the user-side device whose second physical data meets the target threshold is taken as the target user-side device.
可选地,所述等级划分模块,包括:获取单元,用于获取每一个数据组内的目标用户侧设备的第一物理数据的代表数据;确定单元,用于根据所述代表数据及所述代表数据对应的设置标准,确定不同级分光设备下的目标用户侧设备隶属的分光设备的等级。Optionally, the level division module includes: an obtaining unit, configured to obtain representative data of the first physical data of the target user-side device in each data group; and a determining unit, configured to obtain representative data based on the representative data and the Represents the setting standards corresponding to the data, and determines the level of the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs.
可选地,所述第一物理数据和所述第二物理数据包括:光功率和/或光距。Optionally, the first physical data and the second physical data include: optical power and/or optical distance.
可选地,当所述目标用户侧设备的第一物理数据包括光功率时,所述设置标准包括网络 中分光设备级数以及每一级分光设备的分光比例,所述分光比例用于确定每一级分光设备下用户侧设备的光功率,不同级分光设备下用户侧设备的光功率不同;所述确定单元,用于将所述光功率的代表数据与网络中分光设备下用户侧设备的光功率进行匹配;当匹配成功时,将匹配出的分光设备下用户侧设备的光功率所对应的分光设备的级数,作为所述光功率的代表数据对应的目标用户侧设备隶属的分光设备的等级。Optionally, when the first physical data of the target user-side device includes optical power, the setting standard includes the number of optical splitting devices in the network and the optical splitting ratio of each optical splitting device. The optical splitting ratio is used to determine each optical power. The optical power of the user-side equipment under the first-level optical splitting equipment is different from the optical power of the user-side equipment under the optical splitting equipment of different levels; the determining unit is used to compare the representative data of the optical power with the optical power of the user-side equipment under the optical splitting equipment in the network The optical power is matched; when the matching is successful, the level of the optical splitting device corresponding to the optical power of the user-side device under the matched optical splitting device is used as the optical splitting device to which the target user-side device belongs to the representative data of the optical power The grade.
可选地,当所述目标用户侧设备的第一物理数据包括光距时,所述设置标准包括网络中分光设备级数以及每一级分光设备下的用户侧设备的约束光距,不同级分光设备下的用户侧设备的约束光距不同;所述确定单元,用于将所述光距的代表数据与每一级分光设备下的用户侧设备的约束光距进行匹配;当匹配成功时,将匹配出的用户侧设备的约束光距所对应分光设备的级数,作为所述光距的代表数据对应的目标用户侧设备隶属的分光设备的等级。Optionally, when the first physical data of the target user-side equipment includes the optical distance, the setting standard includes the number of optical splitting equipment levels in the network and the constrained optical distance of the user-side equipment under each level of optical splitting equipment. The constrained optical distances of the user-side equipment under the spectroscopic equipment are different; the determining unit is used to match the representative data of the optical distance with the constrained optical distances of the user-side equipment under each level of the spectroscopic equipment; when the matching is successful , Taking the matched class of the spectroscopic device corresponding to the constrained optical distance of the user-side device as the class of the spectroscopic device to which the target user-side device belongs corresponding to the representative data of the optical distance.
可选地,所述目标用户侧设备的标识信息包括目标用户侧设备在网络中的端口信息;所述确定模块,用于通过端口信息通讯协议,获取所述目标用户侧设备在网络中的端口信息。Optionally, the identification information of the target user-side device includes port information of the target user-side device in the network; the determining module is configured to obtain the port information of the target user-side device in the network through a port information communication protocol information.
第三方面,提供了一种网络拓扑信息的获取设备,所述设备包括:存储器及处理器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行,以实现第一方面或第一方面的任一种可能的实施方式中的方法。In a third aspect, a device for acquiring network topology information is provided. The device includes a memory and a processor. The memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to Implement the first aspect or the method in any possible implementation of the first aspect.
第四方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如第一方面或第一方面的任一种可能的实施方式中的方法。In a fourth aspect, a computer-readable storage medium is provided, and at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the first aspect or any one of the first aspect. The method in the embodiment.
第五方面,提供了另一种通信装置,该装置包括:收发器、存储器和处理器。其中,该收发器、该存储器和该处理器通过内部连接通路互相通信,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制收发器接收信号,并控制收发器发送信号,并且当该处理器执行该存储器存储的指令时,使得该处理器执行第一方面或第一方面的任一种可能的实施方式中的方法。In a fifth aspect, another communication device is provided, which includes: a transceiver, a memory, and a processor. Wherein, the transceiver, the memory, and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control the transceiver to receive signals and control the transceiver to send signals And when the processor executes the instructions stored in the memory, the processor is caused to execute the first aspect or the method in any possible implementation manner of the first aspect.
可选地,所述处理器为一个或多个,所述存储器为一个或多个。Optionally, there are one or more processors and one or more memories.
可选地,所述存储器可以与所述处理器集成在一起,或者所述存储器与处理器分离设置。Optionally, the memory may be integrated with the processor, or the memory and the processor may be provided separately.
在具体实现过程中,存储器可以为非瞬时性(non-transitory)存储器,例如只读存储器(read only memory,ROM),其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请实施例对存储器的类型以及存储器与处理器的设置方式不做限定。In the specific implementation process, the memory can be a non-transitory (non-transitory) memory, such as a read only memory (ROM), which can be integrated with the processor on the same chip, or can be set in different On the chip, the embodiment of the present application does not limit the type of memory and the setting mode of the memory and the processor.
第六方面,提供了一种计算机程序(产品),所述计算机程序(产品)包括:计算机程序代码,当所述计算机程序代码被计算机运行时,使得所述计算机执行上述各方面中的方法。In a sixth aspect, a computer program (product) is provided. The computer program (product) includes: computer program code, which when the computer program code is run by a computer, causes the computer to execute the methods in the above aspects.
第七方面,提供了一种芯片,包括处理器,用于从存储器中调用并运行所述存储器中存储的指令,使得安装有所述芯片的通信设备执行上述各方面中的方法。In a seventh aspect, a chip is provided, including a processor, configured to call and execute instructions stored in the memory from a memory, so that a communication device installed with the chip executes the methods in the foregoing aspects.
第八方面,提供另一种芯片,包括:输入接口、输出接口、处理器和存储器,所述输入接口、输出接口、所述处理器以及所述存储器之间通过内部连接通路相连,所述处理器用于执行所述存储器中的代码,当所述代码被执行时,所述处理器用于执行上述各方面中的方法。In an eighth aspect, another chip is provided, including: an input interface, an output interface, a processor, and a memory. The input interface, output interface, the processor, and the memory are connected by an internal connection path, and the processing The processor is used to execute the code in the memory, and when the code is executed, the processor is used to execute the methods in the foregoing aspects.
本申请提供的技术方案带来的有益效果至少包括:The beneficial effects brought about by the technical solution provided by this application include at least:
通过获取网络中在不同级分光设备下的目标用户侧设备的第一物理数据,对得到第一物理数据进行聚类分析,得到数据组,将同一数据组的物理数据对应的目标用户侧设备作为同一级分光设备下的用户侧设备,以此将目标用户侧设备划分在不同级的分光设备下。之后对 不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,确定目标用户侧设备隶属的分光设备的级别,通过得到的目标用户侧设备隶属的分光设备的级别,可以得到目标用户侧设备在网络中的拓扑信息,继而利用该网络拓扑信息定位用户侧设备在网络中的拓扑结构关系,解决了拓扑信息需要依靠人工管理,维护难度大、成本高、效率低以及可能出现拓扑信息不准确的问题。By obtaining the first physical data of the target user-side equipment under different levels of optical splitting equipment in the network, perform cluster analysis on the obtained first physical data to obtain a data group, and use the target user-side equipment corresponding to the physical data of the same data group as The user-side equipment under the same level of optical splitting equipment is used to classify the target user-side equipment under different levels of optical splitting equipment. Then classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs to determine the level of the spectroscopic equipment to which the target user-side equipment belongs, and obtain the level of the spectroscopic equipment to which the target user-side equipment belongs to obtain the target user The topology information of the side device in the network is then used to locate the topology structure relationship of the user side device in the network, which solves the need for manual management of topology information, which is difficult to maintain, high cost, low efficiency, and topology information may appear The problem of inaccuracy.
附图说明Description of the drawings
图1为本申请实施例提供的PON网络结构示意图;Figure 1 is a schematic diagram of a PON network structure provided by an embodiment of the application;
图2为本申请实施例提供的一种网络拓扑信息的获取方法的流程图;2 is a flowchart of a method for acquiring network topology information provided by an embodiment of the application;
图3为本申请实施例提供的PON网络结构示意图;Figure 3 is a schematic diagram of the PON network structure provided by an embodiment of the application;
图4为本申请实施例提供的一种网络拓扑信息的获取方法的数据处理过程示意图;4 is a schematic diagram of a data processing process of a method for acquiring network topology information according to an embodiment of this application;
图5为本申请实施例提供的一种网络拓扑信息的获取方法的聚合结果示意图;5 is a schematic diagram of aggregation results of a method for acquiring network topology information according to an embodiment of the application;
图6为本申请实施例提供的一种网络拓扑信息的获取方法的聚合结果示意图;6 is a schematic diagram of aggregation results of a method for acquiring network topology information according to an embodiment of the application;
图7为本申请实施例提供的一种网络拓扑信息的获取方法的流程图;FIG. 7 is a flowchart of a method for acquiring network topology information according to an embodiment of this application;
图8为本申请实施例提供的一种网络拓扑信息的获取方法的稳定性分析结果示意图;FIG. 8 is a schematic diagram of stability analysis results of a method for acquiring network topology information according to an embodiment of the application;
图9为本申请实施例提供的一种网络拓扑信息的获取方法的数据处理过程示意图;FIG. 9 is a schematic diagram of a data processing process of a method for acquiring network topology information according to an embodiment of this application;
图10为本申请实施例提供的一种网络拓扑信息的获取方法的流程图;FIG. 10 is a flowchart of a method for acquiring network topology information according to an embodiment of this application;
图11为本申请实施例提供的一种网络拓扑信息的获取装置的结构示意图;FIG. 11 is a schematic structural diagram of a device for acquiring network topology information provided by an embodiment of this application;
图12为本申请实施例提供的一种网络拓扑信息的获取设备的结构示意图。FIG. 12 is a schematic structural diagram of a device for acquiring network topology information according to an embodiment of this application.
具体实施方式detailed description
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terminology used in the implementation mode of this application is only used to explain the specific embodiments of this application, and is not intended to limit this application.
首先对本申请实施例涉及的应用场景进行说明,本申请实施例记载的方法可应用于使用分光设备形成的网络拓扑结构中。其中分光设备可以是分光器,当然也可以是能起到相同作用的其他设备。本申请实施例以通过分光器形成的多级无源光纤网络为例,对本申请的技术方案进行详细描述。示例性地,如图1所示,图1是一种单链多级无源光纤网络,该网络主要由光线路终端(optical line terminal,OLT)、含有无源光器件的光配线网络(optical Distribution Network,ODN)以及用户侧设备,图1中的用户侧设备为光网络单元(optical network unit,ONU)。其中,ODN包含主干光纤5、二级光纤6、三级光纤7、四级光纤8以及第一级分光器1、第二级分光器2、第三级分光器3、第四级分光器4。OLT与第一级分光器之间由主干光纤5连接,第一级分光器1与第二级分光器2之间由二级光纤6连接、第二级分光器2与第三级分光器3之间由三级光纤7连接、第三级分光器与第四级分光器之间由四级光纤8连接,通过分光器和光纤形成由单点到多点的树型网络拓扑结构。First, the application scenarios involved in the embodiments of the present application are described. The methods recorded in the embodiments of the present application can be applied to a network topology structure formed by using optical splitting equipment. The spectroscopic device may be a spectroscope, of course, it may also be other devices that can play the same role. The embodiment of the present application takes a multi-level passive optical fiber network formed by an optical splitter as an example to describe the technical solution of the present application in detail. Illustratively, as shown in Fig. 1, Fig. 1 is a single-chain multi-level passive optical fiber network. The network is mainly composed of optical line terminals (OLT) and optical distribution networks containing passive optical devices ( Optical Distribution Network (ODN) and user-side equipment. The user-side equipment in Figure 1 is an optical network unit (ONU). Among them, ODN includes backbone fiber 5, secondary fiber 6, tertiary fiber 7, fourth-level fiber 8, and first-level optical splitter 1, second-level optical splitter 2, third-level optical splitter 3, and fourth-level optical splitter 4 . The OLT and the first-stage optical splitter are connected by a backbone fiber 5, the first-stage optical splitter 1 and the second-stage optical splitter 2 are connected by a second-stage optical fiber 6, and the second-stage optical splitter 2 and the third-stage optical splitter 3 are connected. They are connected by a three-stage optical fiber 7, and the third-stage optical splitter and the fourth-stage optical splitter are connected by a four-stage optical fiber 8. The optical splitter and the optical fiber form a single-point to multi-point tree network topology.
第一级分光器1包括1:2子分光器11和1:8子分光器14,第二级分光器2包括1:2子分光器12和1:8子分光器15,第三级分光器3包括1:2子分光器13和1:8子分光器16,第四级分光器4包括1:8子分光器17。其中1:2的含义是该分光器有1个输入端口和2个输出端口,同理1:8的含义是该分光器有1个输入端口和8个输出端口。本领域技术人员可以根据实际使用需要设置每一级分光器包含的子分光器的数量和每一个子分光器的输入端口数量和 输出端口数量,本申请不作限定,只是为了描述方案需要而设置。同时在图1中每一个1:8输出端口可用于连接最多8个ONU,图1中只示出了1个ONU。当然,除了图1所示的网络拓扑结构外,本领域技术人员可以根据实际网络设置要求,部署成其他的网络拓扑结构。The first-level splitter 1 includes a 1:2 sub-splitter 11 and a 1:8 sub-splitter 14, the second-level splitter 2 includes a 1:2 sub-splitter 12 and a 1:8 sub-splitter 15, the third-level splitter The splitter 3 includes a 1:2 sub-splitter 13 and a 1:8 sub-splitter 16, and the fourth-stage splitter 4 includes a 1:8 sub-splitter 17. Among them, 1:2 means that the splitter has 1 input port and 2 output ports, and similarly, 1:8 means that the splitter has 1 input port and 8 output ports. A person skilled in the art can set the number of sub-splitters included in each level of optical splitter and the number of input ports and output ports of each sub-splitter according to actual needs. This application does not limit it, but only sets it for describing the needs of the solution. At the same time, each 1:8 output port in Figure 1 can be used to connect up to 8 ONUs, and only one ONU is shown in Figure 1. Of course, in addition to the network topological structure shown in FIG. 1, those skilled in the art can deploy other network topological structures according to actual network setting requirements.
本申请实施例提供一种网络拓扑信息的获取方法,应用于可进行网络数据处理的分析设备。如图2所示,该方法包括:The embodiment of the present application provides a method for acquiring network topology information, which is applied to an analysis device that can perform network data processing. As shown in Figure 2, the method includes:
S21,获取网络中目标用户侧设备的第一物理数据,同一级分光设备下的目标用户侧设备的第一物理数据处于同一目标数值范围内。S21: Acquire first physical data of the target user-side device in the network, and the first physical data of the target user-side device under the same level of optical splitting device is within the same target value range.
由于用户侧设备网络状态稳定的情况下,用户侧设备的物理数据也能保持平稳状态,因而能从一定程度上体现拓扑相关情况。对此,本申请实施例中以达到稳定性的用户侧设备作为目标用户侧设备,获取目标用户侧设备的第一物理数据,从而据此获取拓扑信息。如图3所示,分光器21为一个级别的分光器,称为第一级分光器;分光器22和分光器23为同一级的分光器,称为第二级分光器;分光器24为一个级别的分光器,称为第三级分光器。当用户侧设备221、用户侧设备222、用户侧设备223和用户侧设备224的稳定性均满足稳定性要求,则用户侧设备221、用户侧设备222、用户侧设备223和用户侧设备224均为第二级分光器下的目标用户侧设备。同理当用户侧设备241满足稳定性要求,则用户侧设备241为第三级分光器下的目标用户侧设备。关于确定目标用户侧设备的方式,可参见后续S211-S212的相关描述,此处暂不赘述。其中,目标用户侧设备的第一物理数据可以是先通过目标用户侧设备自身周期性上报数据到OLT,OLT再统一周期性上报到数据采集设备;也可以通过目标用户侧设备直接周期性上报数据到数据采集设备。Since the physical data of the user-side equipment can also remain stable when the network status of the user-side equipment is stable, the topology-related situation can be reflected to a certain extent. In this regard, in the embodiment of the present application, a user-side device that has achieved stability is used as a target user-side device to obtain the first physical data of the target user-side device, so as to obtain topology information accordingly. As shown in Figure 3, the optical splitter 21 is a level of optical splitter, called the first-stage optical splitter; the optical splitter 22 and the optical splitter 23 are the same level of optical splitter, called the second-stage optical splitter; the optical splitter 24 is One level of optical splitter is called the third level of optical splitter. When the stability of the user-side device 221, the user-side device 222, the user-side device 223, and the user-side device 224 all meet the stability requirements, the user-side device 221, the user-side device 222, the user-side device 223, and the user-side device 224 all meet the stability requirements. It is the target user side equipment under the second-level optical splitter. Similarly, when the user-side device 241 meets the stability requirement, the user-side device 241 is the target user-side device under the third-level optical splitter. Regarding the method of determining the target user-side device, please refer to the relevant description of S211-S212, which will not be repeated here. Among them, the first physical data of the target user-side device may first periodically report the data to the OLT through the target user-side device itself, and then the OLT periodically reports the data to the data collection device; or directly periodically reports the data through the target user-side device To the data acquisition device.
目标用户侧设备上报数据的周期可以根据网络实际使用需要设置,可以是分钟级,也可以是秒级。在上报到数据采集设备之后,数据采集设备可以将数据统一存储到分析设备的存储模块内,以便分析设备分析使用。该存储模块可以是分布式文件系统(hadoop distributed file system,HDFS)。通过将数据存储至存储模块,分析设备可以随时获取存储模块中的数据进行分析处理,也可以根据用户的请求来进行数据分析处理。同时数据采集设备也可以将采集到的数据直接上传至分析设备,当分析设备接收到数据时,触发分析设备进行分析处理,可见图4。The period for the target user-side device to report data can be set according to the actual needs of the network, and can be in minutes or seconds. After reporting to the data acquisition device, the data acquisition device can uniformly store the data in the storage module of the analysis device for analysis and use by the analysis device. The storage module may be a distributed file system (hadoop distributed file system, HDFS). By storing data in the storage module, the analysis device can obtain the data in the storage module for analysis and processing at any time, or perform data analysis and processing according to the user's request. At the same time, the data acquisition device can also directly upload the collected data to the analysis device. When the analysis device receives the data, it triggers the analysis device to perform analysis and processing, as shown in Figure 4.
本领域技术人员可知,网络中处于同一级分光器下的用户侧设备理论上是等同的。但也可能由于第一物理数据的传输损失,同一级分光设备下的用户侧设备的第一物理数据存在偏差。故本申请实施例的方案,只要是同一级分光设备下的用户侧设备的第一物理数据处于同一目标数值范围即可。该目标数值范围可以根据实际网络性能测试得到。Those skilled in the art can know that the user-side devices under the same level of optical splitters in the network are theoretically equivalent. However, due to the transmission loss of the first physical data, the first physical data of the user-side equipment under the same level of optical splitting equipment may have deviations. Therefore, in the solution of the embodiment of the present application, as long as the first physical data of the user-side device under the same level of optical splitting device is in the same target value range. The target value range can be obtained according to actual network performance tests.
示例性地,该第一物理数据可以是目标用户侧设备的光功率(包括接收光功率和/或发送光功率)和/或光距。目标用户侧设备的光功率和光距在网络中不同级分光器下不等同。通过获取该种特征的数据,便于后续对目标用户侧设备的物理数据进行聚类分析,达到对目标用户侧设备隶属的分光器的等级进行判别的目的。Exemplarily, the first physical data may be the optical power (including the received optical power and/or the transmitted optical power) and/or the optical distance of the target user-side device. The optical power and optical distance of the target user-side equipment are not the same under different levels of optical splitters in the network. By acquiring the data of this kind of characteristics, it is convenient to perform cluster analysis on the physical data of the target user-side device, and achieve the purpose of judging the level of the spectroscope to which the target user-side device belongs.
当然,本领域技术人员也可以选用目标用户侧设备的其他物理数据作为分光器等级的划分计算数据。在本申请实施例中选用的第一物理数据可以是上述物理数据中的任意一个,也可以是多个。在选择多个物理数据的情况,可分别进行分析计算,根据综合得到的分析结果来判定网络拓扑信息,提高了获得的网络拓扑信息的准确性。作为本申请一个示例性实施方 式,本申请实施例的第一物理数据以用户侧设备的接收光功率为例进行说明。Of course, those skilled in the art can also select other physical data of the target user side device as the division calculation data of the optical splitter level. The first physical data selected in the embodiment of the present application may be any one or more of the above-mentioned physical data. In the case of selecting multiple physical data, analysis and calculation can be performed separately, and the network topology information can be determined according to the comprehensive analysis result, which improves the accuracy of the obtained network topology information. As an exemplary implementation of the present application, the first physical data in the embodiment of the present application is described by taking the received optical power of the user-side device as an example.
S22,对目标用户侧设备的第一物理数据进行聚类分析,得到一个或多个数据组,同一数据组的第一物理数据对应的目标用户侧设备为同一级分光设备下的用户侧设备。S22: Perform cluster analysis on the first physical data of the target user-side device to obtain one or more data groups, and the target user-side device corresponding to the first physical data of the same data group is the user-side device under the same level of optical splitting device.
通过步骤S21可知,本申请实施例使用的第一物理数据的特征是在同一级分光器下第一物理数据处于同一目标数值范围内,因而可以使用聚类分析将同一目标数值范围内的第一物理数据分为不同的组别。例如用户侧设备的接收光功率为-20dB、-19.5dB、-24dB、-23.9dB,聚类标准:第一组别范围[-19dB,-20dB],第二组别范围[-23.5dB,-24dB]。由此可见,可以将-20dB、-19.5dB分为第一组别,-24dB、-23.9dB分为第二组别。数据组的数量可根据网络中分光器的级数确定。如图3所示,若经上述聚类分析后,得到两个数据组,第一数据组的数据为-19.1dB、-19.2dB、-19.3dB、-19.4dB,该四个数据分别对应用户侧设备221、用户侧设备222、用户侧设备223以及用户侧设备234,则将用户侧设备221、用户侧设备222、用户侧设备223以及用户侧设备234作为同一级分光器下的用户侧设备。同理得到的第二组数据为-23.6dB,若该数据对应用户侧设备241,则将用户侧设备241作为同一级分光器下的用户侧设备。上述进行聚类分析得到数据组的过程也可以采用K-Means聚类方法实现,本领域技术人员可根据实际聚类需求确定,本申请实施例对此不作限定。It can be seen from step S21 that the feature of the first physical data used in the embodiment of the present application is that the first physical data is within the same target value range under the same level of spectrometer, so cluster analysis can be used to determine the first physical data in the same target value range. The physical data is divided into different groups. For example, the received optical power of the user-side equipment is -20dB, -19.5dB, -24dB, -23.9dB, and the clustering standard: the range of the first group [-19dB, -20dB], the range of the second group [-23.5dB, -24dB]. It can be seen that -20dB and -19.5dB can be divided into the first group, and -24dB and -23.9dB can be divided into the second group. The number of data groups can be determined according to the number of optical splitters in the network. As shown in Figure 3, if two data groups are obtained after the above cluster analysis, the data of the first data group are -19.1dB, -19.2dB, -19.3dB, -19.4dB, and the four data correspond to users Side device 221, user side device 222, user side device 223, and user side device 234, the user side device 221, user side device 222, user side device 223, and user side device 234 are regarded as user side devices under the same level of optical splitter . The second set of data obtained in the same way is -23.6dB. If the data corresponds to the user-side device 241, the user-side device 241 is taken as the user-side device under the same level of optical splitter. The above process of performing cluster analysis to obtain a data group can also be implemented by using the K-Means clustering method, which can be determined by those skilled in the art according to actual clustering requirements, which is not limited in the embodiment of the present application.
示例性地,图5为各用户侧设备的接收光功率统计图,在利用聚类分析后,可得到图6所示的四个组别的用户侧设备聚类示意图。各个组别可以标示为C1、C2、C3、C4,即识别出分别挂在四个不同分光器下的用户侧设备。假设0_0,0_1,0_2,0_3,1_0,1_1,1_2,1_3为同一个PON下部分不同用户侧设备的编号,如果0_0,0_1,0_2,0_3之间接收光功率比较相近,1_0,1_1,1_2,1_3之间接收光功率比较相近,则聚类的结果会形如{‘C 1’:[0_0,0_1,0_2,0_3],‘C 2’:[1_0,1_1,1_2,1_3]},依次类推可得到C3和C4。即将接收光功率相近的用户侧设备聚合在同一组别里面。聚合结果{‘C 1’:[0_0,0_1,0_2,0_3],‘C 2’:[1_0,1_1,1_2,1_3]}对应到拓扑信息的含义:0_0,0_1,0_2,0_3在同一级分光器下,1_0,1_1,1_2,1_3在同一级分光器下。 Exemplarily, FIG. 5 is a statistical diagram of the received optical power of each user-side device. After clustering analysis is used, the four groups of user-side device clustering diagrams shown in FIG. 6 can be obtained. Each group can be marked as C1, C2, C3, C4, that is, identify the user-side equipment hanging under four different optical splitters. Suppose 0_0, 0_1,0_2, 0_3, 1_0, 1_1, 1_2, 1_3 are the numbers of some different user-side devices under the same PON. If the received optical powers between 0_0, 0_1,0_2, and 0_3 are relatively similar, 1_0, 1_1, 1_2 , The received optical powers between 1_3 are relatively similar, the result of clustering will be like {'C 1 ':[0_0,0_1,0_2,0_3],'C 2 ':[1_0,1_1,1_2,1_3]}, By analogy, C3 and C4 can be obtained. That is, user-side devices with similar received optical power are aggregated into the same group. The aggregation result {'C 1 ':[0_0,0_1,0_2,0_3],'C 2 ':[1_0,1_1,1_2,1_3]} corresponds to the meaning of the topology information: 0_0,0_1,0_2,0_3 are at the same level Under the splitter, 1_0, 1_1, 1_2, 1_3 are under the same level of splitter.
S23,对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,得到目标用户侧设备隶属的分光设备的等级。S23: Classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs to obtain the level of the spectroscopic equipment to which the target user-side equipment belongs.
通过聚合结果,识别出在同一级分光器下的目标用户侧设备之后,对目标用户侧设备隶属的分光器的等级进行划分,通过等级划分结果以确定分光器间的层级连接关系。在对目标用户侧设备隶属的分光器的等级进行划分时,可以依次对同种数据类型的数据组间的数据进行相互比对,得到同种数据类型的组别间的数据大小排序关系。其中大小排序关系的获得可以是分别将组别中的数据相加,得到每一组别数据之和,通过数据之和大小进行排序。再根据本领域技术人员可知的该种数据类型的数据在网络中的数值变化关系,得到目标用户侧设备隶属的分光器的等级关系。Based on the aggregation results, after identifying the target user-side equipment under the same level of optical splitters, the levels of the optical splitters to which the target user-side equipment belongs are classified, and the hierarchical connection relationship between the optical splitters is determined by the classification results. When dividing the level of the spectroscope to which the target user-side device belongs, the data between the data groups of the same data type can be sequentially compared with each other to obtain the data size ranking relationship between the groups of the same data type. The size sorting relationship can be obtained by adding the data in the groups to obtain the sum of the data in each group, and sorting by the sum size of the data. Then, according to the numerical change relationship of the data of this data type in the network known to those skilled in the art, the hierarchical relationship of the optical splitter to which the target user side device belongs is obtained.
作为本申请一个可选地实施方式,步骤S23包括:As an optional implementation manner of this application, step S23 includes:
S231,获取每一个数据组内的目标用户侧设备的第一物理数据的代表数据。S231: Acquire representative data of the first physical data of the target user-side device in each data group.
由于形成的每一种数据组中包含的数据数量可以有多个,可以在同一数据组内选出一个代表数据来对目标用户侧设备隶属的分光器的等级进行划分,提高了对目标用户侧设备隶属的分光器的等级进行划分的效率。其中代表数据可以是每一个数据组中所有数据的平均值或者是中位数。本领域技术人员也可以选用其他数据作为代表数据,本申请实施例对此不作限 制。Since the number of data contained in each type of data group formed can be multiple, a representative data can be selected from the same data group to classify the level of the spectroscope to which the target user side device belongs, which improves the target user side The efficiency of classifying the splitter to which the equipment belongs. The representative data can be the average or median of all data in each data group. Those skilled in the art can also select other data as representative data, which is not limited in the embodiment of the present application.
S232,获取网络中对应代表数据的数据类型的设置标准。S232: Acquire a setting standard corresponding to the data type of the representative data in the network.
作为本申请一个示例性实施方式,当获取的目标用户侧设备的第一物理数据为接收光功率时,对应该接收光功率的约束条件可以是:分光器按照设置的分光比例向用户侧设备的输出功率。例如当分光比例为7:3时,分光器以接收到光功率的30%向用户侧设备输出;由此可知,网络中每一级分光器的输出功率呈现逐级衰减趋势。基于上述约束条件,以图1为例,图1中从第一级分光器到第三级分光器,各级分光器下连接的用户侧设备的接收光功率呈递减状态。例如OLT的发出功率为5dB为例,经过各级分光器以一定的分光比例分光后,假设各级分光器的分光比例为7:3时,则可得第一级分光器下挂ONU的接收光功率约为-15dB,第二级分光器下挂的ONU的接收光功率约为-17dB,第三分光器下挂ONU的接收光功率约为-19dB,第四级分光器因为少了1:2的子分光器的衰减,所以其下挂ONU的收光功率约为-16dB。如此得到的各级分光器下的用户侧设备的接收光功率就可以作为设置标准。可以看出不同级分光器之间用户侧设备的接收光功率是有衰减的,衰减值可以根据下述公式(1)确定:As an exemplary implementation of the present application, when the acquired first physical data of the target user-side device is the received optical power, the constraint condition corresponding to the received optical power may be: the optical splitter transmits to the user-side device according to the set splitting ratio. Output Power. For example, when the splitting ratio is 7:3, the optical splitter outputs 30% of the received optical power to the user-side equipment; it can be seen that the output power of each stage of the optical splitter in the network presents a gradual attenuation trend. Based on the above constraints, taking FIG. 1 as an example, from the first-stage optical splitter to the third-stage optical splitter in FIG. 1, the received optical power of the user-side equipment connected under each stage of the optical splitter is in a state of decreasing. For example, the output power of the OLT is 5dB. After the splitter of each level is split with a certain splitting ratio, assuming that the splitting ratio of each level of the splitter is 7:3, the ONU connected to the first-level splitter can be received. The optical power is about -15dB, the received optical power of the ONU attached to the second-level splitter is about -17dB, and the received optical power of the ONU attached to the third-level splitter is about -19dB. The fourth-level splitter is less than 1 : The attenuation of the sub-splitter of 2, so the received optical power of the ONU connected to it is about -16dB. The received optical power of the user-side equipment under the various levels of optical splitters obtained in this way can be used as a setting standard. It can be seen that the received optical power of the user-side equipment between different levels of optical splitters is attenuated, and the attenuation value can be determined according to the following formula (1):
链路衰减值=L×a+n1×b+n2×c+d  (1)式中:L为光缆长度;a为光缆每公里衰耗,如1310nm波长光缆的每公里衰减a取0.35dB;n1为熔接点数量;b为熔接点衰耗,其中b可取0.1dB;n2为活动连接器数量;c为活动连接器衰耗,c可取0.3dB;d:分光器衰耗,如1:2分光器的分光比为70%:30%。其中70%输出端口的衰减功率如下式(2)计算,70%输出端口用于连接下一级分光器;30%输出端口的衰减功率由下式(3)计算,30%输出端口用于连接1:8子分光器。Link attenuation value=L×a+n1×b+n2×c+d (1) where: L is the length of the optical cable; a is the attenuation per kilometer of the optical cable, for example, the attenuation a per kilometer of the 1310nm wavelength optical cable is 0.35dB; n1 is the number of splices; b is the loss of splices, where b can be 0.1dB; n2 is the number of active connectors; c is the loss of active connectors, c can be 0.3dB; d: splitter loss, such as 1:2 The splitting ratio of the spectroscope is 70%: 30%. The attenuation power of 70% output port is calculated by the following formula (2), 70% output port is used to connect to the next-stage optical splitter; the attenuated power of 30% output port is calculated by the following formula (3), and 30% output port is used for connection 1:8 sub splitter.
-10*log0.7=1.55dB  (2)-10*log0.7=1.55dB (2)
-10*log0.3=5.23dB  (3)-10*log0.3=5.23dB (3)
根据链路衰减值就可以得到到达各级分光器下的用户侧设备的光功率,以第一级分光器下挂ONU的接收光功率约为-15dB为例。图1中OLT发出的5dB光功率后,经过子分光器11和子分光器14以及连接光纤的传输后,达到第一级分光器下ONU。该ONU的接收光功率计算过程为公式(4)所示。假设第一级分光器的1:2子分光器11的分光比为(70%:30%)和1:8子分光器等比输出:According to the link attenuation value, the optical power reaching the user-side equipment under each level of optical splitter can be obtained. For example, the received optical power of the ONU connected to the first level of optical splitter is about -15dB. After the 5dB optical power emitted by the OLT in FIG. 1 is transmitted by the sub-splitter 11, the sub-splitter 14 and the connecting fiber, it reaches the ONU under the first-stage optical splitter. The calculation process of the received optical power of the ONU is shown in formula (4). Assuming that the splitting ratio of the 1:2 sub splitter 11 of the first-stage splitter is (70%: 30%) and the output of the 1:8 sub splitter is equal:
-15dB=5-3*0.35-8*0.1-8*0.3-5.23(1:2分光器衰减)-10.5(1:8分光器衰减)  (4)-15dB=5-3*0.35-8*0.1-8*0.3-5.23 (1:2 splitter attenuation) -10.5 (1:8 splitter attenuation) (4)
上述各级分光器的数值以图1结构为标准计算,在已知网络中分光器的级数与分光比例后,可以根据不同分光比例的分光器的衰减系数和分光器之间连接链路的衰减系数确定,本领域技术人员可以根据实际网络部署需求使用其他计算公式,本申请对此不作限定。The values of the above-mentioned optical splitters at all levels are calculated based on the structure in Figure 1. After the number of stages and splitting ratios of the splitters in the network are known, the attenuation coefficients of the splitters with different splitting ratios and the link between the splitters can be calculated The attenuation coefficient is determined, and those skilled in the art can use other calculation formulas according to actual network deployment requirements, which is not limited in this application.
当获取的目标用户侧设备的第一物理数据为光距时,对应该光距的约束条件是:(1)分光器之间的光缆长度大于200m;(2)分光器到用户侧设备间的光缆长度小于100m;(3)若在实际部署时,标准(1)和标准(2)的条件均不能满足时,则需要满足的光缆长度原则是:本级分光器到下一级分光器之间的光缆长度>本级分光器到本级用户侧设备的最长光缆长度+100m。当然本申请实施例不对光距设置标准进行限定,本领域技术人员可以根据实际网络部署情况进行设置,相关设置参数可参见图3。When the acquired first physical data of the target user-side equipment is the optical distance, the constraints corresponding to the optical distance are: (1) the length of the optical cable between the optical splitters is greater than 200m; (2) the optical distance between the optical splitter and the user-side equipment The length of the optical cable is less than 100m; (3) If the conditions of standard (1) and standard (2) cannot be met during actual deployment, the length of the optical cable that needs to be met is the following: The length of the optical cable between the optical fiber> the longest optical cable length from the optical splitter of this level to the user-side equipment of this level + 100m. Of course, the embodiment of this application does not limit the optical distance setting standard, and those skilled in the art can set it according to the actual network deployment situation, and the relevant setting parameters can be seen in FIG. 3.
S233,根据代表数据和代表数据对应的设置标准,确定不同级分光设备下的目标用户侧设备隶属的分光设备的等级。S233: According to the representative data and the setting standards corresponding to the representative data, determine the level of the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs.
在本申请一个示例性实施方式中,当目标用户侧设备的第一物理数据包括光功率时,设置标准包括网络中分光设备级数以及每一级分光设备的分光比例,分光比例用于确定每一级分光设备下用户侧设备的光功率,不同级分光设备下用户侧设备的光功率不同。若如图1中第 一级分光器为例,该第一级分光器1包括了1:2子分光器11和1:8子分光器14,那么此时每一级分光器的分光比例,包括每一级分光器内部子分光器的分光比例,继而通过分光比例可得到经过每一级分光器的衰减比例。至于公式1中光缆长度衰耗、活动连接器衰耗以及熔接点衰耗,由于同级分光器下的光缆长度、活动连接器数量和熔接点数量基本上相同;且光缆长度、活动连接器以及熔接点三者的衰耗值较小,不同级分光器下的用户侧设备的接收光功率的不同,主要还是因为分光器的衰减,所以可以根据获取网络中分光器的级数和分光器的分光比例得到的各级用户侧设备的接收光功率的设置标准。当然,本领域技术人员也可以通过进一步获知光缆长度、活动连接器数量和熔接点数量等数据中的任意一种或几种来进一步更精确地计算出每一级设置标准。其中,各个分光设备的分光比例可以是等比的,也可以是不等比的。以图1所示的四个分光设备中的第一级分光器1为例,如果该第一级分光器1的分光比例为70:30,则70%的光功率分给下一级分光器,30%的光功率分给该分光器下的用户侧设备。不同级的分光设备的分光比例可以相同,也可以不同。当是不等比时,比例可以是70:30,也可以是90:10。本领域技术人员可以根据实际网络部署需要设置。In an exemplary embodiment of the present application, when the first physical data of the target user-side device includes optical power, the setting standard includes the number of optical splitting devices in the network and the optical splitting ratio of each optical splitting device. The optical splitting ratio is used to determine each optical power. The optical power of the user-side equipment under the first-level optical splitting equipment is different, and the optical power of the user-side equipment under the different-level optical splitting equipment is different. If the first-stage optical splitter in Figure 1 is taken as an example, the first-stage optical splitter 1 includes a 1:2 sub-splitter 11 and a 1:8 sub-splitter 14, then the splitting ratio of each stage of the optical splitter is Including the splitting ratio of the sub-splitters inside each stage of the splitter, and then the attenuation ratio of each stage of the splitter can be obtained through the splitting ratio. As for the length loss of the optical cable, the loss of the movable connector and the loss of the splice point in formula 1, the length of the optical cable, the number of active connectors and the number of splice points under the same level of optical splitter are basically the same; and the length of the optical cable, the active connector and The attenuation value of the three fusion splices is small, and the received optical power of the user-side equipment under different levels of optical splitters is mainly due to the attenuation of the optical splitter, so it can be obtained according to the number of optical splitters in the network and the number of optical splitters. The standard for setting the received optical power of the user-side equipment at all levels obtained from the split ratio. Of course, those skilled in the art can also calculate the setting standards of each level more accurately by further obtaining any one or more of the length of the optical cable, the number of movable connectors, and the number of fusion points. Among them, the light splitting ratio of each light splitting device may be equal or unequal. Take the first-stage optical splitter 1 in the four optical splitter devices shown in Figure 1 as an example. If the first-stage optical splitter 1 has a light splitting ratio of 70:30, 70% of the optical power is distributed to the next-stage optical splitter , 30% of the optical power is allocated to the user-side equipment under the splitter. The light splitting ratios of different levels of light splitting devices can be the same or different. When the ratio is not equal, the ratio can be 70:30 or 90:10. Those skilled in the art can set it according to actual network deployment needs.
则步骤S233,包括:Then step S233 includes:
首先,将光功率的代表数据与网络中分光设备下用户侧设备的光功率进行匹配。First, match the representative data of the optical power with the optical power of the user-side device under the optical splitting device in the network.
匹配的标准可以是比较光功率的代表数据与网络中分光设备下用户侧设备的光功率是否等同。也可以是光功率的代表数据是否处于网络中分光设备下用户侧设备的光功率的标准浮动范围内。本领域技术人员可以根据使用需要自行设置标准浮动范围,在此不作限定。The matching criterion may be to compare whether the representative data of the optical power is equal to the optical power of the user-side device under the optical splitting device in the network. It can also be whether the representative data of the optical power is within the standard floating range of the optical power of the user-side device under the optical splitting device in the network. Those skilled in the art can set the standard floating range according to the needs of use, which is not limited here.
其次,当匹配成功时,将匹配出的分光设备下用户侧设备的光功率所对应的分光设备的级数,作为该光功率的代表数据对应的目标用户侧设备隶属的分光设备的等级。Secondly, when the matching is successful, the level of the spectroscopic device corresponding to the optical power of the user-side device under the matched spectroscopic device is used as the level of the spectroscopic device to which the target user-side device belongs to the representative data of the optical power.
以匹配的标准为光功率的代表数据处于网络中分光设备下用户侧设备的接收光功率的标准浮动范围为例,当一ONU接收光功率的代表数据A为-20dB,网络中分光器有两个等级,每一个等级下用户侧设备的接收光功率范围为[-14dB,16dB]和[-18dB,-20dB],对应[-18dB,-20dB]接收光功率范围的分光器为第二级分光器,对应[-14dB,-16dB]接收光功率范围的分光器为第一级分光器。经过匹配后,可知该接收光功率的代表数据A落在了[-18dB,-20dB]范围内。若[-18dB,-20dB]对应的分光器的级数为第二级,那么可以判定该接收光功率的代表数据为-20dB所在的数据组对应的分光器的等级为第二级。以此类推,可得到其他代表数据所在类别对应的分光器在网络中的级别。在确定等级时,可以将得到的光功率的代表数据进行排序,依次进行判断,也可以根据得到代表数据的先后顺序进行判断。Taking the matched standard as the representative data of optical power in the standard floating range of the received optical power of the user-side equipment under the optical splitting device in the network as an example, when the representative data A of the received optical power of an ONU is -20dB, there are two optical splitters in the network. In each level, the received optical power range of the user side equipment is [-14dB, 16dB] and [-18dB, -20dB], and the optical splitter corresponding to the [-18dB, -20dB] received optical power range is the second level Optical splitter, the optical splitter corresponding to [-14dB, -16dB] received optical power range is the first-stage optical splitter. After matching, it can be known that the representative data A of the received optical power falls within the range of [-18dB, -20dB]. If the level of the optical splitter corresponding to [-18dB, -20dB] is the second level, then it can be determined that the representative data of the received optical power is the level of the optical splitter corresponding to the data group where -20dB is located. By analogy, the level of the optical splitter in the network corresponding to the category of other representative data can be obtained. When determining the level, the obtained representative data of the optical power can be sorted and judged in turn, or judged according to the sequence of obtaining the representative data.
在本申请另一个示例性实施方式中,当目标用户侧设备的第一物理数据包括光距时,设置标准包括网络中分光设备级数以及用户侧设备在每一级分光设备下的目标侧设备的约束光距,不同级分光设备下的用户侧设备的约束光距不同。In another exemplary embodiment of the present application, when the first physical data of the target user-side equipment includes the optical distance, the setting standard includes the number of optical splitting equipment levels in the network and the target-side equipment of the user-side equipment under each level of optical splitting equipment The constrained optical distance of the user side equipment under different levels of optical splitting equipment is different.
则步骤S233,包括:Then step S233 includes:
首先,将光距的代表数据与每一级分光设备下的用户侧设备的约束光距进行匹配。First, the representative data of the optical distance is matched with the constrained optical distance of the user-side equipment under each level of optical splitting equipment.
光距匹配标准与上述功率匹配标准的设置原理相似,本领域技术人员可以根据上述功率匹配标准的设置原理进行光距匹配标准的设置,在此不再赘述。The optical distance matching standard is similar to the setting principle of the aforementioned power matching standard, and those skilled in the art can set the optical distance matching standard according to the setting principle of the aforementioned power matching standard, which will not be repeated here.
其次,当匹配成功时,将匹配出的用户侧设备的约束光距所对应分光设备的级数,作为光距的代表数据对应的目标用户侧设备隶属的分光设备的等级。Secondly, when the matching is successful, the level of the spectroscopic device corresponding to the constrained optical distance of the matched user-side device is used as the level of the spectroscopic device to which the target user-side device belongs to the representative data of the optical distance.
以图1为例,根据网络的光距约束条件(1)和(2)可确定OLT到各用户侧设备的距离。假设OLT到第一级分光器1的距离为a米,则可得第一级分光器下连接的用户侧设备到OLT的距离为[a,a+100]m,第二级分光器下连接的用户侧设备到OLT的距离为[a+200,a+300]m,第三级分光器下连接的用户侧设备到OLT的距离为[a+400,a+500]m,第四级分光器下连接的用户侧设备到OLT的距离为[a+600,a+700]m。当一光距代表数据B为(220+a)m时,可以判定该代表数据B所在的数据类别对应的分光器等级为第二级。Taking Figure 1 as an example, the distance from the OLT to each user-side device can be determined according to the optical distance constraints (1) and (2) of the network. Assuming that the distance from the OLT to the first-stage optical splitter 1 is a meter, the distance between the user-side equipment connected under the first-stage optical splitter and the OLT is [a,a+100]m, and the second-stage optical splitter is connected The distance from the user-side equipment to the OLT is [a+200,a+300]m, and the distance from the user-side equipment connected to the third-level optical splitter to the OLT is [a+400,a+500]m, the fourth level The distance between the user-side equipment connected under the splitter and the OLT is [a+600, a+700]m. When the representative data B of a light distance is (220+a)m, it can be determined that the splitter level corresponding to the data category of the representative data B is the second level.
上述根据接收光功率和光距确定不同类别间的目标用户侧设备隶属的分光器等级的过程中,可以择一选用其中任意一种判定方式,也可以同时选用两种判定方式。当同时选用两种判定方式进行判定时,提高了判定结果的准确性。根据两个判定结果来确定不同类别间的目标用户侧设备隶属的分光器等级时,可以设置判定标准的优先级,根据优先级顺序依次判断。本申请实施例记载的方案对此不作限定。In the above process of determining the optical splitter level to which the target user-side equipment of different categories belongs based on the received optical power and optical distance, either one of the determination methods can be selected, or both of the determination methods can be selected at the same time. When two judgment methods are selected for judgment at the same time, the accuracy of the judgment result is improved. When determining the level of the spectroscope to which the target user-side equipment of different categories belongs based on the two determination results, the priority of the determination criterion can be set, and the priority is determined in sequence. The solution described in the embodiment of the present application does not limit this.
S24,根据目标用户侧设备隶属的分光设备等级,得到网络拓扑信息。S24: Obtain network topology information according to the level of the optical splitting device to which the target user-side device belongs.
通过获取网络中在不同级分光设备下不等同的目标用户侧设备的第一物理数据,对得到的同一数据类型的第一物理数据进行聚类分析,得到数据组,将同一数据组的第一物理数据对应的目标用户侧设备作为同一级分光设备下的用户侧设备,以此将目标用户侧设备划分在不同级的分光设备下。之后,对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,确定目标用户侧设备隶属的分光设备的级别。通过得到的目标用户侧设备隶属的分光设备的级别,可以得到用户侧设备在网络中的拓扑信息,继而利用该网络拓扑信息可以辅助定位用户侧设备在网络中的拓扑结构关系,解决了网络拓扑信息需要依靠人工管理,维护难度大、成本高、效率低以及可能出现拓扑信息不准确的问题。By obtaining the first physical data of the target user-side equipment that is not equivalent under different levels of optical splitting equipment in the network, clustering analysis of the obtained first physical data of the same data type is performed to obtain a data group, and the first physical data of the same data group The target user-side device corresponding to the physical data is used as the user-side device under the same level of optical splitting equipment, thereby dividing the target user-side device under different levels of optical splitting equipment. Afterwards, the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs is classified to determine the level of the spectroscopic equipment to which the target user-side equipment belongs. By obtaining the level of the optical splitter device to which the target user-side device belongs, the topology information of the user-side device in the network can be obtained, and then the network topology information can be used to assist in locating the topology structure relationship of the user-side device in the network, and solve the network topology Information needs to rely on manual management, which is difficult to maintain, costly, low in efficiency, and inaccurate topology information may occur.
作为本申请一个可选实施方式,如图7所示,步骤S21之前,还包括:获取表征用户侧设备稳定性的第二物理数据;将第二物理数据满足目标阈值的用户侧设备作为目标用户侧设备。例如,如图7所示,步骤S21之前还包括:As an optional implementation manner of the present application, as shown in FIG. 7, before step S21, the method further includes: acquiring second physical data that characterizes the stability of the user-side device; taking the user-side device whose second physical data meets the target threshold as the target user Side equipment. For example, as shown in Fig. 7, before step S21, it further includes:
S211,获取表征用户侧设备稳定性的第二物理数据。S211: Acquire second physical data that characterizes the stability of the user-side device.
其中,表征用户侧设备稳定性的第二物理数据可以包括:光功率、光距以及其他本领域技术人员可知的、能表征用户侧设备稳定性的物理数据。在本申请一个示例性实施方式中以用户侧设备的接收光功率为例。The second physical data that characterizes the stability of the user-side device may include: optical power, optical distance, and other physical data known to those skilled in the art that can characterize the stability of the user-side device. In an exemplary embodiment of the present application, the received optical power of the user-side device is taken as an example.
S212,确定该第二物理数据是否满足目标阈值,当第二物理数据满足目标阈值时,执行步骤S213;当表征用户侧设备稳定性的物理数据不满足目标阈值时,执行步骤S211。S212. Determine whether the second physical data meets the target threshold. When the second physical data meets the target threshold, step S213 is executed; when the physical data characterizing the stability of the user-side device does not meet the target threshold, step S211 is executed.
示例性地,用于计算数据稳定性的方法包括置信区间算法、ADF单位根检验算法或者是四分位距算法,本领域技术人员也可以根据实际使用需要选用其他可计算数据稳定性的方法,本申请实施例对此不作限定。本申请实施例以置信区间算法为例来计算接收光功率的稳定性,接收光功率数据用(时间,光功率值)的格式表示时间序列,如(2018-01-01-00:00:00,-20dB)表示在2018年01月06日00点00分00秒采集的接收光功率为-20dB。计算采集窗口内接收光功率的均值(mean)与标准差(std)。其中,不同大小的采集窗口包含的采集点的数量不同,采集窗口的大小可以根据实际采集需求或经验来确定。例如当采集窗口内采集点的数量为50个时,此时可以是50个采集点的数据均采集完成后再进行分析,当每个采集点的采集时间为15分钟,也就是用750分钟内采集到的用户侧设备的数据来判断用户侧设备的稳定性。结合置信度(confidence)得出置信上界(UCL)与置信下界(LCL),如取99%置信度对应的confidence 为2.58,计算公式如下:Exemplarily, the method for calculating data stability includes the confidence interval algorithm, the ADF unit root test algorithm or the interquartile range algorithm. Those skilled in the art can also choose other methods that can calculate data stability according to actual needs. The embodiments of this application do not limit this. The embodiment of this application uses the confidence interval algorithm as an example to calculate the stability of the received optical power. The received optical power data uses the format of (time, optical power value) to represent the time sequence, such as (2018-01-01-00:00:00 , -20dB) means that the received optical power collected at 00: 00: 00 on January 6, 2018 is -20 dB. Calculate the mean (mean) and standard deviation (std) of the received optical power in the acquisition window. Among them, collection windows of different sizes contain different numbers of collection points, and the size of the collection window can be determined according to actual collection requirements or experience. For example, when the number of collection points in the collection window is 50, it can be that the data of 50 collection points are collected and then analyzed. When the collection time of each collection point is 15 minutes, that is, within 750 minutes The collected data of the user-side equipment is used to determine the stability of the user-side equipment. Combining the confidence (confidence) to obtain the upper confidence bound (UCL) and the lower confidence bound (LCL), if the confidence corresponding to 99% confidence is 2.58, the calculation formula is as follows:
Figure PCTCN2020070944-appb-000001
Figure PCTCN2020070944-appb-000001
式(5)中,mean为接收光功率均值;n为目标时间段内接收到的光功率的数量;xi为接收光功率。In formula (5), mean is the average value of received optical power; n is the number of received optical power within the target time period; xi is the received optical power.
Figure PCTCN2020070944-appb-000002
Figure PCTCN2020070944-appb-000002
式(6)中,std为接收光功率标准差;n为目标时间段内接收到的光功率的数量;xi为接收光功率;mean为式(1)得到的接收光功率均值。In formula (6), std is the standard deviation of the received optical power; n is the number of received optical powers within the target time period; xi is the received optical power; mean is the average received optical power obtained by formula (1).
UCL=mean+confidence*std      (7)UCL=mean+confidence*std (7)
式(7)中,UCL为置信上界;mean为式(5)得到的接收光功率均值;confidence为置信度;std为式(6)得到的接收光功率标准差。In formula (7), UCL is the upper bound of confidence; mean is the average received optical power obtained by formula (5); confidence is the degree of confidence; std is the standard deviation of received optical power obtained by formula (6).
LCL=mean-confidence*std      (8)LCL=mean-confidence*std (8)
式(8)中,LCL为置信下界;mean为式(5)得到的接收光功率均值;confidence为置信度;std为式(6)得到的接收光功率标准差。In equation (8), LCL is the lower bound of confidence; mean is the average value of received optical power obtained by equation (5); confidence is the degree of confidence; std is the standard deviation of received optical power obtained by equation (6).
根据得到的UCL和LCL来判断目标时间内接收光功率是否在置信区间内,当该目标时间内的接收光功率均在置信区间内时,表明此时对应的用户侧设备为满足静态平稳条件的用户侧设备,参见图8。According to the obtained UCL and LCL, determine whether the received optical power within the target time is within the confidence interval. When the received optical power within the target time is within the confidence interval, it indicates that the corresponding user-side equipment at this time meets the static and stable condition User side equipment, see Figure 8.
S213,将第二物理数据满足目标阈值的用户侧设备作为目标用户侧设备。S213: Use the user-side device whose second physical data meets the target threshold as the target user-side device.
通过将满足目标阈值的用户侧设备作为目标用户侧设备,来获取目标用户侧设备的第一物理数据,以进行后续目标用户侧设备隶属的分光器等级的划分。The first physical data of the target user-side device is acquired by taking the user-side device that meets the target threshold as the target user-side device, so as to perform subsequent division of the optical splitter level to which the target user-side device belongs.
S21,获取网络中目标用户侧设备的第一物理数据。S21: Acquire first physical data of the target user-side device in the network.
实现过程与前述此步骤S21相同,在此不再赘述。The implementation process is the same as the foregoing step S21, and will not be repeated here.
S22,对目标用户侧设备的第一物理数据进行聚类分析,得到数据组,同一数据组的第一物理数据对应的目标用户侧设备为同一级分光设备下的用户侧设备。S22: Perform cluster analysis on the first physical data of the target user-side device to obtain a data group, and the target user-side device corresponding to the first physical data of the same data group is the user-side device under the same level of spectroscopic device.
实现过程与前述此步骤相同,在此不再赘述。The implementation process is the same as the previous step, and will not be repeated here.
S23,对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,得到目标用户侧设备隶属的分光设备的等级。S23: Classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs to obtain the level of the spectroscopic equipment to which the target user-side equipment belongs.
实现过程与前述此步骤相同,在此不再赘述。The implementation process is the same as the previous step, and will not be repeated here.
S24,根据目标用户侧设备隶属的分光设备等级,得到网络拓扑信息。S24: Obtain network topology information according to the level of the optical splitting device to which the target user-side device belongs.
实现过程与前述此步骤相同,在此不再赘述。The implementation process is the same as the previous step, and will not be repeated here.
通过对选用网络中稳定的目标用户侧设备的物理数据作为后续分光设备等级判定的理论数据,提高了分光设备等级判别的准确度,如图9所示。By selecting the stable physical data of the target user-side equipment in the network as the theoretical data for the subsequent grade determination of the spectroscopic equipment, the accuracy of the grade determination of the spectroscopic equipment is improved, as shown in Figure 9.
作为本申请一个可选实施方式,如图10所示,步骤S24还包括:As an optional implementation manner of the present application, as shown in FIG. 10, step S24 further includes:
S25,获取目标用户侧设备的标识信息。S25: Obtain identification information of the target user-side device.
其中,目标用户侧设备的标识信息用于表明用户侧设备的身份,其在网络设置初始时设 定,并在网络拓扑关系变化过程中,始终代表固定的用户侧设备,每一个用户侧设备对应一个标识信息。本申请实施例不对该标识信息的类别进行限定,只要可被分析设备读取即可。作为本申请一个示例性的实施方式,目标用户侧设备的标识信息包括用户侧设备在网络中的端口信息,该端口信息可以通过端口信息通讯协议获取得到。例如在PON网络中,OLT设备的PON端口信息,可以通过PPPoE通讯协议来实时获取。Among them, the identification information of the target user-side device is used to indicate the identity of the user-side device. It is set at the initial network setting and always represents a fixed user-side device during the change of the network topology. Each user-side device corresponds to An identification information. The embodiment of the application does not limit the category of the identification information, as long as it can be read by the analysis device. As an exemplary implementation of the present application, the identification information of the target user-side device includes port information of the user-side device in the network, and the port information can be obtained through a port information communication protocol. For example, in a PON network, the PON port information of the OLT device can be obtained in real time through the PPPoE communication protocol.
S26,根据目标用户侧设备的标识信息和目标用户侧设备隶属的分光设备的等级,确定网络拓扑信息。S26: Determine network topology information according to the identification information of the target user-side device and the level of the optical splitting device to which the target user-side device belongs.
通过用户侧设备的标识信息和用户侧设备隶属的分光设备的等级,进一步提高得到的网络拓扑信息的全面性和多样性。Through the identification information of the user-side device and the level of the optical splitting device to which the user-side device belongs, the comprehensiveness and diversity of the obtained network topology information are further improved.
在上述实施例中,主要以单链组网模式进行说明,但本申请技术方案并不限制于单链组网模式,在双链或多链的组网模式时,需要配合其他器件和方法先区分出各单链。例如当网络的组网模式为双链时,先通过配合其他器件和方法区分出各单链后,再根据上述实施例记载的方法得到网络中各单链下挂的ONU以及该ONU所隶属的分光设备的等级。In the above embodiments, the description is mainly based on the single-chain networking mode, but the technical solution of this application is not limited to the single-chain networking mode. In the double-chain or multi-chain networking mode, other devices and methods need to be coordinated first. Distinguish each single strand. For example, when the networking mode of the network is double-stranded, after first distinguishing the single strands by cooperating with other devices and methods, according to the method recorded in the above embodiment, the ONUs attached to each single strand in the network and the ONUs to which the ONU belongs are obtained. The grade of the spectroscopic equipment.
基于相同构思,如图11所示,本申请实施例还提供了一种网络拓扑信息的获取装置,该装置包括:Based on the same concept, as shown in FIG. 11, an embodiment of the present application also provides a device for acquiring network topology information, which includes:
获取模块1101,用于获取网络中目标用户侧设备的第一物理数据,同一级分光设备下的目标用户侧设备的第一物理数据处于同一目标数值范围内;The obtaining module 1101 is configured to obtain the first physical data of the target user-side device in the network, and the first physical data of the target user-side device under the same level of optical splitting device is within the same target value range;
聚类模块1102,用于对目标用户侧设备的第一物理数据进行聚类分析,得到一个或多个数据组,同一数据组的第一物理数据对应的目标用户侧设备为同一级分光设备下的用户侧设备;The clustering module 1102 is used to perform cluster analysis on the first physical data of the target user-side device to obtain one or more data groups, and the target user-side device corresponding to the first physical data of the same data group is under the same level of spectroscopic equipment User-side equipment;
等级划分模块1103,用于对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,得到目标用户侧设备隶属的分光设备的等级;The class division module 1103 is used to classify the spectroscopic devices to which the target user-side device belongs under different levels of spectroscopic devices, to obtain the class of the spectroscopic device to which the target user-side device belongs;
确定模块1104,用于根据目标用户侧设备隶属的分光设备的等级,确定网络拓扑信息。The determining module 1104 is configured to determine the network topology information according to the level of the optical splitting device to which the target user side device belongs.
本申请实施例提供的网络拓扑信息的获取装置,通过获取网络中在不同级分光设备下不等同的目标用户侧设备的第一物理数据,对得到的同一数据类型的第一物理数据进行聚类分析,得到数据组,将同一数据组的物理数据对应的目标用户侧设备作为同一级分光设备下的用户侧设备,以此将用户侧设备划分在不同级的分光设备下。之后,对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,确定目标用户侧设备隶属的分光设备的级别,通过得到的目标用户侧设备隶属的分光设备的级别,可以得到目标用户侧设备在网络中的拓扑信息,继而利用该网络拓扑信息可以辅助定位用户侧设备在网络中的拓扑结构关系,解决了网络拓扑信息需要依靠人工管理,维护难度大、成本高、效率低以及可能出现拓扑信息不准确的问题。The apparatus for acquiring network topology information provided by the embodiment of the present application clusters the obtained first physical data of the same data type by acquiring the first physical data of the target user-side equipment that is not equivalent under different levels of optical splitting equipment in the network. Analyze and obtain the data group, and regard the target user-side device corresponding to the physical data of the same data group as the user-side device under the same level of optical splitting equipment, so as to divide the user-side equipment under different levels of optical splitting equipment. After that, classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs to determine the level of the spectroscopic equipment to which the target user-side equipment belongs, and obtain the target by obtaining the level of the spectroscopic equipment to which the target user-side equipment belongs. The topology information of the user-side equipment in the network can then be used to assist in locating the topological structure relationship of the user-side equipment in the network, which solves the need for manual management of the network topology information, which is difficult to maintain, costly, and low in efficiency. Inaccurate topology information may occur.
作为本申请一个可选实施方式,确定模块1104,用于获取目标用户侧设备的标识信息;根据目标用户侧设备的标识信息和目标用户侧设备隶属的分光设备的等级,确定网络拓扑信息。As an optional implementation of the present application, the determining module 1104 is configured to obtain identification information of the target user-side device; determine network topology information according to the identification information of the target user-side device and the level of the optical splitting device to which the target user-side device belongs.
作为本申请一个可选实施方式,获取模块1101,还用于获取表征用户侧设备稳定性的第二物理数据;将第二物理数据满足目标阈值的用户侧设备作为目标用户侧设备。As an optional implementation manner of the present application, the acquiring module 1101 is further configured to acquire second physical data that characterizes the stability of the user-side device; the user-side device whose second physical data meets the target threshold is used as the target user-side device.
作为本申请一个可选实施方式,等级划分模块1103,包括:As an optional implementation manner of this application, the classification module 1103 includes:
获取单元,用于获取每一个数据组内的目标用户侧设备的第一物理数据的代表数据;The obtaining unit is configured to obtain representative data of the first physical data of the target user-side device in each data group;
确定单元,用于根据代表数据及代表数据对应的设置标准,确定不同级分光设备下的目标用户侧设备隶属的分光设备的等级。The determining unit is used to determine the level of the spectroscopic device to which the target user-side equipment under different levels of spectroscopic devices belongs according to the representative data and the setting standards corresponding to the representative data.
作为本申请一个可选实施方式,第一物理数据和第二物理数据包括:光功率和/或光距。As an optional implementation manner of the present application, the first physical data and the second physical data include: optical power and/or optical distance.
作为本申请一个可选实施方式,当目标用户侧设备的第一物理数据包括光功率时,设置标准包括网络中分光设备级数以及每一级分光设备的分光比例,分光比例用于确定每一级分光设备下用户侧设备的光功率,不同级分光设备下用户侧设备的光功率不同;As an optional implementation manner of this application, when the first physical data of the target user-side device includes optical power, the setting standard includes the number of optical splitting devices in the network and the optical splitting ratio of each optical splitting device. The optical splitting ratio is used to determine each optical power. The optical power of the user-side equipment under the graded optical equipment, and the optical power of the user-side equipment under different grades of optical equipment is different;
确定单元,用于将光功率的代表数据与网络中分光设备下用户侧设备的光功率进行匹配;当匹配成功时,将匹配出的分光设备下用户侧设备的光功率所对应的分光设备的级数,作为光功率的代表数据对应的目标用户侧设备隶属的分光设备的等级。The determining unit is used to match the representative data of the optical power with the optical power of the user-side device under the optical splitting device in the network; when the matching is successful, match the optical power of the optical power splitting device corresponding to the optical power of the user-side device under the optical splitting device. The level is the level of the spectroscopic device to which the target user-side device belongs as the representative data of the optical power.
作为本申请一个可选实施方式,当目标用户侧设备的第一物理数据包括光距时,设置标准包括网络中分光设备级数以及每一级分光设备下的用户侧设备的约束光距,不同级分光设备下的用户侧设备的约束光距不同;As an optional implementation manner of the present application, when the first physical data of the target user-side device includes the optical distance, the setting standard includes the number of optical splitting devices in the network and the constrained optical distance of the user-side devices under each optical splitting device. The constrained optical distances of the user-side equipment under the graded optical equipment are different;
确定单元,用于将光距的代表数据与每一级分光设备下的用户侧设备的约束光距进行匹配;当匹配成功时,将匹配出的用户侧设备的约束光距所对应分光设备的级数,作为光距的代表数据对应的目标用户侧设备隶属的分光设备的等级。The determining unit is used to match the representative data of the optical distance with the constrained optical distance of the user-side equipment under each level of spectroscopic equipment; when the matching is successful, the matched constrained optical distance of the user-side equipment corresponds to the optical distance of the spectroscopic equipment The level is the level of the spectroscopic device to which the target user-side device belongs as the representative data of the optical distance.
作为本申请一个可选实施方式,目标用户侧设备的标识信息包括目标用户侧设备在网络中的端口信息;As an optional implementation manner of the present application, the identification information of the target user-side device includes port information of the target user-side device in the network;
确定模块1104,用于通过端口信息通讯协议,获取目标用户侧设备在网络中的端口信息。The determining module 1104 is used to obtain the port information of the target user side device in the network through the port information communication protocol.
应理解的是,上述图11提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be understood that, when the device provided in FIG. 11 realizes its functions, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be allocated by different functional modules as required, that is, equipment The internal structure is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above-mentioned embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
基于相同构思,本申请实施例还提供一种网络拓扑信息的获取设备,如图12所示,所述设备包括:Based on the same concept, an embodiment of the present application also provides a device for acquiring network topology information. As shown in FIG. 12, the device includes:
存储器1203及处理器1202,处理器1202与存储器1203通过通信总线1201连接,所述存储器1203中存储有至少一条指令,所述至少一条指令由所述处理器1202加载并执行,以实现上述实施例所述的网络拓扑信息获取方法。The memory 1203 and the processor 1202. The processor 1202 and the memory 1203 are connected by a communication bus 1201. The memory 1203 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 1202 to implement the above-mentioned embodiments. The described method for acquiring network topology information.
应理解的是,上述处理器可以是中央处理器(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processing,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者是任何常规的处理器等。值得说明的是,处理器可以是支持进阶精简指令集机器(advanced RISC machines,ARM)架构的处理器。It should be understood that the foregoing processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processing (digital signal processing, DSP), and application specific integrated circuits. ASIC), field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. It is worth noting that the processor may be a processor that supports an advanced reduced instruction set machine (advanced RISC machines, ARM) architecture.
进一步地,在一种可选的实施例中,上述存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。Further, in an optional embodiment, the foregoing memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. The memory may also include non-volatile random access memory. For example, the memory can also store device type information.
该存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两 者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用。例如,静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic random access memory,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data date SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。The memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electronic Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not limiting illustration, many forms of RAM are available. For example, static random access memory (static RAM, SRAM), dynamic random access memory (dynamic random access memory, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access Memory (double data date SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus) RAM, DR RAM).
本申请提供了一种计算机程序,当计算机程序被计算机执行时,可以使得处理器或计算机执行上述方法实施例中对应的各个步骤和/或流程。This application provides a computer program. When the computer program is executed by a computer, it can cause a processor or computer to execute the corresponding steps and/or processes in the foregoing method embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in this application are 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, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk).
以上所述仅为本申请的实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only examples of this application and are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of this application shall be included in the scope of protection of this application. Inside.

Claims (18)

  1. 一种网络拓扑信息的获取方法,其特征在于,所述方法包括:A method for acquiring network topology information, characterized in that the method includes:
    获取网络中目标用户侧设备的第一物理数据,同一级分光设备下的目标用户侧设备的第一物理数据处于同一目标数值范围内;Acquiring the first physical data of the target user-side device in the network, and the first physical data of the target user-side device under the same level of optical splitting device is within the same target value range;
    对所述目标用户侧设备的第一物理数据进行聚类分析,得到一个或多个数据组,同一数据组的第一物理数据对应的目标用户侧设备为同一级分光设备下的用户侧设备;Performing cluster analysis on the first physical data of the target user-side device to obtain one or more data groups, and the target user-side device corresponding to the first physical data of the same data group is the user-side device under the same level of optical splitting device;
    对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,得到所述目标用户侧设备隶属的分光设备的等级;Classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs to obtain the level of the spectroscopic equipment to which the target user-side equipment belongs;
    根据所述目标用户侧设备隶属的分光设备的等级,确定网络拓扑信息。Determine the network topology information according to the level of the optical splitting device to which the target user-side device belongs.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述目标用户侧设备隶属的分光设备的等级,确定网络拓扑信息,包括:The method according to claim 1, wherein the determining the network topology information according to the level of the optical splitting device to which the target user-side device belongs includes:
    获取目标用户侧设备的标识信息;Obtain identification information of the target user side device;
    根据所述目标用户侧设备的标识信息和所述目标用户侧设备隶属的分光设备的等级,确定所述网络拓扑信息。The network topology information is determined according to the identification information of the target user-side device and the level of the optical splitting device to which the target user-side device belongs.
  3. 根据权利要求1或2所述的方法,其特征在于,所述获取网络中目标用户侧设备的第一物理数据之前,还包括:The method according to claim 1 or 2, characterized in that before said obtaining the first physical data of the target user side device in the network, the method further comprises:
    获取表征用户侧设备稳定性的第二物理数据;Acquiring second physical data that characterizes the stability of the user-side device;
    将第二物理数据满足目标阈值的用户侧设备作为目标用户侧设备。The user-side device whose second physical data meets the target threshold is taken as the target user-side device.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,得到所述目标用户侧设备隶属的分光设备的等级,包括:The method according to any one of claims 1 to 3, wherein the spectroscopy equipment to which the target user-side equipment under different levels of spectroscopy equipment belongs is classified to obtain the spectroscopy equipment to which the target user-side equipment belongs The level of equipment, including:
    获取每一个数据组内的目标用户侧设备的第一物理数据的代表数据;Acquiring representative data of the first physical data of the target user-side device in each data group;
    根据所述代表数据及所述代表数据对应的设置标准,确定不同级分光设备下的目标用户侧设备隶属的分光设备的等级。According to the representative data and the setting standards corresponding to the representative data, the level of the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs is determined.
  5. 根据权利要求4所述的方法,其特征在于,所述第一物理数据和所述第二物理数据包括:光功率和/或光距。The method according to claim 4, wherein the first physical data and the second physical data comprise: optical power and/or optical distance.
  6. 根据权利要求5所述的方法,其特征在于,当所述目标用户侧设备的第一物理数据包括光功率时,所述设置标准包括网络中分光设备级数以及每一级分光设备的分光比例,所述分光比例用于确定每一级分光设备下用户侧设备的光功率,不同级分光设备下用户侧设备的光功率不同;The method according to claim 5, wherein when the first physical data of the target user-side device includes optical power, the setting standard includes the number of levels of optical splitting equipment in the network and the optical splitting ratio of each level of optical splitting equipment , The optical splitting ratio is used to determine the optical power of the user-side equipment under each level of optical splitting equipment, and the optical power of the user-side equipment under different levels of optical splitting equipment is different;
    所述根据所述代表数据及所述代表数据对应的设置标准,确定不同级分光设备下的目标用户侧设备隶属的分光设备的等级,包括:The determining, according to the representative data and the setting standards corresponding to the representative data, the levels of the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs includes:
    将所述光功率的代表数据与网络中分光设备下用户侧设备的光功率进行匹配;Matching the representative data of the optical power with the optical power of the user-side device under the optical splitting device in the network;
    当匹配成功时,将匹配出的分光设备下用户侧设备的光功率所对应的分光设备的级数,作为所述光功率的代表数据对应的目标用户侧设备隶属的分光设备的等级。When the matching is successful, the level of the spectroscopic device corresponding to the optical power of the user-side device under the matched spectroscopic device is used as the level of the spectroscopic device to which the target user-side device belongs to the representative data of the optical power.
  7. 根据权利要求5所述的方法,其特征在于,当所述目标用户侧设备的第一物理数据包括光距时,所述设置标准包括网络中分光设备级数以及每一级分光设备下的用户侧设备的约束光距,不同级分光设备下的用户侧设备的约束光距不同;The method according to claim 5, wherein when the first physical data of the target user-side device includes optical distance, the setting standard includes the number of optical splitting devices in the network and the users of each optical splitting device The constrained optical distance of the side equipment, and the constrained optical distance of the user-side equipment under different levels of optical splitting equipment is different;
    所述根据所述代表数据及所述代表数据对应的设置标准,确定不同级分光设备下的目标用户侧设备隶属的分光设备的等级,包括:The determining, according to the representative data and the setting standards corresponding to the representative data, the levels of the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs includes:
    将所述光距的代表数据与每一级分光设备下的用户侧设备的约束光距进行匹配;Matching the representative data of the optical distance with the constrained optical distance of the user-side equipment under each level of optical splitting equipment;
    当匹配成功时,将匹配出的用户侧设备的约束光距所对应分光设备的级数,作为所述光距的代表数据对应的目标用户侧设备隶属的分光设备的等级。When the matching is successful, the matched level of the spectroscopic device corresponding to the constrained optical distance of the user-side device is used as the level of the spectroscopic device to which the target user-side device belongs corresponding to the representative data of the optical distance.
  8. 根据权利要求2-7任一所述的方法,其特征在于,所述目标用户侧设备的标识信息包括目标用户侧设备在网络中的端口信息;The method according to any one of claims 2-7, wherein the identification information of the target user-side device includes port information of the target user-side device in the network;
    所述获取目标用户侧设备的标识信息,包括:The obtaining identification information of the target user side device includes:
    通过端口信息通讯协议,获取所述目标用户侧设备在网络中的端口信息。Obtain the port information of the target user-side equipment in the network through the port information communication protocol.
  9. 一种网络拓扑信息的获取装置,其特征在于,所述装置包括:A device for acquiring network topology information, characterized in that the device comprises:
    获取模块,用于获取网络中目标用户侧设备的第一物理数据,同一级分光设备下的目标用户侧设备的第一物理数据处于同一目标数值范围内;An obtaining module, configured to obtain the first physical data of the target user-side device in the network, and the first physical data of the target user-side device under the same level of optical splitting device is within the same target value range;
    聚类模块,用于对所述目标用户侧设备的第一物理数据进行聚类分析,得到一个或多个数据组,同一数据组的第一物理数据对应的目标用户侧设备为同一级分光设备下的用户侧设备;The clustering module is used to perform cluster analysis on the first physical data of the target user-side device to obtain one or more data groups, and the target user-side device corresponding to the first physical data of the same data group is the same-level spectroscopic device User-side equipment under;
    等级划分模块,用于对不同级分光设备下的目标用户侧设备隶属的分光设备进行等级划分,得到所述目标用户侧设备隶属的分光设备的等级;The class division module is used to classify the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs to obtain the class of the spectroscopic equipment to which the target user-side equipment belongs;
    确定模块,用于根据所述目标用户侧设备隶属的分光设备的等级,确定网络拓扑信息。The determining module is used to determine the network topology information according to the level of the optical splitting device to which the target user side device belongs.
  10. 根据权利要求9所述的装置,其特征在于,所述确定模块,用于获取目标用户侧设备的标识信息;根据所述目标用户侧设备的标识信息和所述目标用户侧设备隶属的分光设备的等级,确定所述网络拓扑信息。The apparatus according to claim 9, wherein the determining module is configured to obtain identification information of the target user-side device; according to the identification information of the target user-side device and the spectroscopic device to which the target user-side device belongs , Determine the network topology information.
  11. 根据权利要求9或10所述的装置,其特征在于,所述获取模块,还用于获取表征用户侧设备稳定性的第二物理数据;将第二物理数据满足目标阈值的用户侧设备作为目标用户侧设备。The apparatus according to claim 9 or 10, wherein the acquisition module is further configured to acquire second physical data that characterizes the stability of the user-side device; and the user-side device whose second physical data meets the target threshold is taken as the target User-side equipment.
  12. 根据权利要求9-11中任一项所述的装置,其特征在于,所述等级划分模块,包括:The device according to any one of claims 9-11, wherein the level division module comprises:
    获取单元,用于获取每一个数据组内的目标用户侧设备的第一物理数据的代表数据;The obtaining unit is configured to obtain representative data of the first physical data of the target user-side device in each data group;
    确定单元,用于根据所述代表数据及所述代表数据对应的设置标准,确定不同级分光设 备下的目标用户侧设备隶属的分光设备的等级。The determining unit is configured to determine the level of the spectroscopic equipment to which the target user-side equipment under different levels of spectroscopic equipment belongs according to the representative data and the setting standards corresponding to the representative data.
  13. 根据权利要求12所述的装置,其特征在于,所述第一物理数据和所述第二物理数据包括:光功率和/或光距。The apparatus according to claim 12, wherein the first physical data and the second physical data comprise: optical power and/or optical distance.
  14. 根据权利要求13所述的装置,其特征在于,当所述目标用户侧设备的第一物理数据包括光功率时,所述设置标准包括网络中分光设备级数以及每一级分光设备的分光比例,所述分光比例用于确定每一级分光设备下用户侧设备的光功率,不同级分光设备下用户侧设备的光功率不同;The apparatus according to claim 13, wherein when the first physical data of the target user-side device includes optical power, the setting standard includes the number of optical splitting equipment levels in the network and the optical splitting ratio of each level of optical splitting equipment , The optical splitting ratio is used to determine the optical power of the user-side equipment under each level of optical splitting equipment, and the optical power of the user-side equipment under different levels of optical splitting equipment is different;
    所述确定单元,用于将所述光功率的代表数据与网络中分光设备下用户侧设备的光功率进行匹配;当匹配成功时,将匹配出的分光设备下用户侧设备的光功率所对应的分光设备的级数,作为所述光功率的代表数据对应的目标用户侧设备隶属的分光设备的等级。The determining unit is configured to match the representative data of the optical power with the optical power of the user-side device under the optical splitting device in the network; when the matching is successful, the matched optical power of the user-side device under the optical splitting device corresponds to The level of the spectroscopic device is used as the level of the spectroscopic device to which the target user-side device belongs to the representative data of the optical power.
  15. 根据权利要求13所述的装置,其特征在于,当所述目标用户侧设备的第一物理数据包括光距时,所述设置标准包括网络中分光设备级数以及每一级分光设备下的用户侧设备的约束光距,不同级分光设备下的用户侧设备的约束光距不同;The apparatus according to claim 13, wherein when the first physical data of the target user-side equipment includes the optical distance, the setting standard includes the number of optical splitting equipment levels in the network and the user under each level of optical splitting equipment The constrained optical distance of the side equipment, and the constrained optical distance of the user-side equipment under different levels of optical splitting equipment is different;
    所述确定单元,用于将所述光距的代表数据与每一级分光设备下的用户侧设备的约束光距进行匹配;当匹配成功时,将匹配出的用户侧设备的约束光距所对应分光设备的级数,作为所述光距的代表数据对应的目标用户侧设备隶属的分光设备的等级。The determining unit is configured to match the representative data of the optical distance with the constrained optical distance of the user-side equipment under each level of spectroscopic equipment; when the matching is successful, the matched constrained optical distance of the user-side equipment The level of the corresponding spectroscopic device is used as the level of the spectroscopic device to which the target user-side device belongs to the representative data of the optical distance.
  16. 根据权利要求10-15任一所述的装置,其特征在于,所述目标用户侧设备的标识信息包括目标用户侧设备在网络中的端口信息;The apparatus according to any one of claims 10-15, wherein the identification information of the target user-side equipment includes port information of the target user-side equipment in the network;
    所述确定模块,用于通过端口信息通讯协议,获取所述目标用户侧设备在网络中的端口信息。The determining module is configured to obtain port information of the target user-side equipment in the network through a port information communication protocol.
  17. 一种网络拓扑信息的获取设备,其特征在于,所述设备包括:A device for acquiring network topology information, characterized in that the device includes:
    存储器及处理器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行,以实现权利要求1-8中任一所述的网络拓扑信息的获取方法。A memory and a processor, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the method for acquiring network topology information according to any one of claims 1-8.
  18. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如权利要求1-8中任一所述的网络拓扑信息的获取方法。A computer-readable storage medium, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to realize the network topology information according to any one of claims 1-8. Obtaining method.
PCT/CN2020/070944 2019-04-17 2020-01-08 Network topology information acquisition method, apparatus, device, and storage medium WO2020211482A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910309936.5 2019-04-17
CN201910309936.5A CN111836134B (en) 2019-04-17 2019-04-17 Method, device, equipment and storage medium for acquiring network topology information

Publications (1)

Publication Number Publication Date
WO2020211482A1 true WO2020211482A1 (en) 2020-10-22

Family

ID=72836829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/070944 WO2020211482A1 (en) 2019-04-17 2020-01-08 Network topology information acquisition method, apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN111836134B (en)
WO (1) WO2020211482A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468700A (en) * 2021-07-08 2021-10-01 安天科技集团股份有限公司 Topology information identification method and device, computing equipment and storage medium
CN113891191A (en) * 2021-09-24 2022-01-04 中移(杭州)信息技术有限公司 Optical path topology restoration method, device, equipment and computer readable storage medium
CN114584472A (en) * 2020-11-30 2022-06-03 中移(苏州)软件技术有限公司 Method, device, electronic equipment and medium for determining connectivity of optical splitter
CN116137594A (en) * 2021-11-18 2023-05-19 中国移动通信集团重庆有限公司 Method, device, equipment and storage medium for generating network topology
CN118158573A (en) * 2022-12-06 2024-06-07 华为技术有限公司 Information generation method and related device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653940B (en) * 2020-11-27 2022-04-08 华为技术有限公司 Optical distribution network, optical network system, optical splitter and port identification method of optical splitter
CN117479050A (en) * 2022-07-21 2024-01-30 华为技术有限公司 Topology restoration method, first optical network and communication device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834745A (en) * 2010-05-17 2010-09-15 中兴通讯股份有限公司 Method, server and system for automatically generating ONU (Optical Network Unit) network element topology
CN102204127A (en) * 2011-05-11 2011-09-28 华为技术有限公司 Method, apparatus and system for detecting type of network equipment
CN103152208A (en) * 2013-03-29 2013-06-12 深圳市磊科实业有限公司 Web way-based passive optical network system and realizing method of the passive optical network system
CN104322016A (en) * 2012-02-23 2015-01-28 三菱电机株式会社 Network system and topology map generating method
WO2016184228A1 (en) * 2015-05-21 2016-11-24 中兴通讯股份有限公司 Method and device for deploying optical network topological graph

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7181142B1 (en) * 2002-04-09 2007-02-20 Time Warner Cable Inc. Broadband optical network apparatus and method
CN105245283A (en) * 2015-09-01 2016-01-13 苏州大学张家港工业技术研究院 Optical separator position determination method and device
CN107682211B (en) * 2017-11-14 2021-04-09 华信咨询设计研究院有限公司 Network topology structure determination method and device and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834745A (en) * 2010-05-17 2010-09-15 中兴通讯股份有限公司 Method, server and system for automatically generating ONU (Optical Network Unit) network element topology
CN102204127A (en) * 2011-05-11 2011-09-28 华为技术有限公司 Method, apparatus and system for detecting type of network equipment
CN104322016A (en) * 2012-02-23 2015-01-28 三菱电机株式会社 Network system and topology map generating method
CN103152208A (en) * 2013-03-29 2013-06-12 深圳市磊科实业有限公司 Web way-based passive optical network system and realizing method of the passive optical network system
WO2016184228A1 (en) * 2015-05-21 2016-11-24 中兴通讯股份有限公司 Method and device for deploying optical network topological graph

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584472A (en) * 2020-11-30 2022-06-03 中移(苏州)软件技术有限公司 Method, device, electronic equipment and medium for determining connectivity of optical splitter
CN114584472B (en) * 2020-11-30 2023-11-03 中移(苏州)软件技术有限公司 Method, device, electronic equipment and medium for determining connectivity of optical splitter
CN113468700A (en) * 2021-07-08 2021-10-01 安天科技集团股份有限公司 Topology information identification method and device, computing equipment and storage medium
CN113891191A (en) * 2021-09-24 2022-01-04 中移(杭州)信息技术有限公司 Optical path topology restoration method, device, equipment and computer readable storage medium
CN113891191B (en) * 2021-09-24 2023-08-15 中移(杭州)信息技术有限公司 Optical path topology restoration method, device, equipment and computer readable storage medium
CN116137594A (en) * 2021-11-18 2023-05-19 中国移动通信集团重庆有限公司 Method, device, equipment and storage medium for generating network topology
CN118158573A (en) * 2022-12-06 2024-06-07 华为技术有限公司 Information generation method and related device

Also Published As

Publication number Publication date
CN111836134A (en) 2020-10-27
CN111836134B (en) 2021-11-19

Similar Documents

Publication Publication Date Title
WO2020211482A1 (en) Network topology information acquisition method, apparatus, device, and storage medium
WO2020147317A1 (en) Method, apparatus, and device for determining network anomaly behavior, and readable storage medium
CN110445653B (en) Network state prediction method, device, equipment and medium
US20200259723A1 (en) Network Quality Determining Method and Apparatus and Storage Medium
CN111884832A (en) Method for acquiring passive network topology information and related equipment
CN114142923A (en) Optical cable fault positioning method, device, equipment and readable medium
CN108769843B (en) Power optical fiber home-in EPON (Ethernet passive optical network) optimization method and system
CN113453096B (en) Method and device for predicting PON port flow of passive optical network
CN110518973B (en) Optical fiber eavesdropping monitoring method based on machine learning and related equipment
CN110324190B (en) Network planning method and device
CN111970762A (en) Spectrum allocation method and device and electronic equipment
CN105471770B (en) A kind of message processing method and device based on multi-core processor
CN111818403B (en) Topology identification method, device and system
CN115002025A (en) Data security transmission method and system and cloud platform
CN101888303A (en) Recording method of network traffic information and related device
JP7434690B2 (en) Method, apparatus, system, device and computer program for detecting user data of user equipment UE
CN114095808B (en) Network fault detection method, device, equipment and computer readable storage medium
CN117749636A (en) Power service and communication network adaptation method and device
CN115720212A (en) Network flow prediction and automatic optimization balancing method based on multi-source data fusion
CN115408702A (en) Stacking interface operation risk level evaluation method and application thereof
CN111835541B (en) Method, device, equipment and system for detecting aging of flow identification model
CN116744305B (en) Communication system based on safety control of 5G data communication process
CN117472589B (en) Park network service management method and system
CN113760594B (en) PCIE GEN6 link judgment method
CN114095081B (en) Method and device for determining health degree of optical module and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20791462

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20791462

Country of ref document: EP

Kind code of ref document: A1