Bandwidth allocation method and device, computer equipment, readable storage medium and program product
By realizing downlink bandwidth allocation of PDU sets in optical line terminals and optical network units, and combining the coordinated control of wireless access point AP to dynamically allocate downlink time slots and channels, the delay and packet loss problems of bandwidth scheduling in PON network and PON+WiFi network environments are solved, and bandwidth utilization and service quality are improved.
Patent Information
- Application Number
- CN202411996349.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-03-25
AI Technical Summary
The prior art has failed to effectively meet the bandwidth scheduling method based on PON network or PON network and WiFi network, and cannot meet the strict requirements for delay and packet loss in new business scenarios such as XR services.
A bandwidth allocation method is provided, by realizing downlink bandwidth allocation of PDU sets in the optical line terminal OLT and the optical network unit ONU, combining the coordinated control of the wireless access point AP, the degree of transmission urgency and priority ratio coefficients are calculated, and the downlink time slots and channels are dynamically allocated to meet the delay and packet loss requirements of the PDU set.
The PDU set scheduling between application servers and application terminals in PON network and PON+WiFi network environments has been effectively optimized, bandwidth utilization and service quality have been improved, and the delay and packet loss requirements for new business scenarios such as XR services have been met.
Smart Images

Figure CN119697539A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication network technology, and in particular to a bandwidth allocation method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] Services such as Extended Reality (XR) and real-time online games have put forward higher requirements on the timeliness of communication networks. On the one hand, multiple continuous data packets are needed to transmit a picture. All continuous data packets must be transmitted within a limited time delay range, and the error rate must be lower than the required error rate in order to correctly perform subsequent decoding and other operations on the picture. In high-definition scenarios, hundreds of data packets are required to transmit a picture. On the other hand, different types of frames (I, B, and P frames) have different importance and priority. For example, I frames are relatively independent and need to be delivered first. B frames and P frames have relatively lower priority. In addition, if a frame has exceeded the range of delay or error, the subsequent data of this frame can no longer be transmitted.
[0003] The industry has proposed the concept of Protocol Data Unit set (PDU set), which is used to represent multiple consecutive data packets that completely transmit an application layer information unit (for example, a picture in an XR service). PDU set has delay requirements, and the industry has proposed the delay budget (PDU Set Delay Budget, PSDB) indicator to limit the delay requirements for the complete transmission of all data packets in the PDU set. PDU set has data packet error rate requirements, and the industry has proposed the packet loss budget (PDU Set Error Rate, PSER) indicator to limit the proportion of error packets in the PDUset. The industry has proposed the PDU set importance indicator to identify the importance and priority of different PDU sets.
[0004] In new business scenarios such as XR and real-time online games, in order to improve the service quality, application service servers (such as XR servers) can be sunk to the edge of the operator network and connected to the optical line terminal (OLT). The application terminal can be connected through a passive optical network (PON) or a WiFi network plus a PON network. Represented by the above-mentioned XR business, a new latency requirement is proposed for the above-mentioned PON network and PON+WiFi network. The characteristics of this type of requirement are: (1) The object that characterizes its latency index and packet loss index is no longer a single data packet or a certain type of single business flow, but a group of specific data packets; (2) The latency and packet loss requirements need to meet the overall latency and packet loss requirements of this group of data packets from the beginning to the end of transmission, rather than just the latency and packet loss requirements of a single data packet or a single business flow.
[0005] However, currently, there is no research in the industry on a bandwidth scheduling method related to PDU set that can meet the above-mentioned delay requirements and is based on a PON network, or based on the collaboration between a PON network and a WiFi network. Summary of the invention
[0006] Based on this, it is necessary to provide a bandwidth allocation method, device, computer equipment, computer-readable storage medium and computer program product for implementing PDU set broadband scheduling in response to the above technical problems.
[0007] In a first aspect, the present application provides a bandwidth allocation method, which is applied to an optical line terminal OLT, comprising:
[0008] A method for allocating downstream bandwidth of a protocol data unit set (PDU set) in a passive optical network (PON); and
[0009] The invention discloses a downlink bandwidth allocation method of a protocol data unit set (PDU set) in a network environment where a passive optical network (PON) and a wireless network (WIFI) cooperate.
[0010] In some embodiments, the degree of transmission urgency is calculated as follows: the ratio of the current remaining available delay budget time length of the PDU set to the total delay budget PSDB of the PDU set = {[PSDB – (current moment - the time when the start data packet of the PDU set is sent]} / PSDB)}; the degree of transmission urgency = [priority ratio coefficient] / the ratio of the current remaining available delay budget time length of the PDUset to the total delay budget PSDB of the PDU set = [priority ratio coefficient (related to)] / {[PSDB – (current moment - the time when the start packet of the PDU set is sent] / PSDB)}.
[0011] In some embodiments, the degree of transmission urgency = [priority ratio coefficient (related to)] / [the ratio of the total size of the data packets of the PDU set that have been sent cumulatively / the ratio of the delay budget time length consumed by the current PDU set to the total delay budget PSDB of the PDU set] = [priority ratio coefficient (related to)] / {[the size of the data packets of the PDU set that have been sent cumulatively / the PDU set size] / [(current time - the time when the start packet of the PDU set is sent) / PSDB]}.
[0012] In a second aspect, the present application provides a bandwidth allocation method, which is applied to an optical network unit ONU in a passive optical network PON, and the method includes:
[0013] Receive data packets from the optical line terminal OLT;
[0014] The data packet is forwarded to the application terminal.
[0015] In a third aspect, the present application provides a bandwidth allocation method, which is applied to an optical network unit ONU in a network environment where a passive optical network PON and a wireless network WIFI collaborate, and the method includes:
[0016] Receive data packets from the line terminal OLT and related information of the PDU set to which they belong;
[0017] Send the data packet and the relevant information of the PDU set to the wireless access point AP to instruct the wireless access point AP to initiate control of the downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and calculate the downlink channel allocation strategy based on the PDU set priority type and the WIFI channel information contained in the received relevant information, allocate a downlink channel to the received data packet according to the allocation strategy, send the corresponding data packet to the WIFI terminal through the downlink channel, and forward it to the application terminal by the WIFI terminal;
[0018] The optical network unit ONU and the wireless access point AP are jointly arranged, or the optical network unit ONU and the wireless access point AP are directly connected.
[0019] In a fourth aspect, the present application provides a bandwidth allocation method, which is applied to a wireless access point AP in a network environment where a passive optical network PON and a wireless network WIFI collaborate, and the method includes:
[0020] Receive data packets from the optical network unit ONU and related information of the PDU set to which it belongs;
[0021] Initiate control of downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and calculate a downlink channel allocation strategy based on the PDU set priority type and the WIFI channel information contained in the received relevant information;
[0022] Allocate a downlink channel for the received data packet according to the allocation strategy, send the corresponding data packet to the WIFI terminal through the downlink channel, and forward it to the application terminal by the WIFI terminal;
[0023] The optical network unit ONU and the wireless access point AP are jointly arranged, or the optical network unit ONU and the wireless access point AP are directly connected.
[0024] In a fifth aspect, the present application further provides a communication system, comprising: an application server, an optical line terminal OLT, a plurality of network units ONU and an application terminal; the optical line terminal OLT is connected to the application server, the optical line terminal OLT is connected to the plurality of network units ONU, and the plurality of network units ONU is connected to the application terminal; wherein,
[0025] The optical line terminal OLT is used to receive at least one data packet from the application server; for each data packet, based on the field content contained in the header of the data packet, determine the relevant information of the protocol data unit set PDU set to which the data packet belongs; the relevant information of the PDU set includes the PDU set priority type; according to the relevant information of the PDU set, determine the urgency of PDU set transmission; obtain the priority ratio coefficient corresponding to different PDU set priority types, and determine the first allocation strategy based on the priority ratio coefficient; for the same priority type, allocate according to the urgency of PDUset transmission as the second allocation strategy; allocate downlink time slots for each data packet according to the first allocation strategy and the second allocation strategy; send the corresponding data packet to the corresponding optical network unit ONU in the downlink time slot;
[0026] The optical network unit ONU is used to forward the received data packets to the corresponding application terminal.
[0027] In a sixth aspect, the present application further provides a communication system, including: an application server, an optical line terminal OLT, a plurality of network units ONU, a plurality of wireless access points AP, a WIFI terminal and an application terminal; the optical line terminal OLT is connected to the application server, the optical line terminal OLT is connected to the plurality of network units ONU, each network unit ONU is connected to a corresponding wireless access point AP; each network unit ONU and a corresponding wireless access point AP are co-located or directly connected; each wireless access point AP is connected to a corresponding WIFI terminal; the WIFI terminal is connected to a corresponding application terminal;
[0028] The optical line terminal OLT is used to receive at least one data packet from the application server; for each data packet, based on the field content contained in the header of the data packet, determine the relevant information of the protocol data unit set PDU set to which the data packet belongs; the relevant information of the PDU set includes the PDU set priority type; according to the relevant information of the PDU set, determine the urgency of PDU set transmission; obtain the priority ratio coefficient corresponding to different PDU set priority types, and determine the first allocation strategy based on the priority ratio coefficient; for the same priority type, allocate according to the urgency of PDUset transmission as the second allocation strategy; allocate downlink time slots for each data packet according to the first allocation strategy and the second allocation strategy; send the corresponding data packet to the corresponding optical network unit ONU in the downlink time slot;
[0029] The optical network unit ONU is used to send the received data packet and the related information of the corresponding PDU set to the corresponding wireless access point AP;
[0030] The wireless access point AP is used to initiate control of downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and based on the PDU set priority type and the WIFI channel information contained in the received relevant information, calculate the downlink channel allocation strategy, allocate a downlink channel for the received data packet according to the allocation strategy, send the received data packet to the corresponding WIFI terminal through the downlink channel, and forward it to the corresponding application terminal by the WIFI terminal.
[0031] In a seventh aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in the first aspect, the second aspect, the third aspect or the fourth aspect is implemented.
[0032] In an eighth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method described in the first aspect, the second aspect, the third aspect or the fourth aspect is implemented.
[0033] In a ninth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method described in the first aspect, the second aspect, the third aspect or the fourth aspect.
[0034] The above bandwidth allocation method provides a downlink bandwidth allocation method for a protocol data unit set PDU set in a passive optical network PON; and a downlink bandwidth allocation method for a protocol data unit set PDU set in a network environment where a passive optical network PON and a wireless network WIFI collaborate. It can effectively optimize and improve the scheduling optimization of the PDU set between an application server and an application terminal in a network environment where a PON network or a PON network and a WiFi network collaborate. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 FIG. 1 is an application environment diagram of a bandwidth allocation method in a PON network environment in one embodiment;
[0037] Figure 2 A schematic diagram of a process of an optical line terminal in a PON network environment in one embodiment;
[0038] Figure 3 A multi-side interaction flow chart of a bandwidth allocation method in a PON network environment in one embodiment;
[0039] Figure 4 is a schematic diagram of a global scheduling strategy in one embodiment;
[0040] Figure 5 An application environment diagram of a bandwidth allocation method in a collaborative environment of a PON network and a wifi network in one embodiment;
[0041] Figure 6 It is a schematic diagram of the process of an optical line terminal in a collaborative environment of a PON network and a wifi network in one embodiment;
[0042] Figure 7A multi-side interaction flow chart of a bandwidth allocation method in a collaborative environment of a PON network and a wifi network in one embodiment;
[0043] Figure 8 It is a flow chart of a bandwidth allocation method in a collaborative environment of a PON network and a wifi network in one embodiment;
[0044] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0046] The embodiment of the present application provides a bandwidth allocation method, including a downlink bandwidth allocation method for a protocol data unit set PDUset in a passive optical network PON, and a downlink bandwidth allocation method for a protocol data unit set PDUset in a network environment in which a passive optical network PON and a wireless network WIFI collaborate. The method can effectively optimize and improve the scheduling optimization of PDU sets between application servers and application terminals via a PON network, or a network environment in which a PON network and a WiFi network collaborate. The goals of the scheduling optimization are: (1) effectively distinguishing the priority types (PDU Priority Mark, PPM for short) of different PDU sets for bandwidth scheduling, giving priority to meeting the bandwidth and scheduling requirements of multiple high-priority (high PPM) PDU sets, and on this basis, meeting as many medium-priority (medium PPM) PDU set scheduling requirements as possible, and in addition, terminating the transmission of low-priority (discardable PPM) PDU sets. (2) effectively meeting the PSDB and PSER of the PDU set.
[0047] Among them, the passive optical network PON can be a Gigabit-Capable Passive Optical Network (GPON), but it is not limited to GPON. PONs of other standards can also be applied to the method of the present application. The wireless network WIFI can be 802.11ax (WiFi6), but it is not limited to 802.11ax (WiFi6), and other standards of WiFi can also be applied to the method of the present application.
[0048] The following first introduces the downstream bandwidth allocation method of the protocol data unit set PDU set in the passive optical network PON. This method can be applied to Figure 1 In the application environment shown. Figure 1 The application environment shown includes: an application server, an optical line terminal OLT, multiple network units ONU and an application terminal; the optical line terminal OLT is connected to the application server, the optical line terminal OLT is connected to the multiple network units ONU, and the multiple network units ONU are connected to the application terminal.
[0049] The application server sends a data packet to the optical line terminal OLT, which identifies the PDU set related information, obtains the priority type of the PDU set, the length of the PDU set, and the start and end packet marks. It also combines the pre-configured PSDB, PSER and other information corresponding to the PDUset priority type, comprehensively considers the requirements of multiple PDUset priority types, and comprehensively calculates the optimized bandwidth allocation strategy for the data packets of the current PDU set.
[0050] The optical line terminal 106 receives at least one data packet from the application server 108; for each data packet, based on the field content contained in the header of the data packet, determines the relevant information of the protocol data unit set PDU set to which the data packet belongs; the relevant information of the PDU set includes the PDU set priority type; according to the relevant information of the PDU set, determines the degree of urgency of PDU set transmission; obtains the priority ratio coefficients corresponding to different PDU set priority types, and determines a first allocation strategy based on the priority ratio coefficient; for the same priority type, allocates according to the degree of urgency of PDU set transmission as the second allocation strategy; allocates downlink time slots for each data packet according to the first allocation strategy and the second allocation strategy; sends the corresponding data packet to the corresponding optical network unit ONU104 in the downlink time slot, and ONU104 forwards the received data packet to the application terminal 102.
[0051] In an exemplary embodiment, Figure 2 As shown, a bandwidth allocation method is provided, which is applied to Figure 1 Taking the optical line terminal OLT as an example, the method includes the following steps 202 to 208. Among them:
[0052] Step 202: Receive at least one data packet from an application server.
[0053] Optionally, the application server may be an XR server, or a server for services such as real-time online games. The application server may be deployed at the edge of the operator's network and connected to the optical line terminal OLT.
[0054] Step 204: for each data packet, determine the relevant information of the protocol data unit set PDU set to which the data packet belongs based on the field content contained in the header of the data packet; the relevant information of the PDU set includes the PDU set priority type; and determine the urgency of PDU set transmission based on the relevant information of the PDU set.
[0055] Optionally, the data packet includes a packet header, and the data packet can be parsed to obtain the field content contained in the packet header, and the PDU set priority type, PDU set start packet mark, PDU set end packet mark, and PDU set length and other information can be identified from the field content contained in the packet header, and then the delay budget PSDB, packet loss budget PSER and other information can be obtained by looking up the table. The following describes the detailed identification process.
[0056] The optical line terminal OLT calculates the transmission urgency information of each PDU set of each PDU set priority type that has been identified and has not yet completed transmission. There are multiple optional calculation strategies for the current transmission urgency of a single PDU set. The present invention is not limited to a specific strategy.
[0057] Among them, the degree of transmission urgency is related to the PDU set priority type, and the higher the priority, the higher the degree of transmission urgency. That is, the higher the priority, the higher the degree of transmission urgency. The degree of transmission urgency is also related to whether the current transmission process of the PDU set is within the controllable range of the delay budget PSDB, that is, the degree of transmission urgency is positively correlated with the ratio of the length of data (size) that has not been sent by the PDU set to the total length (size) of the PDU set (that is, the higher the proportion of the size of the data that has not been sent to the total PDU set size, the higher the degree of transmission urgency), and the ratio of the time delay length consumed by the PDU set (the length of time that has passed from the time when the start data packet of the PDU set is sent to the current time) to the total delay budget PSDB of the PDU set (that is, the higher the proportion of the length of time consumed by the PDU set to the total delay budget PSDB of the PDU set, the less time budget is left, and the higher the degree of transmission urgency). The following introduces an example of a transmission urgency calculation strategy.
[0058] Step 206, obtaining priority ratio coefficients corresponding to different PDU set priority types, and determining a first allocation strategy based on the priority ratio coefficients; for the same priority type, allocating according to the urgency of PDU set transmission is used as a second allocation strategy.
[0059] Optionally, the optical line terminal calculates a global optimization strategy, which includes a first allocation strategy and a second allocation strategy that are interrelated; wherein priority ratio coefficients corresponding to different PDU set priority types can be obtained, and the first allocation strategy is determined based on the priority ratio coefficients.
[0060] Specifically, the coordination relationship between PDU sets belonging to different PDU set priority types can be adjusted. The priority types of PDU sets are generally divided into three categories: high, medium, and low. By adjusting the priority ratio coefficients of high, medium, and low priorities, the bandwidth obtained by high, medium, and low priority PDU sets can be dynamically adjusted.
[0061] For example, a strategy of 100% priority can be adopted to guarantee the bandwidth requirements of high-priority PDU sets, a strategy of partially prioritizing the bandwidth requirements of high-priority sets in proportion can be adopted, and a strategy of delaying the satisfaction of bandwidth requirements for low-priority sets can be adopted, or for PDU sets whose delays exceed the delay budget PSDB, the subsequent arriving data packets can be directly discarded, and so on.
[0062] For the same priority type, the second allocation strategy is to allocate according to the degree of urgency of PDU set transmission. Specifically, the collaborative relationship of multiple PDU sets in the PDU set of the same priority class is adjusted. According to the different strategies for the degree of urgency of transmission of a single PDU set calculated in the above steps, for example, it is related to the proportion of the remaining available delay margin in the PSDB of the PDU set to the overall PSDB. The lower the proportion, the higher the urgency of transmission; for another example, the ratio of the total size of the data packets of the PDU set that have been sent cumulatively to the proportion of the delay length that has been consumed in the PSDB of the PDU set to the overall PSDB. The smaller the ratio of these two ratios, the more accumulated data that should be sent within the specified time but has not yet been sent, indicating that the degree of transmission urgency is high, and so on. The present invention does not limit specific strategies.
[0063] Step 208, allocating a downlink time slot for each data packet according to the first allocation strategy and the second allocation strategy; sending the corresponding data packet to the optical network unit ONU in the downlink time slot to instruct the ONU to forward the received data packet to the application terminal.
[0064] The downlink time slots are allocated to different PDU sets according to different priority ratios according to the policy determined in step 206. The ONU receives the PDU set data packet in the downlink time slot allocated by the OLT, and forwards the received PDU set data packet to the application terminal.
[0065] In the above bandwidth allocation method, at least one data packet is received from an application server; for each data packet, based on the field content contained in the header of the data packet, the relevant information of the protocol data unit set PDU set to which the data packet belongs is determined; the relevant information of the PDU set includes the PDU set priority type; according to the relevant information of the PDU set, the degree of urgency of PDU set transmission is determined; the priority ratio coefficient corresponding to different PDU set priority types is obtained, and a first allocation strategy is determined based on the priority ratio coefficient; for the same priority type, the degree of urgency of PDU set transmission is allocated as the second allocation strategy; according to the first allocation strategy and the second allocation strategy, a downlink time slot is allocated for each data packet; in the downlink time slot, the corresponding data packet is sent to the optical network unit ONU to instruct the ONU to forward the received data packet to the application terminal. Effectively distinguishing the priority types of different PDU sets for bandwidth scheduling satisfies the PSDB index and PSER index of the PDU set.
[0066] In an exemplary embodiment, the relevant information of the PDU set also includes: PDU set priority type, PDU set start packet mark, PDU set end packet mark, PDU set length, delay budget PSDB and packet loss budget PSER; the relevant information of the protocol data unit set PDUset to which the data packet belongs is determined based on the field content contained in the header of the data packet, including: identifying the PDU set priority type, the PDU set start packet mark, the PDU set end packet mark and the length of the PDU set from the field content contained in the header of the data packet; searching for the delay budget PSDB and the packet loss budget PSER corresponding to the PDU set priority type from a preset mapping rule; the mapping rule stores the PSDB and PSER corresponding to different PDU set priority types.
[0067] Optionally, the PDUset type and priority (PPM) information can be identified through the relevant fields of the data packet header. For example, the PDUset type can be identified through the new sequence number and new timestamp of the RTP (Real-Time Transport Protocol) header, combined with the M bit, or the S and E bits of the RTP extension header, or the new Type field of the NAL (Network Adaption Layer) field of the RTP media payload header, to identify the start and end packets of the PDU set and the type of the PDU set. For example, the PDU set type can be identified through the payload information media type of HTTP 1.1, the media type of the TCP option field of HTTP2, the UDP option media type of HTTP 3, or the media data extension header of QUIC of HTTP 3. The PDU set sequence number, PDU set size and other information can be obtained through the RTP or MASQUE extension header.
[0068] Among them, the PSDB and PSER corresponding to the priority type of the current PDU set are obtained through the preset correspondence rules between the PDU set priority category PPM and the delay budget PSDB and the packet loss budget PSER.
[0069] In an exemplary embodiment, the urgency of PDU set transmission is determined based on relevant information of the PDU set, including: recording the sending time of the PDU set start data packet based on the PDU set start packet mark; calculating the remaining available delay budget time length based on the sending time, the current time and the delay budget PSDB; calculating the ratio of the remaining available delay budget time length to the delay budget PSDB as a first ratio; obtaining the priority ratio coefficient corresponding to the PDUset priority type, and calculating the ratio between the priority ratio coefficient and the first ratio as the urgency of PDU set transmission.
[0070] The transmission urgency is related to the PDU set priority type. A higher priority corresponds to a higher transmission urgency. That is, the higher the priority, the higher the transmission urgency. The transmission urgency is also related to the ratio of the remaining available delay margin in the PSDB of the PDU set to the total PSDB. The lower the ratio, the higher the transmission urgency.
[0071] Exemplarily, the degree of transmission urgency is calculated as follows: the ratio of the current remaining available delay budget time length of the PDU set to the total delay budget PSDB of the PDU set = {[PSDB – (current moment - the sending time of the start data packet of the PDU set]} / PSDB)}; the degree of transmission urgency = [priority ratio coefficient] / the ratio of the current remaining available delay budget time length of the PDU set to the total delay budget PSDB of the PDU set = [priority ratio coefficient (related to)] / {[PSDB – (current moment - the sending time of the start packet of the PDU set] / PSDB)}.
[0072] In an exemplary embodiment, the urgency of PDU set transmission is determined based on relevant information of the PDU set, including: obtaining a first ratio of the cumulative length of the PDU set data packets sent to the PDU set; obtaining a second ratio of the delay budget time length consumed by the PDU set to the delay budget PSDB; calculating the ratio between the first ratio and the second ratio as the second ratio; obtaining the priority ratio coefficient corresponding to the PDU set priority type, and calculating the ratio between the priority ratio coefficient and the second ratio as the urgency of PDU set transmission.
[0073] Among them, the degree of transmission urgency is related to the PDU set priority type. A higher priority corresponds to a higher degree of transmission urgency. That is, the higher the priority, the higher the proportional coefficient of the degree of transmission urgency. The degree of transmission urgency is also related to the ratio of the total size of the data packets of the PDU set that have been sent cumulatively, and the ratio of the duration that has been consumed in the PSDB of the PDU set to the total PSDB. The smaller the ratio of these two ratios, the more accumulated data that should be sent within the specified time but has not yet been sent, indicating that the degree of transmission urgency is high.
[0074] Exemplarily, the ratio of the total size of the data packets of the PDU set that have been sent cumulatively = the current cumulative size of the data packets of the PDU set / the PDU set size; the ratio of the delay budget time length that has been consumed by the current PDU set (the time length that has elapsed from the time when the start data packet of the PDU set is sent to the current time) to the total delay budget PSDB of the PDU set = [(current time - the time when the start packet of the PDU set is sent) / PSDB ]; the ratio of the total size of the data packets of the PDU set that have been sent cumulatively / the ratio of the delay budget time length that has been consumed by the PDU set to the total delay budget PSDB of the PDU set = [the current cumulative size of the data packets of the PDU set that have been sent / the PDU set size] / [(current time - the time when the start packet of the PDU set is sent) / PSDB ]; the degree of transmission urgency = [priority ratio coefficient (related to)] / [the ratio of the total size of the data packets of the PDU set that have been sent cumulatively / the delay budget time length that has been consumed by the PDU set to the PDU [the ratio of the total delay budget PSDB of the set] = [priority ratio coefficient (related to)] / {[the current cumulative data packet size of the PDUset / the PDU set size] / [(current time - the time when the start packet of the PDU set is sent) / PSDB]}. Other optimization strategies for a single PDU set are not listed one by one.
[0075] In an exemplary embodiment, Figure 3 As shown, a multi-side interaction schematic diagram is provided, and the interaction process includes: the OLT receives at least one data packet from the application server; for each data packet, based on the field content contained in the header of the data packet, determines the relevant information of the protocol data unit set PDU set to which the data packet belongs; the relevant information of the PDU set includes the PDU set priority type; according to the relevant information of the PDU set, determines the degree of urgency of PDU set transmission; obtains the priority ratio coefficient corresponding to different PDU set priority types, and determines a first allocation strategy based on the priority ratio coefficient; for the same priority type, allocates according to the degree of urgency of PDU set transmission as the second allocation strategy; allocates downlink time slots for each data packet according to the first allocation strategy and the second allocation strategy; sends the corresponding data packet to the optical network unit ONU in the downlink time slot, and the ONU forwards the received data packet to the application terminal.
[0076] In an exemplary embodiment, the global optimization strategy is as follows Figure 4 As shown, first identify and obtain PDU set related information, specifically, identify the PDU set priority type (PPM), the PDU set start packet and end packet markers, and the length (size) of the PDU set, and obtain the PDU set delay budget PSDB and packet loss budget PSER. The globally optimized PDU set scheduling strategy includes: a collaborative scheduling strategy (first allocation strategy) for PDU sets of different PPM priority types and a PDU set transmission urgency scheduling strategy (second allocation strategy) for the same PPM priority type. The collaborative scheduling strategy for PDU sets of different PPM priority types includes: a high PPM PDU set scheduling strategy, a medium PPM PDU set scheduling strategy, and a low PPM PDU set scheduling strategy. For the high PPM PDU set scheduling strategy, the priority order can be adjusted according to the remaining available delay margin of the PDU set, or the priority order can be adjusted according to the proportion of the size of the data that has not yet been sent by the PDU set to the total PDU set size, or the priority order can be adjusted according to the proportion of the data packets of the PDU set that have been cumulatively sent to the total PDU set size, and the proportion of the delay length consumed in the PSDB of the PDU set to the total PSDB. For the PDU set scheduling strategy with medium PPM, the priority can also be adjusted according to the remaining available delay margin of the PDU set, or according to the ratio of the size of the data that has not yet been sent by the PDU set to the total PDU set size, or according to the ratio of the data packets of the PDU set that have been sent cumulatively to the total PDU set size, and the ratio of the delay consumed in the PSDB of the PDU set to the total PSDB. For the PDU set scheduling strategy with low PPM, the strategy of delaying to meet the bandwidth requirements can be adopted for low priority, and the subsequent data packets that have occurred in the PDU set that exceed the delay budget PSDB can be directly discarded.
[0077] The following first introduces a method for allocating downlink bandwidth of a protocol data unit set (PDU set) in a network environment where a passive optical network (PON) and a wireless network (WIFI) are coordinated. This method can be applied to Figure 5 In the application environment shown. Figure 5The application environment shown includes: an application server, an optical line terminal OLT, multiple network units ONU, multiple wireless access points AP, a WIFI terminal and an application terminal; the optical line terminal OLT is connected to the application server, the optical line terminal OLT is connected to the multiple network units ONU, each network unit ONU is connected to the corresponding wireless access point AP; each network unit ONU and the corresponding wireless access point AP are co-located or directly connected; each wireless access point AP is connected to the corresponding WIFI terminal; the WIFI terminal is connected to the corresponding application terminal. When the network unit ONU and the wireless access point AP are co-located, the information interaction between the network unit ONU and the wireless access point AP is realized through the internal interface. The application server sends a data packet to the optical line terminal OLT, and the optical line terminal OLT identifies the PDU set related information, obtains the priority type of the PDU set, and the PDU set length and start and end packet marks. In combination with the pre-configured PSDB, PSER and other information corresponding to the PDUset priority type, the requirements of various PDUset priority types are comprehensively considered, and the optimized bandwidth allocation strategy for the current PDU set data packet is comprehensively calculated. OLT allocates downlink time slots to different PDU sets according to the optimization strategy, and sends them to the network unit ONU according to the allocated time slots. The network unit ONU interacts with the wireless access point AP through the internal interface, and informs the wireless access point AP of the PDU set information currently to be sent. The wireless access point AP initiates the control of the downlink channels related to multiple WiFi terminals through the TxOP process, and obtains the available downlink WiFi channel information. The wireless access point AP calculates the downlink channel allocation strategy based on the priority information of the downlink PDU set to be sent and the available downlink WiFi channel information. The wireless access point AP sends the data to the WiFi terminal, and the WiFi terminal forwards the data packet to the application terminal.
[0078] Specifically, the optical line terminal OLT508 receives at least one data packet from the application server 510; for each data packet, based on the field content contained in the header of the data packet, determines the relevant information of the protocol data unit set PDU set to which the data packet belongs; the relevant information of the PDU set includes the PDU set priority type; according to the relevant information of the PDU set, determines the urgency of PDU set transmission; obtains the priority ratio coefficient corresponding to different PDU set priority types, and determines the first allocation strategy based on the priority ratio coefficient; for the same priority type, allocates according to the urgency of PDUset transmission as the second allocation strategy; allocates downlink time slots for each data packet according to the first allocation strategy and the second allocation strategy; sends the corresponding data packet to the optical network unit ONU506 in the downlink time slot, and the ONU506 sends the received data packet and the relevant information of the PDU set to the wireless network node AP504, and the wireless network node AP504 initiates control of the downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and based on the PDU contained in the received relevant information The priority type and the WIFI channel information are set, a downlink channel allocation strategy is calculated, a downlink channel is allocated to the received data packet according to the allocation strategy, the corresponding data packet is sent to the WIFI terminal through the downlink channel, and the WIFI terminal forwards it to the application terminal 502.
[0079] In an exemplary embodiment, Figure 6 As shown, a bandwidth allocation method is provided, which is applied to Figure 5 Taking the optical line terminal 508 as an example, the method includes the following steps 602 to 608. Among them:
[0080] Step 602: Receive at least one data packet from an application server.
[0081] Step 604: for each data packet, determine the relevant information of the protocol data unit set PDU set to which the data packet belongs based on the field content contained in the packet header of the data packet; the relevant information of the PDU set includes the PDU set priority type; and determine the urgency of PDU set transmission based on the relevant information of the PDU set.
[0082] Step 606, obtaining priority ratio coefficients corresponding to different PDU set priority types, and determining a first allocation strategy based on the priority ratio coefficients; for the same priority type, allocating according to the urgency of PDU set transmission is used as a second allocation strategy.
[0083] The specific implementation of steps 602 to 606 refers to the above-mentioned embodiment and will not be described in detail here.
[0084] Step 608: Allocate a downlink time slot for each data packet according to the first allocation strategy and the second allocation strategy; and send the corresponding data packet to the optical network unit ONU in the downlink time slot.
[0085] Among them, the ONU sends the received data packet and the relevant information of the PDU set to which it belongs to to the wireless access point AP, and the wireless access point AP initiates control of the downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and based on the PDU set priority type and the WIFI channel information contained in the received relevant information, calculates the downlink channel allocation strategy, allocates a downlink channel to the received data packet according to the allocation strategy, sends the corresponding data packet to the WIFI terminal through the downlink channel, and the WIFI terminal forwards it to the application terminal.
[0086] Among them, the optical line terminal OLT distributes the downlink time slots to different PDU sets according to different priority ratios according to the above strategy. The network unit ONU receives the PDU set data packet in the downlink time slot allocated by the optical line terminal OLT. When it is co-installed with the wireless access point AP, it interacts with the wireless access point AP through the internal interface to inform the wireless access point AP of the PDU set information currently to be sent. The wireless access point AP initiates the control of the downlink channels related to multiple WiFi terminals through the Transmission Opportunity (TxOP) process and obtains the available downlink WiFi channel information. The wireless access point AP calculates the downlink channel allocation strategy based on the priority type of the PDU set to be sent downlink and the available downlink WiFi channel information. The wireless access point AP sends the PDU set data packet to the WiFi terminal according to the allocated downlink channel. The WiFi terminal receives the data packet and forwards it to the application terminal.
[0087] In the above-mentioned bandwidth allocation method, at least one data packet is received from an application server; for each data packet, based on the field content contained in the header of the data packet, the relevant information of the protocol data unit set PDU set to which the data packet belongs is determined; the relevant information of the PDU set includes the PDU set priority type; according to the relevant information of the PDU set, the degree of urgency of PDU set transmission is determined; the priority ratio coefficient corresponding to different PDU set priority types is obtained, and a first allocation strategy is determined based on the priority ratio coefficient; for the same priority type, the degree of urgency of PDU set transmission is allocated as the second allocation strategy; according to the first allocation strategy and the second allocation strategy, downlink time slots are allocated to each data packet; in the downlink time slot, the corresponding data packet is sent to the optical network unit ONU to instruct the ONU to send the received data packet and the relevant information of the PDU set to which it belongs to to the wireless access point AP to instruct the wireless access point AP to initiate control of the downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and based on the PDU contained in the received relevant information The priority type of the set and the WIFI channel information are used to calculate the downlink channel allocation strategy, allocate a downlink channel for the received data packet according to the allocation strategy, send the corresponding data packet to the WIFI terminal through the downlink channel, and the WIFI terminal forwards it to the application terminal. Effectively distinguish the priority types of different PDU sets for bandwidth scheduling, and meet the PSDB index and PSER index of the PDU set.
[0088] In an exemplary embodiment, a bandwidth allocation method is provided, wherein the method is applied to Figure 5 Taking the wireless access point AP as an example, the invention comprises the following steps: receiving a data packet from an optical network unit ONU and related information of the PDUset to which it belongs; initiating control of the downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and calculating the downlink channel allocation strategy based on the PDU set priority type and the WIFI channel information contained in the received related information; allocating a downlink channel for the received data packet according to the allocation strategy, sending the corresponding data packet to the WIFI terminal through the downlink channel, and forwarding it to the application terminal by the WIFI terminal.
[0089] Among them, the access point (AP) initiates the control of downlink channels related to multiple wireless (WiFi) terminals through the transmission opportunity (TxOP) process and determines the available downlink wireless channels.
[0090] Optionally, the downlink channel allocation strategy in this application does not specifically limit which strategy to adopt. Exemplarily, the downlink channel allocation strategy may adopt a strategy in which high, medium, and low priority PDU set data packets obtain downlink channels in proportion to their priorities. A downlink information allocation strategy related to the degree of transmission urgency may be adopted, which is positively correlated with the ratio of the size of unsent data to the total PDUset size, and positively correlated with the ratio of the delay length consumed by the PDU set (the length of time that has passed from the time the PDU set start data packet is sent to the current time) to the total delay budget PSDB of the PDU set, and so on.
[0091] In the above bandwidth allocation method, the wireless access point AP receives data packets from the optical network unit ONU and related information of the PDU set to which it belongs; initiates control of the downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and calculates the downlink channel allocation strategy based on the PDU set priority type and the WIFI channel information contained in the received related information; allocates a downlink channel to the received data packet according to the allocation strategy, sends the corresponding data packet to the WIFI terminal through the downlink channel, and the WIFI terminal forwards it to the application terminal. Centralized bandwidth control for the PDU set is achieved.
[0092] In an exemplary embodiment, Figure 7As shown, a multi-side interaction schematic diagram is provided, and the interaction process includes: the optical line terminal receives at least one data packet from the application server; for each data packet, based on the field content contained in the header of the data packet, the relevant information of the protocol data unit set PDU set to which the data packet belongs is determined; the relevant information of the PDUset includes the PDU set priority type; according to the relevant information of the PDU set, the urgency of PDU set transmission is determined; the priority ratio coefficient corresponding to different PDU set priority types is obtained, and the first allocation strategy is determined based on the priority ratio coefficient; for the same priority type, the urgency of PDU set transmission is allocated as the second allocation strategy; according to the first allocation strategy and the second allocation strategy, a downlink time slot is allocated for each data packet; in the downlink time slot, the corresponding data packet is sent to the optical network node; the optical network node is jointly provided with an optical network unit ONU and a wireless access point AP, the optical network unit ONU interacts with the wireless access point AP through an internal interface, the optical network unit ONU receives the data packet sent by the optical line terminal OLT, and sends the data packet and the corresponding PDU The relevant information of the set is sent to the wireless access point AP; the wireless access point AP initiates control of the downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and based on the PDU set priority type and the WIFI channel information contained in the received relevant information, a downlink channel allocation strategy is calculated, a downlink channel is allocated to the received data packet according to the allocation strategy, and the corresponding data packet is sent to the WIFI terminal through the downlink channel, which is forwarded to the application terminal by the WIFI terminal.
[0093] In an exemplary embodiment, Figure 8 The figure shows a bandwidth allocation method, in which the optical line terminal OLT identifies the PDUset priority type (PPM), the PDUset start and end packet marks, the length (size) of the PDU set, the delay budget PSDB, and the packet loss budget PSER; calculates the globally optimized PDUset scheduling strategy, including the PDUset scheduling strategy of different PPM priority types (the first allocation strategy) and the PDUset transmission urgency scheduling strategy of the same PPM type (the second allocation strategy); the OLT allocates downlink time slots based on the global optimization strategy. The network unit ONU receives the data packet in the specified time slot, summarizes the current PDUset information, and informs the wireless access point AP of the current PDUset information to be sent through the internal interface; the wireless access point AP initiates the TXOP process, calculates the PDU set downlink allocation strategy, allocates the downlink channel to send the PDU set data packet to the WIFI terminal, and the application terminal receives the PDU set data packet forwarded by the WIFI terminal.
[0094] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0095] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a bandwidth allocation method is implemented.
[0096] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0097] In one embodiment, a communication system is also provided, which is applied to a PON network environment, and includes: an application server, an optical line terminal OLT, multiple network units ONU and an application terminal; the optical line terminal OLT is connected to the application server, the optical line terminal OLT is connected to the multiple network units ONU, and the multiple network units ONU are connected to the application terminal; wherein the optical line terminal OLT is used to receive at least one data packet from the application server; for each data packet, based on the field content contained in the header of the data packet, determine the relevant information of the protocol data unit set PDU set to which the data packet belongs; the relevant information of the PDU set includes the PDU set priority type; according to the relevant information of the PDU set, determine the urgency of PDU set transmission; obtain the priority ratio coefficients corresponding to different PDU set priority types, and determine a first allocation strategy based on the priority ratio coefficient; for the same priority type, allocate according to the urgency of PDUset transmission as the second allocation strategy; allocate downlink time slots for each data packet according to the first allocation strategy and the second allocation strategy; send the corresponding data packet to the corresponding optical network unit ONU in the downlink time slot; the optical network unit ONU is used to forward the received data packet to the corresponding application terminal. For the detailed implementation process, please refer to the aforementioned embodiment.
[0098] In one embodiment, a communication system is also provided, which is applied to a network environment in which a PON network and a wifi network cooperate, and includes: an application server, an optical line terminal OLT, multiple network units ONU, multiple wireless access points AP, a WIFI terminal and an application terminal; the optical line terminal OLT is connected to the application server, the optical line terminal OLT is connected to the multiple network units ONU, and each network unit ONU is connected to a corresponding wireless access point AP; each network unit ONU and the corresponding wireless access point AP are jointly or directly connected; each wireless access point AP is connected to a corresponding WIFI terminal; the WIFI terminal is connected to a corresponding application terminal; the optical line terminal OLT is used to receive at least one data packet from the application server; for each data packet, based on the field content contained in the header of the data packet, determine the relevant information of the protocol data unit set PDU set to which the data packet belongs; the relevant information of the PDU set includes the PDU set priority type; according to the relevant information of the PDU set, determine the urgency of PDU set transmission; obtain the priority ratio coefficient corresponding to different PDU set priority types, and determine the first allocation strategy based on the priority ratio coefficient; for the same priority type, The urgency degree of set transmission is allocated as the second allocation strategy; according to the first allocation strategy and the second allocation strategy, a downlink time slot is allocated for each data packet; the corresponding data packet is sent to the corresponding optical network unit ONU in the downlink time slot; the optical network unit ONU is used to send the received data packet and the relevant information of the PDU set to the corresponding wireless access point AP; the wireless access point AP is used to initiate control of the downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and based on the PDU set priority type and the WIFI channel information contained in the received relevant information, the downlink channel allocation strategy is calculated, the downlink channel is allocated for the received data packet according to the allocation strategy, the received data packet is sent to the corresponding WIFI terminal through the downlink channel, and the WIFI terminal forwards it to the corresponding application terminal; the detailed implementation process refers to the aforementioned embodiment.
[0099] In one embodiment, a communication system is also provided, which is applied to a network environment in which a PON network and a wifi network collaborate, including: an application server, an optical line terminal OLT, multiple network units ONU, multiple wireless access points AP, a WIFI terminal and an application terminal; the optical line terminal OLT is connected to the application server, and the optical line terminal OLT is connected to the multiple network units ONU, and each network unit ONU is connected to a corresponding wireless access point AP; each network unit ONU and the corresponding wireless access point AP are jointly arranged or directly connected; each wireless access point AP is connected to a corresponding WIFI terminal; the WIFI terminal is connected to a corresponding application terminal; the passive optical network PON takes GPON as an example, and the WiFi network takes 802.11ax (WiFi6) as an example.
[0100] A new downlink timeslot allocation strategy module based on PSDB optimization of PDU set in collaboration between PON network and WiFi network is added in the optical line terminal OLT. The functions of this module are as follows:
[0101] Function point 1: Identify PDUset related information. PDUset related information includes PDU set priority type, PDUset start packet mark, PDU set end packet mark, PDU set length, delay budget PSDB and packet loss budget PSER, etc. The specific identification process is described in the above embodiment and will not be repeated here.
[0102] Function point 2: Calculate the global optimization strategy of PDU set. Transmission priority of a single PDU set. The optical line terminal OLT calculates the transmission urgency related information of each PDUset of each PDU set priority type that has been identified and has not yet completed transmission. There are multiple optional calculation strategies for the current transmission urgency of a single PDU set. For a specific introduction, please refer to the description of the aforementioned embodiment, which will not be repeated here.
[0103] Function point 3: Global optimization of transmission priorities of multiple PDU sets. This includes a first allocation strategy and a second allocation strategy, which are described in detail in the above-mentioned embodiment and will not be described again here.
[0104] Function point 4: Allocate downstream time slots for PDU sets at the optical line terminal OLT. At the optical line terminal OLT, according to the strategy in the above steps, allocates downstream time slots to different PDU sets according to different priority ratios.
[0105] A new downlink RU allocation algorithm module in the TxOP process based on PSDB optimization of PDU set in collaboration between PON network and WiFi network is added in the wireless access point AP. The functions of this module are as follows:
[0106] Function point 1: The wireless access point AP performs centralized control of the downlink channel through the TxOP process. The wireless access point AP initiates control of the downlink channels related to multiple WiFi terminals and obtains the available downlink WiFi channel information.
[0107] Function point 2: The wireless access point AP calculates the PDU set downlink allocation strategy. The wireless access point AP calculates the downlink channel allocation strategy based on the downlink PDU set priority information to be sent and the available downlink WiFi channel information. The relevant strategy is not specifically limited in the present invention. For example, a strategy can be adopted to obtain downlink channels in proportion to the priority of PDU set data packets with high, medium, and low priority PPM. For example, a downlink information allocation strategy related to the urgency of transmission can be adopted, and the proportion of the size of the unsent data to the total PDU set size is positively correlated, and the proportion of the delay time consumed by the PDU set (the length of time elapsed from the time when the PDU set start data packet is sent to the current time) to the total delay budget PSDB of the PDU set is positively correlated, and so on.
[0108] Function point 3: The wireless access point AP sends the data packet of the PDU set to the WiFi terminal according to the allocated downlink channel.
[0109] In the scenario where the network unit ONU has its own AP function, a new internal interface between the network unit ONU and the wireless access point AP is added, as follows:
[0110] Function point 1: The network unit ONU interacts with the wireless access point AP through the internal interface and informs the wireless access point AP of the PDU set information currently to be sent.
[0111] Other systems and functions can use the original GPON system and functions, WiFi system and functions. The overall functional flow of the above system can refer to the description of the technical solution in the above embodiment.
[0112] In some embodiments, GPON and WiFi 802.11ax are taken as examples. The overall network architecture is that the application server (such as industrial control server, VR server, video server, etc.) is connected to the optical line terminal OLT, the optical line terminal OLT is connected to multiple network units ONU through the optical network, the network unit ONU is connected to the WiFi AP, and the WiFi AP is connected to the application terminal through the WiFi network. At present, in most cases, the ONU can have its own WiFi AP function.
[0113] The downstream information flow passes through the application server, optical line terminal OLT, optical network, network unit ONU, WiFi AP, and WiFi network to reach the application terminal.
[0114] A new downlink timeslot allocation strategy module is added in the optical line terminal OLT. The function of this module is described in the previous text. A new downlink RU allocation algorithm module is added in the wireless access point AP. The function of this module is described in the previous text. In the scenario where the network unit ONU has its own AP function, a new network unit ONU and AP internal interface is added. The function of this interface is described in the previous text.
[0115] The overall network architecture is: the application server (such as XR server) is connected to the OLT, the OLT is connected to multiple ONUs through the optical network, the ONU is connected to the WiFi AP, and the WiFi AP is connected to the terminal through the WiFi network. The ONU can be combined with the WiFi AP function to realize the information exchange between the ONU and the AP through the internal interface.
[0116] In a certain unit time: the application server sends a data packet to the OLT, the OLT identifies the PDU set related information, obtains the priority type of the PDU set, as well as the PDU set length and the start and end packet marks. Combined with the pre-configured PSDB, PSER and other information corresponding to the PDUset priority type, the requirements of various PDUset priority types are comprehensively considered to comprehensively calculate the optimized bandwidth allocation strategy for the current PDU set data packet. The optical line terminal OLT allocates downlink time slots to different PDU sets according to the optimization strategy, and sends them to the network unit ONU according to the allocated time slots. The network unit ONU interacts with the wireless access point AP through the internal interface to inform the wireless access point AP of the PDU set information currently to be sent. The wireless access point AP initiates the control of the downlink channels related to multiple WiFi terminals through the TxOP process, and obtains the available downlink WiFi channel information. The wireless access point AP calculates the downlink channel allocation strategy based on the downlink PDU set priority information to be sent and the available downlink WiFi channel information. The wireless access point AP sends the data to the WiFi terminal, and the WiFi terminal forwards the data packet to the application terminal.
[0117] Specifically, the newly added downlink time slot allocation strategy module in the optical line terminal OLT completes the following actions: (1) Identify PDUset related information; (2) Calculate the global optimization strategy; (3) Calculate the global optimization strategy of the transmission priority of multiple PDU sets; (4) Allocate downlink time slots for PDU sets. For detailed introduction, please refer to the above text and will not be repeated here.
[0118] The newly added downlink RU allocation algorithm module on the wireless access point AP completes the following actions: (1) Centralized control of downlink channels through the TxOP process. (2) Calculation of the PDU set downlink allocation strategy. (3) According to the allocated downlink channel, the PDU set data is sent to the WiFi terminal. The WiFi terminal receives the data packet and forwards it to the application terminal. The above process can be repeated. For detailed introduction, please refer to the above text and will not be repeated here.
[0119] Based on the original passive optical network PON (taking GPON as an example) and wireless network WIFI (taking 802.11ax as an example), the system adds a downlink time slot allocation strategy module in the optical line terminal OLT, a downlink RU allocation algorithm module in the wireless access point AP, and a new internal interface between ONU and AP in the scenario where the network unit ONU has its own AP function. Through the downlink time slot allocation strategy module in the optical line terminal OLT, the downlink RU allocation algorithm module in the wireless access point AP, and the internal interface between the network unit ONU and AP, the PSDB optimized downlink bandwidth allocation of the PDU set coordinated by the passive optical network PON and the wireless network WIFI is realized. It can effectively optimize and improve the PDU set delay and timeliness from the application server to the application terminal in the network environment coordinated by the PON network and the WiFi network.
[0120] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0121] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0122] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0123] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0124] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0125] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A bandwidth allocation method, characterized in that: The method comprises: A method for allocating downstream bandwidth of a protocol data unit set (PDU set) in a passive optical network (PON); and The invention discloses a downlink bandwidth allocation method of a protocol data unit set (PDU set) in a network environment where a passive optical network (PON) and a wireless network (WIFI) cooperate.
2. The method according to claim 1, characterized in that The method for allocating downlink bandwidth of a protocol data unit set PDUset in the passive optical network PON comprises: receiving at least one data packet from an application server; For each data packet, based on the field content included in the header of the data packet, determining relevant information of the protocol data unit set PDU set to which the data packet belongs; the relevant information of the PDU set includes a PDU set priority type; and determining the urgency of PDU set transmission according to the relevant information of the PDU set; Obtaining priority ratio coefficients corresponding to different PDU set priority types, and determining a first allocation strategy based on the priority ratio coefficients; for the same priority type, allocating according to the urgency of PDU set transmission as a second allocation strategy; According to the first allocation strategy and the second allocation strategy, a downlink time slot is allocated to each data packet; and the corresponding data packet is sent to the optical network unit ONU in the downlink time slot to instruct the ONU to forward the received data packet to the application terminal.
3. The method according to claim 1, characterized in that The method for allocating downlink bandwidth of a protocol data unit set PDU set in a network environment where a passive optical network PON and a wireless network WIFI cooperate, comprises: receiving at least one data packet from an application server; For each data packet, based on the field content included in the header of the data packet, determining relevant information of the protocol data unit set PDU set to which the data packet belongs; the relevant information of the PDU set includes a PDU set priority type; and determining the urgency of PDU set transmission according to the relevant information of the PDU set; Obtaining priority ratio coefficients corresponding to different PDU set priority types, and determining a first allocation strategy based on the priority ratio coefficients; for the same priority type, allocating according to the urgency of PDU set transmission as a second allocation strategy; According to the first allocation strategy and the second allocation strategy, a downlink time slot is allocated for each data packet; the corresponding data packet is sent to the optical network unit ONU in the downlink time slot to instruct the ONU to send the received data packet and the relevant information of the PDU set to which it belongs to the wireless access point AP, so as to instruct the wireless access point AP to initiate control of the downlink channels of multiple wireless network WIFI terminals and obtain available downlink WIFI channel information; and based on the PDU set priority type and the WIFI channel information contained in the received relevant information, a downlink channel allocation strategy is calculated, a downlink channel is allocated for the received data packet according to the allocation strategy, and the corresponding data packet is sent to the WIFI terminal through the downlink channel, which is forwarded to the application terminal by the WIFI terminal.
4. The method according to claim 2 or 3, characterized in that: The PDU set related information also includes: PDU set priority type, PDU set start packet mark, PDU set end packet mark, PDU set length, delay budget PSDB and packet loss budget PSER; The determining, based on the field content included in the header of the data packet, the relevant information of the protocol data unit set PDU set to which the data packet belongs includes: Identify the PDU set priority type, the PDU set start packet marker, the PDU set end packet marker, and the length of the PDU set from the field contents included in the header of the data packet; The delay budget PSDB and the packet loss budget PSER corresponding to the PDU set priority type are searched from a preset mapping rule; the PSDB and PSER corresponding to different PDU set priority types are stored in the mapping rule.
5. The method according to claim 2 or 3, characterized in that: Determining the urgency of PDUset transmission according to the relevant information of the PDUset, including: Based on the PDU set start packet mark, record the sending time of the PDU set start data packet; Calculate the remaining available delay budget time length based on the sending time, the current time and the delay budget PSDB; Calculate a ratio of the remaining available delay budget time length to the delay budget PSDB as a first ratio; Obtain a priority ratio coefficient corresponding to the PDU set priority type, and calculate a ratio between the priority ratio coefficient and the first ratio as the urgency of PDU set transmission.
6. The method according to claim 2 or 3, characterized in that: Determining the urgency of PDUset transmission according to the relevant information of the PDUset, including: Acquire a first ratio of the data packets of the PDU set that have been accumulatively sent to the length of the PDU set; Obtain a second ratio of the delay budget time length consumed by the PDU set to the delay budget PSDB; calculating a ratio between the first ratio and the second ratio as a second ratio; Obtain a priority ratio coefficient corresponding to the PDU set priority type, and calculate a ratio between the priority ratio coefficient and the second ratio as the urgency of PDU set transmission.
7. A bandwidth allocation method, characterized in that: The method is applied to an optical network unit ONU in a passive optical network PON, and comprises: Receive data packets from the optical line terminal OLT; The data packet is forwarded to the application terminal.
8. A bandwidth allocation method, characterized in that: An optical network unit ONU applied in a network environment where a passive optical network PON and a wireless network WIFI collaborate, the method comprising: Receive data packets from the line terminal OLT and related information of the PDU set to which they belong; Send the data packet and the relevant information of the PDU set to the wireless access point AP to instruct the wireless access point AP to initiate control of the downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and calculate the downlink channel allocation strategy based on the PDU set priority type and the WIFI channel information contained in the received relevant information, allocate a downlink channel to the received data packet according to the allocation strategy, send the corresponding data packet to the WIFI terminal through the downlink channel, and forward it to the application terminal by the WIFI terminal; The optical network unit ONU and the wireless access point AP are jointly arranged, or the optical network unit ONU and the wireless access point AP are directly connected.
9. A bandwidth allocation method, characterized in that: A wireless access point AP applied to a network environment where a passive optical network PON and a wireless network WIFI collaborate, the method comprising: Receive data packets from the optical network unit ONU and related information of the PDU set to which it belongs; Initiate control of downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and calculate a downlink channel allocation strategy based on the PDU set priority type and the WIFI channel information contained in the received relevant information; Allocate a downlink channel for the received data packet according to the allocation strategy, send the corresponding data packet to the WIFI terminal through the downlink channel, and forward it to the application terminal by the WIFI terminal; The optical network unit ONU and the wireless access point AP are jointly arranged, or the optical network unit ONU and the wireless access point AP are directly connected.
10. A communication system, characterized in that: include: An application server, an optical line terminal OLT, a plurality of network units ONU and an application terminal; the optical line terminal OLT is connected to the application server, the optical line terminal OLT is connected to the plurality of network units ONU, and the plurality of network units ONU is connected to the application terminal; wherein, The optical line terminal OLT is used to receive at least one data packet from the application server; for each data packet, based on the field content contained in the header of the data packet, determine the relevant information of the protocol data unit set PDUset to which the data packet belongs; the relevant information of the PDU set includes the PDU set priority type; according to the relevant information of the PDU set, determine the urgency of PDU set transmission; obtain the priority ratio coefficient corresponding to different PDU set priority types, and determine the first allocation strategy based on the priority ratio coefficient; for the same priority type, allocate according to the urgency of PDU set transmission as the second allocation strategy; allocate downlink time slots for each data packet according to the first allocation strategy and the second allocation strategy; send the corresponding data packet to the corresponding optical network unit ONU in the downlink time slot; The optical network unit ONU is used to forward the received data packets to the corresponding application terminal.
11. The system according to claim 10, characterized in that The optical line terminal OLT comprises a downlink time slot allocation strategy module based on a passive optical network PON, and the downlink time slot allocation strategy module is used for: Determine, based on the field content contained in the header of the data packet, relevant information of the protocol data unit set PDUset to which the data packet belongs; the relevant information of the PDU set includes a PDU set priority type; Determining the urgency of PDU set transmission according to the relevant information of the PDU set; Obtaining priority ratio coefficients corresponding to different PDU set priority types, and determining a first allocation strategy based on the priority ratio coefficients; For the same priority type, the second allocation strategy is to allocate according to the urgency of PDU set transmission; According to the first allocation strategy and the second allocation strategy, a downlink time slot is allocated to each data packet.
12. A communication system, characterized in that: include: Application server, optical line terminal OLT, multiple network units ONU, multiple wireless access points AP, WIFI terminal and application terminal; The optical line terminal OLT is connected to the application server, and the optical line terminal OLT is connected to the multiple network units ONU, each network unit ONU is connected to a corresponding wireless access point AP; each network unit ONU and the corresponding wireless access point AP are jointly set or directly connected; each wireless access point AP is connected to a corresponding WIFI terminal; the WIFI terminal is connected to a corresponding application terminal; The optical line terminal OLT is used to receive at least one data packet from the application server; For each data packet, determining, based on the field content included in the header of the data packet, relevant information of the protocol data unit set PDUset to which the data packet belongs; The relevant information of the PDU set includes a PDU set priority type; Determining the urgency of PDU set transmission according to the relevant information of the PDU set; Obtaining priority ratio coefficients corresponding to different PDU set priority types, and determining a first allocation strategy based on the priority ratio coefficients; For the same priority type, the second allocation strategy is to allocate according to the urgency of PDU set transmission; Allocate a downlink time slot for each data packet according to the first allocation strategy and the second allocation strategy; send the corresponding data packet to the corresponding optical network unit ONU in the downlink time slot; The optical network unit ONU is used to send the received data packet and the related information of the corresponding PDU set to the corresponding wireless access point AP; The wireless access point AP is used to initiate control of downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and based on the PDU set priority type and the WIFI channel information contained in the received relevant information, calculate the downlink channel allocation strategy, allocate a downlink channel for the received data packet according to the allocation strategy, send the received data packet to the corresponding WIFI terminal through the downlink channel, and forward it to the corresponding application terminal by the WIFI terminal.
13. The system according to claim 12, characterized in that The optical line terminal OLT includes a downlink time slot allocation strategy module based on the collaboration between the PON network and the WiFi network, and the downlink time slot allocation strategy module is used to: Determine, based on the field content contained in the header of the data packet, relevant information of the protocol data unit set PDUset to which the data packet belongs; the relevant information of the PDU set includes a PDU set priority type; Determining the urgency of PDU set transmission according to the relevant information of the PDU set; Obtaining priority ratio coefficients corresponding to different PDU set priority types, and determining a first allocation strategy based on the priority ratio coefficients; For the same priority type, the second allocation strategy is to allocate according to the urgency of PDU set transmission; According to the first allocation strategy and the second allocation strategy, a downlink time slot is allocated to each data packet.
14. The system according to claim 12, characterized in that The wireless access point AP includes a downlink RU allocation algorithm module based on the collaboration between the PON network and the WiFi network, and the downlink RU allocation algorithm module is used to: Initiate control of downlink channels of multiple wireless network WIFI terminals to obtain available downlink WIFI channel information; and calculate a downlink channel allocation strategy based on the PDU set priority type and the WIFI channel information contained in the received relevant information, allocate a downlink channel for the received data packet according to the allocation strategy, and send the received data packet to the corresponding WIFI terminal through the downlink channel.
15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.