Downlink service sending method and device, downlink service receiving method and device, storage medium and electronic device

By sharing the downlink time division scheduling results of downlink services between the optical circuit terminal and the optical network unit, the problem that the optical network unit cannot receive downlink services efficiently is solved, and efficient reception of downlink services sent by the optical network terminal is achieved.

CN119211781APending Publication Date: 2024-12-27ZTE CORP
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310771257.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Optical network units cannot efficiently receive downlink services sent by optical network terminals, and there is a lack of effective solutions in the prior art.

Method used

The optical circuit terminal OLT shares the downlink time division scheduling result of downlink service with the optical network unit ONU, including specifying the transmission time, to ensure that the ONU can receive the corresponding downlink service according to the scheduling result.

Benefits of technology

By sharing the downlink time division scheduling results, ONU can efficiently receive downlink services sent by OLT, solving the problem of low reception efficiency of optical network units.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211781A_ABST
    Figure CN119211781A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a downlink service sending method and device, a downlink service receiving method and device, a storage medium and an electronic device. The downlink service sending method comprises: an optical line terminal (OLT) shares a downlink time division scheduling result of a downlink service with an optical network unit (ONU) according to a first specified mode, the downlink time division scheduling result at least comprising sending moments of one or more downlink services; and the OLT sends a downlink service according to the downlink time division scheduling result. According to the method, the problem that the optical network unit cannot efficiently receive the downlink service sent by the optical network terminal is solved, and the technical effect that the optical network unit can efficiently receive the downlink service sent by the optical network terminal is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communications, and in particular, to a method and device for sending and receiving downlink services, a storage medium, and an electronic device. Background Art

[0002] Passive Optical Network (PON) is a point-to-multipoint network topology. The optical line terminal (OLT) connects multiple optical network units (ONU) through the optical distribution network (ODN).

[0003] The uplink direction adopts the time division multiple access (TDMA) mechanism. The OLT allocates uplink bandwidth to the ONU through the dynamic bandwidth allocation (DBA) mechanism. The ONU sends uplink services within the uplink bandwidth allocated by the OLT.

[0004] The downlink direction uses the time-division multiplexing (TDM) mechanism. Currently, the TDM mechanism in the downlink direction is generally completed through scheduling based on priority and weight, for example, Figure 1 As shown, in priority scheduling, high-priority services are sent first, and low-priority services are sent later; for example, Figure 2 As shown, in weight-based scheduling, more services with greater weights are sent, less services with smaller weights are sent, and services with the same weights are sent the same amount; of course, Figure 3 As shown, hybrid scheduling can also be implemented based on priority and weight. This scheduling based on priority and weight is generally to send services while scheduling. The location and duration of various services sent after scheduling are generally unpredictable, and the scheduling results cannot be given in advance, and the receiving party cannot be given a receiving suggestion.

[0005] With the promotion of passive optical network applications, the line rate is getting higher and higher, and different generations are being continuously updated. In this process, new business needs continue to emerge. For example, as the rate continues to increase, the receiving capacity of the ONU also needs to be continuously improved, but the ONU really needs to receive a small part of the business. The standard organization has proposed that the ONU only receive its own part to achieve ONU energy saving; for example, since the line loss of the branch optical fiber where each ONU is located is different, different FEC encoding or different modulation methods can be used to achieve a compact power budget and fully improve the overall bandwidth; for example, in the current passive optical network standardization, different generations of passive optical network PON generally use different upstream and downstream wavelengths, and different generations use wavelength division evolution coexistence. However, as wavelength resources become increasingly scarce, different generations of PON may use the same upstream and downstream wavelengths. Therefore, different generations of PON need to achieve time division evolution coexistence, and different rate services in the downstream direction are sent using TDM; finally, the demand for passive optical network systems to carry low-latency services is increasing, which puts forward new requirements for the transmission of upstream and downstream services. These requirements have brought new challenges to the implementation of the downlink TDM mechanism.

[0006] With regard to the problem in the related art that the optical network unit cannot efficiently receive the downlink service sent by the optical network terminal, no effective solution has been proposed yet. Summary of the invention

[0007] The embodiments of the present invention provide a method and device for sending and receiving downlink services, a storage medium and an electronic device, so as to at least solve the problem in the related art that an optical network unit cannot efficiently receive downlink services sent by an optical network terminal.

[0008] According to one embodiment of the present invention, a method for sending a downlink service is provided, comprising: an optical line terminal OLT shares a downlink time division scheduling result of a downlink service with an optical network unit ONU in a first specified manner, wherein the downlink time division scheduling result includes at least one or more sending times of downlink services; and the OLT sends the downlink service according to the downlink time division scheduling result.

[0009] According to another embodiment of the present invention, a method for sending a downlink service is also provided, comprising: determining the downlink service to be sent, and performing downlink time-division scheduling on the downlink service based on at least one of the following: service traffic, service characteristics, and external input; before sending the downlink service based on the downlink time-division scheduling result of the downlink service, sharing the downlink time-division scheduling result of the downlink service with the ONU in a first specified manner, wherein the downlink time-division scheduling result includes at least one or more sending times of the downlink services.

[0010] According to another embodiment of the present invention, a method for receiving a downlink service is also provided, including: the ONU obtains a downlink time-division scheduling result of the downlink service according to a second specified method, wherein the downlink time-division scheduling result includes at least one or more sending times of the downlink services; the ONU receives a target downlink service according to the downlink time-division scheduling result, wherein the target downlink service is a service related to the ONU among the one or more downlink services.

[0011] According to another embodiment of the present invention, a device for sending a downlink service is also provided, including: a first sharing module, used to share a downlink time division scheduling result of the downlink service with an optical network unit ONU in a first specified manner, wherein the downlink time division scheduling result includes at least one or more sending times of the downlink service; and a sending module, used to send the downlink service according to the downlink time division scheduling result.

[0012] According to another embodiment of the present invention, there is also provided a device for sending a downlink service, comprising: a scheduling module, used to determine the downlink service to be sent, and perform downlink time-division scheduling on the downlink service based on at least one of the following: service traffic, service characteristics, and external input; a second sharing module, used to share the downlink time-division scheduling result of the downlink service with the ONU in a first specified manner before sending the downlink service based on the downlink time-division scheduling result of the downlink service, wherein the downlink time-division scheduling result includes at least one or more sending times of the downlink services.

[0013] According to another embodiment of the present invention, a device for receiving a downlink service is also provided, including: an acquisition module, used to obtain a downlink time-division scheduling result of the downlink service according to a second specified method, wherein the downlink time-division scheduling result includes at least one or more sending times of the downlink services; a receiving module, used to receive a target downlink service according to the downlink time-division scheduling result, wherein the target downlink service is a service related to a target ONU among the one or more downlink services.

[0014] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.

[0015] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0016] Through the present invention, the optical line terminal OLT shares the downlink time division scheduling result of the downlink service with the optical network unit ONU in a first designated manner, wherein the downlink time division scheduling result at least includes the sending time of one or more downlink services; the OLT sends the downlink service according to the downlink time division scheduling result. Since the OLT shares the downlink time division scheduling result of the downlink service with the ONU in advance, a receiving suggestion for the ONU to receive the downlink service is given, and then the ONU can receive the downlink service sent by the OLT according to the downlink time division scheduling result, thereby solving the problem that the optical network unit cannot efficiently receive the downlink service sent by the optical network terminal, and achieving the technical effect that the optical network unit can efficiently receive the downlink service sent by the optical network terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is an example diagram of an existing priority-based scheduling;

[0018] Figure 2 This is an example diagram of an existing weight-based scheduling;

[0019] Figure 3 This is an example diagram of an existing hybrid scheduling based on priority and weight;

[0020] Figure 4 It is a hardware structure block diagram of a mobile terminal according to a method for sending and receiving downlink services in an embodiment of the present invention;

[0021] Figure 5 is a flow chart of a method for sending a downlink service according to an embodiment of the present invention;

[0022] Figure 6 is a flowchart of another method for sending a downlink service according to an embodiment of the present invention;

[0023] Figure 7 is a flow chart of a method for receiving a downlink service according to an embodiment of the present invention;

[0024] Figure 8 is a flow chart of a complete downlink time division scheduling according to an embodiment of the present invention;

[0025] Fig. 9 This is an example diagram of using other scheduling methods for scheduling in a downlink time division scheduling time slot according to an embodiment of the present invention;

[0026] Fig.10 This is an example diagram of using other scheduling methods for scheduling outside the downlink time division scheduling time slot according to an embodiment of the present invention;

[0027] Fig.11 It is a schematic diagram of the structure of the existing FS frame;

[0028] Fig.12 is a diagram showing an example structure of an improved FS frame according to an embodiment of the present invention;

[0029] Fig.13 is a diagram showing an example structure of a FS frame payload according to an embodiment of the present invention;

[0030] Fig.14 is an example diagram of forming a PHY frame from an FS frame according to an embodiment of the present invention;

[0031] Fig.15 This is an example diagram of a downlink time division scheduling result indicating each ONU time slot according to an embodiment of the present invention;

[0032] Fig.16 is an example diagram of global downlink time division scheduling according to an embodiment of the present invention;

[0033] Fig.17 is an example diagram of local downlink time division scheduling according to an embodiment of the present invention;

[0034] Fig.18 is an example diagram of default downlink time division scheduling according to an embodiment of the present invention;

[0035] Fig.19 is a structural block diagram of a downlink service sending device according to an embodiment of the present invention;

[0036] Fig. 20 is a structural block diagram of another downlink service sending device according to an embodiment of the present invention;

[0037] Fig.21 It is a structural block diagram of a receiving device for downlink services according to an embodiment of the present invention. DETAILED DESCRIPTION

[0038] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.

[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0040] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 4 1 is a hardware structure block diagram of a mobile terminal according to a method for sending and receiving downlink services in an embodiment of the present invention. Figure 4 As shown, the mobile terminal may include one or more ( Figure 1Only one is shown in the figure) a processor 402 (the processor 402 may include but is not limited to a processing device such as a microprocessor (Central Processing Unit, MCU) or a programmable logic device (Field Programmable Gate Array, FPGA)) and a memory 404 for storing data, wherein the mobile terminal may also include a transmission device 406 and an input and output device 408 for communication functions. It can be understood by those skilled in the art that Figure 4 The structure shown is for illustration only and does not limit the structure of the mobile terminal. Figure 4 More or fewer components as shown, or with Figure 4 Different configurations are shown.

[0041] The memory 404 can be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the sending and receiving methods of downlink services in the embodiments of the present invention. The processor 402 executes various functional applications and data processing by running the computer programs stored in the memory 404, that is, implementing the above method. The memory 404 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 404 may further include a memory remotely arranged relative to the processor 402, and these remote memories may be connected to the mobile terminal 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.

[0042] The transmission device 406 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 406 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 406 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0043] In this embodiment, a method for sending a downlink service is provided. Figure 5 1 is a flow chart of a method for sending a downlink service according to an embodiment of the present invention, which is applied to an optical line terminal OLT. Figure 5 As shown, the process includes the following steps S502-S504:

