Method and device for realizing time-sensitive network of passive optical network system, and medium

By using broadcast time synchronization and dynamic bandwidth allocation in passive optical network systems, the problems of unstable delay and large jitter caused by traditional scheduling methods are solved, and fixed and low-delay time-sensitive message transmission is realized to meet the requirements of Delay-sensitive business needs.

CN118694460APending Publication Date: 2024-09-24ZTE CORP

Patent Information

Application Number
CN202310357696.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In passive optical network systems, the traditional packet scheduling method results in unstable delay and large jitter, which cannot meet the needs of industrial PON systems and other business scenarios that are sensitive to delay and jitter.

Method used

Time synchronization is performed by broadcasting time synchronization of future superframes and timestamps to determine the entry, exit and delay information of time-sensitive network packets, and control packet scheduling to reduce window duration and increase dynamic bandwidth allocation and scheduling frequency to achieve fixed low time Delayed time-sensitive message transmission.

Benefits of technology

It reduces the transmission delay and jitter of time-sensitive messages, meets the performance requirements of time-sensitive networks, and improves the ability to support delay- and jitter-sensitive services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694460A
    Figure CN118694460A
Patent Text Reader

Abstract

The embodiment of the invention provides a time-sensitive network implementation method and device of a passive optical network system and a medium, and the method comprises the steps: carrying out the time synchronization through a broadcast time synchronization future superframe and a timestamp; determining a time-sensitive network message inlet, a time-sensitive network message outlet and time delay information; controlling the time-sensitive network message inlet and the time-sensitive network message outlet to schedule time-sensitive network messages according to the time delay information; and reducing the windowing duration of the time sensitive message and increasing the dynamic bandwidth allocation scheduling frequency of the time sensitive message. According to the embodiment of the invention, the time-sensitive network is realized through the passive optical network system, the transmission delay of the time-sensitive message is reduced, the data transmission jitter is reduced, and the performance requirement of a service scene on the time-sensitive network is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical communication technology, and in particular to a method, device and medium for realizing a time-sensitive network of a passive optical network system. Background Art

[0002] With the continuous development of Passive Optical Network (PON), Fiber to the Home (FTTH) has been fully rolled out, and Fiber to the Room (FTTR) has developed faster and faster. Its Optical Line Terminal (OLT), Optical Network Unit (ONU), FTTR Main Gateway (MFU) and FTTR Slave Gateway (SFU, Sub FTTR unit) have also been widely used. In the passive optical network system, passive optical network equipment can be divided into Ethernet passive optical network equipment (EPON, Eethernet PassiveOpitcal Network), 10G Ethernet passive optical network equipment (10G EPON, 10G Eethernet PassiveOpitcal Network), Gigabit passive optical network equipment (GPON, Gigabit-capable Passive Optical Network), 10G passive optical network equipment (XGPON, 10-Gigabit-capable Passive Optical Networks), 10G symmetric passive optical network equipment (XGSPON, 10-Gigabit-capable Symmetric Passive Optical Networks), 50G high-speed passive optical network equipment (HSPON, Higher speed passive optical networks) and the future 100GPON, 200GPON (VHSP, Very higher speed passive optical networks), etc. These passive optical network system architectures generally include optical network terminals OLT, optical network units ONU and optical distribution networks (ODN). FTTR networks generally include MFU, SFU and indoor optical distribution networks (IFDN).

[0003] In passive optical network systems, different modes of PON access technology uplink and downlink scheduling usually adopt priority, weight scheduling, priority plus weight scheduling, etc. For example, a single TCONT of ONU or SFU usually contains 4 to 8 queues, each with different priorities or weights. When the bandwidth is insufficient, the low-priority queue message needs to wait until the high-priority queue message is transmitted before transmission. For the messages of the same priority queue, the message scheduling is performed by weight. Due to the influence of SN request windowing, ranging windowing and DBA scheduling cycle, the traditional message scheduling method often has an unstable forwarding delay, and the delay and jitter are relatively large, which cannot meet the TSN time-sensitive network (TSN) service requirements of the industrial PON system or other service scenarios that are sensitive to delay and jitter. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to propose a method, device and medium for realizing a time-sensitive network in a passive optical network system, aiming to realize a time-sensitive network through a passive optical network system, reduce the transmission delay of time-sensitive messages, reduce data transmission jitter, and meet the performance requirements of business scenarios for time-sensitive networks.

[0005] The present application provides a method for implementing a time-sensitive network in a passive network system, wherein the method includes:

[0006] Time synchronization is performed by broadcasting time-synchronized future superframes and timestamps;

[0007] Determine the time-sensitive network message entry, time-sensitive network message exit and delay information;

[0008] Controlling the time-sensitive network message inlet and the time-sensitive network message outlet to schedule the time-sensitive network message according to the delay information;

[0009] The window duration of the time-sensitive message is reduced and the dynamic bandwidth allocation scheduling frequency of the time-sensitive message is increased.

[0010] The embodiment of the present application further provides an electronic device, wherein the electronic device includes: one or more processors; a memory for storing one or more programs;

[0011] When the one or more programs are executed by the one or more processors, the one or more processors implement the time-sensitive network implementation method of the passive optical network system as described in any one of the embodiments of the present application.

