Uplink time slot resource allocation method, device, electronic device and storage medium

By preconfiguring uplink time slot resources for the first ONU in the PON network, the delay and jitter problems caused by the allocation of uplink time slot resources in the prior art are solved, and the reliability of uplink data transmission in the PON network is improved.

CN115297385BActive Publication Date: 2025-03-21CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210929312.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-03
Publication Date
2025-03-21
Estimated Expiration
2042-08-03

AI Technical Summary

Technical Problem

When the existing PON network allocates uplink time slot resources, it may cause other fixed time slot resources that have been online ONUs to be occupied, resulting in large delays and jitters in uplink data transmission, reducing the reliability of uplink data transmission in PON network.

Method used

By acquiring the preconfigured time slot resources preconfigured for the first ONU among the uplink time slot resources to be allocated, including the first preconfigured time slot resources for registering the uplink and the second preconfigured time slot resources for data transmission, it is ensured that the uplink and data transmission of the first ONU will not occupy the fixed time slots in the uplink transmission direction of other ONUs.

Benefits of technology

This avoids large delay and jitter for uplink data transmission of ONUs that have been online in the PON network, and improves the certainty and reliability of uplink data transmission of the PON network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115297385B_ABST
    Figure CN115297385B_ABST
Patent Text Reader

Abstract

The present disclosure provides an uplink time slot resource allocation method, device, electronic device and storage medium, and relates to the field of communication technology. The method includes: obtaining a pre-configured time slot resource of a first ONU, the pre-configured time slot resource of the first ONU is a time slot resource pre-configured for the first ONU from the uplink time slot resources to be allocated, and the pre-configured time slot resources include a first pre-configured time slot resource of a registration window service type and a second pre-configured time slot resource of a data transmission service type; when the first ONU goes online, the first pre-configured time slot resource is allocated to the first ONU; when the first ONU successfully registers and goes online, the second pre-configured time slot resource is allocated to the first ONU. The present disclosure ensures that the first ONU registration and online and data transmission will not occupy the fixed time slot of the uplink transmission direction of other online ONUs, avoids causing large delays and jitters to the uplink data transmission of the online ONUs, and improves the certainty and reliability of uplink data transmission in the PON network.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of communication technology, the use of PON (Passive Optical Network) technology is becoming more and more widespread. In a PON network, it can include an OLT (Optical Line Terminal) installed in a central control station and at least one ONU (Optical Network Unit) installed in a user's location. When an ONU needs to transmit data in the upstream direction, the PON network needs to allocate corresponding upstream time slot resources to the ONU.

[0003] In the related art, when an ONU needs to transmit data in the upstream direction, the PON network can randomly allocate corresponding upstream time slot resources to the ONU after the ONU goes online, so that the ONU can transmit the related data.

[0004] However, the related art randomly allocates uplink time slot resources to the ONU, which may cause the fixed time slot resources of other online ONUs to be occupied, resulting in insufficient time slots for other online ONUs to send related uplink data in the same frame. Therefore, the uplink time slot resource allocation method provided by the related art will cause a large delay and jitter in the uplink data transmission of other online ONUs, thereby reducing the reliability of uplink data transmission in the PON network.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The present disclosure provides an uplink time slot resource allocation method, device, electronic device and storage medium, which at least to a certain extent overcome the problem that related technologies may cause large delay and jitter in uplink data transmission of ONU, thereby reducing the reliability of uplink data transmission in PON network.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to one aspect of an embodiment of the present disclosure, a method for allocating uplink time slot resources is provided, including:

[0009] Obtain preconfigured time slot resources of a first ONU, wherein the preconfigured time slot resources of the first ONU are time slot resources pre-configured for the first ONU from uplink time slot resources to be allocated, and the preconfigured time slot resources include: a first preconfigured time slot resource of a registration window service type and a second preconfigured time slot resource of a data transmission service type; when the first ONU is monitored to be online, a first preconfigured time slot resource is allocated to the first ONU, and the first preconfigured time slot resource is used for the first ONU to register and go online; in response to a condition that the first ONU successfully registers and goes online, the second preconfigured time slot resource is allocated to the first ONU, and the second preconfigured time slot resource is used for the first ONU to transmit related data.

[0010] In some embodiments of the present disclosure, before obtaining the pre-configured time slot resources of the first ONU, the method further includes:

[0011] Acquire network capacity expansion demand data and / or registration windowing demand data; determine the type and quantity of services that need to pre-configure time slot resources based on the network capacity expansion demand data and / or the registration windowing demand data, the services that need to pre-configure time slot resources include the registration windowing service of the first ONU and the data transmission service of the first ONU; pre-configure the uplink time slot resources to be allocated based on the type and quantity of services that need to pre-configure time slot resources to obtain the pre-configured time slot resources of the first ONU.

[0012] In some embodiments of the present disclosure, the time slots included in the uplink time slot resources to be allocated are all empty time slots to which no services are currently allocated.

[0013] In some embodiments of the present disclosure, pre-configuring the uplink time slot resources to be allocated according to the type and quantity of the services for which the time slot resources need to be pre-configured to obtain the pre-configured time slot resources of the first ONU includes:

