Resource allocation method, communication node and storage medium

By obtaining and reserving the delay resource information of the network link, and determining the target path according to the traffic specifications and delay level of the business flow, the problem of delay and bandwidth allocation relationship management in the IP network is solved, and the delay of the business flow is realized. Upper bound guarantee and business requirement coverage.

CN118555658APending Publication Date: 2024-08-27ZTE CORP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310207038.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The existing technology cannot effectively manage and maintain the relationship between different delay levels and their bandwidth allocation information in an IP network based on statistical multiplexing. As a result, the per-hop delay upper bound of business traffic cannot be strictly guaranteed, and the number of priority levels cannot be strictly guaranteed. Cover a wide range of business needs.

Method used

By obtaining the delay resource information of each link in the target network, the target path is determined based on the traffic specifications and delay level information of the service flow to be transmitted, and corresponding delay resources are reserved along the path to ensure the timeliness of the service flow. Delayed needs are met.

Benefits of technology

It realizes the provision of delay resources related to the delay level for the business flow to be transmitted, ensuring the certainty of the upper bound of the delay of each hop, meeting a variety of business needs, and optimizing the delay resource allocation status of the link.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555658A
    Figure CN118555658A
Patent Text Reader

Abstract

The invention provides a resource allocation method, a communication node and a storage medium. The resource allocation method comprises the following steps: acquiring time delay resource information of each link in a target network; wherein the time delay resource information is used for representing forwarding resource information corresponding to each time delay level on the corresponding link; determining a target path corresponding to the to-be-transmitted service flow according to the traffic specification and the time delay level information of the to-be-transmitted service flow and the time delay resource information of each link; and sending the to-be-transmitted service flow by adopting the target path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a resource allocation method, a communication node and a storage medium. Background Art

[0002] RFC5305 describes a bandwidth allocation method for multiple priorities, but the bandwidth allocated to each priority is independent of the delay, that is, the delay requirement of the service is not resolved, so the upper limit of the delay per hop of the service traffic cannot be strictly guaranteed. For example, bandwidth resources that are independent of the delay can be reserved for multiple service flows of the same priority on the egress port of a node. When these service flows are sent to the egress port at the same time, it is impossible to give a definite node delay for each service flow. The traffic with good luck can be sent at the first time, while the traffic with the worst luck needs to wait until other traffic is sent. In addition, the number of levels contained in each priority cannot cover a wide range of service needs. Therefore, how to manage and maintain the relationship between different delay levels and their bandwidth allocation information in an IP network based on statistical multiplexing is an urgent problem to be solved. Summary of the invention

[0003] In view of this, an embodiment of the present application provides a resource allocation method, a communication node and a storage medium, which realizes providing delay resources related to the delay level for the service flow to be transmitted.

[0004] The present application provides a resource allocation method, including:

[0005] Obtaining delay resource information of each link in the target network; wherein the delay resource information is used to characterize the forwarding resource information corresponding to each delay level on the corresponding link;

[0006] Determine a target path corresponding to the service flow to be transmitted according to the flow specification and delay level information of the service flow to be transmitted, and the delay resource information of each link;

[0007] The target path is used to send the service flow to be transmitted.

[0008] An embodiment of the present application provides a communication node, comprising: a memory, and one or more processors;

[0009] The memory is configured to store one or more programs;

[0010] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.

[0011] An embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a flow chart of a resource allocation method provided in an embodiment of the present application;

[0013] Figure 2 It is a configuration diagram of a delay resource model of a link provided in an embodiment of the present application;

[0014] Figure 3 It is a schematic diagram of a frame structure configuration of a delay resource sub-TLV provided in an embodiment of the present application;

[0015] Figure 4 is a relationship diagram between a delay resource requirement and a delay resource reservation of a path provided in an embodiment of the present application;

[0016] Figure 5 It is a configuration diagram of another link delay level model provided in an embodiment of the present application;

[0017] Figure 6 It is a configuration diagram of another link delay level model provided in an embodiment of the present application;

[0018] Figure 7 is a structural block diagram of a resource allocation device provided in an embodiment of the present application;

[0019] Figure 8 It is a structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] The following will describe the embodiments of the present application in conjunction with the accompanying drawings. The following will describe the present application in conjunction with the accompanying drawings of the embodiments, and the examples cited are only used to explain the present application and are not used to limit the scope of the present application.

[0021] RFC8655 describes the architecture of deterministic networks and defines the Quality of Service (QoS) objectives of deterministic forwarding: the minimum and maximum delays from source to destination, as well as bounded delay jitter; the allowed packet loss rate; and the upper bound of out-of-order packet delivery. In order to achieve these QoS objectives, deterministic networks use resource reservation, explicit routing, and service protection. Among them, resource reservation refers to the occupation of resources by service traffic, either exclusively or shared in a certain proportion, such as physical links, link bandwidth, and queue resources; explicit routing refers to the need to select the transmission path of the service flow in the network in advance to ensure the stability of the route and not change with the real-time changes of the network topology. Based on this, the end-to-end delay upper bound and jitter upper bound can be accurately calculated; service protection refers to sending multiple service flows along multiple non-intersecting paths at the same time to reduce the packet loss rate. In general, a deterministic path is a strictly explicit path calculated by a centralized controller, and resources are reserved at nodes along the path to meet the service level agreement (SLA) requirements of deterministic services.

