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 correlation between delay and bandwidth allocation information in the IP network is solved, and the delay of the business flow is improved. Ensure that the industry and business needs are met.
Patent Information
- Application Number
- PCT/CN2024/074862
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2024-01-31
- Publication Date
- 2024-08-29
AI Technical Summary
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, resulting in the inability to strictly guarantee the upper bound of per-hop delay of business traffic, and the priority bandwidth and time Delay has nothing to do and cannot meet rich business needs.
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 business flow to be transmitted, and forwarding resources related to the delay level are reserved in the network to ensure that the business flow delay resource requirements are met.
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 improving the reliability and efficiency of business traffic in the network.
Smart Images

Figure CN2024074862_29082024_PF_FP_ABST
Abstract
Description
Resource allocation method, communication node and storage medium 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 priority levels, but the bandwidth allocated to each priority level is unrelated to latency, meaning the latency requirements of the service are not addressed. Therefore, the upper bound of the per-hop latency for service traffic cannot be strictly guaranteed. For example, bandwidth resources unrelated to latency can be reserved on the egress port of a node for multiple service flows of the same priority level. However, when these service flows are simultaneously sent to the egress port, it is impossible to determine the node latency for each service flow. The lucky traffic can be sent immediately, while the unlucky traffic must wait until all other traffic flows have been sent. Furthermore, the number of levels included in each priority level cannot cover a wide range of service requirements. Therefore, in an Internet Protocol (IP) network based on statistical multiplexing, how to manage and maintain the relationship between different latency levels and their bandwidth allocation information is an urgent problem to be solved.
[0003] Summary of the Invention
[0004] 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.
[0005] This embodiment of the present application provides a resource allocation method, including:
[0006] Obtaining delay resource information for 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;
[0007] Determine a target path corresponding to the service flow to be transmitted according to the traffic specification and delay level information of the service flow to be transmitted, and the delay resource information of each link;
[0008] The service flow to be transmitted is sent using the target path.
[0009] An embodiment of the present application provides a communication node, comprising: a memory, and at least one processor;
[0010] The memory is configured to store at least one program;
[0011] When the at least one program is executed by the at least one processor, the at least one processor implements the method described in any one of the above embodiments.
[0012] An embodiment of the present application provides a storage medium storing a computer program. When the computer program is executed by a processor, the method described in any one of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] FIG1 is a flow chart of a resource allocation method provided in an embodiment of the present application;
[0014] FIG2 is a schematic diagram of a configuration of a link delay resource model provided in an embodiment of the present application;
[0015] FIG3 is a schematic diagram of a frame structure configuration of a delay resource subtype length value (Type Length Value, TLV) provided in an embodiment of the present application;
[0016] FIG4 is a diagram showing the relationship between a delay resource requirement and a path delay resource reservation provided in an embodiment of the present application;
[0017] FIG5 is a schematic diagram of a configuration of another link delay level model provided in an embodiment of the present application;
[0018] FIG6 is a schematic diagram of a configuration of a delay level model of another link provided in an embodiment of the present application;
[0019] FIG7 is a structural block diagram of a resource allocation device provided in an embodiment of the present application;
[0020] FIG8 is a schematic structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] The following describes the embodiments of the present application in conjunction with the accompanying drawings. The following describes the present application in conjunction with the accompanying drawings. The examples are only used to explain the present application and are not used to limit the scope of the present application.
[0022] RFC8655 describes the architecture of deterministic networks and defines Quality of Service (QoS) objectives for deterministic forwarding: minimum and maximum source-to-destination latency, bounded latency jitter, permissible packet loss rate, and an upper bound on out-of-order packet delivery. To achieve these QoS objectives, deterministic networks employ resource reservation, explicit routing, and service protection. Resource reservation refers to the allocation of resources, such as physical links, link bandwidth, and queue resources, by service traffic, either exclusively or in a certain proportion. Explicit routing involves pre-selecting the transmission path for service flows within the network to ensure routing stability and invariance to real-time changes in the network topology. This allows for the precise calculation of end-to-end latency and jitter bounds. Service protection involves sending multiple service flows simultaneously along multiple, non-intersecting paths to reduce packet loss. Generally, a deterministic path is a strictly explicit path computed by a centralized controller, with resources reserved at nodes along the path to meet the Service Level Agreement (SLA) requirements of deterministic services.
[0023] In related technologies, 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-intra-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-intra-planned residence delay levels (denoted as D1, D2, ... D n ), and each delay level D i The flow arrival constraint function 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 traffic flow, and t is time. The above relationship can be expressed as: σ1<=C*D1-M σ1+σ2+ρ1(D2-D1)<=C*D2-M σ1+σ2+σ3+ρ1(D3-D1)+ρ2(D3-D2)<=C*D3-M ... σ1+...+σ n +ρ1(D n -D1)+ρ2(D n -D2)+...+ρ n-1 (D n -D n-1 )<=C*D n-M
[0024] Where C is the service rate of the Deadline scheduler and M is the maximum interference frame length. From the above relationship, we can know that a set of supported delay levels D1, D2, ... D can be planned in the network. n Based on this, we can further design the parameters σ and ρ of the traffic arrival constraint function corresponding to each delay level.
[0025] Similarly, the existing technical solution also proposes a multi-cycle enhanced cyclic queue forwarding (CQF) scheduling mechanism, which describes the relationship between various cycle levels and their reserved bandwidth. Each cycle level has a corresponding reserved bandwidth quota. 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 within the relevant reserved bandwidth quota. For example, if you want to support n cycle levels (denoted as D1, D2, ... D n ), and each cycle level D i The flow arrival constraint function 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: [D n / D1]*σ1+...+[D n / D n ]*σ n <=C*D n ρ i =max{(σ i +M) / D i ,R i} ρ1+…+ρ n ≤C
[0026] 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 business flow. From the above relationship, we can know that a set of supported cycle levels D1, D2, ... D can be planned in the network. n Based on this, the burst parameter σ and arrival rate parameter ρ of the traffic arrival constraint function corresponding to each cycle level can be designed.
[0027] Although the above-mentioned existing solutions have proposed the need to manage and maintain the relationship between different delay levels and their bandwidth allocation information in the network, this information is currently missing in IP networks based on statistical multiplexing. Related technologies, such as the Internet Engineering Task Force (IETF) document RFC5305, describe a bandwidth allocation method for eight priority levels. However, the bandwidth allocated to each priority level is unrelated to latency and does not address the latency requirements of the services. Therefore, it is impossible to strictly guarantee the upper bound of the per-hop latency of service traffic. For example, bandwidth resources unrelated to latency can be reserved on the egress port of a node for multiple service flows of the same priority level. However, if these service flows are sent to the same egress port simultaneously, it is impossible to determine the node latency for each service flow. The lucky traffic can be sent first, while the unlucky traffic must wait until the other traffic flows have been sent. In addition, the number of levels included in the eight priority levels cannot cover a wide range of service needs.
[0028] In order to solve the above problems, this application introduces delay-related forwarding resources into the network and describes its classification and notification method.
[0029] In one embodiment, FIG1 is a flowchart of a resource allocation method provided by an embodiment of the present application. This embodiment is applied to resource allocation in packet multiplexing technology. This embodiment can be executed by a communication node or a controller. As shown in FIG1 , this embodiment includes: S110-S130.
[0030] 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.
[0031] 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.
[0032] S130: Use the target path to send the service flow to be transmitted.
[0033] 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 business flow is responded to, thereby maintaining the allocation status information of the delay resource information of the link, providing a basis for the planning and deployment of the business 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 business 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 traffic passes, based on the flow specification of the business flow to be transmitted. This reservation action can be implemented uniformly 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.
[0034] 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.
[0035] In one embodiment, obtaining the delay resource information of each link in the target network includes one of the following:
[0036] 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 can obtain the delay resource information of each link;
[0037] 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.
[0038] In one embodiment, the forwarding resource information corresponding to each delay level includes at least the following parameters: basic delay; worst-case sending delay; burst quota information; and bandwidth quota information.
[0039] In the 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 certain delay class is the planned residence time of the delay class; in the Multi-CQF scheduling mechanism, the basic delay of a certain delay class is the cycle length of the delay class.
[0040] In the embodiment, the worst transmission delay (denoted as transmission delay) represents the worst transmission delay within the node corresponding to the delay level. The worst transmission delay within 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, and is expressed in us (other units such as ns and ms may also be used). Note that the worst transmission delay within a node refers to the maximum waiting time for a service flow within the node before being sent to the link, and does not include the propagation delay related to the link length. Different scheduling mechanisms have their own calculation methods, which can obtain the worst transmission delay within a node based on the basic delay. For example, in the Deadline scheduling mechanism, the worst transmission delay within a node of a certain delay level is the basic delay of that delay level; while in the Multi-CQF scheduling mechanism, the worst transmission delay within a node of a certain delay level is generally several times the basic delay of that 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 policy. The worst sending delay within a node can be used to calculate the end-to-end delay of the path.
[0041] In one embodiment, the burst quota information includes at least one of the following: initial burst amount; used burst amount; free burst amount;
[0042] The bandwidth quota information includes at least one of the following: initial bandwidth amount; used bandwidth amount; idle bandwidth amount.
[0043] 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 (denoted as burst_quota) represents the burst volume quota corresponding to the delay level, and the unit is bit (byte, word, etc. can also be used). The quota can 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 to 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.
[0044] 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 (denoted 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 the design, only two of the attributes need to be included. For example, one design is to 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.
[0045] Figure 2 is a configuration diagram of a delay resource model for a link provided by an embodiment of the present application. As shown in Figure 2, the delay resource model includes N delay classes (Delay Class), namely Delay Class 1, Delay Class 2...Delay Class N. Among them, the forwarding resource information corresponding to each delay class includes: basic delay; worst transmission delay; burst quota information; bandwidth quota information. For example, 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;.
[0046] In one embodiment, the notification message corresponding to the delay resource information includes: a delay resource subtype length value TLV;
[0047] Among them, a delay resource sub-TLV corresponds to the forwarding resource information of a delay level. In an embodiment, the Interior Gateway Protocol (IGP) can be extended to support the notification of the delay resource information of the link. For example, the existing Intermediate System to Intermediate System (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 Delay Resource Sub-TLV, 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 sending delay field; burst quota field; bandwidth quota field.
[0048] 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 a Transmission Delay Resource Sub-TLV.
[0049] Length field (Length): occupies 1 byte and indicates the content length of this TLV (excluding the Type and Length fields themselves).
[0050] Class Delay: occupies 2 bytes and indicates the basic delay corresponding to a delay class supported by the link, in microseconds (us). Different delay classes must correspond to different basic delays.
[0051] Worst Transmission Delay field (Transmission Delay): occupies 2 bytes and indicates the worst intra-node transmission delay corresponding to a delay level supported by the link, in microseconds (us). Different delay levels must correspond to different intra-node worst transmission delays.
[0052] Burst Quota field: occupies 8 bytes and indicates the burst quota information corresponding to the latency level, in bits.
[0053] Bandwidth Quota: occupies 8 bytes and indicates the bandwidth quota information 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;
[0054] 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.
[0055] In an embodiment, the burst quota field may include any two fields from the burst initial field, the burst usage field, and the burst idle field. Similarly, the bandwidth quota field may include any two fields from the bandwidth initial field, the bandwidth used field, and the bandwidth idle field. The burst initial field, the burst usage field, and the burst idle field each occupy 4 bytes, and the bandwidth initial field, the bandwidth used field, and the bandwidth idle field each occupy 4 bytes. In an embodiment, the burst quota initial field (Burst Quota Initial) occupies 4 bytes and indicates the initial value of the burst quota corresponding to the latency level, in bits; the burst quota unused field (Burst Quota Unused) occupies 4 bytes and indicates the idle burst quota not reserved for use by the service, in bits; and the burst quota used field (Burst Quota Used) occupies 4 bytes and indicates the burst quota reserved for use by the service, in bits. The used burst quota is obtained by subtracting the Burst Quota Unused from the Burst Quota Initial.
[0056] In this embodiment, the Bandwidth Quota Initial field (Bandwidth Quota Initial) occupies 4 bytes and indicates the initial value of the bandwidth quota corresponding to the latency level, in bits / s. The Bandwidth Quota Unused field (Bandwidth Quota Unused) occupies 4 bytes and indicates the idle bandwidth quota not reserved for use by services, in bits / s. The Bandwidth Quota Used field (Bandwidth Quota Used) occupies 4 bytes and indicates the bandwidth quota reserved for use by services, in bits / s. The used bandwidth quota is calculated by subtracting the Bandwidth Quota Unused field from the Bandwidth Quota Initial field.
[0057] 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 the frame structure configuration of a delay resource sub-TLV provided in an embodiment of the present application. As shown in Figure 3, 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 the 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.
[0058] It should be noted that the extension of the above-mentioned frame structure is only one implementation method and is not limited to such a protocol extension. For example, in other extension methods, it is possible to count in bytes or nanoseconds, or even 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).
[0059] The Open Shortest Path First (OSPF) or other similar protocols can be extended and will not be described in detail.
[0060] The Border Gateway Protocol-Link State (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.
[0061] In one embodiment, determining a target path corresponding to the service flow to be transmitted based on the traffic specification and delay level information of the service flow to be transmitted, and the delay resource information of each link, includes:
[0062] Determining the burst volume and bandwidth to be occupied corresponding to the service flow to be transmitted according to the traffic specification of the service flow to be transmitted;
[0063] Determining delay resource information to be accessed according to the delay level information of the service flow to be transmitted;
[0064] 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.
[0065] In the embodiment, the service flow to be transmitted has a specific traffic specification (Traffic Specification), which can be described using a general leaky bucket (LB) constraint model, that is, for any duration t, the cumulative message data W(t) of the service flow to be transmitted satisfies the leaky bucket constraint: W(t)≤σ+ρt
[0066] Where σ is the burst size and ρ is the arrival rate (or bandwidth). Other non-universal traffic models can be mapped to this general model. For example, for a Length Rate Quotient (LRQ) traffic model with a rate of R, the constraint ensures 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.
[0067] Based on the general leaky bucket constrained traffic model described above, if the service flow to be transmitted has specific requirements for the upper bound of the per-hop delay, the path calculation selects a suitable path in the network and applies (or reserves) the burst capacity corresponding to the traffic specification (i.e., σ) from the burst capacity idle capacity of the corresponding delay level of the link of each hop node along the path (consistent with the upper bound of the service flow's delay), and applies for the arrival rate corresponding to the traffic specification (i.e., ρ) from the bandwidth idle capacity. If the application fails, for example, because the idle burst capacity or bandwidth idle capacity 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 must be tried. If no candidate path that meets the requirements can be found in the entire network, the calculation result will fail.
[0068] When the target path is successfully calculated 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-advertised in the network.
[0069] In one embodiment, the target path may be calculated by a node or controller in the target network. In one 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).
[0070] In one embodiment, when multiple service flows to be transmitted carried by a target path have the same delay level, the idle burst capacity of each link in the target path that matches the delay level is greater than or equal to the sum of the available burst capacities of all service flows to be transmitted;
[0071] 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.
[0072] In an embodiment, a path can carry multiple service flows to be transmitted with different delay levels. When reserving delay resources, the path can support reserving delay resources for different delay levels at the same time.
[0073] 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).
[0074] Figure 4 is a diagram showing the relationship between a delay resource requirement and a path's delay resource reservation provided by an embodiment of the present application. As shown in Figure 4, 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 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 iThe burst capacity reserved in the idle latency resource quota is at least L1+L2+L3, and the bandwidth reserved is at least R1+R2+R3.
[0075] In an embodiment, multiple paths sharing the same link may reserve resources from the link's delay resources for a certain 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 link's idle delay resources.
[0076] In an embodiment, once the path calculation is successful and effective, a deterministic service flow can be sent along the path. When a network node receives a data packet from a deterministic service flow, it can determine the message's latency level through various methods, such as by including the corresponding latency level information in the message or by including latency level information in the forwarding table entry that the message hits. The message then accesses latency resources based on its latency level information. For example, a message with a latency level of 10us will be forwarded within 10us, and a message with a latency level of 20us will be forwarded within 20us. In other words, the enjoyment of latency resources essentially means that the message is guaranteed to experience the promised node latency according to its time requirements.
[0077] The head node of the path will implement admission control on the business flows sent to the path based on 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 transmission of traffic will not exceed the burst volume and arrival rate of the corresponding delay level applied for.
[0078] Depending on different queue scheduling algorithms, intermediate nodes of the path may also implement bandwidth reshaping based on the requested bandwidth of the corresponding delay level. This is optional and not necessary for all queue scheduling algorithms.
[0079] In one embodiment, FIG5 is a configuration diagram of another link delay level model provided by the embodiment of the present application. As shown in FIG5, this embodiment describes a typical delay level model, which includes 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. 10 Assume that the link bandwidth is 10G bps.
[0080] As shown in Figure 5, 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 initial bandwidth amount are also 16000 bits and 100Mbps respectively; and so on, the delay resource quotas of other delay levels are the same. That is to say, for any delay level D i The general leaky bucket constraint σ i +ρ i *t, we have: σ i =16000 bits ρ i =100M bps
[0081] As mentioned above, a node can announce the delay resource information of its own links in the network through the IGP, and the controller can also collect the delay resource information of all links from the network through the BGP-LS protocol.
[0082] 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: σ1≤C*D1-M σ1+σ2+ρ1(D2-D1)≤C*D2-M σ1+σ2+σ3+ρ1(D3-D1)+ρ2(D3-D2)≤C*D3-M … σ1+…+σ 10 +ρ1(D 10 -D1)+ρ2(D 10 -D2)+…+ρ9(D 10 -D9)≤ C*D 10 -M
[0083] Here, 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.
[0084] 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.
[0085] Assume that the traffic specification for service flow 1 (flow-1) carried on path-1 is: a burst of 1000 bits within a recurring burst interval of 1ms, and the desired latency is 10us. The latency resource requirements for this path are: a latency requirement of 10us, a burst quota requirement (i.e., the burst capacity to be occupied) of 1000 bits, and a bandwidth quota requirement (i.e., the bandwidth to be occupied) of 1000 bits / 1ms = 1Mbps. Therefore, this path reserves the required burst capacity and bandwidth quota from the idle latency resources corresponding to the link's latency of 10us. This results in the idle latency resources corresponding to the link's latency of 10us being updated to: an idle burst quota of 15000 bits and an idle bandwidth quota of 99Mbps.
[0086] Similarly, assume that the traffic specification for service flow 2 (flow-2) carried on path-2 is: a burst of 2000 bits within a recurring burst interval of 200µs, and the desired latency is 20µs. The latency resource requirements for this path are: latency requirement of 20µs, burst requirement of 2000 bits, and bandwidth requirement of 2000 bits / 200µs = 10Mbps. Therefore, this path reserves the required burst and bandwidth from the idle latency resources corresponding to the link's latency of 20µs. This results in the idle latency resources corresponding to the link's latency of 20µs being updated to: an idle burst quota of 14000 bits and an idle bandwidth quota of 90Mbps.
[0087] Similarly, assuming that the traffic specifications of service flows 3 (flow-3), ..., service flow 10 (flow-10) carried on other paths path-3, ..., path-10 also generate corresponding burst amounts within the corresponding cyclic burst intervals and require delay levels of 30us, 40us, ..., 100us, respectively, these paths will also reserve the required burst amount quota (i.e., the burst amount 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, resulting in the idle delay resources of the corresponding delay level of the link being updated.
[0088] 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 the IGP, and the controller will also collect the updated delay resource information of all links from the network through the BGP-LS protocol (or other similar protocols).
[0089] Once the calculated path takes effect, traffic can be sent. Assuming multiple fan-in inputs exist at the starting node of the shared link, meaning that packets from 10 flows are received simultaneously, they are forwarded sequentially to the shared link based on their latency levels. This means that packets from flows 1, ..., and 10 are guaranteed to be forwarded within 10us, 20us, ..., and 100us, respectively, starting from the moment they arrive at the node. This is because these paths strictly implement the aforementioned delay resource reservations for the corresponding latency levels when they are created, and the ingress nodes of these paths strictly implement admission control based on the reserved latency resources for the corresponding latency levels.
[0090] In one embodiment, FIG6 is a configuration diagram of another link delay level model provided by an embodiment of the present application. As shown in FIG6, this embodiment describes another delay level model, which includes 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. 10 100 μs. Assume that the link bandwidth is 10 Gbps. The difference between this embodiment and the embodiment shown in FIG5 is that the design of the bandwidth quota is also related to the burst quota. This is due to the over-service characteristic of the multi-CQF scheduling mechanism adopted in this embodiment. That is, the bandwidth quota value is designed to be relatively large. Otherwise, the delay resource reservation application for the path may fail.
[0091] As shown in Figure 6, the burst quota for all latency levels is 16,000 bits, but the bandwidth quota for D1 is 16,000 bits / 10 us = 1.6 Gbps, and the bandwidth quota for D2 is 16,000 bits / 20 us = 800 Mbps. 10 The bandwidth quota is 16000 bits / 100 us = 160 Mbps. This totals approximately 4.7 Gbps, which is less than the total bandwidth of the link.
[0092] That is, for any delay level D i The general leaky bucket constraint σ i +ρ i *t, we have: σ i =16000 bits ρ i =16000 bits / Di
[0093] Intuitively, the ρ calculated above is i D i is the over-service bandwidth of the cycle duration, which is assumed to be iIn fact, the business flow may not generate messages so frequently, that is, the burst interval of the business may be much larger than D i 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.
[0094] Assume that the network uses a multi-CQF queue scheduling mechanism to provide latency determinism, and the controller (or the head node of the path) calculates 10 paths (denoted as path-1, path-2, ..., path-10) passing through the above link. Because these paths are based on multi-CQF, compared to the first embodiment, the focus is on reserving excess service bandwidth.
[0095] Assume that the traffic specification for service flow-1 carried on path-1 is: a burst of 1000 bits within a recurring burst interval of 1ms, and the desired latency is 10us. The latency resource requirements for this path are: latency requirement of 10us, burst quota requirement of 1000 bits, and bandwidth quota requirement of max{1000bits / 10us,1000bits / 1ms}=100Mbps (Note: this value is the over-service bandwidth). Therefore, this path reserves the required burst and bandwidth quota from the idle latency resources corresponding to the link's latency of 10us. This results in the idle latency resources for the link's latency of 10us being updated to: idle burst quota (i.e., idle burst capacity) of 15000 bits, and idle bandwidth quota (i.e., idle bandwidth capacity) of 1.5Gbps.
[0096] Similarly, assume that the traffic specification for service flow-2 carried on path-2 is: a burst of 2000 bits within a recurring burst interval of 200µs, and the desired latency is 20µs. The latency resource requirements for this path are: latency requirement of 20µs, burst requirement of 2000 bits, and bandwidth requirement of max{2000bits / 20µs, 2000bits / 200µs} = 100Mbps (Note: this value is the over-served bandwidth). Therefore, this path reserves the required burst and bandwidth from the idle latency resources corresponding to the link's latency of 20µs. This results in the idle latency resources for the link's latency of 20µs being updated to: an idle burst quota (i.e., idle burst capacity) of 14000 bits and an idle bandwidth quota (i.e., idle bandwidth capacity) of 700Mbps.
[0097] Similarly, assuming that the traffic specifications of service flows flow-3, ..., flow-10 carried on other paths path-3, ..., path-10 also generate corresponding burst amounts within the corresponding cyclic burst intervals and require delay levels of 30us, 40us, ..., 100us, respectively, these paths will also reserve the required burst amounts and bandwidth quotas from the delay resources of the corresponding delay levels of the link, resulting in the idle delay resources of the corresponding delay levels of the link being updated.
[0098] In one embodiment, FIG7 is a block diagram of a resource allocation apparatus provided in an embodiment of the present application. This embodiment is applied to a node or controller in a network. As shown in FIG7 , the resource allocation apparatus in this embodiment includes: an acquisition module 710, a determination module 720, and a transmitter 730.
[0099] 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 represent forwarding resource information corresponding to each delay level on the corresponding link.
[0100] 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.
[0101] The transmitter 730 is configured to send the service flow to be transmitted using the target path.
[0102] In one embodiment, the resource allocation apparatus further includes:
[0103] 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 the corresponding link; the schedulability condition is a condition related to a specific message scheduling mechanism to meet deterministic forwarding.
[0104] In one embodiment, obtaining the delay resource information of each link in the target network includes one of the following:
[0105] 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 can obtain the delay resource information of each link;
[0106] 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.
[0107] In one embodiment, the forwarding resource information corresponding to each delay level includes at least the following parameters: basic delay; worst-case sending delay; burst quota information; and bandwidth quota information.
[0108] In one embodiment, the burst quota information includes at least one of the following: initial burst amount; used burst amount; free burst amount;
[0109] The bandwidth quota information includes at least one of the following: initial bandwidth amount; used bandwidth amount; idle bandwidth amount.
[0110] In one embodiment, the notification message corresponding to the delay resource information includes: a delay resource subtype length value TLV;
[0111] Among them, one delay resource sub-TLV corresponds to forwarding resource information of one delay level.
[0112] In one embodiment, the frame structure of the delay resource sub-TLV includes at least the following fields: a type field; a length field; a basic delay field; a worst-case transmission delay field; a burst quota field; and a bandwidth quota field.
[0113] In one embodiment, the burst quota field includes at least one of the following: a burst initial amount field; a burst used amount field; a burst idle amount field;
[0114] 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.
[0115] In one embodiment, the determination module 720 includes:
[0116] A first determining unit is 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;
[0117] 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;
[0118] 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.
[0119] In one embodiment, the target path may be calculated by a node or controller in the target network.
[0120] In one embodiment, when multiple service flows to be transmitted carried by a target path have the same delay level, the idle burst capacity of each link in the target path that matches the delay level is greater than or equal to the sum of the available burst capacities of all service flows to be transmitted;
[0121] 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.
[0122] The resource allocation device provided in this embodiment is configured to implement the resource allocation method of the embodiment shown in FIG1 . The implementation principle and technical effects of the resource allocation device provided in this embodiment are similar and will not be described in detail here.
[0123] In one embodiment, Figure 8 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. As shown in Figure 8, the device provided in the present application includes: a processor 810 and a memory 820. The number of processors 810 in the device can be one or more, and Figure 8 uses one processor 810 as an example. The number of memories 820 in the device can be one or more, and Figure 8 uses one memory 820 as an example. The processor 810 and memory 820 of the device can be connected via a bus or other means, and Figure 8 uses a bus connection as an example. In this embodiment, the device can be a resource management component.
[0124] 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 and applications required for at least one function; the data storage area may store data created based on 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 located 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.
[0125] In the case where the communication node is a node in the network and the node 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.
[0126] An embodiment of the present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a resource allocation method, the method comprising: obtaining delay resource information for each link in a target network; wherein the delay resource information is used to characterize forwarding resource information corresponding to each delay level on the corresponding link; determining a target path corresponding to the service flow to be transmitted based on the flow specification and delay level information of the service flow to be transmitted, as well as the delay resource information of each link; and sending the service flow to be transmitted using the target path.
[0127] 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.
[0128] In general, various embodiments of the present application may be implemented in hardware or dedicated circuits, software, logic, or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may 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.
[0129] 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.
[0130] 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 be of 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 storage 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 of 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 (FPGA), and a processor based on a multi-core processor architecture.
Claims
1. A resource allocation method, comprising: 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, further comprising: Configure forwarding resource information corresponding to each delay level according to the schedulability condition, and obtain delay resource information of the link corresponding to each delay level; The schedulability condition is related to a specific message scheduling mechanism to meet the conditions for deterministic forwarding.
3. The method according to claim 1 or 2, wherein: 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, wherein: 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, wherein: 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, wherein: 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 at least one delay level.
7. The method according to claim 6, wherein: 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, wherein: 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, wherein: 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, wherein: The target path may be calculated by a node in the target network or by the controller.
11. The method according to claim 1, wherein: 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, comprising: memory, and at least one processor; The memory is configured to store at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method as described in any one of claims 1 to 11.
13. A storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Method for obtaining target transmission path and network node thereof
CN106713141A
Method and device for determining forwarding path
CN106878170A
Optimal network efficiency delay-constrained routing method for low-orbit information network
CN107070794A
Network resource reservation method, PCE and SDN network system
CN108234355A
Data transmission methods and devices
CN109617810A