[0014] Corresponding registration and authentication resources are allocated to the first preconfigured time slot resources of the first ONU, and the registration and authentication resources are used for the first ONU to register and go online.

[0015] In some embodiments of the present disclosure, the obtaining of the preconfigured time slot resources of the first ONU includes:

[0016] Acquire preconfigured time slot resources of multiple ONUs including the preconfigured time slot resources of the first ONU, wherein the preconfigured time slot resources of the multiple ONUs include multiple second preconfigured time slot resources with different data transmission time intervals;

[0017] Wherein, allocating the second preconfigured time slot resource to the first ONU includes:

[0018] Determine a data transmission time interval of the first ONU; and allocate a second preconfigured time slot resource corresponding to the data transmission time interval to the first ONU according to the data transmission time interval of the first ONU.

[0019] In some embodiments of the present disclosure, the method further includes:

[0020] When the second ONU needs to go online, determine whether the currently unallocated first pre-configured time slot resources and the second pre-configured time slot resources meet the service requirements of the second ONU, where the second ONU is an ONU other than the first ONU; if the service requirements of the second ONU are met, allocate the first pre-configured time slot resources of the registered window service type to the second ONU; if the requirements of the second ONU are not met, refuse to let the second ONU go online at the PON port where the current first pre-configured time slot resources and the second pre-configured time slot resources are located.

[0021] In some embodiments of the present disclosure, the method further includes: in response to the condition that the first ONU successfully registers and goes online, releasing the first pre-configured time slot resources of the first ONU, and the first pre-configured time slot resources of the first ONU are used for other ONUs that go online after the first ONU to register and go online or transmit related data.

[0022] According to another aspect of the present disclosure, there is provided an uplink time slot resource allocation device, comprising:

[0023] A preconfigured time slot resource acquisition module is used to acquire the preconfigured time slot resources of the first ONU, wherein the preconfigured time slot resources of the first ONU are time slot resources pre-configured for the first ONU from the uplink time slot resources to be allocated, and the preconfigured time slot resources include: a first preconfigured time slot resource of a registration windowing service type and a second preconfigured time slot resource of a data transmission service type;

[0024] A first pre-configured time slot resource allocation module is used to allocate a first pre-configured time slot resource to the first ONU when the first ONU is monitored to be online, and the first pre-configured time slot resource is used for the first ONU to register and go online;

[0025] The second pre-configured time slot resource allocation module is used to allocate the second pre-configured time slot resource to the first ONU in response to the condition that the first ONU successfully registers and goes online, and the second pre-configured time slot resource is used for the first ONU to transmit related data.

[0026] In some embodiments of the present disclosure, a pre-configured time slot resource acquisition module is used to obtain network capacity expansion demand data and / or registration windowing demand data; based on the network capacity expansion demand data and / or the registration windowing demand data, the type and quantity of services that need to pre-configure time slot resources are determined, and the services that need to pre-configure time slot resources include the registration windowing service of the first ONU and the data transmission service of the first ONU; based on the type and quantity of services that need to pre-configure time slot resources, the uplink time slot resources to be allocated are pre-configured to obtain the pre-configured time slot resources of the first ONU.

[0027] In some embodiments of the present disclosure, the time slots included in the uplink time slot resources to be allocated are all empty time slots to which no services are currently allocated.

[0028] In some embodiments of the present disclosure, the pre-configured time slot resource acquisition module is used to allocate corresponding registration authentication resources to the first pre-configured time slot resource in the pre-configured time slot resources of the first ONU, and the registration authentication resources are used for the first ONU to register and go online.

[0029] In some embodiments of the present disclosure, the preconfigured time slot resource acquisition module is used to acquire preconfigured time slot resources of multiple ONUs including the preconfigured time slot resources of the first ONU, wherein the preconfigured time slot resources of the multiple ONUs include multiple second preconfigured time slot resources with different data transmission time intervals;

[0030] The second pre-configured time slot resource allocation module is used to determine the data transmission time interval of the first ONU; according to the data transmission time interval of the first ONU, allocate a second pre-configured time slot resource corresponding to the data transmission time interval to the first ONU.

[0031] In some embodiments of the present disclosure, the uplink time slot resource allocation device provided by the embodiments of the present disclosure further includes: a judgment module, which is used to determine whether the currently unallocated first pre-configured time slot resources and the second pre-configured time slot resources meet the service requirements of the second ONU when the second ONU needs to go online, and the second ONU is an ONU other than the first ONU;

[0032] The first pre-configured time slot resource allocation module is also used to allocate the first pre-configured time slot resource of the registration window service type to the second ONU if the service requirements of the second ONU are met; if the requirements of the second ONU are not met, the second ONU is refused to go online at the PON port where the current first pre-configured time slot resource and the second pre-configured time slot resource are located.

[0033] In some embodiments of the present disclosure, the pre-configured time slot resource acquisition module is also used to release the first pre-configured time slot resources of the first ONU in response to the condition that the first ONU successfully registers and goes online, and the first pre-configured time slot resources of the first ONU are used for other ONUs that go online after the first ONU to register and go online or transmit related data.