[0022] In the prior art, traffic arrival curves and service curves related to various packet scheduling algorithms are proposed to achieve the desired deterministic delay. For example, a Deadline scheduling mechanism is proposed in the existing scheme. The schedulability condition formula of this mechanism shows the relationship between various node-based planned residence delay levels and their traffic arrival constraint functions. Among them, the traffic arrival constraint function means that the bandwidth used by the traffic received by the node meets the corresponding restriction conditions. For example, if you want to support n types of node-based planned residence delay levels (denoted as D1, D2, ... D n ), and the traffic arrival constraint function for each delay level Di is the leaky bucket arrival curve Ai = σ i +ρ i *t, where the parameter σ i is the burst volume of the service flow, ρ i is the arrival rate of the service flow, and t is the time. The above relationship can be expressed as:

[0023] σ1<=C*D1-M

[0024] σ1+σ2+ρ1(D2-D1)<=C*D2-M

[0025] σ1+σ2+σ3+ρ1(D3-D1)+ρ2(D3-D2)<=C*D3-M ......

[0027] σ1+...+σ n +ρ1(D n-D1)+ρ2(D n -D2)+...+ρ n-1 (D n -D n-1 )<=C*D n -M

[0028] Among them, C is the service rate of the deadline scheduler, and M is the maximum interference frame length. From the above relationship, it can be seen that a set of supported delay levels D1, D2, ... D n Based on this, the parameters σ and ρ of the traffic arrival constraint function corresponding to each delay level can be designed.

[0029] Similarly, the prior art also proposes a multi-cycle enhanced cyclic queue forwarding (CQF) scheduling mechanism, which describes the relationship between various cycle levels and their reserved bandwidths. Each cycle level has a corresponding reserved bandwidth quota, and the sum of the reserved bandwidth quotas of all cycle levels cannot exceed the total bandwidth of the link. Services belonging to the corresponding cycle level can allocate bandwidth resources in the relevant reserved bandwidth quota. For example, if you want to support n cycle levels (denoted as D1, D2, ... D n ), and the traffic arrival constraint function for each delay level Di is the leaky bucket arrival curve Ai = σ i +ρ i *t, where the parameter σ i is the burst volume of the service flow, ρ i is the arrival rate of the service flow, and t is the time. The above relationship can be expressed as:

[0030] [D n / D1]*σ1+...+[D n / D n ]*σ n <=C*D n

[0031] ρ i =max{(σ i +M) / D i ,R i}

[0032] ρ1+…+ρ n ≤C

[0033] Among them, C is the service rate of the CQF scheduler, M is the maximum interference frame length, R i It is the reserved bandwidth for the service flow. From the above relationship, it can be seen that a set of supported cycle levels D1, D2, ... D can be planned in the network. nBased on this, the burst parameter σ and arrival rate parameter ρ of the traffic arrival constraint function corresponding to each delay level can be designed.

[0034] Although the above existing solutions have proposed the need to manage and maintain the relationship between different delay levels and their bandwidth allocation information in the network, however, this information is currently missing in IP networks based on statistical multiplexing. In the prior art, for example, the IETF document RFC5305 describes a bandwidth allocation method for 8 priorities, but the bandwidth allocated to each priority is irrelevant to the delay, and the delay demand problem of the service is not solved. Therefore, the upper limit of the delay per hop of the service flow cannot be strictly guaranteed. For example, bandwidth resources that are irrelevant to the delay can be reserved on the egress port of a certain node for multiple service flows of the same priority. When these service flows are sent to the egress port at the same time, a certain node delay cannot be given for each service flow. The traffic with good luck can be sent in the first time, while the traffic with the worst luck needs to wait until other traffic is sent. In addition, the number of levels included in the 8 priorities cannot cover a wide range of service needs.

[0035] In order to solve the above problems, the present application introduces delay-related forwarding resources into the network and describes its classification and notification method.

[0036] In one embodiment, Figure 1 1 is a flow chart of a resource allocation method provided by an embodiment of the present application. This embodiment is applied to the case of performing resource allocation in packet multiplexing technology. This embodiment can be executed by a communication node or a controller. Figure 1 As shown, this embodiment includes: S110-S130.

[0037] S110. Obtain delay resource information of each link in the target network; wherein the delay resource information is used to represent forwarding resource information corresponding to each delay level on the corresponding link.

[0038] S120. Determine a target path corresponding to the service flow to be transmitted according to the flow specification and delay level information of the service flow to be transmitted, and the delay resource information of each link.

[0039] S130: Use the target path to send the service flow to be transmitted.

[0040] In an embodiment, forwarding resource information related to the delay level is configured and maintained in the network, and the reservation application of the delay resource of the service flow is responded to, so as to maintain the allocation status information of the delay resource information of the link, and provide a basis for the planning and deployment of the service flow to be transmitted. In an embodiment, the delay resource information of each link can represent the forwarding resource information composed of one or more delay levels. For the service flow to be transmitted with specific requirements for the upper limit of each hop delay, the amount corresponding to its flow specification can be reserved in the idle burst quota and bandwidth quota of the corresponding delay level of each hop link through which the flow passes according to the flow specification of the service flow to be transmitted. This reservation action can be uniformly implemented by a centralized controller, or implemented on each node in the network through a distributed protocol (such as the extended Resource Reservation Protocol (RSVP-TE)). After the reservation is successful, the used and idle burst quota or bandwidth quota information of the link will be updated.

[0041] In one embodiment, the resource allocation method further includes: configuring forwarding resource information corresponding to each delay level according to a schedulability condition to obtain delay resource information of the corresponding link; the schedulability condition is related to a specific message scheduling mechanism to meet the conditions for deterministic forwarding.

[0042] In one embodiment, the acquiring of the delay resource information of each link in the target network includes one of the following:

