WO2018058624A1 - Method for accessing optical network by optical network unit, and authentication device and system - Google Patents

Method for accessing optical network by optical network unit, and authentication device and system Download PDF

Info

Publication number
WO2018058624A1
WO2018058624A1 PCT/CN2016/101301 CN2016101301W WO2018058624A1 WO 2018058624 A1 WO2018058624 A1 WO 2018058624A1 CN 2016101301 W CN2016101301 W CN 2016101301W WO 2018058624 A1 WO2018058624 A1 WO 2018058624A1
Authority
WO
WIPO (PCT)
Prior art keywords
optical
output port
optical network
network unit
legal
Prior art date
Application number
PCT/CN2016/101301
Other languages
French (fr)
Chinese (zh)
Inventor
祁彪
康竞然
李三星
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/101301 priority Critical patent/WO2018058624A1/en
Publication of WO2018058624A1 publication Critical patent/WO2018058624A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, an authentication device, and a system for an optical network unit to access an optical network.
  • PON Passive Optical Network
  • the network management system (NMS) in the PON mainly verifies the legitimacy according to the serial number and password of the ONU, and allows the verification when passing the verification.
  • the ONU accesses to prevent unauthorized ONUs from making unauthorized access.
  • the NMS cannot identify the output port of the optical splitter to which the ONU is connected, if the user carries the authenticated authorized ONU to go online on the illegal output port of the same optical splitter in the passive optical network, The NMS cannot know that the output port of the splitter connected to the ONU has changed.
  • the output port allocated by the NMS to the ONU is considered to be the legal output port of the ONU, and the output port not allocated to the ONU is considered to be the illegal output port of the ONU.
  • the legal output port assigned to the authenticated ONU is the output port 1 of the splitter. If the user removes the ONU from the output port 1, re-connecting the ONU to the splitter is an illegal output for the ONU.
  • the NMS cannot detect that the output port connected when the ONU goes online has changed.
  • the PON cannot determine the connection between the ONU and the output port, and the usage of each output port in the optical splitter cannot be known, so that it is impossible to determine which output ports of the optical splitter output port are available output ports that are not connected to the ONU. Then, when the PON needs to allocate an output port for the newly registered ONU, since the usage of each output port in the optical splitter cannot be known, there is no guarantee that the allocated output port is not occupied by other ONUs, so the newly registered ONU may not be available. When the assigned output port is used, the ONU cannot access the optical network normally.
  • the embodiments of the present invention provide a method, an authentication device, and a system for an optical network unit to access an optical network, which are used to solve the technical problem that the monitoring effect of the optical network unit connected to the optical network is poor.
  • a method for an optical network unit to access an optical network is provided, the method being performed by an authentication device.
  • the method includes: when receiving the online request sent by the optical network unit for requesting access to the optical network, the authentication device can detect the connection relationship between the optical network unit and the output port of the optical splitter according to the online request, in the authentication When the device determines that the detected connection relationship is consistent with the legal connection relationship of the optical network unit, that is, when the output port of the optical splitter currently connected to the optical network unit is a legal output port allocated for the optical network unit, it is determined that the optical network unit passes the authentication. Thereby allowing the optical network unit to access the optical network.
  • the authentication device when the optical network unit requests to access the optical network, can detect the connection relationship between the optical network unit and the output port of the optical splitter, and determine that the current connection relationship is consistent with the legal connection relationship. Allows the optical network unit to access the optical network.
  • the connection relationship of the optical network unit it is possible to effectively ensure that the optical network unit goes online through the legal output port assigned to it, thereby avoiding the situation that one optical network unit occupies the output port of other optical network unit. Moreover, the usage of each output port can be relatively conveniently obtained.
  • a corresponding legal output port can be allocated to the new optical network unit from the unoccupied output port, thereby
  • the output ports of the optical splitters are properly utilized, and the optical network units can be put on the line normally, so that some optical network units cannot be connected to the optical network because the allocated output ports are occupied, and the management of the output ports is more effective.
  • the authentication device sends the first test signal to the legal output port allocated to the optical network unit in the optical splitter according to the online request, and the legal output is outputted by the single port.
  • the authentication device can obtain feedback information for indicating information of the reflected signal generated by the legal output port for the first test signal, and the authentication device can determine the connection relationship of the optical network unit according to the feedback information.
  • the authentication device sends the first test signal to each legal output port. And obtaining feedback information of each legal output port for the first test signal to determine a connection relationship, and the feedback information can represent information of a reflected signal generated by the corresponding legal output port for the first test signal, such as an optical power intensity of the reflected signal, The duration of receiving the reflected signal, etc., the authentication device only needs to analyze the feedback information to determine the connection relationship of the optical network unit, so the determination method is convenient, which helps to improve the working efficiency of the authentication device to determine the connection relationship of the optical network unit.
  • the authentication device determines, according to the obtained feedback information, a fiber position that has a maximum optical power of the reflected signal indicated by the feedback information. Whether the position of the predetermined fiber position of the legal output port is the same as the position of the reflected signal of the first test signal when the optical fiber has the maximum optical power. If the position is consistent, it indicates that the reflected signal is at the output port. The reflection device reflects, so that it can be determined that the optical network unit is not connected to the legal output port. If it is inconsistent, it indicates that the reflected signal is not reflected by the reflection device at the output port, so it can be determined that the legal output port is currently connected to the optical network unit. .
  • the position of the optical fiber is a position where the reflected signal of the first test signal has the maximum optical power in the optical fiber
  • the preset optical fiber position is generated by the reflection device reflected by the reflective device at the legal output port.
  • the reflected signal has a position where the maximum optical power is located in the optical fiber, so the authentication device can determine the optical network by comparing the position of the optical fiber having the maximum optical power of the reflected signal indicated by the feedback information with the preset optical fiber position of the legal output port.
  • the unit is connected to the legal output port, that is, whether the reflected signal is reflected by the reflection device in the legal output port, and if so, the dust cap of the legal output port is not removed, and the legal output port is not connected to the optical network unit. Otherwise, it is determined that the legal output port is connected to the optical network unit. Therefore, the determining process is relatively simple and fast, which helps to reduce the workload of the authentication device.
  • the authentication device before the authentication device sends the first test signal to the legal output port of the optical splitter for the optical network unit The authentication device may further send a second test signal to the output port of the optical splitter, and the authentication device obtains a reflected signal generated by each output port of the optical splitter to reflect the second test signal, and determines that each reflected signal has a maximum optical power. Fiber position and the fiber position Recorded as the default fiber position of the corresponding output port, it is possible to determine the preset fiber position of each output port in the splitter, and then store it.
  • each of the plurality of output ports included in the optical splitter is connected to the input port of the optical splitter through the optical fiber, the length of the optical fiber between the different output ports and the input port is different, and each of the plurality of output ports is output.
  • a reflective device for reflecting the optical signal is disposed at the port. Therefore, the preset optical fiber position of any one of the output ports may be a second test signal sent by the authentication device, and the reflected signal returned from any one of the output ports has the maximum light in the optical fiber.
  • the location of the power, so the preset fiber positions of different output ports are also different. Therefore, different output ports can be distinguished according to the preset fiber position, which helps to improve the identification capability of the authentication device for the output port, thereby improving the authentication device to determine the optical network unit. The accuracy of the connection relationship.
  • determining a fiber position of the reflected signal indicated by the feedback information and having a maximum optical power and a preset optical fiber of the optical network unit If the locations are the same, the authentication device determines that the optical network unit is connected to the legal output port. Otherwise, the optical network unit is not connected to the legal output port.
  • the position of the optical fiber is a position at which the reflected signal of the first test signal has the maximum optical power in the optical fiber
  • the predetermined optical fiber position is a transmission signal generated by the reflection device reflected by the reflection device of the optical network unit, and has a maximum light in the optical fiber. The location where the power is located.
  • the determination manner is relatively fast.
  • the authentication device sends a second test signal to a legal output port of the optical splitter that is legally connected to the optical network unit, and A reflection device for reflecting the optical signal is disposed in the optical network unit, so that the authentication device can obtain the reflected signal generated by the optical network unit reflecting the second test signal, and then the optical fiber position record when the reflected signal has the maximum optical power. Preset fiber position for the optical network unit Set and store.
  • the optical network unit is provided with a reflection device for reflecting the optical signal
  • the optical network unit can be detected and determined by sending a test signal to the legal output port.
  • the reflected signal generated by the reflection device in the optical network unit reflects the position of the optical fiber having the maximum optical power in the optical fiber, and the optical fiber position can be recorded, because the optical network unit is different in connection.
  • the output ports correspond to different fiber lengths. Therefore, the preset fiber positions of the optical network units determined by the test are also different from each other. Therefore, the output connected to the optical network unit can be determined according to the preset fiber position of the optical network unit.
  • the length of the fiber corresponding to the port so that the corresponding output port can be determined according to the correspondence between the length of the fiber and the output port, thereby improving the recognition capability of the output port connected to the optical network unit.
  • the authentication device determines the connection relationship between the detected optical network unit and the output port If the legal connection relationship with the optical network unit is inconsistent, the optical network unit is denied access to the optical network.
  • the authentication device determines that the optical network unit is not connected to the allocated legal output port, the optical network unit is rejected, thereby preventing the optical network unit from abusing other output ports except the legal output port, thereby effectively improving the uplink network. Management effect on the online optical network unit.
  • the second aspect provides an authentication device, where the authentication device is located in an optical network system, where the authentication device includes: a receiver for receiving an online request sent by the optical network unit, and a memory for storing a legal connection relationship of the optical network unit, And a processor, where the processor can detect the connection relationship between the optical network unit and the output port of the optical splitter according to the online request, and determine that the optical network unit passes when determining that the detected connection relationship is consistent with the legal connection relationship of the optical network unit. Authentication allows the optical network unit to access the optical network.
  • the processor can be configured to send, according to the online request, the first test signal to the legal output port allocated to the optical network unit in the optical splitter, and obtain the legal The feedback information of the output port for the first test signal, the feedback information indicating the information of the reflected signal generated by the legal output port for the first test signal, such as the optical power intensity And other information, the processor can determine the connection relationship of the optical network unit according to the feedback information.
  • the processor is configured to determine a fiber position of the reflected signal indicated by the feedback information and a legal output port Whether the position of the preset fiber is consistent, and the position of the fiber is the position where the reflected signal of the first test signal has the maximum optical power in the fiber. If they are consistent, it indicates that the optical network unit is not connected to the legal output port; otherwise, it indicates The optical network unit is connected to a legal output port.
  • the processor may further send the first test to the legal output port allocated to the optical network unit in the optical splitter Before the signal, sending a second test signal to the output port of the splitter, the splitter includes a plurality of output ports, wherein each output port is connected to the input port of the optical splitter through the optical fiber; between the different output ports and the input port The lengths of the optical fibers are different, and a reflection device for reflecting the optical signal is disposed at each of the plurality of output ports, thereby obtaining a reflection signal generated by each output port of the optical splitter reflecting the second test signal, The position of the fiber at which each of the reflected signals has the maximum optical power is recorded as the predetermined fiber position of the corresponding output port.
  • the processor is configured to determine a fiber position of the optical signal unit with the maximum optical power of the reflected signal indicated by the feedback information Whether the position of the optical fiber is consistent; wherein the position of the optical fiber is the position where the reflected signal has the maximum optical power in the optical fiber, and if it is determined that the two are consistent, it is determined that the optical network unit is connected to the legal output port; otherwise, the optical network unit is determined. Not connected to a legal output port.
  • the processor may further send the first test to the legal output port allocated to the optical network unit in the optical splitter Before the signal, the second test signal is sent to the legal output port of the optical splitter that is legally connected to the optical network unit, and the optical network unit is provided with a reflective device for reflecting the optical signal, and then the authentication device can acquire the optical network unit to the second The reflected signal generated by the reflection of the test signal is recorded, and the position of the optical fiber when the reflected signal has the maximum optical power is recorded as the preset optical fiber position of the optical network unit, and stored, so as to determine the connection relationship of the optical network unit according to the preset optical fiber position later. .
  • the processor before transmitting the first test signal to the legal output port of the optical splitter for the optical network unit And is further configured to send a second test signal to the output port of the optical splitter, and obtain a reflected signal generated by each output port of the optical splitter to reflect the second test signal, and the optical fiber when each of the reflected signals has the maximum optical power
  • the position is recorded as the preset fiber position of the corresponding output port; wherein each output port is connected to the input port of the optical splitter through the optical fiber, the length of the optical fiber between the different output ports and the input port is different, and multiple output ports Reflecting means for reflecting the optical signal are disposed at each of the output ports;
  • a spectroscope in a third aspect, is provided, the spectroscope being located in an optical distribution network in an optical network system, the optical splitter comprising: an input port and a plurality of output ports, and each of the plurality of output ports and the input port The fibers are connected by fiber, and the length of the fiber between each output port and the input port is in an equal relationship.
  • the corresponding output ports can be determined based on the difference between the lengths of the optical fibers, which is convenient for different optical splitters.
  • the output port is distinguished.
  • the optical splitter further includes a reflective device disposed at each of the plurality of output ports, and the reflective device can be configured to reflect the light of the corresponding output port signal.
  • each of the output ports of the optical splitter is provided with a reflecting device that can be used for reflecting the optical signal, different output ports can be distinguished by transmitting the reflected signals reflected by the output ports in the optical fiber. Improve the recognition efficiency of the output port.
  • a third aspect provides an optical network system for performing the method of any one of the first aspect or the first aspect, the optical network system comprising: a splitter and an authentication
  • the optical splitter can be used to provide an optical transmission channel of the optical network system
  • the authentication device can be connected to the optical splitter for receiving an online request sent by the optical network unit connected to the output port of the optical splitter, and the uplink request is used for the optical
  • the network unit requests to access the optical network
  • the authentication device can detect the connection relationship between the optical network unit and the output port of the optical splitter according to the online request. If it is determined that the detected connection relationship is consistent with the legal connection relationship of the optical network unit, the optical network is determined.
  • the unit is authenticated to allow the optical network unit to access the optical network.
  • the legal connection relationship is used to indicate that the output port of the optical splitter to which the optical network unit is connected is a legal output port allocated for the optical network unit.
  • the optical splitter since the optical splitter includes a plurality of output ports, each of the output ports is connected to the input port of the optical splitter through an optical fiber, and the lengths of the optical fibers between the different output ports and the input ports are different, and the plurality of output ports are Each of the output ports is provided with a reflection device for reflecting the optical signal, so when the authentication device detects the connection relationship between the optical network unit and the output port, the optical network unit can be distinguished based on the characteristics of the output ports in each optical splitter.
  • the output port of the connected network is determined to be a legal output port. Therefore, the process of determining the connection relationship of the optical network unit is relatively simple and has high accuracy, which helps the optical network system to access the optical network unit of the optical network. Effective supervision.
  • the optical network system may further include an optical distribution network including at least one of the foregoing optical splitters, and the optical distribution network may be configured to provide an optical transmission channel between the optical line terminal and the optical network unit;
  • the line terminal can be used to provide an interface for accessing the optical network, and receive an online request for the optical network unit that requests the network access, and send the online request to the authentication device, and the authentication device can detect the optical network unit and the output according to the online request.
  • the connection relationship of the port is determined to be consistent with the legal connection relationship. Therefore, it is determined whether the output port currently connected to the optical network unit is a legal output port allocated by the PON. If yes, it is determined that the optical network unit passes the authentication, and the light is allowed at the moment.
  • the network unit is connected to the optical network.
  • the optical line terminal included in the optical network system can send the online request of the optical network unit to the authentication device, so that the authentication device can detect the connection relationship between the optical network unit and the output port of the optical splitter based on the online request, and
  • the length of the optical fiber connected between each output port and the input port in the optical splitter is different, so that the output port connected to the optical network unit can be easily determined according to the characteristics of each output port in the optical splitter, and then it can be determined whether it is light or not.
  • Legal assignment of network elements The output port is allowed to access the optical network only when it is YES, thereby ensuring the legitimacy of the optical network unit that accesses the optical network and improving the security of the optical network system.
  • the optical network system further includes a test device connected to the authentication device, where the test device may be an optical time domain reflectometer, which may be based on the received authentication
  • the control command of the device sends a test signal to the legal output port allocated to the optical network unit in the optical splitter, and sends the obtained legal output port to the authentication device for the reflected signal generated by the test signal.
  • the authentication device can transmit the test signal through the optical time domain reflectometer, and the test signal can be transmitted along the optical fiber to the corresponding output port, and the information of the received reflected signal is reported to the authentication device, and the authentication device is based on the reflection.
  • the analysis of the signal can determine the reflection of each output port for the test signal, and it is convenient to monitor the link quality of the optical fiber, so that the link fault in the optical fiber can be detected and located in time.
  • the lengths of the plurality of optical fibers between the plurality of output ports of the optical splitter and the input port are in an equal relationship, and Each output port is also provided with a reflecting means for reflecting the optical signal.
  • the test signal in the corresponding output port can be reflected by the reflection device disposed at each output port of the optical splitter, so the output port can be determined by determining the information of the reflected signal of each output port for the test signal. Whether it is used or not, the determination method is relatively simple, and since the reflected signal has good stability in fiber transmission, it helps to improve the accuracy of the test result.
  • an authentication device which may comprise a functional module for performing the method of the first aspect or any of the possible implementations of the first aspect.
  • the connection between the optical network unit and the output port of the optical splitter is tested by the authentication device, thereby effectively ensuring that the optical network unit goes online through the legal output port allocated thereto, thereby improving the access of the optical network system.
  • the regulatory effect of the optical network unit of the optical network is tested by the authentication device, thereby effectively ensuring that the optical network unit goes online through the legal output port allocated thereto, thereby improving the access of the optical network system.
  • FIG. 1 is a schematic structural diagram of a system of a PON according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of a beam splitter according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a position of a reflection peak of an output port of a beam splitter according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for an ONU to access an optical network according to an embodiment of the present invention
  • 5A-5B are schematic diagrams of detection curves of a connection relationship of an ONU according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an authentication device according to an embodiment of the present disclosure.
  • FIG. 7 is a structural block diagram of an authentication device according to an embodiment of the present invention.
  • Optical network refers to the network structure that uses optical fiber transmission.
  • the optical network is a PON as an example.
  • the optical network in the embodiment of the present invention is not limited thereto.
  • the PON has a single-fiber bidirectional structure, that is, it can simultaneously receive optical signals and transmit optical signals in one optical fiber, and the optical transmission efficiency is high.
  • the authentication device is used to authenticate the ONU that requests access to the PON to ensure that the ONU can go online using the legal output port assigned to it.
  • the authentication device may be a device that includes an NMS, and may authenticate the ONU by detecting a connection relationship between the ONU and the optical fiber link.
  • the NMS can be set as a function module in the authentication device, and the authentication device can be The authentication process is implemented by the NMS, that is, the connection relationship of the ONU is detected to determine whether the ONU passes the authentication.
  • the authentication device may implement the authentication process in other manners, which is not limited in the embodiment of the present invention.
  • the authentication of the built-in NMS of the device and the authentication of the ONU by the NMS are taken as an example.
  • Test equipment a device for testing the connection relationship between the ONU and the output port of the optical splitter.
  • the test device is an optical time domain reflectometer (OTDR).
  • OTDR optical time domain reflectometer
  • the OTDR can emit test light signals and measure the length of the fiber, the attenuation of the transmission of the fiber, the attenuation of the joint, and the fault location by backscattering generated by the test optical signal transmitted in the fiber.
  • the OTDR can be set as a function module in other devices, for example, in an authentication device.
  • the OTDR can also be a stand-alone device that can communicate with other devices via fiber optics or short-range communication protocols.
  • the short-range communication protocol is, for example, Bluetooth or Wireless-Fidelity (Wi-Fi).
  • the authentication device can send the test optical signal through the OTDR in the authentication device, or if the OTDR and the authentication device are two independent devices, then the authentication device The OTDR can be communicated to transmit the test optical signal through the OTDR.
  • FIG. 1 it is a schematic diagram of the system architecture of the PON.
  • the PON generally includes three parts, which are an Optical Line Terminal (OLT), an Optical Distribution Network (ODN), and an ONU.
  • OLT Optical Line Terminal
  • ODN Optical Distribution Network
  • ONU Optical Distribution Network
  • the OLT can provide an interface between the access network and the local switch, and communicate with the ONU through optical transmission.
  • the ODN can be used to provide an optical transmission channel between the OLT and the ONU.
  • the ODN includes one or more stages of splitters, each splitter including at least one output port, and the ONU is connected to the PON through an output port of the splitter.
  • the ONU can convert the optical signal sent by the OLT into an electrical signal, and can transmit the electrical signal to a User Equipment (UE) that communicates with the ONU.
  • UE User Equipment
  • the signal sent by the OLT can reach the corresponding ONU through the ODN, for example, to the ONU1 and/or the ONU2 in FIG.
  • the signal sent by the ONU in the PON can reach the OLT, but generally does not reach other ONUs.
  • the NMS in the authentication device can communicate with the OLT in the OTDR and the PON respectively.
  • Figure 1 shows an example in which the OTDR and the authentication device are independent devices.
  • the authentication device can send the test optical signal through the OTDR, and the test optical signal sent by the OTDR can enter the optical fiber corresponding to the output port of the optical splitter by wavelength division multiplexing (WDM), so that the test optical signal can be correspondingly
  • WDM wavelength division multiplexing
  • the fiber is transmitted to the output port that needs to be tested.
  • the test optical signal sent by the OTDR in FIG. 1 can be transmitted to the ONU 2 to be tested through WDM.
  • FIG. 1 is merely an example of a network architecture for a PON, and does not constitute a limitation on an authentication device and a PON.
  • the PON may include more or less devices than those illustrated, or may combine certain devices.
  • FIG. 2 shows a spectroscope provided by an embodiment of the present invention.
  • the spectroscope can be applied to the network architecture shown in FIG. 1. That is, the structure of the optical splitter shown in FIG. 1 can be referred to FIG. 2.
  • the spectroscope can reflect the test signal with a specific reflectivity, and the reflected signal is returned to the authentication device along the optical fiber.
  • the internal structure of the optical splitter provided by the embodiment of the present invention has at least the following features:
  • each output port of the optical splitter may be configured with a reflecting means for reflecting the optical signal, such as a U-band reflector.
  • the reflecting device can be fixedly disposed in the dust cap configured for each output port. Then, if the dust cap is sleeved on the output port, the output port can reflect the optical signal. If the dust cap is removed, the output port can transmit the optical signal to the next level device, such as the UE.
  • the dust cap is sleeved on the output port to prevent dust from entering the output port. If an output port of the optical splitter needs to be connected to the ONU, you can remove the dust cap of the output port and connect the ONU to the output port to enable the ONU to access the optical network.
  • the length of the optical fiber connected between the different output ports of the optical splitter and the input port of the optical splitter is different, that is, the connection between any two output ports of the same optical splitter and the input port of the optical splitter The length of the fiber is different.
  • the optical splitter manufacturer can select different lengths of fiber to connect the output port to the input port, and there is no specific limit on the length of each fiber, which helps to improve the flexibility when using fiber for connection.
  • the length of the fiber connected between the output port 1 and the input port may be 1.20 m
  • the length of the fiber connected between the output port 2 and the input port may be 1.48 m
  • the length of the fiber of the output port 3 may be taken as 1.55m, etc.
  • the length of each optical fiber is not specifically limited in the embodiment of the present invention.
  • the length of the fiber connected between each output port and the input port of the splitter can also be set according to certain rules.
  • the lengths of the optical fibers of each output port are equal to each other, so that after the optical fibers having the equal-distance relationship are provided for the respective output ports, different output ports can be distinguished according to the length and the equal-difference relationship of the optical fibers. Helps improve the recognition efficiency of the output port.
  • an equal difference relationship between the length of the optical fiber between the output port of the optical splitter and the input port is taken as an example.
  • the length of the fiber between the output port 1 and the input port of the beam splitter is L
  • the length of the fiber between the output port 2 and the input port is L+a
  • the length of the fiber between the output port 3 and the input port is L+2a...
  • the length of the fiber between the output port N and the input port is L+(N-1) ⁇ a, where N is a positive integer.
  • FIG. 1 The system architecture shown in FIG. 1 as an example.
  • FIG. 2 The structure of the optical splitter mentioned below can be referred to FIG. 2.
  • an embodiment of the present invention provides a method for an ONU to access an optical network, where the method can be performed by using an authentication device as shown in FIG. 1.
  • the process of the method is as follows:
  • the authentication device receives the online request sent by the ONU, and the online request is used for the ONU to request access to the PON;
  • S12 The authentication device goes online to detect a connection relationship between the ONU and the output port of the optical splitter.
  • the online request may carry the login information of the ONU, and the login information may include a serial number (Serial Number) and a password (Password) of the ONU.
  • the login information may further include other information, such as an identifier of the ONU, and the ONU.
  • the identity may be a unique identifier assigned by the PON to the ONU for identifying the identity of the ONU in the PON.
  • the PON when the ONU registers with the PON, the PON obtains the serial number (Serial Number) and password (Password) of the ONU, and after registering, can set the corresponding identifier for the ONU, and store the information.
  • the identifier of the ONU may be randomly set by the PON, or may be set based on the serial number of the ONU, and the identifier may be the serial number of the ONU, and may be set by a person skilled in the art according to actual conditions. This example does not impose any specific restrictions.
  • the serial number and password can be used for the login credentials when the ONU is online again.
  • the identifier can be used for the identity identification of the PON to the ONU when the ONU goes online.
  • the authentication device performs preliminary verification on the ONU according to the login information in the online request sent by the obtained ONU, that is, whether the login information is consistent with the preset login information of the registered ONU, and if it is consistent, the initial Verification, but the authentication device does not allow the ONU to access the optical network. It will further detect whether the output port of the optical splitter currently connected to the ONU currently on the line is the legal output port of the ONU, that is, the ONU is detected according to the online request. Whether the connection relationship with the output port of the optical splitter is consistent with the legal connection relationship, and the legal connection relationship may be directly invoked by the authentication device according to the identifier of the ONU carried by the online request.
  • the following describes a process for detecting whether a connection relationship is consistent with a legal connection.
  • the authentication device sends a detection command to the OTDR through the NMS, and the OTDR executes the detection command to send a test optical signal to the legal output port allocated to the ONU in the optical splitter, and the test optical signal is referred to as a first test signal.
  • the first test signal reaches the legal output port
  • the reflective device disposed in the legal output port will reflect the first test signal to generate a reflected signal, and the reflected signal is along the original
  • the OTDR sends the feedback information related to the reflected signal to the authentication device, and the authentication device determines the connection relationship between the ONU and the output port of the optical splitter according to the obtained feedback information.
  • the feedback information can indicate information of the reflected signal generated by the legal output port for the first test signal, for example, the optical power intensity of the reflected signal, the time of receiving the reflected signal, and other possible information.
  • the authentication device may determine the connection relationship between the ONU and the output port of the optical splitter according to the feedback information. For example, the time difference method or the optical power mode may be used. The following two methods are respectively introduced.
  • optical power mode When the optical power mode is adopted, it may include, but is not limited to, the following determination processes:
  • the authentication device determines whether the reflected fiber signal indicated by the feedback information has the maximum optical power and the fiber position is consistent with the preset fiber position of the legal output port.
  • the legal output port refers to the output port allocated by the PON to the ONU.
  • the PON can allocate an output port for the ONU, and the allocated output port is also the legal output port of the ONU.
  • An ONU can have one legal output port or multiple legal output ports.
  • the optical splitter includes three output ports: output port 1, output port 2, and output port 3. If the ONU1 is registered in the PON, the PON allocates the output port 1 to the ONU1, and the output port 1 is the legal output port of the ONU1. .
  • the reflected signal of the legal output port may be an optical signal transmitted to the legal output port along the optical fiber and reaching the output port of the optical splitter, and the reflecting device in the output port reflects the optical signal.
  • the preset fiber position of the legal output port may refer to the position of the reflected signal in the fiber when it has the maximum optical power.
  • the optical signal sent to the legal output port is transmitted along the optical fiber and reaches the output port of the optical splitter.
  • the reflective device in the output port can reflect the optical signal according to a specific reflectivity, and the reflected signal generated at the output port. With maximum power, it can be considered that the position of the fiber having the maximum power of the reflected signal reflected by the reflecting means of the output port can indicate the position of the output port in the fiber.
  • the reflected signal of the legal output port should have the preset optical fiber with the maximum optical power.
  • the location can be pre-tested, for example, tested prior to S12. The following describes a process for testing the default fiber position of a legal output port:
  • the authentication device sends a second test signal to the output port of the optical splitter, and obtains a reflected signal generated by each output port of the optical splitter to reflect the second test signal, thereby recording the optical fiber position of each of the reflected signals having the maximum optical power.
  • the default fiber position for the corresponding output port it is not possible to send to each output port, and send a second test signal to the output port that needs to be tested. Just to make the test coverage wider, you can send to each output port, that is, you can test all the output ports of the splitter.
  • each of the output ports of the optical splitter is provided with a dust cap of a built-in reflection device, if the dust cap is attached to the output port, if the authentication device sends a second to the input port of the optical splitter
  • the test signal can be transmitted along the optical fiber and reach the output port of the optical splitter.
  • the reflective device in the output port can reflect the optical signal according to a specific reflectivity to obtain a reflected signal, and the reflected signal is returned to the authentication device along the optical fiber. Thereby, the authentication device can analyze the reflected signals of the received output ports.
  • an analysis method is that a process of transmitting an optical signal to each output port to a reflected signal of the receiving output port is presented in a coordinate system, wherein the vertical axis of the coordinate system is the optical power of the optical signal, and the horizontal axis is the optical signal in the optical fiber.
  • the transmission time can characterize the distance that the optical signal is transmitted in the optical fiber, so the position of the optical signal in the optical fiber can be located based on the transmission time, that is, the horizontal axis can represent the optical fiber between the output port and the input port.
  • the length, or the distance at which the optical signal of the output port is transmitted in the fiber Therefore, by labeling the change of the optical signal when the optical signal is transmitted in each output port in the coordinate system, a curve characterizing the optical power with time when the optical signal is transmitted on the optical fibers of each output port can be obtained.
  • OTDR detection curve is that a process of transmitting an optical signal to each output port to a reflected signal of the receiving output port.
  • the maximum value of the optical power when the optical signal is transmitted on the optical fiber corresponding to the different output port that is, the position where the output port has a reflection peak in the optical fiber, so the optical fiber of the reflection peak can be
  • the position is the preset fiber position of the corresponding output port and is stored.
  • the time at which the reflected signals of the output port 1 to the output port N of the optical splitter on the OTDR detection curve have the maximum optical power that is, the position where the corresponding reflected peak appears in the optical fiber.
  • the position of the reflection peak of the output port 1 is located at the position 1 on the horizontal axis of the coordinate system
  • the position of the reflection peak of the output port 2 is at the position 2
  • the position of the reflection peak of the output port N is at the position N.
  • the lengths of the fibers corresponding to the output ports are in an equal relationship, for example, the lengths of the fibers corresponding to the output ports 1 and the output ports 2 are different by a, and the lengths of the fibers corresponding to the output ports 2 and the output ports 3 are also different by a.
  • the position 1 of the reflection peak of the output port 1 and the position 2 of the reflection peak of the output port 2 are spaced apart from each other, and the position 2 of the reflection peak of the output port 2 and the reflection peak of the output port 3 are Position 3 is also separated by b.
  • the position of the reflection peak on the OTDR detection curve may indicate the optical signal.
  • the length of the fiber that has been transmitted when the fiber cross-section is encountered on the fiber, and the position of the fiber cross-section is usually the position at which the output port is set, because the length of the fiber between the different output port and the input port in the embodiment of the present invention Different, so the position of the reflection peak of each output port on the OTDR detection curve is different. According to the position of the reflection peak on the OTDR detection curve, the corresponding output port can be determined, and the determination method is faster and the accuracy is higher.
  • the authentication device After the first test signal is sent to the legal output port of the optical splitter, the authentication device obtains the feedback information of the legal output port for the first test signal, and the optical fiber position of the reflected signal indicated by the feedback information has the maximum optical power.
  • the preset fiber positions of the legal output ports are compared. If the two are consistent, that is, when the reflected signal of the legal output port should have the maximum optical power, a reflection peak appears at the corresponding position in the fiber, indicating that the first test signal is at the output port.
  • the position is reflected, that is, the dust cap of the output port is not removed, and it is determined that the ONU is not connected to the legal output port.
  • the two are inconsistent, it indicates that the first test signal is not reflected at the output port, the dust cap of the legal output port has been removed, and it is determined that the ONU is connected to the legal output port.
  • the authentication device determines whether the reflected fiber signal indicated by the feedback information has the maximum optical power and the fiber position is consistent with the preset fiber position of the ONU.
  • the preset fiber position of the ONU can be legal when the ONU is connected to the legal output port.
  • the output port sends an optical signal, and the test optical signal is transmitted along the optical fiber and reaches the ONU connected to the legal output port, and the reflected signal generated by the reflection device in the ONU reflects the position of the optical fiber with the maximum optical power.
  • the preset fiber position of the ONU can also be pre-tested, for example, before S12. The following describes a process for testing the default fiber position of an ONU:
  • the authentication device sends a test optical signal to the legal output port of the optical splitter that is legally connected to the ONU through the OTDR.
  • the test optical signal is called a second test signal, and a reflective device for reflecting the optical signal is disposed in the ONU.
  • the OTDR can acquire the reflected signal generated by the reflection device of the ONU to reflect the second test signal, and record the position of the fiber with the maximum optical power of each reflected signal as the preset fiber position of the corresponding ONU, for example, OTDR detection. The position at which the reflected peak appears on the curve.
  • the authentication device determines that it is consistent with the preset optical fiber position of the ONU, it indicates that the first test signal is reflected by the reflection device in the ONU, so that the ONU can be determined to be connected to the legal output port. If they are inconsistent, indicating that the first test signal is not reflected by the reflecting device in the ONU, it is determined that the ONU is not connected to the legal output port.
  • the authentication device in order to determine the connection relationship of the ONU, the authentication device may be implemented in two ways: combining the OTDR detection curve and the foregoing determining the connection relationship.
  • the PON is the legal output port assigned to the ONU1, it is the output port 1 of the optical splitter as shown in FIG. 2.
  • the authentication device sends a first test signal to the output port 1 of the optical splitter through the OTDR, and detects the connection relationship between the ONU1 and the output port of the optical splitter.
  • the corresponding OTDR detection curve is obtained as shown in FIG. 5A, and FIG. 5A shows The position of the reflection peak of the other output port of the spectroscope is taken out, wherein the position A is the position where the ONU1 is located when the ONU1 and the output port 1 are connected by the optical fiber.
  • ONU1 has a new reflection peak at position A;
  • the characteristic distance between the position where the reflection peak of ONU1 is located and the position where the reflection peak of the output port 1 of the spectroscope is located is D1, which can represent the light between ONU1 and output port 1.
  • the length of the fiber is D1
  • the reflected signal of the legal output port in the coordinate system has the optical fiber position at the maximum optical power, which is consistent with the preset fiber position.
  • the preset fiber position may be legal.
  • the preset fiber position of the output port and the preset fiber position of the OUN1 can determine whether the ONU is connected to the legal output port according to the determination process described above.
  • the judgment mode is quick and accurate, and the output port is observed through the OTDR detection curve.
  • the condition of the reflected signal can better monitor the link quality and detect and locate the link fault in time.
  • the output port 1 has been re-applied with the dust cap of the built-in reflector, and the reflection peak of the output port 1 reappears, and the position The reflection peak of A will also disappear, and since the dust cap of the output port 2 connected to the ONU is removed, the reflection peak at the corresponding position on the OTDR detection curve disappears, and the corresponding ONU1 is connected to the output port 2
  • the position B at the location will also have a corresponding reflection peak, that is, the position where the optical power of the reflected signal generated by the reflection signal reflected by the reflection device built in the ONU1 is the largest, and the corresponding OTDR detection curve is as shown in FIG. 5B, wherein the ONU1 The characteristic distance from the splitter output port 1 is changed from D1 to D2.
  • the ONU when the ONU is connected to the legal output port, the distance between the ONU and the connected output port is fixed, and when the connection relationship is changed, the characteristic distance between the ONU and the connected output port is usually also Corresponding changes, in the process of determining the connection relationship between the ONU and the legal output port, the ONU can be connected to the legal output port to effectively lock the access user and the access network.
  • the location provides effective protection for some access situations with high security requirements, preventing illegal personnel from accessing the optical network by using legally authorized ONUs in their homes.
  • the authentication device determines whether the time difference between the time at which the reflected signal indicated by the feedback information is received and the time at which the first test signal is transmitted is consistent with the legal time difference that the legal output port should have.
  • the legal time difference of the legal output port is the time difference between the transmission of the optical signal to the legal output port and the reception of the optical signal reflected by the legal output port.
  • the legal time difference of the legal output port can be pre-tested, for example, it is tested before S12. The following describes a process for testing the legal time difference of a legal output port:
  • the authentication device sends a test optical signal to each output port of the optical splitter through the OTDR, and the test optical signal is referred to as a second test signal.
  • the test since each output port is provided with a dust cap with a built-in reflection device, when the second test signal is transmitted to the output port, the reflection device at the output port reflects it to generate a second test signal.
  • the reflected signal and the reflected signal are transmitted to the OTDR, and the OTDR can record the time of receiving the reflected signal of each output port, that is, the time at which the OTDR receives the reflected signal of the reflecting device for the second test signal in each output port, and records the receiving time.
  • Send to the authentication device In addition, the OTDR can also record the time when the second test signal is sent to the output port, that is, record the transmission time of the second test signal, and send the recorded transmission time to the authentication device.
  • the legal time difference of each output port can be determined.
  • the legal time difference of any one of the output ports is the time difference between the time when the second test signal is sent to the output port and the time when the reflected signal returned from the arbitrary one of the output ports is received.
  • the OTDR sends a second test signal to the N output ports of the optical splitter at time T 0 .
  • the second test signal After the second test signal reaches the output port, the second test signal is reflected by the reflection device at the output port, and the reflected signal is returned to the OTDR, and the OTDR records for N.
  • the receiving time of the reflected signal of the output port is T 1 , T 2 , . . . , T N-1 , T N , where 1 to N represent the serial number of the output port.
  • the authentication device determines that the legal time difference of the output port 1 of the optical splitter is T 1 -T 0 , the legal time difference of the output port 2 is T 2 -T 0 , ..., and the legal time difference of the output port N is T N -T 0 .
  • the legal time difference of each output port of the optical splitter may be obtained in advance, so that when the connection relationship between the ONU and the output port of the optical splitter is detected by using the first test signal, feedback information for the first test signal is adopted.
  • the manner in which the indicated time difference matches the legal time of each output port tested in advance may determine that the output port tested by the first test signal is specifically Which output port in the splitter has a higher recognition efficiency for the output port.
  • the lengths of the optical fibers of the output port 1, the output port 2, and the output port 3 of the optical splitter are L, L+a, L+2a, respectively, if the second test signal is respectively sent to the three output ports, and based on The feedback information of the second test signal determines that the legal time difference corresponding to the three output ports is T 1 , T 2 , T 3 , where T is the corresponding time when the test signal and the reflected signal are transmitted in the fiber link of length L. Time, if the time difference of an output port detected by sending the first test signal is the same as T 2 , it indicates that the output port of the first test signal test is output port 2.
  • the test optical signal may be affected during the transmission of the optical fiber, such as loss, bandwidth, etc., so that the time difference of the same output port tested at different times may fluctuate. As long as it floats within a certain range, that is, the difference between the time difference of the test and the legal time difference is within a certain range, the two can be considered to be consistent. This range can be set based on experience.
  • the second test signal determines that the legal time difference of the output port 1 is 6 us, and the set floating range is [0, 0.3 us]. If the first test signal determines that the time difference of the tested output port is 5.8 us, it is legal. If the time difference of the time difference is within the allowable floating range, the output port of the test can be considered as the output port 1. If the first test signal determines that the time difference of the tested output port is 5.2us, it is between the legal time difference A time gap that exceeds the allowed floating range indicates that the output port being tested is not output port 1.
  • the authentication device determines that the detected time difference is consistent with the legal time difference of the legal output port, it indicates that the reflected signal is reflected by the reflection device in the output port, indicating that the dust cap of the legal output port is in an unpicked state, that is, the ONU is obviously Not connected to a pre-assigned legal output port.
  • the reflected signal is considered to be reflected by the ONU connected to the legal output port, that is, The ONU is connected to the legal output port of the ONU.
  • the optical splitter includes three output ports, an output port a, an output port b, and an output port c, wherein the output port b is a legal output port allocated by the ONU1, and the output port a, the output port b, and the output port c are determined through advance testing.
  • the legal time difference is in turn T a , T b and T c . Then, if the time difference obtained by sending the first test signal test to the output port b does not coincide with T b , it indicates that ONU1 is currently connected to the legal output port assigned thereto.
  • the time difference obtained by sending the first test signal test to the output port b is consistent with T b , it indicates that the ONU1 is not currently connected to the legal output port allocated thereto, and at this time, it can be determined that the first two output ports are sent first. Whether the time difference tested by the test signal is consistent with the corresponding legal time difference. If it is determined that the time difference of any one of the tested output ports is inconsistent with the corresponding legal time difference, it indicates that the ONU is currently connected to the output port, for example, if it is determined to send to the output port c The time difference obtained by a test signal test is inconsistent with T c , indicating that the ONU is connected to the output port c.
  • the authentication device can determine the time difference indicated by the feedback information, and further, by comparing whether the time difference indicated by the feedback information and the predetermined output port are legal. If the time difference is consistent, it can be determined whether the legal output port is connected to the ONU, and the determination manner is relatively fast.
  • the first test signal may be sent to each legal output port, and the time difference of each output port is obtained. Then, the detected time difference is compared with the legal time difference of the corresponding legal output port. As long as the time difference between the legal output port and the legal output port of one legal output port is inconsistent with the legal time difference of the legal output port, the ONU is determined to be connected to the legal output port. .
  • the second test signal is used to detect the legal time difference of each output port.
  • the authentication device determines whether the time difference between the time at which the reflected signal indicated by the feedback information is received and the time at which the first test signal is transmitted is consistent with the legal time difference that the ONU should have.
  • the legal time difference of the ONU is the time difference between sending a test signal to the ONU connected to the legal output port to receiving the signal reflected by the ONU.
  • the legal time difference of the ONU can also be Pre-tested, for example, was tested before S12. The following describes a process for testing the legal time difference of an ONU:
  • the authentication device sends a test optical signal to the legal output port of the optical splitter that is legally connected to the ONU through the OTDR, and the test optical signal may still be referred to as a second test signal.
  • the second test signal is reflected back to the OTDR by the reflecting device provided in the ONU, and the OTDR can determine the difference between the time when the second test signal is sent and the time of receiving the reflected signal from the ONU for the second test signal, the difference. That is, the legal time difference of the ONU, the authentication device can store it in the database in advance, so that it can be called when receiving the online request of the corresponding ONU in the later stage, so as to determine the connection relationship of the ONU based on the legal time difference of the ONU.
  • the ONU when the ONU is connected to the output port of the optical splitter, it is connected to the output port of the optical splitter through a fiber optic cable. When the connection is made, the dust cap of the output port is removed. Therefore, during the testing process When the authentication device sends the first test signal to the output port, the first test signal is transmitted along the fiber link, and when it reaches the output port of the beam splitter, no reflection of the test signal is generated, and when the test signal edge When the optical fiber continues to be transmitted to the ONU, the reflection device provided in the ONU reflects the first test information, and the reflected signal is returned to the authentication device. At this time, the time for transmitting the first test signal and the time for receiving the reflected signal are obtained by the authentication device test.
  • the time difference between them is usually greater than the legal time difference of the output port. That is to say, for the same output port, when detecting the legal time difference of the ONU, the transmission distance of the optical signal in the optical fiber is generally greater than the distance that the optical signal is transmitted in the optical fiber when detecting the legal time of the output port.
  • the authentication device may be determined whether the time difference determined by the first test signal is consistent with the legal time difference of the ONU to determine whether the current ONU is connected to the allocated legal output port. If the authentication device determines that the time difference is consistent with the legal time difference of the ONU, the authentication device determines that the ONU is currently connected to the legal output port, that is, the received reflected signal is a signal reflected by the reflection device in the ONU. If not, the ONU does not have a legal output port. Connected, at this time, the legal output port may not be connected or connected to other ONUs.
  • the optical splitter includes three output ports: output port 1, output port 2, and output port 3, when the ONU1 is connected to the output port 1, the output port 2, and the output port 3 respectively, the legal time difference of the ONU1 is T 1 , T 2 and T 3 , where output port 2 is the legal output port assigned by ONU1. Then, during the test, if the time difference of the ONU sent by the first test signal to the output port 2 is consistent with T 2 , it indicates that the ONU 1 is currently connected to the legal output port assigned thereto.
  • the transmission time of the first test signal test ONU1 resulting difference to the output port 2 and T 2 do not match, this indicates that no ONU1 connected to the output port assigned to legitimate, in which case it can be determined to send another two output ports Whether the time difference of the ONU1 tested by the first test signal is consistent with T 1 or T 3 . If it is determined that the time difference of any one of the tested output ports is consistent with the corresponding legal time difference, it indicates that ONU1 is currently connected to the output port, for example, if the authentication device determining a first transmission time ONU1 test signal test to output the resulting difference between port 1 and T 1 is consistent, it is determined that the output port 1 is connected to ONU1.
  • the time difference method can be used to detect the time difference of the ONU of the legal output port, and the difference between the detected time difference and the legal time difference can be quickly determined whether the ONU is connected to the legal output port, and the ONU is solved in the prior art.
  • any one of the foregoing determining processes may be used alone, or may be used in combination with two determining processes, which is not used by the embodiment of the present invention. Specific restrictions. Even in the case of no conflict, the optical power mode and the time difference mode can be combined to determine the connection relationship between the ONU and the output port.
  • the ONU is authenticated. At this time, the authentication device will allow the ONU to access the PON. If the authentication device is inconsistent, the authentication device can refuse the ONU to go online. The ONU1 position change alarm can be issued. Even after the connection relationship is changed, the port identifier corresponding to the output port connected to the ONU, such as output port 2 or output port 3, is reported to the authentication device to improve the connection relationship with the optical network unit. Supervisor Test, easy to understand the ONU's network access trends in real time.
  • the authentication device can quickly determine the output port currently connected to the ONU by using the optical power mode or the time difference mode. If the output port is a legal output port, the connection relationship is consistent with the legal connection relationship, that is, the authentication is performed.
  • the ONU-based connection is used to authenticate the ONU. This can effectively ensure that the ONU can go online only through the output port assigned to it. This prevents unauthorized users from sharing the network connection with different optical access ports. Services help operators manage broadband access users and improve network security.
  • the authentication device provided in the embodiment of the present invention may include a receiver 601, a memory 602, and a processor 603 connected to the same bus 600.
  • the authentication device may further include a transmitter 604, which is shown together in FIG. Since the transmitter 604 is an optional physical component, it is drawn in the form of a dashed line in FIG.
  • the receiver 601 can be configured to receive an online request sent by the optical network unit, and the online request is used by the optical network unit to request access to the optical network.
  • the memory 602 can be used to store a legal connection relationship of the optical network unit, where the legal connection relationship is used to indicate that the output port of the optical splitter to which the optical network unit is connected is a legal output port allocated for the optical network unit.
  • the processor 603 is configured to detect a connection relationship between the optical network unit and the output port of the optical splitter according to the online request. If it is determined that the detected connection relationship is consistent with the legal connection relationship of the optical network unit, determining that the optical network unit passes the authentication, allowing the light.
  • the network unit is connected to the optical network.
  • the processor 603 may be a central processing unit (CPU) or an application specific integrated circuit (ASIC), and may be one or more integrated circuits for controlling program execution. Is a baseband chip, and so on.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the number of the memory 602 in the authentication device may be one or more, and the memory 602 may be a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk. and many more.
  • the transmitter 604 can be used to transmit a test signal or the like when the optical network unit and the output port of the optical splitter are connected, or can also send other data, which is not provided by the embodiment of the present invention. Body limitation.
  • the receiver 601, the memory 602, and the transmitter 604 may be connected to the processor 603 via the bus 600 (for example, as shown in FIG. 6), or may be separately connected to the processor 603 through a dedicated connection line.
  • the receiver 601 and the memory 602 transmitter 604 may also be connected via a bus 600 (for example, as shown in FIG. 6), or may be connected through a dedicated connection line.
  • the code corresponding to the method for accessing the ONU to the PON is solidified into the chip, so that the chip can execute the method provided by the foregoing embodiment shown in FIG. 4 during operation, how to The processor 603 performs design programming and is well known to those skilled in the art, and details are not described herein again.
  • the authentication device in the embodiment of the present invention can be used to perform the method provided by the embodiment shown in FIG. 4, the functions that can be implemented by each functional unit in the authentication device in the embodiment of the present invention can be seen in FIG. The description of the embodiments will not be repeated here.
  • an embodiment of the present invention provides an authentication device, which can be applied to an optical network system as shown in FIG. 1.
  • the authentication device can include a receiving module 701, a testing module 702, and a processing module 703. .
  • the physical device corresponding to the receiving module 701 may be the receiver 601 in FIG. 6
  • the physical device corresponding to the testing module 702 may be the transmitter 604 in FIG. 6
  • the physical device corresponding to the processing module 703 may be FIG. 6 .
  • the various modules in the authentication device may be used to perform the methods provided by the embodiment shown in FIG. 4, such as an authentication device as previously described. Therefore, for the functions and the like implemented by the modules in the authentication device, reference may be made to the description of the previous method section, and details are not described herein.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative
  • the division of the module or unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or integrated into another system, or some Features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • 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 integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present application.