[0044] S502: The optical line terminal OLT shares the downlink time division scheduling result of the downlink service with the optical network unit ONU according to the first specified mode, wherein the downlink time division scheduling result at least includes the sending time of one or more downlink services;

[0045] As an optional example, the downlink time-division scheduling result also includes at least one of the following: the sending duration and the sending end time of one or more downlink services.

[0046] It should be noted that, when the sending time of each downlink service is determined, the sending duration and the sending end time of each downlink service can be calculated.

[0047] S502: The OLT sends a downlink service according to the downlink time division scheduling result.

[0048] Through the above steps, since the OLT shares the downlink time division scheduling result of the downlink service with the ONU in advance, a reception suggestion for the ONU to receive the downlink service is given, and then the ONU can receive the downlink service sent by the OLT according to the downlink time division scheduling result, thereby solving the problem that the optical network unit cannot efficiently receive the downlink service sent by the optical network terminal, and achieving the technical effect that the optical network unit can efficiently receive the downlink service sent by the optical network terminal.

[0049] In an exemplary embodiment, the first designation method includes: the OLT sends the downlink time division scheduling result at a first designated position of a downlink frame, and the OLT and the ONU agree on the downlink time division scheduling result.

[0050] In an exemplary embodiment, the first designated position includes: a header of a downlink frame of one service type, or headers or tails of downlink frames of multiple service types.

[0051] That is, the OLT may send the downstream time division scheduling result to the ONU at the head of a downstream frame of one service type, or may send the downstream time division scheduling result to the ONU at the head or tail of downstream frames of multiple service types.

[0052] In an exemplary embodiment, the optical line terminal OLT can set the downlink time division scheduling result in the header of a downlink frame of a service type to share the downlink time division scheduling result of the downlink service with the ONU, which is achieved in the following manner: when the downlink service is sent based on a downlink frame in a forward error correction FEC decoding method, the OLT sets the downlink time division scheduling result in the first FEC code block of the downlink frame; wherein the downlink time division scheduling result is the sending time and sending duration of the downlink service, or the sending time and sending end time of the downlink service.

[0053] As an optional example, if multiple downlink services are sent based on downlink frames using a single FEC decoding method, the OLT may set the downlink time-division scheduling result (including the sending time and sending duration of each downlink service, or the sending time and sending end time of each downlink service) in the first FEC code block of the downlink frame of the downlink service sent first, specifically, in the FS frame header in the first FEC code block.

[0054] As an optional example, the downlink frame is a downlink PHY frame.

[0055] That is, in this embodiment, the OLT can send the downlink time division scheduling result to the ONU in the first FEC code block of the downlink frame of the first downlink service sent, that is, before sending multiple downlink services to the ONU, the downlink time division scheduling results of multiple downlink services can be sent to the ONU at one time.

[0056] It should be noted that in this case, the OLT can schedule based on the overall ONU service, predict the downstream services of all ONUs, and allocate equal weights to each ONU based on the predicted service results; the OLT can also schedule based on the service flow, schedule each service flow based on its priority and / or weight, and aggregate the ONUs after scheduling, that is, the downstream bandwidth belonging to the same ONU is aggregated together. The implementation method of downstream time-division scheduling can adopt global scheduling based on traffic prediction, or global scheduling based on simulated transmission, and combine the insertion of FEC check to give the downstream time-division scheduling result.

[0057] In an exemplary embodiment, the optical line terminal OLT can set the downlink time division scheduling result in the header of a downlink frame of a service type to share the downlink time division scheduling result of the downlink service with the optical network unit ONU. It can also be achieved in the following way: in the case where multiple downlink services are sent based on downlink frames of multiple FEC decoding methods, the OLT determines a preset FEC code block corresponding to each of the multiple FEC decoding methods, and sets the downlink time division scheduling result in each of the preset FEC code blocks, wherein the sending time and sending duration of the preset FEC code block are pre-agreed with the ONU, and the downlink time division scheduling result is the sending time and sending duration of the multiple downlink services other than the preset FEC code block, or the sending time and sending end time of the multiple downlink services, and the downlink time division scheduling result at least also includes the sending position of the downlink service of the same type of FEC code type as the preset FEC code block; the OLT sets the multiple preset FEC code blocks in the header of a downlink frame of a service type.

[0058] It should be noted that each preset FEC code block carries a FS frame header, and the FS frame header is set with the downlink time division scheduling result.

[0059] As an optional example, the downlink time division scheduling result in each preset FEC code block at least includes the downlink time division scheduling result of the downlink service corresponding to this FEC decoding method.

[0060] That is, in this embodiment, before sending the multiple downstream services to the ONU, the downlink time division scheduling results of the multiple downstream services can be sent to the ONU at one time.

[0061] In an exemplary embodiment, the optical line terminal OLT can set the downlink time division scheduling result in the header of the downlink frame of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: in the case where multiple downlink services are sent based on multiple downlink frames of multiple FEC decoding methods, the OLT determines the preset FEC code block corresponding to each FEC decoding method in the multiple FEC decoding methods, and sets the downlink time division scheduling result in each preset FEC code block, wherein the downlink time division scheduling result is the sending time and sending duration of the downlink service of the same type as the preset FEC code block outside the preset FEC code block, or the sending time and sending end time of the downlink service; the OLT sets each of the multiple preset FEC code blocks in the header of the downlink frame of the corresponding FEC decoding method in sequence.

[0062] It should be noted that, in this case, the multiple preset FEC code blocks are located at the headers of the downlink frames of multiple service types. Each preset FEC code block carries a FS frame header, and the FS frame header is set with the downlink time division scheduling result.

[0063] As an optional example, the downlink frames of each FEC decoding mode include downlink frames of at least one service type.

[0064] As an optional example, the downlink time division scheduling result in each preset FEC code block at least includes the downlink time division scheduling result of the downlink service corresponding to this FEC decoding method.

[0065] That is, in this embodiment, before sending the same type of downlink service as the preset FEC code block to the ONU, the downlink time division scheduling result including this type of downlink service may be sent to the ONU first.

[0066] In an exemplary embodiment, the downlink time division scheduling result may also be placed at the end of each FEC code block to indicate the start time of the code block consistent with the current FEC code type.

[0067] It should be noted that in this case, the OLT can schedule based on the overall service of the ONU, predict the downstream services of all ONUs, and allocate equal weights to each ONU based on the predicted service results; the OLT can also schedule based on the service flow, schedule each service flow based on its priority and / or weight, and aggregate it based on the ONU after the scheduling is completed, that is, the downstream bandwidth belonging to the same ONU is aggregated together. The OLT can also aggregate the downstream bandwidth of ONUs belonging to the same FEC decoding method to minimize the idle payload in the FEC codeword. The implementation method of downstream time-division scheduling can adopt global scheduling based on traffic prediction, or global scheduling based on simulated transmission, and combine the insertion of FEC verification to give the downstream time-division scheduling result.

[0068] In an exemplary embodiment, the optical line terminal OLT can set the downlink time division scheduling result at the tail of the downlink frames of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: the OLT and the ONU agree on the first downlink time slot of the downlink frame of each FEC code type; before the OLT completes the sending of the corresponding downlink frame in each downlink time slot of the downlink frame of each FEC code type according to the downlink time division scheduling result, the OLT sets the downlink time division scheduling result at the tail of each downlink time slot, wherein the downlink time division scheduling result is used to indicate the start time of the next downlink time slot.

[0069] It should be noted that when the downlink time division scheduling result indicates the start time of the next time slot at the end of the current time slot, it means that the transmission of the current time slot is finished.

[0070] That is to say, for the downlink service corresponding to each FEC decoding mode, the downlink time division scheduling implementation mode can also adopt the local scheduling based on the current service, and give the scheduling result of the current service, whose starting position is the position after the preceding service is sent, and the starting position of the next transmission is given in the scheduling result. As an optional example, each downlink time slot of the downlink frame of each FEC decoding mode corresponds to at least one downlink frame of the service type.

[0071] In an exemplary embodiment, the downlink time division scheduling implementation may also adopt a fixed time slot setting, for example, each FEC code type sends a number of code words in a fixed order according to a set order.

[0072] In an exemplary embodiment, the optical line terminal OLT sets the downlink time division scheduling result in the header of the downlink frame of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: in the case where multiple downlink services are sent based on multiple downlink frames of multiple modulation modes, the OLT sets the downlink time division scheduling result in the first downlink subframe in the downlink frame of each modulation mode, wherein the first downlink subframe carries a downlink synchronization header of the corresponding modulation mode, and the first downlink subframe is located at the header of the downlink frame of each modulation mode; the downlink time division scheduling result is the sending time and sending duration of the downlink service of the same modulation mode, or the sending time and sending end time of the downlink service.

[0073] As an optional example, for clock recovery at the ONU receiving side, the front of the downstream frame can carry a leading bit, so that the ONU can use the leading bit to achieve fast clock recovery. It should be noted that the downstream frame carrying the downstream synchronization header needs to carry the downstream bandwidth allocation, giving the position of the downstream bandwidth of each ONU on the time axis, and then the ONU can search for the downstream synchronization header in the modulation format it supports, obtain the scheduling result, start demodulation from the corresponding position and further parse the management and data information.

[0074] It should be noted that in this case, the OLT can schedule based on the overall service of the ONU, predict the downstream services of all ONUs, and allocate equal weights to each ONU based on the predicted service results; the OLT can also schedule based on the service flow, schedule each service flow based on its priority and / or weight, and aggregate the ONUs after the scheduling is completed, that is, the downstream bandwidth belonging to the same ONU is aggregated together. The OLT can also aggregate the downstream bandwidth of ONUs belonging to the same modulation mode. The implementation method of downstream time-division scheduling can adopt global scheduling based on traffic prediction, or global scheduling based on simulated transmission, and combine different rates and the insertion of FEC checks to give the downstream time-division scheduling results.

[0075] As an optional example, the downlink frames of each modulation mode include at least one service type of downlink frames.

[0076] As an optional example, the downlink time division scheduling result may also be placed at the end of each FEC code block to indicate the start time of the code block consistent with the current FEC code type.

[0077] In an exemplary embodiment, the OLT can set the downlink time division scheduling result at the tail of the downlink frames of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: the OLT determines the start time of the first downlink time slot of the downlink frame of each modulation mode according to the downlink synchronization header of each modulation mode; the OLT sets the downlink time division scheduling result at the tail of each downlink time slot before completing the sending of the corresponding downlink frame in each downlink time slot of the downlink frame of each modulation mode according to the downlink time division scheduling result, wherein the downlink time division scheduling result is used to indicate the start time of the next downlink time slot.

[0078] It should be noted that when the downlink time division scheduling result indicates the start time of the next time slot at the end of the current time slot, it means that the transmission of the current time slot is finished.

[0079] That is to say, for the downlink service corresponding to each modulation mode, the downlink time division scheduling implementation method can also adopt local scheduling based on the current service to give the scheduling result of the current service, whose starting position is the position after the previous service is sent, and the starting position of the next transmission is given in the scheduling result.

