A method, device, electronic device and storage medium for controlling an optical splitter
By obtaining optical power data in the PON network, dividing passive optical network equipment into clusters and adjusting the port output power, the problems of large optical attenuation, unactivated or line interrupted ports are solved, and the effect of improving spectroscopic efficiency and reducing adjustment costs is achieved.
Patent Information
- Application Number
- CN202211330110.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-27
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-10-27
AI Technical Summary
In the existing PON network, due to the long light path and the spectroscopy step by step, the optical attenuation cannot be provided with high-quality services to terminal users. At the same time, the ports that are not activated or have line interruptions consume optical power, resulting in low spectroscopy efficiency.
By acquiring the optical power data of the passive optical network equipment, determining the target spectrometer and dividing the passive optical network equipment into multiple clusters, adjusting the port output power to control optical signal transmission, and improving spectroscopy efficiency.
It has achieved the improvement of spectroscopy efficiency, reduced unnecessary consumption of optical power, reduced the cost of adjustment for optical power, and improved the service quality of optical networks.
Smart Images

Figure CN115765861B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of optical splitter control, and in particular to an optical splitter control method, an optical splitter control device, an electronic device, a computer-readable storage medium and an optical splitter. Background Art
[0002] With the development of communication technology, the application of Passive Optical Network (PON) system in optical communication technology is becoming more and more extensive. The PON system is mainly composed of Optical Line Terminal (OLT), multiple Optical Network Terminal (ONT, also known as "PON terminal router") and the transmission channel Optical Distribution Network (ODN) between the two. Among them, the splitter (Splitter), as a component in ODN, is a passive device connecting OLT and ONU. Its function is to distribute downlink data and concentrate uplink data to achieve the distribution and convergence of optical power.
[0003] However, the existing PON network adopts a hierarchical solution of primary splitting and secondary splitting. Due to the long optical line and the step-by-step splitting, some optical paths have too much optical attenuation, which makes it impossible to provide high-quality services to some end users. At the same time, there are some ports that are not opened or the lines are interrupted in multiple splitters. These ports that are not opened or the lines are interrupted consume a certain amount of optical power. Therefore, how to improve the splitting efficiency has become a problem that technical personnel in this field need to overcome. Summary of the invention
[0004] The embodiments of the present invention provide a method and device for controlling a spectrometer, an electronic device and a computer-readable storage medium to solve the problem of how to improve the efficiency of spectrometry.
[0005] The embodiment of the present invention discloses a method for controlling an optical splitter, which is applied to an optical splitting system, wherein the optical splitting system has a corresponding passive optical network device, and the passive optical network device has a corresponding optical splitter, and may include:
[0006] Acquire first optical power data for the passive optical network device;
[0007] Determine a target optical splitter from the optical splitters, and divide the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data through the target optical splitter;
[0008] Determining a port output power of a passive optical network device corresponding to the cluster;
[0009] generating second optical power data by using the first optical power data and the cluster;
[0010] The second optical power data is used to adjust the port output power to control the target optical splitter and the passive optical network device to send optical signal information.
[0011] Optionally, the step of determining a target optical splitter from the optical splitters and dividing the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data by using the target optical splitter may include:
[0012] Acquire device resource data for the optical splitter; the device resource data includes the number of passive optical network devices;
[0013] generating a clustering condition according to the number of the passive optical network devices and the first optical power data;
[0014] The optical splitter is used as a target optical splitter, and the passive optical network device is divided into a plurality of clusters according to the clustering condition by using the target optical splitter.
[0015] Optionally, the step of determining a target optical splitter from the optical splitters and dividing the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data by using the target optical splitter may include:
[0016] When the first optical power data satisfies a first preset power, the optical splitter is used as a target optical splitter, and the passive optical network device is divided into a plurality of clusters according to the clustering condition by using the target optical splitter; the optical splitter has a corresponding upper optical splitter and a MAC address;
[0017] When the first optical power data does not meet the first preset power, controlling the optical splitter to send the first optical power data and the MAC address to the upper optical splitter; the upper optical splitter is used to receive the first optical power data and the MAC address;
[0018] The upper optical splitter is used as a target optical splitter, and the target optical splitter is controlled to divide the passive optical network device into a plurality of clusters based on the first optical power data and the MAC address.
[0019] Optionally, the passive optical network device has a corresponding photoelectric detector PIN and a received and received light intensity counter, the passive optical network device is used to send the first optical power data to a target optical splitter through the PIN and the received and received light intensity counter, the target optical splitter is used to forward the first optical power data to the optical splitting system, and there are corresponding upper links and optical line terminal equipment OLTs between the multiple clusters, and the step of determining the port output power of the passive optical network device corresponding to the cluster may include:
[0020] receiving the first optical power data sent by the target optical splitter;
[0021] The first optical power data is transmitted between passive optical network devices of different clusters through the upper link and the optical line terminal device OLT device to determine the port output power of the passive optical network device corresponding to the cluster.
[0022] Optionally, the step of generating second optical power data by using the first optical power data and the cluster may include:
[0023] The average power of the first optical power data of the passive optical network devices in the same cluster is calculated, and the average power is used as the second optical power data.
[0024] Optionally, the step of generating second optical power data by using the first optical power data and the cluster may include:
[0025] Determine from the clusters a first sub-cluster in which the first optical power data reaches a preset threshold parameter, and a second sub-cluster in which the first optical power data does not reach the preset threshold parameter;
[0026] Marking the first optical power data corresponding to the first sub-cluster as first sub-optical power data;
[0027] Marking the first optical power data corresponding to the second sub-cluster as second sub-optical power data;
[0028] Calculating a first difference between the first sub-optical power data and the preset threshold parameter;
[0029] Calculating a second difference between the second sub-optical power data and the preset threshold parameter;
[0030] Second optical power data is generated according to the first difference and the second difference.
[0031] The embodiment of the present invention further discloses a splitter control device, which is applied to a splitter system, wherein the splitter system has a corresponding passive optical network device, and the passive optical network device has a corresponding splitter, and may include:
[0032] An optical power data acquisition module, used to acquire first optical power data for the passive optical network device;
[0033] a target optical splitter determination module, configured to determine a target optical splitter from the optical splitters, and divide the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data through the target optical splitter;
[0034] A port output power determination module, used to determine the port output power of the passive optical network device corresponding to the cluster;
[0035] An optical power data generating module, configured to generate second optical power data through the first optical power data and the cluster;
[0036] The port output power adjustment module is used to adjust the port output power by using the second optical power data to control the target optical splitter and the passive optical network device to send optical signal information.
[0037] Optionally, the target spectrometer determination module may include:
[0038] A device resource data acquisition submodule, used to acquire device resource data for the optical splitter; the device resource data includes the number of passive optical network devices;
[0039] A clustering condition generating submodule, used to generate a clustering condition according to the number of the passive optical network devices and the first optical power data;
[0040] The first cluster division submodule is used to use the optical splitter as a target optical splitter and use the target optical splitter to divide the passive optical network device into a plurality of clusters according to the clustering condition.
[0041] Optionally, the target spectrometer determination module may include:
[0042] A target optical splitter determination submodule, used to use the optical splitter as a target optical splitter when the first optical power data meets a first preset power, and use the target optical splitter to divide the passive optical network device into multiple clusters according to the clustering condition; the optical splitter has a corresponding upper-level optical splitter and a MAC address;
[0043] A MAC address sending submodule, used for controlling the optical splitter to send the first optical power data and the MAC address to the upper optical splitter when the first optical power data does not meet the first preset power; the upper optical splitter is used for receiving the first optical power data and the MAC address;
[0044] The second cluster division submodule is used to use the upper optical splitter as a target optical splitter and control the target optical splitter to divide the passive optical network device into multiple clusters based on the first optical power data and the MAC address.
[0045] Optionally, the passive optical network device has a corresponding photoelectric detector PIN and a received and received light intensity counter, the passive optical network device is used to send the first optical power data to a target optical splitter through the PIN and the received and received light intensity counter, the target optical splitter is used to forward the first optical power data to the optical splitting system, and a plurality of the clusters have corresponding upper links and optical line terminal equipment OLT, and the port output power determination module may include:
[0046] An optical power data receiving submodule, configured to receive the first optical power data sent by the target optical splitter;
[0047] The port output power determination submodule is used to transmit the first optical power data between passive optical network devices of different clusters through the upper link and the optical line terminal device OLT device to determine the port output power of the passive optical network device corresponding to the cluster.
[0048] Optionally, the optical power data generating module may include:
[0049] The average power calculation submodule is used to calculate the average power of the first optical power data of the passive optical network devices in the same cluster, and use the average power as the second optical power data.
[0050] Optionally, the optical power data generating module may include:
[0051] a subcluster determination submodule, configured to determine from the cluster a first subcluster in which the first optical power data reaches a preset threshold parameter, and a second subcluster in which the first optical power data does not reach the preset threshold parameter;
[0052] A first sub-optical power marking submodule, used to mark the first optical power data corresponding to the first sub-cluster as first sub-optical power data;
[0053] A second sub-optical power marking submodule, used to mark the first optical power data corresponding to the second sub-cluster as second sub-optical power data;
[0054] A first difference calculation submodule, used for calculating a first difference between the first sub-optical power data and the preset threshold parameter;
[0055] A second difference calculation submodule, used for calculating a second difference between the second sub-optical power data and the preset threshold parameter;
[0056] The optical power data generating submodule is used to generate second optical power data according to the first difference and the second difference.
[0057] The embodiment of the present invention also discloses a splitter, which may have a corresponding passive optical network device, and the passive optical network device has a corresponding splitting system, and the splitting system is used to obtain first optical power data for the passive optical network device; determine a target splitter from the splitter, and divide the passive optical network device into multiple clusters based on a preset rule according to the first optical power data through the target splitter; determine the port output power of the passive optical network device corresponding to the cluster; generate second optical power data through the first optical power data and the cluster; use the second optical power data to adjust the port output power to control the target splitter and the passive optical network device to send optical signal information, and the splitter is used to use the second optical power data to send optical signal information with the passive optical network device when serving as the target splitter.
[0058] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0059] The memory is used to store computer programs;
[0060] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0061] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.
[0062] The embodiments of the present invention include the following advantages:
[0063] In an embodiment of the present invention, first optical power data for the passive optical network device is obtained; a target optical splitter is determined from the optical splitter, and the passive optical network device is divided into a plurality of clusters based on a preset rule according to the first optical power data through the target optical splitter; the port output power of the passive optical network device corresponding to the cluster is determined; second optical power data is generated through the first optical power data and the cluster; and the port output power is adjusted using the second optical power data to control the target optical splitter and the passive optical network device to send optical signal information, thereby improving the splitting efficiency and reducing the adjustment cost for the optical power. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1is a flowchart of a method for controlling an optical splitter provided in an embodiment of the present invention;
[0065] Figure 2 is a structural schematic diagram of a light splitting system provided in an embodiment of the present invention;
[0066] Figure 3 is a schematic diagram of a clustering process provided in an embodiment of the present invention;
[0067] Figure 4 is a schematic diagram of the steps of another clustering process provided in an embodiment of the present invention;
[0068] Figure 5 is a schematic diagram of a process for adjusting power of an optical splitter provided in an embodiment of the present invention;
[0069] Figure 6 is a structural block diagram of a spectrometer control device provided in an embodiment of the present invention;
[0070] Figure 7 It is a hardware structure block diagram of an electronic device provided in each embodiment of the present invention. DETAILED DESCRIPTION
[0071] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0072] In order to enable those skilled in the art to better understand the embodiments of the present invention, the technical terms involved in the embodiments of the present invention are explained below.
[0073] PON: Passive Optical Network, also known as passive optical network, is a pure media network.
[0074] OLT: Optical Line Terminal, also known as OLT, is a terminal device used to connect optical fiber trunk lines.
[0075] ONT: Optical Network Terminal, also known as optical network terminal, is an optical network terminal used at the user end.
[0076] ODN: Optical Distribution Network, also known as optical distribution network, is an optical cable network based on PON equipment. Its function is to provide an optical transmission channel between OLT and ONT.
[0077] Splitter: A passive device that separates the required resonant absorption lines and is commonly used for coupling, branching and distribution of optical signals.
[0078] Passive device: Compared with active devices, passive devices refer to devices that can display their characteristics without the need for external power supply.
[0079] In practical applications, under the current passive optical network technology, splitters are usually used to transmit the central office end, that is, the optical line terminal signal to multiple terminal users. Among them, according to the different distribution methods of the splitters, the splitting schemes are usually classified into primary splitting and secondary splitting. Primary splitting refers to the parallel use of splitters between the optical line terminal and the optical network terminal. The optical line terminal and the splitter are connected through the trunk optical cable, and the optical network terminal and the splitter are connected through the distribution optical cable; secondary splitting refers to connecting the secondary splitter below the primary splitter. The optical splitting is usually cascaded, and the splitters used in the primary splitting and the secondary splitting are directly divided equally. At the same time, in the existing network construction In the optical distribution network ODN, after it is determined, the splitter is fixed. However, in actual work, when the optical network terminal changes, there are unopened ports or line interrupted ports, the fixed equal splitting will lead to unnecessary optical power consumption. In order to reduce the optical power consumption, the optical power needs to be adjusted. However, in the process of adjusting the optical power, the first-level splitting solution needs to use more distribution optical cables and network accessories, and also needs to add additional network infrastructure to achieve the adjustment of optical power. The second-level splitting solution needs to add more active equipment and invest more manpower in post-monitoring and maintenance, which not only increases the investment in equipment cost and manpower cost, but also reduces the splitting efficiency. The embodiments of the present invention provide a splitter control method, device, electronic device and computer-readable storage medium, which adjust the port output power through optical power data, control the target splitter to send optical signal information, so as to accurately adjust the optical power according to the actual optical network terminal situation, thereby improving the splitting efficiency and reducing the adjustment cost of the optical power.
[0080] Reference Figure 1 , shows a flow chart of the steps of a method for controlling an optical splitter provided in an embodiment of the present invention, which may specifically include the following steps:
[0081] Step 101, obtaining first optical power data for the passive optical network device;
[0082] Step 102, determining a target optical splitter from the optical splitters, and dividing the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data through the target optical splitter;
[0083] Step 103, determining the port output power of the passive optical network device corresponding to the cluster;
[0084] Step 104, generating second optical power data by using the first optical power data and the cluster;
[0085] Step 105: Use the second optical power data to adjust the port output power to control the target optical splitter and the passive optical network device to send optical signal information.
[0086] In practical applications, there are some unopened ports or line-interrupted ports in the passive optical network. Continuously transmitting optical power for such ports will inevitably cause unnecessary optical power consumption. Therefore, transmitting optical power only to online ports can effectively improve the port optical power quality of online users.
[0087] In a specific implementation, an embodiment of the present invention is applied to a splitting system, the splitting system may have a corresponding passive optical network device, the passive optical network device may have a corresponding splitter, and optionally, the splitter in the embodiment of the present invention may include an adjustable splitting module, an optical control module, a light intensity counter for transmitting and receiving light, a photoelectric detector PIN, a cluster identifier, a cluster power data collector, a CPU controller, etc., which can realize the reception and transmission of optical power data, clustering of the corresponding passive optical network device according to the clustering conditions, generating a clustering identifier, and adjusting the corresponding port according to the second optical power data sent by the splitting system, thereby adjusting the corresponding passive optical network device to send optical signal information.
[0088] In a specific implementation, the passive optical network device may be a user-side PON device, such as a PON terminal router. PON is a typical passive optical fiber network, which means that (in an optical distribution network) it does not contain any electronic devices and electronic power supplies. The ODN is entirely composed of passive devices such as optical splitters, and does not require expensive active electronic devices. A passive optical network includes an optical line terminal (OLT) installed in a central control station, and a group of supporting optical network units (ONUs) installed in user locations. The embodiment of the present invention can obtain the first optical power data for the passive optical network device, such as "PON terminal router 1". The first optical power data may be the data of the optical signal power received by the passive optical network device. When the optical signal power received by "PON terminal router 1" is "12dB", the first optical power data of the passive optical network device is recorded as "PON terminal router 1_IN_12dB". Of course, the above example is only for example. Those skilled in the art can obtain the first optical power data for any passive optical network device, and the embodiment of the present invention does not limit this.
[0089] In a specific implementation, the embodiment of the present invention can determine a target splitter from the splitter, and divide the passive optical network device into multiple clusters based on the target splitter according to the first optical power data based on a preset rule. For example, the splitters in the passive optical network are "splitter A" and "splitter B". Among them, the acquired first optical power data correspond to splitter A and splitter B respectively, then splitter A and splitter B are used as target splitters, and the passive optical network devices connected to splitter A are "PON terminal router 1", "PON terminal router 2", and "PON terminal router 3". , "PON terminal router 4", the corresponding received optical signal power data are "12dB", "13dB", "14dB", "17dB" respectively. The passive optical network devices connected to splitter B are "PON terminal router 5", "PON terminal router 6", "PON terminal router 7", "PON terminal router 8", and the corresponding received optical signal power data are "10dB", "12dB", "14dB", "16dB" respectively. Splitter A and splitter B can be determined as the target splitters, and splitter A and splitter B can be connected. The passive optical network devices connected to router B are divided into "cluster A" and "cluster B" according to the connected splitters, that is, PON terminal routers 1-4 are divided into cluster A, recorded as "cluster A = splitter A_PON terminal router 1_IN_12dB, splitter A_PON terminal router 2_IN_13dB, splitter A_PON terminal router 3_IN_14dB, splitter A_PON terminal router 4_IN_17dB", and PON terminal routers 5-8 are divided into cluster B, recorded as "cluster B = splitter B_PON terminal router 5_IN_16dB, splitter A_PON terminal router 6_IN_17dB, splitter A_PON terminal router 7_IN_18dB, splitter A_PON terminal router 8_IN_19dB, splitter A_PON terminal router 9_IN_20dB, splitter A_PON terminal router 10_IN_21dB, splitter A_PON terminal router 11_IN_22dB, splitter A_PON terminal router 12_IN_13dB, splitter A_PON terminal router 13_IN_14dB, splitter A_PON terminal router 14_IN_17dB, splitter A_PON terminal router 15_IN_26dB, splitter A_PON terminal router 16_IN_27dB, splitter A_PON terminal router 1 IN_10dB, splitter B_PON terminal router 6_IN_12dB, splitter B_PON terminal router 7_IN_14dB, splitter B_PON terminal router 8_IN_16dB", of course, the above examples are only examples, and those skilled in the art can use any rules to divide the passive optical network devices, including but not limited to dividing according to the splitters connected to the passive optical network devices, dividing according to the first optical power data threshold range, dividing according to the partitions of the service area, etc., and the embodiments of the present invention are not limited to this.
[0090] In a specific implementation, the embodiment of the present invention can determine the port output power of the passive optical network device corresponding to the cluster. For example, if the splitters in the passive optical network are "splitter A" and "splitter B", the passive optical network devices connected to splitter A are "PON terminal router 1", "PON terminal router 2", "PON terminal router 3", and "PON terminal router 4", the port output powers of splitter A corresponding to PON terminal routers 1-4 are "12dB", "13dB", "14dB", and "17dB" respectively, and the passive optical network devices connected to splitter B are "PON terminal router 5", "PON terminal router 6", "PON terminal router 7", and "PON terminal router 8", the port output powers of splitter B corresponding to PON terminal routers 5-8 are "10dB", "12dB", "14dB", and "17dB" respectively. "16dB", the passive optical network equipment corresponding to cluster A is PON terminal router 1-4, and the passive optical network equipment corresponding to cluster B is PON terminal router 5-8, then the output power can be recorded as "Cluster A_splitter A_PON terminal router 1_OUT_12dB", "Cluster A_splitter A_PON terminal router 2_OUT_13dB", "Cluster A_splitter A_PON terminal router 3_OUT_14dB", "Cluster A_splitter A_PON terminal router 4_OUT_17dB", "Cluster B_splitter B_PON terminal router 5_OUT_10dB", "Cluster B_splitter B_PON terminal router 6_OUT_12dB", "Cluster B_splitter B_PON terminal router 7_OUT_14dB", "Cluster B_splitter B_PON terminal router 8_OUT_16dB".
[0091] In practical applications, clustering of passive optical network devices can facilitate the unified statistics of transmit and receive power and power allocation in the later stage, and improve the efficiency of adjusting optical power.
[0092] In a specific implementation, an embodiment of the present invention can generate second optical power data through first optical power data and a cluster. The first optical power data can be the power data of optical signals received by a passive optical network device. For example, if the splitters in the passive optical network are "splitter A", "splitter B" and "splitter C", the passive optical network devices connected to splitter A are "PON terminal router 1", "PON terminal router 2", "PON terminal router 3" and "PON terminal router 4", and the corresponding received optical signal power data are "12dB", "13dB", "14dB" and "17dB" respectively; the passive optical network devices connected to splitter B are "PON terminal router 5", "PON terminal router 6", "PON terminal router 7" and "PON terminal router 8", and the corresponding optical power data are "10dB", "12dB", "13dB", "14dB" and "17dB" respectively. "12dB", "14dB", "16dB", the passive optical network device connected to splitter C is "splitter C_empty", and the corresponding received optical signal power is "empty", PON terminal routers 1-4 correspond to cluster A, PON terminal routers 5-8 correspond to cluster B, "splitter C_empty" corresponds to cluster C, and the average value of the received optical signal power data corresponding to cluster A, cluster B and cluster C is taken as the second optical power data. When the received optical signal power data is "empty", the second optical power data is "0dB", then, after calculation, they are "14dB", "13dB" and "0dB" respectively, recorded as "cluster A_IN_14dB", "cluster B_IN_13dB" and "cluster C_IN_0dB". Of course, the above examples are only examples, and those skilled in the art may use any other method to generate the second optical power data, and the embodiments of the present invention are not limited to this.
[0093] In a specific implementation, the embodiment of the present invention can use the second optical power data to adjust the port output power to control the target splitter and the passive optical network device to send optical signal information. Exemplarily, the splitters in the passive optical network are "splitter A", "splitter B" and "splitter C", and the passive optical network devices connected to splitter A are "PON terminal router 1", "PON terminal router 2", "PON terminal router 3", and "PON terminal router 4", and the corresponding received optical signal power data are "12dB", "13dB", "14dB", and "17dB" respectively; the passive optical network devices connected to splitter B are "PON terminal router 5", "PON terminal router 6", "PON terminal router 7", and "PON terminal router 8", and the corresponding optical power data are "10dB", "12dB", and "17dB" respectively. 14dB", "16dB", the passive optical network device connected to splitter C is "splitter C_empty", and the corresponding received optical signal power is "empty", then splitter A, splitter B and splitter C are used as target splitters. If the port output powers of splitter A corresponding to PON terminal routers 1-4 are "12dB", "13dB", "14dB", and "17dB" respectively, and the port output powers of splitter B corresponding to PON terminal routers 5-8 are "10dB", "12dB", "14dB", and "16dB" respectively, the port output power of splitter C corresponding to "splitter C_empty" is "10dB", and the passive optical network device corresponding to cluster A is PON Terminal routers 1-4, the passive optical network device corresponding to cluster B is PON terminal routers 5-8, and the passive optical network device corresponding to splitter C is "splitter C_empty", then the port output power can be recorded as "Cluster A_splitter A_PON terminal router 1_OUT_12dB", "Cluster A_splitter A_PON terminal router 2_OUT_13dB", "Cluster A_splitter A_PON terminal router 3_OUT_14dB", "Cluster A_splitter A_PON terminal router 4_OUT_17dB", "Cluster B_splitter B_PON terminal router 5_OUT_10dB", "Cluster B_splitter B_PON terminal router 6_ OUT_12dB", "Cluster B_splitter B_PON terminal router 7_OUT_14dB", "Cluster B_splitter B_PON terminal router 8_OUT_16dB", "Cluster C_splitter C_empty_OUT_10dB". At the same time, the second optical power data of cluster A is "14dB", recorded as "Cluster A_IN_14dB", the second optical power data of cluster B is "13dB", recorded as "Cluster B_IN_13dB", and the second optical power data of cluster C is "0dB", recorded as "Cluster C_IN_0dB". Then "14dB" is used as the port output power of the target splitter "splitter A" corresponding to the new cluster A to the PON terminal router 1-4.Then, "13dB" is used as the port output power of the target splitter "splitter B" corresponding to the new cluster B to the PON terminal router 5-8, and "0dB" is used as the port output power of the target splitter "splitter C" corresponding to the new cluster C to the passive optical network device "splitter C_empty", so as to control the splitter A to send an optical signal with an optical power of 14dB to the PON terminal router 1-4, to control the splitter B to send an optical signal with an optical power of 13dB to the PON terminal router 5-8, and to control the splitter C to interrupt the sending of optical signals.
[0094] In an embodiment of the present invention, first optical power data for the passive optical network device is obtained; a target optical splitter is determined from the optical splitter, and the passive optical network device is divided into a plurality of clusters based on a preset rule according to the first optical power data through the target optical splitter; the port output power of the passive optical network device corresponding to the cluster is determined; second optical power data is generated through the first optical power data and the cluster; and the port output power is adjusted using the second optical power data to control the target optical splitter and the passive optical network device to send optical signal information, thereby improving the splitting efficiency and reducing the adjustment cost for the optical power.
[0095] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.
[0096] In an optional embodiment of the present invention, the step of determining a target optical splitter from the optical splitter, and dividing the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data by the target optical splitter comprises:
[0097] Acquire device resource data for the optical splitter; the device resource data includes the number of passive optical network devices;
[0098] generating a clustering condition according to the number of the passive optical network devices and the first optical power data;
[0099] The optical splitter is used as a target optical splitter, and the passive optical network device is divided into a plurality of clusters according to the clustering condition by using the target optical splitter.
[0100] In a specific implementation, the device resource data may be the name and number of the passive optical network device corresponding to the splitter in the passive optical network, which may include the number of passive optical network devices corresponding to the splitter. For example, if the passive optical network devices connected to splitter A are respectively "PON terminal router 1", "PON terminal router 2", "PON terminal router 3", "PON terminal router 4", "PON terminal router 5", "PON terminal router 6", "PON terminal router 7", and "PON terminal router 8", then the splitter device resource data is "Number of PON terminal routers: 8", and the received optical signal power of the PON terminal router is Data is used as the first optical power data. If the received optical signal power data of the PON terminal routers 1-8 are "12dB", "13dB", "14dB", "15dB", "16dB", "17dB", "18dB", and "19dB" respectively, then the generated clustering conditions are "the number is 4, the received optical signal power is 12dB / 13dB / 14dB / 15dB" and "the number is 4, the received optical signal power is 16dB / 17dB / 18B / 19dB". According to the clustering conditions, the PON terminal routers 1-8 are divided into cluster A and cluster B. Cluster A is PON terminal routers 1-4, and cluster B is PON terminal routers 5-8.
[0101] The embodiment of the present invention obtains device resource data for the splitter; the device resource data includes the number of passive optical network devices; generates clustering conditions according to the number of passive optical network devices and the first optical power data; uses the splitter as a target splitter, and uses the target splitter to divide the passive optical network devices into multiple clusters according to the clustering conditions, thereby achieving unified allocation of optical power to the same cluster in the later stage, and further improving the splitting efficiency.
[0102] In an optional embodiment of the present invention, the step of determining a target optical splitter from the optical splitter, and dividing the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data by the target optical splitter comprises:
[0103] When the first optical power data satisfies a first preset power, the optical splitter is used as a target optical splitter, and the passive optical network device is divided into a plurality of clusters according to the clustering condition by using the target optical splitter; the optical splitter has a corresponding upper optical splitter and a MAC address;
[0104] When the first optical power data does not meet the first preset power, controlling the optical splitter to send the first optical power data and the MAC address to the upper optical splitter; the upper optical splitter is used to receive the first optical power data and the MAC address;
[0105] The upper optical splitter is used as a target optical splitter, and the target optical splitter is controlled to divide the passive optical network device into a plurality of clusters based on the first optical power data and the MAC address.
[0106] For example, if the target splitters are splitter A and splitter B, splitter A has an upper-level splitter A1, splitter B has an upper-level splitter B1, the MAC address of splitter A is "9A-80-93-08-1A-33", the MAC address of splitter B is "8D-49-25-E2-52-CF", and the passive optical network devices connected to splitter A are "PON terminal router 1", "PON terminal router 2", "PON terminal router 3", "PON terminal router 4", "PON terminal router 5", "PON terminal router 6", "PON terminal router 7", and "PON terminal router 8". ”, the passive optical network devices connected to splitter B are “PON terminal router 9”, “PON terminal router 10”, “PON terminal router 11”, “PON terminal router 12”, “PON terminal router 13”, “PON terminal router 14”, “PON terminal router 15”, and “PON terminal router 16” respectively. The device resource data corresponding to splitter A and splitter B are both “Number of PON terminal routers: 8”. The received optical signal power data of the PON terminal router is used as the first optical power data. If the received optical signal power data of PON terminal routers 1-8 are “12dB”, “13dB” respectively, , "14dB", "15dB", "16dB", "17dB", "18dB", "19dB", the received optical signal power data of PON terminal routers 9-16 are "12dB", "12dB", "12dB", "12dB", "12dB", "12dB", "12dB", "12dB", "12dB", when the first preset power is "80% PON terminal router received optical signal power is 11dB ~ 16dB", it can be known that the PON terminal routers 1-8 corresponding to splitter A do not meet the first preset power, then the "12dB", "13dB", "14dB", "15dB", "16dB", "17dB", "18dB", "19dB" corresponding to splitter A The first optical power data "15dB", "16dB", "17dB", "18dB", "19dB", "9A-80-93-08-1A-33" are sent to the splitter A1, and A1 is changed to the target splitter. According to the first optical power data and the MAC address "12dB_13dB_14dB_15dB_9A-80-93-08-1A-33", "16dB_17d_8dB_19dB_9A-80-93-08-1A-33", the PON terminal routers 1-16 are divided into clusters A1 and A2. Cluster A1 corresponds to PON terminal routers 1-8, and cluster A2 corresponds to PON terminal routers 9-16.
[0107] The embodiment of the present invention uses the splitter as the target splitter when the first optical power data meets the first preset power, and uses the target splitter to divide the passive optical network device into multiple clusters according to the clustering condition; the splitter has a corresponding upper-level splitter and a MAC address; when the first optical power data does not meet the first preset power, the splitter is controlled to send the first optical power data and the MAC address to the upper-level splitter; the upper-level splitter is used to receive the first optical power data and the MAC address; the upper-level splitter is used as the target splitter, and the target splitter is controlled to divide the passive optical network device into multiple clusters based on the first optical power data and the MAC address, thereby realizing the unified allocation of optical power to the same cluster in the later stage and further improving the splitting efficiency.
[0108] In an optional embodiment of the present invention, the passive optical network device has a corresponding photoelectric detector PIN and a received and received light intensity counter, the passive optical network device is used to send the first optical power data to the target optical splitter through the PIN and the received and received light intensity counter, the target optical splitter is used to forward the first optical power data to the optical splitting system, and there are corresponding upper links and optical line terminal equipment OLTs between the multiple clusters, and the step of determining the port output power of the passive optical network device corresponding to the cluster includes:
[0109] receiving the first optical power data sent by the target optical splitter;
[0110] The first optical power data is transmitted between passive optical network devices of different clusters through the upper link and the optical line terminal device OLT device to determine the port output power of the passive optical network device corresponding to the cluster.
[0111] refer to Figure 2 , Figure 21 is a schematic diagram of the structure of a splitter system provided in an embodiment of the present invention. In a specific implementation, the passive optical network device may be a PON terminal router. Exemplarily, when the target splitter is splitter A, splitter A is connected to PON terminal router 1, PON terminal router 2...PON terminal router n, wherein PON terminal router 1, PON terminal router 2...PON terminal router n, corresponding cluster A includes PON terminal routers 1-n, and the first optical power data corresponding to the PON terminal routers 1-n are "PON terminal router 1_10dB", "PON terminal router 2_12dB"..."PON terminal router n_10dB", and the PON terminal routers The PIN corresponding to the router is PIN1-PINn, the upstream link corresponding to the PON terminal router 1-n is LINE1-LINEn, which is connected to the OLT device and the receive and receive light intensity counter 1-n, and the port output powers on the receive and receive light intensity counter 1-n of the corresponding PON terminal router 1-n are respectively displayed as "OUT1_10dB", "OUT2_11dB", "OUT3_10dB" ... "OUTn_13dB". It can be seen that the port output powers of the PON terminal router 1-n corresponding to cluster A are respectively "OUT1_10dB", "OUT2_11dB", "OUT3_10dB" ... "OUTn_13dB".
[0112] The embodiment of the present invention receives the first optical power data sent by the target splitter; transmits the first optical power data between passive optical network devices of different clusters through the upper link and the OLT device to determine the port output power of the passive optical network device corresponding to the cluster, and determines the port output power to obtain a data basis for subsequent readjustment of optical power allocation, thereby further improving the splitting efficiency.
[0113] In an optional embodiment of the present invention, the step of generating second optical power data by using the first optical power data and the cluster includes:
[0114] The average power of the first optical power data of the passive optical network devices in the same cluster is calculated, and the average power is used as the second optical power data.
[0115] In a specific implementation, for example, if the splitter in cluster A is "splitter A", the passive optical network devices connected to splitter A are "PON terminal router 1", "PON terminal router 2", "PON terminal router 3", and "PON terminal router 4", the corresponding received optical signal power data are "12dB", "13dB", "14dB", and "17dB" respectively, and the average value of the received optical signal power corresponding to PON terminal routers 1-4 is "14dB", then the second optical power data is 14dB.
[0116] The embodiment of the present invention calculates the average power of the first optical power data of the passive optical network devices in the same cluster and uses the average power as the second optical power data, thereby further improving the light splitting efficiency and reducing the adjustment cost for the optical power.
[0117] In an optional embodiment of the present invention, the step of generating second optical power data by using the first optical power data and the cluster includes:
[0118] Determine from the clusters a first sub-cluster in which the first optical power data reaches a preset threshold parameter, and a second sub-cluster in which the first optical power data does not reach the preset threshold parameter;
[0119] Marking the first optical power data corresponding to the first sub-cluster as first sub-optical power data;
[0120] Marking the first optical power data corresponding to the second sub-cluster as second sub-optical power data;
[0121] Calculating a first difference between the first sub-optical power data and the preset threshold parameter;
[0122] Calculating a second difference between the second sub-optical power data and the preset threshold parameter;
[0123] Second optical power data is generated according to the first difference and the second difference.
[0124] In a specific implementation, for example, if the optical splitter in cluster B is optical splitter B, and the passive optical network devices connected to optical splitter B are "PON terminal router 5", "PON terminal router 6", "PON terminal router 7", and "PON terminal router 8", the corresponding received optical signal power data are "10dB", "12dB", "14dB", and "16dB" respectively, and the preset threshold parameter is "received optical signal power = 13dB", then cluster B can be divided into cluster B1, and cluster B1 reaches "received optical signal power = 13dB", corresponding to PON terminal router 7 and PON terminal router 8, and the corresponding optical power data are "14dB" and "16dB", and the optical power data of cluster B1 can be recorded as "cluster B1_P PON terminal router 7_14dB" and "Cluster B1_PON terminal router 8_16dB", cluster B2 has not reached the "received optical signal power = 13dB", corresponding to PON terminal router 5 and PON terminal router 6, the corresponding optical power data are "10dB" and "12dB", the optical power data of cluster B1 can be recorded as "Cluster B2_PON terminal router 5_10dB" and "Cluster B2_PON terminal router 6_12dB", after calculation, the differences between "Cluster B1_PON terminal router 7_14dB" and "Cluster B1_PON terminal router 8_16dB" and "received optical signal power = 13dB" are "+1dB" and "+3dB", recorded as the first difference, "Cluster B2_PON terminal router 7_14dB" and "Cluster B1_PON terminal router 8_16dB" are "+1dB" and "+3dB", recorded as the first difference, "Cluster B2_PON terminal router 8_16dB" The differences between "PON terminal router 5_10dB" and "Cluster B2_PON terminal router 6_12dB" and "received optical signal power = 13dB" are "-3dB" and "-1dB" respectively, which are recorded as the second difference. The optical power data in cluster B1 takes the maximum value "16dB", corresponding to PON terminal router 8, and the minimum value "-3dB" is taken in the second difference. The maximum value "16dB" of the optical power data in cluster B1 is subtracted from the absolute value 3dB of the minimum value in the second difference to obtain the second optical power data "13dB" of cluster B1 corresponding to PON terminal router 8. The second largest value "14dB" is taken from cluster B1, corresponding to PON terminal router 7. The second difference takes the second smallest value "-1dB", and the second optical power data in cluster B1 is used as the second The value "14dB" minus the absolute value 1dB of the minimum value in the second difference, obtains the second optical power data "13dB" corresponding to the PON terminal router 7 in cluster B1, takes the maximum value "3dB" from the first difference, takes the minimum value "10dB" from cluster B2, corresponding to PON terminal router 5, adds the first optical power value of PON terminal router 5 to the absolute value 3dB of the minimum value in the first difference, obtains the second optical power data "13dB" corresponding to the PON terminal router 5 in cluster B2, takes the second minimum value "12dB" from cluster B2, corresponding to PON terminal router 6, takes the second largest value "1dB" in the first difference, adds the first optical power value of PON terminal router 6 to the absolute value 1dB of the first minimum value in the first difference,The second optical power data "13dB" corresponding to the PON terminal router 6 in cluster B2 is obtained. Of course, the above example is only an example, and those skilled in the art may use other calculation rules to calculate the first difference, the second difference and the first optical power data to generate the second optical power data, and the embodiment of the present invention does not limit this.
[0125] The embodiment of the present invention determines from the cluster a first sub-cluster in which the first optical power data reaches a preset threshold parameter, and a second sub-cluster in which the first optical power data does not reach the preset threshold parameter; marks the first optical power data corresponding to the first sub-cluster as first sub-optical power data; marks the first optical power data corresponding to the second sub-cluster as second sub-optical power data; calculates a first difference between the first sub-optical power data and the preset threshold parameter; calculates a second difference between the second sub-optical power data and the preset threshold parameter; and generates second optical power data based on the first difference and the second difference, thereby improving the light splitting efficiency and reducing the adjustment cost for the optical power.
[0126] The embodiment of the present invention also discloses a splitter, wherein the splitter has a corresponding passive optical network device, and the passive optical network device has a corresponding splitting system, wherein the splitting system is used to obtain first optical power data for the passive optical network device; determine a target splitter from the splitter, and divide the passive optical network device into multiple clusters based on a preset rule according to the first optical power data through the target splitter; determine the port output power of the passive optical network device corresponding to the cluster; generate second optical power data through the first optical power data and the cluster; use the second optical power data to adjust the port output power to control the target splitter to send optical signal information with the passive optical network device, and the splitter is used to use the second optical power data to send optical signal information with the passive optical network device when serving as a target splitter.
[0127] As for the embodiment of the optical splitter, since it is basically similar to the embodiment of the optical splitter system, the description is relatively simple, and the relevant parts can be referred to the partial description of the embodiment of the optical splitter system.
[0128] In order to enable those skilled in the art to better understand the embodiments of the present invention, a complete example is used below to illustrate the embodiments of the present invention.
[0129] The spectrometer in the embodiment of the present invention may include an adjustable spectrometer module, an optical control module, a PIN for receiving and transmitting light intensity, a cluster identifier, a cluster power data collector, a CPU controller, etc. The cluster data of the spectrometer is formed according to the clustering process and the cluster data is transmitted through its upper system. Among them, the purpose of clustering is to make the same statistics of these transmit and receive powers in the future, unify the data, and realize the unified power distribution between the same clusters according to certain rules. After the transmission of cluster data is completed, it provides an effective basis for the power adjustment between clusters, so that when splitting, optical power is not allocated to ports that are not opened, unused or have interrupted lines, but used for other online ports, effectively improving the port optical power quality of online users, thereby improving the service quality of optical networks, so as to achieve reasonable use of idle optical power and improve the service quality of optical networks. The current ODN network adopts the first-level splitting and second-level splitting scheme of step-by-step classification. Due to the long optical line and step-by-step splitting, the optical attenuation of some optical paths is too large, resulting in the inability to provide high-quality services for some terminal users; at the same time, there are some ports that are not opened or have interrupted lines in multiple splitters. Since the current splitters adopt the principle of direct equal splitting, these ports that are not opened or have interrupted lines consume a certain amount of optical power.
[0130] The present invention includes three process links: clustering process, clustering power adjustment process (total process), and clustering power adjustment process (sub-process).
[0131] The specific process of clustering is as follows:
[0132] refer to Figure 3 , Figure 3 It is a schematic diagram of a clustering process provided in an embodiment of the present invention.
[0133] The user PON uploads optical power and other data. At the same time, the system collects splitter and PON equipment resource data;
[0134] Set clustering conditions, such as the principle of equal power for users in the same cluster and the principle of minimum threshold for users in the same cluster (such as receiving power greater than -24dbm);
[0135] The system completes the allocation of cluster identifiers based on the statistical data and sends cluster data to the optical splitter.
[0136] refer to Figure 4 , Figure 4 It is a schematic diagram of the steps of another clustering process provided in an embodiment of the present invention.
[0137] The user PON uploads data such as optical power to its secondary optical splitter;
[0138] The secondary optical splitter determines the optical power information of the downstream PON users.
[0139] If the conditions for forming a cluster are met, for example, there are 6 online users, 2 of which do not meet the power standard, and the power sent to the other 4 PON devices can be adjusted to meet the power standards of all 6 PON users, then a cluster identification code is generated by itself;
[0140] When the conditions for the secondary optical splitter to form a cluster cannot be met, it continues to report data to the upper optical splitter;
[0141] The upper level optical splitter uniformly determines whether the clustering conditions are met;
[0142] When the clustering conditions are met, the clustering information is sent to the secondary optical splitter;
[0143] When the primary optical splitter also fails to meet the clustering conditions, the data continues to be reported to the upper-level device and network management;
[0144] Send clustering information to the primary optical splitter.
[0145] The specific process of the cluster power adjustment process (overall process) is as follows:
[0146] The cluster data of the optical splitter is formed according to the above clustering process, and the cluster data is transmitted through its upper-level system.
[0147] The purpose of clustering is to make the same statistics of these transmit and receive powers in the future, and to uniformly allocate power in the future; after completing the transmission of cluster data, it provides an effective basis for power adjustment between clusters; according to the uniformity of data between clusters and certain rules, the uniform allocation of power between the same clusters is realized. For example:
[0148] (1) Based on the principle that the power of users in the same cluster is equal.
[0149] (2) Based on the principle of the minimum threshold of users in the same cluster:
[0150] The specific process of the cluster power adjustment process (sub-process) is as follows:
[0151] refer to Figure 5 , Figure 5 It is a schematic diagram of a process for adjusting the power of a spectrometer provided in an embodiment of the present invention, wherein the received light intensity counter may correspond to the received light intensity timer.
[0152] The power adjustment process can be based on the principle that the power of users in the same cluster is equal:
[0153] (1) The user-side PON equipment feeds back optical power information to the secondary optical splitter through the PIN and the received light intensity timer;
[0154] (2) Cluster data is transmitted between clusters through upper links and OLT equipment, and the power of each port of the user PON under the same cluster is counted;
[0155] (3) Then, the secondary splitters or primary splitters of the same cluster average the power;
[0156] (4) The upper optical splitter and optical module reallocate the output power to each port of the cluster optical splitter, and re-set the power of each output of each adjustable optical module, which is controlled by its optical control module;
[0157] (5) Then, the optical splitter of this cluster also re-sets the power of each outlet of each adjustable optical module, and its optical control module is responsible for controlling the output power.
[0158] (6) The PON device and the upstream optical splitter exchange optical signal information in real time to facilitate the timely update of cluster data.
[0159] Optionally, the adjustment process may be performed based on the principle of the minimum threshold of users in the same cluster:
[0160] The process is basically the same as the "power adjustment process based on the principle of equal power of users in the same cluster". Then the secondary splitter or primary splitter of the same cluster further clusters the power, calculates that the users who have not reached the cluster threshold are one sub-cluster (sub-cluster that has not reached the threshold), and the users who have reached the threshold are another sub-cluster (sub-cluster that has reached the threshold). The user power required by the sub-cluster that has not reached the threshold is calculated and allocated from the sub-cluster that has reached the threshold. The required adjustment power is allocated to different users according to the difference ratio.
[0161] The optical splitter includes an adjustable optical splitter module, an optical control module, a PIN for counting the intensity of light transmitted and received, a cluster identifier, a cluster power data collector, a CPU controller, etc. The above method forms clusters step by step through the power reporting of the user's PON equipment and related judgment conditions (such as the principle of equal power of users in the same cluster and the principle of the minimum threshold of users in the same cluster), forms cluster data of the optical splitter according to the clustering process, and transmits the cluster data through its upper system. The purpose of clustering is to make the same statistics of these transmit and receive powers in the later stage and to uniformly allocate power in the later stage. After the transmission of cluster data is completed, it provides an effective basis for power adjustment between clusters. According to the data unification between clusters and certain rules, the power is uniformly distributed between the same clusters. At the same time, the light receiving intensity timer of the user-side PON device feeds back the optical power information to the secondary optical splitter. The cluster data is transmitted between the clusters through the upper link and OLT equipment, and then the power of each port of the user PON under the same cluster is counted; then, the secondary optical splitter or the primary optical splitter of the same cluster averages the power; the upper optical splitter and the optical module reallocate the output power to each port of the cluster optical splitter, and reset the power of each outlet for each adjustable optical module. The optical splitter of the cluster also resets the power of each outlet for each adjustable optical module, and completes the adjustment of the expected optical power. Then, the power is further clustered through the secondary optical splitter or the primary optical splitter of the same cluster, and the users who have not reached the cluster threshold are calculated as one sub-cluster (the sub-cluster that has not reached the threshold), and the users who have reached the threshold are another sub-cluster (the sub-cluster that has reached the threshold). The user power required by the sub-cluster that has not reached the threshold is calculated, and it is allocated from the sub-cluster that has reached the threshold. The required adjustment power is allocated according to the difference ratio based on the unused users, which realizes the automatic collection of user optical power in a certain area (cluster). Through statistical calculation, reasonable optical power is provided for each port. In case of optical cable interruption, user offline, etc., the originally allocated optical power is reasonably used to provide optical power for other ports in use.
[0162] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0163] Reference Figure 6 , shows a structural block diagram of a spectrometer control device provided in an embodiment of the present invention, which may specifically include the following modules:
[0164] An optical power data acquisition module 601 is used to acquire first optical power data for the passive optical network device;
[0165] A target optical splitter determination module 602, configured to determine a target optical splitter from the optical splitters, and divide the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data through the target optical splitter;
[0166] A port output power determination module 603, configured to determine the port output power of the passive optical network device corresponding to the cluster;
[0167] An optical power data generating module 604, configured to generate second optical power data using the first optical power data and the cluster;
[0168] The port output power adjustment module 605 is used to adjust the port output power by using the second optical power data, so as to control the target optical splitter and the passive optical network device to send optical signal information.
[0169] Optionally, the target spectrometer determination module may include:
[0170] A device resource data acquisition submodule, used to acquire device resource data for the optical splitter; the device resource data includes the number of passive optical network devices;
[0171] A clustering condition generating submodule, used to generate a clustering condition according to the number of the passive optical network devices and the first optical power data;
[0172] The first cluster division submodule is used to use the optical splitter as a target optical splitter and use the target optical splitter to divide the passive optical network device into a plurality of clusters according to the clustering condition.
[0173] Optionally, the target spectrometer determination module may include:
[0174] A target optical splitter determination submodule, used to use the optical splitter as a target optical splitter when the first optical power data meets a first preset power, and use the target optical splitter to divide the passive optical network device into multiple clusters according to the clustering condition; the optical splitter has a corresponding upper-level optical splitter and a MAC address;
[0175] A MAC address sending submodule, used for controlling the optical splitter to send the first optical power data and the MAC address to the upper optical splitter when the first optical power data does not meet the first preset power; the upper optical splitter is used for receiving the first optical power data and the MAC address;
[0176] The second cluster division submodule is used to use the upper optical splitter as a target optical splitter and control the target optical splitter to divide the passive optical network device into multiple clusters based on the first optical power data and the MAC address.
[0177] Optionally, the passive optical network device has a corresponding photoelectric detector PIN and a received and received light intensity counter, the passive optical network device is used to send the first optical power data to a target optical splitter through the PIN and the received and received light intensity counter, the target optical splitter is used to forward the first optical power data to the optical splitting system, and a plurality of the clusters have corresponding upper links and optical line terminal equipment OLT, and the port output power determination module may include:
[0178] An optical power data receiving submodule, configured to receive the first optical power data sent by the target optical splitter;
[0179] The port output power determination submodule is used to transmit the first optical power data between passive optical network devices of different clusters through the upper link and the optical line terminal device OLT device to determine the port output power of the passive optical network device corresponding to the cluster.
[0180] Optionally, the optical power data generating module may include:
[0181] The average power calculation submodule is used to calculate the average power of the first optical power data of the passive optical network devices in the same cluster, and use the average power as the second optical power data.
[0182] Optionally, the optical power data generating module may include:
[0183] a subcluster determination submodule, configured to determine from the cluster a first subcluster in which the first optical power data reaches a preset threshold parameter, and a second subcluster in which the first optical power data does not reach the preset threshold parameter;
[0184] A first sub-optical power marking submodule, used to mark the first optical power data corresponding to the first sub-cluster as first sub-optical power data;
[0185] A second sub-optical power marking submodule, used to mark the first optical power data corresponding to the second sub-cluster as second sub-optical power data;
[0186] A first difference calculation submodule, used for calculating a first difference between the first sub-optical power data and the preset threshold parameter;
[0187] A second difference calculation submodule, used for calculating a second difference between the second sub-optical power data and the preset threshold parameter;
[0188] The optical power data generating submodule is used to generate second optical power data according to the first difference and the second difference.
[0189] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0190] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned spectrometer control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0191] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned embodiment of the optical splitter control method is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0192] Figure 7 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0193] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and a power supply 711. Those skilled in the art will appreciate that Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0194] It should be understood that in the embodiment of the present invention, the radio frequency unit 701 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 710 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 701 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
[0195] The electronic device provides users with wireless broadband Internet access through the network module 702, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0196] The audio output unit 703 can convert the audio data received by the RF unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output it as sound. Moreover, the audio output unit 703 can also provide audio output related to a specific function performed by the electronic device 700 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, etc.
[0197] The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processor (GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 706. The image frame processed by the graphics processor 7041 can be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702. The microphone 7042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 701 in the case of a telephone call mode.
[0198] The electronic device 700 also includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 7061 and / or the backlight when the electronic device 700 is moved to the ear. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 705 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0199] The display unit 706 is used to display information input by the user or information provided to the user. The display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0200] The user input unit 707 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 7071 or near the touch panel 7071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 7071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 710, receives the command sent by the processor 710 and executes it. In addition, the touch panel 7071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 7071, the user input unit 707 may also include other input devices 7072. Specifically, other input devices 7072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.
[0201] Furthermore, the touch panel 7071 may be overlaid on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it transmits the information to the processor 710 to determine the type of the touch event. Then, the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Figure 7 In the figure, the touch panel 7071 and the display panel 7061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0202] The interface unit 708 is an interface for connecting an external device to the electronic device 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 700 or may be used to transmit data between the electronic device 700 and an external device.
[0203] The memory 709 can be used to store software programs and various data. The memory 709 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 709 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0204] The processor 710 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 709, and calling data stored in the memory 709, so as to monitor the electronic device as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 710.
[0205] The electronic device 700 may also include a power supply 711 (such as a battery) for supplying power to each component. Preferably, the power supply 711 may be logically connected to the processor 710 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0206] In addition, the electronic device 700 includes some functional modules not shown, which will not be described in detail here.
[0207] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0208] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0209] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0210] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0211] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0212] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as 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 devices or units, which can be electrical, mechanical or other forms.
[0213] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0214] In addition, each functional unit in each embodiment of the present invention 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.
[0215] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including 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 the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0216] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for controlling a spectrometer, characterized in that: The method is applied to a splitter system, the splitter system has a corresponding passive optical network device, and the passive optical network device has a corresponding optical splitter, including: Acquire first optical power data for the passive optical network device; the first optical power data is data of the power of an optical signal received by the passive optical network device; Determine a target optical splitter from the optical splitters, and divide the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data through the target optical splitter; Determining a port output power of a passive optical network device corresponding to the cluster; generating second optical power data by using the first optical power data and the cluster; The second optical power data is used to adjust the port output power to control the target optical splitter and the passive optical network device to send optical signal information; The step of determining a target optical splitter from the optical splitter, and dividing the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data by using the target optical splitter comprises: When the first optical power data meets the first preset power, the optical splitter is used as a target optical splitter, and the passive optical network device is divided into a plurality of clusters according to a clustering condition by using the target optical splitter; the optical splitter has a corresponding upper optical splitter and a MAC address; When the first optical power data does not meet the first preset power, controlling the optical splitter to send the first optical power data and the MAC address to the upper optical splitter; the upper optical splitter is used to receive the first optical power data and the MAC address; Using the upper optical splitter as a target optical splitter, and controlling the target optical splitter to divide the passive optical network device into a plurality of clusters based on the first optical power data and the MAC address; The passive optical network device has a corresponding photoelectric detector PIN and a received and received light intensity counter, the passive optical network device is used to send the first optical power data to a target optical splitter through the PIN and the received and received light intensity counter, the target optical splitter is used to forward the first optical power data to the optical splitting system, and a plurality of the clusters have corresponding upper links and optical line terminal devices OLT, and the step of determining the port output power of the passive optical network device corresponding to the cluster includes: receiving the first optical power data sent by the target optical splitter; Transmitting first optical power data between passive optical network devices of different clusters through the upper link and the optical line terminal device OLT device to determine the port output power of the passive optical network device corresponding to the cluster; The step of generating second optical power data by using the first optical power data and the cluster comprises: The average power of the first optical power data of the passive optical network devices in the same cluster is calculated, and the average power is used as the second optical power data.
2. The method according to claim 1, characterized in that: The step of determining a target optical splitter from the optical splitter, and dividing the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data by using the target optical splitter comprises: Acquire device resource data for the optical splitter; the device resource data includes the number of passive optical network devices; generating a clustering condition according to the number of the passive optical network devices and the first optical power data; The optical splitter is used as a target optical splitter, and the passive optical network device is divided into a plurality of clusters according to the clustering condition by using the target optical splitter.
3. A method for controlling a spectrometer, characterized in that: The method is applied to a splitter system, the splitter system has a corresponding passive optical network device, and the passive optical network device has a corresponding optical splitter, including: Acquire first optical power data for the passive optical network device; the first optical power data is data of the power of an optical signal received by the passive optical network device; Determine a target optical splitter from the optical splitters, and divide the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data through the target optical splitter; Determining a port output power of a passive optical network device corresponding to the cluster; generating second optical power data by using the first optical power data and the cluster; The second optical power data is used to adjust the port output power to control the target optical splitter and the passive optical network device to send optical signal information; The step of determining a target optical splitter from the optical splitter, and dividing the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data by using the target optical splitter comprises: When the first optical power data meets the first preset power, the optical splitter is used as a target optical splitter, and the passive optical network device is divided into a plurality of clusters according to a clustering condition by using the target optical splitter; the optical splitter has a corresponding upper optical splitter and a MAC address; When the first optical power data does not meet the first preset power, controlling the optical splitter to send the first optical power data and the MAC address to the upper optical splitter; the upper optical splitter is used to receive the first optical power data and the MAC address; Using the upper optical splitter as a target optical splitter, and controlling the target optical splitter to divide the passive optical network device into a plurality of clusters based on the first optical power data and the MAC address; The passive optical network device has a corresponding photoelectric detector PIN and a received and received light intensity counter, the passive optical network device is used to send the first optical power data to a target optical splitter through the PIN and the received and received light intensity counter, the target optical splitter is used to forward the first optical power data to the optical splitting system, and a plurality of the clusters have corresponding upper links and optical line terminal devices OLT, and the step of determining the port output power of the passive optical network device corresponding to the cluster includes: receiving the first optical power data sent by the target optical splitter; Transmitting first optical power data between passive optical network devices of different clusters through the upper link and the optical line terminal device OLT device to determine the port output power of the passive optical network device corresponding to the cluster; Determine from the clusters a first sub-cluster in which the first optical power data reaches a preset threshold parameter, and a second sub-cluster in which the first optical power data does not reach the preset threshold parameter; Marking the first optical power data corresponding to the first sub-cluster as first sub-optical power data; Marking the first optical power data corresponding to the second sub-cluster as second sub-optical power data; Calculating a first difference between the first sub-optical power data and the preset threshold parameter; Calculating a second difference between the second sub-optical power data and the preset threshold parameter; Second optical power data is generated according to the first difference and the second difference.
4. A spectrometer control device, characterized in that: The device is applied to a splitting system, the splitting system has a corresponding passive optical network device, and the passive optical network device has a corresponding splitter, including: An optical power data acquisition module, used to acquire first optical power data for the passive optical network device; a target optical splitter determination module, configured to determine a target optical splitter from the optical splitters, and divide the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data through the target optical splitter; A port output power determination module, used to determine the port output power of the passive optical network device corresponding to the cluster; An optical power data generating module, configured to generate second optical power data through the first optical power data and the cluster; A port output power adjustment module, used to adjust the port output power using the second optical power data to control the target optical splitter and the passive optical network device to send optical signal information; The target spectrometer determination module comprises: A target optical splitter determination submodule, used to use the optical splitter as a target optical splitter when the first optical power data meets a first preset power, and use the target optical splitter to divide the passive optical network device into multiple clusters according to a clustering condition; the optical splitter has a corresponding upper-level optical splitter and a MAC address; A MAC address sending submodule, used for controlling the optical splitter to send the first optical power data and the MAC address to the upper optical splitter when the first optical power data does not meet the first preset power; the upper optical splitter is used for receiving the first optical power data and the MAC address; A second cluster division submodule, used to use the upper optical splitter as a target optical splitter, and control the target optical splitter to divide the passive optical network device into multiple clusters based on the first optical power data and the MAC address; The passive optical network device has a corresponding photoelectric detector PIN and a received and received light intensity counter, the passive optical network device is used to send the first optical power data to the target optical splitter through the PIN and the received and received light intensity counter, the target optical splitter is used to forward the first optical power data to the optical splitting system, and the plurality of clusters have corresponding upper links and optical line terminal equipment OLT, and the port output power determination module includes: An optical power data receiving submodule, configured to receive the first optical power data sent by the target optical splitter; A port output power determination submodule, used to transmit first optical power data between passive optical network devices of different clusters through the upper link and the optical line terminal device OLT device to determine the port output power of the passive optical network device corresponding to the cluster; The optical power data generating module comprises: The average power calculation submodule is used to calculate the average power of the first optical power data of the passive optical network devices in the same cluster, and use the average power as the second optical power data.
5. The device according to claim 4, characterized in that The target spectrometer determination module comprises: A device resource data acquisition submodule, used to acquire device resource data for the optical splitter; the device resource data includes the number of passive optical network devices; A clustering condition generating submodule, used to generate a clustering condition according to the number of the passive optical network devices and the first optical power data; The first cluster division submodule is used to use the optical splitter as a target optical splitter and use the target optical splitter to divide the passive optical network device into a plurality of clusters according to the clustering condition.
6. A spectrometer control device, characterized in that: The device is applied to a splitting system, the splitting system has a corresponding passive optical network device, and the passive optical network device has a corresponding splitter, including: An optical power data acquisition module, used to acquire first optical power data for the passive optical network device; a target optical splitter determination module, configured to determine a target optical splitter from the optical splitters, and divide the passive optical network device into a plurality of clusters based on a preset rule according to the first optical power data through the target optical splitter; A port output power determination module, used to determine the port output power of the passive optical network device corresponding to the cluster; An optical power data generating module, configured to generate second optical power data through the first optical power data and the cluster; A port output power adjustment module, used to adjust the port output power using the second optical power data to control the target optical splitter and the passive optical network device to send optical signal information; The target spectrometer determination module comprises: A target optical splitter determination submodule, used to use the optical splitter as a target optical splitter when the first optical power data meets a first preset power, and use the target optical splitter to divide the passive optical network device into multiple clusters according to a clustering condition; the optical splitter has a corresponding upper-level optical splitter and a MAC address; A MAC address sending submodule, used for controlling the optical splitter to send the first optical power data and the MAC address to the upper optical splitter when the first optical power data does not meet the first preset power; the upper optical splitter is used for receiving the first optical power data and the MAC address; A second cluster division submodule, used to use the upper optical splitter as a target optical splitter, and control the target optical splitter to divide the passive optical network device into multiple clusters based on the first optical power data and the MAC address; The passive optical network device has a corresponding photoelectric detector PIN and a received and received light intensity counter, the passive optical network device is used to send the first optical power data to the target optical splitter through the PIN and the received and received light intensity counter, the target optical splitter is used to forward the first optical power data to the optical splitting system, and the plurality of clusters have corresponding upper links and optical line terminal equipment OLT, and the port output power determination module includes: An optical power data receiving submodule, configured to receive the first optical power data sent by the target optical splitter; A port output power determination submodule, used to transmit first optical power data between passive optical network devices of different clusters through the upper link and the optical line terminal device OLT device to determine the port output power of the passive optical network device corresponding to the cluster; a subcluster determination submodule, configured to determine from the cluster a first subcluster in which the first optical power data reaches a preset threshold parameter, and a second subcluster in which the first optical power data does not reach the preset threshold parameter; A first sub-optical power marking submodule, used to mark the first optical power data corresponding to the first sub-cluster as first sub-optical power data; A second sub-optical power marking submodule, used to mark the first optical power data corresponding to the second sub-cluster as second sub-optical power data; A first difference calculation submodule, used for calculating a first difference between the first sub-optical power data and the preset threshold parameter; A second difference calculation submodule, used for calculating a second difference between the second sub-optical power data and the preset threshold parameter; The optical power data generating submodule is used to generate second optical power data according to the first difference and the second difference.
7. A spectrometer, characterized in that: The optical splitter has a corresponding passive optical network device, and the passive optical network device has a corresponding optical splitting system, and the optical splitting system is used to obtain first optical power data for the passive optical network device; the first optical power data is data of the power of the optical signal received by the passive optical network device; a target optical splitter is determined from the optical splitter, and the passive optical network device is divided into a plurality of clusters based on the first optical power data and a preset rule through the target optical splitter; the port output power of the passive optical network device corresponding to the cluster is determined; second optical power data is generated through the first optical power data and the cluster; the port output power is adjusted using the second optical power data to control the target optical splitter. The optical splitter is used to send optical signal information to the passive optical network device, and the optical splitter is used to use the second optical power data to send optical signal information to the passive optical network device when serving as the target optical splitter; the step of determining the target optical splitter from the optical splitter, and dividing the passive optical network device into multiple clusters based on the first optical power data and a preset rule by using the target optical splitter includes: when the first optical power data meets the first preset power, taking the optical splitter as the target optical splitter, and using the target optical splitter to divide the passive optical network device into multiple clusters according to the clustering condition; the optical splitter has a corresponding upper optical splitter and MAC address; when the first optical power data does not meet the first preset power, When the power is preset, the optical splitter is controlled to send the first optical power data and the MAC address to the upper optical splitter; the upper optical splitter is used to receive the first optical power data and the MAC address; the upper optical splitter is used as the target optical splitter, and the target optical splitter is controlled to divide the passive optical network device into multiple clusters based on the first optical power data and the MAC address; the passive optical network device has a corresponding photoelectric detector PIN and a light receiving and light intensity counter, the passive optical network device is used to send the first optical power data to the target optical splitter through the PIN and the light receiving and light intensity counter, and the target optical splitter is used to forward the first optical power data to the splitter An optical system, wherein a plurality of clusters have corresponding upper links and optical line terminal equipment OLTs, and the step of determining the port output power of the passive optical network device corresponding to the cluster comprises: receiving the first optical power data sent by the target optical splitter; transmitting the first optical power data between the passive optical network devices of different clusters through the upper link and the optical line terminal equipment OLT device to determine the port output power of the passive optical network device corresponding to the cluster; and the step of generating the second optical power data through the first optical power data and the cluster comprises: calculating the average power of the first optical power data of the passive optical network devices in the same cluster, and using the average power as the second optical power data.
8. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 3 when executing the program stored in the memory.
9. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Multi-wavelength passive optical network system
CN103281620A
Method and device for acquiring logical topology information of ODN, and storage medium
CN111615021A