[0012] An embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs are executed by the one or more processors to implement a time-sensitive network implementation method for a passive optical network system as described in any one of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a flow chart of a method for implementing a time-sensitive network of a passive optical network system provided in an embodiment of the present application;

[0014] Figure 2 It is a flowchart of another method for implementing a time-sensitive network of a passive optical network system provided in an embodiment of the present application;

[0015] Figure 3 It is an example diagram of a method for implementing a time-sensitive network of a passive optical network system provided in an embodiment of the present application;

[0016] Figure 4 This is an example diagram of TSN scheduling provided by an embodiment of the present application;

[0017] Figure 5 is another example diagram of TSN scheduling provided in an embodiment of the present application;

[0018] Figure 6 is another example diagram of TSN scheduling provided in an embodiment of the present application;

[0019] Figure 7 is another example diagram of TSN scheduling provided in an embodiment of the present application;

[0020] Figure 8 is another example diagram of TSN scheduling provided in an embodiment of the present application;

[0021] Fig. 9 This is a schematic diagram of a downlink superframe used for broadcasting provided in an embodiment of the present application;

[0022] Fig.10 This is another downlink superframe schematic diagram used in broadcasting provided in an embodiment of the present application.

[0023] Fig.11 This is a schematic diagram of a downlink timestamp provided in an embodiment of the present application;

[0024] Fig.12 It is a structural schematic diagram of a time-sensitive network implementation device of a passive optical network system provided in an embodiment of the present application;

[0025] Fig.13 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0027] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no special meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0028] Figure 1 is a flowchart of a method for implementing a time-sensitive network of a passive optical network system provided in an embodiment of the present application. The embodiment of the present application can be applied to the case of implementing a time-sensitive network. The method can be executed by a PON system. The device can be implemented by software and / or hardware. Figure 1 The method provided in the embodiment of the present application specifically includes the following steps:

[0029] Step 110: Time synchronization is performed by broadcasting a future superframe and a timestamp.

[0030] The time-synchronized future superframe may be data for indicating time synchronization, the time-synchronized future superframe may include the waiting time required for time synchronization, and the timestamp may identify information on the sending time of the time-synchronized future superframe.

[0031] In an embodiment of the present application, time-synchronized future superframes and timestamps may be broadcast in the PON system, and different devices in the PON system may perform time synchronization according to the received time-synchronized future superframes and timestamps, thereby ensuring that the time of different devices in the PON system is consistent.

[0032] Step 120: Determine the time-sensitive network message inlet, the time-sensitive network message outlet, and delay information.

[0033] Among them, the time-sensitive network message inlet and the time-sensitive network message outlet can be the entry device and output device of the time-sensitive network message in the time-sensitive network implemented by the PON system, and the delay information can be the time domain of information transmission in the time-sensitive network implemented by the PON system.

[0034] In an embodiment of the present application, a time-sensitive network message inlet for receiving a time-sensitive network and a time-sensitive network message outlet for outputting a time-sensitive network message can be determined in the PON system, and delay information can also be set for the implemented time-sensitive network. It can be understood that the time-sensitive network message outlet, time-sensitive network message inlet and delay information in the PON system can be determined by upper-layer command instructions, configuration or pre-configuration.

[0035] Step 130: Control the time-sensitive network message inlet and the time-sensitive network message outlet to schedule the time-sensitive network message according to the delay information.

[0036] In an embodiment of the present application, the PON system can schedule the time-sensitive network message according to the delay information so that the time from the time the time-sensitive network message enters the time-sensitive network message inlet to the time the time the time-sensitive network message is output from the time-sensitive network message outlet meets the requirements of the delay information. It can be understood that the time for the time-sensitive network message to be transmitted in the time-sensitive network implemented by the PON system can be equal to the delay information determined in the above steps.

[0037] Step 140: Reduce the window duration of the time-sensitive message and increase the dynamic bandwidth allocation scheduling frequency of the time-sensitive message.

[0038] The window duration may be the time length of the time-sensitive network message transmission, and the dynamic bandwidth allocation scheduling frequency may be the frequency of bandwidth allocation used for the time-sensitive network message transmission.

[0039] Specifically, the windowing duration of time-sensitive messages can be reduced and the frequency of dynamic bandwidth allocation scheduling (DBA) can be increased in the PON system, thereby reducing the transmission delay and jitter of time-sensitive messages in the PON system.

[0040] In an embodiment of the present application, time synchronization is performed by broadcasting a time-synchronized future superframe and a timestamp, determining a time-sensitive network message entry, a time-sensitive network message exit, and delay information of the time-sensitive network, controlling the time-sensitive network message entry and the time-sensitive network message exit to schedule the time-sensitive network message according to the delay information, and reducing the window duration of the time-sensitive network message and increasing the dynamic bandwidth allocation scheduling frequency of the time-sensitive network message, thereby realizing a time-sensitive network based on a PON system, realizing fixed low-latency transmission of time-sensitive messages, and reducing the transmission jitter of time-sensitive messages.

[0041] In some application embodiments, the time-synchronized future superframe is broadcasted via at least one of the following: an OLT-G message, a private OMCI message, a private PLOAM message, a private OAM message, or a private MPCP message.