Abstract

Embodiments of the present invention provide a method for accessing an optical network by an optical network unit (ONU), and an authentication device and system, which are used for improving an effect of supervising a connection relationship of the ONU accessing an optical network. The method comprises: an authentication device receiving an online request sent by an ONU, and detecting a connection relationship between the ONU and an output port of an optical splitter according to the online request; if it is determined that the detected connection relationship is consistent with a legitimate connection relationship of the ONU, determining that the authentication of the ONU succeeds, and permitting the ONU to access the optical network, wherein the legitimate connection relationship is used for indicating that the output port of the optical splitter connected with the ONU is a legitimate output port allocated to the ONU.

Description

一种光网络单元接入光网络的方法、认证设备和系统Method, authentication device and system for optical network unit to access optical network 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种光网络单元接入光网络的方法、认证设备和系统。The present invention relates to the field of communications technologies, and in particular, to a method, an authentication device, and a system for an optical network unit to access an optical network.
背景技术Background technique
随着光纤网络规模迅速扩大,无源光网络(Passive Optical Network,PON)技术逐渐成为光接入网技术的热点。As the scale of optical fiber networks expands rapidly, Passive Optical Network (PON) technology has become a hot spot in optical access network technology.
目前,光网络单元(Optical Network Unit,ONU)在接入PON时,PON中的网络管理系统(Network Management System,NMS)主要根据ONU的序列号及密码验证其合法性,并在通过验证时允许ONU接入,以避免未授权的ONU进行非法接入。At present, when an optical network unit (ONU) is connected to a PON, the network management system (NMS) in the PON mainly verifies the legitimacy according to the serial number and password of the ONU, and allows the verification when passing the verification. The ONU accesses to prevent unauthorized ONUs from making unauthorized access.
然而,在实际应用中,由于NMS无法识别ONU所连接的分光器的输出端口,因此,若用户携带其已认证授权的ONU在无源光网络中同一分光器下的非法的输出端口进行上线,NMS无法获知ONU连接的分光器的输出端口已发生改变。其中,NMS为ONU分配的输出端口认为是该ONU的合法输出端口,未分配给该ONU的输出端口就认为是该ONU的非法输出端口。例如,为已认证的ONU分配的合法输出端口为分光器的输出端口1,如果用户将ONU从输出端口1上拆除,而重新将该ONU连接到该分光器上对于该ONU来说是非法输出端口的输出端口2进行上线,则NMS无法察觉ONU上线时所连接的输出端口已改变。However, in an actual application, since the NMS cannot identify the output port of the optical splitter to which the ONU is connected, if the user carries the authenticated authorized ONU to go online on the illegal output port of the same optical splitter in the passive optical network, The NMS cannot know that the output port of the splitter connected to the ONU has changed. The output port allocated by the NMS to the ONU is considered to be the legal output port of the ONU, and the output port not allocated to the ONU is considered to be the illegal output port of the ONU. For example, the legal output port assigned to the authenticated ONU is the output port 1 of the splitter. If the user removes the ONU from the output port 1, re-connecting the ONU to the splitter is an illegal output for the ONU. When the output port 2 of the port goes online, the NMS cannot detect that the output port connected when the ONU goes online has changed.
因此,目前PON无法确定ONU与输出端口的连接情况,也无法获知分光器中各输出端口的使用情况,从而无法确定分光器的输出端口中究竟哪些输出端口是未连接ONU的可用输出端口。那么,在PON需要为新注册的ONU分配输出端口时,由于无法获知分光器中各输出端口的使用情况,所以无法保证分配的输出端口未被其它ONU占用,因此可能出现该新注册的ONU无法使用分配的输出端口的情况,从而导致ONU无法正常接入光网络。 Therefore, at present, the PON cannot determine the connection between the ONU and the output port, and the usage of each output port in the optical splitter cannot be known, so that it is impossible to determine which output ports of the optical splitter output port are available output ports that are not connected to the ONU. Then, when the PON needs to allocate an output port for the newly registered ONU, since the usage of each output port in the optical splitter cannot be known, there is no guarantee that the allocated output port is not occupied by other ONUs, so the newly registered ONU may not be available. When the assigned output port is used, the ONU cannot access the optical network normally.
发明内容Summary of the invention
本发明实施例提供一种光网络单元接入光网络的方法、认证设备和系统,用于解决对接入光网络的光网络单元的连接关系的监管效果较差的技术问题。The embodiments of the present invention provide a method, an authentication device, and a system for an optical network unit to access an optical network, which are used to solve the technical problem that the monitoring effect of the optical network unit connected to the optical network is poor.
第一方面,提供一种光网络单元接入光网络的方法,该方法由认证设备执行。该方法包括:该认证设备在接收到光网络单元发送的用于请求接入光网络的上线请求时,通过根据上线请求能够检测光网络单元与分光器的输出端口之间的连接关系,在认证设备确定检测的连接关系与光网络单元的合法连接关系一致时,即表明光网络单元当前所连接的分光器的输出端口是为光网络单元分配的合法输出端口时,确定光网络单元通过认证,从而允许光网络单元接入光网络。In a first aspect, a method for an optical network unit to access an optical network is provided, the method being performed by an authentication device. The method includes: when receiving the online request sent by the optical network unit for requesting access to the optical network, the authentication device can detect the connection relationship between the optical network unit and the output port of the optical splitter according to the online request, in the authentication When the device determines that the detected connection relationship is consistent with the legal connection relationship of the optical network unit, that is, when the output port of the optical splitter currently connected to the optical network unit is a legal output port allocated for the optical network unit, it is determined that the optical network unit passes the authentication. Thereby allowing the optical network unit to access the optical network.
本发明实施例中,光网络单元在请求接入光网络时,认证设备可以检测光网络单元与分光器的输出端口之间的连接关系,并在确定当前的连接关系与合法连接关系一致时才允许光网络单元接入光网络。通过对光网络单元的连接关系的认证,能够有效保证光网络单元都通过为其分配的合法输出端口进行上线,避免出现一个光网络单元占用其它光网络单元的输出端口的情况。且能够较为便捷地获知各输出端口的使用情况,在需要为新的光网络单元分配输出端口时,可以从未被占用的输出端口中为新的光网络单元分配相应的合法输出端口,从而使得分光器的输出端口都得到合理利用,各光网络单元都能够正常上线,避免因为分配的输出端口被占用而导致有些光网络单元无法连接光网络的情况,对于输出端口的管理更加有效。In the embodiment of the present invention, when the optical network unit requests to access the optical network, the authentication device can detect the connection relationship between the optical network unit and the output port of the optical splitter, and determine that the current connection relationship is consistent with the legal connection relationship. Allows the optical network unit to access the optical network. By authenticating the connection relationship of the optical network unit, it is possible to effectively ensure that the optical network unit goes online through the legal output port assigned to it, thereby avoiding the situation that one optical network unit occupies the output port of other optical network unit. Moreover, the usage of each output port can be relatively conveniently obtained. When an output port needs to be allocated for a new optical network unit, a corresponding legal output port can be allocated to the new optical network unit from the unoccupied output port, thereby The output ports of the optical splitters are properly utilized, and the optical network units can be put on the line normally, so that some optical network units cannot be connected to the optical network because the allocated output ports are occupied, and the management of the output ports is more effective.
结合第一方面,在第一方面的第一种可能的实现方式中,认证设备根据上线请求向分光器中的为光网络单元分配的合法输出端口发送第一测试信号,通过合法输出单口对第一测试信号的反射,认证设备能够获得用于指示合法输出端口针对第一测试信号产生的反射信号的信息的反馈信息,进而认证设备能够根据反馈信息确定光网络单元的连接关系。With reference to the first aspect, in a first possible implementation manner of the first aspect, the authentication device sends the first test signal to the legal output port allocated to the optical network unit in the optical splitter according to the online request, and the legal output is outputted by the single port. A reflection of the test signal, the authentication device can obtain feedback information for indicating information of the reflected signal generated by the legal output port for the first test signal, and the authentication device can determine the connection relationship of the optical network unit according to the feedback information.
本发明实施例中,认证设备通过向各合法输出端口发送第一测试信号, 并获得各合法输出端口针对第一测试信号的反馈信息来确定连接关系,而反馈信息能够表征相应的合法输出端口针对第一测试信号所产生的反射信号的信息,例如反射信号的光功率强度、接收反射信号的时长等,认证设备只需要通过分析反馈信息即可确定光网络单元的连接关系,故确定方式较为便捷,有助于提高认证设备确定光网络单元的连接关系的工作效率。In the embodiment of the present invention, the authentication device sends the first test signal to each legal output port. And obtaining feedback information of each legal output port for the first test signal to determine a connection relationship, and the feedback information can represent information of a reflected signal generated by the corresponding legal output port for the first test signal, such as an optical power intensity of the reflected signal, The duration of receiving the reflected signal, etc., the authentication device only needs to analyze the feedback information to determine the connection relationship of the optical network unit, so the determination method is convenient, which helps to improve the working efficiency of the authentication device to determine the connection relationship of the optical network unit.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,认证设备根据获得的反馈信息,确定反馈信息所指示的反射信号具有最大光功率的光纤位置与合法输出端口的预设光纤位置是否一致,该光纤位置即为第一测试信号的反射信号在光纤中具有最大光功率时所处的位置,若一致,则表明该反射信号由输出端口处的反射装置进行反射,故可以确定光网络单元未与合法输出端口相连,若不一致,则表明该反射信号不是由输出端口处的反射装置反射的,故可确定当前该合法输出端口连接有光网络单元。With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the authentication device determines, according to the obtained feedback information, a fiber position that has a maximum optical power of the reflected signal indicated by the feedback information. Whether the position of the predetermined fiber position of the legal output port is the same as the position of the reflected signal of the first test signal when the optical fiber has the maximum optical power. If the position is consistent, it indicates that the reflected signal is at the output port. The reflection device reflects, so that it can be determined that the optical network unit is not connected to the legal output port. If it is inconsistent, it indicates that the reflected signal is not reflected by the reflection device at the output port, so it can be determined that the legal output port is currently connected to the optical network unit. .
本发明实施例中,由于光纤位置为由第一测试信号的反射信号在光纤中具有最大光功率时所处的位置,而预设光纤位置为由合法输出端口处的反射装置反射测试信号产生的反射信号在光纤中具有最大光功率所处的位置,故认证设备通过将反馈信息所指示述反射信号具有最大光功率的光纤位置与合法输出端口的预设光纤位置进行比较,即可确定光网络单元是否与合法输出端口相连,即确定该反射信号是否由合法输出端口中的反射装置反射的,若是,则合法输出端口的防尘帽未被摘取,合法输出端口未与光网络单元连接,否则,则确定合法输出端口连接有光网络单元,因此,确定过程较为简单、快捷,有助于减轻认证设备的工作负担。In the embodiment of the present invention, since the position of the optical fiber is a position where the reflected signal of the first test signal has the maximum optical power in the optical fiber, and the preset optical fiber position is generated by the reflection device reflected by the reflective device at the legal output port. The reflected signal has a position where the maximum optical power is located in the optical fiber, so the authentication device can determine the optical network by comparing the position of the optical fiber having the maximum optical power of the reflected signal indicated by the feedback information with the preset optical fiber position of the legal output port. Whether the unit is connected to the legal output port, that is, whether the reflected signal is reflected by the reflection device in the legal output port, and if so, the dust cap of the legal output port is not removed, and the legal output port is not connected to the optical network unit. Otherwise, it is determined that the legal output port is connected to the optical network unit. Therefore, the determining process is relatively simple and fast, which helps to reduce the workload of the authentication device.
结合第一方面的第二种可能实现的方式,在第一方面的第三种可能实现的方式中,在认证设备向分光器中的为光网络单元分配的合法输出端口发送第一测试信号之前,认证设备还可以向分光器的输出端口发送第二测试信号,认证设备获取分光器的每个输出端口对第二测试信号进行反射所产生的反射信号,并确定每个反射信号具有最大光功率时的光纤位置,并将该光纤位置 记录为相应的输出端口的预设光纤位置,故可以确定分光器中每个输出端口的预设光纤位置,进而其进行存储。In conjunction with the second possible implementation of the first aspect, in a third possible implementation of the first aspect, before the authentication device sends the first test signal to the legal output port of the optical splitter for the optical network unit The authentication device may further send a second test signal to the output port of the optical splitter, and the authentication device obtains a reflected signal generated by each output port of the optical splitter to reflect the second test signal, and determines that each reflected signal has a maximum optical power. Fiber position and the fiber position Recorded as the default fiber position of the corresponding output port, it is possible to determine the preset fiber position of each output port in the splitter, and then store it.
由于分光器包括的多个输出端口中每个输出端口均通过光纤与分光器的输入端口连接,不同的输出端口与输入端口之间的光纤的长度不同,且多个输出端口中的每个输出端口处设置了用于反射光信号的反射装置,因此,任意一个输出端口的预设光纤位置可以是为认证设备发送的第二测试信号从任意一个输出端口返回的反射信号在光纤中具有最大光功率的位置,故不同输出端口的预设光纤位置也不同,故可根据预设光纤位置区分不同的输出端口,有助于提高认证设备对输出端口的识别能力,从而提高认证设备确定光网络单元的连接关系的准确性。Since each of the plurality of output ports included in the optical splitter is connected to the input port of the optical splitter through the optical fiber, the length of the optical fiber between the different output ports and the input port is different, and each of the plurality of output ports is output. A reflective device for reflecting the optical signal is disposed at the port. Therefore, the preset optical fiber position of any one of the output ports may be a second test signal sent by the authentication device, and the reflected signal returned from any one of the output ports has the maximum light in the optical fiber. The location of the power, so the preset fiber positions of different output ports are also different. Therefore, different output ports can be distinguished according to the preset fiber position, which helps to improve the identification capability of the authentication device for the output port, thereby improving the authentication device to determine the optical network unit. The accuracy of the connection relationship.
结合第一方面的第一种可能实现的方式,在第一方面的第四种可能实现的方式中,确定反馈信息所指示的反射信号具有最大光功率的光纤位置与光网络单元的预设光纤位置是否一致,若确定二者一致,则认证设备确定光网络单元与合法输出端口相连,否则,就表明光网络单元未与合法输出端口相连。With reference to the first possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, determining a fiber position of the reflected signal indicated by the feedback information and having a maximum optical power and a preset optical fiber of the optical network unit If the locations are the same, the authentication device determines that the optical network unit is connected to the legal output port. Otherwise, the optical network unit is not connected to the legal output port.
其中,光纤位置为第一测试信号的反射信号在光纤中具有最大光功率时所处的位置,预设光纤位置为由光网络单元的反射装置反射测试信号产生的发射信号在光纤中具有最大光功率所处的位置。Wherein, the position of the optical fiber is a position at which the reflected signal of the first test signal has the maximum optical power in the optical fiber, and the predetermined optical fiber position is a transmission signal generated by the reflection device reflected by the reflection device of the optical network unit, and has a maximum light in the optical fiber. The location where the power is located.
本发明实施例中,仅需通过将反馈信息指示的光纤位置与光网络单元的预设光纤位置进行比较,即可确定该反射信号是否由光网络终端的反射装置反射,即能够确定该反射信号是否沿光纤传输到光网络终端所处的位置,从而来确定光网络单元是否与合法输出端口相连,确定方式较为快捷。In the embodiment of the present invention, only by comparing the position of the optical fiber indicated by the feedback information with the preset optical fiber position of the optical network unit, whether the reflected signal is reflected by the reflective device of the optical network terminal, that is, the reflected signal can be determined. Whether it is transmitted along the optical fiber to the location where the optical network terminal is located, thereby determining whether the optical network unit is connected to the legal output port, the determination manner is relatively fast.
结合第一方面的第四种可能实现的方式,在第一方面的第五种可能实现的方式中,认证设备向分光器中与光网络单元合法相连的合法输出端口发送第二测试信号,且光网络单元中设置了用于反射光信号的反射装置,故认证设备能够获取光网络单元对第二测试信号进行反射所产生的反射信号,进而将该反射信号具有最大光功率时的光纤位置记录为光网络单元的预设光纤位 置,并进行存储。In conjunction with the fourth possible implementation of the first aspect, in a fifth possible implementation manner of the first aspect, the authentication device sends a second test signal to a legal output port of the optical splitter that is legally connected to the optical network unit, and A reflection device for reflecting the optical signal is disposed in the optical network unit, so that the authentication device can obtain the reflected signal generated by the optical network unit reflecting the second test signal, and then the optical fiber position record when the reflected signal has the maximum optical power. Preset fiber position for the optical network unit Set and store.
本发明实施例中,由于光网络单元中设置了用于反射光信号的反射装置,故在光网络单元与合法输出端口相连时,通过向合法输出端口发送测试信号,即可检测确定光网络单元在该合法连接关系中,由光网络单元中的反射装置反射测试信号所产生的反射信号在光纤中具有最大光功率的光纤位置,进而可对该光纤位置进行记录,由于光网络单元在连接不同输出端口时对应有不同的光纤长度,故测试所确定的各个光网络单元的预设光纤位置也互不相同,因此后期可以根据光网络单元的预设光纤位置来确定光网络单元所连接的输出端口所对应的光纤长度,从而根据光纤长度与输出端口之间的对应关系即可确定相应的输出端口,提高对光网络单元连接的输出端口的识别能力。In the embodiment of the present invention, since the optical network unit is provided with a reflection device for reflecting the optical signal, when the optical network unit is connected to the legal output port, the optical network unit can be detected and determined by sending a test signal to the legal output port. In the legal connection relationship, the reflected signal generated by the reflection device in the optical network unit reflects the position of the optical fiber having the maximum optical power in the optical fiber, and the optical fiber position can be recorded, because the optical network unit is different in connection. The output ports correspond to different fiber lengths. Therefore, the preset fiber positions of the optical network units determined by the test are also different from each other. Therefore, the output connected to the optical network unit can be determined according to the preset fiber position of the optical network unit. The length of the fiber corresponding to the port, so that the corresponding output port can be determined according to the correspondence between the length of the fiber and the output port, thereby improving the recognition capability of the output port connected to the optical network unit.
结合第一方面或第一方面的第一种至第五种可能的实现方式,在第一方面的第六种可能的实现方式中,若认证设备确定检测的光网络单元与输出端口的连接关系与光网络单元的合法连接关系不一致,则拒绝光网络单元接入光网络。With reference to the first aspect or the first to fifth possible implementation manners of the first aspect, in the sixth possible implementation manner of the first aspect, if the authentication device determines the connection relationship between the detected optical network unit and the output port If the legal connection relationship with the optical network unit is inconsistent, the optical network unit is denied access to the optical network.
本发明实施例中,如果认证设备确定光网络单元未与分配的合法输出端口连接时,即拒绝光网络单元上线,从而避免光网络单元滥用除合法输出端口以外的其它输出端口进行上线,有效提高对上线的光网络单元的管理效果。In the embodiment of the present invention, if the authentication device determines that the optical network unit is not connected to the allocated legal output port, the optical network unit is rejected, thereby preventing the optical network unit from abusing other output ports except the legal output port, thereby effectively improving the uplink network. Management effect on the online optical network unit.
第二方面,提供一种认证设备,该认证设备位于光网络系统中,认证设备包括:用于接收光网络单元发送的上线请求的接收器、用于存储光网络单元的合法连接关系的存储器,以及处理器,该处理器可以根据上线请求检测光网络单元与分光器的输出端口之间的连接关系,并在确定检测的连接关系与光网络单元的合法连接关系一致时,确定光网络单元通过认证,才允许光网络单元接入光网络。The second aspect provides an authentication device, where the authentication device is located in an optical network system, where the authentication device includes: a receiver for receiving an online request sent by the optical network unit, and a memory for storing a legal connection relationship of the optical network unit, And a processor, where the processor can detect the connection relationship between the optical network unit and the output port of the optical splitter according to the online request, and determine that the optical network unit passes when determining that the detected connection relationship is consistent with the legal connection relationship of the optical network unit. Authentication allows the optical network unit to access the optical network.
结合第二方面,在第二方面的第一种可能的实现方式中,处理器能够用于根据上线请求向分光器中的为光网络单元分配的合法输出端口发送第一测试信号,并获得合法输出端口针对第一测试信号的反馈信息,该反馈信息指示了合法输出端口针对第一测试信号产生的反射信号的信息,如光功率强度 等信息,处理器根据反馈信息即可确定光网络单元的连接关系。With reference to the second aspect, in a first possible implementation manner of the second aspect, the processor can be configured to send, according to the online request, the first test signal to the legal output port allocated to the optical network unit in the optical splitter, and obtain the legal The feedback information of the output port for the first test signal, the feedback information indicating the information of the reflected signal generated by the legal output port for the first test signal, such as the optical power intensity And other information, the processor can determine the connection relationship of the optical network unit according to the feedback information.
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,处理器用于确定反馈信息所指示的反射信号具有最大光功率的光纤位置与合法输出端口的预设光纤位置是否一致,该光纤位置为第一测试信号的反射信号在光纤中具有最大光功率时所处的位置,若一致,则表明光网络单元未与合法输出端口相连,否则,则表明光网络单元与合法输出端口相连。In conjunction with the first possible implementation of the second aspect, in a second possible implementation of the second aspect, the processor is configured to determine a fiber position of the reflected signal indicated by the feedback information and a legal output port Whether the position of the preset fiber is consistent, and the position of the fiber is the position where the reflected signal of the first test signal has the maximum optical power in the fiber. If they are consistent, it indicates that the optical network unit is not connected to the legal output port; otherwise, it indicates The optical network unit is connected to a legal output port.
结合第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,处理器还可以在向分光器中的为光网络单元分配的合法输出端口发送第一测试信号之前,向分光器的输出端口发送第二测试信号,该分光器包括多个输出端口,其中每个输出端口均通过光纤与分光器的输入端口连接;不同的输出端口与输入端口之间的光纤的长度不同,且多个输出端口中的每个输出端口处设置了用于反射光信号的反射装置,进而获取分光器的每个输出端口对第二测试信号进行反射所产生的反射信号,将其中每个反射信号具有最大光功率时的光纤位置记录为相应的输出端口的预设光纤位置。In conjunction with the second possible implementation of the second aspect, in a third possible implementation of the second aspect, the processor may further send the first test to the legal output port allocated to the optical network unit in the optical splitter Before the signal, sending a second test signal to the output port of the splitter, the splitter includes a plurality of output ports, wherein each output port is connected to the input port of the optical splitter through the optical fiber; between the different output ports and the input port The lengths of the optical fibers are different, and a reflection device for reflecting the optical signal is disposed at each of the plurality of output ports, thereby obtaining a reflection signal generated by each output port of the optical splitter reflecting the second test signal, The position of the fiber at which each of the reflected signals has the maximum optical power is recorded as the predetermined fiber position of the corresponding output port.
结合第二方面的第一种可能的实现方式,在第二方面的第四种可能的实现方式中,处理器用于确定反馈信息所指示的反射信号具有最大光功率的光纤位置与光网络单元的预设光纤位置是否一致;其中,光纤位置为反射信号具有最大光功率时在光纤中所处的位置,若确定二者一致,则确定光网络单元与合法输出端口相连,否则,确定光网络单元未与合法输出端口相连。In conjunction with the first possible implementation of the second aspect, in a fourth possible implementation of the second aspect, the processor is configured to determine a fiber position of the optical signal unit with the maximum optical power of the reflected signal indicated by the feedback information Whether the position of the optical fiber is consistent; wherein the position of the optical fiber is the position where the reflected signal has the maximum optical power in the optical fiber, and if it is determined that the two are consistent, it is determined that the optical network unit is connected to the legal output port; otherwise, the optical network unit is determined. Not connected to a legal output port.
结合第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,处理器还可以在向分光器中的为光网络单元分配的合法输出端口发送第一测试信号之前,向分光器中与光网络单元合法相连的合法输出端口发送第二测试信号,且光网络单元中设置了用于反射光信号的反射装置,进而认证设备能够获取光网络单元对第二测试信号进行反射所产生的反射信号,将反射信号具有最大光功率时的光纤位置记录为光网络单元的预设光纤位置,并进行存储,以便后期根据预设光纤位置确定光网络单元的连接关系。 In conjunction with the fourth possible implementation of the second aspect, in a fifth possible implementation of the second aspect, the processor may further send the first test to the legal output port allocated to the optical network unit in the optical splitter Before the signal, the second test signal is sent to the legal output port of the optical splitter that is legally connected to the optical network unit, and the optical network unit is provided with a reflective device for reflecting the optical signal, and then the authentication device can acquire the optical network unit to the second The reflected signal generated by the reflection of the test signal is recorded, and the position of the optical fiber when the reflected signal has the maximum optical power is recorded as the preset optical fiber position of the optical network unit, and stored, so as to determine the connection relationship of the optical network unit according to the preset optical fiber position later. .
结合第二方面的第三种可能的实现方式,在第二方面的第时种可能的实现方式中,处理器在向分光器中的为光网络单元分配的合法输出端口发送第一测试信号之前,还用于向分光器的输出端口发送第二测试信号,获取分光器的每个输出端口对第二测试信号进行反射所产生的反射信号,将其中每个反射信号具有最大光功率时的光纤位置记录为相应的输出端口的预设光纤位置;其中,每个输出端口均通过光纤与分光器的输入端口连接,不同的输出端口与输入端口之间的光纤的长度不同,且多个输出端口中的每个输出端口处设置了用于反射光信号的反射装置;In conjunction with the third possible implementation of the second aspect, in a first possible implementation of the second aspect, the processor, before transmitting the first test signal to the legal output port of the optical splitter for the optical network unit And is further configured to send a second test signal to the output port of the optical splitter, and obtain a reflected signal generated by each output port of the optical splitter to reflect the second test signal, and the optical fiber when each of the reflected signals has the maximum optical power The position is recorded as the preset fiber position of the corresponding output port; wherein each output port is connected to the input port of the optical splitter through the optical fiber, the length of the optical fiber between the different output ports and the input port is different, and multiple output ports Reflecting means for reflecting the optical signal are disposed at each of the output ports;
以及,向分光器中与光网络单元合法相连的合法输出端口发送第二测试信号,该光网络单元中设置了用于反射光信号的反射装置,进而处理器获取光网络单元对第二测试信号进行反射所产生的反射信号,将反射信号具有最大光功率时的光纤位置记录为光网络单元的预设光纤位置。And sending a second test signal to the legal output port of the optical splitter that is legally connected to the optical network unit, where the optical network unit is provided with a reflective device for reflecting the optical signal, and then the processor obtains the optical network unit and the second test signal. The reflected signal generated by the reflection is recorded, and the position of the optical fiber when the reflected signal has the maximum optical power is recorded as the preset optical fiber position of the optical network unit.
第三方面,提供一种分光器,该分光器位于光网络系统中的光分配网络中,该分光器包括:输入端口和多个输出端口,且多个输出端口中每个输出端口与输入端口之间均通过光纤连接,每个输出端口与输入端口之间的光纤的长度呈等差关系。In a third aspect, a spectroscope is provided, the spectroscope being located in an optical distribution network in an optical network system, the optical splitter comprising: an input port and a plurality of output ports, and each of the plurality of output ports and the input port The fibers are connected by fiber, and the length of the fiber between each output port and the input port is in an equal relationship.
本发明实例中,由于分光器中的各输出端口与输入端口之间的光纤的长度呈等差关系,故基于光纤长度之间的差值即可确定相应的输出端口,便于对分光器的不同输出端口进行区分。In the example of the present invention, since the lengths of the optical fibers between the output ports and the input ports in the optical splitter are in an equal relationship, the corresponding output ports can be determined based on the difference between the lengths of the optical fibers, which is convenient for different optical splitters. The output port is distinguished.
结合第三方面,在第三方面的第一种可能的实现方式中,分光器还包括设置在多个输出端口中每个输出端口处的反射装置,反射装置可以用于反射相应输出端口的光信号。In conjunction with the third aspect, in a first possible implementation of the third aspect, the optical splitter further includes a reflective device disposed at each of the plurality of output ports, and the reflective device can be configured to reflect the light of the corresponding output port signal.
本发明实施例中,由于分光器的每个输出端口处设置有可以用于反射光信号的反射装置,故可以通过各输出端口反射的反射信号在光纤中的传输来区分不同的输出端口,便于提高对输出端口的识别效率。In the embodiment of the present invention, since each of the output ports of the optical splitter is provided with a reflecting device that can be used for reflecting the optical signal, different output ports can be distinguished by transmitting the reflected signals reflected by the output ports in the optical fiber. Improve the recognition efficiency of the output port.
第三方面,提供一种光网络系统,该光网络系统用于执行第一方面或第一方面的任一种可能的实现方式的方法,该光网络系统包括:分光器和认证 设备,分光器可以用于提供光网络系统的光传输通道,该认证设备可以与分光器相连,用于接收与分光器的输出端口相连的光网络单元发送的上线请求,该上线请求用于光网络单元请求接入光网络,进而认证设备可以根据上线请求检测光网络单元与分光器的输出端口之间的连接关系,若确定检测的连接关系与光网络单元的合法连接关系一致,确定光网络单元通过认证,才允许光网络单元接入光网络,该合法连接关系用于指示光网络单元所连接的分光器的输出端口是为光网络单元分配的合法输出端口。A third aspect provides an optical network system for performing the method of any one of the first aspect or the first aspect, the optical network system comprising: a splitter and an authentication The device, the optical splitter can be used to provide an optical transmission channel of the optical network system, and the authentication device can be connected to the optical splitter for receiving an online request sent by the optical network unit connected to the output port of the optical splitter, and the uplink request is used for the optical The network unit requests to access the optical network, and the authentication device can detect the connection relationship between the optical network unit and the output port of the optical splitter according to the online request. If it is determined that the detected connection relationship is consistent with the legal connection relationship of the optical network unit, the optical network is determined. The unit is authenticated to allow the optical network unit to access the optical network. The legal connection relationship is used to indicate that the output port of the optical splitter to which the optical network unit is connected is a legal output port allocated for the optical network unit.
本发明实施例中,由于分光器包括多个输出端口,每个输出端口均通过光纤与分光器的输入端口连接,不同的输出端口与输入端口之间的光纤的长度不同,且多个输出端口中的每个输出端口处设置了用于反射光信号的反射装置,故认证设备在检测光网络单元与输出端口之间的连接关系时,可以基于各分光器中输出端口的特征区分出光网络单元所连接的输出端口,并判断其是否为合法输出端口,故确定光网络单元的连接关系的过程较为简单,准确性较高,有助于实现光网络系统对接入光网络的光网络单元的有效监管。In the embodiment of the present invention, since the optical splitter includes a plurality of output ports, each of the output ports is connected to the input port of the optical splitter through an optical fiber, and the lengths of the optical fibers between the different output ports and the input ports are different, and the plurality of output ports are Each of the output ports is provided with a reflection device for reflecting the optical signal, so when the authentication device detects the connection relationship between the optical network unit and the output port, the optical network unit can be distinguished based on the characteristics of the output ports in each optical splitter. The output port of the connected network is determined to be a legal output port. Therefore, the process of determining the connection relationship of the optical network unit is relatively simple and has high accuracy, which helps the optical network system to access the optical network unit of the optical network. Effective supervision.
在实际应用中,光网络系统还可以包括光分配网络和光线路终端,光分配网络包括至少一个前述的分光器,光分配网络可以用于在光线路终端和光网络单元之间提供光传输通道;光线路终端可以用于提供接入光网络的接口,并接收请求入网的光网络单元的上线请求,并将该上线请求发送给认证设备,则认证设备根据该上线请求即可检测光网络单元与输出端口的连接关系,确定其是否与合法连接关系一致,从而来判断光网络单元当前连接的输出端口是否为PON为其分配的合法输出端口,若是,则确定光网络单元通过认证,此刻才允许光网络单元接入光网络。In an actual application, the optical network system may further include an optical distribution network including at least one of the foregoing optical splitters, and the optical distribution network may be configured to provide an optical transmission channel between the optical line terminal and the optical network unit; The line terminal can be used to provide an interface for accessing the optical network, and receive an online request for the optical network unit that requests the network access, and send the online request to the authentication device, and the authentication device can detect the optical network unit and the output according to the online request. The connection relationship of the port is determined to be consistent with the legal connection relationship. Therefore, it is determined whether the output port currently connected to the optical network unit is a legal output port allocated by the PON. If yes, it is determined that the optical network unit passes the authentication, and the light is allowed at the moment. The network unit is connected to the optical network.
因此,光网络系统中包括的光线路终端能够将光网络单元的上线请求发送给认证设备,从而认证设备能够基于上线请求对光网络单元与分光器的输出端口之间的连接关系进行检测,而分光器中各输出端口与输入端口之间连接的光纤的长度不同,故能够根据分光器中各输出端口的特征较易确定出与光网络单元连接的输出端口,进而可确定其是否是为光网络单元分配的合法 输出端口,并仅在是时才允许其接入光网络,从而能够保证接入光网络的光网络单元的合法性,提高光网络系统的安全性。Therefore, the optical line terminal included in the optical network system can send the online request of the optical network unit to the authentication device, so that the authentication device can detect the connection relationship between the optical network unit and the output port of the optical splitter based on the online request, and The length of the optical fiber connected between each output port and the input port in the optical splitter is different, so that the output port connected to the optical network unit can be easily determined according to the characteristics of each output port in the optical splitter, and then it can be determined whether it is light or not. Legal assignment of network elements The output port is allowed to access the optical network only when it is YES, thereby ensuring the legitimacy of the optical network unit that accesses the optical network and improving the security of the optical network system.
结合第四方面,在第四方面的第一种可能的实现方式中,光网络系统还包括与认证设备相连的测试设备,该测试设备可以是光时域反射仪,其可以基于接收的来自认证设备的控制指令向分光器中的为光网络单元分配的合法输出端口发送测试信号,并将获得的合法输出端口针对测试信号产生的反射信号的信息发送给认证设备。With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the optical network system further includes a test device connected to the authentication device, where the test device may be an optical time domain reflectometer, which may be based on the received authentication The control command of the device sends a test signal to the legal output port allocated to the optical network unit in the optical splitter, and sends the obtained legal output port to the authentication device for the reflected signal generated by the test signal.
本发明实施例中,认证设备通过光时域反射仪能够发射测试信号,该测试信号能够沿光纤传输到相应的输出端口,进而可以接收的反射信号的信息上报给认证设备,认证设备基于对反射信号的分析即可确定各输出端口针对测试信号的反射情况,便于对光纤的链路质量进行监控,从而能够及时发现和定位光纤中的链路故障。In the embodiment of the present invention, the authentication device can transmit the test signal through the optical time domain reflectometer, and the test signal can be transmitted along the optical fiber to the corresponding output port, and the information of the received reflected signal is reported to the authentication device, and the authentication device is based on the reflection. The analysis of the signal can determine the reflection of each output port for the test signal, and it is convenient to monitor the link quality of the optical fiber, so that the link fault in the optical fiber can be detected and located in time.
结合第四方面第一种可能的实现方式,在第四方面的第二种可能的实现方式中,分光器的多个输出端口与输入端口之间的多个光纤的长度呈等差关系,且各输出端口还设置有用于反射光信号的反射装置。With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the lengths of the plurality of optical fibers between the plurality of output ports of the optical splitter and the input port are in an equal relationship, and Each output port is also provided with a reflecting means for reflecting the optical signal.
本发明实施例中,通过分光器中各输出端口处设置的反射装置即可对相应输出端口中的测试信号进行反射,故通过确定各输出端口针对测试信号的反射信号的信息即可确定输出端口是否被使用,确定方式较为简单,且由于反射信号在光纤传输中具有较好的稳定性,有助于提高测试结果的准确性。In the embodiment of the present invention, the test signal in the corresponding output port can be reflected by the reflection device disposed at each output port of the optical splitter, so the output port can be determined by determining the information of the reflected signal of each output port for the test signal. Whether it is used or not, the determination method is relatively simple, and since the reflected signal has good stability in fiber transmission, it helps to improve the accuracy of the test result.
第五方面,提供一种认证设备,该认证设备可以包括用于执行第一方面或第一方面的任一种可能的实现方式的方法的功能模块。In a fifth aspect, an authentication device is provided, which may comprise a functional module for performing the method of the first aspect or any of the possible implementations of the first aspect.
本发明实例中,通过认证设备对光网络单元与分光器的输出端口之间的连接关系的测试,从而有效保证光网络单元通过为其分配的合法输出端口进行上线,提高光网络系统对接入光网络的光网络单元的监管效果。In the example of the present invention, the connection between the optical network unit and the output port of the optical splitter is tested by the authentication device, thereby effectively ensuring that the optical network unit goes online through the legal output port allocated thereto, thereby improving the access of the optical network system. The regulatory effect of the optical network unit of the optical network.
本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the invention will be more apparent from the following description of the embodiments.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中 所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solution in the embodiment of the present invention, the following description will be made on the embodiment. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in the drawings, FIG. Other figures are obtained from these figures.
图1为本发明实施例提供的PON的系统架构示意图;FIG. 1 is a schematic structural diagram of a system of a PON according to an embodiment of the present disclosure;
图2为本发明实施例提供的分光器的结构示意图;2 is a schematic structural diagram of a beam splitter according to an embodiment of the present invention;
图3为本发明实施例提供的分光器输出端口的反射峰的位置示意图;3 is a schematic diagram of a position of a reflection peak of an output port of a beam splitter according to an embodiment of the present invention;
图4为本发明实施例提供的ONU接入光网络的方法流程图;4 is a flowchart of a method for an ONU to access an optical network according to an embodiment of the present invention;
图5A-图5B为本发明实施例提供的ONU的连接关系的探测曲线示意图;5A-5B are schematic diagrams of detection curves of a connection relationship of an ONU according to an embodiment of the present invention;
图6为本发明实施例提供的认证设备的结构示意图;FIG. 6 is a schematic structural diagram of an authentication device according to an embodiment of the present disclosure;
图7为本发明实施例提供的认证设备的结构框图。FIG. 7 is a structural block diagram of an authentication device according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
首先对本发明实施例中的部分用语进行解释说明,以便于本领域技术人员理解。Some of the terms in the embodiments of the present invention are first explained to be understood by those skilled in the art.
1)光网络,是指使用光纤传输的网络结构。本发明实施例中,以光网络是PON为例进行说明,当然本发明实施例中的光网络不限于此。PON具有单纤双向的结构,即能够在一根光纤里实现同时接收光信号及发送光信号,光传输效率较高。1) Optical network refers to the network structure that uses optical fiber transmission. In the embodiment of the present invention, the optical network is a PON as an example. The optical network in the embodiment of the present invention is not limited thereto. The PON has a single-fiber bidirectional structure, that is, it can simultaneously receive optical signals and transmit optical signals in one optical fiber, and the optical transmission efficiency is high.
2)认证设备,用于对请求接入PON的ONU进行认证,以保证ONU能够使用为其分配的合法输出端口进行上线。本发明实施例中,认证设备可以是包括NMS的设备,其可以通过检测ONU与光纤链路的连接关系对ONU进行认证。其中,NMS可以作为功能模块设置在认证设备中,则认证设备可 以通过NMS实现认证过程,即检测ONU的连接关系以确定ONU是否通过认证。或者,认证设备也可以通过其它方式来实现认证过程,本发明实施例不作限制。2) The authentication device is used to authenticate the ONU that requests access to the PON to ensure that the ONU can go online using the legal output port assigned to it. In the embodiment of the present invention, the authentication device may be a device that includes an NMS, and may authenticate the ONU by detecting a connection relationship between the ONU and the optical fiber link. Wherein, the NMS can be set as a function module in the authentication device, and the authentication device can be The authentication process is implemented by the NMS, that is, the connection relationship of the ONU is detected to determine whether the ONU passes the authentication. Alternatively, the authentication device may implement the authentication process in other manners, which is not limited in the embodiment of the present invention.
在下文的描述中,以认证设备内置NMS,通过NMS实现对ONU的认证为例。In the following description, the authentication of the built-in NMS of the device and the authentication of the ONU by the NMS are taken as an example.
3)测试设备,用于测试ONU与分光器的输出端口之间的连接关系的设备。本发明实施例中,以测试设备是光时域反射仪(Optical Time Domain Reflectometer,OTDR)为例进行说明,当然本发明实施例中的测试设备不限于此。OTDR可以发出测试光信号,利用测试光信号在光纤中传输时所产生的背向散射进行光纤长度、光纤的传输衰减、接头衰减和故障定位等的测量。3) Test equipment, a device for testing the connection relationship between the ONU and the output port of the optical splitter. In the embodiment of the present invention, the test device is an optical time domain reflectometer (OTDR). For example, the test device in the embodiment of the present invention is not limited thereto. The OTDR can emit test light signals and measure the length of the fiber, the attenuation of the transmission of the fiber, the attenuation of the joint, and the fault location by backscattering generated by the test optical signal transmitted in the fiber.
在实际应用中,OTDR可以作为功能模块设置在其他设备中,例如设置在认证设备中。或者,OTDR也可以是独立的设备,其能够通过光纤或短距离通信协议等方式与其他设备通信。其中,短距离通信协议例如为蓝牙或无线保真(Wireless-Fidelity,Wi-Fi)等。In practical applications, the OTDR can be set as a function module in other devices, for example, in an authentication device. Alternatively, the OTDR can also be a stand-alone device that can communicate with other devices via fiber optics or short-range communication protocols. The short-range communication protocol is, for example, Bluetooth or Wireless-Fidelity (Wi-Fi).
在需要发送测试光信号时,若OTDR设置在认证设备中,则认证设备可以通过该认证设备中的OTDR发送测试光信号,或者,若OTDR与认证设备是两个相互独立的设备,那么认证设备可以与OTDR通信,以通过OTDR来发送测试光信号。When the test optical signal needs to be sent, if the OTDR is set in the authentication device, the authentication device can send the test optical signal through the OTDR in the authentication device, or if the OTDR and the authentication device are two independent devices, then the authentication device The OTDR can be communicated to transmit the test optical signal through the OTDR.
下面结合附图介绍本发明实施例所应用的系统架构。The system architecture applied in the embodiment of the present invention is described below with reference to the accompanying drawings.
如图1所示,为PON的系统架构示意图。As shown in Figure 1, it is a schematic diagram of the system architecture of the PON.
PON一般包括三个部分,这三个部分分别是光线路终端(Optical Line Terminal,OLT)、光分配网络(Optical Distribution Network,ODN)及ONU。The PON generally includes three parts, which are an Optical Line Terminal (OLT), an Optical Distribution Network (ODN), and an ONU.
其中,OLT可以为接入网提供与本地交换机之间的接口,并通过光传输与ONU通信。The OLT can provide an interface between the access network and the local switch, and communicate with the ONU through optical transmission.
ODN可用于在OLT和ONU之间提供光传输通道。ODN包括一级或多级分光器,每个分光器包括至少一个输出端口,ONU通过分光器的输出端口接入PON。 The ODN can be used to provide an optical transmission channel between the OLT and the ONU. The ODN includes one or more stages of splitters, each splitter including at least one output port, and the ONU is connected to the PON through an output port of the splitter.
ONU可将OLT发送的光信号转换成电信号,并可以将电信号传送给与ONU通信的用户设备(User Equipment,UE)等。The ONU can convert the optical signal sent by the OLT into an electrical signal, and can transmit the electrical signal to a User Equipment (UE) that communicates with the ONU.
在PON中,OLT发送的信号可通过ODN到达相应的ONU,例如到达图1中的ONU1和/或ONU2。同理,PON中的ONU发送的信号可以到达OLT,而一般不会到达其他ONU。In the PON, the signal sent by the OLT can reach the corresponding ONU through the ODN, for example, to the ONU1 and/or the ONU2 in FIG. Similarly, the signal sent by the ONU in the PON can reach the OLT, but generally does not reach other ONUs.
认证设备中的NMS能够分别与OTDR及PON中的OLT进行通信,图1以OTDR和认证设备为彼此独立的设备为例。则认证设备可通过OTDR发送测试光信号,OTDR发出的测试光信号能够通过波分复用(Wavelength Division Multiplexing,WDM)进入与分光器的输出端口相应的光纤中,从而使得测试光信号能够沿相应的光纤传输给需要测试的输出端口。例如,图1中OTDR发送的测试光信号通过WDM可传输给需要测试的ONU2。The NMS in the authentication device can communicate with the OLT in the OTDR and the PON respectively. Figure 1 shows an example in which the OTDR and the authentication device are independent devices. The authentication device can send the test optical signal through the OTDR, and the test optical signal sent by the OTDR can enter the optical fiber corresponding to the output port of the optical splitter by wavelength division multiplexing (WDM), so that the test optical signal can be correspondingly The fiber is transmitted to the output port that needs to be tested. For example, the test optical signal sent by the OTDR in FIG. 1 can be transmitted to the ONU 2 to be tested through WDM.
本领域技术人员可以理解,图1仅仅是对于PON的网络架构的举例,并不构成对认证设备及PON的限定,PON可以包括比图示更多或更少的设备,或者组合某些设备。It will be understood by those skilled in the art that FIG. 1 is merely an example of a network architecture for a PON, and does not constitute a limitation on an authentication device and a PON. The PON may include more or less devices than those illustrated, or may combine certain devices.
为了便于理解,图2介绍本发明实施例提供的分光器,该分光器可以应用在图1所示的网络架构中,即图1所示的分光器的结构可参考图2。For the sake of understanding, FIG. 2 shows a spectroscope provided by an embodiment of the present invention. The spectroscope can be applied to the network architecture shown in FIG. 1. That is, the structure of the optical splitter shown in FIG. 1 can be referred to FIG. 2.
该分光器可以以特定的反射率反射测试信号,反射的信号便沿光纤返回认证设备。本发明实施例提供的分光器内部结构至少具有以下特征:The spectroscope can reflect the test signal with a specific reflectivity, and the reflected signal is returned to the authentication device along the optical fiber. The internal structure of the optical splitter provided by the embodiment of the present invention has at least the following features:
1、为了便于通过测试光信号检测分光器的各输出端口的使用情况,分光器的每个输出端口可以配置用于反射光信号的反射装置,如U波段反射器。其中,反射装置可以固定设置在为每个输出端口配置的防尘帽中。则,若防尘帽套接在输出端口上,该输出端口就可以反射光信号。若取下防尘帽,该输出端口就可以将光信号传输给下一级设备,例如UE。1. In order to facilitate the detection of the use of the output ports of the optical splitter by the test optical signal, each output port of the optical splitter may be configured with a reflecting means for reflecting the optical signal, such as a U-band reflector. Wherein, the reflecting device can be fixedly disposed in the dust cap configured for each output port. Then, if the dust cap is sleeved on the output port, the output port can reflect the optical signal. If the dust cap is removed, the output port can transmit the optical signal to the next level device, such as the UE.
在实际应用中,一般在未使用输出端口时,都会将防尘帽套接在输出端口上,以防止灰尘进入输出端口。若分光器的某个输出端口需要连接ONU,那么可以先移除该输出端口的防尘帽,再将ONU连接到该输出端口,以使ONU能够接入光网络。 In practical applications, when the output port is not used, the dust cap is sleeved on the output port to prevent dust from entering the output port. If an output port of the optical splitter needs to be connected to the ONU, you can remove the dust cap of the output port and connect the ONU to the output port to enable the ONU to access the optical network.
2、分光器的不同的输出端口与分光器的输入端口之间连接的光纤的长度不同,即,同一分光器的多个输出端口中,任意两个输出端口与分光器的输入端口之间连接的光纤的长度均不同。2. The length of the optical fiber connected between the different output ports of the optical splitter and the input port of the optical splitter is different, that is, the connection between any two output ports of the same optical splitter and the input port of the optical splitter The length of the fiber is different.
在实际应用中,分光器生产商可以选取不同长度的光纤将输出端口与输入端口进行连接,且对每个光纤的长度不做具体限制,这样有助于提高使用光纤进行连接时的灵活性。例如,输出端口1与输入端口之间连接的光纤的长度可以取为1.20m,输出端口2与输入端口之间连接的光纤的长度可以取为1.48m,输出端口3的光纤的长度可以取为1.55m,等等,本发明实施例中对每个光纤的长度不做具体限制。In practical applications, the optical splitter manufacturer can select different lengths of fiber to connect the output port to the input port, and there is no specific limit on the length of each fiber, which helps to improve the flexibility when using fiber for connection. For example, the length of the fiber connected between the output port 1 and the input port may be 1.20 m, and the length of the fiber connected between the output port 2 and the input port may be 1.48 m, and the length of the fiber of the output port 3 may be taken as 1.55m, etc., the length of each optical fiber is not specifically limited in the embodiment of the present invention.
或者,各输出端口与分光器的输入端口之间连接的光纤的长度还可以按一定规则来设置。例如各输出端口的光纤的长度之间满足等差关系,这样在为各输出端口设置了长度具有等差关系的光纤后,便可根据光纤的长度及等差关系来区分不同的输出端口,有助于提高对输出端口的识别效率。本发明实施例中,以分光器的输出端口与输入端口之间的光纤的长度呈等差关系为例。例如,分光器的输出端口1到输入端口之间的光纤的长度为L,输出端口2到输入端口之间的光纤的长度为L+a,输出端口3到输入端口之间的光纤的长度为L+2a……,以此类推,输出端口N到输入端口之间的光纤的长度为L+(N-1)×a,其中N为正整数。Alternatively, the length of the fiber connected between each output port and the input port of the splitter can also be set according to certain rules. For example, the lengths of the optical fibers of each output port are equal to each other, so that after the optical fibers having the equal-distance relationship are provided for the respective output ports, different output ports can be distinguished according to the length and the equal-difference relationship of the optical fibers. Helps improve the recognition efficiency of the output port. In the embodiment of the present invention, an equal difference relationship between the length of the optical fiber between the output port of the optical splitter and the input port is taken as an example. For example, the length of the fiber between the output port 1 and the input port of the beam splitter is L, the length of the fiber between the output port 2 and the input port is L+a, and the length of the fiber between the output port 3 and the input port is L+2a..., and so on, the length of the fiber between the output port N and the input port is L+(N-1)×a, where N is a positive integer.
下面结合说明书附图对本发明实施例提供的技术方案作进一步详细描述。下面的介绍过程以图1所示的系统架构为例,在下文中提及的分光器,其结构可参考图2。The technical solutions provided by the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The following introduction process takes the system architecture shown in FIG. 1 as an example. The structure of the optical splitter mentioned below can be referred to FIG. 2.
请参见图4,本发明实施例提供一种ONU接入光网络的方法,该方法可以通过如图1所示的认证设备执行,该方法的流程如下:Referring to FIG. 4, an embodiment of the present invention provides a method for an ONU to access an optical network, where the method can be performed by using an authentication device as shown in FIG. 1. The process of the method is as follows:
S11:认证设备接收ONU发送的上线请求,上线请求用于ONU请求接入PON;S11: The authentication device receives the online request sent by the ONU, and the online request is used for the ONU to request access to the PON;
S12:认证设备上线请求检测ONU与分光器的输出端口之间的连接关系;S12: The authentication device goes online to detect a connection relationship between the ONU and the output port of the optical splitter.
S13:若确定检测的连接关系与ONU的合法连接关系一致,确定ONU通 过认证,允许ONU接入PON;其中,合法连接关系用于指示ONU所连接的分光器的输出端口是为ONU分配的合法输出端口。S13: If it is determined that the detected connection relationship is consistent with the legal connection relationship of the ONU, determine the ONU pass. The authentication is performed to allow the ONU to access the PON. The legal connection relationship is used to indicate that the output port of the optical splitter to which the ONU is connected is a legal output port allocated for the ONU.
ONU在需要接入光网络时,通常需要与分光器的输出端口进行连接,进而通过分光器向认证设备发送上线请求。其中,上线请求中可以携带有ONU的登录信息,该登录信息可以包括ONU的序列号(Serial Number)及密码(Password),当然,登录信息还可以包括其它信息,如ONU的标识等,ONU的标识可以是PON为ONU分配的用于在PON中标识ONU身份的唯一标识。When an ONU needs to access an optical network, it usually needs to connect to the output port of the optical splitter, and then send an online request to the authentication device through the optical splitter. The online request may carry the login information of the ONU, and the login information may include a serial number (Serial Number) and a password (Password) of the ONU. Of course, the login information may further include other information, such as an identifier of the ONU, and the ONU. The identity may be a unique identifier assigned by the PON to the ONU for identifying the identity of the ONU in the PON.
通常来说,当ONU在PON进行注册时,PON会获取ONU的序列号(Serial Number)及密码(Password)等,并在注册成后可为ONU设置相应的标识,并将这些信息进行存储。其中,ONU的标识可以是PON随机设置的,或者也可以是基于ONU的序列号进行设置的,甚至该标识还可以就是ONU的序列号,本领域技术人员可以根据实际情况进行设置,本发明实施例对此不作具体限制。Generally, when the ONU registers with the PON, the PON obtains the serial number (Serial Number) and password (Password) of the ONU, and after registering, can set the corresponding identifier for the ONU, and store the information. The identifier of the ONU may be randomly set by the PON, or may be set based on the serial number of the ONU, and the identifier may be the serial number of the ONU, and may be set by a person skilled in the art according to actual conditions. This example does not impose any specific restrictions.
在实际应用中,序列号及密码可以用于ONU再次上线时的登录凭证,标识可以用于ONU上线时PON对ONU的身份识别。那么,当ONU再次上线时,认证设备根据获得的ONU发送的上线请求中的登录信息先对ONU进行初步验证,即确定登录信息是否与已注册ONU的预设登录信息一致,若一致则通过初步验证,但此时认证设备不会允许ONU接入光网络,其将进一步根据上线请求,检测当前请求上线的ONU当前连接的分光器的输出端口是否为该ONU的合法输出端口,即检测该ONU与分光器的输出端口之间的连接关系是否与合法连接关系一致,而该合法连接关系可以是认证设备根据上线请求所携带的ONU的标识直接调用的。In practical applications, the serial number and password can be used for the login credentials when the ONU is online again. The identifier can be used for the identity identification of the PON to the ONU when the ONU goes online. Then, when the ONU is online again, the authentication device performs preliminary verification on the ONU according to the login information in the online request sent by the obtained ONU, that is, whether the login information is consistent with the preset login information of the registered ONU, and if it is consistent, the initial Verification, but the authentication device does not allow the ONU to access the optical network. It will further detect whether the output port of the optical splitter currently connected to the ONU currently on the line is the legal output port of the ONU, that is, the ONU is detected according to the online request. Whether the connection relationship with the output port of the optical splitter is consistent with the legal connection relationship, and the legal connection relationship may be directly invoked by the authentication device according to the identifier of the ONU carried by the online request.
下面介绍一种检测连接关系是否与合法连接关系一致的过程。The following describes a process for detecting whether a connection relationship is consistent with a legal connection.
认证设备通过NMS向OTDR发送检测指令,OTDR执行该检测指令,向分光器中为ONU分配的合法输出端口发送测试光信号,将该测试光信号称为第一测试信号。在第一测试信号到达该合法输出端口时,该合法输出端口中设置的反射装置将对第一测试信号进行反射,产生反射信号,反射信号沿原 路返回OTDR,则OTDR便将反射信号相关的反馈信息发送给认证设备,认证设备根据获取的反馈信息确定ONU与分光器的输出端口之间的连接关系。其中,反馈信息能够指示合法输出端口针对第一测试信号产生的反射信号的信息,例如包括反射信号的光功率强度、接收反射信号的时间,还可以包括其他可能的信息。The authentication device sends a detection command to the OTDR through the NMS, and the OTDR executes the detection command to send a test optical signal to the legal output port allocated to the ONU in the optical splitter, and the test optical signal is referred to as a first test signal. When the first test signal reaches the legal output port, the reflective device disposed in the legal output port will reflect the first test signal to generate a reflected signal, and the reflected signal is along the original When the road returns to the OTDR, the OTDR sends the feedback information related to the reflected signal to the authentication device, and the authentication device determines the connection relationship between the ONU and the output port of the optical splitter according to the obtained feedback information. The feedback information can indicate information of the reflected signal generated by the legal output port for the first test signal, for example, the optical power intensity of the reflected signal, the time of receiving the reflected signal, and other possible information.
其中,认证设备根据反馈信息确定ONU与分光器的输出端口之间的连接关系可以有多种方法,比如采用时间差方式或采用光功率方式,下面分别对这两种方式进行介绍。The authentication device may determine the connection relationship between the ONU and the output port of the optical splitter according to the feedback information. For example, the time difference method or the optical power mode may be used. The following two methods are respectively introduced.
1、光功率方式。1. Optical power mode.
在采用光功率方式时,可以包括但不限于以下几个确定过程:When the optical power mode is adopted, it may include, but is not limited to, the following determination processes:
确定过程1:认证设备确定反馈信息所指示的反射信号具有最大光功率的光纤位置与合法输出端口的预设光纤位置是否一致。Determination Process 1: The authentication device determines whether the reflected fiber signal indicated by the feedback information has the maximum optical power and the fiber position is consistent with the preset fiber position of the legal output port.
其中,合法输出端口是指PON为ONU分配的输出端口,例如在ONU首次注册时PON可以为ONU分配输出端口,所分配的输出端口也就是该ONU的合法输出端口。一个ONU可以具有一个合法输出端口或多个合法输出端口。例如,分光器包括输出端口1、输出端口2和输出端口3这3个输出端口,若ONU1在PON中注册时,PON将输出端口1分配给ONU1,则输出端口1即为ONU1的合法输出端口。The legal output port refers to the output port allocated by the PON to the ONU. For example, when the ONU first registers, the PON can allocate an output port for the ONU, and the allocated output port is also the legal output port of the ONU. An ONU can have one legal output port or multiple legal output ports. For example, the optical splitter includes three output ports: output port 1, output port 2, and output port 3. If the ONU1 is registered in the PON, the PON allocates the output port 1 to the ONU1, and the output port 1 is the legal output port of the ONU1. .
合法输出端口的反射信号可以是指向合法输出端口发送的光信号沿光纤传输并到达分光器的输出端口,输出端口中的反射装置针对光信号进行反射的信号。合法输出端口的预设光纤位置可以是指反射信号具有最大光功率时在光纤中所处的位置。通常来说,向合法输出端口发送的光信号会沿光纤传输并到达分光器的输出端口,输出端口中的反射装置可以按照特定的反射率对光信号进行反射,在输出端口处产生的反射信号具有最大功率,故可以认为由输出端口的反射装置反射的反射信号具有最大功率的光纤位置能够指示该输出端口在光纤中所处的位置。The reflected signal of the legal output port may be an optical signal transmitted to the legal output port along the optical fiber and reaching the output port of the optical splitter, and the reflecting device in the output port reflects the optical signal. The preset fiber position of the legal output port may refer to the position of the reflected signal in the fiber when it has the maximum optical power. Generally, the optical signal sent to the legal output port is transmitted along the optical fiber and reaches the output port of the optical splitter. The reflective device in the output port can reflect the optical signal according to a specific reflectivity, and the reflected signal generated at the output port. With maximum power, it can be considered that the position of the fiber having the maximum power of the reflected signal reflected by the reflecting means of the output port can indicate the position of the output port in the fiber.
在实际应用中,合法输出端口的反射信号应具有最大光功率的预设光纤 位置可以是预先测试的,例如是在S12之前测试得到的。下面介绍一种测试得到合法输出端口的预设光纤位置的过程:In practical applications, the reflected signal of the legal output port should have the preset optical fiber with the maximum optical power. The location can be pre-tested, for example, tested prior to S12. The following describes a process for testing the default fiber position of a legal output port:
认证设备向分光器的输出端口发送第二测试信号,获取分光器的每个输出端口对第二测试信号进行反射所产生的反射信号,进而将其中每个反射信号具有最大光功率的光纤位置记录为相应的输出端口的预设光纤位置。当然在测试过程中也可以不是向每个输出端口都发,向需要进行测试的输出端口发送第二测试信号即可。只是为了使得测试覆盖面更广,所以可以向每个输出端口都进行发送,即可以一并测试分光器全部的输出端口。The authentication device sends a second test signal to the output port of the optical splitter, and obtains a reflected signal generated by each output port of the optical splitter to reflect the second test signal, thereby recording the optical fiber position of each of the reflected signals having the maximum optical power. The default fiber position for the corresponding output port. Of course, in the test process, it is not possible to send to each output port, and send a second test signal to the output port that needs to be tested. Just to make the test coverage wider, you can send to each output port, that is, you can test all the output ports of the splitter.
在测试时,由于分光器的各个输出端口均设置了内置反射装置的防尘帽,因此,在输出端口上套接了防尘帽的情况下,若认证设备向分光器的输入端口发送第二测试信号,则第二测试信号可以沿光纤传输并到达分光器的输出端口,输出端口中的反射装置可以按照特定的反射率对光信号进行反射,得到反射信号,反射信号沿光纤返回认证设备。从而,认证设备可对接收的各输出端口的反射信号进行分析。例如一种分析方式为,将向各输出端口发送光信号到接收输出端口的反射信号的过程呈现在坐标系中,该坐标系的纵轴为光信号的光功率,横轴为光信号在光纤中的传输时间,该传输时间可以表征光信号在光纤中传输的距离,故基于传输时间可以定位光信号在光纤中所处的位置,即横轴可以表征输出端口与输入端口之间的光纤的长度,或者也可以表征输出端口的光信号在光纤中传输的距离。因此通过将在各输出端口中传输光信号时的光信号的变化情况标注在坐标系中,可以获得表征光信号在各输出端口的光纤上传输时光功率随时间变化的曲线,该曲线通常称为OTDR探测曲线。In the test, since each of the output ports of the optical splitter is provided with a dust cap of a built-in reflection device, if the dust cap is attached to the output port, if the authentication device sends a second to the input port of the optical splitter The test signal can be transmitted along the optical fiber and reach the output port of the optical splitter. The reflective device in the output port can reflect the optical signal according to a specific reflectivity to obtain a reflected signal, and the reflected signal is returned to the authentication device along the optical fiber. Thereby, the authentication device can analyze the reflected signals of the received output ports. For example, an analysis method is that a process of transmitting an optical signal to each output port to a reflected signal of the receiving output port is presented in a coordinate system, wherein the vertical axis of the coordinate system is the optical power of the optical signal, and the horizontal axis is the optical signal in the optical fiber. In the transmission time, the transmission time can characterize the distance that the optical signal is transmitted in the optical fiber, so the position of the optical signal in the optical fiber can be located based on the transmission time, that is, the horizontal axis can represent the optical fiber between the output port and the input port. The length, or the distance at which the optical signal of the output port is transmitted in the fiber. Therefore, by labeling the change of the optical signal when the optical signal is transmitted in each output port in the coordinate system, a curve characterizing the optical power with time when the optical signal is transmitted on the optical fibers of each output port can be obtained. OTDR detection curve.
通过该OTDR探测曲线,可以看出光信号在不同的输出端口对应的光纤上传输时光功率的最大值出现的时刻,即该输出端口在光纤中出现反射峰的位置,故可将该反射峰的光纤位置作为相应输出端口的预设光纤位置,并进行存储。Through the OTDR detection curve, it can be seen that the maximum value of the optical power when the optical signal is transmitted on the optical fiber corresponding to the different output port, that is, the position where the output port has a reflection peak in the optical fiber, so the optical fiber of the reflection peak can be The position is the preset fiber position of the corresponding output port and is stored.
如图3所示,为当分光器各输出端口对应的光纤的长度呈等差关系时, OTDR探测曲线上分光器的输出端口1~输出端口N的各反射信号具有最大光功率的时刻,即相应反射峰在光纤中出现的位置。例如,输出端口1的反射峰的位置位于坐标系横轴上的位置1,输出端口2的反射峰的位置处于位置2,……,输出端口N的反射峰的位置处于位置N处。由于各输出端口对应的光纤的长度呈等差关系,例如输出端口1与输出端口2对应的光纤的长度之间相差a,输出端口2与输出端口3对应的光纤的长度也相差a,则在图3所示的坐标系中,输出端口1的反射峰的位置1与输出端口2的反射峰的位置2之间相距b,输出端口2的反射峰的位置2与输出端口3的反射峰的位置3之间也相距b。As shown in FIG. 3, when the lengths of the optical fibers corresponding to the output ports of the optical splitter are in an equal relationship, The time at which the reflected signals of the output port 1 to the output port N of the optical splitter on the OTDR detection curve have the maximum optical power, that is, the position where the corresponding reflected peak appears in the optical fiber. For example, the position of the reflection peak of the output port 1 is located at the position 1 on the horizontal axis of the coordinate system, the position of the reflection peak of the output port 2 is at the position 2, ..., and the position of the reflection peak of the output port N is at the position N. Since the lengths of the fibers corresponding to the output ports are in an equal relationship, for example, the lengths of the fibers corresponding to the output ports 1 and the output ports 2 are different by a, and the lengths of the fibers corresponding to the output ports 2 and the output ports 3 are also different by a. In the coordinate system shown in FIG. 3, the position 1 of the reflection peak of the output port 1 and the position 2 of the reflection peak of the output port 2 are spaced apart from each other, and the position 2 of the reflection peak of the output port 2 and the reflection peak of the output port 3 are Position 3 is also separated by b.
由于在实际传输过程中,光信号在光纤中传输的时间通常与光纤长度有关,光纤越长可能光信号的传输时间也就越长,因此,反射峰在OTDR探测曲线上的位置可以指示光信号在光纤上传输时碰到光纤断面时已传输的光纤的长度,而光纤的断面的位置通常为设置输出端口的位置,因为本发明实施例中不同的输出端口与输入端口之间的光纤的长度都不同,因此在OTDR探测曲线上各输出端口的反射峰所处位置也不同,根据OTDR探测曲线上反射峰的位置可以确定相应的输出端口,确定方式较为快捷,准确度也较高。Since the time during which the optical signal is transmitted in the optical fiber is usually related to the length of the optical fiber during the actual transmission process, the longer the optical fiber may be, the longer the transmission time of the optical signal is. Therefore, the position of the reflection peak on the OTDR detection curve may indicate the optical signal. The length of the fiber that has been transmitted when the fiber cross-section is encountered on the fiber, and the position of the fiber cross-section is usually the position at which the output port is set, because the length of the fiber between the different output port and the input port in the embodiment of the present invention Different, so the position of the reflection peak of each output port on the OTDR detection curve is different. According to the position of the reflection peak on the OTDR detection curve, the corresponding output port can be determined, and the determination method is faster and the accuracy is higher.
认证设备在向分光器的合法输出端口发送第一测试信号后,获得合法输出端口针对所述第一测试信号的反馈信息后,可将反馈信息所指示的反射信号具有最大光功率的光纤位置与合法输出端口的预设光纤位置进行比较,若确定二者一致,即合法输出端口的反射信号应具有最大光功率时在光纤中的相应位置会出现反射峰,则表明第一测试信号在输出端口处被反射,即该输出端口的防尘帽未被移除,确定ONU未与合法输出端口相连。当然,若两者不一致,表明第一测试信号在输出端口处未被反射,该合法输出端口的防尘帽已被移除,确定ONU与合法输出端口相连。After the first test signal is sent to the legal output port of the optical splitter, the authentication device obtains the feedback information of the legal output port for the first test signal, and the optical fiber position of the reflected signal indicated by the feedback information has the maximum optical power. The preset fiber positions of the legal output ports are compared. If the two are consistent, that is, when the reflected signal of the legal output port should have the maximum optical power, a reflection peak appears at the corresponding position in the fiber, indicating that the first test signal is at the output port. The position is reflected, that is, the dust cap of the output port is not removed, and it is determined that the ONU is not connected to the legal output port. Of course, if the two are inconsistent, it indicates that the first test signal is not reflected at the output port, the dust cap of the legal output port has been removed, and it is determined that the ONU is connected to the legal output port.
确定过程2:认证设备确定反馈信息所指示的反射信号具有最大光功率的光纤位置与ONU的预设光纤位置是否一致。Determination Process 2: The authentication device determines whether the reflected fiber signal indicated by the feedback information has the maximum optical power and the fiber position is consistent with the preset fiber position of the ONU.
ONU的预设光纤位置可以是指当ONU与合法输出端口连接时,向合法 输出端口发送光信号,测试光信号沿光纤传输并到达与合法输出端口连接的ONU,由ONU中的反射装置对光信号进行反射产生的反射信号在光纤中具有最大光功率时的所处的位置。ONU的预设光纤位置也可以是预先测试的,例如是在S12之前测试得到的。下面介绍一种测试得到ONU的预设光纤位置的过程:The preset fiber position of the ONU can be legal when the ONU is connected to the legal output port. The output port sends an optical signal, and the test optical signal is transmitted along the optical fiber and reaches the ONU connected to the legal output port, and the reflected signal generated by the reflection device in the ONU reflects the position of the optical fiber with the maximum optical power. . The preset fiber position of the ONU can also be pre-tested, for example, before S12. The following describes a process for testing the default fiber position of an ONU:
认证设备通过OTDR向分光器中与ONU合法相连的合法输出端口发送测试光信号,该测试光信号称为第二测试信号,该ONU中设置了用于反射光信号的反射装置。进而,OTDR可以获取由ONU的反射装置对第二测试信号进行反射所产生的反射信号,并将每个反射信号具有最大光功率的光纤位置记录为相应的ONU的预设光纤位置,例如OTDR探测曲线上反射峰出现的位置。The authentication device sends a test optical signal to the legal output port of the optical splitter that is legally connected to the ONU through the OTDR. The test optical signal is called a second test signal, and a reflective device for reflecting the optical signal is disposed in the ONU. Furthermore, the OTDR can acquire the reflected signal generated by the reflection device of the ONU to reflect the second test signal, and record the position of the fiber with the maximum optical power of each reflected signal as the preset fiber position of the corresponding ONU, for example, OTDR detection. The position at which the reflected peak appears on the curve.
那么,认证设备在根据反馈信息确定ONU的光纤位置后,若确定其与ONU的预设光纤位置一致,表明第一测试信号由ONU中的反射装置反射,故可确定ONU与合法输出端口相连,若不一致,表明第一测试信号不是由ONU中的反射装置反射,则确定ONU未与合法输出端口相连。Then, after determining the position of the optical fiber of the ONU according to the feedback information, if the authentication device determines that it is consistent with the preset optical fiber position of the ONU, it indicates that the first test signal is reflected by the reflection device in the ONU, so that the ONU can be determined to be connected to the legal output port. If they are inconsistent, indicating that the first test signal is not reflected by the reflecting device in the ONU, it is determined that the ONU is not connected to the legal output port.
本发明实施例中,为了实现对ONU的连接关系的确定,认证设备可以结合OTDR探测曲线及上述确定连接关系的两种方式来实现。In the embodiment of the present invention, in order to determine the connection relationship of the ONU, the authentication device may be implemented in two ways: combining the OTDR detection curve and the foregoing determining the connection relationship.
例如,若PON为ONU1分配的合法输出端口为如图2所示的分光器的输出端口1。认证设备通过OTDR向分光器的输出端口1发送第一测试信号,检测ONU1和分光器的输出端口之间的连接关系时,获得对应的OTDR探测曲线如图5A所示,同时,图5A中示意出了分光器的其它输出端口的反射峰的位置,其中,位置A为ONU1与输出端口1通过光纤进行连接时,ONU1所处的位置。For example, if the PON is the legal output port assigned to the ONU1, it is the output port 1 of the optical splitter as shown in FIG. 2. The authentication device sends a first test signal to the output port 1 of the optical splitter through the OTDR, and detects the connection relationship between the ONU1 and the output port of the optical splitter. The corresponding OTDR detection curve is obtained as shown in FIG. 5A, and FIG. 5A shows The position of the reflection peak of the other output port of the spectroscope is taken out, wherein the position A is the position where the ONU1 is located when the ONU1 and the output port 1 are connected by the optical fiber.
由图5A可知,在ONU1与合法输出端口相连时,可以获知以下信息:As can be seen from FIG. 5A, when the ONU1 is connected to the legal output port, the following information can be obtained:
a.分光器的输出端口1处的反射峰消失;a. The reflection peak at the output port 1 of the beam splitter disappears;
b.ONU1在位置A处出现新的反射峰;b. ONU1 has a new reflection peak at position A;
c.ONU1的反射峰所处的位置与分光器的输出端口1的反射峰所处的位置之间的特征距离为D1,该特征距离可以表征ONU1与输出端口1之间的光 纤的长度。c. The characteristic distance between the position where the reflection peak of ONU1 is located and the position where the reflection peak of the output port 1 of the spectroscope is located is D1, which can represent the light between ONU1 and output port 1. The length of the fiber.
故通过观察合法输出端口的反射峰的位置,即坐标系中的合法输出端口的反射信号具有光功率最大时的光纤位置是否与预设光纤位置一致,此处,预设光纤位置可以是指合法输出端口的预设光纤位置以及OUN1的预设光纤位置,则根据前文描述的确定过程即可确定ONU是否与合法输出端口相连,判断方式较为快捷、准确,同时通过OTDR探测曲线观察个输出端口的反射信号的情况可以较好地监控链路质量,及时发现和定位链路故障。Therefore, by observing the position of the reflection peak of the legal output port, that is, the reflected signal of the legal output port in the coordinate system has the optical fiber position at the maximum optical power, which is consistent with the preset fiber position. Here, the preset fiber position may be legal. The preset fiber position of the output port and the preset fiber position of the OUN1 can determine whether the ONU is connected to the legal output port according to the determination process described above. The judgment mode is quick and accurate, and the output port is observed through the OTDR detection curve. The condition of the reflected signal can better monitor the link quality and detect and locate the link fault in time.
进一步,若用户将ONU1由输出端口1拔出并转移到输出端口2进行连接,则输出端口1已重新配戴上内置反射装置的防尘帽,输出端口1的反射峰重新出现,同时,位置A的反射峰也将消失,而由于与ONU连接的输出端口2的防尘帽被移除,故其在OTDR探测曲线上相应位置的反射峰消失,相应的ONU1在与输出端口2连接时所处的位置B也将出现相应的反射峰,即由ONU1中内置的反射装置反射第一测试信号所产生的反射信号的光功率最大的位置,相应的OTDR探测曲线如图5B所示,其中ONU1与分光器输出端口1的特征距离改由D1改变为D2。Further, if the user pulls out the ONU1 from the output port 1 and transfers to the output port 2 to connect, the output port 1 has been re-applied with the dust cap of the built-in reflector, and the reflection peak of the output port 1 reappears, and the position The reflection peak of A will also disappear, and since the dust cap of the output port 2 connected to the ONU is removed, the reflection peak at the corresponding position on the OTDR detection curve disappears, and the corresponding ONU1 is connected to the output port 2 The position B at the location will also have a corresponding reflection peak, that is, the position where the optical power of the reflected signal generated by the reflection signal reflected by the reflection device built in the ONU1 is the largest, and the corresponding OTDR detection curve is as shown in FIG. 5B, wherein the ONU1 The characteristic distance from the splitter output port 1 is changed from D1 to D2.
由此可见,ONU在与合法输出端口连接时,ONU与所连接的输出端口之间的距离即已固定,而在连接关系改变时,ONU与所连接的输出端口之间的特征距离通常也会相应变化,故在确定ONU的连接关系过程中,还可以通过检测ONU与合法输出端口之间的特征距离,来确定ONU是否与合法输出端口连接,从而能够有效锁定接入用户与接入网络的位置,对一些有高安全要求的接入场合提工了有效保障,防止违法人员在自己的住所利用已合法授权的ONU接入光网络进行访问。It can be seen that when the ONU is connected to the legal output port, the distance between the ONU and the connected output port is fixed, and when the connection relationship is changed, the characteristic distance between the ONU and the connected output port is usually also Corresponding changes, in the process of determining the connection relationship between the ONU and the legal output port, the ONU can be connected to the legal output port to effectively lock the access user and the access network. The location provides effective protection for some access situations with high security requirements, preventing illegal personnel from accessing the optical network by using legally authorized ONUs in their homes.
2、时间差方式。2, the time difference method.
在采用时间差方式确定时,包括但不限于以下几个确定过程:When determining by time difference, including but not limited to the following several determination processes:
确定过程1:认证设备确定接收反馈信息指示的反射信号的时间与发送第一测试信号的时间之间的时间差是否与合法输出端口应该具有的合法时间差一致。 Determination Process 1: The authentication device determines whether the time difference between the time at which the reflected signal indicated by the feedback information is received and the time at which the first test signal is transmitted is consistent with the legal time difference that the legal output port should have.
合法输出端口的合法时间差为从向合法输出端口发送光信号到接收该合法输出端口反射的光信号之间的时间差。合法输出端口的合法时间差可以是预先测试得到的,例如是在S12之前进行测试得到的。下面介绍一种测试得到合法输出端口的合法时间差的过程:The legal time difference of the legal output port is the time difference between the transmission of the optical signal to the legal output port and the reception of the optical signal reflected by the legal output port. The legal time difference of the legal output port can be pre-tested, for example, it is tested before S12. The following describes a process for testing the legal time difference of a legal output port:
认证设备通过OTDR向分光器的每个输出端口发送测试光信号,将该测试光信号称为第二测试信号。在测试时,由于各输出端口均设置有内置反射装置的防尘帽,则当第二测试信号传输到输出端口处时,输出端口处的反射装置对其进行反射,产生针对第二测试信号的反射信号,反射信号传输到OTDR,OTDR可以记录接收各个输出端口的反射信号的时刻,即记录OTDR接收每个输出端口中反射装置针对第二测试信号的反射信号的时刻,并将记录的接收时刻发送给认证设备。另外,OTDR还可以记录向输出端口发送第二测试信号的时刻,即记录第二测试信号的发送时刻,并将记录的发送时刻也发送给认证设备。The authentication device sends a test optical signal to each output port of the optical splitter through the OTDR, and the test optical signal is referred to as a second test signal. In the test, since each output port is provided with a dust cap with a built-in reflection device, when the second test signal is transmitted to the output port, the reflection device at the output port reflects it to generate a second test signal. The reflected signal and the reflected signal are transmitted to the OTDR, and the OTDR can record the time of receiving the reflected signal of each output port, that is, the time at which the OTDR receives the reflected signal of the reflecting device for the second test signal in each output port, and records the receiving time. Send to the authentication device. In addition, the OTDR can also record the time when the second test signal is sent to the output port, that is, record the transmission time of the second test signal, and send the recorded transmission time to the authentication device.
认证设备接收OTDR发送的OTDR对于各个输出端口的反射信号的接收时刻以及发送时刻后,则可以确定每个输出端口的合法时间差。其中,任意一个输出端口的合法时间差为向输出端口发送第二测试信号的时刻与接收从该任意一个输出端口返回的反射信号的时刻之间的时间差。After the authentication device receives the reception time and the transmission time of the reflected signals of the OTDRs sent by the OTDR for each output port, the legal time difference of each output port can be determined. The legal time difference of any one of the output ports is the time difference between the time when the second test signal is sent to the output port and the time when the reflected signal returned from the arbitrary one of the output ports is received.
例如,OTDR在T0时刻向分光器的N个输出端口发送第二测试信号,第二测试信号到达输出端口后,经输出端口处的反射装置反射,反射信号回到OTDR,OTDR记录对于N个输出端口的反射信号的接收时刻,依次为T1,T2,……,TN-1,TN,其中1~N表示输出端口的序号。则认证设备确定分光器的输出端口1的合法时间差为T1-T0,输出端口2的合法时间差为T2-T0,……,输出端口N的合法时间差为TN-T0For example, the OTDR sends a second test signal to the N output ports of the optical splitter at time T 0 . After the second test signal reaches the output port, the second test signal is reflected by the reflection device at the output port, and the reflected signal is returned to the OTDR, and the OTDR records for N. The receiving time of the reflected signal of the output port is T 1 , T 2 , . . . , T N-1 , T N , where 1 to N represent the serial number of the output port. Then, the authentication device determines that the legal time difference of the output port 1 of the optical splitter is T 1 -T 0 , the legal time difference of the output port 2 is T 2 -T 0 , ..., and the legal time difference of the output port N is T N -T 0 .
本发明实施例中可以预先得到分光器的各输出端口的合法时间差,从而在使用第一测试信号检测ONU与分光器的输出端口之间的连接关系时,通过将针对第一测试信号的反馈信息所指示的时间差与预先测试的各输出端口的合法时间进行匹配的方式,即可确定第一测试信号所测试的输出端口具体为 分光器中的哪个输出端口,对输出端口的识别效率较高。In the embodiment of the present invention, the legal time difference of each output port of the optical splitter may be obtained in advance, so that when the connection relationship between the ONU and the output port of the optical splitter is detected by using the first test signal, feedback information for the first test signal is adopted. The manner in which the indicated time difference matches the legal time of each output port tested in advance may determine that the output port tested by the first test signal is specifically Which output port in the splitter has a higher recognition efficiency for the output port.
例如,分光器的输出端口1、输出端口2和输出端口3的光纤的长度依次为L,L+a,L+2a,若通过向这三个输出端口分别发送第二测试信号,并基于针对第二测试信号的反馈信息确定这三个输出端口对应的合法时间差依次为T1,T2,T3,其中,T为测试信号及反射信号在长度为L的光纤链路中传输时对应的时间,若经发送第一测试信号检测的某输出端口的时间差与T2相同,则表明第一测试信号测试的输出端口为输出端口2。For example, the lengths of the optical fibers of the output port 1, the output port 2, and the output port 3 of the optical splitter are L, L+a, L+2a, respectively, if the second test signal is respectively sent to the three output ports, and based on The feedback information of the second test signal determines that the legal time difference corresponding to the three output ports is T 1 , T 2 , T 3 , where T is the corresponding time when the test signal and the reflected signal are transmitted in the fiber link of length L. Time, if the time difference of an output port detected by sending the first test signal is the same as T 2 , it indicates that the output port of the first test signal test is output port 2.
在实际应用中,由于测试光信号在光纤传输的过程中可能会受到一些影响,如损耗、带宽等,从而导致同一输出端口在不同时间测试得到的时间差可能会出现浮动的情况,这种情况下,只要在一定范围内浮动,即测试的时间差与合法时间差之间的差值处于一定范围内,均可认为二者是一致的。该范围可以根据经验设置。In practical applications, the test optical signal may be affected during the transmission of the optical fiber, such as loss, bandwidth, etc., so that the time difference of the same output port tested at different times may fluctuate. As long as it floats within a certain range, that is, the difference between the time difference of the test and the legal time difference is within a certain range, the two can be considered to be consistent. This range can be set based on experience.
例如,通过第二测试信号确定输出端口1的合法时间差为6us,设置的浮动范围为[0,0.3us],若通过第一测试信号确定所测试的输出端口的时间差为5.8us,其与合法时间差的时间差距处于允许的浮动范围内,则可认为该测试的输出端口即为输出端口1,若通过第一测试信号确定所测试的输出端口的时间差为5.2us,其与合法时间差之间的时间差距超过允许的浮动范围,则表明所测试的输出端口不为输出端口1。For example, the second test signal determines that the legal time difference of the output port 1 is 6 us, and the set floating range is [0, 0.3 us]. If the first test signal determines that the time difference of the tested output port is 5.8 us, it is legal. If the time difference of the time difference is within the allowable floating range, the output port of the test can be considered as the output port 1. If the first test signal determines that the time difference of the tested output port is 5.2us, it is between the legal time difference A time gap that exceeds the allowed floating range indicates that the output port being tested is not output port 1.
若认证设备确定检测的时间差与合法输出端口的合法时间差一致,则表明反射信号由输出端口中的反射装置反射,表明合法输出端口的防尘帽处于未摘取的状态,也就是说,ONU显然未与预先分配的合法输出端口相连。或者,若确定检测的时间差与合法输出端口的合法时间差不一致,表明反射信号不是由输出端口中的反射装置反射的,那么可以认为反射信号是由与该合法输出端口连接的ONU反射的,也就说明,该ONU是与该ONU的合法输出端口连接。If the authentication device determines that the detected time difference is consistent with the legal time difference of the legal output port, it indicates that the reflected signal is reflected by the reflection device in the output port, indicating that the dust cap of the legal output port is in an unpicked state, that is, the ONU is obviously Not connected to a pre-assigned legal output port. Alternatively, if it is determined that the detected time difference is inconsistent with the legal time difference of the legal output port, indicating that the reflected signal is not reflected by the reflective device in the output port, then the reflected signal is considered to be reflected by the ONU connected to the legal output port, that is, The ONU is connected to the legal output port of the ONU.
例如,若分光器包括输出端口a、输出端口b和输出端口c这3个输出端口,其中输出端口b为ONU1分配的合法输出端口,经提前测试确定输出端 口a、输出端口b和输出端口c的合法时间差依次为Ta、Tb和Tc。那么,如果向输出端口b发送第一测试信号测试所得的时间差与Tb不一致,则表明ONU1当前与为其分配的合法输出端口相连。或者,如果向输出端口b发送第一测试信号测试所得的时间差与Tb一致,则表明ONU1当前未与为其分配的合法输出端口相连,此时,可以判断向另外两个输出端口发送第一测试信号所测试的时间差是否与相应的合法时间差一致,若确定测试的任意一个输出端口的时间差与相应的合法时间差不一致,则表明ONU当前与该输出端口相连,例如若确定向输出端口c发送第一测试信号测试所得的时间差与Tc不一致,则表明ONU与输出端口c相连。For example, if the optical splitter includes three output ports, an output port a, an output port b, and an output port c, wherein the output port b is a legal output port allocated by the ONU1, and the output port a, the output port b, and the output port c are determined through advance testing. The legal time difference is in turn T a , T b and T c . Then, if the time difference obtained by sending the first test signal test to the output port b does not coincide with T b , it indicates that ONU1 is currently connected to the legal output port assigned thereto. Alternatively, if the time difference obtained by sending the first test signal test to the output port b is consistent with T b , it indicates that the ONU1 is not currently connected to the legal output port allocated thereto, and at this time, it can be determined that the first two output ports are sent first. Whether the time difference tested by the test signal is consistent with the corresponding legal time difference. If it is determined that the time difference of any one of the tested output ports is inconsistent with the corresponding legal time difference, it indicates that the ONU is currently connected to the output port, for example, if it is determined to send to the output port c The time difference obtained by a test signal test is inconsistent with T c , indicating that the ONU is connected to the output port c.
因此,认证设备在向为ONU分配的合法输出端口发送第一测试信号后,能够确定反馈信息所指示的时间差,进而,通过比较该反馈信息所指示的时间差是否与预先确定的该输出端口的合法时间差一致,就可以确定该合法输出端口是否与ONU连接,确定方式较为快捷。当然,如果为一个ONU分配了多个合法输出端口,则在确定ONU是否与合法输出端口连接时,可以是将向每个合法输出端口发送第一测试信号,分别得到每个输出端口的时间差,进而将检测的时差与相应的合法输出端口的合法时间差进行比较,只要有一个合法输出端口针对第一测试信号的时间差跟该合法输出端口的合法时间差不一致,即可确定ONU与该合法输出端口相连。Therefore, after the first test signal is sent to the legal output port allocated for the ONU, the authentication device can determine the time difference indicated by the feedback information, and further, by comparing whether the time difference indicated by the feedback information and the predetermined output port are legal. If the time difference is consistent, it can be determined whether the legal output port is connected to the ONU, and the determination manner is relatively fast. Certainly, if multiple legal output ports are allocated for an ONU, when determining whether the ONU is connected to the legal output port, the first test signal may be sent to each legal output port, and the time difference of each output port is obtained. Then, the detected time difference is compared with the legal time difference of the corresponding legal output port. As long as the time difference between the legal output port and the legal output port of one legal output port is inconsistent with the legal time difference of the legal output port, the ONU is determined to be connected to the legal output port. .
由此可见,预先使用第二测试信号检测各输出端口的合法时间差,在确定连接关系过程中,仅需测试为ONU分配的合法输出端口的时间差是否与该合法输出端口的合法时间差一致,即可确定ONU是否与该合法输出端口相连,提供了一种确定ONU和输出端口之间的连接关系的方式,确定方式较为简单,确定的结果也比较准确。It can be seen that the second test signal is used to detect the legal time difference of each output port. In the process of determining the connection relationship, it is only necessary to test whether the time difference of the legal output port allocated for the ONU is consistent with the legal time difference of the legal output port. Determining whether the ONU is connected to the legal output port provides a way to determine the connection relationship between the ONU and the output port. The determination method is relatively simple, and the determined result is relatively accurate.
确定过程2:认证设备确定接收反馈信息所指示的反射信号的时刻与发送第一测试信号的时刻之间的时间差是否与ONU应该具有的合法时间差一致。Determination Process 2: The authentication device determines whether the time difference between the time at which the reflected signal indicated by the feedback information is received and the time at which the first test signal is transmitted is consistent with the legal time difference that the ONU should have.
其中,ONU的合法时间差为从向与合法输出端口连接的ONU发送测试信号到接收该ONU反射的信号之间的时间差。ONU的合法时间差也可以是 预先测试得到的,例如是在S12之前进行测试得到的。下面介绍一种测试得到ONU的合法时间差的过程:The legal time difference of the ONU is the time difference between sending a test signal to the ONU connected to the legal output port to receiving the signal reflected by the ONU. The legal time difference of the ONU can also be Pre-tested, for example, was tested before S12. The following describes a process for testing the legal time difference of an ONU:
认证设备通过OTDR向分光器中与ONU合法相连的合法输出端口发送测试光信号,该测试光信号可仍称为第二测试信号。第二测试信号经ONU中设置的反射装置反射回OTDR,则OTDR可以确定发送第二测试信号的时刻及接收从ONU返回的针对第二测试信号的反射信号时刻之间的差值,该差值即为ONU的合法时间差,认证设备预先可以将其存入数据库中,以便后期接收到相应的ONU的上线请求时对其进行调用,以便基于ONU的合法时间差确定ONU的连接关系。The authentication device sends a test optical signal to the legal output port of the optical splitter that is legally connected to the ONU through the OTDR, and the test optical signal may still be referred to as a second test signal. The second test signal is reflected back to the OTDR by the reflecting device provided in the ONU, and the OTDR can determine the difference between the time when the second test signal is sent and the time of receiving the reflected signal from the ONU for the second test signal, the difference. That is, the legal time difference of the ONU, the authentication device can store it in the database in advance, so that it can be called when receiving the online request of the corresponding ONU in the later stage, so as to determine the connection relationship of the ONU based on the legal time difference of the ONU.
在实际应用中,由于ONU在与分光器的输出端口相连时,会通过一段光纤线缆与分光器的输出端口连接,在连接时,输出端口的防尘帽被移除,因此,在测试过程中,当认证设备向该输出端口发送第一测试信号后,第一测试信号沿光纤链路传输,在其到达分光器的输出端口时不会产生对该测试信号的反射,而当测试信号沿光纤继续传输到达ONU时,ONU中设置的反射装置对第一测试信息进行反射,反射的信号返回认证设备,则此时认证设备测试所得的发送第一测试信号的时间与接收反射信号的时间之间的时间差通常会大于该输出端口的合法时间差。也就是说,针对同一输出端口,检测ONU的合法时间差时,光信号在光纤中所传输距离通常要大于在检测输出端口的合法时间时光信号在光纤中所传输的距离。In practical applications, when the ONU is connected to the output port of the optical splitter, it is connected to the output port of the optical splitter through a fiber optic cable. When the connection is made, the dust cap of the output port is removed. Therefore, during the testing process When the authentication device sends the first test signal to the output port, the first test signal is transmitted along the fiber link, and when it reaches the output port of the beam splitter, no reflection of the test signal is generated, and when the test signal edge When the optical fiber continues to be transmitted to the ONU, the reflection device provided in the ONU reflects the first test information, and the reflected signal is returned to the authentication device. At this time, the time for transmitting the first test signal and the time for receiving the reflected signal are obtained by the authentication device test. The time difference between them is usually greater than the legal time difference of the output port. That is to say, for the same output port, when detecting the legal time difference of the ONU, the transmission distance of the optical signal in the optical fiber is generally greater than the distance that the optical signal is transmitted in the optical fiber when detecting the legal time of the output port.
在认证设备确定连接关系过程中,可以判断通过第一测试信号确定的时间差与ONU的合法时间差是否一致,来确定当前ONU是否与分配的合法输出端口相连。若认证设备确定时间差与ONU的合法时间差一致,则认证设备确定ONU当前与合法输出端口相连,即接收的反射信号为由ONU中反射装置反射的信号,若不一致,则表明ONU未与合法输出端口相连,此时,合法输出端口可能未连接或与其它ONU相连。During the process of determining the connection relationship between the authentication device, it may be determined whether the time difference determined by the first test signal is consistent with the legal time difference of the ONU to determine whether the current ONU is connected to the allocated legal output port. If the authentication device determines that the time difference is consistent with the legal time difference of the ONU, the authentication device determines that the ONU is currently connected to the legal output port, that is, the received reflected signal is a signal reflected by the reflection device in the ONU. If not, the ONU does not have a legal output port. Connected, at this time, the legal output port may not be connected or connected to other ONUs.
例如,若分光器包括输出端口1、输出端口2和输出端口3这3个输出端口,经提前测试确定ONU1分别与输出端口1、输出端口2和输出端口3相 连时,ONU1的合法时间差依次为T1、T2和T3,其中输出端口2为ONU1分配的合法输出端口。那么,测试过程中,如果向输出端口2发送第一测试信号测试所得ONU的时间差与T2一致,则表明ONU1当前与为其分配的合法输出端口相连。或者,如果向输出端口2发送第一测试信号测试所得的ONU1的时间差与T2不一致,则表明ONU1当前未与为其分配的合法输出端口相连,此时,可以判断向另外两个输出端口发送第一测试信号所测试的ONU1的时间差是否与T1或T3一致,若确定测试的任意一个输出端口的时间差与相应的合法时间差一致,则表明ONU1当前与该输出端口相连,例如若认证设备确定向输出端口1发送第一测试信号测试所得的ONU1的时间差与T1一致,则确定ONU1与输出端口1相连。For example, if the optical splitter includes three output ports: output port 1, output port 2, and output port 3, when the ONU1 is connected to the output port 1, the output port 2, and the output port 3 respectively, the legal time difference of the ONU1 is T 1 , T 2 and T 3 , where output port 2 is the legal output port assigned by ONU1. Then, during the test, if the time difference of the ONU sent by the first test signal to the output port 2 is consistent with T 2 , it indicates that the ONU 1 is currently connected to the legal output port assigned thereto. Alternatively, if the transmission time of the first test signal test ONU1 resulting difference to the output port 2 and T 2 do not match, this indicates that no ONU1 connected to the output port assigned to legitimate, in which case it can be determined to send another two output ports Whether the time difference of the ONU1 tested by the first test signal is consistent with T 1 or T 3 . If it is determined that the time difference of any one of the tested output ports is consistent with the corresponding legal time difference, it indicates that ONU1 is currently connected to the output port, for example, if the authentication device determining a first transmission time ONU1 test signal test to output the resulting difference between port 1 and T 1 is consistent, it is determined that the output port 1 is connected to ONU1.
因此,通过时间差方式,可以对合法输出端口的ONU的时间差的检测,及将检测的时间差与合法时间差进行表即可较为快捷的判断出ONU是否与合法输出端口相连,解决现有技术中在ONU改变与合法输出端口的连接关系时系统无法察觉的技术缺陷,并且还可以基于检测的时间差以及ONU的合法时间差,通过比较确定ONU改变连接关系后所连接的输出端口,例如用户将ONU1由分光器中的合法输出端口2切换到其它输出端口1,则新的连接关系即为ONU1与输出端口1相连,从而便于提高对接入网的ONU的连接关系进行较好的监管效果。Therefore, the time difference method can be used to detect the time difference of the ONU of the legal output port, and the difference between the detected time difference and the legal time difference can be quickly determined whether the ONU is connected to the legal output port, and the ONU is solved in the prior art. The technical defect that the system cannot detect when changing the connection relationship with the legal output port, and can also determine the output port connected after the ONU changes the connection relationship based on the detected time difference and the legal time difference of the ONU. For example, the user sets the ONU1 from the optical splitter. When the legal output port 2 is switched to the other output port 1, the new connection relationship is that the ONU1 is connected to the output port 1, thereby facilitating the better supervision effect on the connection relationship of the ONUs of the access network.
当然,在实际应用中,在采用上述任一方式确定ONU与输出端口的连接关系时,可以单独使用上述任一确定过程,或者,也可以结合两个确定过程使用,本发明实施例对此不作具体限制。甚至,在不冲突的情况下,还可结合光功率方式和时间差方式共同确定ONU与输出端口之间的连接关系。Of course, in the actual application, when determining the connection relationship between the ONU and the output port by using any of the foregoing methods, any one of the foregoing determining processes may be used alone, or may be used in combination with two determining processes, which is not used by the embodiment of the present invention. Specific restrictions. Even in the case of no conflict, the optical power mode and the time difference mode can be combined to determine the connection relationship between the ONU and the output port.
在实际应用中,若认证设备确定检测的连接关系与ONU的合法连接关系一致,表明ONU通过认证,此时,认证设备将允许ONU接入PON,而不一致时,认证设备可以拒绝ONU上线,同时可以发出ONU1位置变化告警,甚至还可将连接关系改变后,ONU所连接的输出端口对应的端口标识,如输出端口2或输出端口3,上报给认证设备,以提高对光网络单元的连接关系的监 测,便于实时了解ONU的入网动向。In an actual application, if the authentication device determines that the detected connection relationship is consistent with the legal connection relationship of the ONU, the ONU is authenticated. At this time, the authentication device will allow the ONU to access the PON. If the authentication device is inconsistent, the authentication device can refuse the ONU to go online. The ONU1 position change alarm can be issued. Even after the connection relationship is changed, the port identifier corresponding to the output port connected to the ONU, such as output port 2 or output port 3, is reported to the authentication device to improve the connection relationship with the optical network unit. Supervisor Test, easy to understand the ONU's network access trends in real time.
本发明实施例中认证设备通过光功率方式或时间差方式可快速地确定出ONU当前所连接的输出端口,若该输出端口为合法输出端口即表明连接关系与合法连接关系一致,即通过认证,从而实现基于ONU的连接关系来对ONU进行认证,能够有效促使并保证ONU仅通过为其分配的输出端口进行上线,可以避免非授权的多个用户通过移动ONU到不同的光接入端口共享网络连接服务,有助于运营商对宽带接入用户的管理,提高网络的安全性。In the embodiment of the present invention, the authentication device can quickly determine the output port currently connected to the ONU by using the optical power mode or the time difference mode. If the output port is a legal output port, the connection relationship is consistent with the legal connection relationship, that is, the authentication is performed. The ONU-based connection is used to authenticate the ONU. This can effectively ensure that the ONU can go online only through the output port assigned to it. This prevents unauthorized users from sharing the network connection with different optical access ports. Services help operators manage broadband access users and improve network security.
如图6所示,本发明实施例中提供的认证设备可以包括连接到同一总线600的接收器601、存储器602和处理器603。As shown in FIG. 6, the authentication device provided in the embodiment of the present invention may include a receiver 601, a memory 602, and a processor 603 connected to the same bus 600.
可选的,该认证设备还可以包括发送器604,在图6中一并示出。因为发送器604为可选的实体部件,因此在图6中画为虚线形式。Optionally, the authentication device may further include a transmitter 604, which is shown together in FIG. Since the transmitter 604 is an optional physical component, it is drawn in the form of a dashed line in FIG.
具体来说,接收器601可以用于接收光网络单元发送的上线请求,上线请求用于光网络单元请求接入光网络。Specifically, the receiver 601 can be configured to receive an online request sent by the optical network unit, and the online request is used by the optical network unit to request access to the optical network.
存储器602可以用于存储光网络单元的合法连接关系,该合法连接关系用于指示光网络单元所连接的分光器的输出端口是为光网络单元分配的合法输出端口。The memory 602 can be used to store a legal connection relationship of the optical network unit, where the legal connection relationship is used to indicate that the output port of the optical splitter to which the optical network unit is connected is a legal output port allocated for the optical network unit.
处理器603可以用于根据上线请求检测光网络单元与分光器的输出端口之间的连接关系,若确定检测的连接关系与光网络单元的合法连接关系一致,确定光网络单元通过认证,允许光网络单元接入光网络。The processor 603 is configured to detect a connection relationship between the optical network unit and the output port of the optical splitter according to the online request. If it is determined that the detected connection relationship is consistent with the legal connection relationship of the optical network unit, determining that the optical network unit passes the authentication, allowing the light. The network unit is connected to the optical network.
在实际应用中,处理器603可以是中央处理器(Central Processing Unit,CPU)或特定应用集成电路(Application Specific Integrated Circuit,ASIC),可以是一个或多个用于控制程序执行的集成电路,可以是基带芯片,等等。In an actual application, the processor 603 may be a central processing unit (CPU) or an application specific integrated circuit (ASIC), and may be one or more integrated circuits for controlling program execution. Is a baseband chip, and so on.
认证设备中存储器602的数量可以是一个或多个,存储器602可以是移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘,等等。The number of the memory 602 in the authentication device may be one or more, and the memory 602 may be a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk. and many more.
发送器604可以在光网络单元与分光器的输出端口之间的连接关系时,用于发送测试信号等,或者还可以发送其它数据,本发明实施例对此不作具 体限制。The transmitter 604 can be used to transmit a test signal or the like when the optical network unit and the output port of the optical splitter are connected, or can also send other data, which is not provided by the embodiment of the present invention. Body limitation.
接收器601、存储器602、发送器604可以通过总线600与处理器603相连接(例如图6所示),或者也可以通过专门的连接线分别与处理器603连接。The receiver 601, the memory 602, and the transmitter 604 may be connected to the processor 603 via the bus 600 (for example, as shown in FIG. 6), or may be separately connected to the processor 603 through a dedicated connection line.
接收器601、存储器602发送器604之间也可以通过总线600相连接(例如图6所示),或者也可以通过专门的连接线进行连接。The receiver 601 and the memory 602 transmitter 604 may also be connected via a bus 600 (for example, as shown in FIG. 6), or may be connected through a dedicated connection line.
通过对处理器603进行设计编程,将前述的ONU接入PON的方法所对应的代码固化到芯片内,从而使芯片在运行时能够执行前述图4所示的实施例所提供的方法,如何对处理器603进行设计编程为本领域技术人员所公知的技术,此处不再赘述。By designing and programming the processor 603, the code corresponding to the method for accessing the ONU to the PON is solidified into the chip, so that the chip can execute the method provided by the foregoing embodiment shown in FIG. 4 during operation, how to The processor 603 performs design programming and is well known to those skilled in the art, and details are not described herein again.
此外,由于本发明实施例中的认证设备可用于执行图4所示的实施例所提供的方法,因此本发明实施例中认证设备中各功能单元所能够实现的功能可以参见图4所示的实施例的描述,在此不再赘述。In addition, since the authentication device in the embodiment of the present invention can be used to perform the method provided by the embodiment shown in FIG. 4, the functions that can be implemented by each functional unit in the authentication device in the embodiment of the present invention can be seen in FIG. The description of the embodiments will not be repeated here.
如图7所示,本发明一实施例提供一种认证设备,该认证设备可以应用于如图1所示的光网络系统中,该认证设备可以包括接收模块701、测试模块702和处理模块703。As shown in FIG. 7, an embodiment of the present invention provides an authentication device, which can be applied to an optical network system as shown in FIG. 1. The authentication device can include a receiving module 701, a testing module 702, and a processing module 703. .
在实际应用中,接收模块701对应的实体设备可以是图6中的接收器601,测试模块702对应的实体设备可以是图6中的发送器604,处理模块703对应的实体设备可以是图6中的处理器603和存储器602。In an actual application, the physical device corresponding to the receiving module 701 may be the receiver 601 in FIG. 6 , the physical device corresponding to the testing module 702 may be the transmitter 604 in FIG. 6 , and the physical device corresponding to the processing module 703 may be FIG. 6 . Processor 603 and memory 602.
该认证设备中的各个模块可以用于执行图4所示的实施例提供的方法,例如可以是如前所述的认证设备。因此,对于该认证设备中的各模块所实现的功能等,可参考如前方法部分的描述,不多赘述。The various modules in the authentication device may be used to perform the methods provided by the embodiment shown in FIG. 4, such as an authentication device as previously described. Therefore, for the functions and the like implemented by the modules in the authentication device, reference may be made to the description of the previous method section, and details are not described herein.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It will be clearly understood by those skilled in the art that for the convenience and brevity of the description, only the division of each functional module described above is exemplified. In practical applications, the above function assignment can be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示 意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative For example, the division of the module or unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or integrated into another system, or some Features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。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 integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present application.
以上所述,以上实施例仅用以对本申请的技术方案进行了详细介绍,但以上实施例的说明只是用于帮助理解本发明的方法及其核心思想,不应理解为对本发明的限制。本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。 The above embodiments are only used to describe the technical solutions of the present application in detail, but the description of the above embodiments is only for helping to understand the method and the core idea of the present invention, and should not be construed as limiting the present invention. Those skilled in the art will be able to devise variations or alternatives within the scope of the present invention within the scope of the present invention.