[0034] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned uplink time slot resource allocation method by executing the executable instructions.

[0035] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned uplink time slot resource allocation method is implemented.

[0036] According to another aspect of the present disclosure, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the uplink time slot resource allocation method provided in various optional manners in any embodiment of the present disclosure.

[0037] The technical solution provided by the embodiment of the present disclosure obtains the pre-configured time slot resources pre-configured for the first ONU from the uplink time slot resources to be allocated, and the pre-configured resources of the first ONU include the first pre-configured time slot resources for the first ONU to register and go online and the second pre-configured time slot resources for the first ONU to transmit related data. Therefore, the embodiment of the present disclosure can ensure that the first ONU will not occupy the fixed time slots of the uplink transmission direction of other online ONUs when registering and transmitting data, avoiding the generation of large delays and jitters for the uplink data transmission of the online ONUs in the PON network, thereby improving the certainty and reliability of the uplink data transmission of the PON network.

[0038] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0040] Figure 1 A schematic diagram showing an implementation environment in an embodiment of the present disclosure;

[0041] Figure 2 A flow chart of an uplink time slot resource allocation method according to an embodiment of the present disclosure is shown;

[0042] Figure 3 A schematic diagram of a process of uplink time slot resource allocation in an embodiment of the present disclosure is shown;

[0043] Figure 4 A schematic diagram of an uplink time slot resource allocation system for uplink time slot resource allocation in an embodiment of the present disclosure is shown;

[0044] Figure 5 A flow chart of a method for allocating uplink time slot resources in an embodiment of the present disclosure is shown;

[0045] Figure 6 A schematic diagram of an uplink time slot resource allocation device in an embodiment of the present disclosure is shown; and

[0046] Figure 7 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0047] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0048] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0049] Figure 1 A schematic diagram showing an implementation environment of the uplink time slot resource allocation method that can be applied to the embodiment of the present disclosure is shown.

[0050] like Figure 1As shown, the implementation environment of the uplink time slot resource allocation method may include a controller 101, an OLT 102, and a first ONU 103. The OLT 102 may communicate with the controller 101 and the first ONU 103 respectively.

[0051] The OLT 102 may include at least one PON port, each PON port may communicate with at least one ONU, and the first ONU 103 may be one of the at least one ONU. The controller 101 may allocate corresponding uplink time slot resources to the first ONU 103 through the uplink time slot resource allocation method provided in the embodiment of the present disclosure, so that the first ONU 103 may transmit data to the OLT 102 through the corresponding uplink time slot resources, thereby enabling the first ONU 103 to communicate with the OLT 102.

[0052] In an exemplary embodiment, the first ONU 103 may use time division multiple access technology to send data in the upstream direction of the OUL 102. The time division multiple access technology can divide time into periodic frames, and each frame is further divided into a number of time slots. Under the conditions of meeting timing and synchronization, the OUL 102 can receive the data sent by each ONU in each time slot.

[0053] The disclosed embodiments do not limit the controller 101. For example, the controller 101 may be located in a terminal device or a server. Optionally, the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal device may be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto.

[0054] Those skilled in the art will know that Figure 1 The number of controllers 101, OLT 102 and first ONU 103 is only for illustration, and any number of controllers 101 and OLT 102 may be provided according to actual needs, and one or more other ONUs may be provided except the first ONU 103. The embodiments of the present disclosure are not limited to this.

[0055] The present exemplary implementation is described in detail below with reference to the accompanying drawings and embodiments.

[0056] Firstly, an uplink time slot resource allocation method is provided in an embodiment of the present disclosure. The method can be executed by any electronic device with computing and processing capabilities.

[0057] Figure 2 A flow chart of an uplink time slot resource allocation method in an embodiment of the present disclosure is shown as follows: Figure 2 As shown, the uplink time slot resource allocation method provided in the embodiment of the present disclosure includes the following steps S202 to S206.

[0058] S202, obtaining pre-configured time slot resources of the first ONU, wherein the pre-configured time slot resources of the first ONU are time slot resources pre-configured for the first ONU from the uplink time slot resources to be allocated, and the pre-configured time slot resources include: a first pre-configured time slot resource of a registration window service type and a second pre-configured time slot resource of a data transmission service type.

[0059] For example, in a PON network, an OLT (Optical Line Terminal) installed in a central control station and at least one ONU (Optical Network Unit) installed in a user's location may be included. The direction in which the ONU sends data to the OLT is the uplink direction. The OLT may include at least one PON port, and any PON port may include at least one time slot resource.

[0060] The PON port may include multiple frames, each frame may be 125μs (microsecond), and each frame may include multiple time slots, each time slot may correspond to a time slot resource. The embodiment of the present disclosure does not limit the length of the time slot. For example, the length of any time slot may be 25μs, or may be 50μs.