[0042] In an embodiment of the present application, the PON system may include a GPON system and an EPON system. For the GPON system, the broadcast time synchronization of future superframes and timestamps may be sent via one or more messages including OLT-G messages, private optical network unit management and control interface (OMCI, ONU Management and Control Interface) messages, or private PLOAM messages, while in the EPON system, the time synchronization of future superframes and timestamps may be sent via private OAM messages or private MPCP messages.

[0043] Figure 2 is a flowchart of another method for implementing a time-sensitive network of a passive optical network system provided in an embodiment of the present application. The embodiment of the present application is a specific implementation based on the above-mentioned embodiment of the application. Figure 2 The method provided in the embodiment of the present application specifically includes the following steps:

[0044] Step 210: Broadcast time-synchronized future superframes and timestamps to target devices, where the target devices include at least one of ONU, SUF, and MFU.

[0045] The target device may be a component device of a PON system. Based on different structures of the component PON systems, the target device may include one or more of an ONU, a SUF, and an MFU.

[0046] In the embodiment of the present application, the PON system can broadcast the time-synchronized future superframe and the timestamp to the target devices such as ONU, SUF, MFU, etc. in the PON system.

[0047] Step 220: Control the target device to perform time synchronization according to the time synchronization future superframe and timestamp.

[0048] In an embodiment of the present application, each target device can perform time synchronization according to the received time synchronization future superframe and timestamp. It can be understood that due to the different types of target devices and their locations in the PON system, different target devices can use different methods to perform time synchronization based on the time synchronization future superframe and timestamp.

[0049] In some application embodiments, controlling the target device to perform time synchronization according to the time synchronization future superframe and the timestamp includes at least one of the following:

[0050] In the GPON system, the sum of the timestamp seconds of the future superframe of time synchronization, the timestamp nanoseconds of the future superframe of time synchronization, the balanced delay of the target device and the minimum response time of the target device is used as the timestamp of the target device after synchronization; in the EPON system, the sum of the timestamp seconds of the future superframe of time synchronization, the timestamp nanoseconds of the future superframe of time synchronization and the waiting time of the target device is used as the timestamp of the target device after synchronization.

[0051] The time-synchronized future superframe includes at least the timestamp second time and the timestamp nanosecond time, which can accurately synchronize time to the nanosecond level to improve the transmission accuracy of time-sensitive messages.

[0052] In the embodiment of the present application, different time synchronization methods can be adopted for different PON systems. In the GPON system, the timestamp seconds and nanoseconds of the future superframe of time synchronization can be extracted, and the balanced delay and minimum response time of the target device can be obtained. The sum of the above parameters can be used as the timestamp after the target device is synchronized. The time synchronization process can be expressed as follows:

[0053] TimeStamp newi =TimeStamp (s) +TimeStamp (ns) +EqD (i) +RspTime (i)

[0054] Among them, TimeStamp (s) and TimeStamp (ns) The timestamp seconds and nanoseconds received through broadcast, EqD (i) The balanced delay of the target device, RspTime (i) is the minimum response time of the target device.

[0055] In the EPON system, the timestamp seconds and nanoseconds of the time synchronization future superframe and the waiting time of the target device can be extracted. The sum of the timestamp seconds of the time synchronization future superframe, the timestamp nanoseconds of the time synchronization future superframe and the waiting time of the target device can be used as the timestamp after the target device is synchronized. The time synchronization process can be expressed as follows:

[0056] TimeStamp newi =TimeStamp (s) +TimeStamp (ns) +Twait (i)

[0057] Among them, TimeStamp (s)and TimeStamp (ns) The timestamp seconds and nanoseconds received through broadcast, Twait (i) Waiting time for the target device.

[0058] Step 230: Determine the time-sensitive network message inlet, the time-sensitive network message outlet, and delay information.

[0059] In some application embodiments, the time-sensitive network message inlet, the time-sensitive network message outlet and the delay information are determined by at least one of the following: OLT command, network management, WEB page, mobile phone application software.

[0060] In an embodiment of the present application, operation and maintenance personnel can configure the time-sensitive network message entry, time-sensitive network message exit, and delay information through one or more of OLT commands, network management, WEB pages, and mobile phone application software, thereby determining the time-sensitive network message entry, time-sensitive network message exit, and delay information of the time-sensitive network in the PON system.

[0061] Step 240: Control the time-sensitive network message entry to identify the time-sensitive network message and add a time-sensitive network entry tag to the time-sensitive network message.

[0062] The time-sensitive network entry tag may be a tag set at the time-sensitive network message entry, and the time-sensitive network entry tag may identify the time when the time-sensitive network message enters the time-sensitive network message entry.

[0063] In an embodiment of the present application, a time-sensitive network message entry can monitor time-sensitive network messages. When a time-sensitive network message is identified, a time-sensitive network entry tag can be added to the time-sensitive network message to identify the time when the time-sensitive network message enters the time-sensitive network.

[0064] In some embodiments of the present application, the time-sensitive network entry tag includes at least: an entry timestamp.

[0065] Step 250: Control the time-sensitive network message egress to schedule the time-sensitive network message with the time-sensitive network ingress tag added according to the delay information.

