CN117155463A - Ranging method and device in optical communication network - Google Patents

Ranging method and device in optical communication network Download PDF

Info

Publication number
CN117155463A
CN117155463A CN202210571546.7A CN202210571546A CN117155463A CN 117155463 A CN117155463 A CN 117155463A CN 202210571546 A CN202210571546 A CN 202210571546A CN 117155463 A CN117155463 A CN 117155463A
Authority
CN
China
Prior art keywords
network device
registration
network
signal frame
registration signal
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210571546.7A
Other languages
Chinese (zh)
Inventor
吴逸文
何家乐
卢彦兆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210571546.7A priority Critical patent/CN117155463A/en
Priority to PCT/CN2023/094232 priority patent/WO2023226809A1/en
Publication of CN117155463A publication Critical patent/CN117155463A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/077Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
    • H04B10/0775Performance monitoring and measurement of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/077Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Abstract

A distance measuring method and device in an optical communication network relate to the technical field of optical communication. The first network device can generate a registration signal frame according to the counting period of the second network device, and the time length of the registration signal frame is matched with the counting period, so that when the second network device ranges the first network device according to the registration signal frame, no uplink delay jitter exists between the counting period of the second network device and the time length of the registration signal frame, the second network device does not need to open a silence window for the ranging process of the first network device, the influence on the service signal transmission of other network devices connected with the second network device is avoided, and the overall transmission delay of the optical communication network is reduced.

Description