Claims (17)

  1. 一种光网络单元接入光网络的方法,其特征在于,包括:A method for an optical network unit to access an optical network, comprising:
    认证设备接收所述光网络单元发送的上线请求,所述上线请求用于所述光网络单元请求接入所述光网络;Receiving, by the authentication device, an online request sent by the optical network unit, where the online request is used by the optical network unit to request access to the optical network;
    所述认证设备根据所述上线请求,检测所述光网络单元与分光器的输出端口之间的连接关系;The authentication device detects a connection relationship between the optical network unit and an output port of the optical splitter according to the online request;
    若确定检测的所述连接关系与所述光网络单元的合法连接关系一致,确定所述光网络单元通过认证,允许所述光网络单元接入所述光网络;其中,所述合法连接关系用于指示所述光网络单元所连接的所述分光器的输出端口是为所述光网络单元分配的合法输出端口。If it is determined that the detected connection relationship is consistent with the legal connection relationship of the optical network unit, determining that the optical network unit passes the authentication, allowing the optical network unit to access the optical network; wherein the legal connection relationship is used. An output port indicating the optical splitter to which the optical network unit is connected is a legal output port allocated for the optical network unit.
  2. 如权利要求1所述的方法,其特征在于,所述根据所述上线请求,检测所述光网络单元与分光器的输出端口之间的连接关系,包括:The method of claim 1, wherein the detecting a connection relationship between the optical network unit and an output port of the optical splitter according to the online request comprises:
    所述认证设备根据所述上线请求,向所述分光器中的为所述光网络单元分配的所述合法输出端口发送第一测试信号;Sending, by the authentication device, the first test signal to the legal output port allocated by the optical network unit in the optical splitter according to the online request;
    所述认证设备获得所述合法输出端口针对所述第一测试信号的反馈信息;The authentication device obtains feedback information of the legal output port for the first test signal;
    所述认证设备根据所述反馈信息确定所述连接关系;其中,所述反馈信息用于指示所述合法输出端口针对所述第一测试信号产生的反射信号的信息。The authentication device determines the connection relationship according to the feedback information, where the feedback information is used to indicate information of a reflected signal generated by the legal output port for the first test signal.
  3. 如权利要求2所述的方法,其特征在于,所述认证设备根据所述反馈信息确定所述连接关系,包括:The method of claim 2, wherein the determining, by the authentication device, the connection relationship according to the feedback information comprises:
    所述认证设备确定所述反馈信息所指示的所述反射信号具有最大光功率的光纤位置与所述合法输出端口的预设光纤位置是否一致;其中,所述光纤位置为所述反射信号具有所述最大光功率时在光纤中所处的位置;Determining, by the authentication device, whether the position of the optical fiber having the maximum optical power of the reflected signal indicated by the feedback information is consistent with a preset optical fiber position of the legal output port; wherein the optical fiber position is that the reflected signal has a The position in the fiber when the maximum optical power is stated;
    若确定二者一致,则所述认证设备确定所述光网络单元未与所述合法输出端口相连,否则,所述认证设备确定所述光网络单元与所述合法输出端口 相连。If it is determined that the two are consistent, the authentication device determines that the optical network unit is not connected to the legal output port; otherwise, the authentication device determines the optical network unit and the legal output port. Connected.
  4. 如权利要求3所述的方法,其特征在于,在所述认证设备根据所述上线请求,向所述分光器中的为所述光网络单元分配的所述合法输出端口发送第一测试信号之前,还包括:The method according to claim 3, wherein said authentication device transmits a first test signal to said legal output port assigned to said optical network unit in said optical splitter according to said online request ,Also includes:
    所述认证设备向所述分光器的输出端口发送第二测试信号;其中,所述分光器包括多个输出端口,其中每个输出端口均通过光纤与所述分光器的输入端口连接;不同的输出端口与输入端口之间的光纤的长度不同,且所述多个输出端口中的每个输出端口处设置了用于反射光信号的反射装置;The authentication device sends a second test signal to an output port of the optical splitter; wherein the optical splitter includes a plurality of output ports, wherein each output port is connected to an input port of the optical splitter through an optical fiber; a length of the optical fiber between the output port and the input port is different, and a reflective device for reflecting the optical signal is disposed at each of the plurality of output ports;
    所述认证设备获取所述分光器的每个输出端口对所述第二测试信号进行反射所产生的反射信号,将其中每个反射信号具有最大光功率时的光纤位置记录为相应的输出端口的预设光纤位置。The authentication device acquires a reflection signal generated by each output port of the optical splitter to reflect the second test signal, and records the position of the optical fiber when each of the reflected signals has the maximum optical power as a corresponding output port. Preset fiber position.
  5. 如权利要求2所述的方法,其特征在于,所述认证设备根据所述反馈信息确定所述连接关系,包括:The method of claim 2, wherein the determining, by the authentication device, the connection relationship according to the feedback information comprises:
    所述认证设备确定所述反馈信息所指示的所述反射信号具有最大光功率的光纤位置与所述光网络单元的预设光纤位置是否一致;其中,所述光纤位置为所述反射信号具有所述最大光功率时在光纤中所处的位置;Determining, by the authentication device, whether the position of the optical fiber having the maximum optical power of the reflected signal indicated by the feedback information is consistent with a preset optical fiber position of the optical network unit; wherein the optical fiber position is that the reflected signal has a The position in the fiber when the maximum optical power is stated;
    若确定二者一致,则所述认证设备确定所述光网络单元与所述合法输出端口相连,否则,所述认证设备确定所述光网络单元未与所述合法输出端口相连。If it is determined that the two are consistent, the authentication device determines that the optical network unit is connected to the legal output port; otherwise, the authentication device determines that the optical network unit is not connected to the legal output port.
  6. 如权利要求5所述的方法,其特征在于,在所述认证设备根据所述上线请求,向所述分光器中的为所述光网络单元分配的所述合法输出端口发送第一测试信号之前,还包括:The method according to claim 5, wherein said authentication device transmits a first test signal to said legal output port assigned to said optical network unit in said optical splitter according to said online request ,Also includes:
    所述认证设备向所述分光器中与所述光网络单元合法相连的合法输出端口发送第二测试信号,所述光网络单元中设置了用于反射光信号的反射装置;The authentication device sends a second test signal to a legal output port of the optical splitter that is legally connected to the optical network unit, where a reflective device for reflecting the optical signal is disposed in the optical network unit;
    所述认证设备获取所述光网络单元对所述第二测试信号进行反射所产生的反射信号,将所述反射信号具有最大光功率时的光纤位置记录为所述光网络单元的预设光纤位置。 The authentication device acquires a reflection signal generated by the optical network unit to reflect the second test signal, and records the position of the optical fiber when the reflected signal has the maximum optical power as a preset fiber position of the optical network unit. .
  7. 一种认证设备,其特征在于,包括:An authentication device, comprising:
    接收器,用于接收光网络单元发送的上线请求,所述上线请求用于所述光网络单元请求接入所述光网络;a receiver, configured to receive an online request sent by the optical network unit, where the online request is used by the optical network unit to request access to the optical network;
    存储器,用于存储光网络单元的合法连接关系,所述合法连接关系用于指示所述光网络单元所连接的分光器的输出端口是为所述光网络单元分配的合法输出端口;a memory for storing a legal connection relationship of the optical network unit, where the legal connection relationship is used to indicate that an output port of the optical splitter to which the optical network unit is connected is a legal output port allocated for the optical network unit;
    处理器,与所述接收器连接,用于根据所述上线请求检测所述光网络单元与分光器的输出端口之间的连接关系,若确定检测的所述连接关系与所述光网络单元的合法连接关系一致,确定所述光网络单元通过认证,允许所述光网络单元接入所述光网络。a processor, connected to the receiver, configured to detect a connection relationship between the optical network unit and an output port of the optical splitter according to the online request, if the detected connection relationship is determined with the optical network unit The legal connection relationship is consistent, and the optical network unit is determined to pass the authentication, and the optical network unit is allowed to access the optical network.
  8. 如权利要求7所述的认证设备,其特征在于,所述处理器用于根据所述上线请求,检测所述光网络单元与分光器的输出端口之间的连接关系,包括:The authentication device according to claim 7, wherein the processor is configured to detect a connection relationship between the optical network unit and an output port of the optical splitter according to the online request, including:
    根据所述上线请求,向所述分光器中的为所述光网络单元分配的所述合法输出端口发送第一测试信号;Transmitting, according to the online request, a first test signal to the legal output port allocated to the optical network unit in the optical splitter;
    获得所述合法输出端口针对所述第一测试信号的反馈信息,并根据所述反馈信息确定所述连接关系;其中,所述反馈信息用于指示所述合法输出端口针对所述第一测试信号产生的反射信号的信息。Obtaining feedback information of the legal output port for the first test signal, and determining the connection relationship according to the feedback information, where the feedback information is used to indicate that the legal output port is for the first test signal The information of the generated reflected signal.
  9. 如权利要求8所述的认证设备,其特征在于,所述处理器用于:The authentication device of claim 8 wherein said processor is operative to:
    确定所述反馈信息所指示的所述反射信号具有最大光功率的光纤位置与所述合法输出端口的预设光纤位置是否一致;其中,所述光纤位置为所述反射信号具有所述最大光功率时在光纤中所处的位置;Determining whether the position of the optical fiber having the maximum optical power of the reflected signal indicated by the feedback information is consistent with a preset optical fiber position of the legal output port; wherein the optical fiber position is that the reflected signal has the maximum optical power The position in the fiber;
    若确定二者一致,则确定所述光网络单元未与所述合法输出端口相连,否则,确定所述光网络单元与所述合法输出端口相连。If it is determined that the two are consistent, it is determined that the optical network unit is not connected to the legal output port; otherwise, the optical network unit is determined to be connected to the legal output port.
  10. 如权利要求9所述的认证设备,其特征在于,所述处理器还用于:The authentication device of claim 9, wherein the processor is further configured to:
    在根据所述上线请求向所述分光器中的为所述光网络单元分配的所述合法输出端口发送第一测试信号之前,向所述分光器的输出端口发送第二测试 信号;其中,所述分光器包括多个输出端口,其中每个输出端口均通过光纤与所述分光器的输入端口连接;不同的输出端口与输入端口之间的光纤的长度不同,且所述多个输出端口中的每个输出端口处设置了用于反射光信号的反射装置;Sending a second test to an output port of the optical splitter before transmitting the first test signal to the legal output port allocated to the optical network unit in the optical splitter according to the online request a signal; wherein the optical splitter includes a plurality of output ports, wherein each output port is connected to an input port of the optical splitter through an optical fiber; a length of an optical fiber between different output ports and an input port is different, and Reflecting means for reflecting the optical signal are disposed at each of the plurality of output ports;
    获取所述分光器的每个输出端口对所述第二测试信号进行反射所产生的反射信号,将其中每个反射信号具有最大光功率时的光纤位置记录为相应的输出端口的预设光纤位置。Obtaining a reflected signal generated by each output port of the optical splitter to reflect the second test signal, and recording a position of the optical fiber when each of the reflected signals has a maximum optical power as a preset optical fiber position of the corresponding output port .
  11. 如权利要求8所述的认证设备,其特征在于,所述处理器用于:The authentication device of claim 8 wherein said processor is operative to:
    确定所述反馈信息所指示的所述反射信号具有最大光功率的光纤位置与所述光网络单元的预设光纤位置是否一致;其中,所述光纤位置为所述反射信号具有所述最大光功率时在光纤中所处的位置;Determining whether the position of the optical fiber having the maximum optical power of the reflected signal indicated by the feedback information is consistent with a preset optical fiber position of the optical network unit; wherein the optical fiber position is that the reflected signal has the maximum optical power The position in the fiber;
    若确定二者一致,则确定所述光网络单元与所述合法输出端口相连,否则,确定所述光网络单元未与所述合法输出端口相连。If it is determined that the two are consistent, it is determined that the optical network unit is connected to the legal output port; otherwise, it is determined that the optical network unit is not connected to the legal output port.
  12. 如权利要求11所述的认证设备,其特征在于,所述处理器还用于:The authentication device according to claim 11, wherein the processor is further configured to:
    在根据所述上线请求向所述分光器中的为所述光网络单元分配的所述合法输出端口发送第一测试信号之前,向所述分光器中与所述光网络单元合法相连的合法输出端口发送第二测试信号,所述光网络单元中设置了用于反射光信号的反射装置;And sending a legal output to the optical network unit legally connected to the optical network unit before sending the first test signal to the legal output port allocated to the optical network unit in the optical splitter according to the online request The port sends a second test signal, and a reflective device for reflecting the optical signal is disposed in the optical network unit;
    获取所述光网络单元对所述第二测试信号进行反射所产生的反射信号,将所述反射信号具有最大光功率时的光纤位置记录为所述光网络单元的预设光纤位置。Acquiring a reflected signal generated by the optical network unit to reflect the second test signal, and recording a position of the optical fiber when the reflected signal has a maximum optical power as a preset optical fiber position of the optical network unit.
  13. 一种分光器,其特征在于,包括:A beam splitter, comprising:
    输入端口;Input port
    多个输出端口,所述多个输出端口中每个输出端口与所述输入端口之间均通过光纤连接,且所述每个输出端口与所述输入端口之间的光纤的长度呈等差关系。a plurality of output ports, each of the plurality of output ports and the input port are connected by an optical fiber, and the length of the optical fiber between each of the output ports and the input port is in an equal relationship .
  14. 如权利要求13所述的分光器,其特征在于,所述分光器还包括: The optical splitter of claim 13 wherein said optical splitter further comprises:
    反射装置,设置在是所述多个输出端口中每个输出端口处,用于反射相应输出端口的光信号。And a reflecting device disposed at each of the plurality of output ports for reflecting an optical signal of the corresponding output port.
  15. 一种光网络系统,其特征在于,包括:An optical network system, comprising:
    分光器,用于提供光网络系统的光传输通道,所述分光器包括多个输出端口,其中每个输出端口均通过光纤与所述分光器的输入端口连接,不同的输出端口与输入端口之间的光纤的长度不同,且所述多个输出端口中的每个输出端口处设置了用于反射光信号的反射装置;a beam splitter for providing an optical transmission channel of the optical network system, the optical splitter comprising a plurality of output ports, wherein each output port is connected to an input port of the optical splitter through an optical fiber, and different output ports and input ports are The lengths of the fibers are different, and a reflecting device for reflecting the optical signal is disposed at each of the plurality of output ports;
    认证设备,与所述分光器相连,用于接收与所述分光器的输出端口相连的光网络单元发送的上线请求,所述上线请求用于光网络单元请求接入所述光网络,并根据所述上线请求检测所述光网络单元与所述分光器的输出端口之间的连接关系,若确定检测的所述连接关系与所述光网络单元的合法连接关系一致,确定所述光网络单元通过认证,允许所述光网络单元接入所述光网络;其中,所述合法连接关系用于指示所述光网络单元所连接的所述分光器的输出端口是为所述光网络单元分配的合法输出端口。An authentication device, connected to the optical splitter, for receiving an online request sent by an optical network unit connected to an output port of the optical splitter, where the online request is used by an optical network unit to request access to the optical network, and according to Determining the connection relationship between the optical network unit and the output port of the optical splitter, and determining that the detected connection relationship is consistent with the legal connection relationship of the optical network unit, determining the optical network unit The optical network unit is allowed to access the optical network by using the authentication, wherein the legal connection relationship is used to indicate that an output port of the optical splitter to which the optical network unit is connected is allocated for the optical network unit Legal output port.
  16. 如权利要求15所述的系统,其特征在于,所述光网络系统还包括:The system of claim 15 wherein said optical network system further comprises:
    测试设备,与所述认证设备相连,用于基于所述认证设备的控制指令向所述分光器中的为所述光网络单元分配的合法输出端口发送测试信号,并将获得的所述合法输出端口针对所述测试信号产生的反射信号的信息发送给所述认证设备。a test device, connected to the authentication device, configured to send a test signal to a legal output port allocated to the optical network unit in the optical splitter based on a control instruction of the authentication device, and obtain the legal output The information of the port for the reflected signal generated by the test signal is sent to the authentication device.
  17. 如权利要求16所述的系统,其特征在于,所述分光器的多个输出端口与输入端口之间的多个光纤的长度呈等差关系。 The system of claim 16 wherein the lengths of the plurality of optical fibers between the plurality of output ports of the optical splitter and the input port are in an equal relationship.