[0066] In an embodiment of the present application, a time-sensitive network message exit can receive a time-sensitive network message transmitted by a time-sensitive network message entry. The time-sensitive network message exit can extract a time-sensitive network entry tag added to the time-sensitive network message, and schedule the time-sensitive network message according to the time-sensitive network entry tag and the previously determined delay information, so that the transmission delay of the time-sensitive network message in the time-sensitive network is equal to the delay information.

[0067] Step 260: Reduce the window duration of the time-sensitive message and increase the dynamic bandwidth allocation scheduling frequency of the time-sensitive message.

[0068] In some application embodiments, the amount of reduction in the window duration is determined based on the transmission optical fiber distance of the time-sensitive message.

[0069] In an embodiment of the present application, the amount of reduction in the window opening time can be determined by the transmission fiber distance of the time-sensitive message. When the maximum fiber distance is 2KM, the window opening time can be reduced to within 100us.

[0070] In some application embodiments, the time-sensitive network message inlet and the time-sensitive network message outlet respectively include at least one of the following: an OLT uplink port, an ONU, an SFU, an MFU Ethernet port, and a wireless network port.

[0071] In some application embodiments, the time-sensitive network ingress tag is added before or after the VLAN tag of a standard Ethernet packet of the time-sensitive network message.

[0072] In an embodiment of the present application, the time-sensitive network entry modifies the standard Ethernet packet to implement the addition of a time-sensitive network entry tag, and the time-sensitive network entry tag can be added before or after the VLAN tag of the standard Ethernet packet.

[0073] In some application embodiments, controlling the time-sensitive network message egress to schedule the time-sensitive network message with the time-sensitive network ingress tag added according to the delay information includes:

[0074] Controlling the time-sensitive network message egress to determine whether the time-sensitive network message reaches the specified delay time of the delay information according to the ingress timestamp of the time-sensitive network ingress tag and the delay information;

[0075] Determining that the specified delay time has not been reached, controlling the time-sensitive network message egress to cache the time-sensitive network message until the specified delay time is reached;

[0076] Determining that the specified delay time has been reached, controlling the time-sensitive network message egress to remove the time-sensitive ingress tag and then transmit the time-sensitive network message;

[0077] It is determined that the specified delay time has been exceeded, and the time-sensitive network message egress is controlled to discard or send the time-sensitive network message after removing the time-sensitive ingress tag.

[0078] In the embodiment of the present application, the time-sensitive network message egress extracts the ingress timestamp of the time-sensitive network ingress tag, and makes a judgment according to the ingress timestamp and the specified delay time of the delay information. The judgment results have three situations:

[0079] In the first case, the time-sensitive network message egress determines that the transmission time length of the time-sensitive network message in the time-sensitive network is less than the specified delay time specified by the delay information through the time-sensitive network ingress label of the time-sensitive network message, and then the time-sensitive network message egress stores the time-sensitive network message for a period of time until the transmission time length of the time-sensitive network message is equal to the time length specified by the delay information;

[0080] In the second case, the time-sensitive network message egress determines that the transmission time length of the time-sensitive network message in the time-sensitive network is equal to the specified delay time specified by the delay information through the time-sensitive network ingress tag of the time-sensitive network message, and the time-sensitive network message egress removes the time-sensitive network ingress tag from the time-sensitive network message and transmits the time-sensitive network message out of the time-sensitive network;

[0081] The third situation is that the time-sensitive network message exit determines through the time-sensitive network entry label of the time-sensitive network message that the transmission time length of the time-sensitive network message in the time-sensitive network is greater than the specified delay time specified by the delay information. The time-sensitive network message exit can discard the time-sensitive network message, or, after removing the time-sensitive network entry label from the time-sensitive network message, transmit the time-sensitive network message out of the time-sensitive network.

[0082] In an embodiment of the present application, the time-sensitive network message egress can determine whether the time-sensitive network message reaches the specified delay time of the delay information according to the time difference between the arrival time of the time-sensitive network message and the entry timestamp of the time-sensitive network entry tag.

[0083] In some application embodiments, it also includes: controlling the time-sensitive network message egress to schedule the time-sensitive network message without the time-sensitive network ingress tag according to the existing scheduling rules.

[0084] Specifically, when the time-sensitive network message egress identifies a time-sensitive network message without a time-sensitive network entry label, these time-sensitive network messages can be scheduled according to existing scheduling rules. It can be understood that the existing scheduling rules may include SP scheduling rules, WRR scheduling rules, or SP+WRR scheduling rules, etc.

[0085] In an exemplary embodiment, a TSN network is implemented according to a PON system. The method may specifically include the following steps:

[0086] 1. Time synchronization is performed by broadcasting the future superframe (future SFC) and timestamp.

[0087] Specifically, the PON system needs to perform time synchronization first to implement TSN message scheduling. In the PON system, OLT, ONU, MFU, SFU and other devices can perform time synchronization by broadcasting the time-synchronized future superframe and the timestamp corresponding to the time-synchronized future superframe. For the EPON system, the time-synchronized future superframe (future SFC) can be replaced by Timestamp (mpcp).

[0088] For the GPON system, the OLT-G message defined in the G.988 standard can be reused to send the future value of time synchronization, or it can be sent through a private OMCI message or a private PLOAM message. The field definition when sending through the OLT-G message is as shown in Table 1 below, where Time of day information (14 bytes) consists of four parts: SFC, TimeStamp(s), TimeStamp(ns), and Reserved.