[0080] As an optional example, each downlink time slot of a downlink frame of each modulation mode corresponds to a downlink frame of at least one service type.

[0081] In an exemplary embodiment, the optical line terminal OLT can set the downlink time division scheduling result in the header of the downlink frame of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: when multiple downlink services are sent based on multiple downlink frames of multiple line rates, the OLT sets the downlink time division scheduling result in the second downlink subframe in the downlink frame of each line rate, wherein the second downlink subframe carries a downlink synchronization header of the corresponding line rate, and the second downlink subframe is located at the header of the downlink frame of each line rate; the downlink time division scheduling result is the sending time and sending duration of the downlink service of the same line rate, or the sending time and sending end time of the downlink service.

[0082] It should be noted that in this case, the OLT can schedule based on the overall service of the ONU, predict the downstream services of all ONUs, and allocate equal weights to each ONU based on the predicted service results; the OLT can also schedule based on the service flow, schedule each service flow based on its priority and / or weight, and aggregate the ONUs after the scheduling is completed, that is, the downstream bandwidth belonging to the same ONU is aggregated together. The OLT can also aggregate the downstream bandwidth of ONUs with the same line rate. The implementation method of downstream time-division scheduling can adopt global scheduling based on traffic prediction, or global scheduling based on simulated transmission, and combine different rates and the insertion of FEC checks to give the downstream time-division scheduling results.

[0083] As an optional example, the downlink frames of each line rate include at least one service type of downlink frames.

[0084] In an exemplary embodiment, the optical line terminal OLT sets the downlink time division scheduling result at the tail of downlink frames of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: the OLT determines the start time of the first downlink time slot of the downlink frame of each line rate according to the downlink synchronization header of each line rate; the OLT sets the downlink time division scheduling result at the tail of each downlink time slot before completing the sending of the corresponding downlink frame in each downlink time slot of the downlink frame of each line rate according to the downlink time division scheduling result, wherein the downlink time division scheduling result is used to indicate the start time of the next downlink time slot.

[0085] It should be noted that when the downlink time division scheduling result indicates the start time of the next time slot at the end of the current time slot, it means that the transmission of the current time slot is finished.

[0086] That is to say, for the downlink service corresponding to each line rate, the downlink time division scheduling implementation method can also adopt local scheduling based on the current service to give the scheduling result of the current service, whose starting position is the position after the previous service is sent, and the starting position of the next transmission is given in the scheduling result.

[0087] As an optional example, each downlink time slot of a downlink frame of each line rate corresponds to a downlink frame of at least one service type.

[0088] In an exemplary embodiment, the downlink time division scheduling results of all downlink services can be agreed upon with the ONU in advance.

[0089] This embodiment also provides a method for sending a downlink service. Figure 6 1 is a flow chart of a method for sending a downlink service according to an embodiment of the present invention, which is applied to an optical line terminal OLT. Figure 6As shown, the process includes the following steps S602-S604:

[0090] Step S602: Determine the downlink service to be sent, and perform downlink time division scheduling on the downlink service based on at least one of the following: service flow, service characteristics, and external input;

[0091] It should be noted that the downlink service to be sent includes one or more downlink services. The downlink service to be sent is a downlink service that needs to be sent to one or more ONUs.

[0092] Step S604: before sending the downlink service based on the downlink time division scheduling result of the downlink service, share the downlink time division scheduling result of the downlink service with the ONU in a first specified manner, wherein the downlink time division scheduling result at least includes the sending time of one or more downlink services.

[0093] As an optional example, the downlink time-division scheduling result also includes at least one of the following: the sending duration and the sending end time of one or more downlink services.

[0094] Through the above steps, since the OLT shares the downlink time division scheduling result of the downlink service with the ONU in advance, a reception suggestion for the ONU to receive the downlink service is given, and then the ONU can receive the downlink service sent by the OLT according to the downlink time division scheduling result, thereby solving the problem that the optical network unit cannot efficiently receive the downlink service sent by the optical network terminal, and achieving the technical effect that the optical network unit can efficiently receive the downlink service sent by the optical network terminal.

[0095] In an exemplary embodiment, downlink time division scheduling is performed on the downlink service based on the service traffic, including: predicting the service traffic of each downlink service; allocating bandwidth to each downlink service according to the service traffic of each downlink service, the priority and / or weight of each downlink service; determining the downlink time division scheduling result according to the bandwidth allocated to each downlink service, wherein the downlink time division scheduling result is the sending time and sending duration, or the sending time and sending end time, of each downlink service.

[0096] That is to say, in this embodiment, global scheduling based on traffic prediction can be adopted to predict the service traffic of various downlink services among multiple downlink services, and then within the total downlink bandwidth, bandwidth is allocated to various downlink services according to factors such as priority and weight to form a downlink time-division scheduling result.

[0097] In an exemplary embodiment, downlink time division scheduling is performed on the downlink service based on the service traffic, including: predicting the service traffic of each downlink service; locally scheduling each downlink service according to the service traffic of each downlink service, and determining the sending length of each downlink service, wherein the downlink time division scheduling result includes the sending time and sending length of each downlink service.

[0098] That is to say, in this embodiment, the current service can be locally scheduled based on the traffic prediction, and the scheduling result of the current service is given.

[0099] In an exemplary embodiment, predicting the service traffic of each downlink service can be achieved in the following manner: obtaining the cached data volume of each downlink service; predicting the service traffic of each downlink service based on the cached data volume of each downlink service, the historical sent data volume of each downlink service and the historical scheduling results.

[0100] In an exemplary embodiment, downlink time division scheduling is performed on the downlink service based on service characteristics, including: when the downlink service includes a low-latency service, a fixed time slot is allocated to the low-latency service to obtain a first scheduling result, wherein the allowed delay time of the low-latency service is less than a preset threshold; downlink time division scheduling is performed on the downlink services other than the low-latency service in the downlink service to obtain a second scheduling result; wherein the downlink time division scheduling result includes the first scheduling result and the second scheduling result, and the downlink time division scheduling result is the sending time and sending duration, or the sending time and sending end time, of the low-latency service and / or other downlink services.

[0101] In an exemplary embodiment, after obtaining the first scheduling result, the bandwidth of the low-latency service may be split according to the first scheduling result, and the downlink time division scheduling result may be re-determined according to the split result.

[0102] That is to say, in this embodiment, when the passive optical network carries a low-latency service, the low-latency jitter characteristics of the service can be achieved by specifying the time slot position for carrying the low-latency service, or by increasing the frequency of bandwidth allocation to the low-latency service and ensuring that the interval between adjacent bandwidths does not exceed the specified time length to achieve the low-latency characteristics of the service.

[0103] OLT can use fixed time slot allocation to specify location time slots for carrying low-latency services, and other time slots can use other TDM scheduling mechanisms, including but not limited to: downlink time division scheduling, downlink priority-based, weight-based scheduling, etc.

[0104] In an exemplary embodiment, performing downlink time division scheduling on the downlink service based on external input includes: acquiring a fixed time slot of each downlink service input externally to obtain a downlink time division scheduling result.

[0105] That is, in this embodiment, a default fixed time slot can be set for each downlink service through external settings, software settings, Co-DBA, etc., thereby realizing downlink time division scheduling.

[0106] In an exemplary embodiment, based on the global scheduling of simulated transmission, various downlink services among multiple downlink services can be simulated according to factors such as priority and weight to form simulated transmission results, which are then used as downlink time division scheduling results.

[0107] In an exemplary embodiment, before performing downlink time division scheduling on the downlink service, the method further includes one of the following:

[0108] Determine the downlink service corresponding to each ONU; predict the predicted service flow of the downlink service corresponding to each ONU; allocate bandwidth to each ONU according to the predicted service flow corresponding to each ONU and the weight of each ONU;

[0109] The downlink services are scheduled according to the priority and / or weight to determine the bandwidth corresponding to each downlink service; the bandwidths of the downlink services corresponding to the same ONU are aggregated, or the bandwidths of the downlink services of the ONUs corresponding to the same forward error correction FEC decoding mode are aggregated, or the bandwidths of the downlink services of the ONUs corresponding to the same modulation mode are aggregated, or the bandwidths of the downlink services of the ONUs corresponding to the same line rate are aggregated.

[0110] That is to say, in this embodiment, the OLT can perform scheduling based on the overall ONU service, predict the downstream services of all ONUs, and allocate equal weights to each ONU according to the predicted service results; the OLT can also perform scheduling based on the service flow, schedule each service flow according to its priority and / or weight, and summarize it based on the ONU after the scheduling is completed, that is, the downstream bandwidth belonging to the same ONU is summarized together; the downstream bandwidth of ONUs belonging to the same FEC decoding mode can also be summarized together to minimize the idle payload in the FEC codeword; the downstream bandwidth of ONUs belonging to the same modulation mode can also be summarized together; the downstream bandwidth of ONUs belonging to the same line rate can also be summarized together.

[0111] In an exemplary embodiment, sending the downlink service based on the downlink time division scheduling result of the downlink service can be achieved in the following manner: determining a first time slot corresponding to a first type of downlink service according to the downlink time division scheduling result, and sending the first type of downlink service in the first time slot, wherein the first type of downlink service includes one downlink service; and / or determining a second time slot corresponding to a second type of downlink service according to the downlink time division scheduling result, and sending the multiple downlink services in the second time slot according to the priority and / or weight of each downlink service in the multiple downlink services, wherein the second type of downlink service includes the multiple downlink services.

[0112] That is to say, in this embodiment, the downlink service for downlink time division scheduling may be a downlink service (including multiple downlink services) or a downlink service. If the downlink service for downlink time division scheduling is a downlink service, the service is sent in a scheduling mode based on priority and / or weight in the time slot of the downlink time division scheduling of the downlink service.

[0113] In an exemplary embodiment, after sending the downlink service based on the downlink time division scheduling result of the downlink service, the method further includes: sending the downlink service in a time slot other than the downlink time division scheduling result using a target scheduling method, wherein the target scheduling method includes: a priority-based scheduling method and a weight-based scheduling method.

[0114] That is to say, in this embodiment, after the downlink time division scheduling is introduced, it can work in a complete downlink time division scheduling mode, that is, all time slots are the result of downlink time division scheduling, and how to send services in the time slots generated by the downlink time division scheduling is completely determined. Figure 8 It is also possible to use a mixed mode of downlink time division scheduling and other scheduling modes to work, including using a priority-based, weight-based scheduling mode to send services within the time slot of downlink time division scheduling, such as Fig. 9 As shown; the priority and weight-based scheduling method can be used to send in the time slots other than the downlink time division scheduling time slots, such as Fig.10 shown.

[0115] This embodiment also provides a method for receiving a downlink service. Figure 7 1 is a flow chart of sending and receiving a downlink service according to an embodiment of the present invention, which is applied to an ONU, such as Figure 7 As shown, the process includes the following steps S702-S704:

[0116] Step S702: The ONU obtains a downlink time division scheduling result of the downlink service according to the second specified method, wherein the downlink time division scheduling result at least includes a sending time of one or more downlink services;