PCT/CN2016/101301 2016-09-30 2016-09-30 Method for accessing optical network by optical network unit, and authentication device and system WO2018058624A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/101301 WO2018058624A1 (en) 2016-09-30 2016-09-30 Method for accessing optical network by optical network unit, and authentication device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/101301 WO2018058624A1 (en) 2016-09-30 2016-09-30 Method for accessing optical network by optical network unit, and authentication device and system

Publications (1)

Publication Number Publication Date
WO2018058624A1 true WO2018058624A1 (en) 2018-04-05

Family

ID=61763252

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101301 WO2018058624A1 (en) 2016-09-30 2016-09-30 Method for accessing optical network by optical network unit, and authentication device and system

Country Status (1)

Country Link
WO (1) WO2018058624A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583475A (en) * 2019-09-27 2021-03-30 华为技术有限公司 Test method, optical line terminal and optical network terminal
KR20220084123A (en) * 2019-10-23 2022-06-21 후아웨이 테크놀러지 컴퍼니 리미티드 Port detection method, optical network device and passive optical network system
CN115967445A (en) * 2022-06-29 2023-04-14 中兴通讯股份有限公司 Method, equipment and system for generating optical network topology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110044685A1 (en) * 2009-08-20 2011-02-24 Yusuke Ota Optical network unit having automatic shutdown
CN103222249A (en) * 2012-11-15 2013-07-24 华为技术有限公司 Authentication method, apparatus and system
CN104184520A (en) * 2013-05-24 2014-12-03 华为技术有限公司 Optical branch assembly, passive optical network and optical transmission method
CN104717576A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Passive optical network access deployment method and management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110044685A1 (en) * 2009-08-20 2011-02-24 Yusuke Ota Optical network unit having automatic shutdown
CN103222249A (en) * 2012-11-15 2013-07-24 华为技术有限公司 Authentication method, apparatus and system
CN104184520A (en) * 2013-05-24 2014-12-03 华为技术有限公司 Optical branch assembly, passive optical network and optical transmission method
CN104717576A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Passive optical network access deployment method and management system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583475A (en) * 2019-09-27 2021-03-30 华为技术有限公司 Test method, optical line terminal and optical network terminal
KR20220084123A (en) * 2019-10-23 2022-06-21 후아웨이 테크놀러지 컴퍼니 리미티드 Port detection method, optical network device and passive optical network system
EP4037332A4 (en) * 2019-10-23 2023-03-01 Huawei Technologies Co., Ltd. Port detection method, optical network device and passive optical network system
KR102648034B1 (en) 2019-10-23 2024-03-14 후아웨이 테크놀러지 컴퍼니 리미티드 Port detection method, optical network device, and passive optical network system
CN115967445A (en) * 2022-06-29 2023-04-14 中兴通讯股份有限公司 Method, equipment and system for generating optical network topology
CN115967445B (en) * 2022-06-29 2024-03-19 中兴通讯股份有限公司 Method, equipment and system for generating optical network topology

