Service configuration method and apparatus, and communication device, storage medium and program product
By optimizing the burst count and single burst time slot configuration in the PON system, the caching problem of ONUs before reaching the time slot window was solved, enabling low-latency service configuration and improving network resource utilization and overall performance.
Patent Information
- Application Number
- PCT/CN2025/111222
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-01
- Filing Date
- 2025-07-29
- Publication Date
- 2026-02-05
AI Technical Summary
In traditional PON systems, the ONU needs to buffer data before reaching the time slot window, which increases uplink latency and affects network performance.
By obtaining the configuration parameters of existing services under the PON channel, determining the configuration parameters based on the new service demand data, reasonably configuring the number of bursts and the time slot of a single burst, optimizing the target scheduling cycle of the PON channel, and ensuring that channel resources meet the new service demands.
It effectively reduces the uplink latency of PON channels, improves the rationality and utilization of network resource allocation, and enhances the overall network performance and efficiency.
Smart Images

Figure CN2025111222_05022026_PF_FP_ABST
Abstract
Description
Service configuration methods, devices, communication equipment, storage media, and program products
[0001] Related applications
[0002] This application claims priority to Chinese patent application filed on August 1, 2024, application number 2024110499503, entitled "Business Configuration Method, Apparatus, Communication Equipment, Storage Medium and Program Product", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of communication technology, and in particular to a service configuration method, apparatus, communication equipment, storage medium, and program product. Background Technology
[0004] PON (Passive Optical Network) is a single-fiber bidirectional optical access network that adopts a P2MP (Point to Multiple Point) structure, including the OLT (Optical Line Terminal) and ODN (Optical Distribution Network) at the central office and the ONU (Optical Network Unit) at the user side.
[0005] In traditional PON systems, the OLT is responsible for allocating and scheduling uplink time slot windows for ONUs. ONUs then send uplink data within the time slot windows allocated by the OLT. During uplink transmission, if the data does not reach the ONU's time slot window, it needs to be buffered locally on the ONU and wait for the next time slot to arrive before sending the data, increasing the uplink latency of the PON link. Summary of the Invention
[0006] Therefore, it is necessary to provide a low-latency service configuration method, apparatus, communication equipment, storage medium, and program product to address the aforementioned technical problems.
[0007] Firstly, this application provides a business configuration method, including:
[0008] Obtain the configuration parameters of each existing service in the uplink time slot allocation frame under the passive optical network (PON) channel; the configuration parameters include the number of bursts and the time slot per burst.
[0009] Based on the service requirements data of the new services, determine the configuration parameters required for the new services in the uplink time slot allocation frame;
[0010] The target scheduling cycle of the PON channel is determined based on the number of bursts for each existing service and the number of bursts for new services.
[0011] Based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling cycle, determine whether the channel resources of the PON channel can support the service requirements of the new service.
[0012] If so, then configure the new service with PON according to the configuration parameters of the new service.
[0013] In one embodiment, determining whether the idle channel resources of the PON channel meet the service requirements of the new service based on the single burst time slots of each existing service, the single burst time slot of the new service, and the target scheduling period includes: determining the expected scheduling period based on the single burst time slots of each existing service and the single burst time slot of the new service; and determining whether the idle channel resources of the PON channel meet the service requirements of the new service based on the relationship between the expected scheduling period and the target scheduling period.
[0014] In one embodiment, determining whether the idle channel resources of the PON channel meet the service requirements of the new service based on the relationship between the expected scheduling period and the target scheduling period includes: if the expected scheduling period is greater than the target scheduling period, then it is determined that the idle channel resources of the PON channel cannot meet the service requirements of the new service; if the expected scheduling period is not greater than the target scheduling period, then it is determined that the idle channel resources of the PON channel can meet the service requirements of the new service.
[0015] In one embodiment, the service requirement data includes required latency and required bandwidth; based on the service requirement data of the new service, the configuration parameters required for the new service in the uplink time slot allocation frame are determined, including: taking the number of bursts corresponding to meeting the required latency of the new service as the burst count of the new service; and determining the single burst time slot of the new service based on the total bandwidth of the PON channel, the burst count of the new service, and the required bandwidth of the new service.
[0016] In one embodiment, the single burst time slot of the new service is determined based on the total bandwidth of the PON channel, the number of bursts of the new service, and the bandwidth requirement of the new service. This includes: determining the bandwidth ratio of the bandwidth requirement of the new service to the total bandwidth of the PON channel; using the ratio of the total time slot of the uplink time slot allocation frame to the number of bursts of the new service as the burst period of the new service; and using the product of the burst period of the new service and the bandwidth ratio as the single burst time slot of the new service.
[0017] In one embodiment, the number of bursts corresponding to meeting the latency requirements of the new service is taken as the burst count of the new service, including: determining the uplink time slot interval of the new service based on the latency requirements of the new service; and determining the burst count of the new service based on the uplink time slot interval of the new service.
[0018] In one embodiment, determining the burst count of the new service based on the uplink time slot interval of the new service includes: using the ratio of the total time slot of the uplink time slot allocation frame to the uplink time slot interval of the new service as a reference burst value; using a preset value as the base, determining the logarithm of the reference burst value to obtain a reference logarithm value; and using the preset value as the base and the rounded-up result of the reference logarithm value as the exponent, performing a power operation to obtain the burst count of the new service.
[0019] In one embodiment, the service requirement data further includes a service forwarding mode; determining the uplink timeslot interval of the new service based on the required latency of the new service includes: determining a fixed transmission latency that matches the service forwarding mode under the PON channel; and determining the uplink timeslot interval of the new service based on the difference between the required latency of the new service and the fixed transmission latency.
[0020] In one embodiment, determining the fixed transmission delay matching the service forwarding mode under the PON channel includes: if the service forwarding mode is a north-south forwarding mode, then determining the fixed transmission delay based on the processing delay of the optical network unit (ONU), the uplink fiber transmission delay, and the processing delay of the optical line terminal (OLT) under the PON channel; if the service forwarding mode is an east-west forwarding mode, then determining the fixed transmission delay based on the processing delay of the ONU, the uplink fiber transmission delay, the OLT processing delay, and the downlink delay of the PON link under the PON channel.
[0021] In one embodiment, the target scheduling period of the PON channel is determined based on the burst count of each existing service and the burst count of the new service, including: selecting the maximum burst count from the burst count of each existing service and the burst count of the new service; and using the ratio of the total timeslot of the uplink timeslot allocation frame to the maximum burst count as the target scheduling period of the PON channel.
[0022] Secondly, this application provides a service configuration apparatus, including:
[0023] The acquisition module is used to acquire the configuration parameters of each existing service in the uplink time slot allocation frame under the passive optical network (PON) channel; the configuration parameters include the number of bursts and the time slot of a single burst.
[0024] The first determining module determines the configuration parameters required for the new service in the uplink time slot allocation frame based on the service requirement data of the new service.
[0025] The second determining module is used to determine the target scheduling period of the PON channel based on the number of bursts of each existing service and the number of bursts of new services.
[0026] The third determination module is used to determine whether the channel resources of the PON channel can support the service requirements of the new service based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling cycle.
[0027] The configuration module is used to configure the new service with PON based on the configuration parameters of the new service if the condition is met.
[0028] Thirdly, this application also provides a communication device, which includes a memory, a transceiver, and a processor. The memory stores a computer program, the transceiver is used to receive or send data under the control of the processor, and the processor executes the computer program to perform the following steps:
[0029] Obtain the configuration parameters of each existing service in the uplink time slot allocation frame under the passive optical network (PON) channel; the configuration parameters include the number of bursts and the time slot per burst.
[0030] Based on the service requirements data of the new services, determine the configuration parameters required for the new services in the uplink time slot allocation frame;
[0031] The target scheduling cycle of the PON channel is determined based on the number of bursts for each existing service and the number of bursts for new services.
[0032] Based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling cycle, determine whether the channel resources of the PON channel can support the service requirements of the new service.
[0033] If so, then configure the new service with PON according to the configuration parameters of the new service.
[0034] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0035] Obtain the configuration parameters of each existing service in the uplink time slot allocation frame under the passive optical network (PON) channel; the configuration parameters include the number of bursts and the time slot per burst.
[0036] Based on the service requirements data of the new services, determine the configuration parameters required for the new services in the uplink time slot allocation frame;
[0037] The target scheduling cycle of the PON channel is determined based on the number of bursts for each existing service and the number of bursts for new services.
[0038] Based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling cycle, determine whether the channel resources of the PON channel can support the service requirements of the new service.
[0039] If so, then configure the new service with PON according to the configuration parameters of the new service.
[0040] Fifthly, this application also provides a computer program product, comprising a computer program that, when executed by a processor, performs the following steps:
[0041] Obtain the configuration parameters of each existing service in the uplink time slot allocation frame under the passive optical network (PON) channel; the configuration parameters include the number of bursts and the time slot per burst.
[0042] Based on the service requirements data of the new services, determine the configuration parameters required for the new services in the uplink time slot allocation frame;
[0043] The target scheduling cycle of the PON channel is determined based on the number of bursts for each existing service and the number of bursts for new services.
[0044] Based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling cycle, determine whether the channel resources of the PON channel can support the service requirements of the new service.
[0045] If so, then configure the new service with PON according to the configuration parameters of the new service.
[0046] The aforementioned service configuration methods, devices, communication equipment, storage media, and program products determine the configuration parameters of the new service in the uplink time slot allocation frame based on the service requirement data of the new service. The configuration parameters include the number of bursts and the time slot of a single burst. From the perspective of the new service itself, the configuration parameters that meet the service requirements of the new service are determined. Furthermore, based on the burst counts of existing services and new services in the uplink time slot allocation frame under the PON channel, the target scheduling period of the PON channel is determined. Then, based on the single burst time slots of existing services, the single burst time slots of new services, and the target scheduling period, it is determined whether the idle channel resources of the PON channel meet the service requirements of the new services. Only if the requirements are met will the new services be configured with PON according to the aforementioned estimated configuration parameters. This achieves reasonable and controlled addition of uplink time slots in the uplink time slot allocation frame when new services are available under the PON channel. This effectively reduces the uplink latency of the PON channel while ensuring that service requirements are met, and simultaneously improves the rationality of network resource allocation and the utilization rate of network resources, thereby improving the overall performance and efficiency of the network.
[0047] Details of one or more embodiments of this application are set forth in the following drawings and description. Other features, objects, and advantages of this application will become apparent from the specification, drawings, and claims. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the published drawings without creative effort.
[0049] Figure 1A is a schematic diagram of an application scenario of a service configuration method in one embodiment;
[0050] Figure 1B is a comparison chart of different uplink time slot allocation results in one embodiment;
[0051] Figure 2 is a flowchart illustrating a service configuration method in one embodiment;
[0052] Figure 3 is a flowchart illustrating the steps for determining whether the business requirements of a new service are met in one embodiment.
[0053] Figure 4A is a flowchart illustrating the steps for determining the configuration parameters of a new service in one embodiment.
[0054] Figure 4B is a schematic diagram of a PON link in a north-south forwarding mode in one embodiment;
[0055] Figure 4C is a schematic diagram of a PON link in an east-west forwarding mode in one embodiment;
[0056] Figure 5A is a flowchart illustrating the service configuration method in another embodiment;
[0057] Figure 5B is a schematic diagram of the uplink time slot allocation result in one embodiment;
[0058] Figure 5C is a schematic diagram of the uplink time slot allocation result in another embodiment;
[0059] Figure 6 is a structural block diagram of a service configuration device in one embodiment;
[0060] Figure 7 is an internal structure diagram of a communication device in one embodiment. Detailed Implementation
[0061] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0062] The service configuration method provided in this application embodiment can be applied to the application environment shown in Figure 1A. The PON system includes an OLT 110, an ODN 120, and at least one ONU 130.
[0063] Among them, the OLT 110, as the central office equipment in the PON system, is used to connect to the terminal equipment of the optical fiber trunk. It is connected to the service network upstream and to the ONU 130 at the user end downstream through the ODN 120.
[0064] During the data transmission process of the PON system 110, the OLT 110 is responsible for transmitting data from the service network side to the ONU 130 through the optical transmission channel provided by the ODN 120, and is also responsible for collecting user-side data from each ONU 130 transmitted by the ODN 120 and sending it to the service network side.
[0065] In the high-bandwidth, non-blocking transmission mode of PON systems, the forwarding time of OLT and ONU devices, as well as the downlink (broadcast) forwarding delay jitter, are relatively small and basically fixed. Therefore, the deterministic guarantee of PON links is usually focused on the scheduling of PON uplink.
[0066] In the current uplink transmission mechanism of PON systems, the OLT is usually responsible for allocating and scheduling the uplink time slot window for ONUs. ONUs can only send uplink data within the time slot allocated by the OLT. If the current time is not within the time slot allocated to the ONU, the uplink data needs to be buffered locally on the ONU and sent after the next time slot arrives, which increases the uplink latency of the PON link.
[0067] Refer to Figure 1B for a comparison of different uplink time slot allocation results. In the traditional uplink time slot allocation method, different uplink time slot windows are allocated to ONU1 and ONU2 in each uplink time slot allocation frame. When ONU1's service data A is within the time slot window of the first uplink time slot allocation frame, ONU1 transmits service data A uplink within the time slot window corresponding to the first uplink time slot allocation frame. Since service data B, C, and D do not fall within the time slot window corresponding to the first uplink time slot allocation frame (e.g., 125μs), they need to wait for the time slot window allocated to ONU1 in the next uplink time slot allocation frame to arrive before uplink transmission of service data B to D can be performed within that time slot window, resulting in a large uplink delay for service data B to D. By adopting the uplink time slot allocation method that introduces bursts, taking the allocation of 4 burst transmission time slots for both ONU1 and ONU2 in each uplink time slot allocation frame as an example, since the service data A to D of ONU1 fall into the four burst transmission time slots of ONU1 respectively, the uplink transmission of service data A to D can be carried out separately under the corresponding burst transmission time slots. Compared with the traditional uplink time slot allocation method, the uplink latency is smaller.
[0068] In summary, to effectively reduce uplink latency, the allocation frequency of uplink time slots can be increased by allocating multiple bursts for the same service within each uplink time slot allocation frame, thereby reducing the time slots between ONU bursts. Therefore, configuring the number of bursts appropriately is crucial.
[0069] In some embodiments, as shown in FIG2, this application provides a service configuration method, which can be applied to a controller that configures parameters of the PON system shown in FIG1A. This application does not limit the execution subject of the service configuration method. In some embodiments, the method includes the following steps:
[0070] S210, obtain the configuration parameters of each existing service in the uplink time slot allocation frame under the PON channel; among which, the configuration parameters include the number of bursts and the single burst time slot.
[0071] Existing services can be understood as services already configured under the PON channel. The configuration parameters for each existing service include the number of bursts and the single burst time slot. A burst can be understood as data or signals continuously transmitted within an uplink time slot allocation frame. The number of bursts for an existing service is also the maximum number of bursts in a single uplink time slot allocation frame. The single burst time slot for an existing service can be understood as the transmission time slot allocated for a single burst of that existing service within the uplink time slot allocation frame.
[0072] The number of existing services can be at least one, and this application does not impose any limitation on the number of existing services. The configuration of existing services can be implemented by at least one of the prior art, and this application does not impose any limitation on this, as long as it is ensured that the configuration information of existing services under the PON channel can be obtained when it is necessary to configure services for new services.
[0073] S220 determines the configuration parameters required for the new service in the uplink time slot allocation frame based on the service requirement data of the new service.
[0074] New services can be understood as services to be configured under the PON channel. Service requirement data includes at least one of the following: required latency, required bandwidth, and service forwarding mode.
[0075] It is understandable that the configuration parameters for the new business are determined directly based on the business requirements data of the new business, so that the determined configuration parameters can meet the business requirements of the new business.
[0076] For example, the configuration parameters required for the new service in the uplink timeslot allocation frame can be determined based on the new service's required latency, required bandwidth, and service forwarding mode.
[0077] The configuration parameters required in the uplink time slot allocation frame include the number of bursts for the new service and the single burst time slot for the new service.
[0078] S230 determines the target scheduling cycle of the PON channel based on the number of bursts for each existing service and the number of bursts for new services.
[0079] For example, the maximum number of bursts can be selected from the burst counts of existing services and the burst counts of new services; the ratio of the total time slots of the uplink time slot allocation frame to the maximum number of bursts can be used as the target scheduling period of the PON channel.
[0080] The total time slots of the uplink time slot allocation frame are the total duration available for allocation within the uplink PON scheduling cycle, for example, 125μs.
[0081] Understandably, by introducing the maximum number of bursts instead of randomly selecting the number of bursts or the average number of bursts, the target scheduling period is determined so that the determined target scheduling period is the minimum scheduling period under the PON channel, thereby providing a guarantee for the reasonable allocation of idle channel resources of the PON channel.
[0082] S240 determines whether the idle channel resources of the PON channel meet the service requirements of the new service based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling cycle.
[0083] In some embodiments, within a target scheduling period, the time slot resources of the PON channels required by all existing services can be determined based on the single burst time slots of each existing service; based on the time slot resources of the PON channels required by all existing services, the idle time slot resources under the PON channels within the target scheduling period can be determined; if the idle time slot resources are not less than the single burst time slot of the new service, then it is determined that the idle channel resources of the PON channels can meet the service requirements of the new service; if the idle time slot resources are less than the single burst time slot of the new service, then it is determined that the idle channel resources of the PON channels cannot meet the service requirements of the new service.
[0084] If S250 is the case, then the new service will be configured with PON according to the configuration parameters of the new service.
[0085] For example, if the idle channel resources of the PON channel can meet the service requirements of the new service, then the new service is configured with PON based on the number of bursts and the time slot of a single burst; if the idle channel resources of the PON channel cannot meet the service requirements of the new service, then the new service is not configured with PON under this PON channel.
[0086] This application embodiment determines the configuration parameters of the new service in the uplink time slot allocation frame based on the service requirement data of the new service. These configuration parameters include the burst count and the single burst time slot of the new service. From the perspective of the new service itself, configuration parameters that meet the service requirements of the new service are determined. Furthermore, based on the burst count of each existing service and the burst count of the new service in the uplink time slot allocation frame under the PON channel, the target scheduling period of the PON channel is determined. Then, based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling period, it is determined whether the idle channel resources of the PON channel meet the service requirements of the new service. Only if the requirements are met will the new service be configured with PON according to the aforementioned estimated configuration parameters. This achieves reasonable and controlled addition of uplink time slots in the uplink time slot allocation frame when there is a new service under the PON channel. This effectively reduces the uplink latency of the PON channel while ensuring that service requirements are met, and improves the rationality of network resource allocation and the utilization rate of network resources, thereby improving the overall performance and efficiency of the network.
[0087] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment. In this optional embodiment, the step of determining whether the service requirements of the new service are met in S240 is refined.
[0088] The steps for determining whether the business requirements of a new service are met, as shown in Figure 3, include:
[0089] S310 determines the expected scheduling cycle based on the single burst time slots of existing services and the single burst time slots of new services.
[0090] The expected scheduling period can be understood as the scheduling period required when a new service is added to the PON channel.
[0091] For example, the sum of the single burst time slots of existing services and the single burst time slots of new services can be used as the expected scheduling period.
[0092] S320 determines whether the idle channel resources of the PON channel meet the service requirements of new services based on the relationship between the expected scheduling period and the target scheduling period.
[0093] If the expected scheduling period is longer than the target scheduling period, it indicates that there are not enough time slots within the target scheduling period. Therefore, the corresponding PON channel cannot guarantee sufficient idle channel resources to support the service requirements of new services when transmitting new services. Conversely, if the expected scheduling period is no longer than the target scheduling period, it indicates that there are enough time slots within the target scheduling period. Therefore, the corresponding PON channel has sufficient idle channel resources to support the service requirements of new services when transmitting new services.
[0094] This application embodiment determines the expected scheduling period by introducing single burst time slots of existing services and single burst time slots of new services, and determines whether the idle channel resources of the PON channel meet the service requirements of the new services by comparing the expected scheduling period with the target scheduling period. The above calculation method is convenient and fast, with a small amount of calculation, which helps to improve the configuration efficiency of service configuration.
[0095] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment. In this optional embodiment, the service requirement data is refined to include requirement latency and requirement bandwidth, and the steps for determining the configuration parameters of the newly added service in S220 are further refined.
[0096] Refer to Figure 4A for the steps to determine the configuration parameters of the new service, including S410 and S420.
[0097] S410 defines the number of bursts corresponding to the latency required to meet the needs of new services as the burst count for new services.
[0098] It should be noted that setting different burst counts for new services will result in varying latency in the data transmission process for those new services. Therefore, the burst count for new services can be determined in reverse, based on the required latency of the new services, to avoid situations where the determined burst count cannot meet the required latency of the new services.
[0099] For example, the minimum number of bursts that meet the latency requirements of new services can be directly used as the number of bursts for new services, reducing bandwidth resource consumption and thus maximizing the utilization of PON link resources.
[0100] In one optional embodiment, the uplink time slot interval of the new service can be determined based on the required latency of the new service; and the burst count of the new service can be determined based on the uplink time slot interval of the new service.
[0101] The uplink time slot interval of the newly added service refers to the time interval between the start points of two adjacent time slots of the newly added service.
[0102] It is understandable that the latency of a PON link can include ONU processing latency T1, uplink transmission latency T2, OLT processing latency T3, and downlink latency T4. Uplink transmission latency T2 typically includes the uplink timeslot interval T2_1 and the uplink fiber transmission latency T2_2. Since T1, T2_2, T3, and T4 have low jitter and low latency, and are only related to the hardware attributes of the PON link, they do not change with adjustments to the PON configuration. Therefore, their values are relatively fixed, and the latency of T2_1 can be adjusted by configuring the scheduling based on the latency requirements of new services.
[0103] Since the uplink data transmission links are different under different service forwarding modes, the corresponding fixed transmission delays are also different. Therefore, the service forwarding mode can be introduced into the service requirement data to assist in determining the uplink time slot interval.
[0104] For example, a fixed transmission delay matching the service forwarding mode under the PON channel can be determined; the uplink timeslot interval of the new service can be determined based on the difference between the required delay of the new service and the fixed transmission delay.
[0105] In some embodiments, if the service forwarding mode is a north-south forwarding mode, the fixed transmission mode is determined based on the ONU processing delay T1, the uplink fiber transmission delay T2_2, and the OLT processing delay T3 under the PON channel.
[0106] PON north-south forwarding mode refers to the working mode in which data is forwarded southward (OLT to ONU) and northward (ONU to OLT) between the network-side OLT and the user-side ONU according to predetermined rules.
[0107] Referring to the PON link diagram in the north-south forwarding mode shown in Figure 4B, the uplink delay T = T1 + T2 + T3 = T1 + (T2_1 + T2_2) + T3 = T2_1 + (T1 + T2_2 + T3) = T2_1 + Ts1, where Ts1 is the fixed transmission delay in the north-south forwarding mode.
[0108] In some embodiments, if the service forwarding mode is an east-west forwarding mode, the fixed transmission delay is determined based on the ONU processing delay T1, the uplink fiber transmission delay T2_2, the OLT processing delay T3, and the downlink delay T4 of the PON link under the PON channel.
[0109] East-west forwarding mode refers to the direct exchange of service data between different ONUs under the same OLT PON port at the OLT level.
[0110] Referring to Figure 4C, which shows a schematic diagram of a PON link in the east-west forwarding mode, the uplink delay T = 2T1 + T2 + T3 + T4 = 2T1 + (T2_1 + T2_2) + T3 + T4 = T2_1 + Ts2. Here, Ts2 is the fixed transmission delay in the east-west forwarding mode.
[0111] For example, the uplink time slot interval can be determined with the goal that the upper limit of the network latency of the PON system (i.e., the aforementioned uplink latency T) is less than the required latency Td of the new service, thereby ensuring that the determined uplink time slot interval of the new service can meet the latency requirements of the new service.
[0112] In some embodiments, when the service forwarding mode is north-south forwarding, if T = T2_1 + Ts1 < Td, it can be deduced that T2_1 < Td - Ts1. Therefore, the uplink timeslot interval T2_1 of the new service can be determined from the data that is less than the difference between the required delay Td of the new service and the fixed transmission delay Ts1. When the service forwarding mode is east-west forwarding, if T = T2_1 + Ts2 < Td, it can be deduced that T2_1 < Td - Ts2. Therefore, the uplink timeslot interval T2_1 of the new service can be determined from the data that is less than the difference between the required delay Td of the new service and the fixed transmission delay Ts2.
[0113] In one optional embodiment, the number of bursts of the new service is determined based on the uplink timeslot interval of the new service. This can be achieved by directly determining the number of bursts of the new service based on the ratio between the total timeslots of the uplink timeslot allocation frame and the uplink timeslot interval of the new service.
[0114] However, directly determining the burst count of new services using the above method may result in an unreasonable burst count, affecting the effective configuration of new services. To overcome this problem, in another optional embodiment, determining the burst count of new services based on the uplink time slot interval of the new services can also be achieved by using the ratio of the total time slots of the uplink time slot allocation frame to the uplink time slot interval of the new services as a reference burst value; using a preset value as the base, determining the logarithm of the reference burst value to obtain a reference logarithmic value; and using the preset value as the base and the rounded-up result of the reference logarithmic value as the exponent, performing a power operation to obtain the burst count of the new services.
[0115] Specifically, the following formula can be used to determine the number of sudden increases in new business activity:
[0116] Where N is the number of bursts of the new service; T0 is the total time slot of the uplink time slot allocation frame, for example, it can be 125μs; T2_1 is the uplink time slot interval of the new service; a is a preset value, for example, it can be 2; This is the floor operator.
[0117] It should be noted that rounding the reference logarithm up before calculation ensures that the determined burst count for new services is the minimum burst count required to meet the latency demands of the new services. This guarantees a balance between the latency demands of new services and the additional bandwidth overhead, maximizing the utilization of PON link resources and effectively improving the overall performance and efficiency of the network.
[0118] Taking a preset value of 2 as an example, the reference logarithm value can be rounded up by adding 1 to the integer result of the reference logarithm value log2(T0 / T2_1).
[0119] The above-mentioned operation of determining the number of bursts of new services first determines the uplink time slot interval of the new services based on the required latency of the new services, ensuring the matching between the determined uplink time slot interval and the required time of the new services. Therefore, determining the number of bursts of new services based on the uplink time slot interval of the new services improves the latency matching between the burst count result and the required latency of the new services.
[0120] S420 determines the single burst time slot of the new service based on the total bandwidth of the PON channel, the number of bursts of the new service, and the bandwidth required by the new service.
[0121] In one optional embodiment, the bandwidth requirement of the new service in the total bandwidth of the PON channel can be determined; the ratio of the total timeslot of the uplink timeslot allocation frame to the number of bursts of the new service can be used as the burst period of the new service; and the product of the burst period of the new service and the bandwidth requirement can be used as the single burst timeslot of the new service.
[0122] Specifically, the single burst time slot for new services can be determined using the following formula: Cd=(T0 / N)*(BW1 / BW0);
[0123] Where Cd is the single burst time slot of the new service; T0 is the total time slot of the uplink time slot allocation frame, for example, it can be 125μs; N is the number of bursts of the new service; BW1 is the required bandwidth of the new service; and BW0 is the total bandwidth of the PON channel.
[0124] Understandably, by introducing bandwidth ratio and the burst cycle of new services, and using the product of the two to determine the single burst time slot of new services, the calculation method is convenient and fast with a small amount of computation, which improves the calculation efficiency of the single burst time slot of new services, and thus helps to improve the configuration efficiency of service configuration.
[0125] This application embodiment uses the number of bursts corresponding to the latency required for the new service as the burst count for the new service; based on the total bandwidth of the PON channel, the burst count for the new service, and the bandwidth required for the new service, the single burst time slot for the new service is comprehensively determined, so that the determined single burst time slot can meet the latency and bandwidth requirements of the new service, avoiding the situation where the configuration result cannot meet the service requirements of the new service and service anomalies occur when the new service is configured later.
[0126] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment, in which the service configuration process for adding new services is described in detail.
[0127] Refer to the service configuration method shown in Figure 5A, which includes the following steps.
[0128] S501: In response to the business requirement upload operation, the user end sends the business requirement data of the new business to the controller.
[0129] For example, business requirement data includes business forwarding mode, required latency, and required bandwidth.
[0130] S502, the controller determines the fixed transmission delay under the PON channel that matches the service forwarding mode of the new service.
[0131] For example, if the service forwarding mode is north-south forwarding mode, the fixed transmission delay Ts is the sum of ONU processing delay T1, uplink fiber transmission delay T2_2, and OLT processing delay T3; if the service forwarding mode is east-west forwarding mode, the fixed transmission delay Ts is twice the sum of ONU processing delay T1, uplink fiber transmission delay T2_2, OLT processing delay T3, and downlink delay T4.
[0132] S503: The controller determines the uplink timeslot interval of the new service based on the difference between the required delay of the new service and the fixed transmission delay.
[0133] For example, with the goal of the uplink time slot boundary T (which is the upper limit of network latency T of the PON system, where T = T2_1 + Ts) being less than the required latency Td of the new service, the uplink time slot interval of the new service is determined as: T2_1 < Td - Ts.
[0134] S504: The controller determines the number of bursts for new services based on the uplink time slot interval of the new services.
[0135] For example, the following formula can be used to determine the number of bursts of new business:
[0136] Where N is the number of bursts of the new service; T0 is the total time slot of the uplink time slot allocation frame, for example, it can be 125μs; T2_1 is the uplink time slot interval of the new service; a is a preset value, for example, it can be 2; This is the floor operator.
[0137] The S505 controller determines the single burst time slot of a new service based on the total bandwidth of the PON channel, the number of bursts of the new service, and the bandwidth requirements of the new service.
[0138] For example, the single burst time slot of a new service can be determined using the following formula: Cd=(T0 / N)*(BW1 / BW0);
[0139] Where Cd is the single burst time slot of the new service; T0 is the total time slot of the uplink time slot allocation frame, for example, it can be 125μs; N is the number of bursts of the new service; BW1 is the required bandwidth of the new service; and BW0 is the total bandwidth of the PON channel.
[0140] S506, the controller obtains from the PON device the burst count and single burst time slot of each existing service in the uplink time slot allocation frame under the PON channel.
[0141] It should be noted that the number of bursts and the time slot of each existing service can be calculated using the same method as the aforementioned method for determining new services when the corresponding existing service is a new service, or can be determined using other methods. This application will not elaborate on these points here.
[0142] It should be noted that S506 can be performed before, after, or in the middle of S502 to S505. This application does not impose any restrictions on the order of S506 with S502 to S505.
[0143] S507: The controller determines the target scheduling cycle of the PON channel based on the burst count of each existing service and the burst count of new services.
[0144] For example, the target scheduling period of a PON channel can be determined using the following formula: S = T0 / max{Ni, Nd} where i = 1,...,n
[0145] Where T0 is the total time slot of the uplink time slot allocation frame, for example, it can be 125μs; Ni is the burst count of the i-th existing service in the PON channel; n is the total number of existing services in the PON channel; and Nd is the burst count of the newly added service.
[0146] S508: The controller determines the expected scheduling period based on the single burst time slots of existing services and the single burst time slots of new services.
[0147] For example, the desired scheduling period can be determined using the following formula:
[0148] Where C is the expected scheduling period; Ci is the single burst time slot of the i-th existing service in the PON channel; n is the total number of existing services in the PON channel; and Cd is the single burst time slot of the newly added service.
[0149] S509A: If the expected scheduling period is longer than the target scheduling period, the controller will send a reminder message to the user terminal that the business requirements of the new service cannot be met.
[0150] S509B: If the expected scheduling period is no greater than the target scheduling period, the controller will configure the new service for PON based on the bandwidth requirements and burst count of the new service; then continue executing S510.
[0151] S510, the PON device reports the configuration result to the controller, indicating whether the configuration of the new service was successful or not; then proceed to S511.
[0152] S511, the controller sends feedback to the user terminal regarding the success or failure of the configuration of the new service.
[0153] The following section will illustrate the business configuration process for adding new services with examples.
[0154] Example 1: The new service is an east-west forwarding mode, with a required latency of 60μs and a required bandwidth of 2.5G.
[0155] Calculations using the above scheme show that the number of bursts for the new service is 4, the target scheduling period S is 31.25μs, and the single burst time slot Cd for the new service is 7.8μs; the number of existing services is 2, with a corresponding single burst time slot of 7.8μs for each. Referring to Figure 5B, which illustrates the uplink time slot allocation, since 7.8 + 7.8 + 7.8 < 31.25, the PON channel resources can meet the service requirements of the new service. Therefore, the PON configuration can be based on a single burst time slot of 7.8μs and a required bandwidth of 2.5G for the new service.
[0156] Example 2: The new service is an east-west forwarding mode, with a required latency of 30μs and a required bandwidth of 2.5G.
[0157] Calculations using the above scheme show that the number of bursts for the new service is 8, the target scheduling period S is 15.625μs, and the single burst time slot Cd for the new service is 3.9μs; the number of existing services is 2, with a corresponding single burst time slot of 7.8μs for each. Referring to Figure 5C, which shows the uplink time slot allocation results, since 7.8 + 7.8 + 3.9 > 15.625, the channel resources of the PON channel cannot meet the service requirements of the new service; therefore, no new service configuration will be performed under the PON channel.
[0158] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0159] Based on the same inventive concept, this application also provides a service configuration apparatus for implementing the service configuration method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more service configuration apparatus embodiments provided below can be found in the limitations of the service configuration method described above, and will not be repeated here.
[0160] In one embodiment, as shown in FIG6, a service configuration device is provided, including an acquisition module 610, a first determination module 620, a second determination module 630, a third determination module 640, and a configuration module 650.
[0161] The acquisition module 610 is used to acquire the configuration parameters of each existing service in the uplink time slot allocation frame under the passive optical network (PON) channel; wherein, the configuration parameters include the number of bursts and the time slot of a single burst;
[0162] The first determining module 620 determines the configuration parameters required for the new service in the uplink time slot allocation frame based on the service requirement data of the new service.
[0163] The second determining module 630 is used to determine the target scheduling period of the PON channel based on the burst count of each existing service and the burst count of the new service.
[0164] The third determining module 640 is used to determine whether the channel resources of the PON channel can support the service requirements of the new service based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling cycle.
[0165] The configuration module 650 is used to configure the new service using PON based on the configuration parameters of the new service when it is determined that the channel resources of the PON channel can support the service requirements of the new service.
[0166] In one embodiment, the third determining module 640 includes: a first determining unit, configured to determine the expected scheduling period based on the single burst time slots of each existing service and the single burst time slots of the new service; and a second determining unit, configured to determine whether the idle channel resources of the PON channel meet the service requirements of the new service based on the relationship between the expected scheduling period and the target scheduling period.
[0167] In one embodiment, the second determining unit is specifically configured to: if the expected scheduling period is greater than the target scheduling period, determine that the idle channel resources of the PON channel cannot meet the service requirements of the new service; if the expected scheduling period is not greater than the target scheduling period, determine that the idle channel resources of the PON channel can meet the service requirements of the new service.
[0168] In one embodiment, the service requirement data includes the required latency and the required bandwidth; the first determining module 620 includes: a third determining unit, used to take the number of bursts corresponding to the required latency of the new service as the number of bursts of the new service; and a fourth determining unit, used to determine the single burst time slot of the new service based on the total bandwidth of the PON channel, the number of bursts of the new service, and the required bandwidth of the new service.
[0169] In one embodiment, the fourth determining unit is specifically used to: determine the bandwidth ratio of the required bandwidth of the new service to the total bandwidth of the PON channel; take the ratio of the total timeslot of the uplink timeslot allocation frame to the burst number of the new service as the burst period of the new service; and take the product of the burst period of the new service and the bandwidth ratio as the single burst timeslot of the new service.
[0170] In one embodiment, the third determining unit includes: a first determining subunit, configured to determine the uplink time slot interval of the new service based on the required latency of the new service; and a second determining subunit, configured to determine the burst count of the new service based on the uplink time slot interval of the new service.
[0171] In one embodiment, the second determining subunit is specifically used to: take the ratio of the total time slot of the uplink time slot allocation frame to the uplink time slot interval of the new service as a reference burst value; determine the logarithm of the reference burst value with a preset value as the base to obtain a reference logarithmic value; and perform exponentiation with the preset value as the base and the rounded-up result of the reference logarithmic value as the exponent to obtain the burst count of the new service.
[0172] In one embodiment, the first determining subunit is specifically used to: determine a fixed transmission delay that matches the service forwarding mode under the PON channel; and determine the uplink timeslot interval of the new service based on the difference between the required delay of the new service and the fixed transmission delay.
[0173] In one embodiment, when the first determining subunit determines the fixed transmission delay that matches the service forwarding mode under the PON channel, it is specifically used to: if the service forwarding mode is a north-south forwarding mode, determine the fixed transmission delay based on the processing delay of the optical network unit (ONU), the uplink fiber transmission delay, and the processing delay of the optical line terminal (OLT) under the PON channel; if the service forwarding mode is an east-west forwarding mode, determine the fixed transmission delay based on the processing delay of the ONU, the uplink fiber transmission delay, the OLT processing delay, and the downlink delay of the PON link under the PON channel.
[0174] In one embodiment, the second determining module 630 includes: a selection unit, used to select the maximum burst count from the burst counts of existing services and the burst counts of new services; and a fifth determining unit, used to use the ratio of the total timeslots of the uplink timeslot allocation frame to the maximum burst count as the target scheduling period of the PON channel.
[0175] Each module in the aforementioned service configuration device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the communication device in hardware form or independent of it, or stored in the memory of the communication device in software form, so that the processor can call and execute the operations corresponding to each module.
[0176] In one embodiment, a communication device is provided, which may be a server, and its internal structure diagram is shown in Figure 7. The communication device includes a processor, memory, network interface, and transceiver connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The transceiver performs data receiving or sending operations under the control of the processor. The non-volatile storage media stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores data such as uplink and downlink SMS messages. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a service configuration method.
[0177] Those skilled in the art will understand that the structure shown in Figure 7 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the communication device to which the present application is applied. Specific communication devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0178] In one embodiment, a communication device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the processing logic in the computer program to perform the following steps:
[0179] Obtain the configuration parameters of each existing service in the uplink time slot allocation frame under the passive optical network (PON) channel; the configuration parameters include the number of bursts and the time slot per burst.
[0180] Based on the service requirements data of the new services, determine the configuration parameters required for the new services in the uplink time slot allocation frame;
[0181] The target scheduling cycle of the PON channel is determined based on the number of bursts for each existing service and the number of bursts for new services.
[0182] Based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling cycle, determine whether the idle channel resources of the PON channel meet the service requirements of the new service.
[0183] If so, then configure the new service with PON according to the configuration parameters of the new service.
[0184] In one embodiment, when the processor executes the processing logic in the computer program, it also performs the following steps: determining the expected scheduling period based on the single burst time slots of each existing service and the single burst time slots of the new service; and determining whether the idle channel resources of the PON channel meet the service requirements of the new service based on the relationship between the expected scheduling period and the target scheduling period.
[0185] In one embodiment, when the processor executes the processing logic in the computer program, it further implements the following steps: if the expected scheduling period is greater than the target scheduling period, it determines that the idle channel resources of the PON channel cannot meet the service requirements of the new service; if the expected scheduling period is not greater than the target scheduling period, it determines that the idle channel resources of the PON channel can meet the service requirements of the new service.
[0186] In one embodiment, when the processor executes the processing logic in the computer program, it also performs the following steps: taking the number of bursts corresponding to the latency required by the new service as the burst count of the new service; and determining the single burst time slot of the new service based on the total bandwidth of the PON channel, the burst count of the new service, and the bandwidth required by the new service.
[0187] In one embodiment, when the processor executes the processing logic in the computer program, it also performs the following steps: determining the bandwidth ratio of the required bandwidth of the new service to the total bandwidth of the PON channel; taking the ratio of the total timeslot of the uplink timeslot allocation frame to the burst number of the new service as the burst period of the new service; and taking the product of the burst period of the new service and the bandwidth ratio as the single burst timeslot of the new service.
[0188] In one embodiment, when the processor executes the processing logic in the computer program, it further performs the following steps: determining the uplink time slot interval of the new service based on the required latency of the new service; and determining the burst count of the new service based on the uplink time slot interval of the new service.
[0189] In one embodiment, when the processor executes the processing logic in the computer program, it further implements the following steps: taking the ratio of the total time slots of the uplink time slot allocation frame to the uplink time slot interval of the new service as a reference burst value; determining the logarithm of the reference burst value with a preset value as the base to obtain a reference logarithmic value; and performing a power operation with the preset value as the base and the rounded-up result of the reference logarithmic value as the exponent to obtain the burst count of the new service.
[0190] In one embodiment, when the processor executes the processing logic in the computer program, it also performs the following steps: determining a fixed transmission delay that matches the service forwarding mode under the PON channel; and determining the uplink timeslot interval of the new service based on the difference between the required delay of the new service and the fixed transmission delay.
[0191] In one embodiment, when the processor executes the processing logic in the computer program, it further implements the following steps: if the service forwarding mode is a north-south forwarding mode, then a fixed transmission delay is determined based on the processing delay of the optical network unit (ONU) under the PON channel, the uplink fiber transmission delay, and the processing delay of the optical line terminal (OLT); if the service forwarding mode is an east-west forwarding mode, then a fixed transmission delay is determined based on the processing delay of the ONU under the PON channel, the uplink fiber transmission delay, the OLT processing delay, and the downlink delay of the PON link.
[0192] In one embodiment, when the processor executes the processing logic in the computer program, it also performs the following steps: selecting the maximum burst count from the burst counts of existing services and the burst counts of new services; and using the ratio of the total timeslots of the uplink timeslot allocation frame to the maximum burst count as the target scheduling period of the PON channel.
[0193] In one embodiment, a computer-readable storage medium or computer program product is provided, on which a computer program is stored, wherein the processing logic in the computer program, when executed by a processor, performs the following steps:
[0194] Obtain the configuration parameters of each existing service in the uplink time slot allocation frame under the passive optical network (PON) channel; the configuration parameters include the number of bursts and the time slot per burst.
[0195] Based on the service requirements data of the new services, determine the configuration parameters required for the new services in the uplink time slot allocation frame;
[0196] The target scheduling cycle of the PON channel is determined based on the number of bursts for each existing service and the number of bursts for new services.
[0197] Based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling cycle, determine whether the idle channel resources of the PON channel meet the service requirements of the new service.
[0198] If so, then configure the new service with PON according to the configuration parameters of the new service.
[0199] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: determining the expected scheduling period based on the single burst time slots of each existing service and the single burst time slots of the new service; and determining whether the idle channel resources of the PON channel meet the service requirements of the new service based on the relationship between the expected scheduling period and the target scheduling period.
[0200] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: if the expected scheduling period is greater than the target scheduling period, it is determined that the idle channel resources of the PON channel cannot meet the service requirements of the new service; if the expected scheduling period is not greater than the target scheduling period, it is determined that the idle channel resources of the PON channel can meet the service requirements of the new service.
[0201] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: taking the number of bursts corresponding to the latency required by the new service as the burst count of the new service; and determining the single burst time slot of the new service based on the total bandwidth of the PON channel, the burst count of the new service, and the bandwidth required by the new service.
[0202] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also performed: determining the bandwidth ratio of the required bandwidth of the new service to the total bandwidth of the PON channel; using the ratio of the total timeslot of the uplink timeslot allocation frame to the burst number of the new service as the burst period of the new service; and using the product of the burst period of the new service and the bandwidth ratio as the single burst timeslot of the new service.
[0203] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also performed: determining the uplink time slot interval of the new service based on the required latency of the new service; and determining the burst count of the new service based on the uplink time slot interval of the new service.
[0204] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: the ratio of the total time slots of the uplink time slot allocation frame to the uplink time slot interval of the new service is used as a reference burst value; the logarithm of the reference burst value is determined with a preset value as the base to obtain a reference logarithmic value; and the number of bursts of the new service is obtained by exponentiation with the preset value as the base and the rounded-up result of the reference logarithmic value as the exponent.
[0205] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also performed: determining a fixed transmission delay that matches the service forwarding mode under the PON channel; and determining the uplink timeslot interval of the new service based on the difference between the required delay of the new service and the fixed transmission delay.
[0206] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: if the service forwarding mode is a north-south forwarding mode, a fixed transmission delay is determined based on the processing delay of the optical network unit (ONU) under the PON channel, the uplink fiber transmission delay, and the processing delay of the optical line terminal (OLT); if the service forwarding mode is an east-west forwarding mode, a fixed transmission delay is determined based on the processing delay of the ONU under the PON channel, the uplink fiber transmission delay, the OLT processing delay, and the downlink delay of the PON link.
[0207] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: selecting the maximum burst count from the burst counts of existing services and the burst counts of new services; and using the ratio of the total timeslots of the uplink timeslot allocation frame to the maximum burst count as the target scheduling period of the PON channel.
[0208] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0209] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0210] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0211] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A business configuration method, comprising: Obtain the configuration parameters of each existing service in the uplink time slot allocation frame under the passive optical network (PON) channel; wherein, the configuration parameters include the number of bursts and the time slot of a single burst; Based on the service requirement data of the new service, determine the configuration parameters required for the new service in the uplink time slot allocation frame; The target scheduling period of the PON channel is determined based on the burst count of each existing service and the burst count of the new service. Based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling period, determine whether the idle channel resources of the PON channel meet the service requirements of the new service. If so, then PON configuration is performed on the new service according to the configuration parameters of the new service.
2. The method according to claim 1, wherein, The step of determining whether the idle channel resources of the PON channel meet the service requirements of the new service based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling period includes: The expected scheduling period is determined based on the single burst time slot of each existing service and the single burst time slot of the new service. Based on the relationship between the expected scheduling period and the target scheduling period, determine whether the idle channel resources of the PON channel meet the service requirements of the new service.
3. The method according to claim 2, wherein, The step of determining whether the channel resources of the PON channel can support the service requirements of the new service based on the relationship between the expected scheduling period and the target scheduling period includes: If the expected scheduling period is greater than the target scheduling period, then it is determined that the idle channel resources of the PON channel cannot meet the service requirements of the new service. If the expected scheduling period is not greater than the target scheduling period, then it is determined that the idle channel resources of the PON channel can meet the service requirements of the new service.
4. The method according to claim 1, wherein, The service requirement data includes required latency and required bandwidth; determining the configuration parameters required by the new service in the uplink time slot allocation frame based on the new service requirement data includes: The number of bursts corresponding to the latency required to meet the new service requirements will be taken as the number of bursts for the new service. The single burst time slot of the new service is determined based on the total bandwidth of the PON channel, the number of bursts of the new service, and the bandwidth requirement of the new service.
5. The method according to claim 4, wherein, The step of determining the single burst time slot of the new service based on the total bandwidth of the PON channel, the burst count of the new service, and the bandwidth requirement of the new service includes: Determine the percentage of the bandwidth required by the new service in the total bandwidth of the PON channel; The ratio of the total time slots of the uplink time slot allocation frame to the burst count of the new service is used as the burst period of the new service. The product of the burst period of the new service and the bandwidth ratio is used as the single burst time slot of the new service.
6. The method according to claim 4, wherein, The number of bursts corresponding to meeting the latency requirements of the new service, as the burst count of the new service, includes: Based on the latency requirements of the new service, determine the uplink time slot interval of the new service; The number of bursts of the new service is determined based on the uplink time slot interval of the new service.
7. The method according to claim 6, wherein, The step of determining the burst frequency of the new service based on the uplink time slot interval of the new service includes: The ratio of the total time slots of the uplink time slot allocation frame to the uplink time slot interval of the newly added service is used as a reference burst value; Using a preset value as the base, determine the logarithm of the reference burst value to obtain the reference logarithm value; Using the preset value as the base and the rounded-up result of the reference logarithm as the exponent, the burst count of the new service is obtained by exponentiation.
8. The method according to claim 6, wherein, The service requirement data also includes the service forwarding mode; determining the uplink time slot interval of the new service based on the required latency of the new service includes: Determine the fixed transmission delay that matches the service forwarding mode under the PON channel; The uplink time slot interval of the new service is determined based on the difference between the required latency of the new service and the fixed transmission latency.
9. The method according to claim 8, wherein, Determining the fixed transmission delay that matches the service forwarding mode under the PON channel includes: If the service forwarding mode is a north-south forwarding mode, the fixed transmission delay is determined based on the processing delay of the optical network unit (ONU) under the PON channel, the uplink fiber transmission delay, and the processing delay of the optical line terminal (OLT). If the service forwarding mode is an east-west forwarding mode, the fixed transmission delay is determined based on the ONU processing delay, uplink fiber transmission delay, OLT processing delay, and downlink delay of the PON link under the PON channel.
10. The method according to any one of claims 1-9, wherein, The step of determining the target scheduling period of the PON channel based on the burst count of each existing service and the burst count of the new service includes: Select the highest number of bursts from the burst counts of the existing services and the burst counts of the new services; The ratio of the total time slots of the uplink time slot allocation frame to the maximum number of bursts is used as the target scheduling period of the PON channel.
11. A service configuration device, comprising: The acquisition module is used to acquire the configuration parameters of each existing service in the uplink time slot allocation frame under the passive optical network (PON) channel; wherein, the configuration parameters include the number of bursts and the time slot of a single burst; The first determining module determines the configuration parameters required by the new service in the uplink time slot allocation frame based on the service requirement data of the new service. The second determining module is used to determine the target scheduling period of the PON channel based on the burst count of each existing service and the burst count of the new service. The third determining module is used to determine whether the channel resources of the PON channel can support the service requirements of the new service based on the single burst time slot of each existing service, the single burst time slot of the new service, and the target scheduling period. The configuration module is used to configure the new service with PON according to the configuration parameters of the new service if the condition is met.
12. A communication device, comprising a memory, a transceiver, and a processor, wherein the memory stores a computer program, wherein... The transceiver is used to receive or send data under the control of the processor, wherein the processor, when executing the computer program, implements the steps of the method according to any one of claims 1-10.
13. A computer-readable storage medium having a computer program stored thereon, wherein, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-10.
14. A computer program product comprising a computer program, wherein, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-10.
Citation Information
Patent Citations
Single-frame multi-burst distribution method and burst frame uplink method in optical fronthaul network
CN116634313A
Single-frame multi-burst configuration method and device, electronic equipment and storage medium
CN117729461A
Data transmission method, device, system and equipment and storage medium
CN118102144A
Service configuration method and device, communication equipment, storage medium and program product
CN119031283A
Methods, devices and apparatuses for optical communication, and computer readable medium
US20230403075A1