[0061] The disclosed embodiments do not limit the uplink time slot resource to be allocated. Exemplarily, the time slots included in the uplink time slot resource to be allocated can all be empty time slots of currently unallocated services. In some embodiments, when a certain ONA needs to transmit data to the OLT, it is necessary to allocate corresponding uplink time slot resources to the ONU. When another ONA needs to send data to the OLT, the other ONA needs to transmit uplink data through the currently unallocated uplink time slot resource. Therefore, the above-mentioned two ONUs will not interfere with each other when transmitting data in the uplink direction respectively.

[0062] In some embodiments, before obtaining the pre-configured time slot resources of the first ONU, the uplink time slot resource allocation method provided by the embodiments of the present disclosure may also include: obtaining network capacity expansion demand data and / or registration windowing demand data; determining the type and quantity of services that need to pre-configure time slot resources based on the network capacity expansion demand data and / or registration windowing demand data, and the services that need to pre-configure time slot resources include the registration windowing service of the first ONU and the data transmission service of the first ONU; pre-configuring the uplink time slot resources to be allocated based on the type and quantity of services that need to pre-configure time slot resources to obtain the pre-configured time slot resources of the first ONU.

[0063] The embodiments of the present disclosure do not limit the method for obtaining the network capacity expansion demand data and / or the registration window opening demand data. The method for obtaining the network capacity expansion demand data and / or the registration window opening demand data can be determined by the application scenario. For example, in an industrial environment, the network capacity expansion demand data and the registration window opening demand data can be obtained through feedback from operation and maintenance personnel or a production management system.

[0064] In a possible implementation, there are three ONUs that are not online and need to transmit corresponding data through uplink time slot resources, and there is one ONU that is online and needs to transmit corresponding data through uplink time slot resources. Therefore, the network expansion requirement data indicates that corresponding pre-configuration is required for the four ONUs, and the registration windowing requirement data indicates that time slot resources used for registration windowing need to be pre-configured for the three ONUs. Therefore, the type and number of services that need to pre-configure time slot resources can be determined based on the above-mentioned network expansion requirement data and registration windowing requirement data. At this time, the services that need to pre-configure time slot resources include data transmission services and registration windowing services, wherein the number of data transmission services is 4, and the number of registration windowing services is 3. It should be noted that the first ONU can be any one of the three ONUs that are not online.

[0065] In some embodiments, the first ONU is an ONU that is not online, and the first ONU needs to transmit data in the upstream direction once every 2 seconds after successfully going online. Therefore, the first pre-configured time slot resource of the first ONU and the second pre-configured time slot resource of the first ONU can be pre-configured for the first ONU in the current upstream time slot resource to be allocated, the first pre-configured time slot resource of the first ONU is used for the first ONU to register online, and the second pre-configured time slot resource of the first ONU can be used for the first ONU to transmit data in the upstream direction once every 2 seconds.

[0066] In some embodiments, the uplink time slot resources to be allocated are pre-configured according to the type and quantity of the services for which the time slot resources need to be pre-configured, and the pre-configured time slot resources of the first ONU are obtained, including: allocating corresponding registration and authentication resources to the first pre-configured time slot resources in the pre-configured time slot resources of the first ONU, and the registration and authentication resources are used for the first ONU to register and go online.

[0067] In an exemplary embodiment, the registration and authentication resources corresponding to different ONU registration windows may be different. For example, one ONU needs to transmit data in the upstream direction once every 3 seconds, while another ONU needs to transmit data in the upstream direction once every 1 second. Then the registration and authentication resources required by the above two ONUs may be different.

[0068] It should be noted that, when the first ONU successfully goes online through the first pre-configured time slot resource corresponding to the first ONU, the first pre-configured time slot resource of the first ONU is vacated again, and the first pre-configured time slot resource can be re-pre-configured for registration windowing of other ONUs.

[0069] S204, when it is monitored that the first ONU is online, a first pre-configured time slot resource is allocated to the first ONU, and the first pre-configured time slot resource is used for the first ONU to register and go online.

[0070] In some embodiments, the first ONU needs to register and go online before transmitting data in the upstream direction. When the controller for controlling the OLT detects that the first ONU needs to go online, the first preconfigured time slot resource preconfigured for the first ONU can be allocated to the first ONU to register and go online.

[0071] Exemplarily, the first pre-configured time slot resource of the first ONU includes a registration authentication resource for the first ONU to register and go online. In addition, the embodiment of the present disclosure does not limit the step of the first ONU registering and going online through the first pre-configured time slot resource of the first ONU.

[0072] S206, in response to the condition that the first ONU successfully registers and goes online, allocate a second pre-configured time slot resource to the first ONU, where the second pre-configured time slot resource is used for the first ONU to transmit relevant data.

[0073] In some embodiments, when pre-configuring the uplink time slot resources, multiple ONUs to be online may be configured at the same time. In addition, multiple ONUs to be online need to be in the uplink direction. Therefore, obtaining the pre-configured time slot resources of the first ONU includes: obtaining the pre-configured time slot resources of multiple ONUs including the pre-configured time slot resources of the first ONU, and the pre-configured time slot resources of the multiple ONUs include multiple second pre-configured time slot resources with different data transmission time intervals. In this case, allocating the second pre-configured time slot resources to the first ONU includes: determining the data transmission time interval of the first ONU; and allocating the second pre-configured time slot resources corresponding to the data transmission time interval to the first ONU according to the data transmission time interval of the first ONU.