[0043] The nodes in the target network inform each other of the delay resource information of each link, so that the nodes in the target network obtain the delay resource information of each link;

[0044] The nodes in the target network notify the controller of the delay resource information of each link, so that the controller obtains the delay resource information of each link.

[0045] In one embodiment, the forwarding resource information corresponding to each delay level includes at least the following parameters: basic delay; worst sending delay; burst quota information; bandwidth quota information.

[0046] In an embodiment, the basic delay (denoted as class delay) represents the basic delay corresponding to the delay class. For example, in the Deadline scheduling mechanism, the basic delay of a delay class is the planned residence time of the delay class; in the Multi-CQF scheduling mechanism, the basic delay of a delay class is the cycle length of the delay class.

[0047] In the embodiment, the worst transmission delay (denoted as transmission delay) represents the worst transmission delay in the node corresponding to the delay level. The worst transmission delay in a node refers to the maximum waiting time for a service flow from arriving at the ingress port of the node to being sent to the egress port of the node, in units of us (other units such as ns, ms, etc. may also be used). Note that the worst transmission delay in a node refers to the maximum waiting time for a service flow to be sent to a link in the node, excluding the propagation delay (Propagation Delay) related to the link length. Different scheduling mechanisms have their own calculation methods, which can obtain the worst transmission delay in a node based on the basic delay. For example, in the Deadline scheduling mechanism, the worst transmission delay in a node of a certain delay level is the basic delay of the delay level; and in the Multi-CQF scheduling mechanism, the worst transmission delay in a node of a certain delay level is generally several times the basic delay of the delay level (plus a certain amount of phase difference). The average of the minimum delay and the maximum delay can be selected as the worst transmission delay according to the local strategy. The worst sending delay within a node can be used to calculate the end-to-end delay of the path.

[0048] In one embodiment, the burst quota information includes at least one of the following: initial burst amount; used burst amount; free burst amount;

[0049] The bandwidth quota information includes at least one of the following: initial bandwidth amount; used bandwidth amount; idle bandwidth amount.

[0050] Among them, the initial amount of burst volume is equal to the sum of the used amount of burst volume and the idle amount of burst volume. In an embodiment, the burst volume quota information (recorded as burst_quota) represents the burst volume quota corresponding to the delay level, and the unit is bit (byte, word and other units can also be used). The quota may further include attributes such as the initial amount (initial), the amount used by the business (used), and the unused (idle) amount (unused). Since initial = used + unused, considering the simplicity of design, only two of the attributes need to be included. For example, one design is: provide an initial value in the burst_quota attribute, and then add an unused attribute to provide an idle value. It can be seen that the idle value at the initial time is also the initial value.

[0051] Among them, the initial amount of bandwidth is equal to the sum of the used bandwidth and the idle bandwidth. In an embodiment, the bandwidth quota information (recorded as bandwidth_quota) represents the bandwidth quota corresponding to the delay level, and the unit is bits / s (bytes / s, words / s and other units can also be used). The quota may further include attributes such as the initial amount (initial), the amount used by the business (used), and the unused (idle) amount (unused). Since initial = used + unused, considering the simplicity of design, only two of the attributes need to be included. For example, one design is: provide an initial value in the burst_quota attribute, and then add an unused attribute to provide an idle value. It can be seen that the idle value at the initial time is also the initial value.

[0052] Figure 2 FIG. 1 is a schematic diagram of a configuration of a link delay resource model provided in an embodiment of the present application. Figure 2 As shown, the delay resource model includes N delay classes, namely Delay Class 1, Delay Class 2, ..., Delay Class N. The forwarding resource information corresponding to each delay class includes: basic delay; worst transmission delay; burst quota information; bandwidth quota information. Exemplarily, delay class 1 (Delay Class 1) includes: class delay_1, transmission delay_1, burst_quota_1, and bandwidth_quota_1; delay class 2 (i.e., Delay Class 2) includes: class delay_2, transmission delay_2, burst_quota_2, and bandwidth_quota_2;.

[0053] In one embodiment, the notification message corresponding to the delay resource information includes: a delay resource subtype length value TLV;

[0054] Among them, a delay resource sub-TLV corresponds to the forwarding resource information of a delay level. In an embodiment, the IGP protocol can be extended to support the notification of delay resource information of the link. Exemplarily, the existing ISIS protocol set defines TLVs for announcing adjacency relationships. In an embodiment of the present application, a new sub-TLV can be added to TLVs, denoted as a delay resource sub-TLV (Delay Resource Sub-TLV), which is used to carry the delay resources corresponding to a certain delay level of the link. In order to announce the delay resources corresponding to multiple delay levels, multiple Delay Resource Sub-TLVs can be included in the announcement message. In one embodiment, the frame structure of the delay resource sub-TLV includes at least the following fields: type field; length field; basic delay field; worst send delay field; burst quota field; bandwidth quota field.

[0055] In the embodiment, the type field (Type) occupies 1 byte, and its value is to be assigned by the Internet Assigned Numbers Authority (IANA) to indicate that this TLV is the TransmissionDelay Resource Sub-TLV.

[0056] Length field (Length): occupies 1 byte and indicates the content length of this TLV (excluding the Type and Length fields themselves).

[0057] Basic delay field (Class Delay): occupies 2 bytes, indicating the basic delay corresponding to a certain delay class supported by the link, in microseconds (us). Different delay classes must correspond to different basic delays.

[0058] Worst transmission delay field (Transmission Delay): occupies 2 bytes, indicating the worst transmission delay within the node corresponding to a certain delay level supported by the link, in microseconds (us). The worst transmission delay within the node corresponding to different delay levels must be different.