[0117] As an optional example, the downlink time-division scheduling result also includes at least one of the following: the sending duration and the sending end time of one or more downlink services.

[0118] Step S704: the ONU receives a target downlink service according to the downlink time division scheduling result, wherein the target downlink service is a service related to the ONU among the one or more downlink services.

[0119] Through the above steps, since the ONU obtains the downlink time division scheduling result in advance before receiving the target downlink service, the ONU can receive the downlink service sent by the OLT according to the downlink time division scheduling result, thereby solving the problem that the optical network unit cannot efficiently receive the downlink service sent by the optical network terminal, and achieving the technical effect that the optical network unit can efficiently receive the downlink service sent by the optical network terminal.

[0120] In an exemplary embodiment, the second designation method includes: the ONU obtains the downlink time division scheduling result at a second designated position of a downlink frame, and the OLT and the ONU agree on the downlink time division scheduling result.

[0121] In an exemplary embodiment, the second designated position includes: a head or a tail of a downlink frame.

[0122] In an exemplary embodiment, the ONU obtains the downlink time-division scheduling result of the downlink service from the header of the downlink frame, including: the ONU parses the received downlink frame and obtains the frame header of the FS frame from the first FEC code block in the downlink frame; obtains the downlink time-division scheduling result from the frame header of the FS frame, wherein the downlink time-division scheduling result is the sending time and sending duration of the target downlink service, or the sending time and sending end time of the target downlink service.

[0123] It should be noted that, when multiple downstream services are sent based on downstream frames using an FEC decoding method, the OLT will set the downstream time division scheduling result in the FS frame header of the first FEC code block of the downstream frame; then the ONU can parse the downstream frame, obtain the frame header of the FS frame from the first FEC code block of the downstream frame, and obtain the downstream time division scheduling result from the frame header of the FS frame.

[0124] In an exemplary embodiment, the ONU obtains a downlink time-division scheduling result of a downlink service from a header of a downlink frame, including: the ONU parses the received downlink frame, and determines a target preset FEC code block corresponding to the FEC decoding method corresponding to the ONU from multiple preset FEC code blocks in the header of the downlink frame; and obtains the downlink time-division scheduling result from the target preset FEC code block, wherein the sending time and duration of the target preset FEC code block are pre-agreed, and the downlink time-division scheduling result is the sending time and sending duration of the target downlink service outside the target preset FEC code block, or the sending time and sending end time of the target downlink service.

[0125] It should be noted that, in the case where multiple downstream services are sent based on downstream frames of multiple FEC decoding methods, the OLT will set the corresponding downstream time-division scheduling results in the preset FEC code blocks corresponding to each FEC decoding method, and set the multiple preset FEC code blocks in the header of the first downstream frame sent. Then, the ONU can parse the received downstream frame, and determine the target preset FEC code block corresponding to the FEC decoding method corresponding to the ONU itself from the multiple preset FEC code blocks in the header of the downstream frame, and obtain the downstream time-division scheduling result from the target preset FEC code block.

[0126] In an exemplary embodiment, the ONU obtains a downlink time-division scheduling result of a downlink service from a header of a downlink frame, including: the ONU searches for a target downlink frame from multiple received downlink frames, wherein a preset FEC code block in a header of the target downlink frame corresponds to an FEC decoding method corresponding to the ONU; and obtains the downlink time-division scheduling result from a preset FEC code block in a header of the target downlink frame, wherein a sending time and duration of the preset FEC code block are pre-agreed with the OLT, and the downlink time-division scheduling result is a sending time and sending duration of the target downlink service outside the preset FEC code block, or a sending time and a sending end time of the target downlink service.

[0127] It should be noted that, in the case where multiple downlink services are sent based on multiple downlink frames of multiple FEC decoding methods, the corresponding downlink time-division scheduling result will be set in the preset FEC code block corresponding to each FEC decoding method, and each of the multiple preset FEC code blocks will be set in sequence at the head of the downlink frame of the corresponding FEC decoding method; then the ONU can search for the target downlink frame from the multiple received downlink frames (the preset FEC code block in the head of the target downlink frame corresponds to the FEC decoding method corresponding to the ONU), and obtain the downlink time-division scheduling result of the target downlink service from the preset FEC code block in the head of the target downlink frame.

[0128] In an exemplary embodiment, the ONU obtains the downlink time division scheduling result of the downlink service from the tail of the downlink frame, including: the ONU obtains the downlink time division scheduling result from the tail of each downlink time slot of the downlink frame of each FEC code type, wherein the downlink time division scheduling result is used to indicate the start time of the next downlink time slot, and the first downlink time slot of the downlink frame of each FEC code type is pre-agreed with the OLT.

[0129] It should be noted that, since the OLT sets the downlink time division scheduling result at the end of each downlink time slot of the downlink frame of each FEC code type before completing the transmission of the corresponding downlink frame according to the downlink time division scheduling result, the ONU can obtain the downlink time division scheduling result from the end of each downlink time slot of the downlink frame of each FEC code type.

[0130] In an exemplary embodiment, the ONU obtains a downlink time-division scheduling result of a downlink service from a header of a downlink frame, including: the ONU searches for a target downlink frame from multiple received downlink frames, wherein a modulation mode of the target downlink frame corresponds to a modulation mode of the ONU; obtaining the downlink time-division scheduling result from a first downlink subframe of the target downlink frame, wherein the first downlink subframe carries a downlink synchronization header of a modulation mode corresponding to the target downlink frame, and the first downlink subframe is located at the header of the target downlink frame; the downlink time-division scheduling result is a sending time and a sending duration of a target downlink service of the same modulation mode, or a sending time and a sending end time of a target downlink service.

[0131] It should be noted that, in the case where multiple downstream services are sent based on multiple downstream frames of multiple modulation modes, the OLT sets the downlink time division scheduling result of the downlink service of the same modulation mode in the first downlink subframe in the downlink frame of the corresponding modulation mode (the first downlink subframe carries the downlink synchronization header of the corresponding modulation mode, and the first downlink subframe is located at the head of the downlink frame of each modulation mode), and then the ONU can search for the target downlink frame from the multiple received downstream frames (the modulation mode of the target downlink frame corresponds to the modulation mode of the ONU) to obtain the downlink time division scheduling result of the target downlink service from the first downlink subframe of the target downlink frame.

[0132] In an exemplary embodiment, the ONU obtains the downlink time division scheduling result of the downlink service from the tail of the downlink frame, including: the ONU obtains the downlink time division scheduling result from the tail of each downlink time slot of the downlink frame of each modulation mode, wherein the downlink time division scheduling result indicates the start time of the next downlink time slot, and the start time of the first downlink time slot of the downlink frame of each modulation mode is determined according to the downlink synchronization header of the corresponding modulation mode.

[0133] It should be noted that, since the OLT sets the downlink time division scheduling result at the end of each downlink time slot of each downlink frame of each modulation mode before completing the transmission of the corresponding downlink frame according to the downlink time division scheduling result, the ONU can obtain the downlink time division scheduling result from the end of each downlink time slot of the downlink frame of each modulation mode.

[0134] In an exemplary embodiment, the ONU obtains a downlink time-division scheduling result of a downlink service from a header of a downlink frame, including: the ONU searches for a target downlink frame from multiple received downlink frames, wherein the line rate of the target downlink frame corresponds to the line rate corresponding to the ONU; obtaining the downlink time-division scheduling result from a second downlink subframe of the target downlink frame, wherein the second downlink subframe carries a downlink synchronization header of the line rate corresponding to the target downlink frame, and the second downlink subframe is located at the header of the target downlink frame, and the downlink time-division scheduling result is the sending time and sending duration of the target downlink service of the same line rate mode, or the sending time and sending end time of the target downlink service.

[0135] It should be noted that, in the case where multiple downstream services are sent based on multiple downstream frames of multiple line rates, the OLT sets the downlink time-division scheduling result of the downlink service of the same line rate in the second downstream subframe in the downlink frame of the corresponding line rate (the second downstream subframe carries the downlink synchronization header of the corresponding line rate, and the second downstream subframe is located at the head of the downlink frame of each line rate), and then the ONU can search for the target downlink frame from the multiple received downstream frames (the line rate of the target downlink frame corresponds to the line rate of the ONU) to obtain the downlink time-division scheduling result of the target downlink service from the second downstream subframe of the target downlink frame.

[0136] In an exemplary embodiment, the ONU obtains the downlink time division scheduling result of the downlink service from the tail of the downlink frame, including: the ONU obtains the downlink time division scheduling result from the tail of each downlink time slot of the downlink frame of each line rate, wherein the downlink time division scheduling result indicates the start time of the next downlink time slot, and the start time of the first downlink time slot of the downlink frame of each line rate is determined according to the downlink synchronization header of the corresponding line rate.

[0137] It should be noted that, since the OLT sets the downlink time division scheduling result at the end of each downlink time slot of each downlink frame of each line rate before completing the transmission of the corresponding downlink frame according to the downlink time division scheduling result, the ONU can obtain the downlink time division scheduling result from the end of each downlink time slot of the downlink frame of each line rate.

[0138] In an exemplary embodiment, the ONU receives the target downlink service according to the downlink time-division scheduling result, which can be achieved in the following manner: the ONU determines the reception start time and the reception end time of the target downlink service according to the downlink time-division scheduling result; the ONU parses the downlink frame received at the current time at the reception start time, and receives the target downlink service; the ONU stops parsing the downlink frame received at the current time at the reception end time, and stops receiving the target downlink service.

[0139] In an exemplary embodiment, the ONU parses the downlink frame received at the current moment at the reception start moment, including at least one of the following: parsing the received downlink frame according to the FEC decoding method corresponding to the ONU at the reception start moment; parsing the received downlink frame according to the modulation method corresponding to the ONU at the reception start moment; parsing the received downlink frame according to the line rate corresponding to the ONU at the reception start moment.

[0140] Obviously, the above-described embodiments are only embodiments of a part of the present invention, rather than all embodiments. In order to better understand the above method, the above process is described below in conjunction with embodiments, but it is not intended to limit the technical solutions of the embodiments of the present invention, specifically:

[0141] This application can pre-schedule downlink services based on the time dimension and give the downlink time-division scheduling result. That is, in the downlink direction, downlink time-division scheduling is introduced, and the scheduling and sending are changed to pre-scheduling based on the time dimension, and the downlink time-division scheduling result is output, and the downlink time-division scheduling result is sent before the data, and then the downlink service is sent.

[0142] Specifically, the OLT can pre-schedule various downstream services in combination with various downstream service conditions, and give pre-scheduling results (i.e., the sending time and sending duration or the sending time and the end sending time of various services in the next period of time). Then the OLT sends the pre-scheduling results on the downstream channel and sends the corresponding services in the corresponding time period. In the corresponding time period, if there are multiple services to be sent, they can be scheduled based on priority and / or weight. The ONU receives and processes the corresponding services in the corresponding time period according to the pre-scheduling results.