[0074] In an exemplary embodiment, it is assumed that uplink time slots are preconfigured for three ONUs with different data transmission time intervals, and the three ONUs with different data transmission time intervals include a first ONU. Therefore, after the first ONU goes online, it is necessary to first determine the data transmission time interval of the first ONU. Afterwards, a second preconfigured time slot resource corresponding to the data transmission time interval of the first ONU is determined in the second preconfigured time slot resources with different data transmission time intervals corresponding to the above three ONUs.

[0075] In a possible implementation, the method for allocating uplink time slot resources provided by the embodiment of the present disclosure may also include: in response to the condition that the first ONU successfully registers and goes online, releasing the first pre-configured time slot resources of the first ONU, and the first pre-configured time slot resources of the first ONU are used for other ONUs that go online after the first ONU to register and go online or transmit related data.

[0076] Exemplarily, after the first ONU successfully goes online, the second ONU is to be online, then the first pre-configured time slot resource for the first ONU to register online can be released for the second ONU to register online. Alternatively, the first pre-configured time slot resource for the first ONU to register online can be used for the second ONU to transmit related data. It should be noted that when the first pre-configured time slot resource for the first ONU to register online is released and used for the second ONU to register online, it is necessary to reallocate the registration authentication resource corresponding to the second ONU for the first pre-configured time slot resource for the first ONU to register online.

[0077] In some embodiments, the uplink time slot resource allocation method provided by the embodiment of the present disclosure may also include: when the second ONU needs to go online, determining whether the currently unallocated first preconfigured time slot resources and the second preconfigured time slot resources meet the business needs of the second ONU, the second ONU being an ONU other than the first ONU; if the business needs of the second ONU are met, allocating the first preconfigured time slot resources of the registered windowing service type to the second ONU; if the needs of the second ONU are not met, refusing the second ONU to go online at the PON port where the current first preconfigured time slot resources and the second preconfigured time slot resources are located.

[0078] Exemplarily, when the second ONU goes online, it is necessary to allocate the corresponding first pre-configured time slot resource for the second ONU to register and go online. And after the second ONU successfully goes online, it is also necessary to allocate the corresponding second pre-configured time slot resource for the second ONU to transmit data. However, the number of time slots included in each PON port is limited. Therefore, when the second ONU needs to be capped, it is determined whether the first pre-configured time slot resource and the second pre-configured time slot resource that are not currently allocated can meet the service requirements of the second ONU.

[0079] In a possible implementation, the second ONU needs to send data to the upstream direction once every 3 seconds after going online, but the currently unallocated second pre-configured time slot resources can only support the second ONU to send data once every 5 seconds, so the currently unallocated second time slot resources cannot meet the service requirements of the second ONU. Therefore, the second ONU cannot go online at the PON port where the current first pre-configured time slot resources and the second pre-configured time slot resources are located.

[0080] In another possible implementation, the second ONU needs to send data to the upstream direction once every 3 seconds after going online, and the currently unallocated first preconfigured time slot resources can support the second ONU to register and open the window, and the currently unallocated second preconfigured time slot resources can support the second ONU to perform data transmission once every 3 seconds. Therefore, the currently unallocated first preconfigured time slot resources and the second preconfigured time slot resources meet the service requirements of the second ONU, and the corresponding first preconfigured familiar resources can be allocated to the second ONU to enable the second ONU to go online.

[0081] The method provided by the embodiment of the present disclosure obtains the pre-configured time slot resources pre-configured for the first ONU from the uplink time slot resources to be allocated, and the pre-configured resources of the first ONU include the first pre-configured time slot resources for the first ONU to register and go online and the second pre-configured time slot resources for the first ONU to transmit related data. Therefore, the embodiment of the present disclosure can ensure that the first ONU will not occupy the fixed time slots of the uplink transmission direction of other online ONUs when registering and transmitting data, avoiding the generation of large delays and jitters for the uplink data transmission of the online ONUs in the PON network, thereby improving the certainty and reliability of the uplink data transmission of the PON network.

[0082] In some embodiments, a process of uplink time slot resource allocation may be as follows: Figure 3 As shown. For example, Figure 3 The three ONUs shown in the figure are in the stage of sending uplink data normally, that is, ONU (optical network unit) 1, ONU 2 and ONU 3 are sending uplink data respectively. When no new registration window is generated, the three ONUs carrying different services can occupy different uplink time slot resources in N-1 frame, N frame and N+1 frame to transmit data in the uplink direction. At this time, the delay jitter generated by ONU 1, ONU 2 and ONU 3 transmitting data is relatively stable.

[0083] At this time, the currently allocated time slot resources can be pre-configured according to the network expansion demand data and / or the registration window opening demand data. Figure 3 As shown, a plurality of currently unallocated time slot resources are pre-configured in the N-1 frame, the N frame, and the N+1 frame.