[0059] Burst Quota field: occupies 8 bytes and indicates the burst quota information corresponding to the latency level, in bits.

[0060] Bandwidth Quota: occupies 8 bytes, indicating the relevant information of the bandwidth quota corresponding to the latency level, in bits. In one embodiment, the burst quota field includes at least one of the following: burst initial amount field; burst used amount field; burst idle amount field;

[0061] The bandwidth quota field includes at least one of the following: a bandwidth initial amount field; a bandwidth used amount field; and a bandwidth idle amount field.

[0062] In an embodiment, the burst quota field may include any two fields of the burst initial amount field, the burst usage field and the burst idle amount field. Similarly, the bandwidth quota field may include any two fields of the bandwidth initial amount field, the bandwidth used amount field and the bandwidth idle amount field. Among them, the burst initial amount field, the burst usage field and the burst idle amount field all occupy 4 bytes, and the bandwidth initial amount field, the bandwidth used amount field and the bandwidth idle amount field all occupy 4 bytes. In an embodiment, the burst initial amount field (Burst Quota Initial): occupies 4 bytes, indicating the initial value of the burst quota corresponding to the delay level, in bits; the burst idle amount (Burst QuotaUnused): occupies 4 bytes, indicating the idle burst amount not reserved for use by the service, in bits; the burst usage field (Burst Quota Used): occupies 4 bytes, indicating the burst amount amount reserved for use by the service, in bits. Burst Quota Initial minus Burst Quota Unused is the used burst amount amount.

[0063] In the embodiment, the bandwidth initial amount field (Bandwidth Quota Initial): occupies 4 bytes, indicating the initial value of the bandwidth quota corresponding to the delay level, in bits / s; the bandwidth idle amount field (Bandwidth QuotaUnused): occupies 4 bytes, indicating the idle bandwidth amount not reserved for use by the service, in bits / s; the bandwidth used amount field (Bandwidth Quota Used): occupies 4 bytes, indicating the bandwidth amount reserved for use by the service, in bits / s. Bandwidth Quota Initial minus Bandwidth Quota Unused is the used bandwidth amount.

[0064] In one embodiment, the frame structure of the delay resource sub-TLV is described by taking the configuration of the burst amount initial amount field and the burst amount idle amount field, as well as the bandwidth initial amount field and the bandwidth idle amount field in the frame structure of the delay resource sub-TLV as an example. Figure 3 : is a schematic diagram of a frame structure configuration of a delay resource sub-TLV provided in an embodiment of the present application. Figure 3As shown in the figure, the frame structure of the delay resource sub-TLV includes: Type field, Length field, Class Delay field, Transmission Delay field, Burst Quota Initial field, Burst Quota Unused field, Bandwidth Quota Initial field and Bandwidth Quota Unused field. Among them, the Type field and Length field each occupy 1 byte, the Class Delay field and Transmission Delay field each occupy 2 bytes, and the Burst Quota Initial field, Burst Quota Unused field, Bandwidth Quota Initial field and Bandwidth Quota Unused field each occupy 4 bytes.

[0065] It should be noted that the extension of the above frame structure is only one implementation method, and it is not limited to such a protocol extension. For example, in other extension methods, it can be counted in bytes (Byte) or nanoseconds (ns). It is even possible to design other TLVs that can also represent delay resource information (for example, a single delay resource sub-TLV contains forwarding resource information of multiple delay levels).

[0066] OSPF or other similar protocols can be extended and will not be described in detail.

[0067] The BGP-LS protocol or other similar protocols may also be extended to enable the controller to collect link delay resource information from the network, which will not be described in detail.

[0068] In one embodiment, determining a target path corresponding to the service flow to be transmitted according to the flow specification and delay level information of the service flow to be transmitted and the delay resource information of each link includes:

[0069] Determine the burst volume and bandwidth to be occupied corresponding to the service flow to be transmitted according to the flow specification of the service flow to be transmitted;

[0070] Determining the delay resource information to be accessed according to the delay level information of the service flow to be transmitted;

[0071] Resources are reserved in the delay resource information to be accessed according to the burst volume to be occupied and the bandwidth to be occupied, so as to obtain a target path corresponding to the service flow to be transmitted.

[0072] In the embodiment, the service flow to be transmitted has a specific traffic specification, which can be described using a general leaky bucket (LB) constraint model, that is, for any duration t, the accumulated message data W(t) of the service flow to be transmitted satisfies the leaky bucket constraint:

[0073] W(t)≤σ+ρt

[0074] Where σ is the burst size and ρ is the arrival rate (or bandwidth). Other non-universal traffic models can be mapped to this universal model. For example, for a Length Rate Quotient (LRQ) traffic model with a rate of R, its constraints ensure that the size is L n and L n+1 The time interval between two consecutive messages is at least L n / R, which is equivalent to the leaky bucket constraint W(t)≤L max +R*t, where L max The maximum message size.

[0075] Based on the above general leaky bucket constrained traffic model, if the service flow to be transmitted has specific requirements for the upper limit of each hop delay, a suitable path is selected in the network during path calculation, and the burst volume corresponding to its traffic specification (i.e., σ) is applied for (or called reserved) in the burst volume idle volume of the corresponding delay level of the link of each hop node along the path (consistent with the upper limit requirement of the service flow), and the arrival rate corresponding to its traffic specification (i.e., ρ) is applied for in the bandwidth idle volume. If the application fails, for example, because the empty burst volume idle volume or bandwidth idle volume of the corresponding delay level of a link in the candidate path is insufficient, the selected path does not meet the requirements and other candidate paths need to be tried; if no candidate path that meets the requirements can be found in the entire network, the calculation result can only fail.