[0143] After the introduction of downlink time division scheduling, it can work in the complete downlink time division scheduling mode, that is, all time slots are the result of downlink time division scheduling, and how to send services in the time slots generated by downlink time division scheduling is completely determined, such as Figure 8 As shown; it is also possible to use a mixed mode of downlink time division scheduling and other scheduling modes to work, including using a priority-based, weight-based scheduling mode to send services within the time slot of downlink time division scheduling, such as Fig. 9As shown, the priority and weight-based scheduling method can be used to send in the time slots other than the downlink time division scheduling time slots, such as Fig.10 shown.

[0144] Optionally, downlink time division scheduling has multiple implementation methods, including:

[0145] Implementation method 1: Global scheduling based on traffic prediction can be used to obtain the cached data volume of various services, and the service traffic of various services can be predicted based on the actual sending volume of various services in history and the utilization of scheduling results. Then, within the total downlink bandwidth, bandwidth is allocated to various services according to factors such as priority and weight to form a downlink time-division scheduling result.

[0146] Implementation method 2: Global scheduling based on simulated sending can be used to simulate sending of various services according to factors such as priority and weight to form simulated sending results, and the simulated sending results can be used as pre-scheduling results.

[0147] Implementation method three: local scheduling based on the current business can be adopted to provide the scheduling result of the current business.

[0148] Implementation method 4: Set the default fixed time slot through external settings, software settings, Co-DBA, etc.

[0149] Implementation method 5: Split the scheduling results to increase the frequency of business transmission.

[0150] For a better understanding, the following is a detailed description in conjunction with specific embodiments:

[0151] Example 1: ONU receiving energy saving

[0152] In the downstream direction, TDM is used to send services. For a certain ONU, only a small part of the downstream services belong to one ONU. In the current standard design, the ONU needs to parse the entire downstream frame, including FEC decoding, XGEM frame header parsing, etc. XGEM frame header parsing includes HEC decoding, and finally filter out its own services. Since the downstream is TDM, the scheduling results can be given and sent through the downstream time division scheduling, so that the ONU can accurately receive its own services according to the scheduling results, so that the ONU does not need to care about or parse the services that do not belong to it, so as to achieve the purpose of high efficiency and energy saving.

[0153] OLT can schedule based on the overall service of ONU, predict the downstream services of all ONUs, and allocate equal weights to each ONU according to the predicted service results; OLT can also schedule based on service flow, schedule each service flow according to its priority and / or weight, and summarize it based on ONU after scheduling, that is, the downstream bandwidth belonging to the same ONU is summarized together. Downstream time-division scheduling can be implemented by global scheduling based on traffic prediction, or by global scheduling based on simulated transmission, and combined with the insertion of FEC check, to give the downstream time-division scheduling result.

[0154] Based on the scheduling result, the OLT gives the position of each ONU's downstream bandwidth in the FS frame, such as Fig.13 The position of the GEM frame in the FS frame, or the position of the GEM frame in the FS frame, Fig.14 The ONU calculates the FEC codeword to start decoding based on the scheduling result, and then starts parsing the GEM frame header from the corresponding position to obtain the corresponding GEM payload. Of course, the OLT needs to provide the downstream time-division scheduling result and its position. The ONU needs to parse the downstream time-division scheduling result first, and the downstream time-division scheduling result can be placed in the FS header, such as Fig.12 The improved FS frame header shown (wherein, Fig.11 The traditional FS frame header is shown in Figure 1. Its position is the default. The length information can be indicated by the dLend field, including information such as dBWmap length. Since the FS frame header is generally in one FEC codeword, the ONU generally needs to parse the first FEC code block in the downstream PHY frame to obtain the downstream scheduling result. Fig.15 As shown, Fig.15 The downlink time division scheduling result indicates the time slot of each ONU.

[0155] Example 2: Downlink Flexible FEC

[0156] In the same ODN, different ONUs are connected to different branch optical fibers. Different branch optical fibers pass through different optical splitters and have different branch optical fiber lengths, so the line losses they bring are also different. When receiving at the ONU, FEC decoding methods with different error correction capabilities can be used to obtain different error correction gains, and correspondingly bring different bandwidth efficiencies. Since the ONU itself can support multiple FEC decoding methods, the corresponding FEC decoding method can be used according to the configuration of the OLT, or there are multiple ONUs with different FEC decoding methods. Since the downlink is a TDM method, the scheduling result can be given through the downlink time division scheduling, and the FEC decoding method prompt can be given based on the scheduling result, so that the ONU can accurately use the corresponding FEC decoding method to decode and receive its own services according to the scheduling result and FEC decoding method, so that the ONU can not care about or parse services that do not belong to it, so as to achieve the purpose of flexible error correction gain and flexible bandwidth efficiency.

[0157] OLT can schedule based on the overall service of ONU, predict the downstream services of all ONUs, and allocate equal weights to each ONU according to the predicted service results; OLT can also schedule based on service flow, schedule each service flow according to its priority and / or weight, and summarize it based on ONU after scheduling, that is, the downstream bandwidth belonging to the same ONU is summarized together. OLT can also summarize the downstream bandwidth of ONUs belonging to the same FEC decoding method to minimize the idle payload in the FEC codeword. The implementation method of downlink time division scheduling can adopt global scheduling based on traffic prediction, or global scheduling based on simulated transmission, and combine the insertion of FEC check to give the downlink time division scheduling result. The implementation method of downlink time division scheduling can also adopt local scheduling based on the current service, give the scheduling result of the current service, and its starting position is the position after the transmission of the preceding service ends, and the starting position of the next transmission is given in the scheduling result. Of course, the implementation method of downlink time division scheduling can also adopt fixed time slot setting, for example, each FEC code type sends a fixed number of codewords in a set order.

[0158] Based on the scheduling results, the OLT gives the downstream bandwidth corresponding to each FEC decoding method and the position of the downstream bandwidth of the ONU in the PHY frame. Based on the scheduling results, the ONU calculates which FEC code block to start decoding from. After decoding, it starts parsing the GEM frame header from the corresponding position and obtains the corresponding GEM payload. Of course, the ONU needs to parse the downstream time-division scheduling results first. The downstream time-division scheduling results can be placed in the FS header. Several code blocks in the PHY frame header use the default FEC code type, and each default code block carries the FS header. Therefore, the ONU generally needs to parse an FEC code block in the downstream PHY frame header that corresponds to its own FEC decoding method. The downstream time-division scheduling results can also be placed at the end of each FEC code block to indicate the start time of the code block consistent with this FEC code type. Among them, Fig.16 This is an example diagram of global downlink time-division scheduling; Fig.17 This is an example diagram of local downlink time division scheduling; Fig.18 This is an example diagram of default downlink time division scheduling, that is, the time slots of various downlink services are fixed.

[0159] Example 3: Downlink Flexible Rate

[0160] In the same ODN, different ONUs are connected to different branch optical fibers. Different branch optical fibers pass through different optical splitters and have different branch optical fiber lengths, so the line losses they bring are also different. OLT and ONUs on different branch optical fibers can use different modulation methods to achieve different rates. Since the ONU itself can support multiple modulation methods, the corresponding modulation method can be used according to the configuration of the OLT, or there are multiple ONUs with different modulation methods. Since the downlink is TDM, the scheduling result can be given through downlink time division scheduling, and the modulation method prompt can be given based on the scheduling result, so that the ONU can accurately use the corresponding modulation method to decode and receive its own services according to the scheduling result and modulation method, so that the ONU can not care about or parse the services that do not belong to it, so as to achieve the purpose of flexible bandwidth capability.

[0161] OLT can schedule based on the overall service of ONU, predict the downstream services of all ONUs, and allocate equal weights to each ONU according to the predicted service results; OLT can also schedule based on service flow, schedule each service flow according to its priority and / or weight, and summarize it based on ONU after scheduling, that is, the downstream bandwidth belonging to the same ONU is summarized together. OLT can also summarize the downstream bandwidth of ONUs belonging to the same modulation mode. Downstream time-division scheduling can be implemented by global scheduling based on traffic prediction, or by global scheduling based on simulated transmission, and at the same time, different rates and FEC check insertion are combined to give the downstream time-division scheduling result. Downstream time-division scheduling can also be implemented by local scheduling based on the current service, giving the scheduling result of the current service, and its starting position is the position after the preceding service is sent, and the starting position of the next transmission is given in the scheduling result. Of course, the implementation of downstream time-division scheduling can also adopt fixed time slot settings, for example, each modulation format sends a fixed length of data in a set order.

[0162] According to the scheduling results, the OLT sends downstream frames of different modulations. For the clock recovery of the ONU receiving side, the front of the downstream frame can carry a leading bit, so that the ONU can use the leading bit to achieve fast clock recovery. At least part of the downstream frame carries the downstream synchronization header corresponding to the modulation format, and the downstream frame carrying the downstream synchronization carries the downstream bandwidth allocation, giving the position of the downstream bandwidth of each ONU on the time axis. The ONU searches for the downstream synchronization header with the modulation format it supports, obtains the scheduling results, starts demodulation from the corresponding position, and further parses the management and data information. The downstream time-division scheduling results can also be placed at the end of each FEC code block, indicating the start time of the code block with the same FEC code type.

[0163] It should be pointed out that if the ONU cannot obtain clock synchronization in a downstream bandwidth that does not belong to it, it will keep the previously restored downstream clock. When it reaches its own downstream bandwidth, it will restore the downstream clock or adjust the previously maintained clock.

[0164] Example 4: Time Division Evolution Coexistence

[0165] The implementation method of time-division evolution coexistence is similar to that of Example 3, but the modulation method is non-return to zero code (Not Return to Zero, referred to as NRZ), but the line rates of different services are different, that is, the different modulation formats in Example 3 are changed to different line rates. The embodiments of this application are not described in detail here.

[0166] Example 5: Low-latency service bearer

[0167] When a passive optical network carries low-latency services, the low-latency jitter characteristics of the services can be achieved by specifying the time slot position for carrying low-latency services. The low-latency characteristics of the services can also be achieved by increasing the frequency of bandwidth allocation to low-latency services and ensuring that the interval between adjacent bandwidths does not exceed the specified time length.

[0168] OLT can use fixed time slot allocation to specify location time slots for carrying low-latency services. Other time slots can use other TDM scheduling mechanisms, including downlink time division scheduling, downlink priority- and weight-based scheduling, etc.

[0169] OLT can schedule based on the overall service of ONU, predict the downstream services of all ONUs, and assign equal weights to each ONU according to the predicted service results; OLT can also schedule based on service flow, schedule each service flow according to its priority and / or weight, and summarize it based on ONU after scheduling. The scheduling results of low-latency services are split and distributed as evenly as possible, so that the interval between adjacent time slots does not exceed the specified duration. Of course, the split bandwidth and the downstream bandwidth belonging to the same ONU can still be summarized together. Downstream time-division scheduling can be implemented by global scheduling based on traffic prediction, or by global scheduling based on simulated transmission, to give the downstream time-division scheduling results.

[0170] Embodiment 6: Mixed mode

