Weak light positioning method, device, computer storage medium and electronic device
By establishing a photoloss regression model and calculating the photoloss variation coefficient, accurately positioning the low-light problem in the passive optical fiber network, the problems of low-light positioning efficiency and inaccurateness in the existing technology are solved, and network diagnostic efficiency and accuracy are improved sex.
Patent Information
- Application Number
- CN202211697777.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2042-12-28
AI Technical Summary
In the prior art, the positioning efficiency of low light is low and inaccurate, and it is impossible to effectively diagnose and locate low light problems in passive optical fiber networks, resulting in the impact of the network experience.
By establishing a photoloss regression model, the actual photoloss parameters and reference photoloss parameters of the target optical device in the passive optical fiber network are determined, the optical loss variation coefficient is calculated, and the optical device that causes low light phenomena is accurately positioned.
It realizes efficient and accurate low-light positioning, improves network diagnosis efficiency, reduces the time and cost of manual diagnosis, and improves network experience.
Smart Images

Figure CN116054935B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a weak-light positioning method, device, computer storage medium, and electronic device. Background Art
[0002] With the development of society, the Internet has become an indispensable part of people's lives. The various devices that make up the network play an important role all the time. The influence of external factors makes the passive network environment more and more complicated, such as the loss of optical cables, the aging of equipment, the loss of port contacts, etc. These factors easily lead to the generation of weak light, which will affect the user's Internet speed and network experience perception. Therefore, how to effectively diagnose weak light is an urgent problem to be solved.
[0003] Since the optical distribution network is a passive network and cannot be monitored by the network management system, the diagnosis and troubleshooting of weak light often relies on manual diagnosis. However, manual diagnosis requires on-site segmented testing, repeated and one-by-one troubleshooting, which is time-consuming and labor-intensive, and has low accuracy and precision. Another method based on optical time domain reflection diagnosis is to implement optical link diagnosis by introducing terminal equipment or deploying board equipment on the network, but this method is relatively expensive. Another method is based on network management optical power data, and calculates the weak light ratio through statistical analysis to locate the weak light. This method has the problem of inaccurate positioning.
[0004] With regard to the problems of low efficiency and inaccuracy in weak light positioning in related technologies, no effective solution has been proposed so far. Summary of the invention
[0005] The present application provides a weak-light positioning method, device, computer storage medium and electronic device to solve the problems of low efficiency and inaccuracy in weak-light positioning in the related art.
[0006] According to one aspect of the present application, a weak light positioning method is provided. The method includes: determining a target optical line terminal where the weak light phenomenon occurs and an actual optical loss value of the target optical line terminal, wherein the target optical line terminal is an optical line terminal in a passive optical fiber network; obtaining an optical loss regression model of the target optical line terminal in the passive optical fiber network, wherein the optical loss regression model characterizes the relationship between the reference optical loss parameters of each optical device of the optical line terminal and the optical loss value to be measured of the optical line terminal, and the optical devices include a splitter and an optical cable; determining each optical device as an optical device to be measured in turn, and calculating the actual optical loss parameters of each optical device to be measured according to the actual optical loss value and the optical loss regression model; determining the target optical device according to the actual optical loss parameters of each optical device and the reference optical loss parameters, wherein the target optical device refers to the optical device that causes the weak light phenomenon.
[0007] Optionally, determining the target optical device according to the actual light loss parameters and reference light loss parameters of each optical device includes: calculating the light loss variation coefficient according to the reference light loss parameters and the actual light loss parameters of each optical device, respectively, to obtain multiple light loss variation coefficients; obtaining the maximum light loss variation coefficient among the multiple light loss variation coefficients, and determining the optical device corresponding to the maximum light loss variation coefficient as the target optical device.
[0008] Optionally, each optical device is determined as an optical device to be tested in turn, and the actual light loss parameters of each optical device to be tested are calculated according to the actual light loss value and the light loss regression model, including: inputting the actual light loss value into the light loss regression model, and determining the light loss parameters of the optical device to be tested as the quantity to be solved, to obtain the light loss regression model to be solved; solving the light loss regression model to be solved, to obtain the actual light loss parameters of the optical device to be tested.
[0009] Optionally, obtaining the optical loss regression model of the passive optical fiber network includes: determining an initial optical loss regression model, wherein the initial optical loss regression model characterizes the relationship between the optical loss parameters to be measured of each optical device of the optical line terminal and the optical loss values to be measured of the optical line terminal; obtaining optical loss characteristic data of each optical line terminal in the passive optical fiber network to obtain multiple sample data, wherein each sample data includes multiple attribute data of the optical loss characteristic data of an optical line terminal, and each attribute data characterizes the reference optical loss parameters of an optical device of the optical line terminal; constructing a matrix of the optical loss parameters to be measured from the multiple sample data, wherein each row element of the matrix of the optical loss parameters to be measured is different attribute data of the same optical loss characteristic data, and each column element of the matrix of the optical loss parameters to be measured is the same attribute data of different optical loss characteristic data; determining a matrix of the optical loss values to be measured according to the matrix of the optical loss parameters to be measured and the initial optical loss regression model; and determining the reference optical loss parameters of each optical device according to the matrix of the optical loss parameters to be measured and the matrix of the optical loss values to be measured.
[0010] Optionally, determining the initial optical loss regression model includes: determining a first preset distance between an entrance of an optical line terminal of a passive optical fiber network and a first optical splitter, a second preset distance between adjacent optical splitters, and a third preset distance between a last optical splitter and an exit; determining a first optical loss parameter to be measured of an optical cable between the entrance of the optical line terminal and the first optical splitter, a second optical loss parameter to be measured of an optical cable between adjacent optical splitters, a third optical loss parameter to be measured of an optical cable between the last optical splitter and the exit, and a fourth optical loss parameter to be measured before each optical splitter; establishing an equation relationship between the product of the first preset distance and the first optical loss parameter to be measured, the product of each second preset distance and the corresponding second optical loss parameter to be measured, the product of the third preset distance and the third optical loss parameter to be measured, and the sum of each fourth optical loss parameter to be measured and the optical loss value to be measured of the optical line terminal, to obtain the initial optical loss regression model.
[0011] Optionally, determining the reference light loss parameters of each optical device based on the matrix of light loss parameters to be measured and the matrix of light loss values to be measured includes: determining a loss function based on the matrix of light loss parameters to be measured and the matrix of light loss values to be measured; solving the light loss parameters to be measured of each optical device when the loss function is minimized to obtain the reference light loss parameters of each optical device.
[0012] Optionally, after determining the target optical device according to the actual optical loss parameters and the reference optical loss parameters of each optical device, the method further includes: constructing a simulated network topology structure of each optical line terminal in the passive optical fiber network; and displaying the target optical device in the simulated network topology structure using a target display mode, wherein the target display mode is different from a display mode of optical devices other than the target optical device in the simulated network topology structure.
[0013] According to another aspect of the present application, a weak light positioning device is provided. The device includes: a first determination unit, used to determine a target optical line terminal where the weak light phenomenon occurs and an actual optical loss value of the target optical line terminal, wherein the target optical line terminal is an optical line terminal in a passive optical fiber network; an acquisition unit, used to acquire an optical loss regression model of the passive optical fiber network, wherein the optical loss regression model characterizes the relationship between the reference optical loss parameters of each optical device of the optical line terminal and the optical loss value to be measured of the optical line terminal, and the optical devices include a splitter and an optical cable; a second determination unit, used to determine each optical device as an optical device to be measured, and calculate the actual optical loss parameters of each optical device to be measured according to the actual optical loss value and the optical loss regression model; a third determination unit, used to determine the target optical device according to the actual optical loss parameters and the reference optical loss parameters of each optical device, wherein the target optical device refers to the optical device that causes the weak light phenomenon.
[0014] According to another aspect of an embodiment of the present invention, a computer storage medium is provided, wherein the computer storage medium is used to store a program, wherein when the program is run, the device where the non-volatile storage medium is located is controlled to execute a weak-light positioning method.
[0015] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising a processor and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein a low-light positioning method is executed when the computer-readable instructions are executed.
[0016] The present application adopts the following steps: determining a target optical line terminal where a weak light phenomenon occurs and an actual optical loss value of the target optical line terminal; determining a target optical line terminal where a weak light phenomenon occurs and an actual optical loss value of the target optical line terminal, wherein the target optical line terminal is an optical line terminal in a passive optical fiber network; obtaining an optical loss regression model of the passive optical fiber network, wherein the optical loss regression model characterizes the relationship between the reference optical loss parameters of each optical device of the optical line terminal and the optical loss value to be measured of the optical line terminal, and the optical devices include a splitter and an optical cable; determining each optical device as an optical device to be measured in turn, and calculating the actual optical loss parameters of each optical device to be measured according to the actual optical loss value and the optical loss regression model; determining a target optical device according to the actual optical loss parameters of each optical device and the reference optical loss parameters, wherein the target optical device refers to an optical device that causes the weak light phenomenon, thereby solving the problem of low efficiency and inaccuracy in weak light positioning in the related art, and determining and positioning the position of the weak light by establishing an optical loss regression model, thereby achieving the effect of accurately and efficiently positioning the weak light position. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 is a flow chart of a weak-light positioning method provided in an embodiment of the present application;
[0019] Figure 2 is a schematic diagram of the optical path of the weak light positioning method provided in an embodiment of the present application;
[0020] Figure 3 It is a module schematic diagram of a weak light positioning method provided according to an embodiment of the present application;
[0021] Figure 4 is a flow chart of an optional weak-light positioning method provided according to an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of a weak-light positioning device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0027] According to an embodiment of the present application, a weak-light positioning method is provided.
[0028] Figure 1 1 is a flow chart of a weak light positioning method provided according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0029] Step S102, determining a target optical line terminal where a weak light phenomenon occurs and an actual optical loss value of the target optical line terminal, wherein the target optical line terminal is an optical line terminal in a passive optical fiber network.
[0030] Specifically, in life, optical fiber communication is mainly transmitted through optical signals in optical cables. During the transmission process, absorption, scattering and other reasons will cause the optical power to decrease within a certain controllable range. The weak light phenomenon refers to the phenomenon that the optical power received by the optical network unit is less than the receiving sensitivity of the optical network unit, that is, the reduced optical power exceeds the preset controllable range, which mainly affects the network speed and fluency of users' Internet access. The weak light phenomenon generally occurs in various devices in the passive network between the optical line terminal and the optical network unit.
[0031] Specifically, when users find that the network is stuck due to weak light, it is necessary to determine the target optical line terminal where the weak light phenomenon occurs. The optical line terminal, also known as OLT (Optical Line Terminal), refers to the terminal equipment used to connect the optical fiber trunk line. It is equivalent to the switch or router in the traditional communication network. It is used for traffic scheduling, buffer control, and providing user-oriented passive optical fiber network interfaces and bandwidth allocation. It is generally placed at the local end. In addition, when the weak light phenomenon occurs and the specific device location of the problem is determined, the actual optical loss value must first be obtained through the target optical line terminal and the optical network unit. The optical network unit, also known as ONU (Optical Network Unit), provides data, interactive network television, voice and other services. Its main function is to selectively receive and respond to the broadcast sent by the optical line terminal, collect and cache the Ethernet data that the user needs to send, and send the cached data to the optical line terminal.
[0032] Step S104, obtaining a light loss regression model of the passive optical fiber network, wherein the light loss regression model represents the relationship between the reference light loss parameters of each optical device of the optical line terminal and the light loss value to be measured of the optical line terminal, and the optical devices include splitters and optical cables.
[0033] Specifically, when determining the specific location where the weak light phenomenon occurs, it is necessary to compare the actual optical loss parameters of the optical device obtained with the reference optical loss parameters, wherein the reference optical loss parameters of the optical device and the actually obtained optical loss parameters are obtained through an optical loss regression model, and the optical loss regression model is used to describe the relationship between the optical loss characteristic values of each device and link in the optical distribution network system and the total optical loss value to be measured of the optical line terminal, that is, the model is used to describe the relationship between the optical loss parameters of each optical device from the optical line terminal to the optical network unit and the optical loss value to be measured of the optical line terminal, and the optical distribution network from the optical line terminal to an optical network unit is regarded as a path system. In the entire system, the sum of the optical loss values of each optical device is the optical loss value to be measured by the optical line terminal, and the optical loss value of each optical device is determined by the reference optical loss parameter of the optical device and the distance between the optical device and the previous optical device.
[0034] Step S106, determining each optical device as an optical device to be tested in turn, and calculating the actual light loss parameters of each optical device to be tested according to the actual light loss value and the light loss regression model.
[0035] Specifically, in the passive network of the optical distribution network, each optical line terminal includes multiple optical devices, wherein the optical devices include backbone optical cables, branch optical cables, access optical cables, primary optical splitters, secondary optical splitters, and flexible joints. During the transmission of optical signals, optical power will generate optical loss on the optical devices along the way, and the optical loss is allowed to fluctuate within a certain range. When the optical loss exceeds the specified controllable range, the terminal equipment of the optical fiber transmission, that is, the optical network unit, causes the equipment to fail to operate normally and stably, that is, the weak light phenomenon occurs. Therefore, the location where the weak light phenomenon occurs may be the various optical devices passed through in the optical signal path. When the optical signal is transmitted, the weak light phenomenon occurs. After obtaining the actual optical loss value of the entire path system from the optical line terminal to an optical network unit, the actual optical loss value is used as a known input and input into the optical loss regression model. The optical loss value of any optical device is determined as an unknown quantity in turn, and the actual optical loss parameters of each optical device in the entire path system can be obtained.
[0036] Step S108 , determining a target optical device according to actual light loss parameters and reference light loss parameters of each optical device, wherein the target optical device refers to an optical device that causes the weak light phenomenon.
[0037] Specifically, when calculating the coefficient of variation of the actual light loss parameters and the reference light loss parameters of the optical device, the item with the largest coefficient of variation can be determined as the problem point, that is, the target optical device.
[0038] The weak light positioning method provided in the embodiment of the present application determines the target optical line terminal where the weak light phenomenon occurs and the actual light loss value of the target optical line terminal; obtains a light loss regression model of the target optical line terminal in the passive optical fiber network, wherein the light loss regression model characterizes the relationship between the reference light loss parameters of each optical device and the light loss value to be measured of the optical line terminal, and the optical devices include a splitter and an optical cable; sequentially determines each optical device as the optical device to be measured, and calculates the actual light loss parameters of each optical device to be measured according to the actual light loss value and the light loss regression model; determines the target optical device according to the actual light loss parameters of each optical device and the reference light loss parameters, wherein the target optical device refers to the optical device that causes the weak light phenomenon, thereby solving the problems of low efficiency and inaccuracy in weak light positioning in the related art, and by establishing a light loss regression model, the position of the weak light is judged and positioned, thereby achieving the effect of accurately and efficiently positioning the weak light position.
[0039] Optionally, in the weak light positioning method provided in the embodiment of the present application, determining the initial optical loss regression model includes: determining a first preset distance between the entrance of the optical line terminal of the passive optical fiber network and the first splitter, a second preset distance between adjacent splitters, and a third preset distance between the last splitter and the exit; determining a first optical loss parameter to be measured between the entrance of the optical line terminal and the first splitter, a second optical loss parameter to be measured between the adjacent splitters, a third optical loss parameter to be measured between the last splitter and the exit, and a fourth optical loss parameter to be measured before each splitter; establishing an equation relationship between the product of the first preset distance and the first optical loss parameter to be measured, the product of each second preset distance and the corresponding second optical loss parameter to be measured, the product of the third preset distance and the third optical loss parameter to be measured, and the sum of each fourth optical loss parameter to be measured and the optical loss value to be measured of the optical line terminal, to obtain the initial optical loss regression model.
[0040] Specifically, Figure 2 is a schematic diagram of the optical path of the weak light positioning method provided in an embodiment of the present application, such as Figure 2 As shown, before determining the initial optical loss regression model, it is necessary to obtain corresponding data, wherein the data may include distance parameters from the optical line terminal to each optical device of multiple optical network units. The distance from the optical line terminal to the primary optical splitter is set to the first preset distance, and is recorded as d1, and the optical device connecting the two is a backbone optical cable; the distance between the primary optical splitter and the secondary optical splitter is set to the second preset distance, and is recorded as d2, and the optical device connecting the two is a branch optical cable; the distance between the secondary optical splitter and the user's optical network unit is set to the third preset distance, and is recorded as d3, and the optical device connecting the two is a home optical cable; a live joint is set between the secondary optical splitter and the user's optical network unit. The optical loss parameters of the backbone optical cable, branch optical cable and access optical cable are set as the first optical loss parameter to be measured, the second optical loss parameter to be measured and the third optical loss parameter to be measured, and are respectively recorded as α1, α2 and α3; the optical loss parameters of the primary optical splitter and the secondary optical splitter are set as the fourth optical loss parameter to be measured, and are respectively recorded as β1 and β2; the optical loss parameter of the live joint is set as the adjustment factor, and is recorded as γ.
[0041] The preset normal optical loss value obtained from the optical line terminal to the optical network unit is recorded as y. The optical loss is the loss caused by each optical device along the way during the transmission of the optical signal. The initial optical loss regression model is established by using the relationship between the preset normal optical loss value and the optical loss parameters of each optical device, that is: y = d1*α1+d2*α2+d3*α3+β1+β2+γ. The obtained normal optical loss value is divided equally according to the weight of each optical device to obtain the optical loss parameters to be measured for each optical device.
[0042] Optionally, in the weak-light positioning method provided in the embodiment of the present application, determining the target optical device according to the actual light loss parameters and reference light loss parameters of each optical device includes: calculating the light loss variation coefficient according to the reference light loss parameters and the actual light loss parameters of each optical device, respectively, to obtain multiple light loss variation coefficients; obtaining the maximum light loss variation coefficient among the multiple light loss variation coefficients, and determining the optical device corresponding to the maximum light loss variation coefficient as the target optical device.
[0043] Specifically, the light loss regression model obtained from the actual light loss value and the normal light loss value can determine the actual light loss parameters of each optical device when the weak light phenomenon occurs and the benchmark light loss parameters when there is no weak light phenomenon, and calculate the coefficient of variation (C·V) of each optical device one by one: C·V = (standard deviation / average value) × 100%.
[0044] For example, the optical loss parameters of the backbone optical cable, the branch optical cable, and the drop optical cable are set as the first optical loss parameter to be measured, the second optical loss parameter to be measured, and the third optical loss parameter to be measured, and are recorded as α1, α2, and α3 respectively; the optical loss parameters of the primary optical splitter and the secondary optical splitter are set as the fourth optical loss parameter to be measured, and are recorded as β1 and β2 respectively; the optical loss parameter of the live joint is set as the adjustment factor, and is recorded as γ. Assuming that the third optical loss parameter to be measured α3 of the drop optical cable is the location where the problem occurs, when the reference optical loss parameters of other optical devices remain unchanged, that is, α1, α2, The parameters β1, β2 and γ remain unchanged, and the dependent variable in the optical loss regression model is set to the actual optical loss value when weak light occurs. The value of the new α3 in this case can be obtained, and the mean and standard deviation of the new α3 and the benchmark optical loss parameter α3 are calculated, and then the coefficient of variation of the home optical cable is obtained. According to the same operation steps, the coefficients of variation corresponding to the optical loss parameters of the remaining optical devices are calculated in turn, and the coefficients of variation of the six optical devices are arranged in descending order to obtain the optical device with the largest coefficient of variation. This optical device is used as the problem point of the weak light scene, that is, the target optical device.
[0045] Optionally, in the weak light positioning method provided in the embodiment of the present application, each optical device is determined as an optical device to be tested in turn, and the actual light loss parameters of each optical device to be tested are calculated according to the actual light loss value and the light loss regression model, including: inputting the actual light loss value into the light loss regression model, and determining the light loss parameters of the optical device to be tested as the quantity to be solved, to obtain the light loss regression model to be solved; solving the light loss regression model to be solved, to obtain the actual light loss parameters of the optical device to be tested.
[0046] Specifically, the optical loss regression model is a model established for the relationship between the normal optical loss value obtained and the optical loss parameters of each optical device, that is, y = d1*α1+d2*α2+d3*α3+β1+β2+γ. Each optical device is determined as an optical device to be tested, and the actual optical loss value from the optical network unit to the optical line terminal where the weak light phenomenon occurs is substituted into the optical loss model, thereby obtaining the average optical loss parameters of each optical device when weak light occurs, that is, the actual optical loss parameters. For example, the actual optical loss parameter to be solved for the home optical cable is recorded as α3, and the actual optical loss value when weak light occurs is set as the dependent variable y in the optical loss regression model. By using the corresponding weights of each optical device, the actual optical loss parameter α3 of the home optical cable is calculated on average.
[0047] Optionally, in the weak light positioning method provided in the embodiment of the present application, obtaining the optical loss regression model of the passive optical fiber network includes: determining an initial optical loss regression model, wherein the initial optical loss regression model characterizes the relationship between the optical loss parameters to be measured of each optical device of the optical line terminal and the optical loss values to be measured of the optical line terminal; obtaining optical loss characteristic data of each optical line terminal in the passive optical fiber network to obtain multiple sample data, wherein each sample data includes multiple attribute data of the optical loss characteristic data of an optical line terminal, and each attribute data characterizes the reference optical loss parameters of an optical device of the optical line terminal; constructing a matrix of optical loss parameters to be measured from the multiple sample data, wherein each row element of the matrix of optical loss parameters to be measured is different attribute data of the same optical loss characteristic data, and each column element of the matrix of optical loss parameters to be measured is the same attribute data of different optical loss characteristic data; determining a matrix of optical loss values to be measured according to the matrix of optical loss parameters to be measured and the initial optical loss regression model; determining the reference optical loss parameters of each optical device according to the matrix of optical loss parameters to be measured and the matrix of optical loss values to be measured.
[0048] Specifically, before determining the initial optical loss regression model, it is necessary to obtain the corresponding data, wherein the data may include the distance parameters from the optical line terminal to each optical device of multiple optical network units. The same optical line terminal to an optical network unit is set as a line, and the optical power data between the two is recorded as a sample, wherein the optical power data is the optical loss parameter data to be measured for each optical device in a line; by collecting the optical power data in multiple parallel lines, a set of optical power data from the same optical line terminal to multiple optical network units can be obtained. After obtaining the optical power data set, the set is set as a matrix of the optical loss parameters to be measured, wherein each element in the set is a sample, recorded as: X = (x1, x2..., xi), that is: Among them, x i =(x i1 ,......,x i5), each sample contains five eigenvalues, i.e., the optical loss parameters of each optical device to be measured, recorded as (α1, α2, α3, β, γ), β = β1 + β2, where x i1 =α1, x i2 =α2....x i5 =γ. Substituting into the matrix, each row element of the matrix of the optical loss parameters to be measured is different characteristic data of the same optical loss characteristic data, and each column element of the matrix of the optical loss parameters to be measured is the same characteristic data of different optical loss characteristic data. Furthermore, the reference optical loss parameters of each optical device can be determined through the matrix of the optical loss parameters to be measured and the matrix of the optical loss values to be measured.
[0049] Optionally, in the weak-light positioning method provided in an embodiment of the present application, determining the baseline light loss parameters of each optical device based on the matrix of light loss parameters to be measured and the matrix of light loss values to be measured includes: determining a loss function based on the matrix of light loss parameters to be measured and the matrix of light loss values to be measured; solving the light loss parameters to be measured of each optical device when the loss function is minimized, to obtain the baseline light loss parameters of each optical device.
[0050] Specifically, a set of optical power data from the same optical line terminal to multiple optical network units is obtained, and the set is set as a matrix of optical loss parameters to be measured, where each element in the set is a sample, which is recorded as: x i =(x i1 ,......,x i5 ), each sample contains five eigenvalues, i.e., the optical loss parameters of each optical device to be measured, recorded as (α1, α2, α3, β, γ), β = β1 + β2;, where x i1 =α1, x i2 =α2....x i5 =γ. The matrix of the optical loss value to be measured is composed of the normal optical loss values of multiple samples obtained, recorded as Y = (y1, y2...yi); the loss function of the two is obtained through the matrix of the optical loss parameters to be measured and the matrix of the optical loss value to be measured, and the argmin function is calculated through the loss function, that is, the minimum loss function E = argmin (y-Xw) is obtained T (y-Xw), where w is the square difference of the matrix X of the optical loss parameters to be measured. Under the condition of the minimum loss function, the normal optical loss value is equally divided into the optical loss parameters of each optical device, that is, the average optical loss coefficients of the backbone optical cable, the branch optical cable, and the home optical cable are obtained: the first optical loss parameter to be measured, the second optical loss parameter to be measured, and the third optical loss parameter to be measured; the optical loss coefficients of the primary optical splitter and the secondary optical splitter: the fourth optical loss parameter to be measured; the optical loss parameter of the live joint, that is, the adjustment factor.
[0051] Optionally, in the weak light positioning method provided in the embodiment of the present application, after determining the target optical device according to the actual optical loss parameters and the reference optical loss parameters of each optical device, the method further includes: constructing a simulated network topology structure of each optical line terminal in the passive optical fiber network; and displaying the target optical device in the simulated network topology structure using a target display mode, wherein the target display mode is different from the display mode of optical devices other than the target optical device in the simulated network topology structure.
[0052] Specifically, after the target optical device is determined to be the problem point, a simulated network topology structure needs to be established and provided to the maintenance staff, wherein the simulated network topology structure refers to a topology diagram that draws the distribution and connection status of devices between the network composed of computers on the diagram. Generally, the location of the device, the name and type of the device, and the type of connection medium between the devices need to be marked on the diagram. The target optical device is marked on the constructed topology structure. For example, the target optical device can be constructed in red and the rest in black.
[0053] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0054] According to an embodiment of the present application, an optional weak-light positioning method is provided. The method comprises:
[0055] Figure 3 The module diagram of the weak light positioning method provided in the embodiment of the present application is as follows Figure 3 As shown in the figure, the diagnosis of weak light can be divided into four modules, namely, characteristic data processing module, ODN optical loss characteristic simulation modeling module, ODN weak light diagnosis and positioning module and PON network topology visualization weak light positioning module, among which, ODN (Optical Distribution Network), also known as optical distribution network, is the optical transmission physical channel between optical line terminal and optical network unit. Its main function is to complete the bidirectional transmission of optical signals. It is usually composed of optical fiber cables, optical connectors, optical splitters and supporting equipment for installing and connecting these devices. PON (Passive Optical Network), also known as passive optical fiber network, refers to the absence of any electronic devices and electronic power supplies in the optical distribution network. The optical distribution network is composed entirely of passive devices such as optical splitters, and does not require expensive active electronic equipment.
[0056] Figure 4 is a flow chart of an optional weak-light positioning method provided in an embodiment of the present application, such as Figure 4 As shown, through Figure 3The characteristic data processing module obtains sample data, wherein the sample data includes optical power characteristic data, distance characteristic data, and performance data in the PON network management system that are responsible for requesting, and the data are used as positive sample data; and the optical power characteristic data, distance characteristic data, and performance data in the PON network management system in the weak light scenario that needs to be diagnosed are collected, and the data are used as negative sample data.
[0057] Substitute the positive sample into Figure 3 In the initial light loss regression model in the ODN light loss feature simulation modeling module, the acquired data is feature analyzed, processed and integrated, that is, the light loss regression model is modeled and analyzed to obtain the light loss parameters of each optical device in the absence of weak light scenes, and recorded as the normal light loss feature threshold.
[0058] Substitute the negative sample data into Figure 3 In the optical loss regression module of the ODN weak light diagnosis and positioning module, the optical loss characteristics of the optical loss regression model are simulated and calculated to obtain the optical loss parameters of each optical device in the weak light scene. The optical loss parameters of each optical device when there is no weak light scene are calculated and compared with the optical loss parameters of each optical device in the weak light scene, that is, the optical loss characteristics of the trunk optical cable, the optical loss characteristics of the first-level splitter interface, the optical loss characteristics of the branch optical cable, the optical loss characteristics of the second-level splitter interface and the optical loss characteristics of the access optical cable are calculated and compared respectively, so as to locate the position and probability of weak light points in the passive line network in real time.
[0059] After finding the problem point of the low light position, use Figure 3 The network topology in the PON network topology visualization weak light positioning module displays the weak light positioning position in a visual way.
[0060] The embodiment of the present application also provides a weak light positioning device. It should be noted that the weak light positioning device of the embodiment of the present application can be used to execute the weak light positioning method provided by the embodiment of the present application. The weak light positioning device provided by the embodiment of the present application is introduced below.
[0061] Figure 5 Schematic diagram of a weak light positioning device provided according to an embodiment of the present application. Figure 5 As shown, the device includes: a first determining unit 50, an acquiring unit 51, a second determining unit 52, and a third determining unit 53.
[0062] The first determining unit 50 is used to determine a target optical line terminal where a weak light phenomenon occurs and an actual optical loss value of the target optical line terminal, wherein the target optical line terminal is an optical line terminal in a passive optical fiber network.
[0063] The acquisition unit 51 is used to acquire a light loss regression model of a passive optical fiber network, wherein the light loss regression model represents the relationship between the reference light loss parameters of each optical device of the optical line terminal and the light loss value to be measured of the optical line terminal, and the optical devices include splitters and optical cables.
[0064] The second determining unit 52 is used to determine each optical device as an optical device to be tested, and calculate the actual light loss parameters of each optical device to be tested according to the actual light loss value and the light loss regression model.
[0065] The third determining unit 53 is used to determine a target optical device according to actual light loss parameters and reference light loss parameters of each optical device, wherein the target optical device refers to an optical device that causes the weak light phenomenon.
[0066] Optionally, in the weak-light positioning device provided in the embodiment of the present application, the first determination unit 50 includes: a calculation module, used to calculate the light loss variation coefficient according to the baseline light loss parameters and the actual light loss parameters of each optical device, to obtain multiple light loss variation coefficients; a first acquisition module, used to obtain the maximum light loss variation coefficient among the multiple light loss variation coefficients, and determine the optical device corresponding to the maximum light loss variation coefficient as the target optical device.
[0067] Optionally, in the weak-light positioning device provided in the embodiment of the present application, the second determination unit 52 includes: an input module, used to input the actual light loss value into the light loss regression model, and determine the light loss parameters of the optical device to be measured as the quantity to be solved, and obtain the light loss regression model to be solved; a first solving module, used to solve the light loss regression model to be solved, and obtain the actual light loss parameters of the optical device to be measured.
[0068] Optionally, in the weak light positioning device provided in the embodiment of the present application, the acquisition unit 51 includes: a first determination module, which is used to determine an initial light loss regression model, wherein the initial light loss regression model characterizes the relationship between the light loss parameters to be measured of each optical device of the optical line terminal and the light loss value to be measured of the optical line terminal; a second acquisition module, which is used to acquire light loss characteristic data of each optical line terminal in the passive optical fiber network to obtain multiple sample data, wherein each sample data includes multiple attribute data of the light loss characteristic data of an optical line terminal, and each attribute data characterizes the reference light loss parameter of an optical device of the optical line terminal; a construction module, which is used to construct a matrix of light loss parameters to be measured from the multiple sample data, wherein each row element of the matrix of light loss parameters to be measured is different attribute data of the same light loss characteristic data, and each column element of the matrix of light loss parameters to be measured is the same attribute data of different light loss characteristic data; a second determination module, which is used to determine the matrix of light loss values to be measured according to the matrix of light loss parameters to be measured and the initial light loss regression model; a third determination module, which is used to determine the reference light loss parameters of each optical device according to the matrix of light loss parameters to be measured and the matrix of light loss values to be measured.
[0069] Optionally, in the weak light positioning device provided in the embodiment of the present application, the acquisition unit 51 includes: a fourth determination module, used to determine the first preset distance between the entrance of the optical line terminal of the passive optical fiber network and the first splitter, the second preset distance between adjacent splitters, and the third preset distance between the last splitter and the exit; a fifth determination module, used to determine the first optical loss parameter to be measured of the optical cable between the entrance of the optical line terminal and the first splitter, the second optical loss parameter to be measured of the optical cable between adjacent splitters, the third optical loss parameter to be measured of the optical cable between the last splitter and the exit, and the fourth optical loss parameter to be measured before each splitter; an establishment module, used to establish an equation relationship between the product of the first preset distance and the first optical loss parameter to be measured, the product of each second preset distance and the corresponding second optical loss parameter to be measured, the product of the third preset distance and the third optical loss parameter to be measured, and the sum of each fourth optical loss parameter to be measured and the optical loss value to be measured of the optical line terminal, to obtain an initial optical loss regression model.
[0070] Optionally, in the weak-light positioning device provided in the embodiment of the present application, the second determination unit 52 includes: a sixth determination module, used to determine the loss function based on the matrix of light loss parameters to be measured and the matrix of light loss values to be measured; a second solution module, used to solve the light loss parameters to be measured of each optical device when the loss function is minimized, and obtain the benchmark light loss parameters of each optical device.
[0071] Optionally, in the weak-light positioning device provided in the embodiment of the present application, the device also includes: a construction unit, used to construct a simulated network topology structure of each optical line terminal in the passive optical fiber network after determining the target optical device according to the actual optical loss parameters and the reference optical loss parameters of each optical device; a display unit, used to display the target optical device in the simulated network topology structure using a target display method, wherein the target display method is different from the display method of optical devices other than the target optical device in the simulated network topology structure.
[0072] The weak light positioning device provided in the embodiment of the present application is used to determine the target optical line terminal where the weak light phenomenon occurs and the actual light loss value of the target optical line terminal through a first determination unit, wherein the target optical line terminal is an optical line terminal in a passive optical fiber network; an acquisition unit is used to acquire a light loss regression model of the target optical line terminal in the passive optical fiber network, wherein the light loss regression model characterizes the relationship between the reference light loss parameters of each optical device of the optical line terminal and the light loss value to be measured of the optical line terminal, and the optical device includes a splitter and an optical cable; a second determination unit is used to determine each optical device as an optical device to be measured, and calculate the actual light loss parameters of each optical device to be measured according to the actual light loss value and the light loss regression model; a third determination unit is used to determine the target optical device according to the actual light loss parameters and the reference light loss parameters of each optical device, wherein the target optical device refers to the optical device that causes the weak light phenomenon, thereby solving the problem of low efficiency and inaccuracy in the positioning of weak light in the related art, and by establishing a light loss regression model, the position of the weak light is judged and located, thereby achieving the effect of accurately and efficiently positioning the weak light position.
[0073] The weak light positioning device comprises a processor and a memory, and the first determination unit 50, the acquisition unit 51, the second determination unit 52, the third determination unit 53, etc. are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
[0074] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problems of low efficiency and inaccuracy in weak light positioning in related technologies can be solved by adjusting kernel parameters.
[0075] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0076] An embodiment of the present application further provides a computer storage medium, which is used to store a program, wherein when the program is run, the device where the non-volatile storage medium is located is controlled to execute a weak-light positioning method.
[0077] The embodiment of the present application also provides an electronic device, comprising a processor and a memory; the memory stores computer-readable instructions, and the processor is used to run the computer-readable instructions, wherein when the computer-readable instructions are run, a low-light positioning method is executed. The electronic device in this article can be a server, a PC, a PAD, a mobile phone, etc.
[0078] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0079] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0080] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0081] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0082] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0083] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0084] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0085] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0086] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A weak light positioning method, characterized in that: include: Determine a target optical line terminal where a weak light phenomenon occurs and an actual optical loss value of the target optical line terminal, wherein the target optical line terminal is an optical line terminal in a passive optical fiber network; Obtaining a light loss regression model of the passive optical fiber network, wherein the light loss regression model represents a relationship between reference light loss parameters of each optical device of an optical line terminal and a light loss value to be measured of the optical line terminal, the optical devices include an optical splitter and an optical cable, and the light loss value to be measured of the optical line terminal refers to the sum of the light loss values of each optical device; Determine each optical device as an optical device to be tested in turn, and calculate actual light loss parameters of each optical device to be tested according to the actual light loss value and the light loss regression model; Determining a target optical device according to actual light loss parameters and reference light loss parameters of each optical device, wherein the target optical device refers to an optical device that causes the weak light phenomenon; Wherein: determining each optical device as an optical device to be tested in turn, and calculating the actual light loss parameters of each optical device to be tested according to the actual light loss value and the light loss regression model comprises: Inputting the actual light loss value into the light loss regression model, and determining the light loss parameter of the optical device to be measured as the quantity to be solved, to obtain the light loss regression model to be solved; Solve the light loss regression model to be solved to obtain actual light loss parameters of the optical device to be tested.
2. The method according to claim 1, characterized in that Determining the target optical devices based on the actual optical loss parameters and the reference optical loss parameters of each optical device includes: Calculating light loss variation coefficients according to reference light loss parameters and actual light loss parameters of each optical device to obtain multiple light loss variation coefficients; A maximum light loss variation coefficient among the multiple light loss variation coefficients is obtained, and an optical device corresponding to the maximum light loss variation coefficient is determined as the target optical device.
3. The method according to claim 1, characterized in that Obtaining the optical loss regression model of the passive optical fiber network includes: Determine an initial optical loss regression model, wherein the initial optical loss regression model represents the relationship between the optical loss parameters to be measured of each optical device of the optical line terminal and the optical loss value to be measured of the optical line terminal; Acquire optical loss characteristic data of each optical line terminal in the passive optical fiber network to obtain a plurality of sample data, wherein each sample data comprises a plurality of attribute data of the optical loss characteristic data of an optical line terminal, and each attribute data represents a reference optical loss parameter of an optical device of the optical line terminal; Constructing a matrix of the optical loss parameters to be measured from the multiple sample data, wherein each row element of the matrix of the optical loss parameters to be measured is different attribute data of the same optical loss characteristic data, and each column element of the matrix of the optical loss parameters to be measured is the same attribute data of different optical loss characteristic data; Determine the matrix of the optical loss values to be measured according to the matrix of the optical loss parameters to be measured and the initial optical loss regression model; The reference optical loss parameters of each optical device are determined according to the matrix of optical loss parameters to be measured and the matrix of optical loss values to be measured.
4. The method according to claim 3, characterized in that: Determining the initial light loss regression model includes: Determine a first preset distance between an entrance of an optical line terminal of the passive optical fiber network and a first optical splitter, a second preset distance between adjacent optical splitters, and a third preset distance between a last optical splitter and an exit; Determine a first optical loss parameter to be measured of an optical cable between an entrance of an optical line terminal and a first optical splitter, a second optical loss parameter to be measured of an optical cable between adjacent optical splitters, a third optical loss parameter to be measured of an optical cable between a last optical splitter and an exit, and a fourth optical loss parameter to be measured before each optical splitter; An equation relationship is established between the product of the first preset distance and the first optical loss parameter to be measured, the product of each second preset distance and the corresponding second optical loss parameter to be measured, the product of the third preset distance and the third optical loss parameter to be measured, and the sum of each fourth optical loss parameter to be measured and the optical loss value to be measured of the optical line terminal to obtain the initial optical loss regression model.
5. The method according to claim 3, characterized in that: Determining the reference optical loss parameters of each optical device according to the matrix of optical loss parameters to be measured and the matrix of optical loss values to be measured includes: Determine a loss function according to the matrix of the optical loss parameters to be measured and the matrix of the optical loss values to be measured; The optical loss parameters to be measured of each optical device when the loss function is minimum are solved to obtain the reference optical loss parameters of each optical device.
6. The method according to claim 1, characterized in that After determining the target optical device according to the actual optical loss parameters and the reference optical loss parameters of each optical device, the method further includes: Constructing a simulated network topology structure of each optical line terminal in the passive optical fiber network; The target optical device is displayed in the simulated network topology structure using a target display mode, wherein the target display mode is different from a display mode of optical devices other than the target optical device in the simulated network topology structure.
7. A weak light positioning device, characterized in that: include: A first determining unit is used to determine a target optical line terminal where a weak light phenomenon occurs and an actual optical loss value of the target optical line terminal, wherein the target optical line terminal is an optical line terminal in a passive optical fiber network; an acquisition unit, configured to acquire a light loss regression model of the target optical line terminal in the passive optical fiber network, wherein the light loss regression model represents a relationship between reference light loss parameters of each optical device of the optical line terminal and a light loss value to be measured of the optical line terminal, the optical devices include an optical splitter and an optical cable, and the light loss value to be measured of the optical line terminal refers to the sum of the light loss values of each optical device; A second determination unit is used to determine each optical device as an optical device to be tested, and calculate the actual light loss parameters of each optical device to be tested according to the actual light loss value and the light loss regression model; A third determining unit is used to determine a target optical device according to actual light loss parameters and reference light loss parameters of each optical device, wherein the target optical device refers to an optical device that causes the weak light phenomenon; Wherein, the second determining unit includes: An input module, used to input the actual light loss value into the light loss regression model, and determine the light loss parameter of the optical device to be measured as the quantity to be solved, so as to obtain the light loss regression model to be solved; The first solving module is used to solve the light loss regression model to be solved to obtain actual light loss parameters of the optical device to be tested.
8. A computer storage medium, characterized in that: The computer storage medium is used to store a program, wherein when the program is executed, the device where the computer storage medium is located is controlled to execute the weak-light positioning method according to any one of claims 1 to 6.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein the computer-readable instructions, when executed, execute the weak-light positioning method described in any one of claims 1 to 6.
Citation Information
Patent Citations
PON fault location method and device
CN112567647A
Optical fiber performance monitoring method and device based on passive optical fiber network technology
CN113067633A
Weak light rectification method and system of PON (Passive Optical Network)
CN114630213A
Gigabit passive optical network (GPON) weak light fault positioning method and system based on classification algorithm
CN115086806A
Optical link fault identification method, apparatus and system
US20210167851A1