[0076] When the target path is calculated successfully and takes effect, the idle delay resources of the corresponding delay levels of the links along the path will change, which will trigger the delay resource information of these links to be re-notified in the network.

[0077] In one embodiment, the target path may be calculated by a node or controller in the target network. In an embodiment, the above-mentioned reservation action for delay resources may be uniformly implemented by a centralized controller, or implemented on each node in the network through a distributed protocol (such as RSVP-TE).

[0078] In one embodiment, when multiple service flows to be transmitted carried in one of the target paths have the same delay level, the idle burst volume of each link in the target path that matches the delay level is greater than or equal to the sum of the burst volumes to be occupied of all the service flows to be transmitted;

[0079] The idle bandwidth of each link in the target path that matches the delay level is greater than or equal to the sum of the bandwidths to be occupied by all the service flows to be transmitted.

[0080] In an embodiment, a path may carry multiple service flows to be transmitted with different delay levels. When reserving delay resources, the path may support reserving delay resources of different delay levels at the same time.

[0081] In an embodiment, among the multiple service flows to be transmitted carried on a path, some of the service flows to be transmitted (such as flow x, flow y, flow z) may have the same delay level (such as D i ), then the delay level D of the links included along the path i The burst volume reserved in the idle burst volume quota is not less than the traffic carried on the path with the delay level D i The cumulative burst volume of all related service flows (i.e., flow x, flow y, flow z), as well as the arrival rate reserved in the idle bandwidth quota, is not less than the delay level D carried on the path. i The cumulative arrival rate of all related business flows (i.e. flow x, flow y, flow z).

[0082] Figure 4 : is a relationship diagram between a delay resource requirement and a delay resource reservation of a path provided in an embodiment of the present application. Figure 4 As shown in FIG. 1 , a deterministic path is established in the network, which is shared by three service flows to be transmitted, and the delay levels of these three service flows are the same (assuming that the delay level is D i ). Assume that the traffic model of service flow 1 is L1+R1*t, where L1 is the burst volume of service flow 1 and R1 is the arrival rate of service flow 1. Similarly, the traffic models of service flow 2 and service flow 3 are L2+R2*t and L3+R3*t respectively. Then, the delay level of each link included in the above deterministic path along the path needs to be D i The burst amount reserved in the idle latency resource quota is at least L1+L2+L3, and the bandwidth amount reserved is at least R1+R2+R3.

[0083] In an embodiment, multiple paths sharing the same link may reserve resources from the delay resources of the link for a same delay level. In this case, each path reserves resources separately, that is, the reservation action of each path will result in a reduction in the idle delay resources of the link.

[0084] In an embodiment, when the path calculation is successful and effective, the deterministic service flow can be sent along the path. When a network node receives a data message of a deterministic service flow, it can determine the delay level of the message in a variety of ways, such as the message carries the corresponding delay level information, or the forwarding table entry hit by the message contains the prompt information of the delay level. Then, the message will access the delay resource according to its delay level information. For example, a message with a delay level of 10us will be forwarded within 10us, and a message with a delay level of 20us will be forwarded within 20us. That is, the enjoyment of delay resources is essentially that the message can be guaranteed to experience the promised node delay according to its time requirements.

[0085] The head node of the path will implement admission control on the business flow sent to the path according to the burst volume and arrival rate of the corresponding delay level applied for by the path, so that the burst volume and bandwidth consumption caused by the sending of traffic will not exceed the burst volume and arrival rate of the corresponding delay level applied for.

[0086] Depending on different queue scheduling algorithms, the intermediate nodes of the path may also implement bandwidth reshaping based on the requested corresponding delay level. This is optional and not necessary for all queue scheduling algorithms.

[0087] In one embodiment, Figure 5 FIG. 1 is a schematic diagram of another configuration of a link delay level model provided in an embodiment of the present application. Figure 5 As shown, this embodiment describes a typical delay level model, including 10 delay levels, the minimum delay level D1 has a basic delay of 10us, the next delay level D2 is 20us, D3 is 30us, and so on, D10 is 100us. It is assumed that the link bandwidth is 10G bps.

[0088] like Figure 5 As shown in the figure, the first delay level is 10us, the initial burst amount (also called the total burst quota) is 16000 bits, and the initial bandwidth amount (also called the total bandwidth quota) is 100Mbps; the second delay level is 20us, the initial burst amount and the initial bandwidth amount are also 16000 bits and 100M bps respectively; and so on, the delay resource quotas of other delay levels are the same. In other words, for any universal leaky bucket constraint σi+ρi*t of the delay level Di, we have:

[0089] σ i =16000 bits

[0090] ρ i =100M bps

[0091] As mentioned above, a node may announce the delay resource information of its own links in the network through the IGP, and the controller may also collect the delay resource information of all links from the network through the BGP-LS protocol.

[0092] Assuming that the deadline queue scheduling mechanism is used in the network to provide delay determinism, the design of the above-mentioned various delay levels and their delay resource quotas meets the deadline schedulability conditions, namely:

[0093] σ1≤C*D1-M

[0094] σ1+σ2+ρ1(D2-D1)≤C*D2-M

[0095] σ1+σ2+σ3+ρ1(D3-D1)+ρ2(D3-D2)≤C*D3-M

[0096] …

[0097] σ1+…+σ 10 +ρ1(D 10 -D1)+ρ2(D 10 -D2)+…+ρ9(D 10 -D9)≤C*D 10 -M