[0171] That is, the above embodiments can be flexibly combined, and the embodiments of the present application will not be described one by one here.

[0172] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, 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 application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory (ROM / RAM), a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0173] In this embodiment, a sending and receiving device for downlink services is also provided, and the sending and receiving device for downlink services is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions thereof will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the middleware device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0174] Fig.19 is a structural block diagram of a downlink service sending device according to an embodiment of the present invention, such as Fig.19 As shown, the sending device of the downlink service includes:

[0175] A first sharing module 1901 is used to share a downlink time division scheduling result of a downlink service with an optical network unit ONU in a first specified manner, wherein the downlink time division scheduling result at least includes a sending time of one or more downlink services;

[0176] The sending module 1902 is used to send downlink services according to the downlink time division scheduling result.

[0177] Through the above-mentioned device, since the OLT shares the downlink time-division scheduling result of the downlink service with the ONU in advance, a reception suggestion for the ONU to receive the downlink service is given, and then the ONU can receive the downlink service sent by the OLT according to the downlink time-division scheduling result, thereby solving the problem that the optical network unit cannot efficiently receive the downlink service sent by the optical network terminal, and achieving the technical effect that the optical network unit can efficiently receive the downlink service sent by the optical network terminal.

[0178] In an exemplary embodiment, the first designation method includes: the OLT sends the downlink time division scheduling result at a first designated position of a downlink frame, and the OLT and the ONU agree on the downlink time division scheduling result.

[0179] In an exemplary embodiment, the first designated position includes: a header of a downlink frame of one service type, or headers or tails of downlink frames of multiple service types.

[0180] In an exemplary embodiment, the above-mentioned device is also used to set the downlink time division scheduling result in the first FEC code block of the downlink frame when the downlink service is sent based on a downlink frame in a forward error correction FEC decoding method; wherein the downlink time division scheduling result is the sending time and sending duration of the downlink service, or the sending time and sending end time of the downlink service.

[0181] In an exemplary embodiment, the above-mentioned device is also used to determine the preset FEC code block corresponding to each of the multiple FEC decoding methods when multiple downlink services are sent based on downlink frames of multiple FEC decoding methods, and set the downlink time division scheduling result in each of the preset FEC code blocks, wherein the sending time and sending duration of the preset FEC code block are pre-agreed with the ONU, and the downlink time division scheduling result is the sending time and sending duration of the multiple downlink services other than the preset FEC code block, or the sending time and sending end time of the multiple downlink services, and the downlink time division scheduling result at least also includes the sending position of the downlink service with the same type of FEC code type as the preset FEC code block; multiple preset FEC code blocks are set at the head of a downlink frame of a service type.

[0182] In an exemplary embodiment, the above-mentioned device is also used to determine the preset FEC code block corresponding to each of the multiple FEC decoding methods when multiple downlink services are sent based on multiple downlink frames of multiple FEC decoding methods, and set the downlink time division scheduling result in each of the preset FEC code blocks, wherein the downlink time division scheduling result is the sending time and sending duration of the downlink service of the same type as the preset FEC code block other than the preset FEC code block, or the sending time and sending end time of the downlink service; each of the multiple preset FEC code blocks is set in turn at the header of the downlink frame of the corresponding FEC decoding method.

[0183] In an exemplary embodiment, the above-mentioned device is also used to agree with the ONU on the first downlink time slot of the downlink frame of each FEC code type; before completing the sending of the corresponding downlink frame in each downlink time slot of the downlink frame of each FEC code type according to the downlink time division scheduling result, the downlink time division scheduling result is set at the end of each downlink time slot, wherein the downlink time division scheduling result is used to indicate the start time of the next downlink time slot.

[0184] In an exemplary embodiment, the above-mentioned device is also used to set the downlink time division scheduling result in the first downlink subframe in the downlink frame of each modulation mode when multiple downlink services are sent based on multiple downlink frames of multiple modulation modes, wherein the first downlink subframe carries a downlink synchronization header of the corresponding modulation mode, and the first downlink subframe is located at the head of the downlink frame of each modulation mode; the downlink time division scheduling result is the sending time and sending duration of the downlink service of the same modulation mode, or the sending time and sending end time of the downlink service.

[0185] In an exemplary embodiment, the above-mentioned device is also used to determine the starting time of the first downlink time slot of the downlink frame of each modulation mode according to the downlink synchronization header of each modulation mode; before each downlink time slot of the downlink frame of each modulation mode completes the sending of the corresponding downlink frame according to the downlink time division scheduling result, the downlink time division scheduling result is set at the end of each downlink time slot, wherein the downlink time division scheduling result is used to indicate the starting time of the next downlink time slot.

[0186] In an exemplary embodiment, the above-mentioned device is also used to set the downlink time division scheduling result in the second downlink subframe in the downlink frame of each line rate when multiple downlink services are sent based on multiple downlink frames of multiple line rates, wherein the second downlink subframe carries a downlink synchronization header corresponding to the line rate, and the second downlink subframe is located at the head of the downlink frame of each line rate; the downlink time division scheduling result is the sending time and sending duration of the downlink service of the same line rate, or the sending time and sending end time of the downlink service.

[0187] In an exemplary embodiment, the above-mentioned device is also used to determine the starting time of the first downlink time slot of the downlink frame of each line rate according to the downlink synchronization header of each line rate; before each downlink time slot of the downlink frame of each line rate completes the transmission of the corresponding downlink frame according to the downlink time division scheduling result, the downlink time division scheduling result is set at the end of each downlink time slot, wherein the downlink time division scheduling result is used to indicate the starting time of the next downlink time slot.

[0188] Fig. 20 is a structural block diagram of another downlink service sending device according to an embodiment of the present invention, such as Fig. 20 As shown, the sending device of the downlink service includes:

[0189] The scheduling module 2001 is used to determine the downlink service to be sent, and perform downlink time division scheduling on the downlink service based on at least one of the following: service flow, service characteristics, and external input;

[0190] The second sharing module 2002 is used to share the downlink time division scheduling result of the downlink service with the ONU in a first specified manner before sending the downlink service based on the downlink time division scheduling result of the downlink service, wherein the downlink time division scheduling result at least includes the sending time of one or more downlink services.

[0191] Through the above-mentioned device, since the OLT shares the downlink time-division scheduling result of the downlink service with the ONU in advance, a reception suggestion for the ONU to receive the downlink service is given, and then the ONU can receive the downlink service sent by the OLT according to the downlink time-division scheduling result, thereby solving the problem that the optical network unit cannot efficiently receive the downlink service sent by the optical network terminal, and achieving the technical effect that the optical network unit can efficiently receive the downlink service sent by the optical network terminal.

[0192] In an exemplary embodiment, the above-mentioned scheduling module 2001 is also used to predict the service traffic of each downlink service; allocate bandwidth to each downlink service according to the service traffic of each downlink service, the priority and / or weight of each downlink service; determine the downlink time-division scheduling result according to the bandwidth allocated to each downlink service, wherein the downlink time-division scheduling result is the sending time and sending duration, or the sending time and sending end time, of each downlink service.

[0193] In an exemplary embodiment, the above-mentioned scheduling module 2001 is also used to predict the service traffic of each downlink service; locally schedule each downlink service according to the service traffic of each downlink service, and determine the sending length of each downlink service, wherein the downlink time-division scheduling result includes the sending time and sending length of each downlink service.

[0194] In an exemplary embodiment, the above-mentioned scheduling module 2001 is also used to predict the service traffic of each downlink service in the following manner: obtaining the cached data volume of each downlink service; predicting the service traffic of each downlink service based on the cached data volume of each downlink service, the historical sent data volume of each downlink service and the historical scheduling results.

[0195] In an exemplary embodiment, the above-mentioned scheduling module 2001 is also used to allocate a fixed time slot to the low-latency service when the downlink service includes a low-latency service, and obtain a first scheduling result, wherein the allowed delay time of the low-latency service is less than a preset threshold; and perform downlink time division scheduling on the downlink services other than the low-latency service in the downlink service to obtain a second scheduling result; wherein the downlink time division scheduling result includes the first scheduling result and the second scheduling result, and the downlink time division scheduling result is the sending time and sending duration, or the sending time and sending end time, of the low-latency service and / or other downlink services.

[0196] In an exemplary embodiment, the above-mentioned scheduling module 2001 is also used to split the bandwidth of the low-latency service according to the first scheduling result after obtaining the first scheduling result, and re-determine the downlink time division scheduling result according to the split result.

[0197] In an exemplary embodiment, the scheduling module 2001 is further configured to obtain a fixed time slot of each downlink service input externally to obtain a downlink time division scheduling result.

[0198] In an exemplary embodiment, the scheduling module 2001 is further configured to perform one of the following before performing downlink time division scheduling on the downlink service:

[0199] Determine the downlink service corresponding to each ONU; predict the predicted service flow of the downlink service corresponding to each ONU; allocate bandwidth to each ONU according to the predicted service flow corresponding to each ONU and the weight of each ONU;

[0200] The downlink services are scheduled according to the priority and / or weight to determine the bandwidth corresponding to each downlink service; the bandwidths of the downlink services corresponding to the same ONU are aggregated, or the bandwidths of the downlink services of the ONUs corresponding to the same forward error correction FEC decoding mode are aggregated, or the bandwidths of the downlink services of the ONUs corresponding to the same modulation mode are aggregated, or the bandwidths of the downlink services of the ONUs corresponding to the same line rate are aggregated.

[0201] In an exemplary embodiment, the above-mentioned device is also used to determine a first time slot corresponding to a first downlink service according to the downlink time division scheduling result, and send the first downlink service in the first time slot, wherein the first downlink service includes one downlink service; and / or determine a second time slot corresponding to a second downlink service according to the downlink time division scheduling result, and send the multiple downlink services in the second time slot according to the priority and / or weight of each downlink service in the multiple downlink services, wherein the second downlink service includes the multiple downlink services.

[0202] In an exemplary embodiment, the above-mentioned device is also used to send the downlink service based on the downlink time division scheduling result of the downlink service, and then use a target scheduling method to send the downlink service in a time slot other than the downlink time division scheduling result, wherein the target scheduling method includes: a priority-based scheduling method and a weight-based scheduling method.

[0203] Fig.21 is a structural block diagram of a receiving device for downlink services according to an embodiment of the present invention. Fig.21 As shown, the receiving device of the downlink service includes:

[0204] The acquisition module 2101 is used to acquire the downlink time division scheduling result of the downlink service according to the second specified method, wherein the downlink time division scheduling result at least includes the sending time of one or more downlink services;

[0205] The receiving module 2102 is used to receive a target downlink service according to the downlink time division scheduling result, wherein the target downlink service is a service related to the target ONU among the one or more downlink services.

[0206] The receiving device of the downlink service includes but is not limited to being used in a target ONU, where the target ONU is one of the multiple ONUs.

[0207] Through the above-mentioned device, since the ONU obtains the downlink time-division scheduling result in advance before receiving the target downlink service, the ONU can receive the downlink service sent by the OLT according to the downlink time-division scheduling result, thereby solving the problem that the optical network unit cannot efficiently receive the downlink service sent by the optical network terminal, and achieving the technical effect that the optical network unit can efficiently receive the downlink service sent by the optical network terminal.