[0089] Table 1 OLT-G message field definition

[0090]

[0091] For the EPON system, the time-synchronized future superframe and timestamp can be delivered via private OAM or private MPCP messages.

[0092] After the ONU / SFU or MFU uplink PON port receives the time synchronization future superframe and timestamp, it needs to correct the timestamp. For the GPON system, the correction algorithm is as follows, where TimeStamp newi The timestamp corrected by ONUi, TimeStamp (s) and TimeStamp (ns) The timestamp seconds and nanoseconds received through broadcast, EqD (i) is the balanced delay of ONUi, RspTime (i)The minimum response time of ONUi. When the time synchronization future superframe of the downstream frame received by ONUi is consistent with the time synchronization future superframe received through broadcast, ONUi needs to use Timestamp newi Synchronize time as a benchmark.

[0093] TimeStamp newi =TimeStamp (s) +TimeStamp (ns) +EqD (i) +RspTime (i)

[0094] For the EPON system, the correction algorithm is as follows, where TimeStamp newi The timestamp corrected by ONUi, TimeStamp (s) and TimeStamp (ns) The timestamp seconds and nanoseconds received through broadcast, Twait (i) The waiting time of ONUi. When ONUi receives the Timestamp in the MPCP message of the downstream frame (mpcp) and the future Timestamp received via broadcast (mpcp) When consistent, ONUi needs to use Timestamp newi Synchronize time as a benchmark.

[0095] TimeStamp newi =TimeStamp (s) +TimeStamp (ns) +Twait (i)

[0096] When there are many ONUs or SFUs under the PON system, the calculation amount and computing resource consumption of the devices in the PON system can be effectively reduced by broadcasting time to synchronize future superframes and timestamps. The time synchronization information is regularly updated through timers or interrupts to ensure the TSN scheduling accuracy.

[0097] 2. Confirm the TSN message entry, TSN message exit and delay information in the PON system.

[0098] Specifically, after the PON system completes time synchronization, it is necessary to determine the TSN message entry, TSN message exit, and TSN message transmission delay information within the PON system. The TSN message entry and TSN message exit can be the OLT uplink port, ONU / SFU or MFU Ethernet port or wireless network port, etc. The delay information can be sent down in units of us, such as the TSN message is scheduled with a fixed delay of 500us at the entry and exit.

[0099] In an embodiment of the present application, the TSN message inlet, TSN message outlet and delay information can be configured according to the actual business scenario through the OLT command line, network management, web page, mobile phone APP and other media. For example, in the FTTR networking scenario of the industrial PON system, the TSN scheduling of the fixed delay of 500us for specific control signaling messages between the two SFU Ethernet ports can be configured through the mobile phone APP to meet the TSN business requirements of the industrial PON system.

[0100] 3. The TSN message entry identifies the TSN message and adds a TSN entry label to the TSN message.

[0101] Specifically, the TSN message entry can identify TSN messages according to instructions configured by other media. For example, the TSN message entry can be configured through the OLT command line to match specific VLAN messages as TSN messages. The TSN message entry can also automatically identify TSN messages according to business scenarios. In the industrial PON system FTTR networking scenario, the TSN message entry automatically identifies specific control signaling messages as TSN messages. The TSN message entry can add TSN entry tags to the identified TSN messages.

[0102] In the embodiment of the present application, the TSN inlet tag must at least include an inlet timestamp, which can be in ns. When the TSN message inlet and TSN message outlet need to perform TSN scheduling and statistics on multiple flows respectively, different flows need to be distinguished by different flowids, and the same flow needs to count TSN messages by Seqnum. The TSN inlet tag can be added before or after the VLAN tag of the standard Ethernet packet. It is understandable that the same PON system needs to use a unified TSN inlet tag to facilitate the TSN message outlet to process the TSN message.

[0103] 4. The TSN message egress performs egress TSN scheduling based on the TSN ingress label.

[0104] Specifically, the TSN message exit determines whether the TSN message has a TSN entry label. If so, it determines whether the delay time has arrived based on the entry timestamp and delay information of the TSN entry label. If the delay time has not arrived, the TSN message continues to be cached; if the delay time has arrived, the TSN entry label is removed and the TSN message is sent first; if the delay time has exceeded, the PON system can choose to discard or continue to send the TSN message; if there is no TSN entry label, the message is scheduled by SP, WRR or SP+WRR according to the existing scheduling rules.

[0105] In order to ensure the accuracy of TSN message scheduling, the TSN scheduling priority usually needs to be higher than the traditional SP, WRR or SP+WRR scheduling. At the same time, different flowid messages are cached and scheduled through different queues. For example, the LAN port contains 8 egress queues, and 4 of them can be selected for TSN message cache scheduling, and the other 4 queues can be SP, WRR or SP+WRR scheduling. The TSN queue scheduling priority needs to be higher than other queues. When the TSN message scheduling of different flowids conflicts, the TSN message scheduling of the high-priority flowid can be prioritized. The flowid priority can be specified by other media such as OLT commands and mobile phone APP.

[0106] 5. Further reduce the scheduling delay by reducing the window opening and increasing the DBA scheduling frequency.