[0098] Among them, C is the service rate of the deadline scheduler, which is assumed to be the total bandwidth of the link 10 Gbps, and M is the maximum interference frame length of the low priority, which is assumed to be 16000 bits.

[0099] Assume that the controller (or the head node of the path) calculates 10 paths (denoted as path-1, path-2, ..., path-10) passing through the above links.

[0100] Assume that the traffic specification (TrafficSpecification) of service flow 1 (i.e. flow-1) carried on path-1 is: a burst of 1000 bits is generated within a cyclic burst interval (Burst Interval) of 1ms, and the desired delay level is 10us. Then the delay resource requirements of this path are: the delay level requirement is 10us, the burst quota requirement (i.e. the burst to be occupied) is 1000 bits, and the bandwidth quota requirement (i.e. the bandwidth to be occupied) is 1000 bits / 1ms=1M bps. Therefore, this path will reserve the required burst and bandwidth quota from the idle delay resources corresponding to the delay level 10us of the link, which will result in the idle delay resources corresponding to the delay level 10us of the link being updated to: the idle burst quota is 15000 bits, and the idle bandwidth quota is 99Mbps.

[0101] Similarly, assume that the traffic specification (TrafficSpecification) of service flow 2 (flow-2) carried on path-2 is: a burst of 2000 bits is generated within a cyclic burst interval (Burst Interval) of 200us, and the desired delay level is 20us. Then the delay resource requirements of this path are: delay level requirement is 20us, burst requirement is 2000 bits, and bandwidth requirement is 2000 bits / 200us=10M bps. Therefore, this path will reserve the required burst and bandwidth requirements from the idle delay resources corresponding to the delay level 20us of the link, which will cause the idle delay resources corresponding to the delay level 20us of the link to be updated to: idle burst quota is 14000 bits, and idle bandwidth quota is 90Mbps.

[0102] Similarly, assuming that the traffic specifications (Traffic Specification) of business flows 3 (flow-3),..., business flow 10 (flow-10) carried on other paths path-3,..., path-10 respectively also generate corresponding burst volumes within the corresponding cyclic burst intervals, and require delay levels of 30us, 40us,..., 100us respectively, then these paths will also reserve the required burst volume quota (i.e., the burst volume to be occupied) and the required bandwidth quota (i.e., the bandwidth to be occupied) from the delay resources of the corresponding delay level of the link, and cause the idle delay resources of the corresponding delay level of the link to be updated.

[0103] As mentioned above, if the delay resource information of the link owned by the node is updated, it will be re-announced in the network through IGP, and the controller will also collect the updated delay resource information of all links from the network through BGP-LS protocol (or other similar protocols).

[0104] When the calculated path takes effect, traffic can be sent. At the starting node of the above shared link, assuming that there are multiple fan-ins, that is, messages from 10 flows are received at the same time, they can be forwarded to the shared link in sequence according to the delay level of the message, that is, the messages of flow1,...,flow10 will be guaranteed to be forwarded within 10us, 20us,..., 100us respectively from the time of arrival at the node. This is because these paths strictly implement the above-mentioned delay resource reservation of the corresponding delay level when they are created, and the entry nodes of these paths strictly implement admission control based on the reserved delay resources of the corresponding delay level.

[0105] In one embodiment, Figure 6 FIG. 1 is a schematic diagram of another configuration of a link delay level model provided in an embodiment of the present application. Figure 6 As shown in FIG. 1 , this embodiment describes another delay level model, which includes 10 delay levels. The minimum delay level D1 has a basic delay of 10us, followed by a delay level D2 of 20us, D3 of 30us, and so on, and D10 of 100us. It is assumed that the bandwidth of the link is 10G bps. Figure 5 The difference between the illustrated embodiments is that the design of the bandwidth quota is also related to the burst quota. This is because of the over-service characteristics of the multi-CQF scheduling mechanism adopted in this embodiment, that is, the value of the bandwidth quota is designed to be relatively large, otherwise the delay resource reservation application for the path may fail.

[0106] like Figure 6 As shown in the figure, the burst quota of all delay levels is 16000 bits, but the bandwidth quota of D1 is 16000 bits / 10us=1.6Gbps, the bandwidth quota of D2 is 16000 bits / 20us=800Mbps; and so on, the bandwidth quota of D10 is 16000 bits / 100us=160Mbps. The total is about 4.7Gbps, which is less than the total bandwidth of the link.

[0107] That is, for any universal leaky bucket constraint σ of delay level Di i +ρ i *t, there are:

[0108] σ i =16000 bits

[0109] ρ i =16000bits / Di

[0110] Intuitively, the ρ calculated above is iIt is the over-service bandwidth with Di as the cycle duration. It assumes that 16000 bits of traffic will be sent every Di. In fact, the service flow may not generate messages so frequently, that is, the burst interval of the service may be much larger than Di. Of course, the value ρ i The design should be based on ρ i =max{(σ i +M) / D i ,R i}, where M is the maximum interference frame length of low priority, R i is the cumulative bandwidth requirement of the actual business. But for simplicity, we assume that the above designed ρ i Sufficient to support all deterministic business flow requirements.

[0111] Assume that a multi-CQF queue scheduling mechanism is used in the network to provide latency determinism, and the controller (or the head node of the path) calculates 10 paths (recorded as path-1, path-2, ..., path-10) passing through the above link. Since these paths are based on multi-CQF paths, compared with the first embodiment, it is necessary to focus on the reservation based on the over-service bandwidth.

