Service configuration method and apparatus, and computer device and storage medium
By determining and updating the initial expansion coefficient based on service requirements in the PON system, the problem of time slots not being able to fill the entire unit cycle is solved, achieving accurate delay determination and improved network performance.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER
- Filing Date
- 2025-12-24
- Publication Date
- 2026-07-09
AI Technical Summary
In PON systems, due to the limitations of the PON chip's time slot allocation mechanism, time slots cannot fill the entire unit cycle, resulting in unclear latency boundaries and an inability to accurately determine latency, which affects the determinism of service configuration and network performance.
The initial expansion coefficient is determined based on the number of service bursts and the time slot of a single burst according to the target service demand. The target expansion coefficient is then obtained by updating the coefficient when the passive optical network channel cannot be fully occupied in a unit cycle. This achieves time slot expansion and ensures that the service demand can be fully occupied in a unit cycle.
By defining latency limits, the rapid access of new services is ensured, and the stability and efficiency of overall network performance are improved.
Smart Images

Figure CN2025145140_09072026_PF_FP_ABST
Abstract
Description
Business configuration methods, devices, computer equipment, and storage media
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 2024119730334, filed on December 30, 2024, entitled "Business Configuration Method, Apparatus, Computer Equipment and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of passive optical network technology, and in particular to a service configuration method, apparatus, computer equipment, and storage medium. Background Technology
[0004] In the high-bandwidth, non-blocking transmission mode of PON (Passive Optical Network) systems, the forwarding time of OLT (Optical Line Terminal) and ONU (Optical Network Unit) devices, as well as the downlink (broadcast) forwarding delay jitter, are relatively small and basically fixed. Currently, the deterministic guarantee of PON links is concentrated on PON uplink scheduling.
[0005] However, due to the limitations of the PON chip's time slot allocation mechanism, the time slots are arranged sequentially according to a fixed overhead interval within a unit period (i.e., a 125-millisecond period). This results in the time slots not filling the entire unit period, leading to unclear time delay boundaries and making it impossible to accurately determine the time delay. Summary of the Invention
[0006] This application provides a service configuration method, apparatus, computer equipment, and storage medium.
[0007] Firstly, this application provides a service configuration method. The method includes:
[0008] Based on the number of business bursts and the time slot of a single burst corresponding to the target business needs, determine the initial expansion coefficient corresponding to the time slot of the single burst;
[0009] If, based on the initial expansion coefficient, it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of the single burst time slot.
[0010] Based on the target expansion coefficient, the target business requirements are configured.
[0011] In one embodiment, determining the initial expansion coefficient corresponding to the single burst time slot based on the number of service bursts and the single burst time slot corresponding to the target service demand includes:
[0012] The total preamble overhead time corresponding to the target service requirement is determined by the product of the number of service bursts and the preamble overhead time.
[0013] The initial expansion coefficient corresponding to the single burst time slot is determined based on the total duration of the preamble overhead, the number of service bursts, and the single burst time slot.
[0014] In one embodiment, determining the initial inflation coefficient corresponding to the single burst time slot based on the total duration of the preamble overhead, the number of service bursts, and the single burst time slot includes:
[0015] The total duration of the burst time slot is determined by the product of the number of business bursts and the single burst time slot.
[0016] The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead and the total duration of the burst time slot.
[0017] In one embodiment, determining the initial inflation coefficient corresponding to a single burst slot based on the total duration of the preamble overhead and the total duration of the burst slot includes:
[0018] The remaining cycle duration is obtained by performing a difference operation between the total cycle duration corresponding to the unit cycle and the sum of the total duration of the preamble overhead and the total duration of the burst slot.
[0019] The ratio of the remaining cycle duration to the total duration of the burst time slot is used as the initial expansion coefficient corresponding to the single burst time slot.
[0020] In one embodiment, determining the unit cycle in which the target service demand cannot fill the passive optical network channel based on the initial expansion coefficient includes:
[0021] Verify whether the product of the number of business bursts and the single burst time slot is greater than the product of the total cycle duration corresponding to the unit cycle and the initial expansion coefficient;
[0022] If not, then it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel.
[0023] In one embodiment, updating the initial expansion coefficient to obtain a target expansion coefficient for slot expansion of the single burst slot includes:
[0024] The target expansion coefficient is obtained based on the initial expansion coefficient and the preset update strategy.
[0025] In one embodiment, the update strategy includes a unit coefficient; obtaining the target inflation coefficient based on the initial inflation coefficient and the preset update strategy includes:
[0026] The sum of the initial expansion coefficient and the preset unit coefficient is taken as the target expansion coefficient.
[0027] In one embodiment, the update strategy includes a unit coefficient; obtaining the target inflation coefficient based on the initial inflation coefficient and the preset update strategy includes:
[0028] The product of the initial expansion coefficient and the unit coefficient is taken as the target expansion coefficient.
[0029] Secondly, this application also provides a service configuration apparatus. The apparatus includes:
[0030] The determination module is used to determine the initial expansion coefficient corresponding to the single burst time slot based on the number of business bursts and the single burst time slot corresponding to the target business requirements.
[0031] The update module is used to update the initial expansion coefficient when it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel based on the initial expansion coefficient, so as to obtain the target expansion coefficient for slot expansion of the single burst time slot.
[0032] The configuration module is used to configure the target business requirements according to the target expansion coefficient.
[0033] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0034] Based on the number of business bursts and the time slot of a single burst corresponding to the target business needs, determine the initial expansion coefficient corresponding to the time slot of the single burst;
[0035] If, based on the initial expansion coefficient, it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of the single burst time slot.
[0036] Based on the target expansion coefficient, the target business requirements are configured.
[0037] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0038] Based on the number of business bursts and the time slot of a single burst corresponding to the target business needs, determine the initial expansion coefficient corresponding to the time slot of the single burst;
[0039] If, based on the initial expansion coefficient, it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of the single burst time slot.
[0040] Based on the target expansion coefficient, the target business requirements are configured.
[0041] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0042] Based on the number of business bursts and the time slot of a single burst corresponding to the target business needs, determine the initial expansion coefficient corresponding to the time slot of the single burst;
[0043] If, based on the initial expansion coefficient, it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of the single burst time slot.
[0044] Based on the target expansion coefficient, the target business requirements are configured. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology 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 disclosed drawings without creative effort.
[0046] Figure 1 is an application environment diagram of a service configuration method provided in an embodiment of this application;
[0047] Figure 2 is a flowchart illustrating the first service configuration method provided in this application embodiment;
[0048] Figure 3 is a flowchart illustrating the second service configuration method provided in this application embodiment;
[0049] Figure 4 is a flowchart illustrating the third service configuration method provided in this application embodiment;
[0050] Figure 5 is a flowchart illustrating the fourth service configuration method provided in this application embodiment;
[0051] Figure 6 is a schematic diagram of the first time slot relationship provided in the embodiment of this application;
[0052] Figure 7 is a schematic diagram of the second time slot relationship provided in the embodiment of this application;
[0053] Figure 8 is a structural block diagram of a service configuration device provided in an embodiment of this application;
[0054] Figure 9 is an internal structural diagram of the computer device in an embodiment of this application. Detailed Implementation
[0055] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0056] The service configuration method provided in this application embodiment can be applied to the application environment shown in Figure 1. The terminal 102 communicates with the server 104 via a network. A data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104 or placed on the cloud or other network servers. An initial expansion coefficient is determined by the number of service bursts and the time slot of a single burst corresponding to the target service requirement. Then, if it is determined that the target service requirement cannot fill the unit cycle of the passive optical network channel based on the initial expansion coefficient, the initial expansion coefficient is updated to obtain the target expansion coefficient. Finally, the target service requirement is configured according to the target expansion coefficient. The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.
[0057] In one embodiment, as shown in Figure 2, a service configuration method is provided. Taking the application of this method to server 104 in Figure 1 as an example, the method includes the following steps:
[0058] S201, determine the initial expansion coefficient corresponding to a single burst time slot based on the number of business bursts and the time slot of a single burst corresponding to the target business needs.
[0059] It should be noted that when it is necessary to determine the initial expansion coefficient corresponding to a single burst time slot, the occupancy of the target service requirement in the access PON system per unit period can be judged based on the number of service bursts and the single burst time slot corresponding to the target service requirement; then, the initial expansion coefficient corresponding to the single burst time slot can be determined based on the occupancy per unit period.
[0060] The unit cycle occupancy includes the remaining cycle duration after the target service requirement is connected to the PON system.
[0061] To further explain, when it is necessary to determine the initial expansion coefficient corresponding to a single burst time slot based on the number of business bursts and the single burst time slot corresponding to the target business needs, the initial expansion coefficient corresponding to a single burst time slot can be determined based on the remaining cycle duration, the number of business bursts, and the single burst time slot.
[0062] In one embodiment of this application, the total duration of preamble overhead corresponding to the target service requirement can be determined based on the product of the number of service bursts and the duration of preamble overhead; the total duration of burst slots can be determined based on the product of the number of service bursts and the duration of a single burst slot; and then, the initial expansion coefficient corresponding to a single burst slot can be determined based on the remaining cycle duration, the total duration of preamble overhead, and the total duration of burst slots.
[0063] S202, based on the initial expansion coefficient, if it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of a single burst time slot.
[0064] It should be noted that when the initial expansion coefficient needs to be updated, an update strategy for the initial expansion coefficient can be predefined, and then the initial expansion coefficient can be updated according to the update strategy to obtain the target expansion coefficient for slot expansion of a single burst slot. The update strategy may include a unit coefficient.
[0065] In one embodiment of this application, if a unit coefficient is predetermined, the update operation for the initial expansion coefficient can be achieved by summing the initial expansion coefficient and the unit coefficient. That is, when updating the initial expansion coefficient to obtain the target expansion coefficient, the following can be included: using the sum of the initial expansion coefficient and the preset unit coefficient as the target expansion coefficient.
[0066] As an example, the unit coefficient can be 1. That is, when it is necessary to determine the target expansion coefficient, the sum of the initial expansion coefficient and 1 can be used as the target expansion coefficient.
[0067] In another embodiment of this application, if a unit coefficient is predetermined, the update operation for the initial expansion coefficient can be achieved by multiplying the initial expansion coefficient with the unit coefficient. That is, when updating the initial expansion coefficient to obtain the target expansion coefficient, the following may be included: using the product of the initial expansion coefficient and the preset unit coefficient as the target expansion coefficient.
[0068] As an example, the unit coefficient can be 2. That is, when it is necessary to determine the target expansion coefficient, the product of the initial expansion coefficient and 2 can be used as the target expansion coefficient.
[0069] To further explain, when it is necessary to determine whether the target service demand occupies the unit cycle of the passive optical network channel, the product of the total cycle duration corresponding to the unit cycle and the initial expansion coefficient can be determined in advance. Then, based on the product of the total cycle duration corresponding to the unit cycle and the initial expansion coefficient, it can be determined whether the target service demand occupies the unit cycle of the passive optical network channel.
[0070] S203, Configure business requirements based on the target expansion coefficient.
[0071] It should be noted that after determining the target expansion coefficient, the target service requirements can be configured through the target expansion coefficient to achieve time slot expansion of the single burst time slot corresponding to the target service requirements, and to ensure that the target service requirements occupy the unit cycle of the passive optical network channel.
[0072] The aforementioned service configuration method determines the initial expansion coefficient by using the number of service bursts and the single burst time slot corresponding to the target service requirement. Then, if the initial expansion coefficient indicates that the target service requirement cannot fully occupy the unit cycle of the passive optical network (PON) channel, the initial expansion coefficient is updated to obtain the target expansion coefficient. Finally, the target service requirement is configured based on the target expansion coefficient. As can be seen from the above, the initial expansion coefficient is used to determine whether the target service requirement will fully occupy the unit cycle of the PON channel, thus verifying whether the initial expansion coefficient is suitable for the target service requirement. Furthermore, if it is determined that the target service requirement cannot fully occupy the unit cycle of the PON channel, the initial expansion coefficient is considered unsuitable, and it is updated to obtain the target expansion coefficient. Then, the target service requirement is configured based on the target expansion coefficient to ensure that the total duration of the burst time slots of the target service requirement configured according to the target expansion coefficient can fully occupy the unit cycle of the PON channel, thereby achieving a clear latency limit and ensuring accurate latency determination. This ensures rapid access for new services and improves the stability and efficiency of overall network performance.
[0073] In one embodiment, as shown in Figure 3, when it is necessary to determine the initial expansion coefficient corresponding to a single burst time slot based on the number of service bursts and the single burst time slot corresponding to the target service demand, the following may be included:
[0074] S301. Determine the total preamble overhead time corresponding to the target business requirement based on the product of the number of business bursts and the preamble overhead time.
[0075] In one embodiment of this application, when it is necessary to determine the total duration of the preamble overhead corresponding to the target service requirement, the preamble overhead duration can be predetermined, and then the product of the number of service bursts and the preamble overhead duration can be used as the total duration of the preamble overhead corresponding to the target service requirement.
[0076] Among them, the preamble overhead time refers to the preamble overhead time corresponding to a single burst.
[0077] Specifically, based on the above content, the formula for calculating the total preamble overhead time corresponding to the target business requirement can be determined as follows: C*∑N i
[0078] Where C refers to the preamble overhead time; N i This refers to the number of business disruptions.
[0079] S302, determine the initial expansion coefficient corresponding to a single burst time slot based on the total duration of the preamble overhead, the number of service bursts, and the single burst time slot.
[0080] It should be noted that when it is necessary to determine the initial expansion coefficient corresponding to a single burst time slot based on the total duration of the preamble overhead, the number of service bursts, and the single burst time slot, the following can be included: determine the total duration of the burst time slot based on the product of the number of service bursts and the single burst time slot; determine the initial expansion coefficient corresponding to a single burst time slot based on the total duration of the preamble overhead and the total duration of the burst time slot.
[0081] Specifically, when it is necessary to determine the total duration of a burst time slot, the following calculation formula can be used: ∑(t i *N i )
[0082] Among them, t i This refers to a single burst time slot; N i This refers to the number of business disruptions.
[0083] To further explain, when it is necessary to determine the initial expansion coefficient corresponding to a single burst slot based on the total duration of the preamble overhead and the total duration of the burst slot, the following steps can be used: calculate the difference between the total cycle duration corresponding to a unit cycle and the sum of the total duration of the preamble overhead and the total duration of the burst slot to obtain the remaining cycle duration; use the ratio of the remaining cycle duration to the total duration of the burst slot as the initial expansion coefficient corresponding to a single burst slot.
[0084] Specifically, based on the above content, the calculation formula for the remaining period duration can be determined, as shown below: 125-∑(t) i *N i )-C*∑N i
[0085] Where 125 refers to the total cycle duration corresponding to the unit cycle, in milliseconds; C refers to the preamble overhead duration; t i This refers to a single burst time slot; N i This refers to the number of business disruptions.
[0086] Since the ratio of the remaining period duration to the total duration of the burst time slot can be used as the initial expansion coefficient for a single burst time slot, the formula for calculating the initial expansion coefficient can be determined as follows: K=(125-∑(t) i *N i )-C*∑N i ) / ∑(t i *N i )
[0087] Where K refers to the initial expansion coefficient; 125 refers to the total cycle duration per unit period, in milliseconds; C refers to the preamble overhead duration; t i This refers to a single burst time slot; N i This refers to the number of business disruptions.
[0088] The above-mentioned service configuration method determines the total duration of the preamble overhead and the total duration of the burst time slot corresponding to the target service requirement. It then determines the initial expansion coefficient corresponding to a single burst time slot based on the total duration of the preamble overhead and the total duration of the burst time slot. This provides a data foundation for subsequently determining the target expansion coefficient, ensuring the smooth progress of subsequent processes, guaranteeing the rapid access of new services, and improving the stability and efficiency of the overall network performance.
[0089] In one embodiment, as shown in Figure 4, when it is necessary to determine, based on the initial expansion coefficient, the unit cycle in which the target service demand cannot fully occupy the passive optical network channel may include the following:
[0090] S401, verify whether the product of the number of business bursts and the time slot of a single burst is greater than the product of the total cycle duration corresponding to the unit cycle and the initial expansion coefficient.
[0091] In one embodiment of this application, based on the above content, a calculation formula for determining whether a target service demand occupies the entire unit cycle of a passive optical network channel can be determined. The calculation formula is as follows: N i *t i <125*k
[0092] Where K refers to the initial expansion coefficient; 125 refers to the total period duration corresponding to one unit period, in milliseconds; t i This refers to a single burst time slot; N i This refers to the number of business disruptions.
[0093] If the above calculation formula is satisfied, it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel.
[0094] S402, if not, then determine that the target service demand cannot fill the unit cycle of the passive optical network channel.
[0095] In one embodiment of this application, if not, it means that the target service requirement satisfies N. i *t i <125*k; therefore, it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel.
[0096] The above service configuration method verifies whether the product of the number of service bursts and the time slot of a single burst is greater than the product of the total cycle duration corresponding to the unit cycle and the initial expansion coefficient. This helps to determine whether the target service demand occupies the unit cycle of the passive optical network channel, providing a basis for the smooth progress of subsequent processes.
[0097] In one embodiment, as shown in Figure 5, when it is necessary to configure the target business requirements, the following may be included:
[0098] S501 determines the total preamble overhead time corresponding to the target business requirement based on the product of the number of business bursts and the preamble overhead time.
[0099] S502, determine the total duration of the burst time slot based on the product of the number of business bursts and the time slot of a single burst.
[0100] S503 calculates the difference between the total cycle duration corresponding to a unit cycle and the sum of the total duration of the preamble overhead and the total duration of the burst slot to obtain the remaining cycle duration.
[0101] S504 uses the ratio of the remaining cycle duration to the total duration of the burst time slot as the initial expansion coefficient for a single burst time slot.
[0102] S505, based on the initial expansion coefficient, if it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of a single burst time slot.
[0103] S506 configures business requirements based on the target expansion coefficient.
[0104] It should be noted that, as shown in Figure 6, TCONT is the time slot resource carrier used to carry uplink services in the PON system. It is a set of uplink time slots allocated by the OLT to the ONU with specific bandwidth attributes (such as fixed bandwidth, guaranteed bandwidth, and non-guaranteed bandwidth), used to regulate the transmission timing of service data. TCONT1 and TCONT2 represent two different time slot resource allocation units, which can carry different priorities and types of target service requirements respectively. In the PON uplink latency reduction method, the standard defines each uplink time slot allocation frame as having a unit period of 125 microseconds; and each burst packet requires a certain preamble, which will occupy part of the uplink time slot and introduce a certain overhead. The overhead duration of each preamble is C. Ideally, for the case of a single frame with four bursts, the four burst packets are evenly distributed within the unit period. However, due to the limitation of the PON chip's time slot allocation mechanism: within a unit period (i.e., a period of 125 milliseconds), the time slots are arranged sequentially according to a fixed overhead interval. This causes the time slots to not fill the entire unit period, resulting in a remaining latency greater than 31.25 milliseconds.
[0105] Therefore, as shown in Figure 7, this application can determine the total preamble overhead duration corresponding to the target service requirement based on the product of the number of service bursts and the preamble overhead duration; determine the total burst time slot duration based on the product of the number of service bursts and the single burst time slot; then, calculate the difference between the total cycle duration corresponding to a unit cycle and the sum of the total preamble overhead duration and the total burst time slot duration to obtain the remaining cycle duration; use the ratio of the remaining cycle duration to the total burst time slot duration as the initial expansion coefficient corresponding to a single burst time slot. Furthermore, if it is determined that the target service requirement cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of a single burst time slot; and the target service requirement is configured according to the target expansion coefficient.
[0106] The aforementioned service configuration method determines the initial expansion coefficient by using the number of service bursts and the single burst time slot corresponding to the target service requirement. Then, if the initial expansion coefficient indicates that the target service requirement cannot fully occupy the unit cycle of the passive optical network (PON) channel, the initial expansion coefficient is updated to obtain the target expansion coefficient. Finally, the target service requirement is configured based on the target expansion coefficient. As can be seen from the above, the initial expansion coefficient is used to determine whether the target service requirement will fully occupy the unit cycle of the PON channel, thus verifying whether the initial expansion coefficient is suitable for the target service requirement. Furthermore, if it is determined that the target service requirement cannot fully occupy the unit cycle of the PON channel, the initial expansion coefficient is considered unsuitable, and it is updated to obtain the target expansion coefficient. Then, the target service requirement is configured based on the target expansion coefficient to ensure that the total duration of the burst time slots of the target service requirement configured according to the target expansion coefficient can fully occupy the unit cycle of the PON channel, thereby achieving a clear latency limit and ensuring accurate latency determination. This ensures rapid access for new services and improves the stability and efficiency of overall network performance.
[0107] 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.
[0108] 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.
[0109] In one embodiment, as shown in FIG8, a service configuration device is provided, including: a determination module 10, an update module 20, and a configuration module 30, wherein:
[0110] The determination module 10 is used to determine the initial expansion coefficient corresponding to a single burst time slot based on the number of business bursts and the single burst time slot corresponding to the target business requirements.
[0111] The update module 20 is used to update the initial expansion coefficient when it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel based on the initial expansion coefficient, so as to obtain the target expansion coefficient for time slot expansion of a single burst time slot.
[0112] Configuration module 30 is used to configure business requirements based on the target expansion coefficient.
[0113] In one embodiment, the determining module 10 is further configured to: determine the total preamble overhead time corresponding to the target business requirement based on the product of the number of business bursts and the preamble overhead time;
[0114] The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead, the number of business bursts, and the time slot of a single burst.
[0115] In one embodiment, the determining module 10 is further configured to: determine the total duration of the burst time slot based on the product of the number of service bursts and the single burst time slot;
[0116] The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead and the total duration of the burst time slot.
[0117] In one embodiment, the determining module 10 is further configured to: perform a difference operation on the total cycle duration corresponding to the unit cycle and the sum of the total duration of the preamble overhead and the total duration of the burst slot to obtain the remaining cycle duration;
[0118] The ratio of the remaining cycle duration to the total duration of the burst time slot is used as the initial expansion coefficient for a single burst time slot.
[0119] In one embodiment, the update module 20 is further configured to: verify whether the product of the number of business bursts and the single burst time slot is greater than the product of the total cycle duration corresponding to the unit cycle and the initial expansion coefficient;
[0120] If not, then it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel.
[0121] In one embodiment, the update module 20 is further configured to: obtain a target expansion coefficient based on the initial expansion coefficient and a preset update strategy.
[0122] In one embodiment, the update module 20 is further configured to: use the sum of the initial expansion coefficient and the unit coefficient as the target expansion coefficient.
[0123] In one embodiment, the updating module 20 is further configured to: use the product of the initial expansion coefficient and the unit coefficient as the target expansion coefficient.
[0124] The aforementioned service configuration device determines an initial expansion coefficient based on the number of service bursts and the time slot of a single burst corresponding to the target service requirement. Then, if the initial expansion coefficient indicates that the target service requirement cannot fully occupy the unit cycle of the passive optical network (PON) channel, the initial expansion coefficient is updated to obtain a target expansion coefficient. Finally, the target service requirement is configured based on the target expansion coefficient. As can be seen from the above, the initial expansion coefficient is used to determine whether the target service requirement will fully occupy the unit cycle of the PON channel, thus verifying whether the initial expansion coefficient is suitable for the target service requirement. Furthermore, if it is determined that the target service requirement cannot fully occupy the unit cycle of the PON channel, the initial expansion coefficient is considered unsuitable, and it is updated to obtain the target expansion coefficient. Then, the target service requirement is configured based on the target expansion coefficient to ensure that the total duration of the burst time slots of the target service requirement configured according to the target expansion coefficient can fully occupy the unit cycle of the PON channel, thereby achieving a clear latency limit and ensuring accurate latency determination. This ensures rapid access to new services and improves the stability and efficiency of overall network performance.
[0125] Each module in the aforementioned business configuration device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0126] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram is shown in Figure 9. The computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a business configuration method. The display unit of the computer device is used to form a visually visible image and may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0127] Those skilled in the art will understand that the structure shown in Figure 9 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or may combine certain components, or may have different component arrangements.
[0128] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0129] Based on the number of business bursts and the time slot of a single burst corresponding to the target business needs, determine the initial expansion coefficient corresponding to the time slot of a single burst.
[0130] Based on the initial expansion coefficient, if it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of a single burst time slot.
[0131] Configure business requirements based on the target expansion factor.
[0132] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0133] The total preamble overhead time corresponding to the target business requirement is determined by the product of the number of business bursts and the preamble overhead time.
[0134] The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead, the number of business bursts, and the time slot of a single burst.
[0135] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0136] The total duration of a burst time slot is determined by the product of the number of business bursts and the time slot of a single burst.
[0137] The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead and the total duration of the burst time slot.
[0138] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0139] The remaining cycle duration is obtained by taking the difference between the total cycle duration corresponding to the unit cycle and the sum of the total duration of the preamble overhead and the total duration of the burst slot.
[0140] The ratio of the remaining cycle duration to the total duration of the burst time slot is used as the initial expansion coefficient for a single burst time slot.
[0141] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0142] Verify whether the product of the number of business bursts and the time slot of a single burst is greater than the product of the total cycle duration corresponding to the unit cycle and the initial expansion coefficient;
[0143] If not, then it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel.
[0144] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0145] The sum of the initial expansion coefficient and the preset unit coefficient is used as the target expansion coefficient.
[0146] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0147] Based on the number of business bursts and the time slot of a single burst corresponding to the target business needs, determine the initial expansion coefficient corresponding to the time slot of a single burst.
[0148] Based on the initial expansion coefficient, if it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of a single burst time slot.
[0149] Configure business requirements based on the target expansion factor.
[0150] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0151] The total preamble overhead time corresponding to the target business requirement is determined by the product of the number of business bursts and the preamble overhead time.
[0152] The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead, the number of business bursts, and the time slot of a single burst.
[0153] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0154] The total duration of a burst time slot is determined by the product of the number of business bursts and the time slot of a single burst.
[0155] The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead and the total duration of the burst time slot.
[0156] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0157] The remaining cycle duration is obtained by taking the difference between the total cycle duration corresponding to the unit cycle and the sum of the total duration of the preamble overhead and the total duration of the burst slot.
[0158] The ratio of the remaining cycle duration to the total duration of the burst time slot is used as the initial expansion coefficient for a single burst time slot.
[0159] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0160] Verify whether the product of the number of business bursts and the time slot of a single burst is greater than the product of the total cycle duration corresponding to the unit cycle and the initial expansion coefficient;
[0161] If not, then it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel.
[0162] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0163] The target expansion coefficient is obtained based on the initial expansion coefficient and the preset update strategy.
[0164] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0165] The sum of the initial expansion coefficient and the unit coefficient is taken as the target expansion coefficient.
[0166] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0167] The product of the initial expansion coefficient and the unit coefficient is taken as the target expansion coefficient.
[0168] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0169] Based on the number of business bursts and the time slot of a single burst corresponding to the target business needs, determine the initial expansion coefficient corresponding to the time slot of a single burst.
[0170] Based on the initial expansion coefficient, if it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of a single burst time slot.
[0171] Configure business requirements based on the target expansion factor.
[0172] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0173] The total preamble overhead time corresponding to the target business requirement is determined by the product of the number of business bursts and the preamble overhead time.
[0174] The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead, the number of business bursts, and the time slot of a single burst.
[0175] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0176] The total duration of a burst time slot is determined by the product of the number of business bursts and the time slot of a single burst.
[0177] The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead and the total duration of the burst time slot.
[0178] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0179] The remaining cycle duration is obtained by taking the difference between the total cycle duration corresponding to the unit cycle and the sum of the total duration of the preamble overhead and the total duration of the burst slot.
[0180] The ratio of the remaining cycle duration to the total duration of the burst time slot is used as the initial expansion coefficient for a single burst time slot.
[0181] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0182] Verify whether the product of the number of business bursts and the time slot of a single burst is greater than the product of the total cycle duration corresponding to the unit cycle and the initial expansion coefficient;
[0183] If not, then it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel.
[0184] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0185] The target expansion coefficient is obtained based on the initial expansion coefficient and the preset update strategy.
[0186] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0187] The sum of the initial expansion coefficient and the unit coefficient is taken as the target expansion coefficient.
[0188] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0189] The product of the initial expansion coefficient and the unit coefficient is taken as the target expansion coefficient.
[0190] 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, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0191] 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.
[0192] 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.
[0193] 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, the method comprising: Based on the number of business bursts and the time slot of a single burst corresponding to the target business needs, determine the initial expansion coefficient corresponding to the time slot of the single burst; If, based on the initial expansion coefficient, it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel, the initial expansion coefficient is updated to obtain the target expansion coefficient used for time slot expansion of the single burst time slot. Based on the target expansion coefficient, the target business requirements are configured.
2. The method according to claim 1, wherein, The step of determining the initial expansion coefficient corresponding to a single burst time slot based on the number of business bursts and the time slot of a single burst corresponding to the target business demand includes: The total preamble overhead time corresponding to the target service requirement is determined by the product of the number of service bursts and the preamble overhead time. The initial expansion coefficient corresponding to the single burst time slot is determined based on the total duration of the preamble overhead, the number of service bursts, and the single burst time slot.
3. The method according to claim 2, wherein, The step of determining the initial inflation coefficient corresponding to the single burst time slot based on the total duration of the preamble overhead, the number of service bursts, and the single burst time slot includes: The total duration of the burst time slot is determined by the product of the number of business bursts and the single burst time slot. The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead and the total duration of the burst time slot.
4. The method according to claim 3, wherein, The step of determining the initial inflation coefficient corresponding to a single burst slot based on the total duration of the preamble overhead and the total duration of the burst slot includes: The remaining cycle duration is obtained by performing a difference operation between the total cycle duration corresponding to the unit cycle and the sum of the total duration of the preamble overhead and the total duration of the burst slot. The ratio of the remaining cycle duration to the total duration of the burst time slot is used as the initial expansion coefficient corresponding to the single burst time slot.
5. The method according to any one of claims 1 to 4, wherein, The step of determining, based on the initial expansion coefficient, the unit cycle in which the target service demand cannot fully occupy the passive optical network channel includes: Verify whether the product of the number of business bursts and the single burst time slot is greater than the product of the total cycle duration corresponding to the unit cycle and the initial expansion coefficient; If not, then it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel.
6. The method according to any one of claims 1 to 4, wherein, The step of updating the initial expansion coefficient to obtain the target expansion coefficient for slot expansion of the single burst slot includes: The target expansion coefficient is obtained based on the initial expansion coefficient and the preset update strategy.
7. The method according to claim 6, wherein, The update strategy includes a unit coefficient; obtaining the target inflation coefficient based on the initial inflation coefficient and the preset update strategy includes: The sum of the initial expansion coefficient and the unit coefficient is taken as the target expansion coefficient.
8. The method according to claim 6, wherein, The update strategy includes a unit coefficient; obtaining the target inflation coefficient based on the initial inflation coefficient and the preset update strategy includes: The product of the initial expansion coefficient and the unit coefficient is taken as the target expansion coefficient.
9. A service configuration device, the device comprising: The determination module is used to determine the initial expansion coefficient corresponding to the single burst time slot based on the number of business bursts and the single burst time slot corresponding to the target business requirements. The update module is used to update the initial expansion coefficient when it is determined that the target service demand cannot fill the unit cycle of the passive optical network channel based on the initial expansion coefficient, so as to obtain the target expansion coefficient for slot expansion of the single burst time slot. The configuration module is used to configure the target business requirements according to the target expansion coefficient.
10. The apparatus according to claim 9, wherein, The determining module is also used for: The total preamble overhead time corresponding to the target service requirement is determined by the product of the number of service bursts and the preamble overhead time. The initial expansion coefficient corresponding to the single burst time slot is determined based on the total duration of the preamble overhead, the number of service bursts, and the single burst time slot.
11. The apparatus according to claim 10, wherein, The determining module is also used for: The total duration of the burst time slot is determined by the product of the number of business bursts and the single burst time slot. The initial expansion coefficient corresponding to a single burst time slot is determined based on the total duration of the preamble overhead and the total duration of the burst time slot.
12. The apparatus according to claim 11, wherein, The determining module is also used for: The remaining cycle duration is obtained by performing a difference operation between the total cycle duration corresponding to the unit cycle and the sum of the total duration of the preamble overhead and the total duration of the burst slot. The ratio of the remaining cycle duration to the total duration of the burst time slot is used as the initial expansion coefficient corresponding to the single burst time slot.
13. A computer device comprising a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps of the method according to any one of claims 1 to 8.
14. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 8.
15. A computer program product comprising a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1 to 8.