[0084] When the OLT inserts the registration window, Figure 3 As shown in the figure, when ONU 4 needs to go online, the OLT directly uses a first pre-configured time slot resource in the N+1th frame to register and open windows for ONU 4, and will not occupy the time slot resources used by ONU 1, ONU 2 and ONU 3 to perform corresponding services. Therefore, the registration and windowing of ONU 4 will not affect the delay jitter generated by the data transmission of ONU 1, ONU 2 and ONU 3.

[0085] Afterwards, when ONU 4 successfully goes online, ONU 4 can transmit uplink data through the second preconfigured time slot resources preconfigured for the data transmission service corresponding to ONU 4. Therefore, ONU 4 performs related data transmission without affecting the delay jitter generated by data transmission of ONU 1, ONU 2 and ONU 3.

[0086] In an exemplary embodiment, an uplink time slot resource allocation system may be as follows: Figure 4As shown. Figure 4 In the embodiment, the uplink time slot resource allocation system may include a network resource planning module, an ONU registration and authentication module, and an uplink time slot resource allocation module.

[0087] In some embodiments, the network resource planning module can be used to determine the type and quantity of services that require pre-configured time slot resources based on network capacity expansion demand data and / or registration window demand data fed back by operation and maintenance personnel or a production management system.

[0088] The ONU registration and authentication module can be used to pre-configure corresponding registration and authentication resources according to the type of service that needs to pre-configure time slot resources determined by the network resource planning module.

[0089] The uplink time slot resource allocation module can be used to pre-configure currently unallocated empty time slots according to the type and quantity of services that need to pre-configure time slot resources determined by the above network resource planning module, and obtain corresponding first pre-configured time slot resources and second pre-configured time slot resources. Pre-configuring the corresponding first pre-configured time slot resources and second pre-configured time slot resources includes pre-configuring the corresponding number and sequence of time slots for each service.

[0090] The ONU registration and authentication module can be used to determine the service type corresponding to the first ONU when the first ONU needs to go online, and allocate the corresponding first pre-configured time slot resources to the first ONU. And after the first ONU goes online, the corresponding second pre-configured time slot resources are allocated to the first ONU. And, when a second ONU needs to go online later, the ONU registration and authentication module can be used to determine whether the currently unallocated first pre-configured time slot resources and the second pre-configured time slot resources meet the service requirements of the second ONU. If the requirements are not met, feedback is given to the network resource planning module to stop adding new ONUs to go online under the PON port.

[0091] In some embodiments, a method based on Figure 4 The method for allocating uplink time slot resources by the uplink time slot resource allocation system shown in FIG. Figure 5 shown.

[0092] S502: The network resource planning module determines the type and quantity of services that require pre-configured time slot resources according to the network capacity expansion demand data and / or the registration windowing demand data.

[0093] S504, the ONU registration windowing module pre-configures corresponding registration authentication resources according to the type of service that needs to be pre-configured with time slot resources as determined by the network resource planning module.

[0094] S506, the uplink time slot resource allocation module pre-configures currently unallocated empty time slots according to the types and quantities of services that need to be pre-configured time slot resources determined by the network resource planning module.

[0095] Exemplarily, the currently unallocated empty time slots are preconfigured, and the obtained preconfigured time slot resources include a first preconfigured time slot resource for registration windowing, and a second preconfigured time slot resource corresponding to each data transmission service type, such as Figure 5 As shown, the various data transmission service types include data transmission service A and data transmission service B.

[0096] S508, when it is monitored that the first ONU is online, a first pre-configured time slot resource is allocated to the first ONU, and the first pre-configured time slot resource is used for the first ONU to register and go online.

[0097] S510, determine the service type of the first ONU, and allocate corresponding second pre-configured time slot resources to the first ONU, where the second pre-configured time slot resources are used by the first ONU to transmit relevant data.

[0098] S512, when the second ONU needs to go online, determine whether the currently unallocated first pre-configured time slot resources and the second pre-configured time slot resources meet the service requirements of the second ONU. If not, refuse the second ONU to go online at the PON port where the current first pre-configured time slot resources and the second pre-configured time slot resources are located.

[0099] It should be noted that Figure 5 The implementation of each step in can be found in the above Figure 2 The description of the corresponding embodiments will not be repeated here.

[0100] Based on the same inventive concept, an uplink time slot resource allocation device is also provided in the embodiment of the present disclosure, as described in the following embodiment. Since the principle of solving the problem in the embodiment of the device is similar to that in the above method embodiment, the implementation of the embodiment of the device can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0101] Figure 6 A schematic diagram of an uplink time slot resource allocation device in an embodiment of the present disclosure is shown. Figure 6 As shown, the device comprises:

[0102] The pre-configured time slot resource acquisition module 601 is used to acquire the pre-configured time slot resources of the first ONU, wherein the pre-configured time slot resources of the first ONU are time slot resources pre-configured for the first ONU from the uplink time slot resources to be allocated, and the pre-configured time slot resources include: a first pre-configured time slot resource of a registration windowing service type and a second pre-configured time slot resource of a data transmission service type;