[0112] Assume that the traffic specification of the service flow-1 carried on path-1 is: a burst of 1000 bits is generated within a cyclic burst interval of 1ms, and the desired delay level is 10us. Then the delay resource requirements of this path are: the delay level requirement is 10us, the burst quota requirement is 1000 bits, and the bandwidth quota requirement is max{1000bits / 10us,1000bits / 1ms}=100M bps (Note: the value is the over-service bandwidth). Therefore, this path will reserve the required burst and bandwidth quota from the idle delay resources corresponding to the delay level of 10us of the link, which will result in the idle delay resources corresponding to the delay level of 10us of the link being updated to: the idle burst quota (i.e., the burst idle amount) is 15000 bits, and the idle bandwidth quota (i.e., the bandwidth idle amount) is 1.5Gbps.

[0113] Similarly, assume that the traffic specification (TrafficSpecification) of the service flow flow-2 carried on path-2 is: a burst of 2000 bits is generated within a cyclic burst interval (Burst Interval) of 200us, and the desired delay level is 20us. Then the delay resource requirements of this path are: the delay level requirement is 20us, the burst requirement is 2000 bits, and the bandwidth requirement is max{2000bits / 20us,2000bits / 200us}=100M bps (Note: the value is the over-service bandwidth). Therefore, this path will reserve the required burst and bandwidth requirements from the idle delay resources corresponding to the delay level 20us of the link, which will result in the idle delay resources corresponding to the delay level 20us of the link being updated to: the idle burst quota (i.e., the burst idle amount) is 14000 bits, and the idle bandwidth quota (i.e., the bandwidth idle amount) is 700Mbps.

[0114] Similarly, assuming that the traffic specifications (Traffic Specification) of the business flows flow-3, ..., flow-10 carried on other paths path-3, ..., path-10 also generate corresponding burst volumes in the corresponding cyclic burst intervals, and require delay levels of 30us, 40us, ..., 100us respectively, these paths will also reserve the required burst volumes and bandwidth quotas from the delay resources of the corresponding delay levels of the link, and cause the idle delay resources of the corresponding delay levels of the link to be updated.

[0115] In one embodiment, Figure 7 is a structural block diagram of a resource allocation device provided in an embodiment of the present application. This embodiment is applied to a node or controller in a network. Figure 7 As shown, the resource allocation device in this embodiment includes: an acquisition module 710 , a determination module 720 and a transmitter 730 .

[0116] The acquisition module 710 is configured to acquire delay resource information of each link in the target network; wherein the delay resource information is used to characterize the forwarding resource information corresponding to each delay level on the corresponding link.

[0117] The determination module 720 is configured to determine a target path corresponding to the service flow to be transmitted according to the flow specification and delay level information of the service flow to be transmitted, and the delay resource information of each link.

[0118] The transmitter 730 is configured to send the service flow to be transmitted using the target path.

[0119] In one embodiment, the resource allocation device further includes:

[0120] The processor is configured to configure forwarding resource information corresponding to each delay level according to a schedulability condition to obtain delay resource information of a corresponding link; the schedulability condition is a condition related to a specific message scheduling mechanism to meet deterministic forwarding.

[0121] In one embodiment, the acquiring of the delay resource information of each link in the target network includes one of the following:

[0122] The nodes in the target network inform each other of the delay resource information of each link, so that the nodes in the target network obtain the delay resource information of each link;

[0123] The nodes in the target network notify the controller of the delay resource information of each link, so that the controller obtains the delay resource information of each link.

[0124] In one embodiment, the forwarding resource information corresponding to each delay level includes at least the following parameters: basic delay; worst sending delay; burst quota information; bandwidth quota information.

[0125] In one embodiment, the burst quota information includes at least one of the following: initial burst amount; used burst amount; free burst amount;

[0126] The bandwidth quota information includes at least one of the following: initial bandwidth amount; used bandwidth amount; idle bandwidth amount.

[0127] In one embodiment, the notification message corresponding to the delay resource information includes: a delay resource subtype length value TLV;

[0128] Among them, one delay resource sub-TLV corresponds to forwarding resource information of one delay level.

[0129] In one embodiment, the frame structure of the delay resource sub-TLV includes at least the following fields: type field; length field; basic delay field; worst transmission delay field; burst quota field; bandwidth quota field.

[0130] In one embodiment, the burst volume quota field includes at least one of the following: a burst volume initial volume field; a burst volume used volume field; a burst volume idle volume field;

[0131] The bandwidth quota field includes at least one of the following: a bandwidth initial amount field; a bandwidth used amount field; and a bandwidth idle amount field.

[0132] In one embodiment, the determination module 720 includes:

[0133] A first determining unit, configured to determine a burst volume to be occupied and a bandwidth to be occupied corresponding to the service flow to be transmitted according to a flow specification of the service flow to be transmitted;

[0134] A second determining unit is configured to determine the delay resource information to be accessed according to the delay level information of the service flow to be transmitted;

[0135] The reservation unit is configured to reserve resources in the delay resource information to be accessed according to the burst volume to be occupied and the bandwidth to be occupied, so as to obtain a target path corresponding to the service flow to be transmitted.

[0136] In one embodiment, the target path may be calculated by a node or controller in the target network.

[0137] In one embodiment, when multiple service flows to be transmitted carried in one of the target paths have the same delay level, the idle burst volume of each link in the target path that matches the delay level is greater than or equal to the sum of the burst volumes to be occupied of all the service flows to be transmitted;

[0138] The idle bandwidth of each link in the target path that matches the delay level is greater than or equal to the sum of the bandwidths to be occupied by all the service flows to be transmitted.

[0139] The resource allocation device provided in this embodiment is configured to implement Figure 1 The resource allocation method of the illustrated embodiment and the resource allocation device provided in this embodiment have similar implementation principles and technical effects, which will not be described in detail here.

