Method and device for determining optical cable length, non-volatile storage medium, and processor
By acquiring and analyzing the length and location information of optical cables, and using the Hidden Markov model to determine the length of optical cables, the problem of predicting optical cable consumption is solved, and the precise management and cost control of optical cable consumption is achieved.
Patent Information
- Application Number
- CN202210892117.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-27
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2042-07-27
AI Technical Summary
Communication operators are unable to accurately calculate the optical cable consumption between the last-stage optical splitter and the optical network unit of the newly entered user in advance, resulting in waste of material costs and management difficulties.
By obtaining the position information of the target last-stage optical splitter and the optical network unit of the newly entered user, the correlation relationship between the optical cable length and the position information is established, and the optical cable length is determined using the Hidden Markov model to predict the optical cable consumption.
It realizes precise management of optical cable consumption, reduces material waste, and improves cost control capabilities when business is started.
Smart Images

Figure CN115278415B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method and device for determining the length of an optical cable, a non-volatile storage medium, and a processor. Background Art
[0002] Optical fiber communication is gradually promoted from the core layer and relay layer to the access layer, and the "optical fiber in, copper out" policy is implemented. The access layer communication physical layer evolves from cable to optical fiber, and the optical distribution network technology is mature. The optical distribution network is divided into the trunk section, the wiring section and the introduction section. The introduction section is defined as the section from the final optical splitter to the optical network unit. The installation and maintenance personnel of the communication operator are responsible for the installation, delivery and after-sales maintenance of the introduction section of the optical distribution network. The installation and maintenance personnel of the communication operator need to carry out the wiring construction from the final optical splitter to the optical network unit and open the service.
[0003] The difference in material consumption costs for user service activation is mainly reflected in the consumption of the main material introduction cable. The introduction cable is used to connect the final optical splitter to the optical network unit. The introduction cable consumption of each household varies greatly. Since it is impossible to know the wiring route and calculate the final introduction cable consumption without going to the site, in the existing technology, operators are completely unable to calculate the material costs for public service activation.
[0004] Currently, there is no method to calculate the consumption of the introduced optical cables before the service is opened and delivered. It is only vaguely managed based on the average consumption of each order on a monthly, quarterly, and annual basis, and it is unknown where the consumption of the introduced optical cables is wasted. The disadvantages of not being able to calculate the final consumption of the introduced optical cables are reflected in the following three aspects: 1. It is impossible to accurately calculate the main material consumption of a certain service opening. In the past, it was only based on the comparison between the total amount of service opening and the previous business volume and main material consumption, and the cumulative consumption of a certain unit in a certain period of time was roughly estimated. The error was large, and it was impossible to accurately calculate a certain service opening work order, and it was impossible to start with discretionary and accurate management; 2. Before installation and delivery, since the wiring route has not been determined, it is impossible to know the estimated amount of the introduced optical cable demand, and it is impossible to judge the amount of material preparation and the quality of the wiring route selection; 3. After installation and delivery, the audit personnel cannot know the actual consumption of the introduced optical cables without going to the site, and it is impossible to judge whether the consumption reported by the installation and maintenance personnel is consistent with the actual consumption. It is impossible to evaluate the material waste, saving or corruption of the installation and maintenance personnel, resulting in a huge waste of service opening materials.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The embodiments of the present application provide a method and device for determining the length of an optical cable, a non-volatile storage medium, and a processor, so as to at least solve the technical problem of being unable to predict the optical cable consumption from the final optical splitter to the optical network unit of the new network user due to the inability to know the wiring route from the final optical splitter to the optical network unit of the new network user in advance.
[0007] According to one aspect of an embodiment of the present application, a method for determining the length of an optical cable is provided, comprising: obtaining position information of a first optical network unit of an existing user and position information of a second optical network unit of a new user under a target final-stage optical splitter; obtaining a first target optical cable length of the existing user, and establishing an association relationship between the first target optical cable length and the position information of the first optical network unit of the existing user, wherein the first target optical cable length is the distance between the target final-stage optical splitter and the first optical network unit of the existing user; determining a second target optical cable length corresponding to the new user based on the association relationship and the position information of the second optical network unit of the new user, wherein the second target optical cable length is the distance between the target final-stage optical splitter and the second optical network unit of the new user.
[0008] Optionally, the first target optical cable length is determined by a first optical cable length and a second optical cable length, wherein the first optical cable length is the distance between the optical fiber line terminal and the target final optical splitter; and the second optical cable length is the distance between the optical fiber line terminal and the first optical network unit.
[0009] Optionally, the first target optical cable length is determined by a difference between the second optical cable length and the first optical cable length.
[0010] Optionally, the first optical cable length is obtained from a resource management system, wherein the resource management system is used to manage and call at least one of the following data: optical cable segment length, position information of the splitter, and position information of the network unit; the second optical cable length is obtained from a network management system of the optical fiber line terminal, wherein the network management system is used to manage and call the distance between the passive optical fiber network interface of the optical fiber line terminal and the first optical network unit.
[0011] Optionally, obtaining the location information of the first optical network unit of the existing user and the location information of the second optical network unit of the new user under the target final-stage splitter includes: obtaining the location information of the first optical network unit of the existing user and the location information of the second optical network unit of the new user from the resource management system.
[0012] Optionally, the location information of the first optical network unit includes at least one of the following: installation address information of the first optical network unit, and longitude and latitude information corresponding to the installation address information of the first optical network unit; the location information of the second optical network unit includes at least one of the following: installation address information of the second optical network unit, and longitude and latitude information corresponding to the installation address information of the second optical network unit.
[0013] Optionally, establishing an association relationship between the first target optical cable length and the location information of the first optical network unit of the user who has already joined the network includes: inputting the first target optical cable length and the location information of the first optical network unit of the user who has already joined the network into a hidden Markov model for analysis; establishing an association relationship between the first target optical cable length and the location information of the first optical network unit of the user who has already joined the network based on the analysis result; determining the second target optical cable length corresponding to the new user based on the association relationship and the location information of the second optical network unit of the new user, including: using the filtering function of the hidden Markov model to analyze the association relationship and the location information of the second optical network unit of the new user to determine the second target optical cable length corresponding to the new user.
[0014] Optionally, after determining the second target optical cable length corresponding to the new user, the method further includes: when the optical cable length used by the new user after completing network access is within a target range of the second target optical cable length, determining that the optical cable consumption is reasonable.
[0015] According to another aspect of an embodiment of the present application, a device for determining the length of an optical cable is further provided, comprising:
[0016] An acquisition module is used to acquire the position information of the first optical network unit of the existing user and the position information of the second optical network unit of the new user under the target final optical splitter; an establishment module is used to acquire the first target optical cable length of the existing user and establish an association relationship between the first target optical cable length and the position information of the first optical network unit of the existing user, wherein the first target optical cable length is the distance between the target final optical splitter and the first optical network unit of the existing user; a determination module is used to determine the second target optical cable length corresponding to the new user based on the association relationship and the position information of the second optical network unit of the new user, wherein the second target optical cable length is the distance between the target final optical splitter and the second optical network unit of the new user.
[0017] According to another aspect of the embodiments of the present application, a non-volatile storage medium is provided, the storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the above method for determining the length of the optical cable.
[0018] According to yet another aspect of the embodiments of the present application, a processor is provided, and the processor is used to run a program, wherein the above method for determining the length of an optical cable is executed when the program is run.
[0019] In the embodiment of the present application, the position information of the first optical network unit of the connected user and the position information of the second optical network unit of the newly connected user under the target final optical splitter are obtained; the first target optical cable length of the connected user is obtained, and an association relationship between the first target optical cable length and the position information of the first optical network unit of the connected user is established, wherein the first target optical cable length is the distance between the target final optical splitter and the first optical network unit of the connected user; based on the association relationship and the position information of the second optical network unit of the newly connected user, the second target optical cable length corresponding to the newly connected user is determined, wherein the second target optical cable length In this way, the length of the optical cable from the final optical splitter to the optical network unit of the new user is predicted by using the method of taking the distance between the target final optical splitter and the second optical network unit of the new user as the distance between the target final optical splitter and the second optical network unit of the new user. By means of the correlation relationship between the first target optical cable length and the position information of the first optical network unit of the user who has already joined the network and the position information of the second optical network unit of the new user, the purpose of predicting the optical cable length from the final optical splitter to the optical network unit of the new user is achieved, thereby achieving the technical effect of accurately managing the optical cable consumption, and further solving the technical problem of being unable to predict the optical cable consumption from the final optical splitter to the optical network unit of the new user due to the inability to know the wiring route from the final optical splitter to the optical network unit of the new user in advance. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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:
[0021] Figure 1 is a flow chart of a method for determining the length of an optical cable according to an embodiment of the present application;
[0022] Figure 2 is a flow chart for determining a first target optical cable length according to an embodiment of the present application;
[0023] Figure 3 is a schematic diagram of a hidden Markov model according to an embodiment of the present application;
[0024] Figure 4 is a flow chart of another method for determining the length of an optical cable according to an embodiment of the present application;
[0025] Figure 5 is a flow chart of another method for determining the length of an optical cable according to an embodiment of the present application;
[0026] Figure 6 is a flow chart of another method for determining the length of an optical cable according to an embodiment of the present application;
[0027] Figure 7 It is a structural diagram of a device for determining the length of an optical cable according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] 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.
[0029] 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.
[0030] According to an embodiment of the present application, an embodiment of a method for determining the length of an optical cable is provided. 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.
[0031] Figure 1 is a flow chart of a method for determining the length of an optical cable according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0032] Step S102, obtaining the location information of the first optical network unit of the existing user and the location information of the second optical network unit of the new user under the target final-stage optical splitter.
[0033] The optical splitter, also known as OBD, is a passive device for accessing the fiber-to-the-home mode. It is generally used by operators in the communication industry on the home broadband side. The optical splitter network can be divided into primary mode primary splitting and secondary mode primary and secondary splitting. The primary mode primary splitting is used in rural areas, shops, etc. In this scenario, the optical cross-connection box and other boxes are very large and can accommodate large splitters. The splitter in the box is directly connected to the optical network unit on the user side. When the primary mode is primary splitting, the primary splitter is the final splitter. The secondary mode primary and secondary splitting is used in cities. Generally, the splitter in the optical cross-connection box of the community is the secondary mode primary splitting, which is then sent to the secondary mode secondary splitter on the weak current well side, and then to the optical network unit on the user side. When the secondary mode is primary and secondary splitting, the secondary splitter is the final splitter. Fiber-to-the-home is a transmission method for optical fiber communication. It is to install the optical network unit at the home user or enterprise user. It is the optical access network application type closest to the user in the optical access series except fiber to the desktop. The significant technical feature of fiber to the home is that it not only provides greater bandwidth, but also enhances the network's transparency in data format, rate, wavelength and protocol, relaxes the requirements for environmental conditions and power supply, and simplifies maintenance and installation.
[0034] Step S104, obtaining the first target optical cable length of the networked user, and establishing an association relationship between the first target optical cable length and the location information of the first optical network unit of the networked user, wherein the first target optical cable length is the distance between the target final-stage optical splitter and the first optical network unit of the networked user.
[0035] According to another optional embodiment of the present application, the first target optical cable length of the networked user is the distance from the final optical splitter to the network unit of the networked user. In business, the first target optical cable length is generally referred to as the introduction optical cable length of the networked user.
[0036] Step S106, determining a second target optical cable length corresponding to the new user based on the association relationship and the location information of the second optical network unit of the new user, wherein the second target optical cable length is the distance between the target final-stage optical splitter and the second optical network unit of the new user.
[0037] In some optional embodiments of the present application, based on the correlation between the length of the optical cable introduced by the user who has already been connected to the network and the location information of the optical network unit of the user who has already been connected to the network, combined with the location information of the optical network unit of the new user who is expected to be connected to the network, the length of the optical cable introduced by the new user can be estimated.
[0038] Through the above method, the purpose of predicting the optical cable length from the final optical splitter to the optical network unit of the new user is achieved through the association between the first target optical cable length and the position information of the first optical network unit of the user who has already joined the network and the position information of the second optical network unit of the new user who has joined the network, thereby achieving the technical effect of accurately managing the optical cable consumption, and further solving the technical problem of being unable to predict the optical cable consumption from the final optical splitter to the optical network unit of the new user due to the inability to know the wiring route from the final optical splitter to the optical network unit of the new user in advance.
[0039] According to an optional embodiment of the present application, the first target optical cable length is determined by a first optical cable length and a second optical cable length, wherein the first optical cable length is the distance between the optical fiber line terminal and the target final-stage optical splitter; and the second optical cable length is the distance between the optical fiber line terminal and the first optical network unit.
[0040] According to another optional embodiment of the present application, the optical fiber line terminal, also called an optical terminal, is a central office device of an operator's passive optical network. The optical fiber line terminal mainly has the following two functions: converting the passive optical network signal of the user terminal into the electrical signal of the equipment used by the operator and coordinating the multiplexing between optical network units.
[0041] In some optional embodiments of the present application, the first target optical cable length is determined by a difference between the second optical cable length and the first optical cable length.
[0042] As an optional embodiment of the present application, the first target optical cable length is the distance between the optical fiber line terminal and the first optical network unit minus the distance between the optical fiber line terminal and the final optical splitter.
[0043] In some optional embodiments of the present application, the first optical cable length is obtained from a resource management system, wherein the resource management system is used to manage and call at least one of the following data: optical cable segment length, position information of the splitter, and position information of the network unit; the second optical cable length is obtained from a network management system of the optical fiber line terminal, wherein the network management system is used to manage and call the distance between the passive optical fiber network interface of the optical fiber line terminal and the first optical network unit.
[0044] As another optional embodiment of the present application, the resource management system is a management system for the entire life cycle of the operator's integrated resources, and the scope of resources managed includes but is not limited to: space resources, carrier network resources, cable network resources, optical cable network resources, and other resources. Among them, space resources include regions, sub-regions, stations, computer rooms, standard addresses, etc.; carrier network resources include incoming line rooms, manholes, pipeline sections, pipe holes, poles, etc.; optical cable network resources include: optical cable sections, optical junction boxes, optical fiber splitter boxes, etc. The network management system of the optical fiber line terminal can directly retrieve the distance between the passive optical fiber network interface of the optical fiber line terminal and the first optical network unit.
[0045] Through the above steps, the present application obtains the first target optical cable length of the user who has been connected to the network, or the length of the introduced optical cable of the user who has been connected to the network. It only needs to use the operator's existing resource management system and network management system to obtain relevant information without incurring additional costs. It is convenient, fast and saves manpower and material resources.
[0046] According to an optional embodiment of the present application, the location information of the first optical network unit of the existing user and the location information of the second optical network unit of the new user under the target final-stage splitter are obtained, including: obtaining the location information of the first optical network unit of the existing user and the location information of the second optical network unit of the new user from the resource management system.
[0047] According to another optional embodiment of the present application, the resource management system records the location information of the network units of existing users and new users, and the staff can directly query through the resource management system.
[0048] In some optional embodiments of the present application, the location information of the first optical network unit includes at least one of the following: installation address information of the first optical network unit, and longitude and latitude information corresponding to the installation address information of the first optical network unit; the location information of the second optical network unit includes at least one of the following: installation address information of the second optical network unit, and longitude and latitude information corresponding to the installation address information of the second optical network unit.
[0049] As an optional embodiment of the present application, in urban residential buildings, the network unit installation address information is generally used, and in rural residential buildings, the latitude and longitude information corresponding to the installation address information is used. The address information has six or nine levels, and nine levels of address information are generally used, for example: Unit 201, Building 4, Phase II, Lvjing Huayuan Community, No. 53, Xinmin East Street, Shuimogou District, Urumqi.
[0050] In some optional embodiments of the present application, an association relationship between a first target optical cable length and location information of a first optical network unit of an already connected user is established, including: inputting the first target optical cable length and the location information of the first optical network unit of the already connected user into a hidden Markov model for analysis; establishing an association relationship between the first target optical cable length and the location information of the first optical network unit of the already connected user based on the analysis result; determining a second target optical cable length corresponding to the newly connected user based on the association relationship and the location information of the second optical network unit of the newly connected user, including: utilizing a filtering function of the hidden Markov model to analyze the association relationship and the location information of the second optical network unit of the newly connected user to determine the second target optical cable length corresponding to the newly connected user.
[0051] As another optional embodiment of the present application, a hidden Markov model can be used to determine an implicit correlation between a target optical cable length and the location information of a first optical network unit of an existing user. For example, the correlation is a function, and the location information of a second optical network unit of a new user can be used to estimate the second target optical cable length corresponding to the new user through the function.
[0052] According to an optional embodiment of the present application, after determining the second target optical cable length corresponding to the new user, the method also includes: when the optical cable length used by the new user after completing network access is within the target range of the second target optical cable length, determining that the optical cable consumption is reasonable.
[0053] According to another optional embodiment of the present application, after determining the second target optical cable length corresponding to the new user, the operator can evaluate the consumption of the optical cable: if the material consumption data filled in by the installation and maintenance personnel is within 10% of the second target optical cable length, the consumption of the introduced optical cable of the work order is considered reasonable; if the material consumption data filled in by the installation and maintenance personnel is greater than the second target optical cable length, which increases by 10%, the installation and maintenance team leader is required to verify and evaluate on site; if the material consumption data filled in by the installation and maintenance personnel is less than the second target optical cable length, which decreases by 10%, it is determined that the work order has material consumption savings, and rewards can be given based on the average reduction in material consumption for each monthly work order.
[0054] Through the above steps, the range of required optical cable consumption can be obtained before a user's service is activated and delivered, that is, the optical cable consumption can be accurately estimated before the service is activated and delivered, and finally compared with the actual consumption to evaluate whether the optical cable consumption for this service activation and delivery is normal, and material consumption is controlled on a case-by-case basis, which greatly reduces cost waste and can provide means to find out the material consumption saving capacity and implement incentives.
[0055] Figure 2 is a flow chart for determining a first target optical cable length according to an embodiment of the present application, such as Figure 2As shown, obtain the hanging test distance L of the final OBD: OBD hanging test means that after the operator builds a new final OBD, the acceptance personnel connect a test ONU to the downstream port of the final OBD using a pigtail, and the system collects the full optical attenuation value and full optical transmission length of the ONU to determine whether the final OBD meets the optical transmission requirements for network access and operation. The hanging test results are stored in the operator's resource management system, where the full optical transmission length of each final OBD can be regarded as the full optical transmission distance from the OLT to the OBD, which is recorded as L in this embodiment. Obtain the accurate length N of the access layer optical transmission of the networked user under the final OBD: For a certain user under the final OBD, since the service has been opened long ago, the full optical transmission length of the access layer of the user can be collected through the network management system, that is, the distance from the PON port to the user terminal is read from the OLT network management system, which is recorded as N in this embodiment. Then the accurate value of the actual consumption of the user's introduced optical cable M=NL.
[0056] Figure 3 is a schematic diagram of a hidden Markov model according to an embodiment of the present application, such as Figure 3 As shown in the figure, the hidden Markov model is a statistical model that is used to describe a Markov process with hidden unknown parameters. The key point is to determine the visible observation parameter y from the implicit state parameter x, and then for further analysis, the modeled system is considered to be a statistical Markov model of a Markov process and unobserved states. In short, it is to find the implicit state and law of things from visible observations, and deduce the observation characteristics of the next thing from the implicit state and law.
[0057] Figure 4 is a flow chart of another method for determining the length of an optical cable according to an embodiment of the present application, such as Figure 4 As shown, the method includes:
[0058] In some optional embodiments of the present application, first, the distances M1, M2, M3, ... from the OBD to other users' ONUs under the same final-level OBD are obtained as observation values of the hidden Markov model; secondly, the ONU installation address and longitude and latitude location information of existing users under the same final-level OBD, as well as the final-level OBD address and longitude and latitude location information of the newly installed users are obtained as state values of the hidden Markov model, and the relationship between the observation value and the state is analyzed by scene by scene through decoding of the model, and finally the length M0 of the introduced optical cable of the newly installed user is analyzed by filtering the model.
[0059] Through the above steps, the following effects can be achieved: the consumption of the introduced optical cables can be accurately calculated for each business work order, and whether the consumption of the introduced optical cables for each business is normal can be evaluated, and the consumption of main materials can be controlled on a work order basis; from the employee level, the material usage level of the installation and maintenance personnel can be evaluated in a timely manner, and used to reward and punish each installation and maintenance personnel, with positive and negative incentives in place; from the organizational efficiency level, from the team to the company, the business volume can be combined to calculate whether the material consumption incurred is reasonable, which can provide great help for how to arrange the future material budget and the company's cost management.
[0060] Figure 5 is a flow chart of another method for determining the length of an optical cable according to an embodiment of the present application, such as Figure 5 As shown, the length of the newly installed optical cable introduced to Room 602 is calculated with the nearest existing user of the same type as the reference, so the 14-meter length of Room 702 is used as the reference. Since the installation address of the final OBD obtained from the maintenance production system is the weak current well on the 6th floor, the floor difference between Room 602 and OBD is 0, and the floor difference between Room 702 and OBD is 1, the length of the newly installed optical cable introduced to Room 602 should be 14 meters of Room 702 - 3 meters of floor difference = 11 meters. Similarly, the length of the newly installed optical cable introduced to Room 701 = the length of the newly installed optical cable introduced to Room 501 = 10 meters.
[0061] Figure 6 is a flow chart of another method for determining the length of an optical cable according to an embodiment of the present application, such as Figure 6 As shown,
[0062] Calculate the length of the incoming optical cable of the newly installed user 4. Calculate the straight-line distance based on the longitude and latitude. a:b=2:1. According to the proportional principle of a':b'=a:b, it is estimated that a' is 28 meters, and the length of the incoming optical cable of user 4 is approximately 40 meters. Calculate the length of the incoming optical cable of the newly installed user 5. Calculate the straight-line distance based on the longitude and latitude. c:d=2:3. According to the proportional principle of c':d'=c:d, it is estimated that c' is 22 meters, and the length of the incoming optical cable of user 5 is approximately 22 meters.
[0063] Figure 7 is a structural diagram of a device for determining the length of an optical cable according to an embodiment of the present application, such as Figure 7 As shown, the device comprises:
[0064] An acquisition module 70 is used to acquire the location information of the first optical network unit of the networked user and the location information of the second optical network unit of the new networked user under the target final optical splitter;
[0065] Establishing module 72, used for obtaining the first target optical cable length of the networked user, and establishing the association relationship between the first target optical cable length and the location information of the first optical network unit of the networked user, wherein the first target optical cable length is the distance between the target final optical splitter and the first optical network unit of the networked user;
[0066] The determination module 74 is used to determine the second target optical cable length corresponding to the new user based on the association relationship and the location information of the second optical network unit of the new user, wherein the second target optical cable length is the distance between the target final-stage splitter and the second optical network unit of the new user.
[0067] It should be noted that Figure 7 The preferred implementation of the illustrated embodiment can be seen in Figure 1 The relevant description of the illustrated embodiment will not be repeated here.
[0068] An embodiment of the present application further provides a non-volatile storage medium, the non-volatile storage medium including a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the above method for determining the length of the optical cable.
[0069] A program for a non-volatile storage medium to perform the following functions: obtaining the location information of the first optical network unit of an existing user and the location information of the second optical network unit of a new user under a target final optical splitter; obtaining the first target optical cable length of the existing user, and establishing an association relationship between the first target optical cable length and the location information of the first optical network unit of the existing user, wherein the first target optical cable length is the distance between the target final optical splitter and the first optical network unit of the existing user; determining the second target optical cable length corresponding to the new user based on the association relationship and the location information of the second optical network unit of the new user, wherein the second target optical cable length is the distance between the target final optical splitter and the second optical network unit of the new user.
[0070] The embodiment of the present application further provides a processor, which is used to run a program, wherein the above method for determining the length of the optical cable is executed when the program is run.
[0071] The processor is used to run a program that performs the following functions: obtaining the position information of the first optical network unit of the networked user and the position information of the second optical network unit of the new networked user under the target final optical splitter; obtaining the first target optical cable length of the networked user, and establishing an association relationship between the first target optical cable length and the position information of the first optical network unit of the networked user, wherein the first target optical cable length is the distance between the target final optical splitter and the first optical network unit of the networked user; determining the second target optical cable length corresponding to the new networked user based on the association relationship and the position information of the second optical network unit of the new networked user, wherein the second target optical cable length is the distance between the target final optical splitter and the second optical network unit of the new networked user.
[0072] 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.
[0073] 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.
[0074] 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 the 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.
[0075] 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 on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0076] 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.
[0077] 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 relevant technology 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, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment 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.
[0078] The above is only a preferred implementation 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 the length of an optical cable, characterized in that: include: Obtaining the location information of the first optical network unit of the networked user and the location information of the second optical network unit of the new networked user under the target final-stage optical splitter; Obtaining a first target optical cable length of the user who has logged in, and establishing an association relationship between the first target optical cable length and the location information of the first optical network unit of the user who has logged in, wherein the first target optical cable length is the distance between the target final optical splitter and the first optical network unit of the user who has logged in; Based on the association relationship and the location information of the second optical network unit of the new user, the second target optical cable length corresponding to the new user is determined, wherein the second target optical cable length is the distance between the target final-stage splitter and the second optical network unit of the new user.
2. The method according to claim 1, characterized in that The first target optical cable length is determined by a first optical cable length and a second optical cable length, wherein the first optical cable length is the distance between the optical fiber line terminal and the target final optical splitter; and the second optical cable length is the distance between the optical fiber line terminal and the first optical network unit.
3. The method according to claim 2, characterized in that The first target optical cable length is determined by a difference between the second optical cable length and the first optical cable length.
4. The method according to claim 3, characterized in that The method further comprises: Obtaining the first optical cable length from a resource management system, wherein the resource management system is used to manage and call at least one of the following data: optical cable length, location information of an optical splitter, and location information of an optical network unit; The second optical cable length is obtained from a network management system of the optical fiber line terminal, wherein the network management system is used to manage and call the distance between the passive optical fiber network interface of the optical fiber line terminal and the first optical network unit.
5. The method according to claim 1, characterized in that Obtaining the location information of the first optical network unit of the networked user and the location information of the second optical network unit of the new networked user under the target final optical splitter includes: The location information of the first optical network unit of the user who has joined the network and the location information of the second optical network unit of the user who has newly joined the network are obtained from the resource management system.
6. The method according to claim 1, characterized in that The location information of the first optical network unit includes at least one of the following: installation address information of the first optical network unit, and longitude and latitude information corresponding to the installation address information of the first optical network unit; The location information of the second optical network unit includes at least one of the following: installation address information of the second optical network unit, and longitude and latitude information corresponding to the installation address information of the second optical network unit.
7. The method according to claim 1, characterized in that Establishing an association relationship between the first target optical cable length and the location information of the first optical network unit of the user who has entered the network, including: inputting the first target optical cable length and the location information of the first optical network unit of the user who has entered the network into a hidden Markov model for analysis; establishing an association relationship between the first target optical cable length and the location information of the first optical network unit of the user who has entered the network according to the analysis result; Determine the second target optical cable length corresponding to the new user based on the association relationship and the location information of the second optical network unit of the new user, including: using the filtering function of the hidden Markov model to analyze the association relationship and the location information of the second optical network unit of the new user to determine the second target optical cable length corresponding to the new user.
8. The method according to claim 1, characterized in that After determining the second target optical cable length corresponding to the new network user, the method further includes: When the length of the optical cable used by the new user after completing network access is within the target range of the second target optical cable length, it is determined that the consumption of the optical cable is reasonable.
9. A device for determining the length of an optical cable, characterized in that: include: An acquisition module, used to acquire the location information of the first optical network unit of the networked user and the location information of the second optical network unit of the new networked user under the target final-stage optical splitter; Establishing a module, used to obtain the first target optical cable length of the networked user, and establish an association relationship between the first target optical cable length and the location information of the first optical network unit of the networked user, wherein the first target optical cable length is the distance between the target final optical splitter and the first optical network unit of the networked user; A determination module is used to determine the second target optical cable length corresponding to the new user based on the association relationship and the location information of the second optical network unit of the new user, wherein the second target optical cable length is the distance between the target final-stage splitter and the second optical network unit of the new user.
10. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the method for determining the length of the optical cable according to any one of claims 1 to 8.
