CN114554322A - Method and device for acquiring transmission delay - Google Patents

Method and device for acquiring transmission delay Download PDF

Info

Publication number
CN114554322A
CN114554322A CN202011359749.7A CN202011359749A CN114554322A CN 114554322 A CN114554322 A CN 114554322A CN 202011359749 A CN202011359749 A CN 202011359749A CN 114554322 A CN114554322 A CN 114554322A
Authority
CN
China
Prior art keywords
onu
message
olt
network
pon
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.)
Granted
Application number
CN202011359749.7A
Other languages
Chinese (zh)
Other versions
CN114554322B (en
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 CN202011359749.7A priority Critical patent/CN114554322B/en
Publication of CN114554322A publication Critical patent/CN114554322A/en
Application granted granted Critical
Publication of CN114554322B publication Critical patent/CN114554322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • 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/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0793Network aspects, e.g. central monitoring of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application discloses a method and a device for acquiring transmission delay, and belongs to the field of communication. The method comprises the following steps: the first ONU receives a first message sent by the OLT through a first PON channel and determines that the receiving time of the first message is T1; receiving a second message sent by a second ONU through a first network channel, and determining that the receiving time of the second message is T2; the second message is sent by the second ONU in response to an event that receives a third message, the third message being a message sent by the OLT to the second ONU over the second PON channel; the first network channel is a transmission channel established by the first ONU and the second ONU through a first network protocol; acquiring transmission time delay delta t1 of a first network channel between a first ONU and a second ONU; determining a PON channel transmission delay difference between the OLT and the first ONU and the second ONU respectively based on at least T1, T2 and Δ T1. The method and the device can avoid suspending transmission service.

Description

Method and device for acquiring transmission delay
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for acquiring a transmission delay.
Background
A Passive Optical Network (PON) includes an Optical Line Terminal (OLT) and a plurality of Optical Network Units (ONUs), and the OLT is connected to each ONU. The OLT needs to acquire transmission delay from itself to each ONU, and determines a time slot of each ONU based on the transmission delay of each ONU, so that each ONU transmits uplink data to the OLT in each time slot.
At present, when an OLT finds that a new ONU is online in a PON, the OLT measures a transmission delay from the OLT to the ONU within a time window, and then determines a time slot for the ONU based on the transmission delay, so that the ONU transmits upstream data within the time slot. Wherein, the start timestamp of the time window is located after the OLT discovers the ONU, and the time length of the time window is a specified length.
In the process of implementing the present application, the inventor finds that the prior art has at least the following problems:
the OLT and the ONU in the PON only perform the operation of measuring the transmission delay within the time window and suspend the transmission traffic, and the time length of the time window is long, often hundreds of microseconds, and the time for suspending the traffic is too long.
Disclosure of Invention
The application provides a method and a device for acquiring transmission delay so as to avoid suspending transmission service. The technical scheme is as follows:
in a first aspect, the present application provides a method for acquiring a transmission delay, in which a first optical network unit ONU receives a first message sent by an optical line terminal OLT through a first passive optical network PON channel, and determines that a receiving time for receiving the first message is T1. The first ONU receives a second message sent by the second ONU over the first network channel, and determines that the reception time for receiving the second message is T2, the second message being sent by the second ONU in response to an event that receives a third message, the third message being a message sent by the OLT to the second ONU over the second PON channel. The first network channel is a transmission channel established by the first ONU and the second ONU through a first network protocol, and the first network is a network different from the PON. The first ONU acquires the transmission delay Δ t1 of the first network channel between the first ONU and the second ONU. The first ONU determines a PON channel transmission delay difference between the OLT and the first and second ONUs, respectively, based on at least T1, T2, and Δ T1.
Because the second ONU sends the second message to the first ONU through the first network channel after receiving the third message of the OLT, the first ONU determines the reception time T2 of the second message, and because the first ONU acquires the transmission delay Δ T1 of the first network channel between the first ONU and the second ONU, the first ONU can determine the PON channel transmission delay difference between the OLT and the first ONU and the second ONU, respectively, based on at least T1, T2, and Δ T1. The first PON channel transmission delay between the OLT and the first ONU is known, so that the second PON channel transmission delay between the OLT and the second ONU can be obtained based on the first PON channel transmission delay and the difference between the PON channel transmission delays. Therefore, when the transmission delay of the second PON channel is obtained, the OLT only needs to send the first message and the third message, and a time window is not needed to be independently started to measure the transmission delay of the second PON channel, so that the transmission service is prevented from being suspended.
In one possible implementation, the first message and the third message are sent by the OLT at the same time. Therefore, the first ONU can determine the PON channel transmission delay difference value between the OLT and the first ONU and the PON channel transmission delay difference value between the OLT and the second ONU based on T1, T2 and delta T1, and the complexity of the implementation scheme is simplified.
In another possible implementation, the first message and the third message are sent by the OLT at different times. The first ONU obtains a time difference Δ T2 between a transmission time T3 when the OLT transmits the first message and a transmission time T4 when the OLT transmits the third message, where Δ T2 is T4-T3. In this way, the first ONU determines the PON channel transmission delay difference between the OLT and the first ONU and the PON channel transmission delay difference between the OLT and the second ONU based on T2, T1, Δ T1, and Δ T2, so that the PON channel transmission delay difference can be accurately obtained.
In another possible implementation, the first message includes T3, the third message includes T4, and the second message includes T4; alternatively, the third message comprises Δ t2 and the second message comprises Δ t 2; alternatively, the first message includes Δ t 2.
In another possible implementation, the first network is a wifi network or a cellular communication network.
In a second aspect, the present application provides an apparatus for acquiring a transmission delay, configured to execute the method performed by the first ONU in the first aspect or any one of the possible implementation manners of the first aspect. In particular, the apparatus comprises means for performing the first aspect or the method performed by the first ONU in any of its possible implementations.
In a third aspect, the present application provides an apparatus for acquiring a transmission delay, where the apparatus includes a transceiver, a processor, and a memory. Wherein, the transceiver, the processor and the memory can be connected through internal connection. The memory is configured to store a program, and the processor is configured to execute the program in the memory and cooperate with the transceiver to enable the apparatus to perform the method performed by the first ONU in the first aspect or any possible implementation manner of the first aspect.
In a fourth aspect, the present application provides a computer program product comprising a computer program stored in a computer readable storage medium and loaded by a device to implement the instructions of the method of the first aspect or any possible implementation manner of the first aspect.
In a fifth aspect, the present application provides a computer-readable storage medium for storing a computer program, which is loaded by a device to execute the instructions of the method of the first aspect or any possible implementation manner of the first aspect.
In a sixth aspect, the present application provides a system for acquiring a transmission delay, where the system includes a first ONU and a first device, and the first ONU is configured to receive, through a first passive optical network PON channel, a first message sent by an optical line terminal OLT, and determine that a reception time for receiving the first message is T1. And receiving a second message sent by the second ONU through the first network channel, and determining that the receiving time for receiving the second message is T2, wherein the second message is sent by the second ONU in response to the event of receiving the third message, and the third message is sent to the second ONU by the OLT through the second PON channel. The first network channel is a transmission channel established by the first ONU and the second ONU through a first network protocol, and the first network is a network different from the PON. Transmitting time information to the first device, the time information including T1 and T2.
And the first device is used for receiving the time information, acquiring the transmission delay delta T1 of the first network channel between the first ONU and the second ONU, and determining the PON channel transmission delay difference between the OLT and the first ONU and the second ONU respectively based on at least T1, T2 and delta T1.
Since the second ONU transmits the second message to the first ONU through the first network channel after receiving the third message of the OLT, the first ONU determines the reception time T2 of the second message and transmits T1 and T2 to the first device. And since the first device obtains the transmission delay Δ T1 of the first network channel between the first ONU and the second ONU, the first device can determine the difference in PON channel transmission delays between the OLT and the first ONU and the second ONU, respectively, based on at least T1, T2, and Δ T1. The first PON channel transmission delay between the OLT and the first ONU is known, so that the second PON channel transmission delay between the OLT and the second ONU can be obtained based on the first PON channel transmission delay and the difference between the first PON channel transmission delays. Therefore, when the transmission delay of the second PON channel is obtained, the OLT only needs to send the first message and the third message, and a time window is not needed to be independently started to measure the transmission delay of the second PON channel, so that the transmission service is prevented from being suspended.
In one possible implementation, the first device is a second ONU.
In another possible implementation manner, the first device is an OLT, the first device receives Δ t1 sent by the first ONU or Δ t1 sent by the second ONU, and Δ t1 is acquired by the first ONU or the second ONU.
Drawings
Fig. 1 is a schematic architecture diagram of a PON provided in an embodiment of the present application;
FIG. 2 is a block diagram of an industrial control network according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method for acquiring a transmission delay according to an embodiment of the present disclosure;
fig. 4 is a flowchart of another method for acquiring a transmission delay according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for acquiring a transmission delay according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another apparatus for acquiring transmission delay according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a system for acquiring a transmission delay according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following is a brief introduction to the concepts involved in the present application.
A first ONU: is an ONU that has registered online in the OLT in the PON.
And a second ONU: is an ONU newly accessed in the PON and is not registered online in the OLT.
A first message: is a message that the OLT sends to a first ONU (second ONU) in the PON.
A second message: is a message sent by a second ONU to a first ONU in a first network, the first network and the PON being two different networks. And the second ONU sends a second message to the first ONU after receiving the message sent by the OLT.
And (3) third message: in the PON, the OLT sends a message to the second ONU.
T1 or Tr 1: is the time when the first ONU receives the first message.
T2: is the time when the first ONU receives the second message.
T3: is the time the OLT sends the first message.
T4: is the time the OLT sends the third message.
Tr 2: is the time when the second ONU receives the first message.
Δ t 1: a transmission delay of a first network channel between the first ONU and the second ONU, the first network channel being a channel between the first ONU and the second ONU in the first network.
Δ t 2: is the time difference between the transmission time T3 when the OLT transmits the first message and the transmission time T4 when the OLT transmits the third message.
Δ t 3: is the time difference between the time the second ONU receives the third message and the time the second message is sent, which is a known constant.
It should be noted that the above arbitrary time is regarded as a time corresponding to the same reference; in the concrete implementation, the local time is read, and if the local time and the network absolute time have a fixed interval, compensation is carried out; if no gap is present, no compensation is required.
Referring to fig. 1, an embodiment of the present application provides a PON, including:
the optical line terminal comprises an OLT and a plurality of ONUs, wherein each ONU in the plurality of ONUs is connected with the OLT through an optical fiber.
In the PON, a PON channel exists between each ONU and the OLT, so that for each ONU, the ONU can transmit data to the OLT or receive data transmitted by the OLT through the PON channel between the ONU and the OLT.
Referring to fig. 1, the plurality of ONUs may further access the first network, so that for any two ONUs in the plurality of ONUs, the two ONUs may establish a first network channel in the first network by using the first network protocol, and data may be transmitted between the two ONUs through the first network channel.
The first network and the PON are two different networks. The first network protocol is a protocol employed by the first network. For example, the first network may be a wireless fidelity (wifi) network, a cellular communication network, or a wired network, among others. The first network protocol may include a wifi protocol employed by a wifi network, a microwave protocol, a 5G network protocol, or a 4G network protocol employed by a cellular communication network, and/or an ethernet protocol employed by a wired network, etc.
Among them, it should be noted that: the PON can be applied to an industrial control scenario or other scenarios in which control devices and controlled devices are connected to the PON. The control device manages or controls different controlled devices through the PON, and the controlled devices may be industrial robots, sensors, servo transmission devices, input/output (I/O) devices, or the like. The controller may be an integrated management system (ITMS) or a home network management platform (mnp), etc.
Referring to fig. 2, in case of applying the PON to an industrial control scenario, the PON may serve as an industrial control network, the OLT may communicate with a control device, and each ONU may communicate with one or more controlled devices. Thus, the control device can send control data to the controlled device through the PON, and the controlled device can send response data responding to the control data to the control device through the PON, so that the control device controls or manages the controlled device.
Optionally, the control device is connected to the OLT, or the control device is connected to the OLT through one or more network devices, where the one or more network devices include a broadband access server (BRAS) and the like.
Optionally, the control data sent by the control device to the controlled device may be a control command. The response data transmitted by the controlled device to the control device may be data in response to the control command. For example, assuming that the controlled device is a temperature sensor, the control data transmitted by the control device may be a temperature measurement command, the controlled device receives the temperature measurement command, measures the temperature, and the response data transmitted to the control device is a measured temperature value.
In the PON, a broadcast method may be used for downlink transmission, where the direction of downlink transmission is the direction in which the OLT sends data to the ONUs, and the OLT sends data to each ONU in the PON simultaneously by using the broadcast method. The uplink transmission may use a time division multiplexing method, and the direction of the uplink transmission is the direction in which the ONU sends data to the OLT.
The process of performing uplink transmission in a time division multiplexing manner may be: the OLT allocates corresponding time slots for each ONU in the PON to send uplink data, each ONU sends data to the OLT when the corresponding time slot reaches, and the data sent by each ONU reaches the OLT at the same time, namely the OLT receives the data sent by each ONU at the same time.
And determining the time slot corresponding to each ONU based on the distance between the OLT and each ONU. In the PON, the distance from the OLT to each ONU may be different, so that the determined time slot corresponding to each ONU may also be different.
For example, in an industrial control scenario, the downlink transmission process may be: the OLT receives control data to be sent to at least one controlled device by the control device, and allocates time slots for each ONU based on the distance between the OLT and each ONU in the PON. And encapsulating the control data to be sent to at least one controlled device and the time slot identifier corresponding to each ONU into an Ethernet frame, and broadcasting and sending the Ethernet frame to each ONU in the PON. That is, the OLT simultaneously transmits the ethernet frame to each ONU in the PON. For each ONU in the PON, the ONU receives the Ethernet frame, reads the control data to be sent to the controlled equipment communicating with the ONU and the time slot identification corresponding to the ONU from the Ethernet frame, and sends the read control data to the controlled equipment communicating with the ONU.
The uplink transmission process may be: for the controlled device communicating with the ONU, the controlled device receives the control data and responds to the control data, that is, the controlled device sends response data to the ONU. And the ONU receives the response data, encapsulates the response data into an Ethernet frame, and sends the Ethernet frame to the OLT when a time slot corresponding to the ONU arrives. However, the other ONUs in the PON also transmit the ethernet frame to the OLT, as with the ONU, and the ethernet frames transmitted by the ONUs in the PON arrive at the OLT at the same time. And the OLT receives the Ethernet frames sent by the ONUs, acquires the response data of the controlled equipment from the Ethernet frames and sends the response data of the controlled equipment to the control equipment.
As can be seen from the above example, the OLT needs to obtain the distance between the OLT and each ONU, so as to allocate a time slot to each ONU. And the distance between the OLT and each ONU is obtained by the OLT based on the PON channel transmission time delay of the OLT and each ONU in the PON. Therefore, for any ONU accessing to the PON, the OLT needs to first obtain the PON channel transmission delay between the OLT and the ONU in the PON, and then can obtain the distance between the OLT and the ONU based on the PON channel transmission delay.
Referring to fig. 3, an embodiment of the present application provides a method for acquiring transmission delay, where the method is applied to a network architecture shown in fig. 1 or fig. 2, and in the method, a PON channel transmission delay difference between an OLT and two different ONUs is acquired, and a PON channel transmission delay between the OLT and the ONUs is acquired based on the PON channel transmission delay difference. The method comprises the following steps:
step 301: the OLT sends a first message to the first ONU and a third message to the second ONU.
The first ONU is an ONU in the PON that has registered online in the OLT. Registering an ONU online with the OLT means: the OLT acquires the first PON channel transmission time delay between the first ONU and the OLT in advance, and/or the first ONU acquires the first PON channel transmission time delay between the first ONU and the OLT in advance.
The second ONU is an ONU which is newly accessed to the PON, and the second ONU is also accessed to the first network. For any one ONU that has registered online in the OLT, the ONU may discover a newly accessed second ONU in the first network, send a discovery notification message to the OLT, and may establish a first network channel with the second ONU in the first network.
The discovery notification message is used to notify the OLT that a new ONU has access to the PON.
Optionally, the discovery notification message includes a device identification of the second ONU.
Optionally, the device identifier of the second ONU is a Sequence Number (SN) of the second ONU, and the like.
In a PON, there is a first PON channel between the OLT and a first ONU and a second PON channel between the OLT and a second ONU. The OLT receives the discovery notification message, sends a first message to the first ONU through the first PON channel based on the trigger of the discovery notification message, and sends a third message to the second ONU through the second PON channel.
In step 301, the OLT may send the first message and the third message in a broadcast sending manner, that is, the OLT sends the first message to the first ONU and sends the third message to the second ONU simultaneously, where the first message and the third message are the same message. When the OLT uses a broadcast transmission method, the OLT may send a first message (a third message) to each ONU (including at least a first ONU and a second ONU) accessing the PON.
Optionally, after receiving the discovery notification message, the OLT may further select one ONU from the ONUs registered online in the OLT as the first ONU, and the first message (the third message) includes the device identifier of the first ONU.
In step 301, the OLT may also send the first message and the third message in a unicast sending manner, that is, the OLT may send the first message to the first ONU and send the third message to the second ONU at different times.
In case of adopting the unicast transmission mode, the discovery notification message received by the OLT includes the device identifier of the second ONU. The OLT selects one ONU from the ONUs registered on-line in the OLT as a first ONU, transmits a first message to the first ONU, and transmits a third message to the second ONU based on the device identification of the second ONU, wherein the third message comprises the device identification of the first ONU.
In the case of the unicast transmission mode, the first message may further include a transmission time T3 when the OLT transmits the first message, and the third message includes a transmission time T4 when the OLT transmits the third message. Alternatively, the first message includes Δ T2, Δ T2 ═ T4-T3, and/or the third message includes Δ T2.
Δ T2 is the time difference between the transmission time T3 at which the OLT transmits the first message and the transmission time T4 at which the OLT transmits the third message.
Optionally, the first message and the third message include indication information, where the indication information is used to instruct the ONU to execute a process of acquiring the PON channel transmission delay, where the PON channel transmission delay is a transmission delay between the OLT and the ONU in the PON.
Step 302: the first ONU receives the first message through the first PON channel, and determines that the reception time of receiving the first message is T1.
In step 302, the first ONU receives a first message through the first PON channel, where the first message includes indication information, and determines that a procedure for acquiring the transmission delay needs to be executed based on a trigger of the indication information. Since the first ONU has successfully registered on the OLT, the first ONU performs the initial operation of the flow to: the time T1 currently counted by the first ONU is acquired, and T1 is determined as the reception time of receiving the first message.
Step 303: and the second ONU receives the third message through the second PON channel and sends a second message to the first ONU through the first network channel in response to the event of receiving the third message.
In step 303, the second ONU receives a third message through the second PON channel, where the third message includes indication information, and determines that a procedure for acquiring the transmission delay needs to be executed based on triggering of the indication information. Since the second ONU has not registered on the OLT and the transmission delay of the second PON channel between the second ONU and the OLT is unknown, the second ONU performs the initial operation of the flow: a second message is sent to the first ONU over the first network channel.
Optionally, the OLT sends the third message in a broadcast sending manner, where the third message may include the device identifier of the first ONU, or may not include the device identifier of the first ONU. And the third message comprises the equipment identification of the first ONU, and the second ONU sends a second message to the first ONU through a first network channel between the second ONU and the first ONU based on the equipment identification of the first ONU. And in the case that the third message does not include the device identification of the first ONU, the second ONU selects one ONU from the ONUs with the first network channel between the second ONU as the first ONU, and transmits the second message to the first ONU based on the first network channel between the second ONU and the first ONU.
Optionally, the OLT sends a third message in a unicast sending manner, where the third message includes the device identifier of the first ONU, and the second ONU sends the second message through the first network channel between the second ONU and the first ONU based on the device identifier of the first ONU.
Alternatively, in the case where the third message includes T4, the second message may also include T3. Alternatively, where the third message comprises Δ t2, the second message may also comprise Δ t 2.
Step 304: the first ONU receives the second message, and determines that the reception time for receiving the second message is T2.
In step 304, the first ONU receives the second message through the first network channel, acquires the current time T2 counted by the first ONU, and determines T2 as the receiving time for receiving the second message.
When the OLT sends the first message in a broadcast sending manner, for another ONU that does not receive the second message in the PON, the other ONU discards the received first message.
Step 305: the first ONU acquires the transmission delay Δ t1 of the first network channel between the first ONU and the second ONU.
In step 305, the first ONU transmits a measurement message to the second ONU over the first network channel, and obtains a first transmission time Ta, where the first transmission time Ta is a time for transmitting the measurement message. And the second ONU receives the measurement message, acquires that the first receiving time is Tb, and the first receiving time Tb is the time for receiving the measurement message. And when the second ONU determines to send the measurement response, the second ONU acquires the second sending time as Tc, and sends the measurement response to the first ONU through the first network channel, wherein the measurement response comprises the first receiving time Tb and the second sending time Tc. And the first ONU receives the measurement response, and acquires that the second receiving time is Td, and the second receiving time is Td for receiving the measurement response. The first ONU acquires the transmission delay Δ t1 of the first network channel between the first ONU and the second ONU as (Td-Ta) - (Tc-Tb).
Optionally, after the first ONU establishes the first network channel between the first ONU and the second ONU in the first network, the transmission delay Δ t1 of the first network channel is obtained.
Step 305 and the above-mentioned processes of step 301 to step 304 have no sequential execution order, and step 305 may be executed before step 301, or step 305 may be executed after step 304, or step 305 may be executed simultaneously with the above-mentioned processes.
Step 306: the first ONU determines a PON channel transmission delay difference between the OLT and the first and second ONUs, respectively, based on at least T1, T2, and Δ T1.
And under the condition that the OLT transmits the first message and the third message in a broadcast transmission mode, the first ONU determines PON channel transmission delay difference values between the OLT and the first ONU and the second ONU respectively based on T1, T2 and delta T1. The difference value of the PON channel transmission delay may be T2-T1- Δ T1- Δ T3. Δ t3 is the time difference between the time the second ONU receives the third message and the time the second message is sent, which is a known constant.
When the OLT transmits the first message and the third message in a unicast transmission manner, the first ONU acquires a time difference Δ T2 between a transmission time T3 when the OLT transmits the first message and a transmission time T4 when the OLT transmits the third message, where Δ T2 is T4-T3. Determining a PON channel transmission delay difference between the OLT and the first ONU and the second ONU based on T2, T1, Δ T1 and Δ T2. The difference value of the PON channel transmission delay may be T2-T1- Δ T1- Δ T2- Δ T3.
Optionally, the operation of the first ONU obtaining Δ t2 may be:
in the case where the first message includes T3 and the second message includes T4, the first ONU obtains T3 from the first message and obtains T4 from the second message, calculating Δ T2-T4-T3.
In case the first message comprises Δ t2 or the second message comprises Δ t2, the first ONU reads Δ t2 from the first message or reads Δ t2 from the second message.
After the first ONU obtains the PON channel transmission delay difference, the first ONU may further send the PON channel transmission delay difference and the device identifier of the second ONU to the OLT. And the OLT receives the PON channel transmission delay difference value and the equipment identification of the second ONU, accumulates the first PON channel transmission delay between the OLT and the first ONU and the PON channel transmission delay difference value, and takes the accumulated value as the second PON channel transmission delay between the OLT and the second ONU corresponding to the equipment identification. Or the first ONU accumulates the first PON channel transmission delay between the OLT and the first ONU and the difference value of the PON channel transmission delay, and sends the accumulated value and the equipment identification of the second ONU to the OLT. And the OLT receives the equipment identification of the second ONU and the accumulated value, and the accumulated value is used as the transmission delay of a second PON channel between the OLT and the second ONU corresponding to the equipment identification.
And the OLT shows that the second ONU registers on line in the OLT when the OLT acquires the transmission delay of the second PON channel. The OLT may also determine a distance between the OLT and the second ONU based on a second PON channel transmission delay between the OLT and the second ONU.
In this embodiment, the OLT sends a first message to the first ONU through a first PON channel between the OLT and the first ONU, and sends a third message to the second ONU through a second PON channel between the OLT and the second ONU. And the second ONU sends the second message to the first ONU through a first network channel between the second ONU and the first ONU after receiving the third message. The first ONU receives the first message and acquires a reception time T1 of receiving the first message, and receives the second message and acquires a reception time T2 of receiving the second message. Since the first ONU also obtains the transmission delay Δ T1 of the first network channel between the first ONU and the second ONU, the first ONU determines the PON channel transmission delay difference between the OLT and the first ONU and the second ONU, respectively, based on at least T1, T2, and Δ T1. The first PON channel transmission delay between the OLT and the first ONU is known, so that the second PON channel transmission delay between the OLT and the second ONU can be obtained based on the first PON channel transmission delay and the difference between the first PON channel transmission delays. Therefore, in the process of acquiring the transmission delay of the second PON channel, the OLT only needs to send the first message and the third message without independently starting a time window to measure the transmission delay of the second PON channel, and the transmission service is prevented from being suspended.
Referring to fig. 4, an embodiment of the present application provides a method for acquiring transmission delay, which is applied to the network architecture shown in fig. 1 or fig. 2, and in the method, transmission delay of a PON channel between an OLT and an ONU is directly acquired. The method comprises the following steps:
step 401: the OLT sends a first message to a second ONU through a second PON channel between the OLT and the second ONU.
The second ONU is an ONU which is newly accessed to the PON, and the second ONU is also accessed to the first network. For any one ONU that has registered online in the OLT, the ONU may discover a newly accessed second ONU in the first network, send a discovery notification message to the OLT, and may establish a first network channel with the second ONU in the first network.
The discovery notification message is used to notify the OLT that a new ONU has access to the PON. Optionally, the discovery notification message includes a device identification of the second ONU.
The OLT receives the discovery notification message, and based on the trigger of the discovery notification message, sends a first message to the ONUs (including a second ONU and ONUs registered on the OLT) accessed into the PON by adopting a broadcast sending mode. Or the OLT receives the discovery notification message, the discovery notification message comprises the equipment identification of the second ONU, and the first message is sent to the second ONU based on the equipment identification of the second ONU.
Optionally, before sending the first message, the OLT selects one ONU from the ONUs registered online in the OLT as the first ONU, and the first message includes the device identifier of the first ONU.
Optionally, the first message includes a sending time T for the OLT to send the first messagesend
Since the first ONU is an ONU that has been registered online in the OLT, the first ONU comprises a time relationship between the first ONU and the OLT, and/or the OLT comprises a time relationship between the first ONU and the OLT.
The OLT may be time-synchronized with the first ONU in advance, so that the OLT and/or the first ONU obtains the time relationship between the first ONU and the OLT in advance. The time relationship may be a time difference Δ t2 between the first ONU and the OLT, and the time difference Δ t2 may be 0 or greater than 0.
In the PON, a first PON channel exists between the OLT and the first ONU, and a second PON channel exists between the OLT and the second ONU. The OLT thus sends the first message to the first ONU over the first PON channel and/or sends the first message to the second ONU over the second PON channel.
Optionally, the first message includes indication information, where the indication information is used to instruct the ONU to execute a procedure of acquiring the PON channel transmission delay.
Step 402: the second ONU receives the first message through the second PON channel and sends a second message to the first ONU through the first network channel in response to the event of receiving the first message.
In step 402, the second ONU receives a first message through the second PON channel, where the first message includes indication information, and determines that a process of acquiring the transmission delay of the PON channel needs to be executed based on the trigger of the indication information. Since the second ONU is not registered in the OLT and the second PON channel transmission delay between the second ONU and the OLT is unknown, the second ONU performs the initial operation of the flow: the second message is sent to the first ONU over a first network channel, which is a channel between the second ONU and the first ONU in the first network.
Optionally, the first message includes a sending time TsendIn this case, the second message may also include the transmission time Tsend
Optionally, the second message may include the indication information.
Optionally, when the first message includes the device identifier of the first ONU, the second ONU transmits the first message to the first ONU through the first network channel based on the device identifier of the first ONU. And in the case that the first message does not comprise the equipment identification of the first ONU, the second ONU selects one ONU from the ONUs registered on line in the OLT as the first ONU and sends the first message to the first ONU through the first network channel.
Step 403: the first ONU receives the second message through the first network channel, determines that the first reception time is Tr1, and the first reception time Tr1 is the time when the first ONU receives the second message.
In step 403, the first ONU receives a second message through the first network channel, where the second message includes indication information, and determines that a procedure for acquiring the transmission delay needs to be executed based on the trigger of the indication information. Since the first ONU has registered on the OLT, the initial operation of the first ONU to perform the flow is: acquiring the time Tr1 currently timed by the first ONU, and determining Tr1 as the first receiving time for receiving the second message.
When the OLT sends the first message in a broadcast sending manner, for another ONU that does not receive the second message in the PON, the other ONU discards the received first message.
Step 404: the first ONU acquires the transmission delay Δ t1 of the first network channel between the first ONU and the second ONU.
Optionally, a detailed implementation process of the first ONU for acquiring the transmission delay Δ t1 may refer to related contents in step 305 in the embodiment shown in fig. 3, and will not be described in detail here.
Step 404 and the above processes from step 401 to step 403 have no sequential execution order, and step 404 may be executed before step 401, or step 404 may be executed after step 403, or step 404 may be executed simultaneously with the above processes.
Step 405: the first ONU transmits time information, which is acquired by the first ONU based on the first reception time Tr1, the transmission delay Δ t1, and the time relationship, the time information being used to acquire the second PON channel transmission delay between the OLT and the second ONU.
Optionally, the time information includes the first receiving time Tr1, the first transmission delay Δ t1 and the time relationship, or the time information is the second receiving time Tr2, or the time information is the second PON channel transmission delay, and the second receiving time Tr2 is the time counted by the OLT when the second ONU receives the second message. The time relationship may be a time difference Δ t2 between the first ONU and the OLT.
Optionally, the first ONU obtains the time information when the time information is the transmission delay of the second PON channelTaking the sending time T of the OLT for sending the second messagesendBased on T1, Δ T1, Δ T2 and TsendAnd acquiring the transmission delay of a second PON channel between the OLT and the second ONU. Wherein the transmission delay of the second PON channel is T1-delta T1-delta T2-Tsend-At 3.Δ t3 is the time difference between the time when the second ONU receives the first message and the time when the second message is sent, and is a known constant
The first message comprises a transmission time TsendAnd/or the second message comprises a transmission time TsendThe first ONU may obtain the transmission time T from the second message or the first messagesend
Optionally, when the time information includes the second receiving time Tr2, there may be two ways to obtain the transmission delay of the second PON channel, where the two ways are:
the first mode is as follows: the first ONU acquires the second reception time Tr2 based on Tr1, Δ t1, and Δ t2, and transmits the second reception time Tr2 to the OLT. The second receiving time Tr2 may be Tr1- Δ t1- Δ t2- Δ t 3. The OLT receives a second receiving time Tr2, when the OLT includes a second receiving time Tr2 and a sending time T for sending the first messagesendTherefore, the transmission delay of the second PON channel between the OLT and the second ONU is T2-Tsend
The second mode is as follows: the first ONU acquires the second reception time based on Tr1, Δ t1, and Δ t2, and transmits the second reception time Tr2 to the second ONU. The second receiving time Tr2 may be Tr1- Δ t1- Δ t2- Δ t 3. The first message sent by the OLT comprises a sending time TsendThe second ONU receives the second receiving time Tr2, and the second ONU includes the second receiving time Tr2 and the transmitting time TsendTherefore, the transmission delay of the second PON channel between the OLT and the second ONU is T2-TsendAnd sending the transmission delay of the second PON channel to the OLT.
Optionally, in a case that the time information includes the first receiving time Tr1, the first transmission delay Δ t1, and the time relationship Δ t2, there may be a first manner or a second manner, where the first manner and the second manner are respectively:
in the first mode, the first ONU transmits the signal to the OLTAnd sending the time information, and receiving the time information by the OLT. At this time, the OLT includes a first receiving time Tr1, a first transmission delay Deltat 1, the time relationship Deltat 2 and a sending time T for sending the first messagesendTherefore, OLT is based on Tr1, Δ T1, Δ T2 and TsendAnd acquiring the transmission delay of a second PON channel between the OLT and the second ONU. Wherein the second PON channel transmission time delay can be Tr 1-delta T1-delta T2-Tsend-Δt3。
In the second mode, the first ONU sends the time information to the second ONU, and the second ONU receives the time information. At this time, the second ONU includes the first reception time Tr1, the first transmission delay Δ t1, and the time relationship Δ t2, acquires the second reception time Tr2 based on Tr1, Δ t1, and Δ t2, and transmits the second reception time Tr2 to the OLT. The second receiving time Tr2 may be Tr1- Δ t1- Δ t2- Δ t 3. The OLT acquires that the transmission time delay of a second PON channel between the OLT and a second ONU is T2-Tsend
Optionally, the first message includes a sending time TsendIn case of (2), i.e. the second ONU further comprises a transmission time TsendThe implementation process of the second method may also be: the second ONU is directly based on T1, Δ T1, Δ T2 and TsendAnd acquiring a second PON channel transmission time delay between the OLT and the second ONU, and sending the second PON channel transmission time delay to the OLT. Wherein, the transmission delay of the second PON channel can be T1-delta T1-delta T2-Tsend-Δt3。
And the OLT shows that the second ONU registers on-line in the OLT when the OLT obtains the transmission delay of the second PON channel. The OLT may further obtain a distance between the OLT and the second PON based on the second PON channel transmission delay.
In this embodiment of the application, the OLT sends the first message to the second ONU over a second PON channel between the OLT and the second ONU. And the second ONU sends a second message to the first ONU through a first network channel between the second ONU and the first ONU immediately after receiving the first message. The first ONU receives the second message and acquires a first reception time Tr1 at which the second message is received. Since the first ONU also acquires the transmission delay Δ t1 of the first network channel between the first ONU and the second ONU, the first ONU acquires the time information based on the first reception time Tr1, the transmission delay Δ t1 and the time relationship Δ t2 between the first ONU and the OLT, and transmits the time information. The OLT may thus obtain a second PON channel transmission delay between the OLT and the second ONU based on the time information. Therefore, in the process of acquiring the transmission delay of the second PON channel, the OLT only needs to send the first message without independently starting a time window to measure the transmission delay of the second PON channel, and the transmission service is prevented from being suspended.
Referring to fig. 5, an embodiment of the present application provides an apparatus 500 for acquiring a transmission delay, where the apparatus 500 is deployed in a first ONU provided in any of the foregoing embodiments, and includes:
a receiving unit 501, configured to receive a first message sent by an optical line terminal OLT through a first passive optical network PON channel;
a processing unit 502, configured to determine that a receiving time of receiving the first message is T1;
a receiving unit 501, configured to receive a second message sent by a second ONU through a first network channel;
the processing unit 502 is further configured to determine that the receiving time of the second message is T2; the second message is sent by the second ONU in response to an event that receives a third message, the third message being a message sent by the OLT to the second ONU over the second PON channel; wherein the first network channel is a transmission channel established by the apparatus 500 and the second ONU through a first network protocol, and the first network is a network other than the PON;
a processing unit 502, further configured to obtain a transmission delay Δ t1 of a first network channel between the apparatus 500 and a second ONU;
the processing unit 502 is further configured to determine a PON channel transmission delay difference between the OLT and the apparatus 500 and the second ONU based on at least T1, T2, and Δ T1.
Optionally, the processing unit 502 obtains the transmission delay Δ t1, which is described above in relation to step 305 of the embodiment shown in fig. 3 and will not be described in detail here.
Optionally, the processing unit 502 determines the PON channel transmission delay difference value, see the relevant contents in step 306 of the embodiment shown in fig. 3, which is not described in detail herein.
Optionally, the first message and the third message are sent by the OLT at the same time.
Optionally, the first message and the third message are sent by the OLT at different times, and the processing unit 502 is further configured to:
acquiring a time difference delta T2 between the sending time T3 of the OLT for sending the first message and the sending time T4 of the OLT for sending the third message, wherein the delta T2 is T4-T3;
determining a PON channel transmission delay difference between the OLT and the apparatus 500 and a second ONU based on T2, T1, Δ T1, and Δ T2, respectively.
Optionally, the processing unit 502 determines the PON channel transmission delay difference value, see the relevant contents in step 306 of the embodiment shown in fig. 3, which is not described in detail herein.
Optionally, the first message includes T3, the third message includes T4, and the second message includes T4; alternatively, the third message comprises Δ t2 and the second message comprises Δ t 2; alternatively, the first message includes Δ t 2.
Optionally, the first network is a wifi network or a cellular communication network.
In the embodiment of the present application, since the processing unit obtains the transmission delay Δ T1 of the first network channel between the first ONU and the second ONU, the processing unit determines the difference of the PON channel transmission delays between the OLT and the first ONU and the second ONU respectively based on at least T1, T2, and Δ T1. The first PON channel transmission delay between the OLT and the apparatus is known, so that the second PON channel transmission delay between the OLT and the second ONU can be obtained based on the first PON channel transmission delay and the difference between the first PON channel transmission delays and the PON channel transmission delays. Therefore, when the transmission delay of the second PON channel is obtained, the OLT only needs to send the first message and the third message, and a time window is not needed to be independently started to measure the transmission delay of the second PON channel, so that the transmission service is prevented from being suspended.
Referring to fig. 6, an embodiment of the present application provides a schematic diagram of an apparatus 600 for acquiring a transmission delay. The apparatus 600 may be the first ONU in any of the above embodiments. The apparatus 600 comprises at least one processor 601, an internal connection 602, a memory 603 and at least two transceivers 604.
The apparatus 600 is a hardware structure apparatus, and can be used to implement the functional modules in the apparatus 500 described in fig. 5. For example, it is obvious to a person skilled in the art that the processing unit 502 in the apparatus 500 shown in fig. 5 may be implemented by the at least one processor 601 calling code in the memory 603, and the receiving unit 501 in the apparatus 500 shown in fig. 5 may be implemented by the at least two transceivers 604.
Optionally, the apparatus 600 may be further configured to implement the function of the first ONU in any of the embodiments described above.
Optionally, a part of the at least two transceivers 604 is present in the transceiver 604 to communicate with the PON, and is configured to receive data sent by the OLT or send data to the OLT. There is another transceiver 604 in the at least two transceivers, and the another transceiver 604 is in communication with the first network and is configured to send data to other ONUs in the first network or receive data sent by other ONUs.
Alternatively, the processor 601 may be a general processing unit (CPU), a Network Processor (NP), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program according to the present disclosure.
The internal connections 602 may include a path for passing information between the components. Optionally, the internal connection 602 is a single board or a bus.
The at least two transceivers 604 are used to communicate with other devices or communication networks.
The memory 603 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 603 is used for storing application program codes for executing the scheme of the application, and the processor 601 controls the execution. The processor 601 is adapted to execute application program code stored in the memory 603 and to cooperate with the at least two transceivers 604 such that the apparatus 600 implements the functions of the method of the patent.
In particular implementations, processor 601 may include one or more CPUs such as CPU0 and CPU1 in fig. 6 as an example.
In particular implementations, the apparatus 600 may include multiple processors, such as the processor 601 and the processor 607 of fig. 6, for example, as an embodiment. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Referring to fig. 7, an embodiment of the present application provides a system 700 for acquiring a transmission delay, where the system 700 includes a first ONU701 and a first device 702.
The first ONU701 is configured to receive, through a first passive optical network PON channel, a first message sent by the optical line terminal OLT, and determine that a reception time for receiving the first message is T1. And receiving a second message sent by the second ONU through the first network channel, and determining that the receiving time for receiving the second message is T2, wherein the second message is sent by the second ONU in response to the event of receiving the third message, and the third message is sent to the second ONU by the OLT through the second PON channel. The first network channel is a transmission channel established by the first ONU and the second ONU through a first network protocol, and the first network is a network different from the PON. Time information is transmitted to the first device 702, including T1 and T2.
And the first device 702 is configured to receive the time information, obtain a transmission delay Δ T1 of the first network channel between the first ONU and the second ONU, and determine, based on at least T1, T2, and Δ T1, a PON channel transmission delay difference between the OLT and the first ONU and the second ONU, respectively.
The first device is a second ONU or an OLT.
In the case that the first device is a second ONU, the second ONU receives the time information and obtains the transmission delay Δ T1 of the first network channel between the first ONU and the second ONU, so that the second ONU includes T1, T2, and Δ T1, and thus the PON channel transmission delay difference value can be determined. The second ONU also sends the PON channel transmission delay difference value to the OLT. Because the OLT includes the first PON channel transmission delay between the OLT and the first ONU, the OLT accumulates the difference between the first PON channel transmission delay and the PON channel transmission delay to obtain the second PON channel transmission delay between the OLT and the second ONU.
When the first device is the OLT, the OLT further receives Δ t1 sent by the first ONU or Δ t1 sent by the second ONU, and Δ t1 is acquired by the first ONU or the second ONU. Thus, the second ONU includes T1, T2, and Δ T1, so that the PON channel transmission delay difference can be determined. Because the OLT includes the first PON channel transmission delay between the OLT and the first ONU, the OLT accumulates the difference between the first PON channel transmission delay and the PON channel transmission delay to obtain the second PON channel transmission delay between the OLT and the second ONU.
In this embodiment of the application, since the second ONU transmits the second message to the first ONU through the first network channel after receiving the third message from the OLT, the first ONU determines the reception time T2 of the second message, and transmits T1 and T2 to the first device. And since the first device obtains the transmission delay Δ T1 of the first network channel between the first ONU and the second ONU, the first device can determine the difference in PON channel transmission delays between the OLT and the first ONU and the second ONU, respectively, based on at least T1, T2, and Δ T1. The first PON channel transmission delay between the OLT and the first ONU is known, so that the second PON channel transmission delay between the OLT and the second ONU can be obtained based on the first PON channel transmission delay and the difference between the first PON channel transmission delays. Therefore, when the transmission delay of the second PON channel is obtained, the OLT only needs to send the first message and the third message, and a time window does not need to be independently started to measure the transmission delay of the second PON channel, so that the transmission service is prevented from being suspended.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only an example of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the principles of the present application should be included in the scope of the present application.

Claims (10)

1. A method for obtaining a transmission delay, the method comprising:
a first optical network unit ONU receives a first message sent by an optical line terminal OLT through a first passive optical network PON channel, and determines that the receiving time for receiving the first message is T1;
the first ONU receives a second message sent by a second ONU through a first network channel, and determines that the receiving time for receiving the second message is T2; the second message is sent by the second ONU in response to an event that receives a third message, the third message being a message sent by the OLT to the second ONU over a second PON channel; wherein the first network channel is a transmission channel established by the first ONU and the second ONU through a first network protocol, and the first network is a network other than a PON;
the first ONU acquires a transmission delay delta t1 of the first network channel between the first ONU and the second ONU;
the first ONU determines a PON channel transmission delay difference between the OLT and the first and second ONUs, respectively, based at least on T1, T2, and Δ T1.
2. The method of claim 1, wherein the first message and the third message are sent simultaneously by the OLT.
3. The method of claim 1, wherein the first message and the third message are sent by the OLT at different times, the method further comprising:
the first ONU acquires a time difference delta T2 between a sending time T3 when the OLT sends the first message and a sending time T4 when the OLT sends the third message, wherein the delta T2 is T4-T3;
the first ONU determining a PON channel transmission delay difference between the OLT and the first and second ONUs, respectively, based on at least T1, T2, and Δ T1, comprising:
the first ONU determines a PON channel transmission delay difference between the OLT and the first and second ONUs, respectively, based on T2, T1, Δ T1, and Δ T2.
4. The method of claim 3, wherein the first message comprises T3, the third message comprises T4, the second message comprises T4; alternatively, the third message comprises Δ t2, the second message comprises Δ t 2; alternatively, the first message includes Δ t 2.
5. The method of any one of claims 1 to 4, wherein the first network is a wireless fidelity (wifi) network or a cellular communication network.
6. An apparatus for acquiring transmission delay, the apparatus comprising:
a receiving unit, configured to receive a first message sent by an optical line terminal OLT through a first passive optical network PON channel;
the processing unit is configured to determine that a receiving time of receiving the first message is T1;
the receiving unit is further configured to receive a second message sent by a second ONU through a first network channel;
the processing unit is further configured to determine that a receiving time of receiving the second message is T2; the second message is sent by the second ONU in response to an event that receives a third message, the third message being a message sent by the OLT to the second ONU over a second PON channel; wherein the first network channel is a transport channel established by the apparatus with the second ONU via a first network protocol, and the first network is a network other than a PON;
the processing unit is further configured to obtain a transmission delay Δ t1 of the first network channel between the apparatus and the second ONU;
the processing unit is further configured to determine a PON channel transmission delay difference between the OLT and the apparatus and the second ONU based on at least T1, T2, and Δ T1, respectively.
7. The apparatus of claim 6, wherein the first message and the third message are sent simultaneously by the OLT.
8. The apparatus of claim 6, wherein the first message and the third message are sent by the OLT at different times, the processing unit further to:
acquiring a time difference delta T2 between the sending time T3 of the OLT sending the first message and the sending time T4 of the OLT sending the third message, wherein the delta T2 is T4-T3;
determining a PON channel transmission delay difference between the OLT and the apparatus and the second ONU based on T2, T1, Δ T1, and Δ T2, respectively.
9. The apparatus of claim 8, wherein the first message comprises T3, the third message comprises T4, the second message comprises T4; alternatively, the third message comprises Δ t2, the second message comprises Δ t 2; alternatively, the first message includes Δ t 2.
10. The apparatus of any one of claims 6 to 9, wherein the first network is a wireless fidelity, wifi, network or a cellular communication network.
CN202011359749.7A 2020-11-27 2020-11-27 Method and device for acquiring transmission delay Active CN114554322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011359749.7A CN114554322B (en) 2020-11-27 2020-11-27 Method and device for acquiring transmission delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011359749.7A CN114554322B (en) 2020-11-27 2020-11-27 Method and device for acquiring transmission delay

Publications (2)

Publication Number Publication Date
CN114554322A true CN114554322A (en) 2022-05-27
CN114554322B CN114554322B (en) 2023-06-27

Family

ID=81668096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011359749.7A Active CN114554322B (en) 2020-11-27 2020-11-27 Method and device for acquiring transmission delay

Country Status (1)

Country Link
CN (1) CN114554322B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121466A1 (en) * 2016-12-26 2018-07-05 中兴通讯股份有限公司 Onu ranging method and apparatus and method and apparatus for determining parameter for adjusting internal delay of onu
CN108923995A (en) * 2017-04-24 2018-11-30 上海大唐移动通信设备有限公司 A kind of transmission time delay confirming method and device
CN110226299A (en) * 2017-02-28 2019-09-10 华为技术有限公司 Method, optical line terminal and the optical network unit communicated in passive optical network
CN110943783A (en) * 2018-09-25 2020-03-31 中兴通讯股份有限公司 Distance measurement method of optical network, OLT, ONU and optical network system
CN111885725A (en) * 2020-07-21 2020-11-03 西安交通大学 Remote TDMA mobile self-organizing network node synchronous access method and equipment
CN111901706A (en) * 2020-06-17 2020-11-06 烽火通信科技股份有限公司 ONU discovery ranging method and system in TDM PON

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121466A1 (en) * 2016-12-26 2018-07-05 中兴通讯股份有限公司 Onu ranging method and apparatus and method and apparatus for determining parameter for adjusting internal delay of onu
CN110226299A (en) * 2017-02-28 2019-09-10 华为技术有限公司 Method, optical line terminal and the optical network unit communicated in passive optical network
CN108923995A (en) * 2017-04-24 2018-11-30 上海大唐移动通信设备有限公司 A kind of transmission time delay confirming method and device
CN110943783A (en) * 2018-09-25 2020-03-31 中兴通讯股份有限公司 Distance measurement method of optical network, OLT, ONU and optical network system
CN111901706A (en) * 2020-06-17 2020-11-06 烽火通信科技股份有限公司 ONU discovery ranging method and system in TDM PON
CN111885725A (en) * 2020-07-21 2020-11-03 西安交通大学 Remote TDMA mobile self-organizing network node synchronous access method and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YU NAKAYAMA: "《Efficient DWBA Algorithm for TWDM-PON with Mobile Fronthaul in 5G Networks》", 《GLOBECOM 2017 - 2017 IEEE GLOBAL COMMUNICATIONS CONFERENCE》 *
张引发等: "新的支持ONU睡眠模式的时隙管理方案", 《通信学报》 *

Also Published As

Publication number Publication date
CN114554322B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN113572559B (en) Synchronization method and device
CN112584262B (en) Data transmission method and related equipment
CN1706135B (en) A method of determining a timing offset between a first clock and a second clock in a communications network
CN110943783B (en) Distance measurement method of optical network, OLT, ONU and optical network system
CN109196824B (en) Network system and communication method
US9788270B2 (en) Optical-wireless access system
US11985455B2 (en) Optical communication device and resource management method
KR20170113886A (en) Method and apparatus for setting quite window in passive optical network system
US20110317998A1 (en) Delay amount allocation means, delay amount allocation method and a computer readable recording medium which records control program of delay amount allocation means
JP2022501892A (en) Sending and receiving packets wirelessly
WO2003003663A1 (en) Packet transmission system, packet transmission method, packet transmission program, and recording medium on which the recorded program is recorded
CN113891192B (en) Control method, device and equipment for data transmission in industrial network
CN109429118B (en) Bandwidth allocation method, device and system
CN114554322B (en) Method and device for acquiring transmission delay
CN113708869B (en) Method, device and system for configuring port state
CN114731266B (en) Clock information synchronization method and device, first node, terminal and storage medium
EP3457596B1 (en) Methods and products for onu start up procedure
KR20030013276A (en) Communication system and communication method thereof
EP3985991A1 (en) Bandwidth assignment method and apparatus, and bandwidth check method and apparatus
JP2013251828A (en) Communication system and station side device
JP2017225018A (en) Subscriber side device, office side device, optical communication system, optical communication method and program
CN107483542B (en) Exception handling method and device for wireless sensor network
US20240048262A1 (en) Communication method and communication apparatus
JP2014090262A (en) Master station device, slave station device, and transmission distance calculation method
US9094150B2 (en) Method for registering optical network unit in telecommunications network and optical network unit therefor

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
GR01 Patent grant
GR01 Patent grant