[0208] In an exemplary embodiment, the second designation method includes: the target ONU obtains the downlink time division scheduling result at a second designated position of the downlink frame, and the OLT and the target ONU agree on the downlink time division scheduling result.

[0209] In an exemplary embodiment, the second designated position includes: a head or a tail of a downlink frame.

[0210] In an exemplary embodiment, the above-mentioned acquisition module 2101 is also used to parse the received downlink frame and obtain the frame header of the FS frame from the first FEC code block in the downlink frame; obtain the downlink time division scheduling result from the frame header of the FS frame, wherein the downlink time division scheduling result is the sending time and sending duration of the target downlink service, or the sending time and sending end time of the target downlink service.

[0211] In an exemplary embodiment, the above-mentioned acquisition module 2101 is also used for receiving a downlink frame, and determining a target preset FEC code block corresponding to the FEC decoding method corresponding to the target ONU from multiple preset FEC code blocks in the header of the downlink frame; obtaining the downlink time division scheduling result from the target preset FEC code block, wherein the sending time and duration of the target preset FEC code block are pre-agreed, and the downlink time division scheduling result is the sending time and sending duration of the target downlink service outside the target preset FEC code block, or the sending time and sending end time of the target downlink service.

[0212] In an exemplary embodiment, the acquisition module 2101 is further used to search for a target downlink frame from multiple received downlink frames, wherein the preset FEC code block in the header of the target downlink frame corresponds to the FEC decoding method corresponding to the target ONU; the downlink time division scheduling result is obtained from the preset FEC code block in the header of the target downlink frame, wherein the sending time and duration of the preset FEC code block are pre-agreed with the OLT, and the downlink time division scheduling result is the sending time and sending duration of the target downlink service outside the preset FEC code block, or the sending time and sending end time of the target downlink service.

[0213] In an exemplary embodiment, the acquisition module 2101 is further used to obtain a downlink time division scheduling result from the tail of each downlink time slot of the downlink frame of each FEC code type, wherein the downlink time division scheduling result is used to indicate the start time of the next downlink time slot, and the first downlink time slot of the downlink frame of each FEC code type is pre-agreed with the OLT.

[0214] In an exemplary embodiment, the above-mentioned acquisition module 2101 is also used to search for a target downlink frame from multiple received downlink frames, wherein the modulation mode of the target downlink frame corresponds to the modulation mode of the target ONU; obtain the downlink time division scheduling result from the first downlink subframe of the target downlink frame, wherein the first downlink subframe carries a downlink synchronization header of the modulation mode corresponding to the target downlink frame, and the first downlink subframe is located at the head of the target downlink frame; the downlink time division scheduling result is the sending time and sending duration of the target downlink service of the same modulation mode, or the sending time and sending end time of the target downlink service.

[0215] In an exemplary embodiment, the above-mentioned acquisition module 2101 is also used to obtain the downlink time division scheduling result from the tail of each downlink time slot of the downlink frame of each modulation mode, wherein the downlink time division scheduling result indicates the start time of the next downlink time slot, and the start time of the first downlink time slot of the downlink frame of each modulation mode is determined according to the downlink synchronization header of the corresponding modulation mode.

[0216] In an exemplary embodiment, the above-mentioned acquisition module 2101 is also used to search for a target downlink frame from multiple received downlink frames, wherein the line rate of the target downlink frame corresponds to the line rate corresponding to the target ONU; obtain the downlink time division scheduling result from the second downlink subframe of the target downlink frame, wherein the second downlink subframe carries a downlink synchronization header of the line rate corresponding to the target downlink frame, and the second downlink subframe is located at the head of the target downlink frame, and the downlink time division scheduling result is the sending time and sending duration of the target downlink service of the same line rate mode, or the sending time and sending end time of the target downlink service.

[0217] In an exemplary embodiment, the acquisition module 2101 is further used to obtain a downlink time division scheduling result from the tail of each downlink time slot of the downlink frame of each line rate, wherein the downlink time division scheduling result indicates the start time of the next downlink time slot, and the start time of the first downlink time slot of the downlink frame of each line rate is determined according to the downlink synchronization header of the corresponding line rate.

[0218] In an exemplary embodiment, the above-mentioned receiving module 2102 is also used to determine the receiving start time and the receiving end time of the target downlink service according to the downlink time division scheduling result; parse the downlink frame received at the current time at the receiving start time, and receive the target downlink service; stop parsing the downlink frame received at the current time at the receiving end time, and stop receiving the target downlink service.

[0219] In an exemplary embodiment, the above-mentioned receiving module 2102 is also used to parse the downlink frame received at the current moment at the receiving start moment through at least one of the following: parsing the received downlink frame according to the FEC decoding method corresponding to the target ONU at the receiving start moment; parsing the received downlink frame according to the modulation method corresponding to the target ONU at the receiving start moment; parsing the received downlink frame according to the line rate corresponding to the target ONU at the receiving start moment.

[0220] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0221] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0222] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0223] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0224] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0225] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0226] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0227] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for sending a downlink service, characterized in that: include: The optical line terminal OLT shares the downlink time division scheduling result of the downlink service with the optical network unit ONU in a first specified manner, wherein the downlink time division scheduling result at least includes the sending time of one or more downlink services; The OLT sends the downlink service according to the downlink time division scheduling result.

2. The method according to claim 1, characterized in that The first designation method includes: the OLT sends the downlink time division scheduling result at a first designated position of a downlink frame, and the OLT and the ONU agree on the downlink time division scheduling result.

3. The method according to claim 2, characterized in that The first designated position includes: a header of a downlink frame of one service type, or headers or tails of downlink frames of multiple service types.

4. The method according to claim 3, characterized in that The optical line terminal OLT sets the downlink time division scheduling result in the header of a downlink frame of a service type to share the downlink time division scheduling result of the downlink service with the ONU, including: In the case where the downlink service is sent based on a downlink frame in a forward error correction FEC decoding method, the OLT sets the downlink time division scheduling result in the first FEC code block of the downlink frame; wherein the downlink time division scheduling result is the sending time and sending duration of the downlink service, or the sending time and sending end time of the downlink service.

5. The method according to claim 3, characterized in that: The optical line terminal OLT sets the downlink time division scheduling result in the header of a downlink frame of a service type to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: In the case where multiple downlink services are sent based on downlink frames of multiple FEC decoding modes, the OLT determines a preset FEC code block corresponding to each of the multiple FEC decoding modes, and sets the downlink time division scheduling result in each preset FEC code block, wherein the sending time and sending duration of the preset FEC code block are pre-agreed with the ONU, and the downlink time division scheduling result is the sending time and sending duration of the multiple downlink services other than the preset FEC code block, or the sending time and sending end time of the multiple downlink services, and the downlink time division scheduling result at least includes the sending position of the downlink service of the same type of FEC code type as the preset FEC code block; The OLT sets a plurality of preset FEC code blocks in the header of a downlink frame of a service type.

6. The method according to claim 3, characterized in that The optical line terminal OLT sets the downlink time division scheduling result in the header of the downlink frame of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: In the case where multiple downlink services are sent based on multiple downlink frames of multiple FEC decoding modes, the OLT determines a preset FEC code block corresponding to each of the multiple FEC decoding modes, and sets the downlink time division scheduling result in each preset FEC code block, wherein the downlink time division scheduling result is a sending time and a sending duration of a downlink service of the same type as the preset FEC code block other than the preset FEC code block, or a sending time and a sending end time of a downlink service; The OLT sequentially sets each of the plurality of preset FEC code blocks at the head of a downlink frame corresponding to the FEC decoding mode.

7. The method according to claim 5 or 6, characterized in that: The optical line terminal OLT sets the downlink time division scheduling result at the tail of the downlink frames of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: The OLT and the ONU agree on the first downlink time slot of the downlink frame of each FEC code type; The OLT sets the downlink time division scheduling result at the end of each downlink time slot of each downlink frame of each FEC code type before completing the transmission of the corresponding downlink frame according to the downlink time division scheduling result, wherein the downlink time division scheduling result is used to indicate the start time of the next downlink time slot.

8. The method according to claim 3, characterized in that The optical line terminal OLT sets the downlink time division scheduling result in the header of the downlink frame of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: In the case where multiple downlink services are sent based on multiple downlink frames of multiple modulation modes, the OLT sets the downlink time division scheduling result in the first downlink subframe in the downlink frame of each modulation mode, wherein the first downlink subframe carries a downlink synchronization header of the corresponding modulation mode, and the first downlink subframe is located at the head of the downlink frame of each modulation mode; the downlink time division scheduling result is the sending time and sending duration of the downlink service of the same modulation mode, or the sending time and sending end time of the downlink service.

9. The method according to claim 8, characterized in that The optical line terminal OLT sets the downlink time division scheduling result at the tail of the downlink frames of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: The OLT determines the start time of the first downlink time slot of the downlink frame of each modulation mode according to the downlink synchronization header of each modulation mode; The OLT sets the downlink time division scheduling result at the end of each downlink time slot before completing the transmission of the corresponding downlink frame according to the downlink time division scheduling result in each downlink time slot of the downlink frame of each modulation mode, wherein the downlink time division scheduling result is used to indicate the start time of the next downlink time slot.

10. The method according to claim 3, characterized in that The optical line terminal OLT sets the downlink time division scheduling result in the header of the downlink frame of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: In the case where multiple downlink services are sent based on multiple downlink frames of multiple line rates, the OLT sets the downlink time division scheduling result in the second downlink subframe in the downlink frame of each line rate, wherein the second downlink subframe carries a downlink synchronization header of the corresponding line rate, and the second downlink subframe is located at the head of the downlink frame of each line rate; the downlink time division scheduling result is the sending time and sending duration of the downlink service of the same line rate, or the sending time and sending end time of the downlink service.

11. The method according to claim 10, characterized in that The optical line terminal OLT sets the downlink time division scheduling result at the tail of the downlink frames of multiple service types to share the downlink time division scheduling result of the downlink service with the optical network unit ONU, including: The OLT determines the start time of the first downlink time slot of the downlink frame of each line rate according to the downlink synchronization header of each line rate; The OLT sets the downlink time division scheduling result at the end of each downlink time slot before completing the transmission of the corresponding downlink frame according to the downlink time division scheduling result in each downlink time slot of the downlink frame of each line rate, wherein the downlink time division scheduling result is used to indicate the start time of the next downlink time slot.

12. A method for sending a downlink service, characterized in that: include: Determine the downlink service to be sent, and perform downlink time division scheduling on the downlink service based on at least one of the following: service flow, service characteristics, and external input; Before sending the downlink service based on the downlink time division scheduling result of the downlink service, the downlink time division scheduling result of the downlink service is shared with the ONU in a first specified manner, wherein the downlink time division scheduling result at least includes the sending time of one or more downlink services.