[0140] In one embodiment, Figure 8 Schematic diagram of a communication device provided in an embodiment of the present application. Figure 8 As shown, the device provided by the present application includes: a processor 810 and a memory 820. The number of processors 810 in the device can be one or more. Figure 8 In the example, a processor 810 is used. The number of memories 820 in the device may be one or more. Figure 8 A memory 820 is taken as an example. The processor 810 and the memory 820 of the device can be connected via a bus or other means. Figure 8 In the embodiment, the bus connection is taken as an example. In this embodiment, the device may be a resource management component.

[0141] The memory 820, as a computer-readable storage medium, can be configured to store software programs, computer executable programs, and modules, such as program instructions / modules corresponding to the device of any embodiment of the present application (for example, the acquisition module 710, the determination module 720, and the transmitter 730 in the resource allocation device). The memory 820 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the memory 820 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 820 may further include a memory remotely arranged relative to the processor 810, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0142] In the case where the communication node is a node in the network and is a controller, the above-provided device can be configured to execute the resource allocation method provided in any of the above-mentioned embodiments, and have corresponding functions and effects.

[0143] An embodiment of the present application also provides a storage medium containing computer executable instructions, which are used to execute a resource allocation method when executed by a computer processor. The method includes: obtaining delay resource information of each link in the target network; wherein the delay resource information is used to characterize the forwarding resource information corresponding to each delay level on the corresponding link; determining a target path corresponding to the business flow to be transmitted based on the flow specification and delay level information of the business flow to be transmitted, and the delay resource information of each link; and sending the business flow to be transmitted using the target path.

[0144] It will be appreciated by those skilled in the art that the term user equipment encompasses any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a car-mounted mobile station.

[0145] In general, various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, microprocessor or other computing device, although the present application is not limited thereto.

[0146] Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.

[0147] The block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions. A computer program may be stored on a memory. The memory may have any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory devices and systems (digital versatile discs (DVD) or compact disks (CD)), etc. Computer-readable media may include non-transient storage media. A data processor may be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FGPAs) and a processor based on a multi-core processor architecture.

[0148] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A resource allocation method, characterized in that: include: Obtaining delay resource information of each link in the target network; wherein the delay resource information is used to characterize the forwarding resource information corresponding to each delay level on the corresponding link; Determine a target path corresponding to the service flow to be transmitted according to the flow specification and delay level information of the service flow to be transmitted, and the delay resource information of each link; The target path is used to send the service flow to be transmitted.

2. The method according to claim 1, characterized in that The method further comprises: The forwarding resource information corresponding to each delay level is configured according to the schedulability condition to obtain the delay resource information of the corresponding link; the schedulability condition is a condition related to a specific message scheduling mechanism to meet the deterministic forwarding.

3. The method according to claim 1 or 2, characterized in that: The acquiring of the delay resource information of each link in the target network includes one of the following: The nodes in the target network inform each other of the delay resource information of each link, so that the nodes in the target network obtain the delay resource information of each link; The nodes in the target network notify the controller of the delay resource information of each link, so that the controller obtains the delay resource information of each link.

4. The method according to claim 1 or 2, characterized in that: The forwarding resource information corresponding to each delay level includes at least the following parameters: basic delay; worst sending delay; burst quota information; bandwidth quota information.

5. The method according to claim 4, characterized in that The burst quota information includes at least one of the following: the initial burst amount; the used burst amount; the free burst amount; The bandwidth quota information includes at least one of the following: initial bandwidth amount; used bandwidth amount; idle bandwidth amount.

6. The method according to claim 3, characterized in that The notification message corresponding to the delay resource information includes: a delay resource subtype length value TLV; Among them, one delay resource sub-TLV corresponds to forwarding resource information of one or more delay levels.

7. The method according to claim 6, characterized in that The frame structure of the delay resource sub-TLV includes at least the following fields: type field; length field; basic delay field; worst transmission delay field; burst quota field; bandwidth quota field.

8. The method according to claim 7, characterized in that The burst volume quota field includes at least one of the following: a burst volume initial volume field; a burst volume used volume field; a burst volume idle volume field; The bandwidth quota field includes at least one of the following: a bandwidth initial amount field; a bandwidth used amount field; and a bandwidth idle amount field.

9. The method according to claim 1 or 2, characterized in that: The determining, according to the flow specification and delay level information of the service flow to be transmitted and the delay resource information of each link, a target path corresponding to the service flow to be transmitted includes: Determine the burst volume and bandwidth to be occupied corresponding to the service flow to be transmitted according to the flow specification of the service flow to be transmitted; Determining the delay resource information to be accessed according to the delay level information of the service flow to be transmitted; Resources are reserved in the delay resource information to be accessed according to the burst volume to be occupied and the bandwidth to be occupied, so as to obtain a target path corresponding to the service flow to be transmitted.

10. The method according to claim 9, characterized in that The target path may be calculated by a node or controller in the target network.

11. The method according to claim 1, characterized in that: When multiple service flows to be transmitted carried in one of the target paths have the same delay level, the idle burst volume of each link in the target path that matches the delay level is greater than or equal to the sum of the burst volumes to be occupied by all the service flows to be transmitted; The idle bandwidth of each link in the target path that matches the delay level is greater than or equal to the sum of the bandwidths to be occupied by all the service flows to be transmitted.

12. A communication node, characterized in that: include: memory, and one or more processors; The memory is configured to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 11.

13. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.

Citation Information

Cited By

  • Data access request processing method and device, equipment and storage medium

    CN119496745A