[0107] Specifically, the message delay and jitter of the PON system are usually closely related to the SN, ranging windowing and DBA scheduling period. For example, if the logical distance is 20km, the SN and ranging windowing usually require 250us; the DBA scheduling frequency is once every 4 frames. When the bandwidth is relatively small, the maximum DBA scheduling delay will reach 500us.

[0108] In order to further reduce the message scheduling delay, including TSN messages and traditional SP, WRR or SP+WRR scheduling messages, it can be achieved by reducing the window opening and increasing the DBA scheduling frequency. For example, in the industrial PON system FTTR networking scenario, the maximum optical fiber distance is generally not more than 2km, the window opening can be reduced to less than 100us, and the bandwidth is allocated to a specific Alloc-ID multiple times in one frame. The DBA scheduling delay can be reduced to less than 125us, so as to achieve the reduction of PON channel message scheduling delay.

[0109] In an exemplary embodiment, Figure 3 is an example diagram of a method for implementing a time-sensitive network of a passive optical network system provided in an embodiment of the present application, see Figure 3 The present invention provides a method for implementing TSN of a PON system, the method comprising:

[0110] S301: The PON system performs time synchronization by broadcasting the future SFC and timestamp, and the EPON system replaces the future SFC with Timestamp (mpcp);

[0111] S302: The TSN message inlet, TSN message outlet and delay information of the PON system can be configured through the OLT command line, network management, web page, mobile phone APP and other media according to the actual business scenario;

[0112] S303: Determine whether the TSN message entry has received the TSN message, if yes, proceed to step S906, if not, proceed to step S904;

[0113] S304: Determine whether the TSN message outlet has received the TSN message, if yes, proceed to step S906, if not, proceed to step S905;

[0114] S305: Keep the current SP / WRR or SP+WRR scheduling mode unchanged;

[0115] S306: Add a TSN ingress label to the ingress, remove the TSN ingress label from the egress and perform TSN scheduling;

[0116] S307: The PON system further reduces scheduling delay by reducing SN and ranging windowing and DBA scheduling period, including TSN scheduling and traditional SP, WRR or SP+WRR scheduling delay.

[0117] The method provided in the embodiment of the present application can be applied to the network architecture of different PON systems:

[0118] See also Figure 4 , OLT hangs ONU / MFU through ODN, the upstream entry of TSN message scheduling is the ONU / MFU Ethernet port or wireless network port, and the upstream exit is the OLT uplink port; the downstream entry of TSN message scheduling is the OLT uplink port, and the downstream exit is the ONU / MFU Ethernet port or wireless network port. The entry, exit and scheduling delay can be configured through media such as OLT command line and mobile phone APP.

[0119] See also Figure 5 , OLT hangs MFU through ODN, MFU hangs SFU through IFDN, the upstream inlet of TSN message scheduling is SFU Ethernet port or wireless network port, and the upstream outlet is OLT uplink port; the downstream inlet of TSN message scheduling is OLT uplink port, and the downstream outlet is SFU Ethernet port or wireless network port. The inlet, outlet and scheduling delay can be configured through media such as OLT command line and mobile phone APP.

[0120] See also Figure 6 , OLT hangs ONU / MFU through ODN, and the two ONU / MFU communicate with each other in the east-west direction. The TSN message scheduling inlet and outlet are the Ethernet ports or wireless network ports of the two ONU / MFU. The inlet, outlet and scheduling delay can be configured through media such as OLT command line and mobile phone APP.

[0121] See also Figure 7, OLT hangs MFU through ODN, MFU hangs SFU through IFDN, and the two SFUs communicate east-west. The TSN message scheduling inlet and outlet are the Ethernet ports or wireless network ports of the two SFUs. The inlet, outlet and scheduling delay can be configured through media such as OLT command line and mobile phone APP.

[0122] See also Figure 8 , OLT hangs ONU and MFU through ODN, MFU hangs SFU through IFDN, ONU and SFU communicate in the east-west direction, the TSN message scheduling inlet and outlet are the Ethernet port or wireless network port of ONU and SFU, and the inlet, outlet and scheduling delay can be configured through media such as OLT command line and mobile phone APP.

[0123] See also Fig. 9 In the embodiment of the present application, the G.984.3 standard downstream superframe IDENT field used for broadcasting in the above-mentioned PON system includes an FEC Ind indication bit, a Reserved reserved bit, and a Superframe counter indication bit. ONUi can receive a time-synchronized future superframe and a timestamp corresponding to a time-synchronized future superframe. ONUi can correct its own timestamp. When the downstream frame Superframe counter indication bit is consistent with the time-synchronized future superframe, ONUi performs time synchronization based on the corrected timestamp.

[0124] like Fig.10 As shown, in the embodiment of the present application, the G.987.3 / G.9807.1 / G.9804.2 standard downstream frame SFC structure field used for broadcast in the above-mentioned PON system includes a Superframe counter indication bit and a HEC check bit. After ONUi receives the future SFC and the timestamp corresponding to the future SFC, it corrects the timestamp. When the downstream frame Superframe counter indication bit is consistent with the future SFC, ONUi performs time synchronization based on the corrected timestamp.

