Time slot allocation method and device for optical access network
By dynamically updating the transmission time slot of the user -side device in the network in the network in the network, the problem of the period of time distribution cycle due to the large amount of data transmission data is changed due to the large amount of data transmission. Meeting and cache overflow decrease.
Patent Information
- Application Number
- CN202310931553.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-27
- Publication Date
- 2025-01-28
AI Technical Summary
When the spectroscopy scheme of the existing optical access network is allocated in time slots, a large amount of data transmission of a certain ONU leads to a longer time slot allocation period, which leads to a large delay in data transmission of other ONU devices, which may lead to cache overflow problems.
Put forward a time slot distribution method for light connection to the network. By receiving the bandwidth demand value of the user -side device, obtain the non -occupied time slot, and dynamically update the transmission time slot occupied by the user -side device in each sub -cycle to ensure the ensuring The transmission requirements of the user -side device are met during the current time slot distribution cycle.
Effectively reduce the cache overflow of user -side equipment, improve the efficiency of the time slot distribution, and enable the transmission needs of user -side devices to meet in a timely manner.
Smart Images

Figure CN119383496A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method and device for allocating time slots in an optical access network. Background Art
[0002] In the context of optical fiber replacing copper, optical access networks are developing rapidly. At present, the devices in the traditional Ethernet all-optical network adopt a one-to-one connection mode. For example, see Figure 1 , is a schematic diagram of the architecture of a traditional Ethernet all-optical network. Figure 1 As shown, an optical line terminal (OLT) deployed at the local end can only access one optical network unit (ONU) device, and cannot achieve optical splitting. The existing optical splitting solution needs to be implemented based on the Ethernet Passive Optical Network (EPON) chip or the Gigabit-Capable Passive Optical Network (GPON) chip. However, in the optical splitting solution currently implemented based on the EPON or GPON protocol, when the OLT allocates time slots for each ONU to transmit data, it will determine the transmission time slot of each ONU based on the collected bandwidth requirements and bandwidth configuration of each ONU, and the transmission time slots of all ONUs constitute a time slot allocation cycle. In any time slot allocation cycle, each ONU transmits data in the occupied time slot. After the end of the time slot allocation cycle, the OLT will start again to collect the bandwidth requirements of each ONU and re-allocate the time slot. It can be seen that when an ONU transmits a large amount of data and occupies more time slots, the time slot allocation cycle will be longer, resulting in a longer delay in data transmission for other ONU devices. The long delay will cause the traffic of other user-end devices in this extended time slot allocation cycle to exceed the cache capacity of their own devices, and the user-end devices will have a cache overflow problem. Summary of the invention
[0003] The present application provides a time slot allocation method and device for an optical access network, which are used to reduce the problem of device buffer overflow caused by the current splitting solution.
[0004] In a first aspect, the present application proposes a time slot allocation method for an optical access network, the method being applied to a central office device, the method comprising:
[0005] receiving a first bandwidth requirement value from a first user terminal device; the first bandwidth requirement value is sent by the first user terminal device when it is determined that the allocated bandwidth is less than the bandwidth required for transmitting data, and the difference between the allocated bandwidth and the bandwidth required for transmitting data is greater than a set threshold;
[0006] Obtaining unoccupied time slots in each sub-period included in a first time slot allocation period; wherein the first time slot allocation period is any one of a plurality of time slot allocation periods of equal duration;
[0007] updating the transmission time slot occupied by the first user terminal device in each sub-period according to the first bandwidth requirement value and the unoccupied time slot;
[0008] Sending the updated transmission time slot to the first user terminal equipment.
[0009] In some embodiments, updating the transmission time slot occupied by the first user terminal device in each sub-period according to the first bandwidth requirement value and the unoccupied time slot includes:
[0010] Obtaining a second bandwidth requirement value reported by the first user terminal device at a first historical moment; the first moment is a moment before the start of a first time slot allocation cycle; the second bandwidth requirement value is used to determine a transmission time slot occupied by the first user terminal device in each sub-period included in the first time slot allocation cycle; the second bandwidth requirement value is less than the first bandwidth requirement value, and the difference between the first bandwidth requirement value and the second bandwidth requirement value is not less than the preset value;
[0011] Allocating an additional time slot for the first user terminal device from unoccupied time slots included in each sub-period according to a difference between the first bandwidth requirement value and the second bandwidth requirement value;
[0012] The transmission time slot occupied by the first user terminal equipment in each sub-period is updated according to the additional time slot.
[0013] Based on the above scheme, when allocating additional time slots for user-side devices, the difference between the demand value reported in the current cycle and the demand value reported before the start of the current cycle is used to determine the additional bandwidth required by the user, and then the additional time slots that need to be allocated are determined based on the required additional bandwidth, so that the additionally allocated time slots can accurately match the current data transmission needs of the user side, and there will be no problem of bandwidth waste or the user side's needs still not being met.
[0014] In some embodiments, the first time is located in any one of a plurality of transmission time slots allocated to the first user terminal device in a second time slot allocation period, wherein the second time slot allocation period is a time slot allocation period before the first time slot allocation period.
[0015] Based on the above solution, the user terminal device can report its own demand in any transmission time slot of the previous cycle, so that the central office device can allocate the transmission time slot of the current cycle to the user terminal device according to the received demand value.
[0016] In some embodiments, the first time instant is located in a last transmission time slot included in the plurality of transmission time slots.
[0017] Based on the above scheme, the present application proposes setting the first user terminal device to report the bandwidth demand in the last transmission time slot occupied in the previous cycle, which can avoid the problem that the amount of data to be transmitted changes after the demand is reported in the previous transmission time slot, causing the first user terminal device to need to re-report the bandwidth demand.
[0018] In some embodiments, before obtaining the second bandwidth requirement value, the method further includes:
[0019] Receive a third bandwidth requirement value reported by the first user terminal device before the start of a second time slot allocation period; the second time slot allocation period is a time slot allocation period before the first time slot allocation period; wherein the second bandwidth requirement value is less than the third bandwidth requirement value and the difference between the second bandwidth requirement value and the third bandwidth requirement value is not less than a preset value, or the second bandwidth requirement value is greater than the third bandwidth requirement value and the difference between the second bandwidth requirement value and the third bandwidth requirement value is less than the preset value;
[0020] The transmission time slot occupied by the first user terminal equipment in each sub-period included in the second time slot allocation period is determined according to the third bandwidth requirement value.
[0021] Based on the above scheme, the present application proposes to dynamically adjust the time interval for the user end to report the bandwidth demand value. If the bandwidth demand value of the current cycle becomes smaller than that of the previous cycle and the degree of change is not large, the bandwidth demand can be not reported, thereby reducing the computing resources consumed by the local equipment to calculate and allocate transmission time slots.
[0022] In some embodiments, allocating an additional time slot to the first user terminal device from unoccupied time slots included in each sub-period according to the difference between the first bandwidth requirement value and the second bandwidth requirement value includes:
[0023] Determining additional bandwidth required by the first user terminal device according to a difference between the first bandwidth requirement value and the second bandwidth requirement value;
[0024] Determine the portion of bandwidth borne by each sub-period in combination with the number of sub-periods included in the first time slot allocation period and the additional bandwidth;
[0025] According to the portion of bandwidth undertaken by each sub-period and the bandwidth corresponding to each time slot in the unoccupied time slots, additional time slots are allocated to the first user terminal device from the unoccupied time slots.
[0026] The present application proposes to divide the additional time slots allocated to the first user terminal device into multiple sub-periods, so that the first user terminal device can transmit data multiple times in a cycle within the current time slot allocation period. Based on this solution, even if the amount of data transmitted by the first user terminal device is large, this amount of data will be evenly divided into multiple sub-periods for transmission, and will not affect the transmission of data by other user terminal devices.
[0027] In some embodiments, obtaining unoccupied time slots in each sub-period included in the first time slot allocation period includes:
[0028] Acquire a stored schedule of multiple time slot allocation cycles; wherein each of the time slot allocation cycle schedules includes a transmission time slot allocated to each user terminal device in each time slot allocation cycle;
[0029] Deleting expired schedules from the multiple schedules, and determining that among the remaining schedules, the schedule of the first time slot allocation period has an unoccupied time slot, and the interval between the end time of the first time slot allocation period and the time when the emergency bandwidth request is received is the shortest; wherein the expired schedule is a schedule that has been used up;
[0030] The unoccupied time slots in each of the sub-cycles are obtained from the schedule of the first time slot allocation cycle.
[0031] Based on the above scheme, the local end device will store each calculated schedule, so that when it is necessary to allocate additional time slots for the first user end device, it can directly obtain the stored non-expired schedule to determine the additional time slots that need to be allocated, thereby improving the efficiency of allocating additional time slots, so that the needs of the first user end device can be met in a very short time.
[0032] In a second aspect, the present application proposes another method for allocating time slots in an optical access network, the method being applied to a first user terminal device, the method comprising:
[0033] During data transmission in the first time slot allocation period, when it is determined that the allocated bandwidth is less than the bandwidth required for data transmission, and the difference between the allocated bandwidth and the bandwidth required for data transmission is greater than a set threshold, a first bandwidth requirement value is sent to the central office device;
[0034] Receive an updated transmission time slot sent by the central office device; the updated transmission time slot is determined by the central office device according to the first bandwidth requirement value and unoccupied time slots in each sub-period included in the first time slot allocation period.
[0035] In some embodiments, before sending the first bandwidth requirement value, the method further includes:
[0036] Before the first time slot allocation cycle starts, reporting a second bandwidth requirement value to the central office device; the second bandwidth requirement value is less than the first bandwidth requirement value, and the difference between the first bandwidth requirement value and the second bandwidth requirement value is not less than the preset value;
[0037] Receive the transmission time slot occupied by the first user terminal equipment in each sub-period included in the first time slot allocation period, which is sent by the central office equipment.
[0038] In some embodiments, before sending the second bandwidth requirement value to the central office device, the method further includes:
[0039] Acquire a third bandwidth requirement value reported at a second historical moment; the second moment is a moment before a second time slot allocation period begins, and the second time slot allocation period is a time slot allocation period before the first time slot allocation period;
[0040] Determine that the second bandwidth requirement value is less than the third bandwidth requirement value, and the difference between the second bandwidth requirement value and the third bandwidth requirement value is greater than a preset value; or,
[0041] It is determined that the second bandwidth requirement value is greater than the third bandwidth requirement value, and a difference between the second bandwidth requirement value and the third bandwidth requirement value is less than the preset value.
[0042] In a third aspect, the present application proposes a time slot allocation device for an optical access network, the device being a central office device, or the device being applied to the central office device, the device comprising:
[0043] A communication unit, configured to receive a first bandwidth requirement value from a first user terminal device; the first bandwidth requirement value is sent by the first user terminal device when it is determined that the allocated bandwidth is less than the bandwidth required for transmitting data, and the difference between the allocated bandwidth and the bandwidth required for transmitting data is greater than a set threshold;
[0044] A processing unit, configured to obtain unoccupied time slots in each sub-period included in the first time slot allocation period;
[0045] The processing unit is further configured to update the transmission time slot occupied by the first user terminal device in each sub-period according to the first bandwidth requirement value and the unoccupied time slot;
[0046] The communication unit is further used to send an updated transmission time slot to the first user terminal device.
[0047] In some embodiments, the processing unit is specifically configured to:
[0048] Obtaining a second bandwidth requirement value reported by the first user terminal device at a first historical moment; the first moment is a moment before the start of a first time slot allocation cycle; the second bandwidth requirement value is used to determine a transmission time slot occupied by the first user terminal device in each sub-period included in the first time slot allocation cycle; the second bandwidth requirement value is less than the first bandwidth requirement value, and the difference between the first bandwidth requirement value and the second bandwidth requirement value is not less than the preset value;
[0049] Allocating an additional time slot for the first user terminal device from unoccupied time slots included in each sub-period according to a difference between the first bandwidth requirement value and the second bandwidth requirement value;
[0050] The transmission time slot occupied by the first user terminal equipment in each sub-period is updated according to the additional time slot.
[0051] In some embodiments, before obtaining the second bandwidth requirement value, the processing unit is further configured to:
[0052] Receiving, by the communication unit, a third bandwidth requirement value reported by the first user terminal device before the start of a second time slot allocation period; the second time slot allocation period is a time slot allocation period before the first time slot allocation period; wherein the second bandwidth requirement value is less than the third bandwidth requirement value and the difference between the second bandwidth requirement value and the third bandwidth requirement value is not less than a preset value, or the second bandwidth requirement value is greater than the third bandwidth requirement value and the difference between the second bandwidth requirement value and the third bandwidth requirement value is less than the preset value;
[0053] The transmission time slot occupied by the first user terminal equipment in each sub-period included in the second time slot allocation period is determined according to the third bandwidth requirement value.
[0054] In some embodiments, the processing unit is specifically configured to:
[0055] Determining additional bandwidth required by the first user terminal device according to a difference between the first bandwidth requirement value and the second bandwidth requirement value;
[0056] Determine the portion of bandwidth borne by each sub-period in combination with the number of sub-periods included in the first time slot allocation period and the additional bandwidth;
[0057] According to the portion of bandwidth undertaken by each sub-period and the bandwidth corresponding to each time slot in the unoccupied time slots, additional time slots are allocated to the first user terminal device from the unoccupied time slots.
[0058] In some embodiments, the processing unit is specifically configured to:
[0059] Acquire a stored schedule of multiple time slot allocation cycles; wherein each of the time slot allocation cycle schedules includes a transmission time slot allocated to each user terminal device in each time slot allocation cycle;
[0060] Deleting expired schedules from the multiple schedules, and determining that among the remaining schedules, the schedule of the first time slot allocation period has an unoccupied time slot, and the interval between the end time of the first time slot allocation period and the time when the emergency bandwidth request is received is the shortest; wherein the expired schedule is a schedule that has been used up;
[0061] The unoccupied time slots in each of the sub-cycles are obtained from the schedule of the first time slot allocation cycle.
[0062] In a fourth aspect, the present application proposes another time slot allocation device for an optical access network, the device is a first user terminal device, or the device is applied to the first user terminal device, and the device includes:
[0063] a processing unit, configured to, during data transmission in the first time slot allocation period, instruct the communication unit to send a first bandwidth requirement value to the central office device when it is determined that the allocated bandwidth is less than the bandwidth required for data transmission and the difference between the allocated bandwidth and the bandwidth required for data transmission is greater than a set threshold;
[0064] The communication unit is used to receive the updated transmission time slot sent by the central office device; the updated transmission time slot is determined by the central office device according to the first bandwidth requirement value and the unoccupied time slots in each sub-cycle included in the first time slot allocation cycle.
[0065] In some embodiments, before sending the first bandwidth requirement value, the communication unit is further configured to:
[0066] Before the first time slot allocation cycle starts, reporting a second bandwidth requirement value to the central office device; the second bandwidth requirement value is less than the first bandwidth requirement value, and the difference between the first bandwidth requirement value and the second bandwidth requirement value is not less than the preset value;
[0067] Receive the transmission time slot occupied by the first user terminal equipment in each sub-period included in the first time slot allocation period, which is sent by the central office equipment.
[0068] In some embodiments, the processing unit is further configured to:
[0069] Acquire a third bandwidth requirement value reported at a second historical moment; the second moment is a moment before a second time slot allocation period begins, and the second time slot allocation period is a time slot allocation period before the first time slot allocation period;
[0070] Determine that the second bandwidth requirement value is less than the third bandwidth requirement value, and the difference between the second bandwidth requirement value and the third bandwidth requirement value is greater than a preset value; or,
[0071] It is determined that the second bandwidth requirement value is greater than the third bandwidth requirement value, and a difference between the second bandwidth requirement value and the third bandwidth requirement value is less than the preset value.
[0072] In a fifth aspect, the present application proposes a time slot allocation system for an optical access network, the system comprising a central office device and a plurality of user end devices,
[0073] A first user terminal device, used for sending a first bandwidth requirement value to the central office device during data transmission within a first time slot allocation period when it is determined that the allocated bandwidth is less than the bandwidth required for data transmission and the difference between the allocated bandwidth and the bandwidth required for data transmission is greater than a set threshold; wherein the first user terminal device is any one of the plurality of user terminal devices;
[0074] The central office device is configured to receive the first bandwidth requirement value, obtain unoccupied time slots in each sub-period included in the first time slot allocation period; update the transmission time slots occupied by the first user terminal device in each sub-period according to the first bandwidth requirement value and the unoccupied time slots, and send the updated transmission time slots to the first user terminal device;
[0075] The first user terminal device is also used to receive the updated transmission time slot sent by the central office device.
[0076] In some embodiments, the first user terminal device is further used to report a second bandwidth requirement value to the central office device before the first time slot allocation cycle starts; the second bandwidth requirement value is less than the first bandwidth requirement value, and the difference between the first bandwidth requirement value and the second bandwidth requirement value is not less than the preset value;
[0077] The central office device is further configured to determine, according to the second bandwidth requirement value, a transmission time slot occupied by the first user terminal device in each sub-period included in the first time slot allocation period, and send the determined transmission time slot to the first user terminal device;
[0078] The first user terminal device is further used to receive the transmission time slot occupied by the first user terminal device in each sub-period included in the first time slot allocation period, which is sent by the central office device.
[0079] In some embodiments, the central office device, when updating the transmission time slot occupied by the first user terminal device in each sub-period, is specifically configured to:
[0080] Allocating an additional time slot for the first user terminal device from unoccupied time slots included in each sub-period according to a difference between the first bandwidth requirement value and the second bandwidth requirement value;
[0081] The transmission time slot occupied by the first user terminal equipment in each sub-period is updated according to the additional time slot.
[0082] In some embodiments, the central office device, when allocating an additional time slot to the first user terminal device from the unoccupied time slots included in each sub-period according to the difference between the first bandwidth requirement value and the second bandwidth requirement value, is specifically configured to:
[0083] Determining additional bandwidth required by the first user terminal device according to a difference between the first bandwidth requirement value and the second bandwidth requirement value;
[0084] Determine the portion of bandwidth borne by each sub-period in combination with the number of sub-periods included in the first time slot allocation period and the additional bandwidth;
[0085] According to the portion of bandwidth undertaken by each sub-period and the bandwidth corresponding to each time slot in the unoccupied time slots, additional time slots are allocated to the first user terminal device from the unoccupied time slots.
[0086] In some embodiments, the first user terminal device is further used to report a third bandwidth requirement value to the central office device before the start of a second time slot allocation period; the second time slot allocation period is a time slot allocation period before the first time slot allocation period; wherein the second bandwidth requirement value is less than the third bandwidth requirement value and the difference between the second bandwidth requirement value and the third bandwidth requirement value is not less than a preset value, or the second bandwidth requirement value is greater than the third bandwidth requirement value and the difference between the second bandwidth requirement value and the third bandwidth requirement value is less than the preset value;
[0087] The central office device is further configured to determine, according to the third bandwidth requirement value, a transmission time slot occupied by the first user terminal device in each sub-period included in the second time slot allocation period.
[0088] In a sixth aspect, an electronic device is provided, the electronic device comprising a controller and a memory. The memory is used to store computer-executable instructions, and the controller executes the computer-executable instructions in the memory to use hardware resources in the controller to perform the operation steps of any possible implementation method of the first aspect or the second aspect.
[0089] In a seventh aspect, a computer-readable storage medium is provided, in which instructions are stored, and when the computer-readable storage medium is run on a computer, the computer executes the methods in the above aspects.
[0090] Based on the above scheme, the present application proposes that before the end of a time slot allocation cycle, if the amount of data transmitted by a user-end device increases, it can request additional time slots from the central office device. The central office device will determine the additional time slots allocated to the user-end device from the unallocated time slots in the current time slot allocation cycle according to the request of the user-end device, so that the transmission needs of the user-end device can be met within the current time slot allocation cycle. Compared with the traditional scheme in which the user-end device needs to wait for the next time slot allocation cycle to request more time slots, the scheme of the present application can enable the transmission needs of the user-end device to be met in a timely manner, reducing the situation of buffer overflow of the user-end device. BRIEF DESCRIPTION OF THE DRAWINGS
[0091] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0092] Figure 1 A schematic diagram of the architecture of a traditional Ethernet all-optical network;
[0093] Figure 2 A schematic diagram of the optical splitting system architecture based on EPON chip;
[0094] Figure 3 It is a schematic diagram of the architecture of a light splitting system based on FPGA;
[0095] Figure 4 A schematic diagram of the architecture of a light splitting system provided in an embodiment of the present application;
[0096] Figure 5 A flow chart of a periodic time slot allocation method provided in an embodiment of the present application;
[0097] Figure 6 A schematic diagram of a time slot allocation cycle provided in an embodiment of the present application;
[0098] Figure 7 A schematic diagram of a sub-cycle provided in an embodiment of the present application;
[0099] Figure 8 A schematic diagram of a data transmission scenario provided in an embodiment of the present application;
[0100] Fig. 9 A schematic diagram of a data transmission process provided by an embodiment of the present application;
[0101] Fig.10 A schematic diagram of the time consumption of data transmission by a user terminal device provided in an embodiment of the present application;
[0102] Fig.11 A schematic diagram of another process of transmitting data by a user terminal device provided in an embodiment of the present application;
[0103] Fig.12 A flow chart of a time slot allocation method for an optical access network provided in an embodiment of the present application;
[0104] Fig.13 A schematic diagram of an updated sub-cycle provided in an embodiment of the present application;
[0105] Fig.14 A schematic diagram of the structure of a time slot allocation device for an optical access network provided in an embodiment of the present application;
[0106] Fig.15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0107] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solution of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present application.
[0108] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented using sequences other than those illustrated or described herein.
[0109] The traditional Ethernet all-optical network cannot achieve splitting, and the central office equipment (or also called OLT equipment) and the user end equipment (or also called ONU equipment) are in a one-to-one relationship. There are currently two conventional splitting solutions on the market. One is a splitting solution based on EPON or GPON, and the other is to program the Field-Programmable Gate Array (FPGA) chip so that the FPGA chip can implement the EPON or GPON protocol. The following is an introduction to these two conventional splitting solutions in conjunction with the attached drawings.
[0110] See also Figure 2 , is a schematic diagram of the optical splitting system architecture based on EPON / GPON chips. Figure 2 As shown, in the optical splitting system, a central office device can connect multiple user-end devices through an optical distribution network (ODN), and the central office uses a dynamic bandwidth allocation (DBA) method to allocate bandwidth to multiple user-end devices. In the DBA method, bandwidth allocation is periodic. In each cycle, the central office device will allocate time slots for transmission to each user-end device according to the bandwidth requirements reported by the user-end device and the bandwidth configuration of each time slot, until the bandwidth requirements of all user-end devices are met. In the actual allocation process, the central office device divides a cycle into multiple time slots, each time slot corresponds to a fixed bandwidth value, and then allocates transmission time slots to each user end according to the bandwidth requirements of each user end. For example, when user end A reports the bandwidth requirements, it can confirm the required bandwidth value according to the amount of data it needs to transmit. For example, if user end A determines that 100 bits of data are generated per second during operation, it can apply to the central office for a bandwidth of 100 bits / second (bit / s) for transmitting the data generated by itself. Furthermore, when the central office device receives the bandwidth requirement reported by user terminal A as 100 bit / s, it can obtain the bandwidth corresponding to each time slot configured by itself. For example, if the bandwidth of each time slot is 10 bit / s, 10 time slots can be allocated to user terminal A for data transmission. This method can allocate different transmission time slots to each user terminal device, ensuring that each user terminal device can transmit data in its own time slot without conflict.
[0111] However, since the central office equipment allocates transmission time slots to each user-end device based on the bandwidth requirements reported by each user-end device, when the amount of data to be transmitted by a certain user-end device is large, the number of time slots allocated by the central office equipment to it will also increase, resulting in a time slot allocation cycle being lengthened, which in turn causes a longer data transmission delay for other user-end devices. The long delay will cause the traffic of other user-end devices in this lengthened time slot allocation cycle to exceed the cache capacity of their own devices, and the user-end devices will have a cache overflow problem. At the same time, the lengthening of the time slot allocation cycle will also cause the bandwidth requirements of some user-end devices with a sharply increased amount of data to be transmitted to be unable to be met, exacerbating the problem of cache overflow in the user-end devices.
[0112] Moreover, in the scenario where a new user-end device is online, a time slot allocation cycle that is too long will also cause difficulty in getting the new user-end device online. It is known that in the EPON / GPON optical splitting solution, the central office device will broadcast a gate message at the end of each time slot allocation cycle. After receiving the gate message, the new user-end device will send its own media access control (MAC) address and other information to the central office device. The central office device will register the new user-end device based on the received information and complete the online process of the new user-end device. However, if the time slot allocation cycle is too long, the central office device will not be able to broadcast the gate message in time, and will not be able to discover the new user-end device waiting to go online in time, resulting in difficulty for the new user-end device to go online.
[0113] In addition, EPON uses the 8-byte / 10-byte (8B / 10B) encoding standard, which means that data is encoded in units of 8 bits to obtain 10-bit data. The original 8-bit data will become 10 bits after encoding, so 20% of the bandwidth needs to be used for fixed encoding overhead during the data encoding process, resulting in bandwidth loss.
[0114] See also Figure 3, is a schematic diagram of the architecture of a splitting system based on FPGA. Solution 2 is implemented by the hardware support layer of FPGA and the embedded processor in the chip. It requires the physical layer network card chip to support the splitting protocol and belongs to the MAC layer technology. In Solution 2, bandwidth allocation is performed periodically, but unlike the periodic reservation bandwidth allocation scheme implemented by the above-mentioned EPON chip, the FPGA chip will count the upstream traffic in the previous cycle and use the proportional weighted algorithm and bandwidth utilization adjustment algorithm to allocate bandwidth for the next cycle. Although this scheme can avoid the drawbacks of the EPON chip's non-fixed-cycle bandwidth allocation scheme, the traffic situation of the previous cycle has a lag, and the traffic situation of the previous cycle is affected by the previous bandwidth allocation strategy, so the traffic situation of the previous cycle cannot truly reflect the demand for the device's upstream traffic. Therefore, the bandwidth allocation strategy for the next cycle determined based on the traffic situation of the previous cycle is not accurate.
[0115] In summary, it can be seen that in the current splitting scheme, there are still great drawbacks in allocating bandwidth to user-end devices. In addition, in order to implement the splitting scheme, it is also necessary to configure EPON chips, GPON chips or FPGA chips, and the splitting cost is relatively high. Therefore, there is an urgent need for a splitting scheme suitable for traditional Ethernet chips. In view of this, the present application proposes a time slot allocation scheme for an optical access network, which uses time division multiplexing to allocate respective transmission time slots for multiple user-end devices. The scheme proposed in the present application is applied to traditional Ethernet chips using light as a transmission medium, and stable and efficient data transmission of each user-end device is achieved through Ethernet Layer 2 protocol message control. In the scheme of the present application, before the end of a time slot allocation cycle, if a user-end device transmits more data, it can request additional time slots from the central office device. The central office device will determine the additional time slots allocated to the user-end device from the unallocated time slots in the current time slot allocation cycle according to the request of the user-end device, so that the transmission requirements of the user-end device can be met within the current time slot allocation cycle. Compared with the traditional solution in which the user terminal device needs to wait for the next time slot allocation cycle to request more time slots, the solution of the present application can meet the transmission needs of the user terminal device in a timely manner and reduce the situation of user terminal device cache overflow.
[0116] In order to facilitate understanding of the time slot allocation scheme proposed in this application, the following first introduces the optical splitting system to which the scheme of this application is applicable. Figure 4 , is a schematic diagram of the architecture of a light splitting system provided in an embodiment of the present application. Figure 4As shown, the optical splitting system applicable to the present application includes an Ethernet central office device, multiple Ethernet user-end devices and an ODN. The Ethernet central office device is connected to multiple Ethernet user-end devices through the ODN. Among them, the ODN is mainly composed of three parts: a light source, an optical fiber and an optical signal receiver. The light source can be a laser, which is used to generate an optical signal, and the optical signal is transmitted to the Ethernet central office device or multiple Ethernet user-end devices through the optical fiber. The optical signal receiver is used to receive optical signals from the Ethernet central office device or the Ethernet user-end device. The Ethernet central office device is used to connect the optical fiber trunk line and is a device for the Ethernet entrance and the intranet entrance and exit. The Ethernet central office device is used to perform functions such as traffic scheduling and bandwidth allocation. In short, the Ethernet central office device is used to complete external Ethernet access and send the acquired data to multiple downstream Ethernet user-end devices through the ODN. The Ethernet user-end device is used to receive data from the Ethernet central office device and return a corresponding response.
[0117] It should be noted that the above Figure 4 The optical splitting system shown is only an example, and the present application does not limit the number of Ethernet client devices included in the optical splitting system. Figure 4 The Ethernet central office equipment included in the description is referred to as the central office equipment, and the Ethernet user-end equipment is referred to as the user-end equipment.
[0118] The following, combined Figure 4 The optical splitting system shown in the figure specifically introduces the scheme of the present application. In order to facilitate understanding of the scheme proposed in the present application for updating the transmission time slots occupied by the user terminal device in the current time slot allocation period according to the bandwidth demand reported by the user terminal device before the end of the time slot allocation period, the periodic time slot allocation scheme is first introduced. Figure 5 , is a flow chart of a periodic time slot allocation method provided in an embodiment of the present application. Exemplarily, Figure 5 The method flow shown can be Figure 4 The process may be executed by the central office device included in the optical splitting system shown, or may be executed by specific components such as a processor, Ethernet chip, etc. included in the central office device, and the present application does not limit this. Figure 5 The method flow shown specifically includes:
[0119] 501 , receiving bandwidth requirement values respectively sent by multiple user equipment before the start of time slot allocation cycle A.
[0120] The central office device is connected to multiple user end devices via the ODN. The time slot allocation period A is any one of multiple time slot allocation periods set by the central office device, and the duration of each time slot allocation period is equal.
[0121] Optionally, multiple user-end devices connected to the central office device can report their own bandwidth demand values before the start of each time slot allocation cycle. For example, each user-end device can report its bandwidth demand value to the central office in the transmission time slot occupied in the previous time slot allocation cycle of time slot allocation cycle A. Here, the previous time slot allocation cycle of time slot allocation cycle A is defined as time slot allocation cycle B. The first user-end device is allocated three time slots for data transmission in time slot allocation cycle B, which are time slot 1, time slot 2 and time slot 3. In an optional manner, the first user-end device can report its own bandwidth demand value in any of the three time slots, so that the central office can allocate a transmission time slot in time slot allocation cycle A to the first user-end device. In another optional manner, the first user-end device can report its own bandwidth demand value in the last time slot of the three time slots: time slot 1, time slot 2 and time slot 3. This avoids the problem that the amount of data to be transmitted changes after reporting in the previous time slot, causing the first user-end device to need to re-report the bandwidth demand value.
[0122] 502. Determine the transmission time slots occupied by each user terminal device in the time slot allocation period A according to the bandwidth requirement value and the bandwidth corresponding to each time slot included in each sub-period in the time slot allocation period A.
[0123] The determination of the sub-period occupied by each user terminal device in the time slot allocation period A is the transmission time slot occupied by each user terminal device in each sub-period included in the time slot allocation period A, and each sub-period includes the transmission time slot allocated to each user terminal device. It should be noted that the present application does not limit the number of sub-periods included in each time slot allocation period.
[0124] As an example, see Figure 6 , is a schematic diagram of a time slot allocation cycle provided by an embodiment of the present application, which includes a discovery authorization time and N sub-cycles, and the discovery authorization time is used for the central office device to register a newly online user terminal device. Further, see Figure 7 , is a schematic diagram of a sub-cycle provided in an embodiment of the present application, including the transmission time slots allocated by the central office device to each user terminal device, and the remaining time slots after the allocation. Thus, for any user terminal device, data can be transmitted N times in a time slot allocation cycle, avoiding data congestion while not affecting the data transmission of other user terminal devices.
[0125] Exemplarily, taking the first user terminal device among multiple user terminal devices as an example, the process of the central office device periodically allocating transmission time slots to the first user terminal device is introduced. The central office device can determine the portion of bandwidth that each sub-period needs to bear based on the bandwidth demand of the first user terminal device and the number of sub-periods included in the time slot allocation cycle to be allocated. For example, the bandwidth demand of the first user terminal device is 100 bit / s, and the time slot allocation cycle to be allocated includes 10 sub-periods, then each sub-period will bear a bandwidth demand of 10 bit / s. Furthermore, the central office device can determine the transmission time slot occupied by the first user terminal device in each sub-period based on the bandwidth corresponding to the time slot included in each sub-period and the portion of bandwidth borne by each sub-period. For example, taking the first sub-period included in the time slot allocation cycle as an example, the first sub-period includes ten time slots from time slot A to time slot J, the bandwidth of each time slot is 10 bit / s, and the bandwidth of the first sub-period is 10 bit / s. Then the central office device can allocate a time slot from time slot A to time slot J to the first user terminal device as the transmission time slot of the first user terminal, and the transmission time slot is used for the first user terminal device to transmit data. Similarly, other sub-periods will also determine the transmission time slot occupied by the first user terminal device in each sub-period according to the above method, and the transmission time slots occupied by the first user terminal device in multiple sub-periods can meet the data transmission requirements of the first user terminal device.
[0126] 503, broadcast the determined transmission time slots occupied by each user terminal device in the time slot allocation period A.
[0127] Compared with the traditional EPON / GPON optical splitting scheme that adjusts the time slot allocation cycle according to the bandwidth demand of the user-end device, the present application sets a time slot allocation cycle of a fixed length as the time slot allocation cycle, so as to avoid the problem that the time slot allocation cycle is too long due to the large bandwidth demand of a certain user-end device, thereby causing the data transmission delay of other user-end devices to be large, the device buffer overflow and other problems. At the same time, it also avoids the problem that the new user-end device has difficulty going online due to the excessively long time slot allocation cycle. In addition, in the scheme of the present application, it is also set that the time slot allocation cycle includes multiple sub-periods, and time slots are allocated to each user-end device within the sub-period, so that the delay of each user-end device transmitting data is controlled within the length of a sub-period, further ensuring the real-time performance of data transmission.
[0128] In some embodiments, when determining the transmission time slots of each user-end device in each sub-period, the central office device may first determine the start transmission time of each user-end device according to the distance between each user-end device and the central office device. Further, the number of time slots that each user-end device needs to occupy is determined according to the bandwidth requirement value of each user-end device. Further, the specific time slots occupied by each user-end device in each sub-period are determined in combination with the determined number of time slots and the start transmission time. The process of calculating the transmission time slot by the central office device is introduced below in combination with a specific example.
[0129] See also Figure 8 , is a schematic diagram of a data transmission scenario provided by an embodiment of the present application. Figure 8 In the figure, four user-end devices, namely user-end device A to user-end device D, are taken as an example, and each user-end device transmits data to the central office device through the ODN. Figure 8 The length of the connecting line represents the distance between each user terminal device and the ODN. It can be seen that user terminal device A is closest to the central office device, followed by user terminal device D, then user terminal device B, and the farthest is user terminal device C. The central office device can first determine the priority of each user terminal device to transmit data based on the distance between each user terminal device. For example, Figure 8 In the scenario shown, the priority order is: user terminal device A> user terminal device D> user terminal device B> user terminal device C. Therefore, each user terminal device can perform data transmission according to the priority order, see Fig. 9 , is a schematic diagram of a data transmission process provided by an embodiment of the present application. Fig. 9 In the example, the data of user terminal device A is first sent to the central office device through the ODN, followed by the data of user terminal device D, then the data of user terminal device B, and finally the data of user terminal device C.
[0130] Optionally, each user terminal device can be based on Fig. 9 The data transmission sequence shown in the figure can also be used to calculate the compensation time of each user terminal device according to the optical path difference of adjacent user terminal devices, thereby further improving the efficiency of data transmission. Figure 8-Figure 9 For example, during data transmission by user-end device A, when the last message sent has not yet arrived at the central office device, user-end device D can start sending data without waiting for all messages of user-end device A to arrive at the central office device before starting to send. The period of early start is the compensation time of user-end device D. Optionally, the compensation time can also be called the sending offset time, which is used to represent the time of the advance of the start sending time of the user-end device.
[0131] As an optional solution, when determining the compensation time of each user terminal device, the time required for each user terminal device to send data to the central office device can be first determined based on the distance between each user terminal device and the central office device. Fig.10 , is a schematic diagram of the time consumption of data transmission by a user terminal device provided in an embodiment of the present application. Fig.10 In the example, the time required for user-end device A to transmit data to the central office device is RTT1, and the time required for user-end device D to transmit data to the central office device is RTT4. Therefore, the compensation time of user-end device D is: (RTT4-RTT1). Therefore, the central office device can determine the start transmission time of each user-end device according to the transmission sequence and compensation time of each user-end device, and determine the transmission time slot of each user-end device according to the start transmission time and the number of time slots of each user-end device. Fig.11 , is a schematic diagram of another process of transmitting data by a user terminal device provided in an embodiment of the present application.
[0132] In some scenarios, when the user terminal device periodically reports the bandwidth demand value to the central office device, the time slot allocation period can be used as the reporting time interval. Alternatively, in some embodiments, the time interval for each user terminal device to report the bandwidth demand value can also be dynamically adjusted. For example, the bandwidth demand can be reported at intervals of multiple time slot allocation periods when the bandwidth demand does not change much, so as to reduce the computing resources consumed by the central office device to calculate the scheduling of time slot allocation. The following still takes the first user terminal device among multiple user terminal devices as an example to introduce the scheme for dynamically adjusting the time interval for reporting the bandwidth demand value proposed by the present application.
[0133] In a possible case, when the bandwidth requirement value to be reported in the current time slot allocation cycle is less than the bandwidth requirement value reported in the previous time slot allocation cycle, the first user terminal device may report the bandwidth requirement value to the central office device before the current time slot allocation cycle starts.
[0134] In another possible case, the bandwidth requirement value to be reported in the current time slot allocation cycle is greater than the bandwidth requirement value reported in the previous time slot allocation cycle, but the difference between the two is less than the preset value. This situation indicates that the bandwidth requirement of the first user terminal device has increased, but the degree of change is small, so the present application proposes that in this case, the first user terminal device can report the bandwidth requirement value to the central office device before the current time slot allocation cycle starts.
[0135] That is to say, if the first user terminal device determines that the bandwidth requirement value to be reported this time is the same as the bandwidth requirement value reported last time, the bandwidth requirement value may not be reported this time.
[0136] In some embodiments, when the first user terminal device is transmitting data within a time slot allocation cycle (such as the first time slot allocation cycle), and determines that the currently occupied transmission time slot cannot meet the data transmission demand, and the difference between the allocated bandwidth and the required bandwidth is large, the embodiment of the present application proposes that the first terminal device can directly send an emergency bandwidth allocation request to the central office device when it determines that the bandwidth demand has increased suddenly. The emergency bandwidth allocation request carries the bandwidth demand value of the first user terminal device when the bandwidth demand increases suddenly, as well as an emergency identifier. After receiving the emergency bandwidth allocation request, the central office device can determine that it is necessary to immediately allocate the required bandwidth to the first user terminal and device based on the emergency identifier, and reallocate the transmission time slot for the first user terminal device based on the unallocated time slots in the stored time slot allocation schedule, and update the schedule and reissue it. Below, based on the periodic time slot allocation scheme introduced in the above embodiments, the time slot allocation scheme proposed in the present application is introduced in detail. See. Fig.12 , is a flow chart of a time slot allocation method for an optical access network proposed in this application, specifically comprising:
[0137] 1201. A central office device receives a first bandwidth requirement value from a first user terminal device.
[0138] The first bandwidth requirement value is sent by the first user terminal device when it is determined that the allocated bandwidth is less than the bandwidth required for data transmission, and the difference between the allocated bandwidth and the bandwidth required for data transmission is greater than a set threshold.
[0139] Optionally, the first bandwidth demand value may be carried in an emergency bandwidth request for transmission, and the emergency bandwidth request also includes an emergency identifier. Exemplarily, the emergency identifier may be a characteristic field carried in the emergency bandwidth request message, which is used to characterize that the data transmission bandwidth demand of the first user terminal device has increased suddenly, and additional bandwidth is required. The first bandwidth demand value is the bandwidth value required by the first user terminal device after the data transmission bandwidth demand increases suddenly. The first user terminal device is any one of a plurality of user terminal devices connected to the local terminal device through the ODN. The first time slot allocation period may be any one of a plurality of preset time slot allocation periods of equal duration.
[0140] According to the schemes introduced in the above embodiments, in the first time slot allocation cycle, each user terminal device will use the transmission time slot allocated by the central office device before the start of the first time slot allocation cycle for data transmission. Then, in the process of transmitting data according to the transmission time slot allocated by the central office device, when the first user terminal device determines that the difference between the occupied bandwidth and the bandwidth actually required for transmitting data is greater than the set threshold, it will send the first bandwidth requirement value to the central office device. For example, when the amount of cached data in the first user terminal device reaches the threshold, the first bandwidth requirement value can be determined according to the amount of cached data.
[0141] 1202. The central office device obtains unoccupied time slots in each sub-period included in the first time slot allocation period.
[0142] Optionally, if there are no unoccupied time slots in each sub-period included in the first time slot allocation cycle, or the bandwidth of the unoccupied time slots included in the first time slot allocation cycle cannot meet the first bandwidth requirement value, the central office device can also obtain the unoccupied time slots in the next time slot allocation cycle of the first time slot allocation cycle. Exemplarily, after determining the time slot allocation schedule of each time slot allocation cycle, the central office device can store the determined schedule. The schedule of any time slot allocation cycle includes the transmission time slots allocated to each user terminal device in the time slot cycle and the remaining time slots. Optionally, the central office device can mark the time slot allocation schedule that has been used by the user terminal device as an expired schedule, and then delete the expired schedule. For example, after determining the schedule of time slot allocation cycle A, the central office device will store the schedule of time slot allocation cycle A, and mark the schedule of time slot allocation cycle A as expired after the end of time slot allocation cycle A. Optionally, the central office device can also periodically delete the time slot allocation schedule marked as expired in the storage space.
[0143] Furthermore, when acquiring the unoccupied time slots included in the first time slot allocation cycle, the central office device may first determine from the stored multiple unexpired schedules that there are unoccupied time slots in the schedule of the first time slot allocation cycle, and determine that the first time slot allocation cycle is closest to the current time, and then acquire the unoccupied time slots in each sub-cycle from the schedule of the first time slot allocation cycle.
[0144] 1203. The central office device updates the transmission time slots occupied by the first user terminal device in the first time slot allocation period according to the first bandwidth requirement value and the unoccupied time slots included in the first time slot allocation period.
[0145] Exemplarily, the central office device can determine the additional bandwidth required by the first user-end device based on the bandwidth demand value last reported by the first user-end device and the first bandwidth demand value. Further, the central office device can determine the additional transmission time slots that need to be allocated to the first user-end device from the unoccupied time slots included in the first time slot allocation cycle, thereby updating the transmission time slots occupied by the first user-end device in the first time slot allocation cycle.
[0146] It should be noted that the central office device determines the additional transmission time slots to be allocated to the first user terminal device from the unoccupied time slots included in the first time slot allocation cycle, that is, determines the additional transmission time slots to be allocated to the first user terminal device from the unoccupied time slots in each sub-cycle included in the first time slot allocation cycle. For example, see Fig.13 , which is a schematic diagram of an updated sub-cycle.
[0147] 1204. The central office device sends the updated transmission time slot to the first user terminal device to instruct the first user terminal device to use the updated transmission time slot for data transmission within the first time slot allocation period.
[0148] Exemplarily, the updated transmission time slot is used to indicate the transmission time slot of the first user terminal device after the current time. Figure 6 Taking the time slot allocation period shown as an example, if the first bandwidth requirement value sent by the first user terminal device in sub-period M, it means that the first user terminal device uses the transmission time slot before the update for data transmission in sub-period 1-sub-period M, and the updated transmission time slot sent by the central office device is used for the first user terminal device to transmit data in sub-period (M+1)-sub-period N.
[0149] Based on the above scheme, the present application proposes that before the end of a time slot allocation cycle, if the amount of data transmitted by a user-end device increases, it can request additional time slots from the central office device. The central office device will determine the additional time slots allocated to the user-end device from the unallocated time slots in the current time slot allocation cycle according to the request of the user-end device, so that the transmission needs of the user-end device can be met within the current time slot allocation cycle. Compared with the traditional scheme in which the user-end device needs to wait for the next time slot allocation cycle to request more time slots, the scheme of the present application can enable the transmission needs of the user-end device to be met in a timely manner, reducing the situation of buffer overflow of the user-end device.
[0150] Exemplarily, when executing the above step 1203, the central office device may first obtain the second bandwidth requirement value sent by the first user terminal device before the start of the first time slot allocation cycle. The second bandwidth requirement value is used by the central office device to allocate the transmission time slot within the first time slot allocation cycle to the first user terminal device. Further, the central office device may determine the additional bandwidth required by the first user terminal device based on the difference between the first bandwidth requirement value and the second bandwidth requirement value. Thus, the central office device may determine the portion of the additional bandwidth that each sub-period needs to bear based on the number of sub-periods included in the first time slot allocation cycle. Further, the central office device may allocate additional transmission time slots to the first user terminal device from the unoccupied time slots in each sub-period based on the bandwidth values corresponding to the time slots included in each sub-period and the portion of the bandwidth borne. The additional transmission time slots and the transmission time slots allocated by the central office device to the first user terminal before the start of the first time slot allocation cycle may constitute the updated transmission time slots of the first user terminal device.
[0151] Based on the same concept as the above method, see Fig.14, is a schematic diagram of the structure of a time slot allocation device 1400 provided in an embodiment of the present application. The device 1400 is used to implement each step in the above method, and in order to avoid repetition, it will not be described again here. The device 1400 includes: a communication unit 1410 and a processing unit 1420.
[0152] In one possible scenario:
[0153] The communication unit 1410 is configured to receive a first bandwidth requirement value sent by a first user terminal device before the end of a first time slot allocation cycle; the first bandwidth requirement value is sent by the first user terminal device when it is determined that the allocated bandwidth is less than the bandwidth required for transmitting data, and the difference between the allocated bandwidth and the bandwidth required for transmitting data is greater than a set threshold;
[0154] The processing unit 1420 is configured to obtain unoccupied time slots in each sub-period included in the first time slot allocation period;
[0155] The processing unit 1420 is further configured to update the transmission time slot occupied by the first user terminal device in each sub-period according to the first bandwidth requirement value and the unoccupied time slot;
[0156] The communication unit 1410 is further configured to send an updated transmission time slot to the first user terminal device.
[0157] In some embodiments, the processing unit 1420 is specifically configured to:
[0158] Obtaining a second bandwidth requirement value reported by the first user terminal device at a first historical moment; the first moment is a moment before the start of a first time slot allocation cycle; the second bandwidth requirement value is used to determine a transmission time slot occupied by the first user terminal device in each sub-period included in the first time slot allocation cycle; the second bandwidth requirement value is less than the first bandwidth requirement value, and the difference between the first bandwidth requirement value and the second bandwidth requirement value is not less than the preset value;
[0159] Allocating an additional time slot for the first user terminal device from unoccupied time slots included in each sub-period according to a difference between the first bandwidth requirement value and the second bandwidth requirement value;
[0160] The transmission time slot occupied by the first user terminal equipment in each sub-period is updated according to the additional time slot.
[0161] In some embodiments, before obtaining the second bandwidth requirement value, the processing unit 1420 is further configured to:
[0162] Receiving, by the communication unit 1410, a third bandwidth requirement value reported by the first user terminal device before the start of a second time slot allocation period; the second time slot allocation period is a time slot allocation period before the first time slot allocation period; wherein the second bandwidth requirement value is less than the third bandwidth requirement value and the difference between the second bandwidth requirement value and the third bandwidth requirement value is not less than a preset value, or the second bandwidth requirement value is greater than the third bandwidth requirement value and the difference between the second bandwidth requirement value and the third bandwidth requirement value is less than the preset value;
[0163] The transmission time slot occupied by the first user terminal equipment in each sub-period included in the second time slot allocation period is determined according to the third bandwidth requirement value.
[0164] In some embodiments, the processing unit 1420 is specifically configured to:
[0165] Determining additional bandwidth required by the first user terminal device according to a difference between the first bandwidth requirement value and the second bandwidth requirement value;
[0166] Determine the portion of bandwidth borne by each sub-period in combination with the number of sub-periods included in the first time slot allocation period and the additional bandwidth;
[0167] According to the portion of bandwidth undertaken by each sub-period and the bandwidth corresponding to each time slot in the unoccupied time slots, additional time slots are allocated to the first user terminal device from the unoccupied time slots.
[0168] In some embodiments, the processing unit 1420 is specifically configured to:
[0169] Acquire a stored schedule of multiple time slot allocation cycles; wherein each of the time slot allocation cycle schedules includes a transmission time slot allocated to each user terminal device in each time slot allocation cycle;
[0170] Deleting expired schedules from the multiple schedules, and determining that among the remaining schedules, the schedule of the first time slot allocation period has an unoccupied time slot, and the interval between the end time of the first time slot allocation period and the time when the emergency bandwidth request is received is the shortest; wherein the expired schedule is a schedule that has been used up;
[0171] The unoccupied time slots in each of the sub-cycles are obtained from the schedule of the first time slot allocation cycle.
[0172] In another possible scenario:
[0173] The processing unit 1420 is configured to, during the process of transmitting data in the first time slot allocation period, instruct the communication unit 1410 to send a first bandwidth requirement value to the central office device when it is determined that the allocated bandwidth is less than the bandwidth required for transmitting the data and the difference between the allocated bandwidth and the bandwidth required for transmitting the data is greater than a set threshold;
[0174] The communication unit 1410 is used to receive the updated transmission time slot sent by the central office device; the updated transmission time slot is determined by the central office device according to the first bandwidth requirement value and the unoccupied time slots in each sub-period included in the first time slot allocation period.
[0175] In some embodiments, before sending the first bandwidth requirement value, the communication unit 1410 is further configured to:
[0176] Before the first time slot allocation cycle starts, reporting a second bandwidth requirement value to the central office device; the second bandwidth requirement value is less than the first bandwidth requirement value, and the difference between the first bandwidth requirement value and the second bandwidth requirement value is not less than the preset value;
[0177] Receive the transmission time slot occupied by the first user terminal equipment in each sub-period included in the first time slot allocation period, which is sent by the central office equipment.
[0178] In some embodiments, the processing unit 1420 is further configured to:
[0179] Acquire a third bandwidth requirement value reported at a second historical moment; the second moment is a moment before a second time slot allocation period begins, and the second time slot allocation period is a time slot allocation period before the first time slot allocation period;
[0180] Determine that the second bandwidth requirement value is less than the third bandwidth requirement value, and the difference between the second bandwidth requirement value and the third bandwidth requirement value is greater than a preset value; or,
[0181] It is determined that the second bandwidth requirement value is greater than the third bandwidth requirement value, and a difference between the second bandwidth requirement value and the third bandwidth requirement value is less than the preset value.
[0182] Fig.15 The electronic device 1500 provided in the embodiment of the present application is shown in the structural diagram. The electronic device 1500 in the embodiment of the present application may also include a communication interface 1503, which is, for example, a network port, through which the electronic device can transmit data, for example, the communication interface 1503 can implement the functions of the communication unit 1410 introduced in the above embodiment.
[0183] In the embodiment of the present application, the memory 1502 stores instructions that can be executed by at least one controller 1501. The at least one controller 1501 can be used to execute each step in the above method by executing the instructions stored in the memory 1502. For example, the controller 1501 can implement the above Fig.14 The function of the processing unit 1420 in.
[0184] Among them, the controller 1501 is the control center of the electronic device, which can use various interfaces and lines to connect various parts of the entire electronic device, by running or executing instructions stored in the memory 1502 and calling data stored in the memory 1502. Optionally, the controller 1501 may include one or more processing units, and the controller 1501 may integrate an application controller and a modem controller, wherein the application controller mainly processes the operating system and application programs, etc., and the modem controller mainly processes wireless communications. It is understandable that the above-mentioned modem controller may not be integrated into the controller 1501. In some embodiments, the controller 1501 and the memory 1502 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.
[0185] The controller 1501 may be a general controller, such as a central processing unit (CPU), a digital signal controller, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general controller may be a microcontroller or any conventional controller, etc. The step of adjusting the bandwidth of the data transmission channel during data transmission disclosed in the embodiments of the present application may be performed directly by a hardware controller, or may be performed by a combination of hardware and software modules in the controller.
[0186] The memory 1502 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 1502 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (English: Random Access Memory, referred to as: RAM), a static random access memory (English: Static Random Access Memory, referred to as: SRAM), a programmable read-only memory (English: Programmable Read Only Memory, referred to as: PROM), a read-only memory (English: Read Only Memory, referred to as: ROM), an electrically erasable programmable read-only memory (English: Electrically Erasable Programmable Read-Only Memory, referred to as: EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 1502 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1502 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0187] By designing and programming the controller 1501, for example, the code corresponding to the time slot allocation method introduced in the above embodiment can be solidified into the chip, so that the chip can execute the steps of the above method during operation. How to design and program the controller 1501 is a technology well known to those skilled in the art and will not be repeated here.
[0188] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0189] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a controller of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the controller of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0190] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0191] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0192] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0193] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A time slot allocation method for an optical access network, characterized in that: The method is applied to a central office device, and the method comprises: receiving a first bandwidth requirement value from a first user terminal device; the first bandwidth requirement value is sent by the first user terminal device when it is determined that the allocated bandwidth is less than the bandwidth required for transmitting data, and the difference between the allocated bandwidth and the bandwidth required for transmitting data is greater than a set threshold; Acquire unoccupied time slots in each sub-period included in the first time slot allocation period; updating the transmission time slot occupied by the first user terminal device in each sub-period according to the first bandwidth requirement value and the unoccupied time slot; Sending the updated transmission time slot to the first user terminal equipment.
2. The method according to claim 1, characterized in that The updating, according to the first bandwidth requirement value and the unoccupied time slot, of the transmission time slot occupied by the first user terminal device in each sub-period includes: Obtaining a second bandwidth requirement value reported by the first user terminal device at a first historical moment; the first moment is a moment before the start of a first time slot allocation cycle; the second bandwidth requirement value is used to determine a transmission time slot occupied by the first user terminal device in each sub-period included in the first time slot allocation cycle; the second bandwidth requirement value is less than the first bandwidth requirement value, and the difference between the first bandwidth requirement value and the second bandwidth requirement value is not less than the preset value; Allocating an additional time slot for the first user terminal device from unoccupied time slots included in each sub-period according to a difference between the first bandwidth requirement value and the second bandwidth requirement value; The transmission time slot occupied by the first user terminal equipment in each sub-period is updated according to the additional time slot.
3. The method according to claim 2, characterized in that Before obtaining the second bandwidth requirement value, the method further includes: Receive a third bandwidth requirement value reported by the first user terminal device before the start of a second time slot allocation period; the second time slot allocation period is a time slot allocation period before the first time slot allocation period; wherein the second bandwidth requirement value is less than the third bandwidth requirement value and the difference between the second bandwidth requirement value and the third bandwidth requirement value is not less than a preset value, or the second bandwidth requirement value is greater than the third bandwidth requirement value and the difference between the second bandwidth requirement value and the third bandwidth requirement value is less than the preset value; The transmission time slot occupied by the first user terminal equipment in each sub-period included in the second time slot allocation period is determined according to the third bandwidth requirement value.
4. The method according to claim 2 or 3, characterized in that: The allocating an additional time slot for the first user terminal device from the unoccupied time slots included in each sub-period according to the difference between the first bandwidth requirement value and the second bandwidth requirement value comprises: Determining additional bandwidth required by the first user terminal device according to a difference between the first bandwidth requirement value and the second bandwidth requirement value; Determine the portion of bandwidth borne by each sub-period in combination with the number of sub-periods included in the first time slot allocation period and the additional bandwidth; According to the portion of bandwidth undertaken by each sub-period and the bandwidth corresponding to each time slot in the unoccupied time slots, additional time slots are allocated to the first user terminal device from the unoccupied time slots.
5. The method according to any one of claims 1 to 3, characterized in that: The obtaining of unoccupied time slots in each sub-period included in the first time slot allocation period comprises: Acquire a stored schedule of multiple time slot allocation cycles; wherein each of the time slot allocation cycle schedules includes a transmission time slot allocated to each user terminal device in each time slot allocation cycle; Deleting expired schedules from the multiple schedules, and determining that among the remaining schedules, the schedule of the first time slot allocation period has an unoccupied time slot, and the interval between the end time of the first time slot allocation period and the time when the emergency bandwidth request is received is the shortest; wherein the expired schedule is a schedule that has been used up; The unoccupied time slots in each of the sub-cycles are obtained from the schedule of the first time slot allocation cycle.
6. A time slot allocation method for an optical access network, characterized in that: The method is applied to a first user terminal device, and the method includes: During data transmission in the first time slot allocation period, when it is determined that the allocated bandwidth is less than the bandwidth required for data transmission, and the difference between the allocated bandwidth and the bandwidth required for data transmission is greater than a set threshold, a first bandwidth requirement value is sent to the central office device; Receive an updated transmission time slot sent by the central office device; the updated transmission time slot is determined by the central office device according to the first bandwidth requirement value and unoccupied time slots in each sub-period included in the first time slot allocation period.
7. The method according to claim 6, characterized in that Before sending the first bandwidth requirement value, the method further includes: Before the first time slot allocation cycle starts, reporting a second bandwidth requirement value to the central office device; the second bandwidth requirement value is less than the first bandwidth requirement value, and the difference between the first bandwidth requirement value and the second bandwidth requirement value is not less than the preset value; Receive the transmission time slot occupied by the first user terminal equipment in each sub-period included in the first time slot allocation period, which is sent by the central office equipment.
8. The method according to claim 7, characterized in that Before sending the second bandwidth requirement value to the central office device, the method further includes: Acquire a third bandwidth requirement value reported at a second historical moment; the second moment is a moment before a second time slot allocation period begins, and the second time slot allocation period is a time slot allocation period before the first time slot allocation period; Determine that the second bandwidth requirement value is less than the third bandwidth requirement value, and the difference between the second bandwidth requirement value and the third bandwidth requirement value is greater than a preset value; or, It is determined that the second bandwidth requirement value is greater than the third bandwidth requirement value, and a difference between the second bandwidth requirement value and the third bandwidth requirement value is less than the preset value.
9. A time slot allocation device for an optical access network, characterized in that: The device is a central office device, or the device is applied to the central office device, and the device includes: A communication unit, configured to receive a first bandwidth requirement value from a first user terminal device; the first bandwidth requirement value is sent by the first user terminal device when it is determined that the allocated bandwidth is less than the bandwidth required for transmitting data, and the difference between the allocated bandwidth and the bandwidth required for transmitting data is greater than a set threshold; A processing unit, configured to obtain unoccupied time slots in each sub-period included in the first time slot allocation period; The processing unit is further configured to update the transmission time slot occupied by the first user terminal device in each sub-period according to the first bandwidth requirement value and the unoccupied time slot; The communication unit is further used to send an updated transmission time slot to the first user terminal device.
10. A time slot allocation device for an optical access network, characterized in that: The apparatus is a first user terminal device, or the apparatus is applied to the first user terminal device, and the apparatus includes: a processing unit, configured to, during data transmission in the first time slot allocation period, instruct the communication unit to send a first bandwidth requirement value to the central office device when it is determined that the allocated bandwidth is less than the bandwidth required for data transmission and the difference between the allocated bandwidth and the bandwidth required for data transmission is greater than a set threshold; The communication unit is used to receive the updated transmission time slot sent by the central office device; the updated transmission time slot is determined by the central office device according to the first bandwidth requirement value and the unoccupied time slots in each sub-cycle included in the first time slot allocation cycle.
11. A time slot allocation system for an optical access network, characterized in that: The system includes a central office device and a plurality of user terminal devices. A first user terminal device, used for sending a first bandwidth requirement value to the central office device during data transmission within a first time slot allocation period when it is determined that the allocated bandwidth is less than the bandwidth required for data transmission and the difference between the allocated bandwidth and the bandwidth required for data transmission is greater than a set threshold; wherein the first user terminal device is any one of the plurality of user terminal devices; The central office device is configured to receive a first bandwidth requirement value sent by a first user terminal device before the end of a first time slot allocation period, obtain unoccupied time slots in each sub-period included in the first time slot allocation period; update a transmission time slot occupied by the first user terminal device in each sub-period according to the first bandwidth requirement value and the unoccupied time slots, and send the updated transmission time slot to the first user terminal device; The first user terminal device is also used to receive the updated transmission time slot sent by the central office device.
12. An electronic device, characterized in that: The electronic device comprises a controller and a memory, The memory is used to store computer programs or instructions; The controller is used to execute the computer program or instructions in the memory so that the method of any one of claims 1 to 5 or any one of claims 6 to 8 is executed.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called by a computer, the computer executes the method according to any one of claims 1 to 5 or any one of claims 6 to 8.
Citation Information
Cited By
Slot allocation method and apparatus for optical access network, and system, electronic device and storage medium
EP4753282A1