Spectrometer detection method and device, non-volatile storage medium, and electronic device
By sending the target signal and detecting the reflected signal in the optical fiber network, it solves the problem of splitter detection in the optical fiber network, ensures the correct distribution of signals, and improves the stability of the FTTR network.
Patent Information
- Application Number
- CN202410028587.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-01-08
AI Technical Summary
The existing technology lacks an effective method to check whether an optical splitter is installed in the optical fiber network, which results in incorrect signal distribution and weakened optical signals, affecting the stability of the FTTR network.
Send the target signal to the optical splitter through the optical line terminal, receive the reflected signal, determine whether it is the target loop signal, determine whether there is an optical splitter in the optical fiber network, and use reflective devices and monitoring ports to achieve automatic detection.
It can automatically detect whether there is an optical splitter in the optical fiber network without manual participation, ensure the correct distribution of signals, and improve the stability of the FTTR network.
Smart Images

Figure CN117834006B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of communication access networks, and in particular to a method and device for detecting an optical splitter, a non-volatile storage medium, and an electronic device. Background Art
[0002] Fiber to the Room / Remote (FTTR) is a broadband access technology based on fiber. Through FTTR technology, optical fiber can be introduced into the user's room to provide a faster and more stable network connection. FTTR uses optical fiber media for home networking. The FTTR main gateway is deployed in the distribution box or key locations. With the main gateway as the core, the optical network of FTTR is formed through splitters and single-core bidirectional optical fibers. Currently, when FTTR is networked for the first time, the installation and maintenance personnel install the splitter, but there is no detection solution for the splitter. If the installation and maintenance personnel report the installation of the splitter, but the splitter is not actually installed, it cannot be known; it is impossible to verify whether there is a splitter in the FTTR network; if the splitter is missing, the signal cannot be correctly distributed to different user devices; the attenuation of the optical signal during transmission is aggravated; and the stability of the FTTR network is further affected.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a method and device for detecting an optical splitter, a non-volatile storage medium, and an electronic device, so as to at least solve the technical problem that the related art lacks a method for checking whether an optical splitter is installed in a fiber optic network (FTTR).
[0005] According to one aspect of an embodiment of the present application, a method for detecting a splitter is provided, which is applied to optical fiber networking, wherein the optical fiber networking includes: an optical line terminal, a splitter and multiple optical network terminals, wherein the splitter includes: a reflector, an input port, multiple output ports and a monitoring port; the detection method includes: the optical line terminal sends a target signal to the splitter, wherein the target signal is used to trigger the splitter to perform a reflection operation; receiving a reflected signal, wherein the reflected signal is sent by a reflector installed at the monitoring port; judging whether the reflected signal is a target loop signal, wherein the target loop signal is a signal reflected by the reflector and transmitted in a first data channel, and the first data channel is a data transmission channel between the splitter and each optical network terminal; and determining that there is a splitter in the optical fiber networking when the reflected signal is the target loop signal.
[0006] Optionally, the reflected signal includes: a target loop signal and other loop signals, wherein the other loop signals include: a signal transmitted in a second data channel reflected by a reflective device, and the second data channel is a data transmission channel between the optical splitter and the optical line terminal.
[0007] Optionally, determining whether the reflected signal is a target loop signal includes: determining a first wavelength, wherein the first wavelength is the wavelength of the received reflected signal; obtaining a second wavelength, wherein the second wavelength is the wavelength of the optical signal sent by the optical line terminal to the splitter at a target time, and the target time is the transmission time closest to the current time; when the first wavelength is equal to the second wavelength, determining that the reflected signal is not the target loop signal; when the first wavelength is not equal to the second wavelength and the first wavelength is equal to any one of the wavelengths in a target wavelength set, determining that the reflected signal is the target loop signal, wherein the target wavelength set includes: the wavelengths of multiple signals transmitted by the splitter to the optical network terminal.
[0008] Optionally, the target wavelength set is obtained by the following method: determining the target distance between each optical network terminal and the optical line terminal to obtain multiple target distances; determining the third wavelength of the optical signal sent by the optical line terminal at the target time, and determining the difference between each target distance and the third wavelength to obtain multiple differences, and determining the ratio of the multiple differences as a proportional series; determining the fourth wavelength of the optical signal received by each optical network terminal according to the proportional series to obtain multiple fourth wavelengths, wherein each fourth wavelength is inversely proportional to each difference, and the multiple fourth wavelengths constitute the target wavelength set.
[0009] Optionally, determining whether the reflected signal is a target loop signal further includes: determining a first frequency, wherein the first frequency is the frequency of the received reflected signal; obtaining a second frequency, wherein the second frequency is the frequency of the optical signal sent by the optical line terminal to the splitter at the target time; when the first frequency is equal to the second frequency, determining that the reflected signal is not the target loop signal; when the first frequency is not equal to the second frequency, determining that the reflected signal is the target loop signal.
[0010] Optionally, the optical fiber networking further includes: an erasing device, which is used to erase the mirror signal in the optical splitter, wherein the mirror signal is a mirror signal of the optical signal sent by the optical line terminal to the optical splitter.
[0011] Optionally, before sending the reflected signal, the reflecting device also includes: obtaining a status identifier of the splitter and taking a value for the status identifier; when the value is a valid value, sending the reflected signal to the optical line terminal through the reflecting device; and after the reflecting device sends the reflected signal, assigning the value of the status identifier to an invalid value, wherein the invalid value instructs the reflecting device to stop sending the reflected signal.
[0012] According to another aspect of an embodiment of the present application, a detection device for a splitter is also provided, the detection device is applied to optical fiber networking, the optical fiber networking includes: an optical line terminal, a splitter and multiple optical network terminals, wherein the splitter includes: a reflector, an input port, multiple output ports and a monitoring port; the detection device includes: a sending module, the optical line terminal sends a target signal to the splitter, wherein the target signal is used to trigger the splitter to perform a reflection operation; a receiving module, used to receive the reflected signal, wherein the reflected signal is sent by the reflector installed at the monitoring port; a judging module, used to judge whether the reflected signal is a target loop signal, wherein the target loop signal is a signal reflected by the reflector and transmitted in a first data channel, and the first data channel is a data transmission channel between the splitter and each optical network terminal; a determining module, used to determine whether there is a splitter in the optical fiber networking when the reflected signal is the target loop signal.
[0013] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided, in which a computer program is stored, wherein the above-mentioned spectrometer detection method is executed by running the computer program in a device where the non-volatile storage medium is located.
[0014] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the above-mentioned spectrometer detection method through the computer program.
[0015] In an embodiment of the present application, an optical line terminal is used to send a target signal to a splitter, wherein the target signal is used to trigger the splitter to perform a reflection operation; a reflection signal is received, wherein the reflection signal is sent by a reflection device installed at a monitoring port; it is determined whether the reflection signal is a target loop signal, wherein the target loop signal is a signal transmitted in a first data channel reflected by the reflection device, and the first data channel is a data transmission channel between the splitter and each optical network terminal; when the reflection signal is a target loop signal, a method of determining whether there is a splitter in the optical fiber network is determined by detecting whether an optical signal reflected by an optical splitter with an output interface is received, thereby achieving the purpose of detecting the splitter with the help of an optical signal, thereby achieving the technical effect of detecting the splitter without human intervention, relying solely on the function of the splitter itself, thereby solving the technical problem that the related art lacks a method for detecting whether a splitter is installed in an optical fiber network (FTTR). BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 is a hardware structure block diagram of a computer terminal for implementing a detection method of an optical splitter according to an embodiment of the present application;
[0018] Figure 2 is a schematic diagram of an optical fiber network according to an embodiment of the present application;
[0019] Figure 3 is a flow chart of the steps of a detection method of a spectrometer according to an embodiment of the present application;
[0020] Figure 4 It is a structural diagram of a detection device of a spectrometer according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] In the related art, the optical splitter is installed by the installation and maintenance personnel, but there is no detection scheme for the optical splitter. If the installation and maintenance personnel report the installation of the optical splitter, but the optical splitter is not actually installed, it is impossible to know. Therefore, there is a problem of being unable to verify whether there is an optical splitter in the FTTR network. If the optical splitter is missing in the optical fiber network, the signal cannot be correctly distributed to different user devices, which aggravates the attenuation of the optical signal during the transmission process, and further affects the stability of the FTTR network. In order to solve this problem, the relevant solution is provided in the embodiment of the present application, which is described in detail below.
[0024] According to an embodiment of the present application, an embodiment of a method for detecting a spectrometer is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0025] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a detection method of an optical splitter. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0026] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0027] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the detection method of the spectrometer in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the above-mentioned detection method of the spectrometer. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0028] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0029] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .
[0030] The present application provides a method for detecting an optical splitter operating in the above operating environment. Figure 2 Schematic diagram of fiber optic networking. The main gateway of fiber optic networking (FTTR) is connected to the optical line terminal (OLT) upstream, and is connected to multiple fiber optic terminal devices through optical fiber and splitter downstream, such as optical network terminal / optical modem (ONT). The fiber optic terminal device supports Gigabit Ethernet port and Wi-Fi 6, and enters each room through optical fiber to achieve wired and wireless Gigabit network coverage in each room of home users. The detection method of the splitter provided in the embodiment of the present application can also be applied to Figure 2 In the optical fiber network shown in FIG. Figure 2As shown, the fiber optic network (FTTR) includes: an optical line terminal (OLT), a splitter and multiple optical network terminals (ONTs), wherein the splitter includes: a reflector, an input port, multiple output ports and a monitoring port; wherein the input port is used to receive an optical signal sent by the optical line terminal (OLT), and each output port is used to send an optical signal processed by the splitter to one of the multiple optical network terminals (ONTs) connected to the splitter, that is, each output port is connected to an optical network terminal (ONT); the monitoring port is used to detect that the splitter sends a processed optical signal to the optical network terminal (ONT), and start the reflection operation of the splitter, and the splitter performs the reflection operation through the reflector. Optical Line Terminal (OLT): used to connect optical fiber trunk lines, provide user-oriented passive optical fiber network interfaces and allocate bandwidth; Optical Distribution Network (ODN) is the physical channel for optical transmission between OLT and ONT. Its main function is to complete the bidirectional transmission of optical signals. It is usually composed of optical fiber cables, optical connectors, optical splitters and supporting equipment for installing and connecting these devices. The most important component is the splitter; the splitter is used to distribute optical signals to different users; and multiple optical network terminals (ONT) are used to convert optical fiber signals into electrical signals and provide them to user devices at the user end, where user devices include: computers, mobile phones, TVs, etc.; user devices are connected to optical fiber terminal equipment through indoor wiring equipment to achieve high-speed network access.
[0031] Figure 3 is a flow chart of the steps of the detection method of the spectrometer provided in the embodiment of the present application, such as Figure 3 As shown, the method comprises the following steps:
[0032] Step S302: the optical line terminal sends a target signal to the optical splitter, wherein the target signal is used to trigger the optical splitter to perform a reflection operation.
[0033] In step S302, after one optical fiber networking is completed, the optical fiber networking receives a start signal (sent by the user), and the optical line terminal sends a target signal to the optical splitter for triggering the optical splitter to perform a reflection operation.
[0034] Step S304, receiving a reflected signal, wherein the reflected signal is sent by a reflective device installed at the monitoring port.
[0035] In step S304, after receiving the trigger signal (ie, the target signal), the optical splitter will send the optical signal to multiple optical network terminals (ONTs) connected to the optical splitter after detecting the optical signal at the monitoring port, and perform a reflection operation through a reflector to reflect the optical signal.
[0036] Optionally, the reflected signal includes: a target loop signal and other loop signals, wherein the other loop signals include: a signal transmitted in a second data channel reflected by a reflective device, and the second data channel is a data transmission channel between the optical splitter and the optical line terminal.
[0037] like Figure 2 As shown, the optical splitter receives optical signals from the optical line terminal (OLT) and distributes the optical signals to the optical network terminals (ONTs) connected thereto. These optical signals can be reflected by the reflective device. Therefore, in this embodiment, the reflected signals received / detected by the optical splitter include not only the reflected signals of the optical signals transmitted in the (first) data channel between the optical splitter and the optical network terminal (ONT) (i.e., the target loop signals), but also the reflected signals of the optical signals transmitted in the (second) data channel between the optical splitter and the optical line terminal (OLT) (i.e., other signals).
[0038] Step S306, determining whether the reflected signal is a target loop signal, wherein the target loop signal is a signal transmitted in a first data channel reflected by a reflective device, and the first data channel is a data transmission channel between the optical splitter and each optical network terminal.
[0039] In step S306, after receiving the reflection signal, the optical splitter determines whether the reflection signal is a reflection signal (ie, a target loop signal) of an optical signal transmitted in a (first) data channel between the optical splitter and an optical network terminal (ONT).
[0040] Optionally, determining whether the reflected signal is a target loop signal includes: determining a first wavelength, wherein the first wavelength is the wavelength of the received reflected signal; obtaining a second wavelength, wherein the second wavelength is the wavelength of the optical signal sent by the optical line terminal to the splitter at a target time, and the target time is the transmission time closest to the current time; when the first wavelength is equal to the second wavelength, determining that the reflected signal is not the target loop signal; when the first wavelength is not equal to the second wavelength and the first wavelength is equal to any one of the wavelengths in a target wavelength set, determining that the reflected signal is the target loop signal, wherein the target wavelength set includes: the wavelengths of multiple signals transmitted by the splitter to the optical network terminal.
[0041] Since there are multiple signals in the reflected signal, in this embodiment, by detecting the wavelength of the received reflected signal, it is determined whether the received reflected signal is a reflected signal (i.e., a target loop signal) of an optical signal transmitted in the (first) data channel between the optical splitter and the optical network terminal (ONT). Specifically, the (first) wavelength of the received reflected signal is determined, and the (second wavelength) of the optical signal sent by the optical line terminal at the moment closest to the current moment (i.e., the target moment) is obtained. By comparing the two wavelengths (the first wavelength and the second wavelength), it is determined whether the received reflected signal is a reflected signal (i.e., a target loop signal) of an optical signal transmitted in the (first) data channel between the optical splitter and the optical network terminal (ONT). Wherein, if the (first) wavelength of the received reflected signal is equal to the (second wavelength) of the optical signal sent by the optical network terminal (ONT) at the moment closest to the current moment (i.e., the target moment), it is determined that the received reflected signal is not the target loop signal; if the (first) wavelength of the received reflected signal is equal to the (second wavelength) of the optical signal sent by the optical line terminal at the moment closest to the current moment (i.e., the target moment), and there is also an optical signal in the target wavelength set that is equal to the (first) wavelength of the received reflected signal, it is determined that the received reflected signal is the target loop signal. The above target wavelength set is used to record the wavelength of the optical signal sent by the optical splitter to each optical network terminal (ONT), and the number of wavelengths recorded in the target wavelength set is the same as the number of optical network terminals (ONTs) in the optical fiber network.
[0042] According to an optional embodiment of the present application, the target wavelength set is obtained by the following method: determining the target distance between each optical network terminal and the optical line terminal to obtain multiple target distances; determining the third wavelength of the optical signal sent by the optical line terminal at the target time, and determining the difference between each target distance and the third wavelength to obtain multiple differences, and determining the ratio of the multiple differences as a proportional series; determining the fourth wavelength of the optical signal received by each optical network terminal according to the proportional series to obtain multiple fourth wavelengths, wherein each fourth wavelength is inversely proportional to each difference, and the multiple fourth wavelengths constitute the target wavelength set.
[0043] In this embodiment, the wavelength of the optical signal sent by the optical splitter to each optical network terminal (ONT) is determined according to the inverse proportional relationship between the wavelength of the optical signal transmitted between the (first) data transmission channel between each optical network terminal (ONT) and the optical splitter according to the distance between each optical network terminal (ONT) and the optical splitter, and a target wavelength set is generated. Specifically, firstly, the (third) wavelength of the optical signal sent by the optical line terminal (OLT) and the (target) distance between each optical network terminal (ONT) and the optical line terminal (OLT) are determined, each target distance is subtracted from the third wavelength to obtain a plurality of differences, and the ratio of the plurality of differences is determined as a proportional series; next, based on the distance between each optical network terminal (ONT) and the optical splitter, the inverse proportional relationship between the wavelength of the optical signal transmitted between the (first) data transmission channel between each optical network terminal (ONT) and the optical splitter is determined, that is, the wavelength of the optical signal transmitted between each optical network terminal (ONT) and the optical splitter can be determined by the proportional series. For example, there are two optical network terminals (ONTs), and the distances between them and the optical line terminal (OLT) are 12 meters and 24 meters respectively; the wavelength of the optical signal sent by the optical line terminal (OLT) at the target time is 2 meters, so the differences are 10 and 22 respectively, and the proportional series is {5, 11}; the wavelength of the optical signal sent by the splitter is 32 meters, so the wavelength set is {22, 10}.
[0044] According to another optional embodiment of the present application, determining whether the reflected signal is a target loop signal further includes: determining a first frequency, wherein the first frequency is the frequency of the received reflected signal; acquiring a second frequency, wherein the second frequency is the frequency of the optical signal sent by the optical line terminal to the splitter at the target time; when the first frequency is equal to the second frequency, determining that the reflected signal is not the target loop signal; when the first frequency is not equal to the second frequency, determining that the reflected signal is the target loop signal.
[0045] In this embodiment, it is also possible to determine whether the received reflected signal is a reflected signal (i.e., a target loop signal) of an optical signal transmitted in the (first) data channel between the optical splitter and the optical network terminal (ONT) by determining the frequency of the received reflected signal. Specifically, the (first) frequency of the received reflected signal is first determined, and at the same time, the (second) frequency of the optical signal sent by the optical line terminal (OLT) to the optical splitter at the target time is obtained, and by comparing the two frequencies (i.e., the first frequency and the second frequency), it is determined whether the received reflected signal is a reflected signal (i.e., a target loop signal) of an optical signal transmitted in the (first) data channel between the optical splitter and the optical network terminal (ONT). If the first frequency is equal to the second frequency, it is determined that the received reflected signal is not the target loop signal; if the first frequency is not equal to the second frequency, it is determined that the received reflected signal is the target loop signal.
[0046] Step S308: When the reflected signal is a target loop signal, it is determined that there is an optical splitter in the optical fiber network.
[0047] If it is determined through step S306 that the received reflected signal is a reflected signal (i.e., a target loop signal) of an optical signal transmitted in the (first) data channel between the optical splitter and the optical network terminal (ONT), in step S308, the detection result that there is an optical splitter in the optical fiber network is output.
[0048] According to an optional embodiment of the present application, the optical fiber networking also includes a parameter adjustment device / module. After determining that a splitter is connected, the detection method of the splitter provided in the embodiment of the present application can also identify and mark the output port of the splitter, so as to subsequently determine which output port the next-level device of the splitter receives the signal from. For example, the splitter includes two output ports and a parameter adjustment module corresponding to each output port; wherein different output ports correspond to different parameter adjustment modules (each parameter adjustment module corresponds to different optical signal transmission parameters); taking the two output ports as an example, if two echo signals with different parameters are received, it is determined that the splitter has two output ports, and the output ports corresponding to the echo signals with different parameters are marked; subsequently, according to the changes in the input signal and the output signal, it can be determined which port the next-level device of the splitter receives the signal from. The parameters of the above-mentioned echo signal include but are not limited to: frequency, power, wavelength, etc.
[0049] According to some optional embodiments of the present application, the optical fiber networking further includes: an erasing device, which is used to erase the mirror signal in the splitter, wherein the mirror signal is a mirror signal of the optical signal sent by the optical line terminal to the splitter.
[0050] In some embodiments, the optical fiber network using the detection method of the optical splitter in the embodiments of the present application includes an erasing device, which is installed at the monitoring port of the optical splitter and is used to detect whether there is a mirror signal of the optical signal emitted by the optical line terminal (OLT) in the signal to be reflected by the reflecting device. If there is a mirror signal, it is erased and the reflecting device then sends a reflected signal without the mirror signal.
[0051] According to some other optional embodiments of the present application, before sending the reflected signal, the reflecting device further includes: obtaining a status identifier of the splitter and taking a value for the status identifier; when the value is a valid value, sending the reflected signal to the optical line terminal through the reflecting device; and after the reflecting device sends the reflected signal, assigning the value of the status identifier to an invalid value, wherein the invalid value instructs the reflecting device to stop sending the reflected signal.
[0052] In this embodiment, before the optical splitter sends the reflection signal through the reflection device, it first takes a value of the state flag of the optical splitter, and determines whether to send the reflection signal according to the value of the state flag. The reflection device confirms whether the value of the state flag of the optical splitter is a valid value (such as 1). If it is a valid value, it means that the reflection signal is allowed to be sent. At this time, the reflection signal is sent to the optical splitter. If it is not a valid value (such as 0), it means that the reflection signal has been sent before and the detection has been performed, so the sending of the reflection signal is stopped.
[0053] Through the above steps, it is possible to determine whether there is an optical splitter in the optical fiber network only by using the optical signal reflected by the reflective device.
[0054] Figure 4 The structure diagram of a detection device for a splitter provided according to an embodiment of the present application is applied to a fiber optic network, which includes: an optical line terminal, a splitter and multiple optical network terminals, wherein the splitter includes: a reflector, an input port, multiple output ports and a monitoring port. Figure 4 As shown, the detection device includes: a sending module 40, where the optical line terminal sends a target signal to the splitter, wherein the target signal is used to trigger the splitter to perform a reflection operation; a receiving module 42, which is used to receive a reflection signal, wherein the reflection signal is sent by a reflection device installed at a monitoring port; a judging module 44, which is used to judge whether the reflection signal is a target loop signal, wherein the target loop signal is a signal transmitted in a first data channel reflected by the reflection device, and the first data channel is a data transmission channel between the splitter and each optical network terminal; and a determining module 46, which is used to determine whether there is a splitter in the optical fiber network when the reflection signal is a target loop signal.
[0055] It should be noted that Figure 4 The preferred implementation of the illustrated embodiment can be found in Figure 3 The relevant description of the illustrated embodiment will not be repeated here.
[0056] An embodiment of the present application further provides a non-volatile storage medium, in which a computer program is stored, wherein the above spectrometer detection method is executed by running the computer program on a device where the non-volatile storage medium is located.
[0057] The above-mentioned non-volatile storage medium is used to store a program for executing the following functions: the optical line terminal sends a target signal to the optical splitter, wherein the target signal is used to trigger the optical splitter to perform a reflection operation; receives a reflection signal, wherein the reflection signal is sent by a reflection device installed at a monitoring port; determines whether the reflection signal is a target loop signal, wherein the target loop signal is a signal transmitted in a first data channel reflected by the reflection device, and the first data channel is a data transmission channel between the optical splitter and each optical network terminal; and determines that there is an optical splitter in the optical fiber networking when the reflection signal is a target loop signal.
[0058] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the above spectrometer detection method through the computer program.
[0059] The processor in the above-mentioned electronic device is used to run a program that performs the following functions: the optical line terminal sends a target signal to the optical splitter, wherein the target signal is used to trigger the optical splitter to perform a reflection operation; receives a reflection signal, wherein the reflection signal is sent by a reflection device installed at a monitoring port; determines whether the reflection signal is a target loop signal, wherein the target loop signal is a signal transmitted in a first data channel reflected by the reflection device, and the first data channel is a data transmission channel between the optical splitter and each optical network terminal; and determines that there is an optical splitter in the optical fiber networking when the reflection signal is a target loop signal.
[0060] It should be noted that the various modules in the above-mentioned spectrometer detection device can be program modules (for example, a set of program instructions that implement a certain specific function) or hardware modules. For the latter, it can be expressed in the following forms, but is not limited to this: the expression form of each of the above-mentioned modules is a processor, or the functions of each of the above-mentioned modules are implemented by a processor.
[0061] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0062] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0063] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0064] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0065] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0066] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0067] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for detecting a spectrometer, characterized in that: The method is applied to optical fiber networking, which includes: an optical line terminal, an optical splitter and multiple optical network terminals, wherein the optical splitter includes: a reflector, an input port, multiple output ports and a monitoring port; The detection method comprises: The optical line terminal sends a target signal to the optical splitter, wherein the target signal is used to trigger the optical splitter to perform a reflection operation; receiving a reflected signal, wherein the reflected signal is sent by a reflective device installed at the monitoring port; Determine whether the reflected signal is a target loop signal, wherein the target loop signal is a signal reflected by the reflector and transmitted in a first data channel, and the first data channel is a data transmission channel between the optical splitter and each of the optical network terminals; In a case where the reflected signal is the target loop signal, it is determined that the optical splitter exists in the optical fiber network.
2. The method according to claim 1, characterized in that The reflected signal includes: the target loop signal and other loop signals, wherein the other loop signal includes: a signal reflected by the reflective device and transmitted in a second data channel, and the second data channel is a data transmission channel between the optical splitter and the optical line terminal.
3. The method according to claim 1, characterized in that Determining whether the reflected signal is a target loop signal includes: Determining a first wavelength, wherein the first wavelength is a wavelength of the received reflected signal; Acquire a second wavelength, wherein the second wavelength is the wavelength of an optical signal sent by the optical line terminal to the optical splitter at a target time, and the target time is a transmission time closest to the current time; When the first wavelength is equal to the second wavelength, determining that the reflected signal is not the target loop signal; When the first wavelength is not equal to the second wavelength and the first wavelength is equal to any wavelength in a target wavelength set, the reflected signal is determined to be the target loop signal, wherein the target wavelength set includes wavelengths of multiple signals emitted by the optical splitter to the optical network terminal.
4. The method according to claim 3, characterized in that The target wavelength set is obtained by the following method: Determine a target distance between each of the optical network terminals and the optical line terminal to obtain a plurality of target distances; Determine a third wavelength of the optical signal sent by the optical line terminal at the target time, and determine a difference between each target distance and the third wavelength to obtain a plurality of the differences, and determine a ratio of the plurality of the differences as a proportional series; The fourth wavelength of the optical signal received by each optical network terminal is determined according to the proportional series to obtain a plurality of the fourth wavelengths, wherein each fourth wavelength is in inverse proportion to each difference, and the plurality of the fourth wavelengths constitute the target wavelength set.
5. The method according to claim 3, characterized in that: Determining whether the reflected signal is a target loop signal further includes: Determining a first frequency, wherein the first frequency is a frequency of the received reflected signal; Acquire a second frequency, wherein the second frequency is the frequency of the optical signal sent by the optical line terminal to the optical splitter at the target time; When the first frequency is equal to the second frequency, determining that the reflected signal is not the target loop signal; When the first frequency is not equal to the second frequency, the reflected signal is determined to be the target loop signal.
6. The method according to claim 1, characterized in that The optical fiber networking further includes: an erasing device, wherein the erasing device is used to erase the mirror signal in the optical splitter, wherein the mirror signal is a mirror signal of the optical signal sent by the optical line terminal to the optical splitter.
7. The method according to claim 1, characterized in that Before the reflector sends the reflected signal, the method further includes: Obtaining a status identifier of the optical splitter and taking a value of the status identifier; In the case where the value is a valid value, the reflected signal is sent to the optical line terminal through the reflecting device; and, After the reflector sends the reflected signal, the value of the state identifier is assigned an invalid value, wherein the invalid value indicates that the reflector stops sending the reflected signal.
8. A detection device for a spectrometer, characterized in that: The detection device is applied to optical fiber networking, which includes: an optical line terminal, an optical splitter and multiple optical network terminals, wherein the optical splitter includes: a reflector, an input port, multiple output ports and a monitoring port; The detection device comprises: A sending module, wherein the optical line terminal sends a target signal to the optical splitter, wherein the target signal is used to trigger the optical splitter to perform a reflection operation; A receiving module, used for receiving a reflected signal, wherein the reflected signal is sent by a reflecting device installed at the monitoring port; A judging module, configured to judge whether the reflected signal is a target loop signal, wherein the target loop signal is a signal reflected by the reflecting device and transmitted in a first data channel, and the first data channel is a data transmission channel between the optical splitter and each of the optical network terminals; A determination module is used to determine that the optical splitter exists in the optical fiber network when the reflected signal is the target loop signal.
9. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a computer program, wherein the method for detecting an optical spectrometer according to any one of claims 1 to 7 is executed by running the computer program in the device where the non-volatile storage medium is located.
10. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to execute the spectrometer detection method according to any one of claims 1 to 7 through the computer program.
Citation Information
Patent Citations
A passive optical network fault online monitoring system
CN102291176A
Optical network detection method, optical network detection device, optical network detection equipment, optical network detection system and optical splitter
CN104426603A
Splitter environment monitoring method and device and optical line terminal (OLT)
CN105991187A
Optical splitter, signal transmission method, and passive optical network
CN106576000A
Light path diagnostic method and diagnostic device
CN107294599A