[0125] See also Fig.11 The IEEE 802.3 standard downlink frame MPCPDU used for broadcasting the timestamp in the above PON system contains indication bits such as Destination Address, Source Address, Length / Type, Opcode, Timestamp, Data / Reserved / Pad, and FCS. ONUi receives the future Timestamp. (mpcp) and future Timestamp (mpcp)Correct the timestamp after the corresponding timestamp, and wait for the downlink frame Timestamp indicator bit and the future Timestamp (mpcp) When they are consistent, ONUi performs time synchronization based on the corrected timestamp.

[0126] Fig.12 This is a schematic diagram of the structure of a time-sensitive network implementation device for a passive optical network system provided in an embodiment of the present application. It can execute the time-sensitive network implementation method for a passive optical network system provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. The device can be implemented by software and / or hardware, and is generally integrated in a PON system, and can be specifically an OLT device or a host computer, etc., see Fig.12 The message sending device specifically includes: a time synchronization module 401, a device configuration module 402, a scheduling control module 403 and a delay adjustment module 404.

[0127] The time synchronization module 401 is used to perform time synchronization by broadcasting time synchronization of future superframes and timestamps.

[0128] The device configuration module 402 is used to determine the time-sensitive network message inlet, the time-sensitive network message outlet and the delay information.

[0129] The scheduling control module 403 is used to control the time-sensitive network message inlet and the time-sensitive network message outlet to schedule the time-sensitive network message according to the delay information.

[0130] The delay adjustment module 404 is used to reduce the window duration of the time-sensitive message and increase the dynamic bandwidth allocation scheduling frequency of the time-sensitive message.

[0131] In some application embodiments, the time-synchronized future superframe is broadcasted by at least one of:

[0132] OLT-G message, private OMCI message, private PLOAM message, private OAM message, private MPCP message.

[0133] In some application embodiments, the time synchronization module 401 includes:

[0134] An information broadcasting unit is used to broadcast the time-synchronized future superframe and the timestamp to a target device, wherein the target device includes at least one of an ONU, a SUF, and an MFU.

[0135] A synchronization control unit is used to control the target device to perform time synchronization according to the time synchronization future superframe and the timestamp.

[0136] In some application embodiments, the synchronization control unit is specifically used to: in a GPON system, use the sum of the timestamp seconds of the time synchronization future superframe, the timestamp nanoseconds of the time synchronization future superframe, the equalization delay of the target device, and the minimum response time of the target device as the timestamp of the target device after synchronization; in an EPON system, use the sum of the timestamp seconds of the time synchronization future superframe, the timestamp nanoseconds of the time synchronization future superframe, and the waiting time of the target device as the timestamp of the target device after synchronization.

[0137] In other application embodiments, the time-sensitive network message entry, the time-sensitive network message exit and the delay information in the device configuration module 402 are determined by at least one of the following: OLT command, network management, WEB page, mobile phone application software.

[0138] In other application embodiments, the time-sensitive network message inlet and the time-sensitive network message outlet in the device respectively include at least one of the following: OLT uplink port, ONU, SFU, MFU Ethernet port, and wireless network port.

[0139] In some application embodiments, the scheduling control module 403 is specifically used to: control the time-sensitive network message export to determine whether the time-sensitive network message reaches the specified delay time of the delay information according to the entry timestamp of the time-sensitive network entry label and the delay information; determine that the specified delay time has not been reached, control the time-sensitive network message export to cache the time-sensitive network message until the specified delay time is reached; determine that the specified delay time has been reached, control the time-sensitive network message export to remove the time-sensitive entry label and then transmit the time-sensitive network message; determine that the specified delay time has been exceeded, control the time-sensitive network message export to discard or send the time-sensitive network message after removing the time-sensitive entry label and then transmitting the time-sensitive network message.

[0140] In some application embodiments, the scheduling control module 403 is further specifically used to control the time-sensitive network message egress to schedule the time-sensitive network message without the time-sensitive network ingress tag according to an existing scheduling rule.

[0141] In some application embodiments, the reduction amount of the window duration in the delay adjustment module 404 is determined according to the transmission optical fiber distance of the time-sensitive message.

[0142] Fig.13 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, the electronic device includes a processor 50, a memory 51, an input device 52 and an output device 53; the number of processors 50 in the electronic device can be one or more, Fig.13A processor 50 is taken as an example; the processor 50, the memory 51, the input device 52 and the output device 53 in the electronic device can be connected by a bus or other means. Fig.13 The example of connecting through bus is taken in the following.

[0143] The memory 51, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the modules corresponding to the network optimization device in the embodiment of the present application (time synchronization module 401, device configuration module 402, scheduling control module 403 and delay adjustment module 404). The processor 50 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 51, that is, implementing the above method.

[0144] The memory 51 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 51 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 51 may further include a memory remotely arranged relative to the processor 50, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0145] The input device 52 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 53 may include a display device such as a display screen.

[0146] The embodiment of the present application further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a time-sensitive network implementation method of a passive optical network system when executed by a computer processor, the method comprising:

[0147] Time synchronization is performed by broadcasting time-synchronized future superframes and timestamps;

[0148] Determine the time-sensitive network message entry, time-sensitive network message exit and delay information;

[0149] Controlling the time-sensitive network message inlet and the time-sensitive network message outlet to schedule the time-sensitive network message according to the delay information;

[0150] The window duration of the time-sensitive message is reduced and the dynamic bandwidth allocation scheduling frequency of the time-sensitive message is increased.