Similar Documents

Publication Publication Date Title
EP3029853B1 (en) Method, device, and system for optical fiber link identification
US8687957B2 (en) Method and apparatus for deriving parameters of optical paths in optical networks using two-wavelength OTDR and a wavelength-dependent reflective element
JP6111486B2 (en) Optical network unit detection method and apparatus, and passive optical network system
EP2557705B1 (en) Method, apparatus and optical network system for detecting fault in optical distribution network
WO2018058624A1 (en) Method for accessing optical network by optical network unit, and authentication device and system
JP4324581B2 (en) Optical fiber condition monitoring device and method in optical network
KR20120017070A (en) Method and apparatus for authentication in passive optical network and passive optical network thereof
KR101751158B1 (en) Method, apparatus and system for detecting optical network
WO2011140913A1 (en) Branch line optical fiber detection method and system, passive optical network and optical splitter
CN106656320A (en) Fiber channel loss measurement system, method and device for light quantum communication business
US20150139637A1 (en) Monitoring of a passive optical network (pon)
US20230344720A1 (en) High-resolution optical backscatter method to discover physical topology of complex, interconnected fiber optic network and automatically monitor and troubleshoot its performance
EP4075688A1 (en) Optical distribution device, optical communication detection system, and optical communication detection method
WO2013107232A1 (en) Detection method and system based on pon system
WO2015084697A1 (en) Method and apparatus for onu authentication
EP1578038A1 (en) Device and method for real-time optical network monitoring
WO2013082771A1 (en) Optical fiber link detection method, optical line terminal, and passive optical network system
EP1578039A1 (en) Device and method for real-time optical network monitoring
Cen et al. Advanced fault-monitoring scheme for ring-based long-reach optical access networks
CN112995325A (en) Service debugging method, debugging service, electronic device, and computer storage medium
CN112866832B (en) Test system, test method, test module and optical network unit ONU
CN105981312B (en) A kind of passive optical network equipment
US11515939B2 (en) Monitoring device
WO2024075177A1 (en) Optical communication method and optical communication device
JP2011087173A (en) Pon system and position monitoring control method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16917374

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16917374

Country of ref document: EP

Kind code of ref document: A1