Ranging method and device in optical communication network
Technical Field
The present application relates to the field of optical communications technologies, and in particular, to a ranging method and apparatus in an optical communications network.
Background
The passive optical network (Passive Optical Network, PON) is an access network applied to an optical fiber, and there is no electronic equipment between an optical line terminal (Optical Line Terminal, OLT) and an optical network unit (Optical Network Unit, ONU) in the PON. In the PON, downstream transmission from the OLT to the ONUs is a broadcast system, and upstream transmission from the ONUs to the OLT is a time division multiplexing multiple access (Time Division Multiple Access, TDMA) system. Therefore, in the uplink transmission process from the ONU to the OLT, the time slots occupied by different ONU users cannot overlap, and the information transmitted by the time slots in the overlapping portion cannot be received correctly by the OLT.
Typically, the OLT will open a silence window and determine the distance (or ranging) between the new ONU and the OLT in the time slot indicated by the silence window, so as to avoid overlapping the information of the registered ONU with the transmission of the new ONU. However, in the time slot indicated by the silence window, other ONUs connected to the OLT in the PON cannot communicate with the OLT, so that the transmission delay of the OLT in the PON increases, and the overall transmission delay of the PON is affected. Therefore, how to provide a more effective ranging method in an optical communication network is a problem that needs to be solved.
Disclosure of Invention
The application provides a ranging method and a ranging device in an optical communication network, which solve the problem that delay jitter of the optical communication network is large due to a silence window when ranging in the optical communication network.
The application adopts the following technical scheme.
In a first aspect, the present application provides a ranging method in an optical communication network, where the method is applied to the optical communication network, or a physical device supporting implementation of the ranging method in the optical communication network, for example, the physical device is a network device, where the network device includes a system on a chip and the like. Here, taking the first network device to execute the ranging method provided in this embodiment as an example, the ranging method includes: the first network device receives a registration authorization instruction of the second network device and determines a count period of the second network device. Further, the first network device transmits a registration signal frame to the second network device in response to the registration grant instruction. Wherein the time length of the registration signal frame matches the previously described count period.
As a possible scenario, the aforementioned optical communication network is a PON, and the first network device may be an ONU, and the second network device may be an OLT.
In this embodiment, since the first network device may generate the registration signal frame according to the counting period of the second network device, and the time length of the registration signal frame is matched with the foregoing counting period, when the second network device ranges the first network device according to the registration signal frame, there is no uplink delay jitter between the counting period of the second network device and the time length of the registration signal frame, so that the second network device does not need to open a silence window for the ranging process of the first network device, which avoids the influence on the traffic signal transmission of other network devices connected with the second network device, and reduces the overall transmission delay of the optical communication network.
In an alternative implementation, the foregoing time length of the registration signal frame matches the count period of the second network device, which may include the following: the time length of the registration signal frame is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device. The maximum transmission delay is used for indicating the duration of the maximum transmission delay in a plurality of downlink devices connected with the second network device. In one possible example, the length of time is the same as the count period.
Because the time length of the registration signal frame is greater than or equal to the maximum transmission delay of the second network device, the problem that only one registration signal frame can be correctly received by the second network device and other registration signal frames can be recognized as invalid signals (such as noise) by the second network device due to the fact that the second network device receives a plurality of registration signal frames sent by a plurality of downlink devices in the maximum transmission delay in the signal transmission process of the optical communication network is avoided, and the registration and ranging accuracy of the second network device to the plurality of downlink devices in the optical communication network is improved.
In another optional implementation manner, the foregoing registration authorization instruction carries a counting period of the second network device, and the determining, by the first network device, the counting period of the second network device may include: the first network device analyzes the registration authorization instruction to obtain a counting period of the second network device. In this embodiment, the first network device determines the counting period of the second network device according to the registration authorization instruction, so that the first network device can generate a registration signal frame with a time length matched with the counting period of the second network device, uplink delay jitter between the counting period of the second network device and the time length of the registration signal frame is avoided, and overall transmission delay of the optical communication network is reduced.
In yet another alternative implementation, the information pre-stored by the first network device includes a count period of the second network device, and the first network device determining the count period of the second network device may include: the first network device acquires a count period of the second network device from the pre-stored information. In the optical communication network provided in this embodiment, the first network device does not need to determine the counting period of the second network device after receiving the registration authorization command, so that the information amount carried by the registration authorization command is reduced, the transmission delay of the registration authorization command is reduced, and the ranging efficiency of the first network device is improved. Moreover, the first network device can determine the counting period of the second network device from the pre-stored information, so that the problem that the counting period of the second network device is not matched with the registration signal frame caused by packet loss of the information carried by the registration authorization instruction, so that the second network device opens a silent window for the ranging process of the first network device, further, the service signal transmission of other network devices connected with the second network device in the optical communication network is influenced, and the overall transmission delay of the optical communication network is reduced.
In a second aspect, another ranging method in an optical communication network is provided, where the method is applied to the optical communication network, or a physical device supporting implementation of the ranging method in the optical communication network, e.g. the physical device is a network device, where the network device includes a system on a chip or the like. Here, taking the second network device to execute the ranging method provided in this embodiment as an example, the ranging method includes: first, the second network device sends a registration authorization instruction to the plurality of downlink devices. And secondly, the second network equipment receives a registration signal frame sent by the first network equipment, wherein the first network equipment is any one of a plurality of downlink equipment, and the time length of the registration signal frame is matched with the counting period of the second network equipment. Finally, the second network device ranges the first network device according to the registration signal frame.
In this embodiment, since the time length of the registration signal frame sent by the first network device is matched with the counting period of the second network device, when the second network device ranges the first network device according to the registration signal frame, there is no uplink delay jitter between the counting period of the second network device and the time length of the registration signal frame, so that the second network device does not need to open a silence window for the ranging process of the first network device, thereby avoiding the influence on the traffic signal transmission of other network devices connected with the second network device and reducing the overall transmission delay of the optical communication network.
In an alternative implementation, the time length of the registration signal frame matches the count period of the second network device, including: the time length of the registration signal frame is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network equipment; the maximum transmission delay is used for indicating the duration of maximum transmission delay in a plurality of downlink devices connected with the second network device. Illustratively, the time length of the registration signal frame is the same as the aforementioned count period.
In another alternative implementation, the registration authorization instruction carries a count period of the second network device.
In an alternative implementation, the information pre-stored by the first network device includes a count period of the second network device.
As an alternative implementation manner, the second network device ranges the first network device according to the registration signal frame, including: the second network device compares the frame header of the registration signal frame with the counting period to obtain the distance between the first network device and the second network device.
In a third aspect, there is provided a ranging method in an optical communication network, the method being applied to the optical communication network or supporting a physical device implementing the ranging method in the optical communication network, for example, the physical device being a network device, the network device including a system on a chip or the like. The ranging method comprises the following steps: first, the second network device sends a registration authorization instruction to a plurality of downlink devices. The first network equipment receives a registration authorization instruction and determines a counting period of the second network equipment; wherein the first network device is any one of the plurality of downlink devices. Third, the first network device responds to the registration authorization instruction and sends a registration signal frame to the second network device; the time length of the registration signal frame matches the count period. Fourth, the second network device ranges the first network device according to the registration signal frame.
In this embodiment, since the first network device may generate the registration signal frame according to the counting period of the second network device, and the time length of the registration signal frame is matched with the foregoing counting period, when the second network device ranges the first network device according to the registration signal frame, there is no uplink delay jitter between the counting period of the second network device and the time length of the registration signal frame, so that the second network device does not need to open a silence window for the ranging process of the first network device, which avoids the influence on the traffic signal transmission of other network devices connected with the second network device, and reduces the overall transmission delay of the optical communication network.
In an alternative implementation, the time length of the registration signal frame matches the count period, including: the time length is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device. The maximum transmission delay is used for indicating the duration of the maximum transmission delay in a plurality of downlink devices connected with the second network device. Illustratively, the time length of the registration signal frame is the same as the aforementioned count period.
In another alternative implementation, the registration authorization command carries a count period of the second network device.
In yet another alternative implementation, the information pre-stored by the first network device includes a count period of the second network device.
As an alternative implementation manner, the second network device ranges the first network device according to the registration signal frame, including: the second network device compares the frame header of the registration signal frame with the counting period to obtain the distance between the first network device and the second network device.
In a fourth aspect, there is provided a ranging apparatus in an optical communication network, the ranging apparatus comprising respective modules for performing the ranging method of the first aspect or any implementation manner of the first aspect.
Illustratively, the ranging apparatus is applied to a first network device in an optical communication network, e.g. the ranging apparatus comprises: an acquisition unit and a processing unit. And the acquisition unit is used for receiving the registration authorization instruction of the second network equipment and determining the counting period of the second network equipment. The processing unit is used for responding to the registration authorization instruction and sending a registration signal frame to the second network equipment; wherein the time length of the registration signal frame matches the previously described count period.
When the ranging device is used to implement the method embodiments of any one of the above first aspect, the beneficial effects may be referred to the description of any one of the first aspect, which is not repeated herein. The distance measuring device has the function of implementing the actions in the method examples of any of the above-mentioned first aspects. The functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
In an alternative implementation, the time length of the registration signal frame matches the count period, including: the time length is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device. The maximum transmission delay is used for indicating the duration of maximum transmission delay in a plurality of downlink devices connected with the second network device. Illustratively, the registration time frame is the same length of time as the count period of the second network device.
In another alternative implementation, the registration authorization instruction carries a count period of the second network device. The acquisition unit is specifically configured to: and analyzing the registration authorization instruction to obtain the counting period of the second network equipment.
In yet another alternative implementation, the information pre-stored by the first network device includes a count period of the second network device. The acquisition unit is specifically configured to: the counting period of the second network device is acquired from the information pre-stored by the first network device.
In a fifth aspect, there is provided a ranging apparatus in another optical communication network, the ranging apparatus comprising respective modules for performing the ranging method of the second aspect or any implementation of the second aspect.
Illustratively, the ranging apparatus is applied to a second network device in an optical communication network, the ranging apparatus comprising: a transmitting unit, a receiving unit and a ranging unit. A transmitting unit, configured to transmit a registration authorization instruction to a plurality of downlink devices; a receiving unit, configured to receive a registration signal frame sent by a first network device, where the first network device is any one of multiple downlink devices, and a time length of the registration signal frame is matched with a counting period of a second network device; and the ranging unit is used for ranging the first network equipment according to the registration signal frame.
When the ranging device is used to implement the method embodiments of any of the second aspects, the beneficial effects may be referred to the description of any of the second aspects, which are not repeated here. The distance measuring device has the function of achieving the behaviour in the method example of any one of the second aspects described above. The functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
In an alternative implementation, the time length of the registration signal frame matches the count period, including: the time length is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device; the maximum transmission delay is used for indicating the duration of maximum transmission delay in a plurality of downlink devices connected with the second network device. Illustratively, the registration signal frame has a time length that is the same as the count period of the second network device.
In another alternative implementation, the registration authorization instruction carries a count period of the second network device.
In yet another alternative implementation, the information pre-stored by the first network device includes a count period of the second network device.
As one possible ranging mode, a ranging unit is specifically used for: and comparing the frame head of the registration signal frame with the counting period to obtain the distance between the first network equipment and the second network equipment.
In one possible scenario, the aforementioned ranging unit may be a signal processing module. The signal processing module is used for analyzing the registration signal frame to obtain a registration signal, and the second network equipment is used for ranging the first network equipment according to the registration signal.
In a first possible example, the second network device further comprises a photodetector and an analog-to-digital converter (ADC), and the signal processing module comprises an optical digital signal processing (optics digital signal processing, oDSP) unit. The photoelectric detector is used for converting the registration signal frame to obtain a first electric signal; the ADC processes the first electrical signal to obtain a first digital signal. The oDSP unit performs signal processing on the first digital signal to obtain a registration signal. The signal processing includes any one or a combination of several of the following: downsampling, low-pass filtering, signal enhancement, and feature extraction.
In a second possible example, the signal processing module comprises a parsing circuit. The parsing circuit is used for parsing the registration signal frame to obtain a registration signal.
For example, the parsing circuit includes: avalanche diode (avalanche photodiode, APD), current mirror and gain circuit, the current mirror is connected with APD, gain circuit respectively. The APD is used for converting the registration signal frame according to the bias voltage provided by the current mirror to obtain a first photocurrent; the current mirror is used for copying the first photocurrent according to a set proportion to obtain a second photocurrent; the gain circuit converts and gains the second photocurrent to obtain a registration signal.
The gain circuit may include one or more of a gain transimpedance amplifier (trans-impedance amplifier, TIA), limiting amplifier (clipping amplifier, LA), and the like, among others. The gain TIA is for converting the second photocurrent to obtain a voltage signal, and LA is for amplifying the voltage signal to obtain a registration signal.
For example, a current mirror replicates the photocurrent produced by an APD, producing a mirrored photocurrent. For example, 1/4 of the photocurrent generated from the APD is copied as the mirror photocurrent in a 4:1 copy ratio. The image photocurrent is converted into a voltage signal by the TIA with low speed and high gain, and the voltage signal is further amplified by LA. The purpose of TIA is to convert the weak mirrored photocurrent into a voltage signal, the pass gain is not too large in order to suppress noise. The purpose of LA is to achieve a two-stage amplification so that the output level of the voltage signal reaches the decision criteria of the media layer of the OLT, while providing the best sampling point for the clock and data recovery (clock and data recovery, CDR) function recovery decisions. In some cases, if the recovery performance requirement for the registration information is not high, only one stage of amplification may be employed, i.e., only TIA or LA may be employed. It will be appreciated that when the second network device is an OLT, the OLT may also include devices such as lasers, drivers (otherwise referred to as OLT optical PHYs), and wavelength division multiplexers.
For another example, the signal processing module further comprises an oDSP unit, the analysis circuit comprises an APD, a current mirror and a gain TIA, and the current mirror is respectively connected with the APD and the gain TIA. The APD is used for converting the registration signal frame according to the bias voltage provided by the current mirror to obtain a first photocurrent; the current mirror is used for copying the first photocurrent according to a set proportion to obtain a second photocurrent; the gain TIA is used for converting the second photocurrent to obtain a voltage signal; the oDSP unit is used for performing signal processing on the voltage signal to obtain a registration signal. The signal processing includes any one or a combination of several of the following: downsampling, low-pass filtering, signal enhancement, and feature extraction.
It is noted that the parsing circuit further includes a burst TIA, which is connected to the APD and oDSP units, respectively. The burst TIA is used for processing the first photocurrent to obtain a service signal sent by first network equipment; the oDSP unit is used for determining the service to be executed of the first network equipment according to the service signal. Further, the second network device executes the service to be executed determined by the oDSP unit.
In a sixth aspect, there is provided a ranging system in an optical communication network, the ranging system comprising: a first network device and a second network device. First, the second network device sends a registration authorization instruction to the plurality of downlink devices. Secondly, the first network equipment receives a registration authorization instruction and determines a counting period of the second network equipment; the first network device is any one of a plurality of downstream devices. Further, the first network device responds to the registration authorization instruction and sends a registration signal frame to the second network device; the time length of the registration signal frame matches the count period. Finally, the second network device ranges the first network device according to the registration signal frame.
When the ranging system is used to implement the method embodiments of any one of the first aspect to the third aspect, the beneficial effects may be referred to the description of the foregoing, and will not be repeated here. The ranging system has a function of realizing the behavior in the method example of any one of the above first to third aspects. Illustratively, the ranging system refers to an optical communication network comprising an OLT and a plurality of ONUs.
In a seventh aspect, there is provided a communication device comprising: a processor and an interface circuit. The interface circuit is used for receiving signals from other communication devices except the communication device and transmitting the signals to the processor or sending the signals from the processor to the other communication devices except the communication device. The processor and interface circuitry are configured to implement the method according to any of the implementations of the first aspect, or the method according to any of the implementations of the second aspect, or the method according to any of the implementations of the third aspect, by logic circuitry or executing code instructions.
The communication device may be the aforementioned first network device or the second network device, for example. For example, when the ranging system is a PON, the communication network may be an OLT or an ONU.
In an eighth aspect, there is provided a chip comprising: control circuitry and interface circuitry. The interface circuit is used for receiving signals from other chips outside the chip and transmitting the signals to the control circuit or sending the signals from the control circuit to the other chips outside the chip. The control circuitry and interface circuitry are configured to implement the method as described in any of the implementations of the first aspect, or the method as described in any of the implementations of the second aspect, or the method as described in any of the implementations of the third aspect, by logic circuitry or execution of code instructions.
The chip may be, for example, a processor comprised by the aforementioned first network device or a processor comprised by the second network device.
In a ninth aspect, a computer readable storage medium is provided, in which a computer program or instructions are stored which, when executed by a communication device, implement a method according to any one of the implementations of the first aspect, or a method according to any one of the implementations of the second aspect, or a method according to any one of the implementations of the third aspect.
In a tenth aspect, there is provided a computer program product for, when run on a computer, causing the computer to perform the method according to any one of the implementations of the first aspect, or the method according to any one of the implementations of the second aspect, or the method according to any one of the implementations of the third aspect.
Further combinations of the present application may be made to provide further implementations based on the implementations provided in the above aspects.
Drawings
Embodiments of the present application will be described in more detail below with reference to the attached drawing figures:
fig. 1 is a schematic structural diagram of an optical communication network according to the present application;
fig. 2 is a schematic structural diagram of a PON according to the present application;
fig. 3 is a schematic structural diagram of an ONU and an OLT provided in the present application;
fig. 4 is a schematic flow chart of a ranging method according to the present application;
fig. 5 is a second schematic flow chart of the ranging method according to the present application;
fig. 6 is a schematic structural diagram of an OLT according to the present application;
fig. 7 is a schematic structural diagram of an OLT according to the present application;
fig. 8 is a schematic structural diagram III of an OLT according to the present application;
fig. 9 is a schematic structural diagram of a ranging device according to the present application;
FIG. 10 is a schematic diagram of another ranging apparatus according to the present application;
fig. 11 is a schematic structural diagram of a communication device provided by the present application.
Detailed Description
For clarity and conciseness in the description of the embodiments below, a brief description of the related art will be given first.
Fig. 1 is a schematic structural diagram of an optical communication network according to the present application, which may also be referred to as an optical transmission network, and includes a plurality of network devices, one or more of which is used to connect with a terminal of a user (such as terminals 111 to 116 shown in fig. 1).
A terminal (terminal) may also be referred to as a terminal device, a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), etc.
In some embodiments, the terminals may be cell phones (terminal 111 and terminal 116 shown in fig. 1), tablet computers (terminal 112 shown in fig. 1), computers with wireless transceiving functions (terminal 113 shown in fig. 1), personal communication services (personal communication service, PCS) phones (terminal 114 shown in fig. 1), desktop computers (terminal 115 shown in fig. 1), virtual Reality (VR) terminal devices, augmented Reality (Augmented Reality, AR) terminal devices, wireless terminals in industrial control (industrial control), wireless terminals in unmanned (self driving), wireless terminals in teleoperation (remote medical surgery), wireless terminals in smart grid (smart grid), wireless terminals in transportation security (transportation safety), wireless terminals in smart city (smart city), wireless terminals in smart home (smart home), and the like.
In other embodiments, the terminal may also be a home gateway. The home gateway may be, for example, an optical network terminal (optical network terminal, ONT). By way of example, the network device 121 as shown in fig. 1 may be an optical network terminal. The optical network terminal can access the user equipment such as PC, mobile phone and the like to the Internet. The home gateway may transmit data for the following services: internet service (such as interactive network television service, which includes home gateway supporting video on demand, live broadcast service, remote education, etc.), online game service (such as game terminal developing game service through home gateway), internet protocol (internet protocol, IP) phone, video monitoring service, etc. As another example, the home gateway may also implement home control and security service management over a remote network. By way of example, a user owning a home gateway may access an automated lighting, heating and security system, etc., of an area covered by the home gateway during work or egress. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the terminal.
The network device may be a route forwarding device, for example, the route forwarding device may be a router or a switch, etc., which may be a Core Router (CR), an edge router (PE), etc. The network device may also be a broadband network gateway (broadband network gateway, BNG) or a broadband remote access server (Broadband Remote Access Server, BRAS), etc.
The terminal may access the server using the network device. For example, in the room shown in fig. 1, the first user may establish a communication connection with the network device 121 using wireless-broadband (WIFI) technology using the terminal 111, so that the terminal 111 transmits a data packet to the server 130. As another example, in a basketball court as shown in fig. 1, a second user may also utilize the terminal 116 to establish a communication connection with a radio access network device (radio access network, RAN) (not shown) using a sampled optical communication technology, and access the server 130.
The server 130 may be an application server or an authentication authorization server. The server 130 may provide video services, game services, message services, music services, authentication and authorization services, and the like. In one example, the functionality of multiple services may be integrated on the server 130, e.g., gaming services and music services may be deployed on the server 130. In another example, it may also be a function of integrating a part of the services on the server 130, for example, a part of the services of the game service and a part of the services of the video service are deployed on the server 130. Server 130 may also utilize virtualization technology to provide multiple virtual machines, with each service provided by a virtual machine. The embodiment of the application does not limit the deployment form of the service.
The network device is connected to the server 130 by wireless or wired means. Fig. 1 is only a schematic diagram, and other devices may be included in the optical communication network, which are not shown in fig. 1. The embodiments of the present application do not limit the number of terminal devices, network devices, and servers included in the optical communication network.
The application can be applied to the scenes such as PON, passive Optical LAN (POL), industrial optical network, vehicle-mounted optical network, internet of things and the like. Illustratively, the light emitting device (such as the network device 121) may be located in the home of the user or the corridor of the user, and the light receiving device (such as the network device 122) may be located in the room of the operator in the PON scenario. The light emitting device and the light receiving device in the POL scenario may be located in a campus (e.g., enterprise, campus, etc.). The light emitting device and the light receiving device in an industrial light network scenario may be located in an industrial manufacturing plant. The light emitting device and the light receiving device in the in-vehicle optical network scene may be provided in a vehicle. As an example, in a PON scenario, the network device 121 may be an optical network unit (optical network unit, ONU) or an ONT, and the network device 122 may be an OLT. In an on-board optical network scenario, the light emitting device may be a vehicle interface unit (vehicle interface unit, VIU) and the light receiving device is a Mobile Data Center (MDC), a driving dynamics control (vehicle dynamic control, VDC) or a cabin data center (cockpit data center, CDC). The technical scheme provided by the application can be also suitable for optical backbone transmission network, data center optical transmission, short-distance optical interconnection, wireless service forwarding/returning and the like. Specifically, the technical scheme provided by the application can be used for the light emitting device and/or the light receiving device corresponding to different networks.
Taking PON as an example for illustration, the embodiment of the present application may be applied to a time division multiplexing passive optical network (time division multiple-passive optical network, TDM-PON) and may also be applied to a wavelength division multiplexing passive optical network (WDM-PON). Fig. 2 is a schematic structural diagram of a PON according to the present application. As shown in fig. 2, a plurality of ONUs (e.g., ONUs 211-214 in fig. 2) communicate with OLT 220 through splitter 230.
For example, the signal frames that ONU211 to ONU 214 respectively transmit upstream to OLT 220 are signal t1, signal t2, signal t3, and signal t4. After OLT 220 receives the signal sent by the ONU, it performs the service or operation indicated by the signal, such as registration, ranging, etc. for the ONU.
As a possible implementation manner, the hardware implementation of the ONU and OLT shown in fig. 2 may be in a manner provided in fig. 3, fig. 3 is a schematic structural diagram of the ONU and OLT provided in the present application, where ONU310 may be any one of ONU211 to ONU 214 shown in fig. 2, and OLT320 may be OLT 220 shown in fig. 2.
As shown in fig. 3, ONU310 includes: ONU medium access control (media access control, MAC) 311, ONU optical physical layer (PHY) 312, laser 313 and photodetector 314. In the transmit direction, ONU MAC 311 may control the turning on and off of laser 313 through a transmit enable port (tx_en, also known as a switch pin). For example, if currently in the light emission time slot of ONU310 (or referred to as the occupied time slot), ONU MAC 311 is turned on by the transmission enable port control laser 313, and if not in the light emission time slot of ONU310, ONU MAC 311 is turned off by the transmission enable port control laser 313. ONU MAC 311 can also adjust physical parameters of laser 313, such as laser bias current and modulation current, etc., through the transmit control port (tx_ctr). ONU MAC 311 may send traffic Data to ONU optical PHY 312 via a Data port (Data), and ONU optical PHY 312 transparently transmits the traffic Data. The ONU optical PHY 312 is also called a driver of the laser 313, and is configured to drive the laser to generate an optical signal according to an instruction of the ONU MAC 311 emission enabling port and/or emission control port. The laser 313 modulates the service data into an optical signal under the control of the ONU optical PHY 312, and transmits an uplink optical signal carrying the service data to the OLT320 through an optical fiber. In the reception direction, the photodetector 314 receives the downstream optical signal from the OLT320 and converts the downstream optical signal into an electrical signal. The ONU optical PHY 312 performs transparent transmission on the electrical signal, and the ONU MAC 311 parses the electrical signal to obtain service data. ONU310 may further comprise a wavelength division multiplexer 315 for transmitting the upstream optical signal generated by laser 313 into an optical fiber and transmitting the downstream optical signal received from the optical fiber to a photodetector 314.
OLT 320 may include OLT MAC 321, signal processing module 322, OLT optical PHY323, photodetector 324, and laser 325. In the receiving direction, photodetector 324 receives the upstream optical signal from ONU 310 and converts the upstream optical signal into an electrical signal. The electrical signal may be an analog electrical signal, or a digital electrical signal. The signal processing module 322 may be implemented using an analog device (e.g., an amplifier) or a digital device (e.g., a digital signal processor), and thus, the signal processing module 322 may perform analog correlation processing or digital electrical signal processing. The OLT MAC 321 parses the electrical signal that passes through the signal processing module 322 to obtain service data. In the transmission direction, the OLT MAC 321 generates service data, and the signal processing module 322 performs analog or digital correlation processing on the service data. The laser 325 modulates traffic data into an optical signal under the control of the OLT optical PHY323 and transmits a downstream optical signal carrying the traffic data to the ONU 310 through an optical fiber. OLT 320 may also include a wavelength-division multiplexer 326 that transmits downstream optical signals generated by laser 325 into the optical fiber and transmits upstream optical signals received from the optical fiber to photodetector 324.
The OLT periodically issues a registration grant instruction for instructing an ONU that is not online to register, measure the distance, and the like. Fig. 4 is a schematic flow chart of a ranging method according to the present application, wherein an OLT may be called an optical receiving device, a second network device, etc., and ONUs 1 to 4 are all downstream (network) devices of the OLT, for example, ONU 1 may be called an optical transmitting device, a first network device, etc.
As shown in fig. 4, the ranging method provided in the present embodiment includes the following steps S410 to S430.
And S410, the OLT sends a registration authorization instruction to the plurality of downlink devices.
Corresponding to S410: the first network device receives a registration authorization instruction, and the first network device is any one of a plurality of downlink devices. Such as the first network device refers to ONU 1 in fig. 4.
Illustratively, the OLT issues a registration grant instruction according to a count period, e.g., the registration grant instruction is a low-frequency windowing signal. The registration grant instruction may be used to trigger the ONU to initiate various procedures, such as a registration procedure, a ranging procedure, etc.
For example, the registration procedure refers to the OLT logging in a user of the optical communication network with the ONU, and the ranging procedure refers to the OLT measuring a logical distance between the ONU and the OLT, where the logical distance is associated with a transmission delay between the ONU and the OLT.
S420, ONU 1 responds to the registration authorization instruction and sends a registration signal frame to the OLT.
After ONU 1 receives the registration grant instruction, ONU 1 may configure ONU 1 to a low frequency low power registration mode according to the registration grant instruction, where the low frequency low power registration mode is used to instruct generation of a registration signal frame. The registration signal corresponding to the registration signal frame is a low-frequency low-power signal, for example, the frequency of the registration signal is lower than a first threshold value, and the (optical) power is lower than a second threshold value. The registration signal frame may propagate through an optical fiber or other optical transmission medium between the OLT and the ONU 1.
In this embodiment, the time length of the registration signal frame matches the count period. The counting period of the OLT is used to indicate the length of the ONU registration signal frame, so that the ONU sends the registration signal frame according to the agreed length, which is convenient for the OLT to analyze and identify.
As a possible implementation manner, the time length of the registration signal frame matches the counting period, which may include the following: the time length of the registration signal frame is a positive integer multiple of the counting period, and the time length of the registration signal frame is greater than or equal to the maximum transmission delay of the OLT. The maximum transmission delay is used to indicate a duration of maximum transmission delay among a plurality of downstream devices connected to the OLT, such as 50 milliseconds (ms), 100 microseconds (μs), and the like.
Because the time length of the registration signal frame is greater than or equal to the maximum transmission delay of the second network device, the problem that only one registration signal frame can be correctly received by the second network device and other registration signal frames can be recognized as invalid signals (such as noise) by the second network device due to the fact that the second network device receives a plurality of registration signal frames sent by a plurality of downlink devices in the maximum transmission delay in the signal transmission process of the optical communication network is avoided, and the accuracy of registration, ranging and the like of the plurality of downlink devices in the optical communication network by the second network device is improved.
In addition, because the time length of the registration signal frame is a positive integer multiple of the counting period of the OLT, the counting periods of the registration signal frame and the OLT are aligned in the time dimension in the signal processing process of the OLT, the OLT does not need to open a silence window, and there is no uplink delay jitter between the counting period of the OLT and the time length of the registration signal frame, so that the OLT does not need to open the silence window for the ranging process of the ONU, thereby avoiding the influence on the transmission of service signals of other network devices (such as ONU 2 to ONU 4) connected with the OLT, and reducing the overall transmission delay of the optical communication network.
As a possible example, the length of time of the registration signal frame sent by ONU 1 is the same as the count period of the OLT.
Because the time length of the registration signal frame is the same as the counting period of the OLT, the registration signal frame of the ONU is always consistent with the counting period of the OLT in the ONU ranging process of the optical communication network, the OLT does not need to align the registration signal frame of the ONU with the counting period of the OLT, the frame alignment process required by the OLT for ranging the ONU is reduced, and the ranging efficiency of the OLT is improved.
ONU 1 may also determine the count period of the OLT before ONU 1 generates and transmits the registration signal frame. Illustratively, the ONU 1 obtaining the count period of the OLT may be implemented by the following two possible scenarios.
In a first possible scenario, the registration grant instruction sent by the OLT in S410 carries the count period of the OLT. Thus, ONU 1 can parse the registration grant instruction and obtain the count period of the OLT.
In this embodiment, the ONU 1 determines the counting period of the OLT according to the registration grant instruction, so that the ONU 1 can generate a registration signal frame with a time length that matches the counting period of the OLT, thereby avoiding uplink delay jitter between the counting period of the OLT and the time length of the registration signal frame, and reducing the overall transmission delay of the optical communication network.
In a second possible scenario, the pre-stored information of ONU1 comprises the counting period of the OLT. Thus, the ONU1 can acquire the count period of the OLT from the information stored in advance.
In the optical communication network provided in this embodiment, the ONU1 does not need to determine the counting period of the OLT after receiving the registration grant command, so that the amount of information carried by the registration grant command is reduced, the transmission delay of the registration grant command is reduced, and the ranging efficiency of the ONU1 is improved. In addition, the ONU1 can determine the counting period of the OLT from the pre-stored information, so that the problem that the counting period of the OLT is not matched with the registration signal frame caused by packet loss carried by the registration authorization instruction, so that the OLT opens a silence window for the ranging process of the ONU1, and further, the service signal transmission of other network equipment connected with the OLT in the optical communication network is influenced is avoided, and the overall transmission delay of the optical communication network is reduced.
It should be noted that the above two ways of determining the count period of the OLT by the ONU1 are only examples provided in this embodiment, and should not be construed as limiting the present application. In other possible scenarios, the ONU1 may also determine the count period of the OLT in other ways, such as ONU1 communicating with a database in which the count period of the OLT is stored, etc.
And S430, the OLT measures the distance of the ONU 1 according to the registration signal frame.
In combination with the ranging method shown in fig. 4, in this embodiment, because the ONU may generate the registration signal frame according to the counting period of the OLT, and the time length of the registration signal frame is matched with the foregoing counting period, when the OLT ranges the ONU according to the registration signal frame, there is no uplink delay jitter between the counting period of the OLT and the time length of the registration signal frame, so that the OLT does not need to open a silence window (zero-window) for the ranging process of the ONU, which avoids that the traffic signal transmission of other network devices connected to the OLT (such as ONUs 2 to 4 shown in fig. 4) is affected, that is, the zero-window registration ranging of the OLT is implemented, and the overall transmission delay of the optical communication network is reduced.
As an alternative implementation manner, the process of the OLT ranging the ONU 1 according to the registration signal frame may include the following steps: the OLT compares the frame head of the registration signal frame with the counting period to obtain the distance between the ONU 1 and the OLT; the distance refers to a logical distance or a physical distance (such as 200 meters, 1 km, or others) between the ONU 1 and the OLT.
As shown in fig. 5, fig. 5 is a second flowchart of the ranging method provided by the present application, and the step S430 may include the following step S510.
S510, the OLT compares the frame header of the registration signal frame with the counting period of the OLT to obtain the distance between the OLT and the ONU 1.
As a possible implementation, the OLT may process the registration signal frame with each device and unit included in the OLT to obtain the distance between the OLT and the ONU 1. As shown in fig. 3, the signal processing module 322 may restore the registration signal frame to a low frequency low power registration signal, and upload the low frequency low power registration signal to the OLT MAC 321, where the OLT MAC 321 parses the low frequency low power registration signal (electrical signal) passing through the signal processing module 322 to obtain service data (e.g., the service data includes registration information and ranging information), or perform operations (e.g., registration, ranging) corresponding to the low frequency low power registration signal. The flow of the OLT processing other signals may refer to the related description of fig. 3, which is not repeated here.
In a first possible implementation, the signal processing module 322 may be implemented by a software unit. On the basis of fig. 3, a software unit implementation manner of the signal processing module 322 is given, as shown in fig. 6, fig. 6 is a schematic diagram of a first OLT structure provided in the present application, and the OLT 320 includes an OLT MAC 321, an ods unit 322A, ADC 327 and a photodetector 324. The content of the OLT MAC 321 and the photo detector 324 may refer to the relevant content of fig. 3, which is not described herein.
By way of example, the signal processing module 322 of fig. 3 may include the ods unit 322A shown in fig. 6, which ods unit 322A may include a combination of one or more of the following components: a downsampling component, a low-pass filtering component, a signal enhancement component, and a feature extraction component.
The ADC 327 is used for processing the electric signal corresponding to the registration signal frame from the analog signal to the digital signal; the oDSP unit 322A may be used to process digital signals to obtain registration signals as required by the present embodiment.
The procedure of the OLT processing the registration signal frame will be described with reference to the configuration of the OLT shown in fig. 6: first, the photodetector 324 converts the registration signal frame to obtain a first electric signal (analog signal); next, ADC 327 processes the first electrical signal to obtain a first digital signal; finally, the oDSP unit 322A performs signal processing on the first digital signal to obtain a registration signal. The foregoing signal processing procedure may include any one or a combination of the following: downsampling, low-pass filtering, signal enhancement, feature extraction, etc.
In addition, the oDSP unit 322A may perform software analysis on the traffic signals of other ONUs, so that the OLT MAC321 may perform operations corresponding to the traffic signals, such as data transceiving, reading and writing, and the like.
Notably, the oDSP unit 322A is a software unit implemented depending on the hardware architecture of a typical OLT, and in some alternative chips, the chip on which the computer instructions (or programs) corresponding to the oDSP unit 322A are disposed in the OLT may also be referred to as an oDSP chip. That is, since the oDSP unit 322A does not need to rely on newly added hardware in the OLT, network devices in the optical communication network do not need to be modified (such as newly added hardware circuits, etc.), and the hardware deployment cost of the optical communication network is reduced. In addition, the oDSP unit 322A can analyze the service signals of other ONUs on the basis of analyzing the registration signal frame of the new ONU, so that the transmission delay of the service signals caused by opening the silence window by the OLT is avoided.
In addition, when the oDSP unit 322A includes a signal enhancement component, the oDSP unit 322A can also enhance the digital signal obtained by the ADC 327, so that when the optical power of the registration signal frame is smaller, the oDSP unit 322A can also enhance the digital signal, so that the enhanced registration signal meets the input requirement of the OLT MAC 321, the identification effect of the OLT on the registration signal frame with smaller optical power is improved, and the accuracy of the OLT ranging is improved.
In a second possible implementation, the signal processing module 322 may be implemented by a hardware circuit. On the basis of fig. 3, a hardware circuit implementation manner of the signal processing module 322 is given, as shown in fig. 7, fig. 7 is a schematic diagram of a second structure of the OLT provided in the present application, where the signal processing module 322 may include an parsing circuit 322B and a service signal processing module 322C. The traffic signal processing module 322C may be configured to process traffic signals of other ONUs that do not need to be registered in communication with the OLT.
Illustratively, the resolution circuit 322B includes an APD 322B1, a current mirror 322B2, a gain TIA 322B3, a LA 322B4, and a burst TIA 322B5.APD 322B1 is connected to wavelength division multiplexer 326, current mirror 322B2, and burst TIA 322B5, respectively, and gain TIA 322B3 is connected to current mirrors 322B2, LA 322B4, respectively, where the output of LA 322B4 is the registration signal.
As a possible registration signal extraction procedure, the following steps may be included:
first, APD 322B1 detects a registration signal frame received by wavelength division multiplexer 326, and obtains a first photocurrent corresponding to the registration signal frame. Wherein the bias voltage for APD 322B1 may be provided by current mirror 322B2, e.g., 20V-40V bias voltage.
Next, the current mirror 322B2 copies (or copies) the first photocurrent at a set ratio to obtain a second photocurrent. Illustratively, APD 322B1 photoelectrically converts the received optical signal (registration signal frame) to obtain an electrical signal. In this embodiment, description will be made taking an example in which the electric signal includes a registration signal and a service signal: the electrical signal including the registration signal and the traffic signal is duplicated by the current mirror 322B2 to obtain two electrical signals. One of the electrical signals is output by APD 322B1 for extracting the traffic data. The electrical signal for extracting the service data passes through the burst TIA 322B5 and the service signal processing module 322C, and then enters the OLT MAC 321 for data analysis. The other path of electrical signal copied by the current mirror 322B2 is used to extract registration information. The electrical signal for extracting the registration information passes through the current mirror 322B2, the gain TIA 322B3, and then the OLT MAC 321 may perform processes such as extraction or ranging of the registration signal by the OLT MAC 321.
Finally, the second photocurrent is converted and gain processed by a gain circuit comprising gains TIA 322B3 and LA 322B4 to obtain a registration signal. Illustratively, the gain TIA 322B3 converts the second photocurrent to a voltage signal, and the voltage signal is amplified by LA 322B4 to obtain the registration signal.
In this embodiment, the OLT does not use the oddsp unit, but uses an analysis circuit to analyze the registration signal frame to obtain a registration signal and a service signal corresponding to the ONU, so as to obtain the registration signal of the ONU by the OLT, and further, the OLT MAC completes the ranging procedure of the ONU, thereby avoiding the problem that the OLT cannot receive the registration signal frame of the ONU in the optical communication network due to erasure of a computer instruction corresponding to the oddsp unit, and increasing the robustness of OLT ranging in the optical communication network.
In a third possible implementation manner, the signal processing module 322 may be implemented by a hardware circuit+a software unit. On the basis of fig. 3, an implementation manner of a hardware circuit and a software unit of the signal processing module 322 is given, as shown in fig. 8, fig. 8 is a schematic diagram of a structure of the OLT provided in the present application, where the signal processing module 322 may include a parsing circuit 322B and an oDSP unit 322A, and the components included in the oDSP unit 322A may refer to the related description of fig. 6, which is not repeated herein.
As shown in fig. 8, the parsing circuit 322B may include: APD 322B1, current mirror 322B2, gain TIA 322B3, and burst TIA 322B5.APD 322B1 is coupled to wavelength division multiplexer 326, current mirror 322B2, and burst TIA 322B5, respectively, and gain TIA 322B3 is coupled to current mirror 322B2, ods unit 322A, respectively, the output of ods unit 322A may include at least one of a traffic signal and a registration signal.
First, APD 322B1 detects a registration signal frame received by wavelength division multiplexer 326, and obtains a first photocurrent corresponding to the registration signal frame. Wherein the bias voltage for APD 322B1 may be provided by current mirror 322B 2.
Next, the current mirror 322B2 copies (or copies) the first photocurrent at a set ratio to obtain a second photocurrent.
The gain TIA 322B3 then converts the second photocurrent to a voltage signal that is input to the ods unit 322A.
Finally, the voltage signal obtained by the gain TIA 322B3 is signal-processed by the oDSP unit 322A to obtain a registration signal of the ONU. The signal processing process may include any one or a combination of the following: downsampling, low-pass filtering, signal
In the oDSP unit 322A shown in FIG. 8, the service signal and the registration signal can be processed through parallel oDSP branches, so that the processes of ONU registration and ranging failure caused by incapability of processing the registration signal by the OLT MAC 321 due to transmission of the service signal are avoided, and the robustness of ranging in the optical communication network is improved.
In addition, because the oDSP unit can amplify (gain) the registration signal, when the optical power of the registration signal is lower, the OLT MAC can register and range the ONU according to the amplified registration signal, thereby reducing the performance influence of the service signal on the low-frequency low-power registration signal and improving the performance of the OLT for receiving the registration signal of the ONU.
Fig. 8 and 7 are common in that the splitting of the traffic signal and the registration signal is completed by the parsing circuit included in each OLT; the difference between fig. 8 and fig. 7 is that the OLT shown in fig. 8 employs an oDSP unit instead of the traffic signal processing module 322C. Both registration information and traffic data are processed by the oDSP unit 322A and then enter the OLT MAC 321 for processing.
In combination with the contents of fig. 7 and fig. 8, the burst TIA 322B5 may process the foregoing first photocurrent to obtain a service signal sent by an ONU (or a service signal sent by another ONU), and further, the dsp unit 322A determines a service to be executed by the ONU according to the service signal, and the OLT MAC 321 executes the service to be executed, which avoids a process that when the OLT performs ranging of the ONU, the OLT opens a silence window to cause that the service signal of another ONU cannot be processed, and reduces a service signal processing delay of the OLT.
It will be appreciated that, in order to implement the functions in the above embodiments, the network devices (such as the OLT and the ONU) include corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application scenario and design constraints imposed on the solution.
Fig. 9 is a schematic structural diagram of a ranging apparatus provided by the present application, where the ranging apparatus 900 may be used to implement the functions of the ONU in the foregoing method embodiment, so that the beneficial effects of the foregoing ranging method embodiment may also be implemented. In the embodiment of the present application, the ranging apparatus 900 may be the network device 121 shown in fig. 1, or any terminal, or any ONU shown in other figures, or a module (such as a chip) applied to the ONU.
As shown in fig. 9, the distance measuring device 900 includes: an acquisition unit 910 and a processing unit 920. The ranging device 900 is used to implement the functions of the ONU in fig. 4, 6 to 8.
When the ranging apparatus 900 is used to implement the method embodiment shown in fig. 4, the acquisition unit 910 is used to perform S410, and the processing unit 920 is used to perform S420. Illustratively, the acquiring unit 910 is configured to receive a registration authorization instruction of a second network device, and determine a count period of the second network device. A processing unit 920, configured to send a registration signal frame to the second network device in response to the aforementioned registration grant instruction; wherein the time length of the registration signal frame matches the previously described count period.
In an alternative implementation, the time length of the registration signal frame matches the count period, including: the time length is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device. The maximum transmission delay is used for indicating the duration of maximum transmission delay in a plurality of downlink devices connected with the second network device. Illustratively, the registration time frame is the same length of time as the count period of the second network device.
In another alternative implementation, the registration authorization instruction carries a count period of the second network device. The acquisition unit is specifically configured to: and analyzing the registration authorization instruction to obtain the counting period of the second network equipment.
In yet another alternative implementation, the information pre-stored by the first network device includes a count period of the second network device. The acquisition unit is specifically configured to: the counting period of the second network device is acquired from the information pre-stored by the first network device.
The more detailed descriptions of the acquiring unit 910 and the processing unit 920 may be directly obtained by referring to the related descriptions in the method embodiments shown in the foregoing drawings, which are not repeated herein.
Fig. 10 is a schematic structural diagram of another ranging apparatus provided by the present application, where the ranging apparatus 1000 may be used to implement the OLT function in the foregoing method embodiment, so that the beneficial effects of the foregoing ranging method embodiment may also be implemented. In the embodiment of the present application, the ranging device 900 may be the network device 122 shown in fig. 1, or any terminal, or any OLT shown in other figures, or a module (such as a chip) applied to the OLT.
As shown in fig. 10, the distance measuring device 1000 includes: a transmitting unit 1010, a receiving unit 1020, and a ranging unit 1030. The ranging apparatus 1000 is used to implement the functions of the OLT in fig. 4 to 8 described above.
When the ranging apparatus 1000 is used to implement the method embodiment shown in fig. 4, the transmitting unit 1010 is used to perform S410, the receiving unit 1020 is used to perform S420, and the ranging unit 1030 is used to perform S430. Illustratively, a transmitting unit 1010, configured to transmit a registration authorization instruction to a plurality of downlink devices; a receiving unit 1020, configured to receive a registration signal frame sent by a first network device, where the first network device is any one of multiple downlink devices, and a time length of the registration signal frame is matched with a counting period of a second network device; and a ranging unit 1030 configured to range the first network device according to the registration signal frame.
The ranging unit 1030 is used to perform S510 when the ranging apparatus 1000 is used to implement the method embodiment shown in fig. 5.
In an alternative implementation, the time length of the registration signal frame matches the count period, including: the time length is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device; the maximum transmission delay is used for indicating the duration of maximum transmission delay in a plurality of downlink devices connected with the second network device. Illustratively, the registration signal frame has a time length that is the same as the count period of the second network device.
In another alternative implementation, the registration authorization instruction carries a count period of the second network device.
In yet another alternative implementation, the information pre-stored by the first network device includes a count period of the second network device.
As one possible ranging mode, a ranging unit is specifically used for: and comparing the frame head of the registration signal frame with the counting period to obtain the distance between the first network equipment and the second network equipment.
The more detailed descriptions of the transmitting unit 1010, the receiving unit 1020 and the ranging unit 1030 may be directly obtained by referring to the related descriptions in the method embodiments shown in the previous drawings, and are not repeated herein.
It should be noted that, when the ranging unit 1030 is configured to process the registration signal frame, the ranging unit 1030 may be the signal processing module 322 shown in fig. 3, and the implementation of the signal processing module 322 may be described with reference to fig. 6 to 8, which is not repeated herein.
When the ranging device implements the ranging method shown in any of the foregoing drawings through software, the ranging device and its respective units may also be software modules. And calling the software module through the processor to realize the distance measuring method. The processor may be a central processing unit (central processing unit, CPU), an application-specific integrated circuit (ASIC) implementation, or a programmable logic device (programmable logic device, PLD), which may be a complex program logic device (complex programmable logical device, CPLD), a field programmable gate array (field programmable gate array, FPGA), general array logic (generic array logic, GAL), or any combination thereof.
For more detailed description of the distance measuring device, reference may be made to the related description in the embodiment shown in the foregoing drawings, which is not repeated here. It will be appreciated that the ranging apparatus shown in the foregoing drawings is merely an example provided in this embodiment, and that different ranging apparatuses may include more or fewer units according to ranging procedures or services, and the present application is not limited thereto.
When the ranging device is implemented by hardware, the hardware may be implemented by a processor or a chip. The chip includes an interface circuit and a control circuit. The interface circuit is used for receiving data from other devices outside the processor and transmitting the data to the control circuit or sending the data from the control circuit to the other devices outside the processor.
The control circuitry and interface circuitry are operable to implement the methods of any of the possible implementations of the above embodiments by logic circuitry or executing code instructions. The advantages may be seen from the description of any of the above embodiments, and are not repeated here.
It is to be appreciated that the processor in embodiments of the application may be a CPU, a neural processor (neural processing unit, NPU) or a graphics processor (graphic processing unit, GPU), but may also be other general purpose processors, digital signal processors (digital signal processor, DSP), ASICs, FPGAs or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general purpose processor may be a microprocessor, but in the alternative, it may be any conventional processor.
In addition, the ranging apparatus 900 shown in fig. 9 and the ranging apparatus 1000 shown in fig. 10 may also be implemented by a communication device, as shown in fig. 11, fig. 11 is a schematic structural diagram of a communication device provided in the present application, and the communication device 1100 includes: the ranging method provided by the above embodiment may be implemented by the processor 1120 and the memory 1110 and at least one processor 1120, where the memory 1110 is used to store software instructions corresponding to the ranging method. As an alternative implementation, the communication device 1100 may refer to a chip or system of chips packaged with one or more processors 1120, on a hardware implementation. Illustratively, when the communication device 1100 is used to implement the method steps of the above-described embodiments, the communication device 1100 includes a processor 1120 to perform the steps of the above-described methods and possible sub-steps thereof. In an alternative scenario, the communication device 1100 may also include a communication interface 1130, which communication interface 1130 may be used to transmit and receive data. For example, the communication interface 1130 is configured to receive a registration signal frame, or transmit a registration signal frame, or the like; the communication interface 1130 may be implemented by interface circuitry included in the communication device 1100.
In an embodiment of the present application, the communication interface 1130, the processor 1120, and the memory 1110 may be connected by a bus 1140, where the bus 1140 may be divided into an address bus, a data bus, a control bus, and the like.
It should be noted that the communication device 1100 may also perform the functions of the ranging apparatus 900 shown in fig. 9 or the ranging apparatus 1000 shown in fig. 10, which are not described herein.
The communication device 1100 provided by the present embodiment may be an OLT, an ONU, or other communication devices having a data processing function, which is not limited by the present application. For example, the communication device 1100 may be any of the aforementioned network devices, such as ONU 310 and OLT 320.
The method steps of embodiments of the present application may also be implemented by way of a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in random access memory (random access memory, RAM), flash memory, read-only memory (ROM), programmable ROM (PROM), erasable Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. In addition, the ASIC may reside in a network device or terminal device. The processor and the storage medium may reside as discrete components in a network device or terminal device.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a network device, a user device, or other programmable apparatus. The computer program or instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer program or instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired or wireless means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The usable medium may be a magnetic medium, e.g., floppy disk, hard disk, tape; optical media, such as digital video discs (digital video disc, DVD); but also semiconductor media such as solid state disks (solid state drive, SSD).
In various embodiments of the application, where no special description or logic conflict exists, terms and/or descriptions between the various embodiments are consistent and may reference each other, and features of the various embodiments may be combined to form new embodiments based on their inherent logic. The various numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application. The sequence number of each process does not mean the sequence of the execution sequence, and the execution sequence of each process should be determined according to the function and the internal logic.