[0103] A first pre-configured time slot resource allocation module 602 is used to allocate a first pre-configured time slot resource to the first ONU when monitoring that the first ONU is online, and the first pre-configured time slot resource is used for the first ONU to register and go online;

[0104] The second pre-configured time slot resource allocation module 603 is used to allocate a second pre-configured time slot resource to the first ONU in response to the condition that the first ONU successfully registers and goes online, and the second pre-configured time slot resource is used for the first ONU to transmit related data.

[0105] In some embodiments of the present disclosure, the pre-configured time slot resource acquisition module 601 is used to obtain network expansion demand data and / or registration windowing demand data; determine the type and quantity of services that need to pre-configure time slot resources based on the network expansion demand data and / or registration windowing demand data, and the services that need to pre-configure time slot resources include the registration windowing service of the first ONU and the data transmission service of the first ONU; pre-configure the uplink time slot resources to be allocated based on the type and quantity of services that need to pre-configure time slot resources to obtain the pre-configured time slot resources of the first ONU.

[0106] In some embodiments of the present disclosure, the time slots included in the uplink time slot resources to be allocated are all empty time slots to which no services are currently allocated.

[0107] In some embodiments of the present disclosure, the pre-configured time slot resource acquisition module 601 is used to allocate corresponding registration and authentication resources to the first pre-configured time slot resource in the pre-configured time slot resources of the first ONU, and the registration and authentication resources are used for the first ONU to register and go online.

[0108] In some embodiments of the present disclosure, the preconfigured time slot resource acquisition module 601 is used to acquire preconfigured time slot resources of multiple ONUs including the preconfigured time slot resources of the first ONU, wherein the preconfigured time slot resources of the multiple ONUs include multiple second preconfigured time slot resources with different data transmission time intervals;

[0109] The second pre-configured time slot resource allocation module 603 is used to determine the data transmission time interval of the first ONU; and allocate the second pre-configured time slot resource corresponding to the data transmission time interval to the first ONU according to the data transmission time interval of the first ONU.

[0110] In some embodiments of the present disclosure, the uplink time slot resource allocation device provided by the embodiments of the present disclosure further includes: a judgment module, which is used to determine whether the currently unallocated first pre-configured time slot resources and the second pre-configured time slot resources meet the service requirements of the second ONU when the second ONU needs to go online, and the second ONU is an ONU other than the first ONU;

[0111] The first pre-configured time slot resource allocation module 602 is also used to allocate the first pre-configured time slot resource of the registration window service type to the second ONU if the service requirements of the second ONU are met; if the requirements of the second ONU are not met, the second ONU is denied to go online at the PON port where the current first pre-configured time slot resource and the second pre-configured time slot resource are located.

[0112] In some embodiments of the present disclosure, the pre-configured time slot resource acquisition module 601 is also used to release the first pre-configured time slot resources of the first ONU in response to the condition that the first ONU successfully registers and goes online. The first pre-configured time slot resources of the first ONU are used for other ONUs that go online after the first ONU to register and go online or transmit related data.

[0113] The device provided by the embodiment of the present disclosure obtains the pre-configured time slot resources pre-configured for the first ONU from the uplink time slot resources to be allocated, and the pre-configured resources of the first ONU include the first pre-configured time slot resources for the first ONU to register and go online and the second pre-configured time slot resources for the first ONU to transmit related data. Therefore, the embodiment of the present disclosure can ensure that the first ONU will not occupy the fixed time slots of the uplink transmission direction of other online ONUs when registering and transmitting data, avoiding the generation of large delays and jitters for the uplink data transmission of the online ONUs in the PON network, thereby improving the certainty and reliability of the uplink data transmission of the PON network.

[0114] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0115] Refer to the following Figure 7 An electronic device 700 according to this embodiment of the present disclosure is described. Figure 7 The electronic device 700 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0116] like Figure 7 As shown, the electronic device 700 is in the form of a general computing device. The components of the electronic device 700 may include but are not limited to: at least one processing unit 710, at least one storage unit 720, and a bus 730 connecting different system components (including the storage unit 720 and the processing unit 710).

[0117] The storage unit stores program code, which can be executed by the processing unit 710, so that the processing unit 710 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Specific Implementation Methods” section of this specification.

[0118] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 7201 and / or a cache storage unit 7202 , and may further include a read-only storage unit (ROM) 7203 .

[0119] The storage unit 720 may also include a program / utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0120] Bus 730 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0121] The electronic device 700 may also communicate with one or more external devices 740 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 700, and / or communicate with any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 750. Furthermore, the electronic device 700 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 760. As shown, the network adapter 760 communicates with other modules of the electronic device 700 via a bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0122] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0123] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes any of the above-mentioned methods for sending inactive security configuration information.

[0124] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, which may be a readable signal medium or a readable storage medium. A program product capable of implementing the above-mentioned method of the present disclosure is stored thereon. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above “Specific Implementation Methods” section of this specification.

[0125] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0126] In the present disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0127] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0128] In a specific implementation, the program code for performing the operation of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0129] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0130] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0131] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0132] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The description and examples are to be regarded as exemplary only, and the true scope of the present disclosure is indicated by the appended claims.

