Method and device for determining line with abnormal optical signal attenuation and computer equipment
By dividing line clusters in the optical distribution network and calculating the light decay regression equation and correlation coefficient, the problems of large workload and low accuracy of traditional optical signal attenuation judgment methods are solved, and efficient and accurate determination of abnormal optical signal attenuation lines are achieved.
Patent Information
- Application Number
- CN202411944597.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-12-26
AI Technical Summary
The traditional method of judging optical signal attenuation requires on-site measurement, with high workload, low efficiency and low accuracy.
By obtaining multiple line resources in the optical allocation network ODN, dividing them into multiple line clusters, obtaining the line length and full-course light fading value of each line, determining the initial full-course light fading regression equation, calculating the light fading offset value, and dividing the lines into multiple groups based on the correlation coefficient, selecting the lines with abnormal optical signal attenuation.
The light decay regression equation is determined based on the correlation between the line length and the entire light decay value, which avoids the spot statistics of light decay one by one, reduces the workload of light decay judgment, and improves efficiency and accuracy.
Smart Images

Figure CN119815218A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device and computer equipment for determining a line with abnormal optical signal attenuation. Background Art
[0002] The ODN network is the backbone network of the network operator. It receives and sends signals through optical transceivers and PON equipment, and transmits optical signals through optical fibers and splitters. The attenuation of optical signals affects the service quality of users. Optical attenuation control and network planning and construction have become an important part of ensuring and improving the quality of optical networks. Therefore, how to quickly find the nodes and locations with large attenuation in the optical network can not only improve the maintenance quality, but also save a lot of maintenance costs for operators. The traditional method of judging optical attenuation mainly uses on-site measurements with instruments such as OTDR to determine the optical attenuation nodes by comparing the target values. However, the traditional method of judging optical attenuation requires on-site measurements, which is labor-intensive, not only inefficient, but also low in accuracy. Summary of the invention
[0003] The embodiments of the present application provide a method, device and computer equipment for determining a line with abnormal optical signal attenuation, so as to at least solve the technical problem that the optical attenuation judgment method in the related art has a large workload.
[0004] According to one aspect of an embodiment of the present application, a method for determining a line with abnormal optical signal attenuation is provided, comprising: obtaining multiple line resources in an optical distribution network (ODN), and dividing the multiple line resources into multiple line clusters; obtaining the line length and full-path optical attenuation value of each line in the line cluster to be determined, and determining an initial full-path optical attenuation regression equation for each line based on the line length and the full-path optical attenuation value; determining an optical attenuation offset value for each line based on the initial full-path optical attenuation regression equation, and based on the optical attenuation offset value and a correlation coefficient of each line in the line cluster to be determined, splitting the lines in the line cluster to be determined into multiple groups of lines, wherein the correlation coefficient represents the degree of correlation between the line length and the full-path optical attenuation value; and selecting lines with abnormal optical signal attenuation from the multiple groups of lines respectively.
[0005] Optionally, the correlation coefficient of each line in the line cluster to be determined is determined in the following manner, including: determining a first coefficient based on the line length of each line in the line cluster to be determined; determining a second coefficient based on the full-path optical attenuation value of each line in the line cluster to be determined; determining a third coefficient based on the line length and full-path optical attenuation value of each line in the line cluster to be determined; and determining the correlation coefficient based on the first coefficient, the second coefficient and the third coefficient.
[0006] Optionally, determining an initial full-range optical attenuation regression equation for each line according to the line length and the full-range optical attenuation value includes: obtaining the average line length values and the average full-range optical attenuation values of all lines in the line cluster to be determined; determining the slope of the initial full-range optical attenuation regression equation according to the average line length values, the average full-range optical attenuation values, the line length of each line and the full-range optical attenuation value of each line; and determining the initial full-range optical attenuation regression equation according to the slope of the initial full-range optical attenuation regression equation.
[0007] Optionally, based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, the lines in the line cluster to be determined are split into multiple groups of lines, including: determining the calculated optical attenuation value of each line according to the initial full-range optical attenuation regression equation, and obtaining the actual optical attenuation value of each line; determining the optical attenuation offset value according to the actual optical attenuation value and the calculated optical attenuation value; when the correlation coefficient is not a preset target value, eliminating the lines in the line cluster to be determined in descending order of the optical attenuation offset values until the correlation coefficient is equal to the preset target value, and determining the remaining lines in the line cluster to be determined as the first group of lines in the multiple groups of lines; and continuing to group the eliminated lines to obtain the remaining groups in the multiple groups of lines.
[0008] Optionally, selecting lines with abnormal optical signal attenuation from multiple groups of lines respectively includes: obtaining the line length and the full optical attenuation value of each line in the first group of lines; determining the full optical attenuation regression equation of each line in the first group of lines according to the line length and the full optical attenuation value of each line in the first group of lines, and determining it as a central regression equation; dividing the eliminated lines into a second group of lines and a third group of lines in the multiple groups of lines according to the optical attenuation offset value; respectively obtaining the full optical attenuation regression equation of the second group of lines and the full optical attenuation regression equation of the third group of lines; selecting an abnormal regression equation from the central regression equation, the full optical attenuation regression equation of the second group of lines, and the full optical attenuation regression equation of the third group of lines, and determining the line corresponding to the abnormal regression equation as the line with abnormal optical signal attenuation.
[0009] Optionally, dividing the eliminated lines into a second group of lines and a third group of lines according to the optical attenuation offset value includes: determining the lines whose optical attenuation offset values are greater than zero among the eliminated lines as the second group of lines; and determining the lines whose optical attenuation offset values are less than zero among the eliminated lines as the third group of lines.
[0010] Optionally, selecting an abnormal regression equation from the central regression equation, the full-length optical attenuation regression equation of the second group of lines, and the full-length optical attenuation regression equation of the third group of lines includes: obtaining a detection target value, the detection target value including: a slope target value and an optical branching device OBD target value; when the detection target value is the slope target value, determining a regression equation whose slope is greater than the slope target value as an abnormal regression equation; when the detection target value is the OBD target value, determining a regression equation whose optical attenuation value is greater than the OBD target value as an abnormal regression equation.
[0011] According to another aspect of the embodiment of the present application, a device for determining a line with abnormal optical signal attenuation is also provided, including: a first acquisition module, used to acquire multiple line resources in an optical distribution network ODN, and divide the multiple line resources into multiple line clusters; a second acquisition module, used to acquire the line length and full-path optical attenuation value of each line in the line cluster to be determined, and determine the initial full-path optical attenuation regression equation of each line according to the line length and the full-path optical attenuation value; a grouping module, used to determine the optical attenuation offset value of each line according to the initial full-path optical attenuation regression equation, and based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, split the lines in the line cluster to be determined into multiple groups of lines, wherein the correlation coefficient represents the degree of correlation between the line length and the full-path optical attenuation value; a selection module, used to select lines with abnormal optical signal attenuation from the multiple groups of lines respectively.
[0012] According to another aspect of the embodiment of the present application, a computer device is provided, including: a memory and a processor, wherein the memory is used to store program instructions; the processor is connected to the memory and is used to execute the above-mentioned line determination method for abnormal optical signal attenuation.
[0013] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned line determination method for abnormal optical signal attenuation by running the computer program.
[0014] According to another aspect of the embodiments of the present application, a computer program product is provided, including computer instructions, which, when executed by a processor, implement the above-mentioned method for determining a line with abnormal optical signal attenuation.
[0015] In an embodiment of the present application, multiple line resources in an optical distribution network ODN are obtained, and the multiple line resources are divided into multiple line clusters; the line length and the full-length optical attenuation value of each line in the line cluster to be determined are obtained, and the initial full-length optical attenuation regression equation of each line is determined according to the line length and the full-length optical attenuation value; the optical attenuation offset value of each line is determined according to the initial full-length optical attenuation regression equation, and based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, the lines in the line cluster to be determined are split into multiple groups of lines, wherein the correlation coefficient represents the degree of correlation between the line length and the full-length optical attenuation value; the lines with abnormal optical signal attenuation are selected from the multiple groups of lines respectively, thereby achieving the purpose of determining the optical attenuation regression equation according to the correlation between the line length and the full-length optical attenuation value, thereby achieving the technical effect of avoiding on-site statistical optical attenuation one by one and reducing the workload of optical attenuation judgment, thereby solving the technical problem of large workload of optical attenuation judgment methods in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 It is a hardware structure block diagram of a computer terminal for implementing a line determination method for optical signal attenuation abnormality according to an embodiment of the present application;
[0018] Figure 2 is a flow chart of a method for determining a line with abnormal optical signal attenuation according to an embodiment of the present application;
[0019] Figure 3 is a flow chart of a method for determining a regression equation for each route according to an embodiment of the present application;
[0020] Figure 4 It is a structural diagram of a device for determining a line with abnormal optical signal attenuation according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] 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.
[0022] 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 sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. 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.
[0023] The information collected in the embodiments of the present application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or reject automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.
[0024] In order to facilitate those skilled in the art to better understand the embodiments of the present application, some technical terms or nouns involved in the embodiments of the present application are explained as follows:
[0025] ODN network: Optical Distribution Network, is a FTTH (Fiber To The Home) optical cable network based on PON (Passive Optical Network) equipment. Its main function is to provide an optical transmission channel between OLT (Optical Line Terminal) and ONU (Optical Network Unit). ODN network realizes the transmission and distribution of optical signals through passive optical devices such as optical cables, optical connectors, and optical splitters.
[0026] Global optical attenuation: The optical signal attenuation value from the optical module of the ODN network line to the user end, which refers to the difference between the optical module's light emission value and the user end's received light value.
[0027] Correlation coefficient: generally expressed as r, used to calculate the linear correlation of paired data. Generally, r<0.4 is a weak correlation, r>0.8 is a strong correlation, and the size of the correlation coefficient can be set differently according to actual quality requirements.
[0028] In order to solve the problems existing in the related art, the embodiment of the present application provides a method for determining a line with abnormal optical signal attenuation, which can be run on Figure 1 In the computer terminal shown, the computer terminal is explained below.
[0029] The method for determining a line with abnormal optical signal attenuation provided in the embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal for implementing a method for determining a line with abnormal optical signal attenuation is shown. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions connected via a wired and / or wireless network. In addition, it may also include: a display, a keyboard, a cursor control device, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, and a BUS bus. Those skilled in the art can understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0030] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0031] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the line determination method of optical signal attenuation abnormality in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the above-mentioned line determination method of optical signal attenuation abnormality is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0032] The transmission module 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission module 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 106 can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
[0033] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .
[0034] It should be noted that, in some optional embodiments, the above Figure 1 The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.
[0035] In the above operating environment, an embodiment of the present application provides an embodiment of a method for determining a line with abnormal optical signal attenuation. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0036] Figure 2 is a flow chart of a method for determining a line with abnormal optical signal attenuation according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0037] Step S202, obtaining a plurality of line resources in an optical distribution network ODN, and dividing the plurality of line resources into a plurality of line clusters;
[0038] In step S202, due to the different line optical attenuation characteristics in different areas, the line resources of the ODN network are clustered. According to the actual situation, clustering is performed based on optical modules, racks, computer rooms, etc. For example, if the optical module is selected as the clustering basis, then all lines connected to the same optical module will be classified into the same cluster; if the computer room is selected, then all lines located in the same computer room will be classified into the same cluster. In actual application scenarios, it is generally recommended that each cluster contain 500-1000 users to ensure sufficient data volume for statistical analysis, while not being too large to cause low computing efficiency.
[0039] Step S204, obtaining the line length and the global optical attenuation value of each line in the line cluster to be determined, and determining the initial global optical attenuation regression equation of each line according to the line length and the global optical attenuation value;
[0040] Step S206, determining the optical attenuation offset value of each line according to the initial full-length optical attenuation regression equation, and splitting the lines in the line cluster to be determined into multiple groups of lines based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, wherein the correlation coefficient represents the degree of correlation between the line length and the full-length optical attenuation value;
[0041] Step S208: Select lines with abnormal optical signal attenuation from the multiple groups of lines.
[0042] Through the above steps S202 to S208, multiple line resources in the optical distribution network ODN are obtained, and the multiple line resources are divided into multiple line clusters; the line length and the full-length optical attenuation value of each line in the line cluster to be determined are obtained, and the initial full-length optical attenuation regression equation of each line is determined according to the line length and the full-length optical attenuation value; the optical attenuation offset value of each line is determined according to the initial full-length optical attenuation regression equation, and based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, the lines in the line cluster to be determined are split into multiple groups of lines, wherein the correlation coefficient represents the degree of correlation between the line length and the full-length optical attenuation value; the lines with abnormal optical signal attenuation are selected from the multiple groups of lines, thereby achieving the purpose of determining the optical attenuation regression equation according to the correlation between the line length and the full-length optical attenuation value, thereby achieving the technical effect of avoiding the on-site statistical optical attenuation one by one and reducing the workload of optical attenuation judgment, thereby solving the technical problem of large workload of optical attenuation judgment methods in related technologies. The following is a detailed description.
[0043] In some embodiments of the present application, the correlation coefficient of each line in the line cluster to be determined is determined in the following manner, including: determining a first coefficient based on the line length of each line in the line cluster to be determined; determining a second coefficient based on the full-path optical attenuation value of each line in the line cluster to be determined; determining a third coefficient based on the line length and full-path optical attenuation value of each line in the line cluster to be determined; determining the correlation coefficient based on the first coefficient, the second coefficient and the third coefficient.
[0044] It should be noted that the big data collection results of optical modules and optical modem probes can be used to collect parameters such as the line length of optical signals and the attenuation value of optical signals. It can be understood that the line length is linearly correlated with the overall signal attenuation. In the embodiment of the present application, the line length is compared with the overall optical attenuation value for prediction. The prediction method can be achieved by drawing a scatter plot and comparing it with the typical illustration method to obtain the correlation between the two, and it can be obtained that the line length is positively correlated with the optical signal attenuation.
[0045] The length of each line in the line cluster to be determined is X i , the corresponding full-range light attenuation value (actual light attenuation value) is Y i , i = 1, 2...n, N is a positive integer as an example, the calculation method of the first coefficient is as follows:
[0046]
[0047] Where, L XX represents the first coefficient, and N represents the total number of lines in the line cluster to be determined.
[0048] The second coefficient is calculated as follows:
[0049]
[0050] Where, L YY represents the second coefficient.
[0051] The third coefficient is calculated as follows:
[0052]
[0053] Where, L XY Represents the third coefficient.
[0054] The correlation coefficient r can be determined by the following formula:
[0055]
[0056] In some embodiments of the present application, the specific process of determining the initial full-path optical attenuation regression equation of each line according to the line length and the full-path optical attenuation value is as follows: obtaining the line length average value and the full-path optical attenuation average value of all lines in the line cluster to be determined; determining the slope of the initial full-path optical attenuation regression equation according to the line length average value, the full-path optical attenuation average value, the line length of each line and the full-path optical attenuation value of each line; determining the initial full-path optical attenuation regression equation according to the slope of the initial full-path optical attenuation regression equation.
[0057] Specifically, the calculation method of the full-range light attenuation regression equation is as follows:
[0058]
[0059] In some embodiments of the present application, based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, the specific steps of splitting the lines in the line cluster to be determined into multiple groups of lines are as follows: determining the calculated optical attenuation value of each line according to the initial full-range optical attenuation regression equation, and obtaining the actual optical attenuation value of each line; determining the optical attenuation offset value according to the actual optical attenuation value and the calculated optical attenuation value; when the correlation coefficient is not a preset target value, eliminating the lines in the line cluster to be determined in descending order of the optical attenuation offset values until the correlation coefficient is equal to the preset target value, and determining the remaining lines in the line cluster to be determined as the first group of lines in the multiple groups of lines; and continuing to group the eliminated lines to obtain the remaining groups in the multiple groups of lines.
[0060] It can be understood that after obtaining the first group of lines, the full-range optical attenuation regression equation of each line in the first group of lines is calculated according to each line in the first group of lines, wherein the slope and intercept of the regression equation of the first group of lines are k1 and b1.
[0061] Specifically, the light attenuation offset value ΔY i It can be determined by the following formula:
[0062]
[0063] In the formula, represents the slope, represents the intercept.
[0064] Optionally, the lines may be sorted from large to small according to the square of the optical attenuation offset value, and the lines with larger square of the optical attenuation offset value may be eliminated in sequence.
[0065] It should be noted that the preset target value can be set according to the actual scenario, for example: 0.8.
[0066] In some embodiments of the present application, lines with abnormal optical signal attenuation are selected from multiple groups of lines, respectively, including: obtaining the line length and the full optical attenuation value of each line in the first group of lines; determining the full optical attenuation regression equation of each line in the first group of lines according to the line length and the full optical attenuation value of each line in the first group of lines, and determining it as a central regression equation; dividing the eliminated lines into a second group of lines and a third group of lines according to the optical attenuation offset value; respectively obtaining the full optical attenuation regression equation of the second group of lines and the full optical attenuation regression equation of the third group of lines; selecting an abnormal regression equation from the central regression equation, the full optical attenuation regression equation of the second group of lines, and the full optical attenuation regression equation of the third group of lines, and determining the line corresponding to the abnormal regression equation as the line with abnormal optical signal attenuation.
[0067] The specific steps of dividing the eliminated lines into a second group of lines and a third group of lines among the multiple groups of lines according to the optical attenuation offset value are as follows: determining the lines whose optical attenuation offset values among the eliminated lines are greater than zero as the second group of lines; and determining the lines whose optical attenuation offset values among the eliminated lines are less than zero as the third group of lines.
[0068] It should be noted that after the eliminated lines are divided into the second group of lines and the third group of lines, the second group of lines and the third group of lines can be subdivided into multiple different line groups according to different correlation coefficient target values. The subdivision method is similar to the method of separating the first group of lines, which will not be repeated here. The regression equations of multiple groups of lines (including the first group of lines) are obtained, and the slope and intercept of the regression equation are as follows: k1, k2…k m ; b1, b2…b m , m represents the number of groups of lines.
[0069] Among them, selecting an abnormal regression equation from the central regression equation, the full-length optical attenuation regression equation of the second group of lines, and the full-length optical attenuation regression equation of the third group of lines includes: obtaining a detection target value, the detection target value including: a slope target value and an optical branching device OBD (Optical Branching Device) target value; when the detection target value is the slope target value, determining a regression equation whose slope is greater than the slope target value as an abnormal regression equation; when the detection target value is the OBD target value, determining a regression equation whose optical attenuation value is greater than the OBD target value as an abnormal regression equation.
[0070] It should be noted that the OBD target value refers to the optical attenuation value associated with the optical branching device (Optical Branching Device), that is, the target value of the attenuation amount generated when the optical signal passes through the OBD.
[0071] To further explain the line determination method of the optical signal attenuation abnormality of the present application, the following example is given:
[0072] For example, a certain optical line terminal is connected to 875 broadband users (lines). By calculating the correlation coefficient between the line length of each user and the total optical attenuation, r = 0.37, the slope of the regression equation is 0.1933, and the intercept is 23.7321.
[0073] The offset value ΔY of each user i =(Y i -(0.1933X i +23.7321), and sort them from large to small. When setting the target value of r, 328 users with offset values are removed, and 547 users remain.
[0074] Recalculating the remaining 547 users, we get r = 0.80, the slope of the regression equation is 0.1842, and the intercept is 23.8119. At this time, a strong positive correlation central regression equation is obtained.
[0075] Set the 328 users with larger offset values to ΔY i >0 and ΔY i <0 is divided into parts, and the slope, intercept and regression equation are recalculated for each part.
[0076] Repeat the above method of eliminating lines (users) with large offset values and recalculating the slope and intercept values and regression equations, and finally obtain q regression equations for 875 broadband users:
[0077] y q =k q X+b q .
[0078] Among them, y q represents the calculated optical attenuation value of the qth user, k q represents the slope of the qth user, b q represents the intercept value of the qth user, and X represents the line length.
[0079] Finally, abnormal broadband users are detected.
[0080] Figure 3 A method for calculating the regression equation for each line is also shown, such as Figure 3As shown, the method includes: determining parameters related to optical signal attenuation; clustering line data; calculating the correlation coefficient between line length and full-length optical attenuation; calculating the regression equation between the length of each line in the cluster and the full-length optical attenuation; setting the target value of the required correlation coefficient; calculating the offset value between the actual optical attenuation value of each line and the regression equation; eliminating larger offset values according to the target value of the correlation coefficient to form a new regression equation; calculating the regression equation (central regression equation) of the retained data; and splitting the data to establish multiple regression equations.
[0081] Figure 4 A device for determining a line with abnormal optical signal attenuation according to an embodiment of the present application includes:
[0082] A first acquisition module 40 is used to acquire a plurality of line resources in an optical distribution network ODN, and divide the plurality of line resources into a plurality of line clusters;
[0083] The second acquisition module 42 is used to obtain the line length and the full-range optical attenuation value of each line in the line cluster to be determined, and determine the initial full-range optical attenuation regression equation of each line according to the line length and the full-range optical attenuation value;
[0084] A grouping module 44 is used to determine the optical attenuation offset value of each line according to the initial full-length optical attenuation regression equation, and split the lines in the line cluster to be determined into multiple groups of lines based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, wherein the correlation coefficient represents the correlation degree between the line length and the full-length optical attenuation value;
[0085] The selection module 46 is used to select lines with abnormal optical signal attenuation from the multiple groups of lines.
[0086] Through the above-mentioned line determination device with abnormal optical signal attenuation, multiple line resources in the optical distribution network ODN are obtained, and the multiple line resources are divided into multiple line clusters; the line length and the full-distance optical attenuation value of each line in the line cluster to be determined are obtained, and the initial full-distance optical attenuation regression equation of each line is determined according to the line length and the full-distance optical attenuation value; the optical attenuation offset value of each line is determined according to the initial full-distance optical attenuation regression equation, and based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, the lines in the line cluster to be determined are split into multiple groups of lines, wherein the correlation coefficient represents the degree of correlation between the line length and the full-distance optical attenuation value; the lines with abnormal optical signal attenuation are selected from the multiple groups of lines respectively, thereby achieving the purpose of determining the optical attenuation regression equation according to the correlation between the line length and the full-distance optical attenuation value, thereby achieving the technical effect of avoiding on-site statistical optical attenuation one by one and reducing the workload of optical attenuation judgment, thereby solving the technical problem of large workload of optical attenuation judgment methods in related technologies.
[0087] The grouping module 44 includes: a coefficient submodule, which is used to determine the correlation coefficient of each line in the line cluster to be determined, and is determined in the following manner, including: determining a first coefficient according to the line length of each line in the line cluster to be determined; determining a second coefficient according to the full-length optical attenuation value of each line in the line cluster to be determined; determining a third coefficient according to the line length and full-length optical attenuation value of each line in the line cluster to be determined; and determining the correlation coefficient according to the first coefficient, the second coefficient and the third coefficient.
[0088] The coefficient submodule includes: an equation unit, which is used to determine the initial full-range optical attenuation regression equation of each line according to the line length and the full-range optical attenuation value, including: obtaining the line length average value and the full-range optical attenuation average value of all lines in the line cluster to be determined; determining the slope of the initial full-range optical attenuation regression equation according to the line length average value, the full-range optical attenuation average value, the line length of each line and the full-range optical attenuation value of each line; determining the initial full-range optical attenuation regression equation according to the slope of the initial full-range optical attenuation regression equation.
[0089] The grouping module 44 also includes: a grouping submodule, which is used to split the lines in the line cluster to be determined into multiple groups of lines based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, including: determining the calculated optical attenuation value of each line according to the initial full-range optical attenuation regression equation, and obtaining the actual optical attenuation value of each line; determining the optical attenuation offset value according to the actual optical attenuation value and the calculated optical attenuation value; when the correlation coefficient is not a preset target value, successively eliminating the lines in the line cluster to be determined in the order of the optical attenuation offset values from large to small until the correlation coefficient is equal to the preset target value, and determining the remaining lines in the line cluster to be determined as the first group of lines in the multiple groups of lines; and continuing to group the eliminated lines to obtain the remaining groups in the multiple groups of lines.
[0090] The grouping submodule is used to select lines with abnormal optical signal attenuation from multiple groups of lines respectively, including: obtaining the line length and the full optical attenuation value of each line in the first group of lines; determining the full optical attenuation regression equation of each line in the first group of lines according to the line length and the full optical attenuation value of each line in the first group of lines, and determining it as a central regression equation; dividing the eliminated lines into a second group of lines and a third group of lines according to the optical attenuation offset value; respectively obtaining the full optical attenuation regression equation of the second group of lines and the full optical attenuation regression equation of the third group of lines; selecting an abnormal regression equation from the central regression equation, the full optical attenuation regression equation of the second group of lines, and the full optical attenuation regression equation of the third group of lines, and determining the line corresponding to the abnormal regression equation as the line with abnormal optical signal attenuation.
[0091] The grouping submodule includes: a grouping unit and a detection unit, wherein the grouping unit is used to divide the eliminated lines into a second group of lines and a third group of lines among the multiple groups of lines according to the optical attenuation offset value, including: determining the lines whose optical attenuation offset values are greater than zero among the eliminated lines as the second group of lines; and determining the lines whose optical attenuation offset values are less than zero among the eliminated lines as the third group of lines.
[0092] The detection unit is used to select an abnormal regression equation from the central regression equation, the full-range optical attenuation regression equation of the second group of lines, and the full-range optical attenuation regression equation of the third group of lines, comprising: obtaining a detection target value, the detection target value comprising: a slope target value and an optical branching device OBD target value; when the detection target value is the slope target value, determining a regression equation whose slope is greater than the slope target value as an abnormal regression equation; when the detection target value is the OBD target value, determining a regression equation whose optical attenuation value is greater than the OBD target value as an abnormal regression equation.
[0093] It should be noted that Figure 4 The front-end information collection device shown is used to perform Figure 2 The method for determining a line with abnormal optical signal attenuation is shown, so the relevant explanations in the above method for determining a line with abnormal optical signal attenuation are also applicable to the device for determining a line with abnormal optical signal attenuation, and will not be repeated here.
[0094] An embodiment of the present application further provides a computer device, including: a memory and a processor, wherein the memory is used to store program instructions; and the processor is connected to the memory and is used to execute the above-mentioned line determination method for abnormal optical signal attenuation.
[0095] An embodiment of the present application further provides a non-volatile storage medium, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned line determination method for abnormal optical signal attenuation by running the computer program.
[0096] The embodiment of the present application further provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the method for determining a line with abnormal optical signal attenuation in the present application.
[0097] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0098] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0099] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0101] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0103] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for determining a line with abnormal optical signal attenuation, characterized in that: include: Acquire multiple line resources in an optical distribution network (ODN), and divide the multiple line resources into multiple line clusters; Obtaining the line length and the full-path optical attenuation value of each line in the line cluster to be determined, and determining the initial full-path optical attenuation regression equation of each line according to the line length and the full-path optical attenuation value; Determine the optical attenuation offset value of each line according to the initial full-length optical attenuation regression equation, and split the lines in the line cluster to be determined into multiple groups of lines based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, wherein the correlation coefficient represents the degree of correlation between the line length and the full-length optical attenuation value; Lines with abnormal optical signal attenuation are selected from the multiple groups of lines.
2. The method according to claim 1, characterized in that The correlation coefficient of each line in the line cluster to be determined is determined by the following method, including: Determining a first coefficient according to the line length of each line in the line cluster to be determined; Determining a second coefficient according to the full-range optical attenuation value of each line in the line cluster to be determined; Determine a third coefficient according to the line length and the full-length optical attenuation value of each line in the line cluster to be determined; The correlation coefficient is determined based on the first coefficient, the second coefficient, and the third coefficient.
3. The method according to claim 2, characterized in that Determining an initial full-length optical attenuation regression equation for each line according to the line length and the full-length optical attenuation value includes: Obtaining average line lengths and average full-path optical attenuation values of all lines in the line cluster to be determined; Determine the slope of the initial full-range optical attenuation regression equation according to the average value of the line length, the average value of the full-range optical attenuation, the line length of each line and the full-range optical attenuation value of each line; The initial global light attenuation regression equation is determined according to the slope of the initial global light attenuation regression equation.
4. The method according to claim 1, characterized in that: Based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, the lines in the line cluster to be determined are divided into a plurality of groups of lines, including: Determine the calculated optical attenuation value of each line according to the initial full-range optical attenuation regression equation, and obtain the actual optical attenuation value of each line; Determine the light attenuation offset value according to the actual light attenuation value and the calculated light attenuation value; When the correlation coefficient is not the preset target value, the lines in the line cluster to be determined are eliminated in descending order of the optical attenuation offset values until the correlation coefficient is equal to the preset target value, and the remaining lines in the line cluster to be determined are determined as the first group of lines in the multiple groups of lines; The removed lines are further grouped to obtain the remaining groups in the plurality of groups of lines.
5. The method according to claim 4, characterized in that Select lines with abnormal optical signal attenuation from multiple groups of lines, including: Obtaining the line length and the full-length optical attenuation value of each line in the first group of lines; Determine a full-path optical attenuation regression equation of each line in the first group of lines according to the line length and full-path optical attenuation value of each line in the first group of lines, and determine it as a central regression equation; Dividing the eliminated lines into a second group of lines and a third group of lines according to the light attenuation offset value; Respectively obtaining the full-range optical attenuation regression equation of the second group of lines and the full-range optical attenuation regression equation of the third group of lines; An abnormal regression equation is selected from the central regression equation, the full-range optical attenuation regression equation of the second group of lines, and the full-range optical attenuation regression equation of the third group of lines, and the line corresponding to the abnormal regression equation is determined as the line with abnormal optical signal attenuation.
6. The method according to claim 5, characterized in that Dividing the eliminated lines into a second group of lines and a third group of lines in the multiple groups of lines according to the optical attenuation offset value, comprising: Determine the lines whose optical attenuation offset values are greater than zero among the eliminated lines as the second group of lines; The circuits whose optical attenuation offset values are less than zero among the eliminated circuits are determined as the third group of circuits.
7. The method according to claim 5, characterized in that Selecting an abnormal regression equation from the central regression equation, the full-range optical attenuation regression equation of the second group of lines, and the full-range optical attenuation regression equation of the third group of lines comprises: Acquire detection target values, the detection target values including: a slope target value and an optical branching device OBD target value; In a case where the detection target value is the slope target value, determining a regression equation having a slope greater than the slope target value as an abnormal regression equation; In a case where the detection target value is the OBD target value, a regression equation whose light attenuation value is greater than the OBD target value is determined as an abnormal regression equation.
8. A device for determining a line with abnormal optical signal attenuation, characterized in that: include: A first acquisition module is used to acquire a plurality of line resources in an optical distribution network ODN, and divide the plurality of line resources into a plurality of line clusters; A second acquisition module is used to acquire the line length and the full-path optical attenuation value of each line in the line cluster to be determined, and determine the initial full-path optical attenuation regression equation of each line according to the line length and the full-path optical attenuation value; A grouping module, used to determine the optical attenuation offset value of each line according to the initial full-length optical attenuation regression equation, and split the lines in the line cluster to be determined into multiple groups of lines based on the optical attenuation offset value and the correlation coefficient of each line in the line cluster to be determined, wherein the correlation coefficient represents the degree of correlation between the line length and the full-length optical attenuation value; The selection module is used to select lines with abnormal optical signal attenuation from multiple groups of lines.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory is used to store program instructions; The processor is connected to the memory and is used to execute the line determination method with abnormal optical signal attenuation according to any one of claims 1 to 7.
10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the method for determining a line with abnormal optical signal attenuation as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Optical attenuation node positioning method and device of ODN (Optical Distribution Network), and storage medium
CN117560597A
ODN fault reason determination method and device, electronic equipment and storage medium
CN118199720A
Optical link fault determination method, system and device, and computer readable storage medium
CN118432701A
OTN link fault early warning method and device, electronic equipment and storage medium
CN118802580A
Wavelength power equalization by attenuation in an optical switch
US20020168131A1