[0151] Through the above description of the implementation method, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0152] It is worth noting that in the embodiment of the above-mentioned device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0153] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0154] In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0155] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the present invention is not limited thereby. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present invention shall be within the scope of the present invention.

Claims

1. A method for implementing a time-sensitive network in a passive optical network system, wherein: The method includes: Time synchronization is performed by broadcasting time-synchronized future superframes and timestamps; Determine the time-sensitive network message entry, time-sensitive network message exit and delay information; Controlling the time-sensitive network message inlet and the time-sensitive network message outlet to schedule the time-sensitive network message according to the delay information; The window duration of the time-sensitive message is reduced and the dynamic bandwidth allocation scheduling frequency of the time-sensitive message is increased.

2. The method according to claim 1, characterized in that: The time-synchronized future superframe is broadcasted by at least one of: OLT-G message, private OMCI message, private PLOAM message, private OAM message, private MPCP message.

3. The method according to claim 1, characterized in that: The time synchronization by broadcasting the future superframe and the timestamp includes: Broadcasting the time-synchronized future superframe and the timestamp to a target device, wherein the target device includes at least one of an ONU, a SUF, and an MFU; The target device is controlled to perform time synchronization according to the time synchronization future superframe and the timestamp.

4. The method according to claim 3, characterized in that: The controlling the target device to perform time synchronization according to the time synchronization future superframe and the timestamp comprises at least one of the following: In the GPON system, the sum of the timestamp seconds of the future superframe of the time synchronization, the timestamp nanoseconds of the future superframe of the time synchronization, the equalization delay of the target device and the minimum response time of the target device is used as the timestamp of the target device after synchronization; In the EPON system, the sum of the timestamp seconds of the time synchronization future superframe, the timestamp nanoseconds of the time synchronization future superframe and the waiting time of the target device is used as the timestamp of the target device after synchronization.

5. The method according to claim 1, characterized in that: The time-sensitive network message inlet, the time-sensitive network message outlet and the delay information are determined by at least one of the following: an OLT command, a network management, a WEB page, or a mobile phone application software.

6. The method according to claim 1, characterized in that: The time-sensitive network message inlet and the time-sensitive network message outlet respectively include at least one of the following: an OLT uplink port, an ONU, an SFU, an MFU Ethernet port, and a wireless network port.

7. The method according to claim 1, characterized in that: The controlling the time-sensitive network message inlet and the time-sensitive network message outlet to schedule the time-sensitive network message according to the delay message includes: Controlling the time-sensitive network message entry to identify the time-sensitive network message and adding a time-sensitive network entry tag in the time-sensitive network message; The time-sensitive network message egress is controlled to schedule the time-sensitive network message with the time-sensitive network ingress label added according to the delay information.

8. The method according to claim 7, characterized in that: The time-sensitive network ingress tag at least includes: an ingress timestamp.

9. The method according to claim 7, characterized in that: The time-sensitive network entry tag is added before or after the VLAN tag of the standard Ethernet packet of the time-sensitive network message.

10. The method according to claim 7, characterized in that: The controlling the time-sensitive network message egress to schedule the time-sensitive network message with the time-sensitive network ingress tag added according to the delay information includes: Controlling the time-sensitive network message egress to determine whether the time-sensitive network message reaches the specified delay time of the delay information according to the ingress timestamp of the time-sensitive network ingress tag and the delay information; Determining that the specified delay time has not been reached, controlling the time-sensitive network message egress to cache the time-sensitive network message until the specified delay time is reached; Determining that the specified delay time has been reached, controlling the time-sensitive network message egress to remove the time-sensitive ingress tag and then transmit the time-sensitive network message; It is determined that the specified delay time has been exceeded, and the time-sensitive network message egress is controlled to discard or the time-sensitive network message is transmitted after the time-sensitive ingress tag is removed.

11. The method according to claim 7, characterized in that: Also includes: The time-sensitive network message egress is controlled to schedule the time-sensitive network message without the time-sensitive network ingress tag according to an existing scheduling rule.

12. The method according to claim 1, characterized in that: The reduction amount of the window duration is determined according to the transmission optical fiber distance of the time-sensitive message.

13. An electronic device, characterized in that: The electronic device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the time-sensitive network implementation method of the passive optical network system according to any one of claims 1 to 12.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs are executed by the one or more processors to implement the time-sensitive network implementation method of the passive optical network system according to any one of claims 1-12.

Citation Information

Patent Citations

  • Time delay sensitive network service TSN processing method, device and system

    CN111865830A

  • Bandwidth adjustment method and device and computer readable storage medium

    CN113055205A

  • Periodic service transmission method and device, communication node and storage medium

    CN113497986A

  • Method for setting length of static window and related equipment

    CN113727218A

  • Active network tap supporting time sensitive network (TSN) standards

    US20200244382A1

Cited By

  • Network integrated management platform supporting TSN-PON software defined network

    CN120980379A

  • Network integrated management platform supporting tsn-pon software defined network

    CN120980379B

  • OLT (Optical Line Terminal) equipment based on all-optical network

    CN121151721A

  • An optical line terminal (OLT) device based on an all-optical network

    CN121151721B

  • Timestamp parallel access method, system and device based on FTTR gateway and medium

    CN122247549A