Claims (33)

1. A ranging method in an optical communication network, the method comprising:
the method comprises the steps that first network equipment receives a registration authorization instruction of second network equipment and determines a counting period of the second network equipment;
the first network equipment responds to the registration authorization instruction and sends a registration signal frame to the second network equipment; the time length of the registration signal frame is matched with the counting period.
2. The method of claim 1, wherein the time length of the registration signal frame matches the count period, comprising: the time length is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device; and the maximum transmission delay is used for indicating the duration of the maximum transmission delay in a plurality of downlink devices connected with the second network device.
3. The method of claim 2, wherein the length of time is the same as the count period.
4. A method according to any one of claims 1 to 3, wherein the registration authority instruction carries a count period of the second network device, and wherein the first network device determines the count period of the second network device, comprising:
and the first network equipment analyzes the registration authorization instruction to obtain the counting period of the second network equipment.
5. A method according to any of claims 1 to 3, wherein the pre-stored information of the first network device comprises a count period of the second network device, the first network device determining the count period of the second network device comprising:
the first network device acquires a counting period of the second network device from pre-stored information.
6. A ranging method in an optical communication network, the method comprising:
the second network device sends a registration authorization instruction to a plurality of downlink devices;
the second network device receives a registration signal frame sent by a first network device, wherein the first network device is any one of the plurality of downlink devices, and the time length of the registration signal frame is matched with the counting period of the second network device;
And the second network equipment measures the distance of the first network equipment according to the registration signal frame.
7. The method of claim 6, wherein the time length of the registration signal frame matches the count period, comprising: the time length is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device; and the maximum transmission delay is used for indicating the duration of the maximum transmission delay in a plurality of downlink devices connected with the second network device.
8. The method of claim 7, wherein the length of time is the same as the count period.
9. The method according to any of claims 6 to 8, wherein the registration grant instruction carries a count period of the second network device.
10. The method according to any of claims 6 to 8, wherein the information pre-stored by the first network device comprises a count period of the second network device.
11. The method according to any of claims 6 to 10, wherein the second network device ranging the first network device according to the registration signal frame, comprising:
And the second network equipment compares the frame header of the registration signal frame with the counting period to obtain the distance between the first network equipment and the second network equipment.
12. A ranging method in an optical communication network, the method comprising:
the second network device sends a registration authorization instruction to a plurality of downlink devices;
the first network equipment receives the registration authorization instruction and determines the counting period of the second network equipment; the first network device is any one of the plurality of downlink devices;
the first network equipment responds to the registration authorization instruction and sends a registration signal frame to the second network equipment; the time length of the registration signal frame is matched with the counting period;
and the second network equipment measures the distance of the first network equipment according to the registration signal frame.
13. The method of claim 12, wherein the time length of the registration signal frame matches the count period, comprising: the time length is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device; and the maximum transmission delay is used for indicating the duration of the maximum transmission delay in a plurality of downlink devices connected with the second network device.
14. The method of claim 13, wherein the length of time is the same as the count period.
15. The method according to any of claims 12 to 14, wherein the registration grant instruction carries a count period of the second network device.
16. The method according to any of claims 12 to 14, wherein the information pre-stored by the first network device comprises a count period of the second network device.
17. The method according to any one of claims 12 to 16, wherein the second network device ranging the first network device according to the registration signal frame, comprising:
and the second network equipment compares the frame header of the registration signal frame with the counting period to obtain the distance between the first network equipment and the second network equipment.
18. A ranging apparatus in an optical communication network, the apparatus being applied to a first network device, the apparatus comprising:
an acquisition unit, configured to receive a registration authorization instruction of a second network device, and determine a count period of the second network device;
A processing unit, configured to send a registration signal frame to the second network device in response to the registration authorization instruction; the time length of the registration signal frame is matched with the counting period.
19. The apparatus of claim 18, wherein the time length of the registration signal frame matches the count period, comprising: the time length is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device; and the maximum transmission delay is used for indicating the duration of the maximum transmission delay in a plurality of downlink devices connected with the second network device.
20. The apparatus of claim 19, wherein the length of time is the same as the count period.
21. The apparatus according to any one of claims 18 to 20, wherein the registration grant instruction carries a count period of the second network device;
the acquisition unit is specifically configured to: and analyzing the registration authorization instruction to obtain the counting period of the second network equipment.
22. The apparatus according to any one of claims 18 to 20, wherein the information pre-stored by the first network device comprises a count period of the second network device;
The acquisition unit is specifically configured to: and acquiring the counting period of the second network equipment from the information prestored by the first network equipment.
23. A ranging apparatus in an optical communication network, the apparatus being applied to a second network device, comprising:
a transmitting unit, configured to transmit a registration authorization instruction to a plurality of downlink devices;
a receiving unit, configured to receive a registration signal frame sent by a first network device, where the first network device is any one of the plurality of downlink devices, and a time length of the registration signal frame is matched with a counting period of the second network device;
and the ranging unit is used for ranging the first network equipment according to the registration signal frame.
24. The apparatus of claim 23, wherein the time length of the registration signal frame matches the count period, comprising: the time length is a positive integer multiple of the counting period, and the time length is greater than or equal to the maximum transmission delay of the second network device; and the maximum transmission delay is used for indicating the duration of the maximum transmission delay in a plurality of downlink devices connected with the second network device.
25. The apparatus of claim 24, wherein the length of time is the same as the count period.
26. The apparatus according to any of claims 23 to 25, wherein the registration grant instruction carries a count period of the second network device.
27. The apparatus according to any one of claims 23 to 25, wherein the information pre-stored by the first network device comprises a count period of the second network device.
28. The apparatus according to any one of claims 23 to 27, wherein the ranging unit is specifically configured to: and comparing the frame header of the registration signal frame with the counting period to obtain the distance between the first network equipment and the second network equipment.
29. A ranging system in an optical communication network, the ranging system comprising: a first network device and a second network device;
the second network equipment sends a registration authorization instruction to a plurality of downlink equipment;
the first network device receives the registration authorization instruction and determines a counting period of the second network device; the first network device is any one of the plurality of downlink devices;
The first network equipment responds to the registration authorization instruction and sends a registration signal frame to the second network equipment; the time length of the registration signal frame is matched with the counting period;
and the second network equipment measures the distance of the first network equipment according to the registration signal frame.
30. A communication device, comprising: a processor and interface circuit;
the interface circuit is used for receiving signals from other communication devices except the communication device and transmitting the signals to the processor or sending the signals from the processor to the other communication devices except the communication device;
the processor and the interface circuit are configured to implement the method of any one of claims 1 to 5, or the method of any one of claims 6 to 11, or the method of any one of claims 12 to 17, by logic circuitry or execution of code instructions.
31. A chip, comprising: a control circuit and an interface circuit;
the interface circuit is used for receiving signals from other chips except the chip and transmitting the signals to the control circuit or sending the signals from the control circuit to the other chips except the chip;
The control circuit and the interface circuit are configured to implement the method of any one of claims 1 to 5, or the method of any one of claims 6 to 11, or the method of any one of claims 12 to 17, by logic circuits or execution of code instructions.
32. A computer readable storage medium, characterized in that the storage medium has stored therein a computer program or instructions which, when executed by a communication device, implement the method of any one of claims 1 to 5, or the method of any one of claims 6 to 11, or the method of any one of claims 12 to 17.
33. A computer program product, characterized in that the computer program product, when run on a computer, causes the computer to perform the method of any one of claims 1 to 5, or the method of any one of claims 6 to 11, or the method of any one of claims 12 to 17.
CN202210571546.7A 2022-05-24 2022-05-24 Ranging method and device in optical communication network Pending CN117155463A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210571546.7A CN117155463A (en) 2022-05-24 2022-05-24 Ranging method and device in optical communication network
PCT/CN2023/094232 WO2023226809A1 (en) 2022-05-24 2023-05-15 Ranging method and apparatus in optical communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210571546.7A CN117155463A (en) 2022-05-24 2022-05-24 Ranging method and device in optical communication network