Claims

1. A method for allocating uplink time slot resources, characterized in that: include: Determine the type and quantity of services that require pre-configured time slot resources based on network expansion demand data and / or registration windowing demand data; According to the type and quantity of the services that need to pre-configure time slot resources, pre-configure the uplink time slot resources to be allocated, and obtain the pre-configured time slot resources of the first optical network unit ONU, wherein the pre-configured time slot resources of the first ONU are time slot resources pre-configured for the first ONU from the uplink time slot resources to be allocated, and the pre-configured time slot resources include: a first pre-configured time slot resource of a registration windowing service type and a second pre-configured time slot resource of a data transmission service type; When monitoring that the first ONU is online, allocating a first pre-configured time slot resource to the first ONU, where the first pre-configured time slot resource is used for the first ONU to register and go online; In response to the condition that the first ONU successfully registers and goes online, the second pre-configured time slot resources are allocated to the first ONU, and the second pre-configured time slot resources are used by the first ONU to transmit relevant data.

2. The uplink time slot resource allocation method according to claim 1, characterized in that: Before obtaining the pre-configured time slot resources of the first ONU, the method further includes: Obtain network expansion demand data and / or registration window opening demand data; Determine the type and quantity of services that need to pre-configure time slot resources according to the network expansion demand data and / or the registration windowing demand data, wherein the services that need to pre-configure time slot resources include the registration windowing service of the first ONU and the data transmission service of the first ONU; According to the type and quantity of the services that need to pre-configure time slot resources, the uplink time slot resources to be allocated are pre-configured to obtain the pre-configured time slot resources of the first ONU.

3. The uplink time slot resource allocation method according to any one of claims 1 or 2, characterized in that: The time slots included in the uplink time slot resources to be allocated are all empty time slots that are not currently allocated services.

4. The uplink time slot resource allocation method according to claim 2, characterized in that: The preconfiguring the uplink time slot resources to be allocated according to the type and quantity of the services that need to preconfigure time slot resources to obtain the preconfigured time slot resources of the first ONU includes: Corresponding registration and authentication resources are allocated to the first preconfigured time slot resources of the first ONU, and the registration and authentication resources are used for the first ONU to register and go online.

5. The uplink time slot resource allocation method according to any one of claims 1 or 2, characterized in that: The obtaining of the pre-configured time slot resource of the first ONU includes: Acquire preconfigured time slot resources of multiple ONUs including the preconfigured time slot resources of the first ONU, wherein the preconfigured time slot resources of the multiple ONUs include multiple second preconfigured time slot resources with different data transmission time intervals; Wherein, allocating the second preconfigured time slot resource to the first ONU includes: Determine a data transmission time interval of the first ONU; According to the data transmission time interval of the first ONU, a second preconfigured time slot resource corresponding to the data transmission time interval is allocated to the first ONU.

6. The uplink time slot resource allocation method according to claim 1, characterized in that: The method further comprises: When the second ONU needs to go online, determine whether the currently unallocated first pre-configured time slot resources and the second pre-configured time slot resources meet the service requirements of the second ONU, where the second ONU is an ONU other than the first ONU; If the service requirements of the second ONU are met, the first pre-configured time slot resources of the registered window service type are allocated to the second ONU; if the requirements of the second ONU are not met, the second ONU is denied to go online at the passive optical fiber network PON port where the current first pre-configured time slot resources and the second pre-configured time slot resources are located.

7. The uplink time slot resource allocation method according to claim 1, characterized in that: The method further comprises: In response to the condition that the first ONU successfully registers and goes online, the first pre-configured time slot resources of the first ONU are released, and the first pre-configured time slot resources of the first ONU are used for other ONUs that go online after the first ONU to register and go online or transmit related data.

8. An uplink time slot resource allocation device, characterized in that: include: A pre-configured time slot resource acquisition module is used to determine the type and quantity of services that need to pre-configure time slot resources according to network expansion demand data and / or registration windowing demand data; pre-configure the uplink time slot resources to be allocated according to the type and quantity of services that need to pre-configure time slot resources, and acquire the pre-configured time slot resources of the first optical network unit ONU, wherein the pre-configured time slot resources of the first ONU are time slot resources pre-configured for the first ONU from the uplink time slot resources to be allocated, and the pre-configured time slot resources include: a first pre-configured time slot resource of the registration windowing service type and a second pre-configured time slot resource of the data transmission service type; A first pre-configured time slot resource allocation module is used to allocate a first pre-configured time slot resource to the first ONU when the first ONU is monitored to be online, and the first pre-configured time slot resource is used for the first ONU to register and go online; The second pre-configured time slot resource allocation module is used to allocate the second pre-configured time slot resource to the first ONU in response to the condition that the first ONU successfully registers and goes online, and the second pre-configured time slot resource is used for the first ONU to transmit related data.

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the uplink time slot resource allocation method according to any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the uplink time slot resource allocation method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and system for putting network unit of passive optical network online, equipment and storage medium

    CN113993011A