13. The method according to claim 12, characterized in that Performing downlink time division scheduling on the downlink service based on the service flow includes: Predict the traffic volume of each downlink service; Allocating bandwidth for each downlink service according to the service flow of each downlink service, the priority and / or weight of each downlink service; The downlink time division scheduling result is determined according to the bandwidth allocated to each downlink service, wherein the downlink time division scheduling result is the sending time and sending duration, or the sending time and sending end time, of each downlink service.

14. The method according to claim 12, characterized in that Performing downlink time division scheduling on the downlink service based on the service flow includes: Predict the traffic volume of each downlink service; Locally schedule each downlink service according to the service flow of each downlink service, and determine the sending length of each downlink service, wherein the downlink time division scheduling result includes the sending time and sending length of each downlink service.

15. The method according to claim 13 or 14, characterized in that Forecast the traffic volume of each downstream service, including: Obtaining the amount of cached data for each downlink service; The service flow of each downlink service is predicted according to the buffered data volume of each downlink service, the historical sent data volume of each downlink service, and the historical scheduling result.

16. The method according to claim 12, characterized in that Performing downlink time division scheduling on the downlink service based on service characteristics includes: In the case where the downlink service includes a low-latency service, a fixed time slot is allocated to the low-latency service to obtain a first scheduling result, wherein the allowed delay time of the low-latency service is less than a preset threshold; Perform downlink time division scheduling on the downlink services except the low-latency service in the downlink services to obtain a second scheduling result; wherein the downlink time division scheduling result includes the first scheduling result and the second scheduling result, and the downlink time division scheduling result is the sending time and sending duration, or the sending time and sending end time of the low-latency service and / or other downlink services.

17. The method according to claim 16, characterized in that After obtaining the first scheduling result, the method further includes: The bandwidth of the low-latency service is split according to the first scheduling result, and the downlink time division scheduling result is re-determined according to the splitting result.

18. The method according to claim 12, characterized in that Performing downlink time division scheduling on the downlink service based on external input includes: Obtain the fixed time slot of each downlink service input externally, and obtain the downlink time division scheduling result.

19. The method according to claim 12, characterized in that Before performing downlink time division scheduling on the downlink service, the method further includes one of the following: Determine the downlink service corresponding to each ONU; predict the predicted service flow of the downlink service corresponding to each ONU; allocate bandwidth to each ONU according to the predicted service flow corresponding to each ONU and the weight of each ONU; Scheduling downlink services according to priority and / or weight, and determining the bandwidth corresponding to each downlink service; The bandwidth of the downstream services corresponding to the same ONU is aggregated, or the bandwidth of the downstream services corresponding to the ONU with the same forward error correction FEC decoding mode is aggregated, or the bandwidth of the downstream services corresponding to the ONU with the same modulation mode is aggregated, or the bandwidth of the downstream services corresponding to the ONU with the same line rate is aggregated.

20. The method according to claim 12, characterized in that Sending the downlink service based on the downlink time division scheduling result of the downlink service includes: Determine a first time slot corresponding to a first downlink service according to the downlink time division scheduling result, and send the first downlink service in the first time slot, wherein the first downlink service includes one downlink service; and / or Determine a second time slot corresponding to a second downlink service according to the downlink time division scheduling result, and send the multiple downlink services in the second time slot according to the priority and / or weight of each downlink service in the multiple downlink services, wherein the second downlink service includes the multiple downlink services.

21. The method according to claim 12, characterized in that After sending the downlink service based on the downlink time division scheduling result of the downlink service, the method further includes: In the time slots other than the downlink time division scheduling result, the downlink service is sent by adopting the target scheduling mode, wherein the target scheduling mode includes: a priority-based scheduling mode and a weight-based scheduling mode.

22. A method for receiving downlink services, characterized in that: include: The ONU obtains a downlink time division scheduling result of the downlink service according to the second specified method, wherein the downlink time division scheduling result at least includes a sending time of one or more downlink services; The ONU receives a target downlink service according to the downlink time division scheduling result, wherein the target downlink service is a service related to the ONU among the one or more downlink services.

23. The method according to claim 22, characterized in that The second designation method includes: the ONU obtains the downlink time division scheduling result at a second designated position of the downlink frame, and the OLT and the ONU agree on the downlink time division scheduling result.

24. The method according to claim 23, characterized in that The second designated position includes: a head or a tail of a downlink frame.

25. The method according to claim 23, characterized in that The ONU obtains the downlink time division scheduling result of the downlink service from the header of the downlink frame, including: The ONU parses the received downlink frame and obtains the frame header of the FS frame from the first FEC code block in the downlink frame; The downlink time division scheduling result is obtained from the frame header of the FS frame, wherein the downlink time division scheduling result is the sending time and sending duration of the target downlink service, or the sending time and sending end time of the target downlink service.

26. The method according to claim 23, characterized in that The ONU obtains the downlink time division scheduling result of the downlink service from the header of the downlink frame, including: The ONU parses the received downlink frame and determines a target preset FEC code block corresponding to the FEC decoding mode corresponding to the ONU from a plurality of preset FEC code blocks in the header of the downlink frame; The downlink time division scheduling result is obtained from the target preset FEC code block, wherein the sending time and duration of the target preset FEC code block are pre-agreed, and the downlink time division scheduling result is the sending time and sending duration of the target downlink service outside the target preset FEC code block, or the sending time and sending end time of the target downlink service.

27. The method according to claim 23, characterized in that The ONU obtains the downlink time division scheduling result of the downlink service from the header of the downlink frame, including: The ONU searches for a target downlink frame from the received multiple downlink frames, wherein a preset FEC code block in the header of the target downlink frame corresponds to an FEC decoding mode corresponding to the ONU; The downlink time division scheduling result is obtained from the preset FEC code block in the header of the target downlink frame, wherein the sending time and duration of the preset FEC code block are pre-agreed with the OLT, and the downlink time division scheduling result is the sending time and sending duration of the target downlink service outside the preset FEC code block, or the sending time and sending end time of the target downlink service.

28. The method according to claim 26 or 27, characterized in that The ONU obtains the downlink time division scheduling result of the downlink service from the tail of the downlink frame, including: The ONU obtains a downlink time division scheduling result from the tail of each downlink time slot of the downlink frame of each FEC code type, wherein the downlink time division scheduling result is used to indicate the start time of the next downlink time slot, and the first downlink time slot of the downlink frame of each FEC code type is pre-agreed with the OLT.

29. The method according to claim 23, characterized in that The ONU obtains the downlink time division scheduling result of the downlink service from the header of the downlink frame, including: The ONU searches for a target downlink frame from the received multiple downlink frames, wherein a modulation mode of the target downlink frame corresponds to a modulation mode of the ONU; The downlink time division scheduling result is obtained from the first downlink subframe of the target downlink frame, wherein the first downlink subframe carries a downlink synchronization header of a modulation mode corresponding to the target downlink frame, and the first downlink subframe is located at the head of the target downlink frame; the downlink time division scheduling result is the sending time and sending duration of the target downlink service of the same modulation mode, or the sending time and sending end time of the target downlink service.

30. The method according to claim 29, characterized in that The ONU obtains the downlink time division scheduling result of the downlink service from the tail of the downlink frame, including: The ONU obtains a downlink time division scheduling result from the tail of each downlink time slot of the downlink frame of each modulation mode, wherein the downlink time division scheduling result indicates the start time of the next downlink time slot, and the start time of the first downlink time slot of the downlink frame of each modulation mode is determined according to the downlink synchronization header of the corresponding modulation mode.

31. The method according to claim 23, characterized in that The ONU obtains the downlink time division scheduling result of the downlink service from the header of the downlink frame, including: The ONU searches for a target downlink frame from the received multiple downlink frames, wherein the line rate of the target downlink frame corresponds to the line rate corresponding to the ONU; The downlink time division scheduling result is obtained from the second downlink subframe of the target downlink frame, wherein the second downlink subframe carries a downlink synchronization header of the line rate corresponding to the target downlink frame, and the second downlink subframe is located at the head of the target downlink frame. The downlink time division scheduling result is the sending time and sending duration of the target downlink service of the same line rate mode, or the sending time and sending end time of the target downlink service.

32. The method according to claim 30, characterized in that The ONU obtains the downlink time division scheduling result of the downlink service from the tail of the downlink frame, including: The ONU obtains a downlink time division scheduling result from the tail of each downlink time slot of the downlink frame of each line rate, wherein the downlink time division scheduling result indicates the start time of the next downlink time slot, and the start time of the first downlink time slot of the downlink frame of each line rate is determined according to the downlink synchronization header of the corresponding line rate.

33. The method according to claim 23, characterized in that The ONU receives a target downlink service according to the downlink time division scheduling result, including: The ONU determines the receiving start time and the receiving end time of the target downlink service according to the downlink time division scheduling result; The ONU parses the downlink frame currently received at the receiving start time and receives the target downlink service; The ONU stops parsing the downlink frame currently received at the receiving end time, and stops receiving the target downlink service.

34. The method according to claim 33, characterized in that The ONU analyzes the downlink frame received at the current moment at the receiving start moment, including at least one of the following: Parsing the received downlink frame according to the FEC decoding method corresponding to the ONU at the receiving start time; Parsing the received downlink frame according to the modulation mode corresponding to the ONU at the start time of the reception; At the receiving start time, the received downlink frame is parsed according to the line rate corresponding to the ONU.

35. A device for sending downlink services, characterized in that: include: A first sharing module, used to share a downlink time division scheduling result of a downlink service with an optical network unit ONU in a first specified manner, wherein the downlink time division scheduling result includes at least one or more sending times of downlink services; The sending module is used to send the downlink service according to the downlink time division scheduling result.

36. A device for sending downlink services, characterized in that: include: A scheduling module, used to determine the downlink service to be sent, and perform downlink time division scheduling on the downlink service based on at least one of the following: service flow, service characteristics, and external input; The second sharing module is used to share the downlink time division scheduling result of the downlink service with the ONU in a first specified manner before sending the downlink service based on the downlink time division scheduling result of the downlink service, wherein the downlink time division scheduling result at least includes the sending time of one or more downlink services.

37. A receiving device for downlink service, characterized in that: include: An acquisition module, configured to acquire a downlink time division scheduling result of a downlink service in accordance with a second specified manner, wherein the downlink time division scheduling result at least includes a sending time of one or more downlink services; The receiving module is used to receive the target downlink service according to the downlink time division scheduling result, wherein the target downlink service is a service related to the target ONU among the one or more downlink services.

38. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein, when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 11, or the steps of the method described in any one of claims 12 to 21, or the steps of the method described in any one of claims 22 to 34 are implemented.

39. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the processor implements the steps of the method described in any one of claims 1 to 11, or the steps of the method described in any one of claims 12 to 21, or the steps of the method described in any one of claims 22 to 34.

Citation Information

Cited By

  • Downlink service transmitting method and device, downlink service receiving method and device, storage medium, and electronic device

    EP4730835A1

  • Downlink service transmitting method and device, downlink service receiving method and device, storage medium, and electronic device

    WO2025001927A1