Publications (1)

Publication Number Publication Date
CN117155463A true CN117155463A (en) 2023-12-01

Family

ID=88908737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210571546.7A Pending CN117155463A (en) 2022-05-24 2022-05-24 Ranging method and device in optical communication network

Country Status (2)

Country Link
CN (1) CN117155463A (en)
WO (1) WO2023226809A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100421151B1 (en) * 2002-01-17 2004-03-04 삼성전자주식회사 Method for implementation procedure in giga bit ethernet passive optical network and ethernet frame structure thereof
WO2014036682A1 (en) * 2012-09-04 2014-03-13 华为技术有限公司 Method, device, and system for preventing registration conflict
CN107295428B (en) * 2016-03-31 2020-07-31 南京中兴软件有限责任公司 Optical network unit registration method and device and optical line terminal
CN113556203B (en) * 2018-03-28 2022-12-13 华为技术有限公司 Time synchronization method in PON system, OLT, ONU and PON system
CN111182378B (en) * 2019-12-31 2022-11-08 瑞斯康达科技发展股份有限公司 Registration device and method of EPON ONU

Also Published As

Publication number Publication date
WO2023226809A1 (en) 2023-11-30

Similar Documents

Publication Publication Date Title
CN109150366B (en) Method, device and system for registering Optical Network Unit (ONU)
JP5600585B2 (en) Burst receiver with optical amplifier, optical amplifier control method, and system
US9998214B2 (en) Optical time domain reflectometer implementation apparatus and system
US10110316B2 (en) OLT optical module and OLT
US20080085118A1 (en) High Capacity Optical Frequency Division Multiple Access Passive Optical Network
CN109981175B (en) Optical module and signal processing method
EP3474463A1 (en) Optical power detection method, apparatus and device, and optical module
JP2005006313A (en) Optical power equalizing apparatus for passive optical communication network
US11825249B2 (en) Systems and methods for measurement of optical parameters in an optical network
JP2013219599A (en) Multirate optical signal receiving device and method
CN117155463A (en) Ranging method and device in optical communication network
KR101539196B1 (en) Method and Device for Receiving in Coherent Optical Communication System
US20050260001A1 (en) Burst signal receiver
JP2005045560A (en) Method for receiving optical signal, optical signal receiver, optical communication device, and optical communication system
US20200260164A1 (en) Method for managing onu in passive optical network, olt and system
JP5084629B2 (en) Subscriber termination device and power supply control method
CN104981990A (en) Uplink optical signal power detecting method, device, optical line terminal and optical network system
CN103888185A (en) Detection method and device of optical network unit and system
WO2024078057A1 (en) Registration method for optical communication network, apparatus, communication device, and system
Kawanaka et al. A dual‐rate burst‐mode receiver with rapid response and high CID tolerance for XGS PON
CN114975677A (en) Light receiving device, light receiving packaging device, related equipment and method
CN106209243B (en) relay optical module
WO2024007839A1 (en) Optical communication method, olt, optical module, optical communication system, and storage medium
WO2023124381A1 (en) Registration signal sending and receiving methods, optical transmission device, optical reception device and system
KR101023813B1 (en) Registration method for ONU or ONT

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination