Service configuration method and device, communication equipment, storage medium and program product

By adjusting the configuration parameters and scheduling cycle of the PON channel, the problem of uplink delay in traditional PON systems is solved, lower delay and more efficient resource utilization are achieved, and network performance is improved.

CN119031283APending Publication Date: 2024-11-26CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411049950.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The uplink delay is large in traditional PON systems because the ONU needs to cache data when it has not reached the time slot window and wait for the next time slot to be sent, resulting in an increase in link delay.

Method used

By obtaining the configuration parameters of existing services in the uplink time slot allocation frame under the PON channel, determining the configuration parameters of the newly added services in the uplink time slot allocation frame, including the number of bursts and a single burst time slot, and adjusting the PON channel The target scheduling cycle is to determine whether the channel resources meet business needs, and to make reasonable allocations to reduce uplink delays.

Benefits of technology

It effectively reduces the uplink delay of the PON channel, improves the rationality and utilization rate of network resource allocation, and improves network performance and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031283A_ABST
    Figure CN119031283A_ABST
Patent Text Reader

Abstract

The invention relates to a service configuration method and device, communication equipment, a storage medium and a program product, and relates to the technical field of communication. The method comprises the following steps of: acquiring configuration parameters of each existing service in an uplink time slot allocation frame under a PON (Passive Optical Network) channel; wherein the configuration parameters comprise the number of bursts and a single burst time slot; determining configuration parameters required by the newly added service in the uplink time slot allocation frame according to the service demand data of the newly added service; determining a target scheduling period of the PON channel according to the number of emergencies of each existing service and the number of emergencies of the newly added service; according to the single burst time slot of each existing service, the single burst time slot of the newly added service and the target scheduling period, determining whether the idle channel resource of the PON channel meets the service requirement of the newly added service; and if yes, performing PON configuration on the newly added service according to the configuration parameters of the newly added service. According to the technology provided by the invention, the uplink time delay of the PON channel is reduced, and the distribution reasonability and the utilization rate of network resources are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present 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 Art

[0002] PON (Passive Optical Network) is a single-fiber bidirectional optical access network with a P2MP (Point to Multiple Point) structure. It consists of an optical line terminal (OLT) and an optical distribution network (ODN) at the central office and an optical network unit (ONU) at the user side.

[0003] In the traditional PON system, OLT is responsible for allocating and scheduling the upstream time slot window of ONU, and ONU sends upstream data within the time slot window allocated by OLT. During the upstream transmission process, if the time slot window of ONU is not reached, the data needs to be cached locally in ONU and wait for the next time slot to arrive before sending data, which increases the upstream delay of PON link. Summary of the invention

[0004] Based on this, it is necessary to provide a low-latency service configuration method, device, communication equipment, storage medium and program product to address the above technical problems.

[0005] In a first aspect, the present application provides a service configuration method, comprising:

[0006] Obtaining configuration parameters of each existing service in an upstream time slot allocation frame under a passive optical network PON channel; wherein the configuration parameters include the number of bursts and a single burst time slot;

[0007] Determine the configuration parameters required by the new service in the uplink timeslot allocation frame according to the service demand data of the new service;

[0008] Determine the target scheduling period of the PON channel according to the number of bursts of each existing service and the number of bursts of the new service;

[0009] Determine whether the channel resources of the PON channel can support the service requirements of the new service based on the single burst time slots of each existing service, the single burst time slots of the new service and the target scheduling period;

[0010] If yes, perform PON configuration for the new service according to the configuration parameters of the new service.

[0011] In one of the embodiments, whether the idle channel resources of the PON channel meet the service requirements of the new service is determined based on the single burst time slots of each existing service, the single burst time slots of the new service and the target scheduling period, including: 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 size relationship between the expected scheduling period and the target scheduling period.

[0012] In one of the embodiments, whether the idle channel resources of the PON channel meet the business needs of the new business is determined based on the size relationship between the expected scheduling period and the target scheduling period, including: 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 business needs of the new business; 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 business needs of the new business.

[0013] In one of the embodiments, the service demand data includes a required delay and a required bandwidth; based on the service demand data of the new service, the configuration parameters required for the new service in the uplink time slot allocation frame are determined, including: using the number of bursts corresponding to the requirement delay of the new service as the number of bursts of the new service; and determining a 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.

[0014] In one of the embodiments, a 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 required bandwidth of the new service, including: 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 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 taking the product of the burst period of the new service and the bandwidth ratio as the single burst time slot of the new service.

[0015] In one of the embodiments, the number of bursts corresponding to the requirement delay of the new service is used as the number of bursts of the new service, including: determining the uplink time slot interval of the new service according to the requirement delay of the new service; determining the number of bursts of the new service according to the uplink time slot interval of the new service.

[0016] In one of the embodiments, the number of bursts of the new service is determined based on the uplink time slot interval of the new service, including: taking 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; determining the logarithm of the reference burst value with a preset value as the base to obtain a reference logarithm value; using the preset value as the base and the result of rounding up the reference logarithm value as the exponent to perform a power operation to obtain the number of bursts of the new service.

[0017] In one of the embodiments, the service demand data also includes a service forwarding mode; determining the uplink time slot interval of the new service based on the demand delay of the new service, including: determining a fixed transmission delay matching the service forwarding mode under the PON channel; determining the uplink time slot interval of the new service based on the difference between the demand delay of the new service and the fixed transmission delay.

[0018] In one of the embodiments, a fixed transmission delay matching a service forwarding mode under a PON channel is determined, including: if the service forwarding mode is a north-south forwarding mode, the fixed transmission delay is determined according to an optical network unit ONU processing delay, an upstream optical fiber transmission delay, and an optical line terminal OLT processing delay under the PON channel; if the service forwarding mode is an east-west forwarding mode, the fixed transmission delay is determined according to an ONU processing delay, an upstream optical fiber transmission delay, an OLT processing delay, and a downstream delay of a PON link under the PON channel.

[0019] In one of the embodiments, a target scheduling period of a PON channel is determined according to the number of bursts of each existing service and the number of bursts of a newly added service, including: selecting a maximum number of bursts from the number of bursts of each existing service and the number of bursts of the newly added service; and taking a ratio of a total time slot of an uplink time slot allocation frame to the maximum number of bursts as the target scheduling period of the PON channel.

[0020] In a second aspect, the present application provides a service configuration device, including:

[0021] An acquisition module is used to acquire configuration parameters of each existing service in an uplink time slot allocation frame under a passive optical network PON channel; wherein the configuration parameters include the number of bursts and a single burst time slot;

[0022] A first determination module determines, according to the service demand data of the new service, the configuration parameters required by the new service in the uplink time slot allocation frame;

[0023] The second determination module is used to determine the target scheduling period of the PON channel according to the number of bursts of each existing service and the number of bursts of the newly added service;

[0024] 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 according to the single burst time slots of each existing service, the single burst time slots of the new service and the target scheduling period;

[0025] The configuration module is used to, if yes, perform PON configuration for the new service according to the configuration parameters of the new service.

[0026] In a third aspect, the present application further provides a communication device, the communication device comprising a memory, a transceiver and a processor, the memory storing a computer program, the transceiver being used to receive data or send data under the control of the processor, and the processor implementing the following steps when executing the computer program:

[0027] Obtaining configuration parameters of each existing service in an upstream time slot allocation frame under a passive optical network PON channel; wherein the configuration parameters include the number of bursts and a single burst time slot;

[0028] Determine the configuration parameters required by the new service in the uplink timeslot allocation frame according to the service demand data of the new service;

[0029] Determine the target scheduling period of the PON channel according to the number of bursts of each existing service and the number of bursts of the new service;

[0030] Determine whether the channel resources of the PON channel can support the service requirements of the new service based on the single burst time slots of each existing service, the single burst time slots of the new service and the target scheduling period;

[0031] If yes, perform PON configuration for the new service according to the configuration parameters of the new service.

[0032] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0033] Obtaining configuration parameters of each existing service in an upstream time slot allocation frame under a passive optical network PON channel; wherein the configuration parameters include the number of bursts and a single burst time slot;

[0034] Determine the configuration parameters required by the new service in the uplink timeslot allocation frame according to the service demand data of the new service;

[0035] Determine the target scheduling period of the PON channel according to the number of bursts of each existing service and the number of bursts of the new service;

[0036] Determine whether the channel resources of the PON channel can support the service requirements of the new service based on the single burst time slots of each existing service, the single burst time slots of the new service and the target scheduling period;

[0037] If yes, perform PON configuration for the new service according to the configuration parameters of the new service.

[0038] In a fifth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0039] Obtaining configuration parameters of each existing service in an upstream time slot allocation frame under a passive optical network PON channel; wherein the configuration parameters include the number of bursts and a single burst time slot;

[0040] Determine the configuration parameters required by the new service in the uplink timeslot allocation frame according to the service demand data of the new service;

[0041] Determine the target scheduling period of the PON channel according to the number of bursts of each existing service and the number of bursts of the new service;

[0042] Determine whether the channel resources of the PON channel can support the service requirements of the new service based on the single burst time slots of each existing service, the single burst time slots of the new service and the target scheduling period;

[0043] If yes, perform PON configuration for the new service according to the configuration parameters of the new service.

[0044] The above-mentioned service configuration method, device, communication equipment, storage medium and program product determine the configuration parameters of the new service in the uplink time slot allocation frame according to the service demand data of the new service, wherein the configuration parameters include the number of bursts and the single burst time slot, and determine the configuration parameters that meet the service demand of the new service from the dimension of the new service itself. Furthermore, according to the number of bursts of each existing service and the number of bursts of the newly added service in the upstream time slot allocation frame under the PON channel, the target scheduling period of the PON channel is determined, and according to the single burst time slot of each existing service, the single burst time slot of the newly added service and the target scheduling period, it is determined whether the idle channel resources of the PON channel meet the service demand of the newly added service, and only when the demand is met, the PON configuration of the newly added service is performed according to the configuration parameters of the newly added service estimated above, so that when there is a new service under the PON channel, the upstream time slot is reasonably and restrainedly added in the upstream time slot allocation frame, thereby effectively reducing the upstream delay of the PON channel while ensuring that the service demand can be met, and at the same time improving the rationality of network resource allocation and the utilization rate of network resources, thereby improving the overall performance and efficiency of the network. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1A A schematic diagram of an application scenario of a service configuration method in an embodiment;

[0046] Figure 1B A comparison diagram of different uplink time slot allocation results in one embodiment;

[0047] Figure 2 A schematic diagram of a process flow of a service configuration method in an embodiment;

[0048] Figure 3 A flowchart of a step for determining whether a service requirement of a new service is met in one embodiment;

[0049] Figure 4A A schematic diagram of a flow chart of steps for determining configuration parameters of a new service in an embodiment;

[0050] Figure 4B Schematic diagram of a PON link in a north-south forwarding mode in an embodiment;

[0051] Figure 4C Schematic diagram of a PON link in an east-west forwarding mode in an embodiment;

[0052] Figure 5A A flowchart of a service configuration method in another embodiment;

[0053] Figure 5B A schematic diagram of uplink time slot allocation results in one embodiment;

[0054] Figure 5C A schematic diagram of uplink time slot allocation results in another embodiment;

[0055] Figure 6 It is a structural block diagram of a service configuration device in one embodiment;

[0056] Figure 7 FIG. 4 is a diagram showing the internal structure of a communication device in one embodiment. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] The service configuration method provided in the embodiment of the present application can be applied to Figure 1A In the application environment shown in FIG. , the PON system includes an OLT 110 , an ODN 120 and at least one ONU 130 .

[0059] The OLT 110 is a central office device in the PON system, used to connect to the terminal device of the optical fiber trunk line, connected to the service network upward, and connected to the ONU 130 at the user end through the ODN 120 downward.

[0060] 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 responsible for collecting the user-side data from each ONU 130 transmitted by the ODN 120 and sending it to the service network side.

[0061] In the high-bandwidth, non-blocking transmission mode of the PON system, the forwarding time of the OLT and ONU devices and the downlink (broadcast) forwarding delay jitter are small and basically fixed. Therefore, the current deterministic guarantee of the PON link is usually focused on the scheduling of the PON uplink.

[0062] In the current upstream transmission mechanism of the PON system, the OLT is usually responsible for allocating and scheduling the upstream time slot window of the ONU. The ONU can only send upstream data within the time slot allocated by the OLT. If the ONU is not currently in the time slot allocated to it, the upstream data needs to be cached in the ONU first and wait for the next time slot to arrive before sending, which increases the upstream delay of the PON link.

[0063] See also Figure 1B The comparison chart of different upstream time slot allocation results is shown. Using the traditional upstream time slot allocation method, different upstream time slot windows are allocated to ONU1 and ONU2 in each upstream time slot allocation frame. When the service data A of ONU1 is in the time slot window of the first upstream time slot allocation frame, ONU1 transmits service data A upstream in the time slot window corresponding to the first upstream time slot allocation frame. Since service data B, C and D do not fall in the time slot window corresponding to the first upstream time slot allocation frame (for example, 125 μs) of ONU1, it is necessary to wait for the time slot window allocated to ONU1 on the next upstream time slot allocation frame to arrive before uplink transmission of service data B~D in this time slot window, resulting in a large upstream delay of service data B~D. By adopting the uplink time slot allocation method that introduces bursts, taking the allocation of 4 burst transmission time slots to ONU1 and ONU2 respectively in each uplink time slot allocation frame as an example, since the service data A~D of ONU1 fall into the four burst transmission time slots of ONU1 respectively, the uplink transmission of service data A~D can be performed respectively in the corresponding burst transmission time slots. Compared with the traditional uplink time slot allocation method, the uplink delay is smaller.

[0064] In summary, in order to effectively reduce the uplink delay, the uplink time slot allocation frequency can be increased by allocating multiple bursts for the same service in each uplink time slot allocation frame, thereby reducing the time slots between ONU bursts. Therefore, how to reasonably configure the number of bursts is crucial.

[0065] In an alternative embodiment, if Figure 2 As shown, a service configuration method is provided, which can be applied to Figure 1A In the controller for performing parameter configuration of the PON system shown in the figure, this application does not make any limitation on this. In this embodiment, the method includes the following steps:

[0066] S210, obtaining configuration parameters of each existing service in an uplink time slot allocation frame under a PON channel; wherein the configuration parameters include burst times and single burst time slots.

[0067] The existing service can be understood as the service configured under the PON channel. The burst can be understood as the data or signal transmitted continuously in the uplink time slot allocation frame. The number of bursts of the existing service is the maximum number of bursts in a single uplink time slot allocation frame. The single burst time slot of the existing service can be understood as the transmission time slot allocated for a single burst of the existing service in the uplink time slot allocation frame.

[0068] The number of existing services may be at least one, and the present application does not impose any limitation on the specific number of existing services. The configuration of existing services may be implemented by at least one of the prior arts, and the present application does not impose any limitation on this, and only needs to ensure that the configuration information of existing services under the PON channel can be obtained when the service configuration for the new service is required.

[0069] S220: Determine configuration parameters required by the new service in the uplink timeslot allocation frame according to the service demand data of the new service.

[0070] The newly added service can be understood as a service to be configured under the PON channel. The service demand data includes at least one of a required delay, a required bandwidth, and a service forwarding mode.

[0071] It is understandable that the configuration parameters corresponding to the new service are determined directly based on the service demand data of the new service, so that the determined configuration parameters can meet the service demand of the new service.

[0072] Exemplarily, the configuration parameters required for the new service in the uplink timeslot allocation frame may be determined according to the required delay, required bandwidth and service forwarding mode of the new service.

[0073] S230, determining a target scheduling period of the PON channel according to the number of bursts of each existing service and the number of bursts of the newly added service.

[0074] Exemplarily, the maximum burst number can be selected from the burst numbers of existing services and the burst number of new services; the ratio of the total time slots of the uplink time slot allocation frame to the maximum burst number is used as the target scheduling period of the PON channel.

[0075] It can be understood that by introducing the maximum burst number, instead of randomly selecting the burst number or the average burst number, 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.

[0076] S240 , determining whether idle channel resources of the PON channel meet the service requirements of the new service according to the single burst time slots of the existing services, the single burst time slots of the new service, and the target scheduling period.

[0077] Optionally, within the target scheduling period, the time slot resources of the PON channel that need to be occupied by all existing services can be determined based on the single burst time slot of each existing service; based on the time slot resources of the PON channel that need to be occupied by all existing services, the idle time slot resources under the PON channel 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, it is determined that the idle channel resources of the PON channel can meet the service demand of the new service; if the idle time slot resources are less than the single burst time slot of the new service, it is determined that the idle channel resources of the PON channel cannot meet the service demand of the new service.

[0078] S250: If yes, perform PON configuration for the new service according to the configuration parameters of the new service.

[0079] Exemplarily, if the idle channel resources of the PON channel can meet the business needs of the new service, the PON configuration is performed for the new service based on the number of bursts and single burst time slot of the new service; if the idle channel resources of the PON channel cannot meet the business needs of the new service, the PON configuration is no longer performed for the new service under the PON channel.

[0080] The embodiment of the present application determines the configuration parameters of the new service in the uplink time slot allocation frame according to the service demand data of the new service, wherein the configuration parameters include the number of bursts and the single burst time slot, and determines the configuration parameters that meet the service demand of the new service from the dimension of the new service itself. Further, according to the number of bursts of each existing service and the number of bursts 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, and according to 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 demand of the new service, and only when the demand is met, the PON configuration is performed for the new service according to the configuration parameters of the new service estimated above, so that when there is a new service under the PON channel, the uplink time slot is added in the uplink time slot allocation frame reasonably and moderately, thereby effectively reducing the uplink delay of the PON channel while ensuring that the service demand can be met, and at the same time improving the rationality of network resource allocation and the utilization rate of network resources, thereby improving the overall performance and efficiency of the network.

[0081] Based on the technical solutions of the above embodiments, the present application further provides an optional embodiment. In this optional embodiment, the step of determining whether the service requirement of the newly added service is met in S240 is refined.

[0082] See also Figure 3 The steps for determining whether the service requirements of the new service are met include:

[0083] S310 , determining an expected scheduling period according to the single burst time slots of the existing services and the single burst time slots of the newly added services.

[0084] The expected scheduling period can be understood as the scheduling period required when a new service is added to the PON channel.

[0085] Exemplarily, the sum of the single burst time slots of the existing services and the single burst time slots of the newly added services may be directly used as the expected scheduling period.

[0086] S320, determining whether idle channel resources of the PON channel meet the service demand of the newly added service according to the size relationship between the expected scheduling period and the target scheduling period.

[0087] Specifically, if the expected scheduling period is greater than the target scheduling period, it indicates that there are not enough time slot resources in the target scheduling period, so when the corresponding PON channel is transmitting new services, it cannot guarantee that there are enough idle channel resources to support the business needs of the new services. If the expected scheduling period is not greater than the target scheduling period, it indicates that there are enough time slot resources in the target scheduling period, so when the corresponding PON channel is transmitting new services, there are enough idle channel resources to support the business needs of the new services.

[0088] The embodiment of the present application determines the expected scheduling period by introducing a single burst time slot of each existing service and a single burst time slot of a new service, and determines whether the idle channel resources of the PON channel meet the service requirements of the new service by comparing the size relationship between the expected scheduling period and 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.

[0089] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which the service demand data is refined to include required delay and required bandwidth, and the steps for determining the configuration parameters of the new service in S220 are refined.

[0090] See also Figure 4A The steps of determining the configuration parameters of the newly added service include:

[0091] S410, the number of bursts corresponding to the time delay required to meet the new service is used as the number of bursts of the new service.

[0092] It should be noted that setting different burst times for new services will result in different delays in the data transmission process of the new services. Therefore, the burst times of new services can be determined in reverse based on the required delay of the new services to avoid the situation where the determined burst times cannot meet the required delay of the new services.

[0093] For example, the minimum burst number corresponding to the time delay required to meet the new service can be directly used as the burst number of the new service, thereby reducing the occupation of bandwidth resources and maximizing the utilization of PON link resources.

[0094] In an optional embodiment, the uplink time slot interval of the newly added service may be determined according to the required delay of the newly added service; and the burst frequency of the newly added service may be determined according to the uplink time slot interval of the newly added service.

[0095] It is understandable that the delay in the PON link may include ONU processing delay T1, upstream transmission delay T2, OLT processing delay T3 and downstream delay T4. The upstream transmission delay T2 usually includes the upstream time slot interval T2_1 and the upstream optical fiber transmission delay T2_2. Since T1, T2_2, T3 and T4 have small jitter and small delay, and are only related to the hardware properties of the PON link, they will not change with the adjustment of the PON configuration, so their values ​​are relatively fixed, so the delay of T2_1 can be adjusted by the demand delay of the new service and the scheduling configuration.

[0096] Since the links for uplink data transmission are different in different service forwarding modes, the corresponding fixed transmission delays are also different. Therefore, the service forwarding mode can be introduced into the service demand data to assist in determining the uplink time slot interval.

[0097] Exemplarily, a fixed transmission delay matching the service forwarding mode under the PON channel may be determined; and the uplink time slot interval of the newly added service may be determined according to the difference between the required delay of the newly added service and the fixed transmission delay.

[0098] Optionally, if the service forwarding mode is a north-south forwarding mode, a fixed transmission mode is determined according to the ONU processing delay T1, the upstream optical fiber transmission delay T2_2 and the OLT processing delay T3 under the PON channel.

[0099] See Figure 4B Schematic diagram of PON link in north-south forwarding mode, upstream delay Among them, Ts1 is the fixed transmission delay in the north-south forwarding mode.

[0100] Alternatively, if the service forwarding mode is the east-west forwarding mode, the fixed transmission delay is determined according to the ONU processing delay T1, the upstream optical fiber transmission delay T2_2, the OLT processing delay T3 and the downstream delay T4 of the PON link under the PON channel.

[0101] See Figure 4C Schematic diagram of PON link in east-west forwarding mode, upstream delay Among them, Ts2 is the fixed transmission delay in the east-west forwarding mode.

[0102] Exemplarily, the uplink time slot interval can be determined with the goal of making the upper limit of the network delay of the PON system (i.e., the aforementioned uplink delay T) smaller than the required delay Td of the new service, thereby ensuring that the determined uplink time slot interval of the new service can meet the delay requirement of the new service.

[0103] Specifically, when the service forwarding mode is the north-south forwarding mode, if , it can be deduced that Therefore, the uplink time slot 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. , it can be deduced that Therefore, the uplink time slot interval T2_1 of the new service can be determined from the data that is smaller than the difference between the required delay Td of the new service and the fixed transmission delay Ts2.

[0104] In an optional embodiment, the burst number of the new service is determined according to the uplink time slot interval of the new service, and the burst number of the new service can be determined directly according to the ratio between the total time slot of the uplink time slot allocation frame and the uplink time slot interval of the new service.

[0105] However, if the above method is used to directly determine the number of bursts of the newly added service, an unreasonable number of bursts may occur, which affects the effective configuration of the newly added service. In order to overcome the above problem, in another optional embodiment, the number of bursts of the newly added service is determined according to the uplink time slot interval of the newly added service, and the ratio of the total time slot of the uplink time slot allocation frame to the uplink time slot interval of the newly added service can be 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 logarithm value; the preset value is used as the base and the result of rounding up the reference logarithm value is used as the exponent to perform a power operation to obtain the number of bursts of the newly added service.

[0106] Specifically, the following formula can be used to determine the number of bursts of new services:

[0107] ;

[0108] Wherein, N is the number of bursts of the newly added 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 newly added service; a is a preset value, for example, it can be 2; is the ceiling operator.

[0109] It should be noted that rounding up the reference logarithmic value before calculation can ensure that the determined burst number of the new service is the minimum burst number based on the required delay of the new service, thereby ensuring the balance between the required delay of the new service and the additional bandwidth overhead, and maximizing the utilization of PON link resources, thereby effectively improving the overall performance and efficiency of the network.

[0110] Taking the preset value of 2 as an example, you can set the reference logarithm value The integer result is rounded up to the reference logarithm value by adding 1.

[0111] The above operation of determining the number of bursts of the new service first determines the uplink time slot interval of the new service according to the demand delay of the new service, thereby ensuring the matching between the determined uplink time slot interval and the demand time of the new service. Therefore, the number of bursts of the new service is determined based on the uplink time slot interval of the new service, thereby improving the delay matching between the burst number result and the demand delay of the new service.

[0112] S420 , determining a single burst time slot of the new service according to the total bandwidth of the PON channel, the number of bursts of the new service, and the required bandwidth of the new service.

[0113] In an optional embodiment, the bandwidth ratio of the required bandwidth of the new service to the total bandwidth of the PON channel can be determined; the ratio of the total time slot of the uplink time slot allocation frame to the number of bursts 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.

[0114] Specifically, the single burst time slot of the new service can be determined by the following formula:

[0115] ;

[0116] Among them, Cd is a 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; BW0 is the total bandwidth of the PON channel.

[0117] It can be understood that by introducing the bandwidth ratio and the burst period of the new service and determining the single burst time slot of the new service by multiplying the two, the calculation method is convenient and fast, with a small amount of calculation, which improves the calculation efficiency of the single burst time slot of the new service, and thus helps to improve the configuration efficiency of the service configuration.

[0118] In the embodiment of the present application, the number of bursts corresponding to the time delay required for the new service is used as the number of bursts of the new service; a single burst time slot of the new service is comprehensively determined according to the total bandwidth of the PON channel, the number of bursts of the new service and the required bandwidth of the new service, so that the determined single burst time slot can meet the time delay requirement and bandwidth requirement of the new service, thereby avoiding the situation where the configuration result cannot meet the service requirement of the new service and the occurrence of service abnormality when the new service is subsequently configured.

[0119] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which the service configuration process of the newly added service is described in detail.

[0120] See also Figure 5A The service configuration method shown includes:

[0121] S501 , the user terminal sends the business demand data of the newly added business to the controller in response to the business demand upload operation.

[0122] Exemplarily, the service demand data includes service forwarding mode, required delay and required bandwidth.

[0123] S502: The controller determines a fixed transmission delay that matches a service forwarding mode of a newly added service under a PON channel.

[0124] Exemplarily, if the service forwarding mode is a north-south forwarding mode, the fixed transmission delay Ts is the sum of the ONU processing delay T1, the upstream optical fiber transmission delay T2_2, and the OLT processing delay T3; if the service forwarding mode is an east-west forwarding mode, the fixed transmission delay Ts is twice the sum of the ONU processing delay T1, the upstream optical fiber transmission delay T2_2, the OLT processing delay T3, and the downstream delay T4.

[0125] S503: The controller determines an uplink time slot interval of the newly added service according to the difference between the required delay of the newly added service and the fixed transmission delay.

[0126] Exemplarily, the uplink time slot boundary T (wherein, ) is less than the required delay of the new service, and the uplink time slot interval of the new service is determined: .

[0127] S504: The controller determines the number of bursts of the new service according to the uplink time slot interval of the new service.

[0128] Exemplarily, the following formula may be used to determine the number of bursts of the new service:

[0129] ;

[0130] Wherein, N is the number of bursts of the newly added 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 newly added service; a is a preset value, for example, it can be 2; is the ceiling operator.

[0131] S505: The controller determines a single burst time slot of the new service according to the total bandwidth of the PON channel, the number of bursts of the new service and the required bandwidth of the new service.

[0132] Exemplarily, the single burst time slot of the newly added service may be determined by the following formula:

[0133] ;

[0134] Among them, Cd is a 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; BW0 is the total bandwidth of the PON channel.

[0135] S506: The controller obtains the burst number and single burst time slot of each existing service in the uplink time slot allocation frame under the PON channel from the PON device.

[0136] It should be noted that the burst frequency and single burst time slot of each existing service can be calculated when the corresponding existing service is a new service by using the aforementioned determination method for the new service, or determined by other methods, which will not be repeated in this application.

[0137] It should be noted that S506 can be executed before, after or during S502 to S505, and the present application does not impose any limitation on the sequence between S506 and S502 to S505.

[0138] S507: The controller determines a target scheduling period of the PON channel according to the number of bursts of the existing services and the number of bursts of the newly added services.

[0139] Exemplarily, the target scheduling period of the PON channel may be determined by the following formula:

[0140] ;

[0141] Wherein, T0 is the total time slot of the uplink time slot allocation frame, for example, it can be 125 μs; Ni is the burst number of the i-th existing service in the PON channel; n is the total number of existing services in the PON channel; Nd is the burst number of the newly added service.

[0142] S508: The controller determines an expected scheduling period according to the single burst time slots of the existing services and the single burst time slots of the newly added services.

[0143] Exemplarily, the expected scheduling period may be determined by the following formula:

[0144] ;

[0145] Wherein, 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.

[0146] S509A, if the expected scheduling period is greater than the target scheduling period, the controller feeds back to the user end a reminder message that the service demand of the newly added service cannot be met.

[0147] S509B, if the expected scheduling period is not greater than the target scheduling period, the controller performs PON configuration for the new service according to the required bandwidth and burst times of the new service; and continues to execute S510.

[0148] S510, the PON device feeds back to the controller a configuration result indicating whether the configuration of the newly added service is successful or not; and the process continues with S511.

[0149] S511, the controller feeds back to the user end a configuration result indicating whether the configuration of the newly added service is successful or not.

[0150] The following will illustrate the service configuration process of a new service with examples.

[0151] Example 1: The new service is in east-west forwarding mode, with a required latency of 60 μs and a required bandwidth of 2.5 G.

[0152] Using the above solution, we can calculate that the number of bursts of the new service is 4, the target scheduling period S is 31.25 μs, and the single burst time slot Cd of the new service is 7.8 μs; the number of existing services is 2, and the corresponding single burst time slot is 7.8 μs. Figure 5B As shown in the schematic diagram of the uplink time slot allocation result, since 7.8+7.8+7.8<31.25, the channel resources of the PON channel can meet the service requirements of the new service. Therefore, the PON configuration can be performed according to the single burst time slot of the new service being 7.8 μs and the required bandwidth being 2.5 G.

[0153] Example 2: The new service is in east-west forwarding mode, with a required latency of 30 μs and a required bandwidth of 2.5 G.

[0154] Using the above solution, we can calculate that the number of bursts of the new service is 8, the target scheduling period S is 15.625μs, and the single burst time slot Cd of the new service is 3.9μs; the number of existing services is 2, and the corresponding single burst time slot is 7.8μs. Figure 5C As shown in the schematic diagram of the uplink time slot allocation result, 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, so no new service configuration is performed under the PON channel.

[0155] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0156] Based on the same inventive concept, the embodiment of the present application also provides a service configuration device for implementing the service configuration method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more service configuration device embodiments provided below can refer to the limitations on the service configuration method above, and will not be repeated here.

[0157] In one embodiment, Figure 6 As shown, 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. Among them,

[0158] 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 single burst time slot;

[0159] A first determination module 620 determines the configuration parameters required by the new service in the uplink timeslot allocation frame according to the service demand data of the new service;

[0160] The second determination module 630 is used to determine the target scheduling period of the PON channel according to the number of bursts of each existing service and the number of bursts of the newly added service;

[0161] The third determination module 640 is used to determine whether the channel resources of the PON channel can support the service requirements of the new service according to the single burst time slots of each existing service, the single burst time slots of the new service and the target scheduling period;

[0162] The configuration module 650 is used to, if yes, perform PON configuration for the new service according to the configuration parameters of the new service.

[0163] In one embodiment, the third determination module 640 includes: a first determination unit, used to determine the expected scheduling period according to the single burst time slots of the existing services and the single burst time slots of the newly added services; a second determination unit, used to determine whether the idle channel resources of the PON channel meet the service requirements of the newly added services according to the size relationship between the expected scheduling period and the target scheduling period.

[0164] In one of the embodiments, the second determination unit is specifically used 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 business needs of the new business; 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 business needs of the new business.

[0165] In one of the embodiments, the service demand data includes the required delay and the required bandwidth; the first determination module 620 includes: a third determination unit, used to use the number of bursts corresponding to the requirement delay of the new service as the number of bursts of the new service; a fourth determination 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.

[0166] In one of the embodiments, the fourth determination 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; use 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 use the product of the burst period of the new service and the bandwidth ratio as the single burst time slot of the new service.

[0167] In one of the embodiments, the third determination unit includes: a first determination subunit, used to determine the uplink time slot interval of the new service according to the demand delay of the new service; and a second determination subunit, used to determine the number of bursts of the new service according to the uplink time slot interval of the new service.

[0168] In one of the embodiments, the second determination subunit is specifically used to: use the ratio of the total time slot of the uplink time slot allocation frame to the uplink time slot interval of the newly added 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 logarithm value; use the preset value as the base and the result of rounding up the reference logarithm value as the exponent to perform a power operation to obtain the number of bursts of the newly added service.

[0169] In one of the embodiments, the first determination subunit is specifically used to: determine a fixed transmission delay matching a service forwarding mode under a PON channel; and determine an uplink time slot interval of a newly added service according to a difference between a required delay of the newly added service and the fixed transmission delay.

[0170] In one of the embodiments, the first determination subunit determines a fixed transmission delay that matches the service forwarding mode under the PON channel, and is specifically used to: if the service forwarding mode is a north-south forwarding mode, determine the fixed transmission delay according to the optical network unit ONU processing delay, the upstream optical fiber transmission delay, and the optical line terminal OLT processing delay under the PON channel; if the service forwarding mode is an east-west forwarding mode, determine the fixed transmission delay according to the ONU processing delay, the upstream optical fiber transmission delay, the OLT processing delay, and the downstream delay of the PON link under the PON channel.

[0171] In one embodiment, the second determination module 630 includes: a selection unit, used to select the maximum burst number from the burst number of existing services and the burst number of new services; a fifth determination unit, used to use the ratio of the total time slot of the uplink time slot allocation frame to the maximum burst number as the target scheduling period of the PON channel.

[0172] Each module in the above service configuration device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a communication device in the form of hardware, or can be stored in a memory in a communication device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0173] In one embodiment, a communication device is provided. The communication device may be a server, and its internal structure diagram may be as follows: Figure 7 As shown. The communication device includes a processor, a memory, a network interface and a transceiver connected through a system bus. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The transceiver of the communication device is used to perform operations of receiving data or sending data under the control of the processor. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the communication device is used to store data such as uplink text messages and downlink text messages. The network interface of the communication device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a service configuration method is implemented.

[0174] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0175] In one embodiment, a communication device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the processing logic in the computer program, the following steps are implemented:

[0176] Obtaining configuration parameters of each existing service in an upstream time slot allocation frame under a passive optical network PON channel; wherein the configuration parameters include the number of bursts and a single burst time slot;

[0177] Determine the configuration parameters required by the new service in the uplink timeslot allocation frame according to the service demand data of the new service;

[0178] Determine the target scheduling period of the PON channel according to the number of bursts of each existing service and the number of bursts of the new service;

[0179] Determine 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 slots of the new service and the target scheduling period;

[0180] If yes, perform PON configuration for the new service according to the configuration parameters of the new service.

[0181] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are also implemented: determining an expected scheduling period according to the single burst time slots of each existing service and the single burst time slots of the newly added service; and determining whether the idle channel resources of the PON channel meet the service requirements of the newly added service according to the size relationship between the expected scheduling period and the target scheduling period.

[0182] In one embodiment, when the processor executes the processing logic in the computer program, 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 business needs of the new business; 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 business needs of the new business.

[0183] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are also implemented: the number of bursts corresponding to the requirement delay of the new service is used as the number of bursts of the new service; and the single burst time slot of the new service is determined according to the total bandwidth of the PON channel, the number of bursts of the new service and the required bandwidth of the new service.

[0184] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are also implemented: 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 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.

[0185] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are also implemented: determining the uplink time slot interval of the new service according to the required delay of the new service; determining the number of bursts of the new service according to the uplink time slot interval of the new service.

[0186] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are also implemented: using 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 as a reference burst value; determining the logarithm of the reference burst value with a preset value as the base to obtain a reference logarithm value; using the preset value as the base and the result of rounding up the reference logarithm value as the exponent to perform a power operation to obtain the number of bursts of the newly added service.

[0187] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are also implemented: determining a fixed transmission delay that matches the service forwarding mode under the PON channel; and determining the uplink time slot interval of the newly added service based on the difference between the required delay of the newly added service and the fixed transmission delay.

[0188] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are also implemented: if the service forwarding mode is a north-south forwarding mode, a fixed transmission delay is determined according to the optical network unit ONU processing delay, the upstream optical fiber transmission delay, and the optical line terminal OLT processing delay under the PON channel; if the service forwarding mode is an east-west forwarding mode, a fixed transmission delay is determined according to the ONU processing delay, the upstream optical fiber transmission delay, the OLT processing delay, and the downstream delay of the PON link under the PON channel.

[0189] In one embodiment, when the processor executes the processing logic in the computer program, the following steps are also implemented: selecting the maximum burst number from the burst number of each existing service and the burst number of the newly added service; and using the ratio of the total time slot of the uplink time slot allocation frame to the maximum burst number as the target scheduling period of the PON channel.

[0190] In one embodiment, a computer readable storage medium or a computer program product is provided, on which a computer program is stored, and when the processing logic in the computer program is executed by a processor, the following steps are implemented:

[0191] Obtaining configuration parameters of each existing service in an upstream time slot allocation frame under a passive optical network PON channel; wherein the configuration parameters include the number of bursts and a single burst time slot;

[0192] Determine the configuration parameters required by the new service in the uplink timeslot allocation frame according to the service demand data of the new service;

[0193] Determine the target scheduling period of the PON channel according to the number of bursts of each existing service and the number of bursts of the new service;

[0194] Determine 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 slots of the new service and the target scheduling period;

[0195] If yes, perform PON configuration for the new service according to the configuration parameters of the new service.

[0196] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: determining an expected scheduling period according to the single burst time slots of each existing service and the single burst time slots of the newly added service; and determining whether the idle channel resources of the PON channel meet the service requirements of the newly added service according to the size relationship between the expected scheduling period and the target scheduling period.

[0197] 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.

[0198] In one embodiment, the processing logic in the computer program further implements the following steps when executed by the processor: using the number of bursts corresponding to the time delay required for the new service as the number of bursts for the new service; and determining the single burst time slot for the new service based on the total bandwidth of the PON channel, the number of bursts for the new service, and the required bandwidth for the new service.

[0199] In one embodiment, the processing logic in the computer program, when executed by the processor, further implements the following steps: 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 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.

[0200] In one embodiment, the processing logic in the computer program further implements the following steps when executed by the processor: determining the uplink time slot interval of the new service according to the required delay of the new service; determining the number of bursts of the new service according to the uplink time slot interval of the new service.

[0201] In one embodiment, the processing logic in the computer program further implements the following steps when executed by the processor: using 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 as a reference burst value; determining the logarithm of the reference burst value with a preset value as the base to obtain a reference logarithm value; using the preset value as the base and the result of rounding up the reference logarithm value as the exponent to perform a power operation to obtain the number of bursts of the newly added service.

[0202] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: determining a fixed transmission delay that matches the service forwarding mode under the PON channel; and determining the uplink time slot interval of the newly added service based on the difference between the required delay of the newly added service and the fixed transmission delay.

[0203] In one embodiment, the processing logic in the computer program further implements the following steps when executed by the processor: if the service forwarding mode is a north-south forwarding mode, a fixed transmission delay is determined based on the optical network unit ONU processing delay, the upstream optical fiber transmission delay, and the optical line terminal OLT processing delay under the PON channel; if the service forwarding mode is an east-west forwarding mode, a fixed transmission delay is determined based on the ONU processing delay, the upstream optical fiber transmission delay, the OLT processing delay, and the downstream delay of the PON link under the PON channel.

[0204] 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 number from the burst number of each existing service and the burst number of the newly added service; and using the ratio of the total time slot of the uplink time slot allocation frame to the maximum burst number as the target scheduling period of the PON channel.

[0205] 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, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0206] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0207] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.

[0208] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A service configuration method, characterized in that: include: Obtaining configuration parameters of each existing service in an uplink time slot allocation frame under a passive optical network PON channel; wherein the configuration parameters include the number of bursts and a single burst time slot; Determining, according to the service demand data of the newly added service, configuration parameters required by the newly added service in the uplink timeslot allocation frame; Determining a target scheduling period of the PON channel according to the number of bursts of each of the existing services and the number of bursts of the newly added services; Determining whether the idle channel resources of the PON channel meet the service requirements of the new service according to the single burst time slots of the existing services, the single burst time slots of the new service and the target scheduling period; If yes, perform PON configuration for the new service according to the configuration parameters of the new service.

2. The method according to claim 1, characterized in that: The determining, according to the single burst time slot of each of the existing services, the single burst time slot of the newly added service and the target scheduling period, whether the idle channel resources of the PON channel meet the service requirements of the newly added service comprises: Determining an expected scheduling period according to the single burst time slots of the existing services and the single burst time slots of the newly added services; According to the size relationship between the expected scheduling period and the target scheduling period, it is determined whether the idle channel resources of the PON channel meet the service demand of the newly added service.

3. The method according to claim 2, characterized in that The determining, according to the size relationship between the expected scheduling period and the target scheduling period, whether the channel resources of the PON channel can support the service demand of the newly added service includes: If the expected scheduling period is greater than the target scheduling period, determining that the idle channel resources of the PON channel cannot meet the service demand of the newly added 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 demand of the newly added service.

4. The method according to claim 1, characterized in that: The service demand data includes a required delay and a required bandwidth; and determining, according to the service demand data of the newly added service, configuration parameters required by the newly added service in the uplink timeslot allocation frame, includes: The number of bursts corresponding to the time delay required for the new service is satisfied as the number of bursts for the new service; A single burst time slot of the new service is determined according to the total bandwidth of the PON channel, the number of bursts of the new service and the required bandwidth of the new service.

5. The method according to claim 4, characterized in that The determining, according to the total bandwidth of the PON channel, the number of bursts of the newly added service and the required bandwidth of the newly added service, a single burst time slot of the newly added service comprises: Determine the bandwidth ratio of the required bandwidth of the new service to the total bandwidth of the PON channel; The ratio of the total time slots of the uplink time slot allocation frame to the number of bursts of the newly added service is used as the burst period of the newly added service; The product of the burst period of the newly added service and the bandwidth proportion is used as a single burst time slot of the newly added service.

6. The method according to claim 4, characterized in that The number of bursts corresponding to the case where the required delay of the newly added service is met, as the number of bursts of the newly added service, includes: Determining an uplink time slot interval of the newly added service according to a required delay of the newly added service; The number of bursts of the new service is determined according to the uplink time slot interval of the new service.

7. The method according to claim 6, characterized in that The determining, according to the uplink time slot interval of the newly added service, the number of bursts of the newly added service comprises: Taking 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 as the reference burst value; Taking a preset value as a base, determining the logarithm of the reference burst value to obtain a reference logarithmic value; The preset value is used as a base, and a result of rounding up the reference logarithmic value is used as an exponent to perform a power operation to obtain the burst frequency of the newly added service.

8. The method according to claim 6, characterized in that The service demand data also includes a service forwarding mode; and determining the uplink time slot interval of the newly added service according to the required delay of the newly added service includes: Determining a fixed transmission delay matching the service forwarding mode under the PON channel; An uplink timeslot interval of the newly added service is determined according to a difference between a required delay of the newly added service and the fixed transmission delay.

9. The method according to claim 8, characterized in that The determining of a fixed transmission delay matching 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 according to the optical network unit ONU processing delay, the upstream optical fiber transmission delay and the optical line terminal OLT processing delay under the PON channel; If the service forwarding mode is an east-west forwarding mode, the fixed transmission delay is determined according to the ONU processing delay, the upstream optical fiber transmission delay, the OLT processing delay and the downstream delay of the PON link under the PON channel.

10. The method according to any one of claims 1 to 9, characterized in that: The determining the target scheduling period of the PON channel according to the number of bursts of each of the existing services and the number of bursts of the newly added services includes: Selecting a maximum burst number from the burst numbers of the existing services and the burst number of the newly added services; The ratio of the total time slots of the uplink time slot allocation frame to the maximum burst number is used as the target scheduling period of the PON channel.

11. A service configuration device, characterized in that: include: An acquisition module is used to acquire configuration parameters of each existing service in an uplink time slot allocation frame under a passive optical network PON channel; wherein the configuration parameters include the number of bursts and a single burst time slot; A first determination module determines, according to the service demand data of the newly added service, the configuration parameters required by the newly added service in the uplink timeslot allocation frame; A second determination module is used to determine a target scheduling period of the PON channel according to the number of bursts of each of the existing services and the number of bursts of the newly added services; A third determination module is used to determine whether the channel resources of the PON channel can support the service requirements of the new service according to the single burst time slots of each of the existing services, the single burst time slots of the new service and the target scheduling period; A configuration module is used to, if yes, perform PON configuration for the newly added service according to the configuration parameters of the newly added service.

12. A communication device, comprising a memory, a transceiver and a processor, wherein the memory stores a computer program, characterized in that: The transceiver is used to receive data or send data under the control of the processor, and the processor implements the steps of any one of claims 1-10 when executing the computer program.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

Citation Information

Cited By

  • Service data sending method and device, computer equipment and storage medium

    CN119743690A

  • Service configuration method and apparatus, and communication device, storage medium and program product

    WO2026026780A1

  • Service configuration method and apparatus, and computer device and storage medium

    WO2026145192A1