A network traffic control method, apparatus, and readable storage medium
By acquiring target information and resource pool computing power information from the target router, a SID list is generated, which solves the shortcomings of computing power traffic control in cross-domain scenarios and realizes cross-domain traffic control that determines the appropriate computing service node based on computing power information.
Patent Information
- Application Number
- CN202310618068.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2043-05-29
AI Technical Summary
Existing routing schemes lack traffic control solutions for cross-domain scenarios, and cannot effectively determine suitable computing service nodes based on computing power information in cross-domain scenarios.
By acquiring target information from the target router and computing power information from the resource pool, the target computing service node that meets the computing power requirements is determined, and a list of segment identifiers (SIDs) is generated. This replaces the traditional BGP shortest path-based routing method, enabling computing power traffic control in cross-domain scenarios.
In cross-domain scenarios, it can determine the appropriate computing service node based on computing power information, realize computing power traffic control in cross-domain scenarios, and replace the traditional BGP shortest path-based routing method.
Smart Images

Figure CN119052169B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computing network technology, and in particular to a network traffic control method, apparatus, and readable storage medium. Background Technology
[0002] Computing power routing can be broadly categorized into centralized and distributed solutions. Centralized solutions primarily rely on Internet Protocol Version 6 (IPv6) technology to centrally orchestrate computing routes, enabling end-to-end routing and flexible scheduling of computing power. Distributed solutions mainly extend existing Interior Gateway Protocol (IGP) and Border Gateway Protocol (BGP) protocols to transmit computing power information. Existing routing solutions primarily focus on end-to-end (tunneling) path planning and lack traffic control solutions for cross-domain scenarios. Summary of the Invention
[0003] The purpose of this invention is to provide a network traffic control method, apparatus, and readable storage medium to solve the problem of how to achieve traffic control in cross-domain scenarios.
[0004] To achieve the above objectives, embodiments of the present invention provide a network traffic control method applied to a controller within a first autonomous system (AS). The first AS is connected to a third AS via at least one second AS, and the third AS is connected to at least one computing server. Each computing server is connected to a computing service node. The method includes:
[0005] Obtain the target information of the target router within the first AS and the resource pool computing power information transmitted by the third AS. The resource pool computing power information includes the computing power information of at least one computing service node, and the target information includes the segment routing identifier (SID) of the target router.
[0006] Based on the target information of the target router and the computing power information of the resource pool, the target computing service node that meets the computing power requirements is determined;
[0007] The router in the third AS that is connected to the target computing service node is identified as the last-hop egress router, and a list of segment identifiers (SIDs) corresponding to the packet forwarding path is generated based on the last-hop egress router.
[0008] The SID list is sent to the ingress router of the first AS.
[0009] Optionally, obtaining the resource pool computing power information transmitted by the third AS includes:
[0010] The resource pool computing power information transmitted by the third AS through the second AS is obtained, wherein the resource pool computing power information is carried by a Border Gateway Protocol (BGP) update message.
[0011] Optionally, obtaining the resource pool computing power information transmitted by the third AS through the second AS includes:
[0012] Based on the BGP tag unicast address family, the resource pool computing power information transmitted by the third AS through the second AS is obtained.
[0013] Optionally, after sending the SID list to the ingress router of the first AS, the method further includes:
[0014] Replace the destination IP address in the service message received by the ingress router with the IP address of the router in the target computing server, where the target computing server is the computing server connected to the last-hop egress router.
[0015] Optionally, sending the SID list to the ingress router of the first AS includes:
[0016] The SID list is sent to the ingress router of the first AS via the gateway protocol and the path calculation unit communication protocol PCEP.
[0017] Optionally, the target information further includes at least one of the following:
[0018] BGP routing information;
[0019] Network information transmission;
[0020] Network topology information.
[0021] This invention also provides a network traffic control method applied to a computing server, wherein the computing server is connected to a third AS, the computing server is connected to a computing service node, and the third AS is also connected to at least one second AS, each of the second ASs being connected to a first AS. The method includes:
[0022] Obtain the computing power information of the computing service node;
[0023] The computing power information is sent to the first AS through the third AS and the second AS.
[0024] Optionally, sending the computing power information to the first AS via the third AS and the second AS includes:
[0025] Based on BGP update messages, the computing power information is sent to the first AS through the third AS and the second AS.
[0026] Optionally, obtaining the computing power information of the computing service node includes:
[0027] Obtain initial computing power information of the computing service node, wherein the initial computing power information includes at least one of the following: CPU utilization rate, memory utilization rate, GPU utilization rate, storage capacity, and energy efficiency information of the computing service node;
[0028] The initial computing power information of the computing service node is normalized to obtain a comprehensive computing power index;
[0029] The comprehensive computing power index is determined as the computing power information of the computing service node.
[0030] This invention also provides a network traffic control device applied to a controller within a first autonomous system (AS). The first AS is connected to a third AS via at least one second AS, and the third AS is connected to at least one computing server. Each computing server is connected to a computing service node. The device includes:
[0031] The first acquisition module is used to acquire target information of the target router in the first AS and resource pool computing power information transmitted by the third AS. The resource pool computing power information includes computing power information of at least one computing service node, and the target information includes the segment routing identifier (SID) of the target router.
[0032] The first determining module is used to determine the target computing service node that meets the computing power requirements based on the target information of the target router and the computing power information of the resource pool;
[0033] The second determining module is used to determine the router in the third AS that is connected to the target computing service node as the last-hop egress router, and generate a list of segment identifiers (SIDs) corresponding to the packet forwarding path based on the last-hop egress router.
[0034] The first sending module is used to send the SID list to the ingress router of the first AS.
[0035] This invention also provides a network traffic control device applied to a computing server, wherein the computing server is connected to a third AS, the computing server is connected to a computing service node, and the third AS is also connected to at least one second AS, each of the second AS being connected to a first AS. The device includes:
[0036] The second acquisition module is used to acquire the computing power information of the computing service node;
[0037] The second sending module is used to send the computing power information to the first AS through the third AS and the second AS.
[0038] This invention also provides a network traffic control device applied to a controller within a first autonomous system (AS). The first AS is connected to a third AS via at least one second AS, and the third AS is connected to at least one computing server. Each computing server is connected to a computing service node. The device includes a transceiver and a processor.
[0039] The transceiver is used to acquire target information of the target router within the first AS and resource pool computing power information transmitted by the third AS. The resource pool computing power information includes computing power information of at least one computing service node, and the target information includes the segment routing identifier (SID) of the target router.
[0040] The processor is used to determine the target computing service node that meets the computing power requirements based on the target information of the target router and the computing power information of the resource pool; to determine the router in the third AS that is connected to the target computing service node as the last hop egress router; and to generate a list of segment identifiers (SIDs) corresponding to the packet forwarding path based on the last hop egress router.
[0041] The transceiver is used to send the SID list to the ingress router of the first AS.
[0042] This invention also provides a network traffic control device applied to a computing server, wherein the computing server is connected to a third AS, the computing server is connected to a computing service node, and the third AS is also connected to at least one second AS, each second AS being connected to a first AS. The device includes a transceiver and a processor.
[0043] The transceiver is used to obtain the computing power information of the computing service node; and to send the computing power information to the first AS through the third AS and the second AS.
[0044] This invention also provides a network traffic control device, comprising: a transceiver, a processor, a memory, and a program or instructions stored in the memory and executable on the processor; characterized in that, when the processor executes the program or instructions, it implements the steps of the network traffic control method described above.
[0045] This invention also provides a readable storage medium storing a program or instructions thereon, characterized in that the program or instructions, when executed by a processor, implement the steps of the network traffic control method described above.
[0046] The beneficial effects of the above-described technical solution of the present invention are as follows:
[0047] In this embodiment of the invention, the controller of the first AS obtains target information of the target router within the first AS and resource pool computing power information transmitted by the third AS; based on the target information of the target router and the resource pool computing power information, it determines the target computing service node that meets the computing power requirements; it identifies the router in the third AS connected to the target computing service node as the last-hop egress router, and generates a Segment Identifier (SID) list corresponding to the packet forwarding path based on the last-hop egress router; and it sends the SID list to the ingress router of the first AS. Through this scheme, in cross-domain scenarios, a suitable computing service node can be determined based on computing power information, and it replaces the traditional BGP shortest path-based routing method between domains, realizing computing power and traffic control in cross-domain scenarios. Attached Figure Description
[0048] Figure 1 This is one of the flowcharts for a network traffic control method according to an embodiment of the present invention;
[0049] Figure 2 This is a system framework diagram applicable to embodiments of the present invention;
[0050] Figure 3 This is a schematic diagram of the path attribute field in an embodiment of the present invention;
[0051] Figure 4 This is a structural diagram of the BGP update message in an embodiment of the present invention;
[0052] Figure 5 This is a second flowchart of the network traffic control method according to an embodiment of the present invention;
[0053] Figure 6 This is one of the schematic diagrams of a network traffic control device according to an embodiment of the present invention;
[0054] Figure 7 This is a second schematic diagram of the network traffic control device according to an embodiment of the present invention;
[0055] Figure 8 This is one of the structural block diagrams of the network traffic control device according to an embodiment of the present invention;
[0056] Figure 9 This is a second structural block diagram of the network traffic control device according to an embodiment of the present invention. Detailed Implementation
[0057] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0058] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the invention. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0059] In various embodiments of the present invention, it should be understood that the sequence number of each process described below does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0060] In addition, the terms "system" and "network" are often used interchangeably in this article.
[0061] In the embodiments provided in this application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B solely based on A; B can also be determined based on A and / or other information.
[0062] To enable those skilled in the art to better understand the embodiments of the present invention, the following description is provided first.
[0063] Computing power has become a crucial infrastructure for digital industries. The shift of computing power to the edge and even beyond the edge has become an industry trend. Simultaneously, with the diversification of industry computing power demands and the enhancement of terminal computing power, ubiquitous computing power will become a new industry paradigm. Under the computing power network architecture, full-granularity computing power at the edge, device, and cloud becomes a resource visible, schedulable, and routable across the entire network. The network is further transforming from traditional topology routing to computing power routing, enabling entirely new network architectures and business deployment and delivery models, thus facilitating the digital transformation of the entire industry. In particular, cloud-based computing resources are shifting from the current closed model to an open model under the computing power network architecture, posing new requirements for the granularity of computing power routing.
[0064] Computing power routing can be broadly categorized into centralized and distributed computing power routing schemes. Centralized computing power routing schemes primarily rely on IPv6+ technologies, such as Segment Routing over IPv6 (SRV6) and Segment Routing (SR) policies based on the IPv6 forwarding plane, to centrally orchestrate routing, achieving end-to-end route connectivity and flexible scheduling of computing power. Distributed routing schemes mainly rely on extending existing intra-domain IGP protocols and inter-domain BGP protocols to facilitate the transmission of computing power information.
[0065] In related distributed computing power network solutions, the announcement of computing power routes is mainly achieved by extending the community attribute of BGP, which transmits the CPU and memory usage of the resource pool to BGP neighbors.
[0066] The notification mechanism for computing power routing is primarily based on service scheduling:
[0067] (1) Multiple nodes in the entire computing power network topology can support service1 and spread the serviceID1 (an anycast) route in the network;
[0068] (2) The Ingress node establishes a Border Gateway Protocol (BGP) peer with the resource pool border gateway. The peers announce the computing power status of the resource pool to each other. The Ingress node integrates the network and computing power status and generates a forwarding table entry for serviceID1.
[0069] (3) When Ingress1 receives a message with the destination address serviceID1, it enters the tunnel according to the aforementioned table entries, performs tunnel decapsulation on the egress router, and schedules the service to the corresponding resource pool.
[0070] Existing routing schemes are mainly based on end-to-end (tunneling) path planning, lacking traffic control schemes for cross-domain scenarios.
[0071] This invention provides a network traffic control method applied to a controller within a first autonomous system (AS). The first AS is connected to a third AS via at least one second AS, and the third AS is connected to at least one computing server. Each computing server is connected to a computing service node, such as... Figure 1 As shown, the method includes:
[0072] Step 101: Obtain the target information of the target router within the first AS and the resource pool computing power information transmitted by the third AS. The resource pool computing power information includes the computing power information of at least one computing service node, and the target information includes the segment routing identifier of the target router.
[0073] For example, such as Figure 2 As shown, the first AS is AS1, the second AS includes AS2 and AS2, and the third AS is AS4. Router R10 in AS4 is connected to router R12 in computing server 1 (or computing proxy module 1), and router R9 in AS4 is connected to router R11 in computing server 2 (or computing proxy module 2). Computing server 1 is connected to computing service node 1, and computing server 2 is connected to computing service node 2.
[0074] In this embodiment of the invention, the controller may specifically be a Software Defined Network (SDN) controller. Optionally, the target router is a router within the first AS that has EPE functionality enabled.
[0075] Optionally, the target information further includes at least one of the following:
[0076] BGP routing information;
[0077] Network transmission information, such as transmission link latency, bandwidth, jitter, etc.;
[0078] Network topology information, for example, Figure 2 The connection relationships between various routers, etc.
[0079] In this embodiment of the invention, BGP Egress Peer Engineering (EPE) is enabled on all egress routers of the first AS, second AS, and third AS. After the router enables BGP EPE, it will automatically assign BGP peer SIDs. The SDN controller in the domain will collect peer SIDs, all BGP routing information, network transmission information, network topology information, and the aforementioned resource pool computing power information from all routers in the domain that have enabled EPE through the BGP Link State (LS) protocol.
[0080] Step 102: Based on the target information of the target router and the computing power information of the resource pool, determine the target computing service node that meets the computing power requirements.
[0081] The specific computing power requirement is determined based on business needs, which may include link latency requirements, packet loss requirements, etc.
[0082] Step 103: Determine the router in the third AS that is connected to the target computing service node as the last-hop egress router, and generate a list of segment identifiers (SIDs) corresponding to the packet forwarding path based on the last-hop egress router. Each SID in the SID list corresponds to a router.
[0083] Step 104: Send the SID list to the ingress router of the first AS.
[0084] like Figure 2 As shown, the ingress router of the first AS is R1. After receiving the SID list, R1 can forward service packets according to the SID list.
[0085] In this embodiment of the invention, the controller of the first AS obtains target information of the target router within the first AS and resource pool computing power information transmitted by the third AS; based on the target information of the target router and the resource pool computing power information, it determines the target computing service node that meets the computing power requirements; it identifies the router in the third AS connected to the target computing service node as the last-hop egress router, and generates a Segment Identifier (SID) list corresponding to the packet forwarding path based on the last-hop egress router; and it sends the SID list to the ingress router of the first AS. Through this scheme, in cross-domain scenarios, a suitable computing service node can be determined based on computing power information, and it replaces the traditional BGP shortest path-based routing method between domains, realizing computing power and traffic control in cross-domain scenarios.
[0086] Optionally, obtaining the resource pool computing power information transmitted by the third AS includes:
[0087] The resource pool computing power information transmitted by the third AS through the second AS is obtained, wherein the resource pool computing power information is carried by a Border Gateway Protocol (BGP) update message.
[0088] Optionally, obtaining the resource pool computing power information transmitted by the third AS through the second AS includes:
[0089] Based on the BGP tag unicast address family, the resource pool computing power information transmitted by the third AS through the second AS is obtained.
[0090] In this embodiment of the invention, the third AS sends a BGP update message carrying resource pool computing power information to the second AS, which then sends the BGP update message to the controller of the first AS.
[0091] For example, such as Figure 2As shown, R11 and R12 serve as the egress routers for computing power proxy module 2 and computing power proxy module 1, respectively. R11 and R12 need to have BGP routing protocol capabilities. R9 establishes BGP neighbor relationships with R11, and R10 establishes BGP neighbor relationships with R12. By defining new BGP path attributes, BGP update messages are passed to at least one of R9 and R10. The process after at least one of R9 and R10 in AS4 receives the computing power information from the peer is as follows (the process for R9 and R10 is the same, and R9 is used as an example below): The AS4 egress router R9 needs to allocate a BGP prefix segment identifier (SID) using RFC8669, such as BGP prefix SID, and enable the BGP label unicast address family (based on the BGPLU protocol). Inter-domain routers establish BGP neighbors, and intra-domain BGP routers establish IBGP neighbors. On R9, through the aforementioned BGP update message, and through message exchange between neighbors, R1 can eventually receive R9's BGP prefix-SID and the metric information of the computing resource pool attached to R9.
[0092] Optionally, in this embodiment of the invention, the computing power information of the computing service node is a comprehensive computing power index obtained based on the initial computing power information of the computing service node. For example, the computing power proxy module normalizes the transmission computing power information of the computing service node to obtain a comprehensive computing power index (metric), where a larger metric value indicates higher priority. Specifically, the PageRank algorithm can be used for normalization.
[0093] Optionally, the computing service node can collect the initial computing power information of the computing service node through the RESTful protocol.
[0094] The aforementioned initial computing power information includes at least one of the following: CPU utilization, memory utilization, GPU utilization, storage capacity, and energy efficiency information of computing service nodes.
[0095] Optionally, the newly defined BGP path attributes are as follows:
[0096] RFC 4271 defines that the type of a path attribute occupies 2 bytes and is divided into two fields: Flags (attribute label) and Type Code (attribute type value). Figure 3 As shown.
[0097] The first three bits of Attr.Flags are 0 (indicating optional), T (indicating transmission), and E, respectively. In this embodiment of the invention, the three bits 0, T, and E should be set to 1. 0 = 1 and T = 1 indicate that the attribute is an optional transmission attribute, meaning that devices that do not recognize the attribute will still receive it and forward it to other BGP neighbors; E = 1 indicates that the attribute length is extended to 2 bytes.
[0098] Currently, in the IANA definition, numbers 41-127 are unused. The type code for the computing power routing attribute is defined as follows, with the normalized metric attribute type value temporarily set to 127.
[0099] BGP update messages or segmented routing (SR) messages have the following message structure: Figure 4 As shown, all parameters except metric are existing parameters in the BGP update message, and will not be described in detail in this embodiment of the invention. For example, SAFI is Labeled Unicast; NLRI is 1.1.1.3 / 32; Label is 16003; Prefix-SID is 3.
[0100] Optionally, after sending the SID list to the ingress router of the first AS, the method further includes:
[0101] Replace the destination IP address in the service message received by the ingress router with the IP address of the router in the target computing server, where the target computing server is the computing server connected to the last-hop egress router.
[0102] For example, if the last-hop exit router is R9, then the target computing server is server 2 (i.e., computing proxy module 2).
[0103] Optionally, sending the SID list to the ingress router of the first AS includes:
[0104] The SID list is sent to the ingress router of the first AS via the gateway protocol and the path calculation unit communication protocol PCEP.
[0105] In this embodiment of the invention, BGP EPE function can be enabled on all egress routers. After the router device enables EPE function, it will automatically assign BGP peer SID, which corresponds to the segment route identifier mentioned above. The SDN controller in the domain will collect Peer SID, all BGP routes, network information, topology information, and resource pool computing power information transmitted by the third AS from all routers in the domain that have enabled EPE function through the BGP-LS protocol. The controller determines the last-hop egress device of the computing power resource pool that meets the computing power requirements according to service needs and generates a SID list. The controller distributes the SID-LIST to the forwarding entry device R1 through the gateway protocol and PCEP protocol. On R1, the destination IP of the service packet is replaced with the IP address of device R11 connected to R9.
[0106] In this embodiment of the invention, the controller of the first AS obtains target information of the target router within the first AS and resource pool computing power information transmitted by the third AS; based on the target information of the target router and the resource pool computing power information, it determines the target computing service node that meets the computing power requirements; it identifies the router in the third AS connected to the target computing service node as the last-hop egress router, and generates a Segment Identifier (SID) list corresponding to the packet forwarding path based on the last-hop egress router; and it sends the SID list to the ingress router of the first AS. Through this scheme, in cross-domain scenarios, a suitable computing service node can be determined based on computing power information, and it replaces the traditional BGP shortest path-based routing method between domains, realizing computing power and traffic control in cross-domain scenarios.
[0107] like Figure 5 As shown, this embodiment of the invention also provides a network traffic control method applied to a computing server, wherein the computing server is connected to a third AS, the computing server is connected to a computing service node, and the third AS is also connected to at least one second AS, each second AS being connected to a first AS. The method includes:
[0108] Step 501: Obtain the computing power information of the computing service node.
[0109] Step 502: Send the computing power information to the first AS through the third AS and the second AS.
[0110] In this embodiment of the invention, the third AS sends the computing power information of the computing service node to the first AS through the third AS and the second AS, enabling the first AS to determine the target computing service node that meets the computing power requirements based on the target router's target information and the resource pool's computing power information. The router in the third AS connected to the target computing service node is identified as the last-hop egress router, and a Segment Identifier (SID) list corresponding to the packet forwarding path is generated based on the last-hop egress router. The SID list is then sent to the ingress router of the first AS. This scheme enables the determination of a suitable computing service node based on computing power information in cross-domain scenarios, and replaces the traditional BGP shortest path-based routing method between domains, achieving computing power and traffic control in cross-domain scenarios.
[0111] Optionally, sending the computing power information to the first AS via the third AS and the second AS includes:
[0112] Based on BGP update messages, the computing power information is sent to the first AS through the third AS and the second AS.
[0113] The BGP update message has been described in the above embodiments and will not be repeated here.
[0114] Optionally, obtaining the computing power information of the computing service node includes:
[0115] Obtain initial computing power information of the computing service node, wherein the initial computing power information includes at least one of the following: CPU utilization rate, memory utilization rate, GPU utilization rate, storage capacity, and energy efficiency information of the computing service node;
[0116] The initial computing power information of the computing service node is normalized to obtain a comprehensive computing power index;
[0117] The comprehensive computing power index is determined as the computing power information of the computing service node.
[0118] In this embodiment of the invention, the initial computing power information of computing service nodes can be collected through the RESTful protocol, and the comprehensive computing power index can be obtained by normalization based on the PageRank algorithm.
[0119] In this embodiment of the invention, the third AS sends the computing power information of the computing service node to the first AS through the third AS and the second AS, enabling the first AS to determine the target computing service node that meets the computing power requirements based on the target router's target information and the resource pool's computing power information. The router in the third AS connected to the target computing service node is identified as the last-hop egress router, and a Segment Identifier (SID) list corresponding to the packet forwarding path is generated based on the last-hop egress router. The SID list is then sent to the ingress router of the first AS. This scheme enables the determination of a suitable computing service node based on computing power information in cross-domain scenarios, and replaces the traditional BGP shortest path-based routing method between domains, achieving computing power and traffic control in cross-domain scenarios.
[0120] like Figure 6 As shown, this embodiment of the invention also provides a network traffic control device applied to a controller within a first autonomous system (AS). The first AS is connected to a third AS via at least one second AS, and the third AS is connected to at least one computing server. Each computing server is connected to a computing service node. The device includes:
[0121] The first acquisition module 601 is used to acquire target information of the target router in the first AS and resource pool computing power information transmitted by the third AS. The resource pool computing power information includes computing power information of at least one computing service node, and the target information includes the segment routing identifier (SID) of the target router.
[0122] The first determining module 602 is used to determine the target computing service node that meets the computing power requirements based on the target information of the target router and the computing power information of the resource pool;
[0123] The second determining module 603 is used to determine the router in the third AS that is connected to the target computing service node as the last hop egress router, and generate a list of segment identifiers (SIDs) corresponding to the packet forwarding path based on the last hop egress router.
[0124] The first sending module 604 is used to send the SID list to the ingress router of the first AS.
[0125] Optionally, the first acquisition module is used to acquire the resource pool computing power information transmitted by the third AS through the second AS, wherein the resource pool computing power information is carried by a Border Gateway Protocol (BGP) update message.
[0126] Optionally, the first acquisition module is used to acquire the resource pool computing power information transmitted by the third AS through the second AS based on the BGP tag unicast address family.
[0127] Optionally, the apparatus of this embodiment further includes:
[0128] The replacement module is used to replace the destination IP address in the service message received by the ingress router with the IP address of the router in the target computing server after the first sending module sends the SID list to the ingress router of the first AS. The target computing server is the computing server connected to the last hop egress router.
[0129] Optionally, the first sending module is used to send the SID list to the ingress router of the first AS via the gateway protocol and the path calculation unit communication protocol PCEP.
[0130] Optionally, the target information further includes at least one of the following:
[0131] BGP routing information;
[0132] Network information transmission;
[0133] Network topology information.
[0134] In this embodiment of the invention, the controller of the first AS obtains target information of the target router within the first AS and resource pool computing power information transmitted by the third AS; based on the target information of the target router and the resource pool computing power information, it determines the target computing service node that meets the computing power requirements; it identifies the router in the third AS connected to the target computing service node as the last-hop egress router, and generates a SID list corresponding to the packet forwarding path based on the last-hop egress router; and it sends the SID list to the ingress router of the first AS. Through this scheme, in cross-domain scenarios, a suitable computing service node can be determined based on computing power information, and it replaces the traditional BGP shortest path-based routing method between domains, thus realizing computing power and traffic control in cross-domain scenarios.
[0135] like Figure 7 As shown, this embodiment of the invention also provides a network traffic control device applied to a computing server. The computing server is connected to a third AS, and the computing server is connected to a computing service node. The third AS is also connected to at least one second AS, and each second AS is connected to a first AS. The device includes:
[0136] The second acquisition module 701 is used to acquire the computing power information of the computing service node;
[0137] The second sending module 702 is used to send the computing power information to the first AS through the third AS and the second AS.
[0138] Optionally, the second sending module is used to send the computing power information to the first AS through the third AS and the second AS based on the BGP update message.
[0139] Optionally, the second acquisition module includes:
[0140] The first acquisition submodule is used to acquire the initial computing power information of the computing service node. The initial computing power information includes at least one of the following: CPU utilization rate, memory utilization rate, GPU utilization rate, storage capacity, and energy efficiency information of the computing service node.
[0141] The second acquisition submodule is used to normalize the initial computing power information of the computing service node to obtain a comprehensive computing power index.
[0142] The determination submodule is used to determine the comprehensive computing power index as the computing power information of the computing service node.
[0143] In this embodiment of the invention, the third AS sends the computing power information of the computing service node to the first AS through the third AS and the second AS, enabling the first AS to determine the target computing service node that meets the computing power requirements based on the target router's target information and the resource pool's computing power information. The router in the third AS connected to the target computing service node is identified as the last-hop egress router, and a list of SIDs corresponding to the packet forwarding paths is generated based on the last-hop egress router. The SID list is then sent to the ingress router of the first AS. This scheme enables the determination of suitable computing service nodes based on computing power information in cross-domain scenarios, and replaces the traditional BGP shortest path-based routing method between domains, achieving computing power and traffic control in cross-domain scenarios.
[0144] like Figure 8 As shown, this embodiment of the invention provides a network traffic control device 800. In one embodiment, the device is applied to a controller within a first autonomous system (AS). The first AS is connected to a third AS via at least one second AS, and the third AS is connected to at least one computing server. Each computing server is connected to a computing service node. The device includes a transceiver 820 and a processor 810.
[0145] The transceiver 820 is used to acquire target information of the target router in the first AS and resource pool computing power information transmitted by the third AS. The resource pool computing power information includes computing power information of at least one computing service node, and the target information includes the segment routing identifier (SID) of the target router.
[0146] The processor 810 is used to determine the target computing service node that meets the computing power requirements based on the target information of the target router and the computing power information of the resource pool; to determine the router in the third AS that is connected to the target computing service node as the last hop egress router; and to generate a list of SIDs corresponding to the packet forwarding path based on the last hop egress router.
[0147] The transceiver 820 is used to send the SID list to the ingress router of the first AS.
[0148] In another embodiment of the present invention, the apparatus is applied to a computing server, the computing server is connected to a third AS, the computing server is connected to a computing service node, and the third AS is also connected to at least one second AS, each second AS being connected to a first AS.
[0149] The device includes a transceiver 820 and a processor 810, wherein,
[0150] The transceiver is used to obtain the computing power information of the computing service node; and to send the computing power information to the first AS through the third AS and the second AS.
[0151] This device can implement all the above-described method embodiments and achieve the same technical effect, which will not be elaborated here.
[0152] like Figure 9 As shown, this embodiment of the invention also provides a network traffic control device, including: a transceiver 910, a processor 900, a memory 920, and a program or instructions stored in the memory 920 and executable on the processor 900; when the processor 900 executes the program or instructions, it implements the steps in the network traffic control method described above.
[0153] The transceiver 910 is used to receive and send data under the control of the processor 900.
[0154] Among them, Figure 9In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 900) and memory (memory 920). The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 910 can be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium. The processor 900 is responsible for managing the bus architecture and general processing, and the memory 920 can store data used by the processor 900 during operation.
[0155] This invention also provides a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps in the network traffic control method described above and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0156] The processor mentioned above is the processor in the resource processing network traffic control device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0157] It should be further noted that the terminals described in this specification include, but are not limited to, smartphones, tablets, etc., and many of the functional components described are referred to as modules in order to emphasize the independence of their implementation.
[0158] In this embodiment of the invention, the module can be implemented in software so that it can be executed by various types of processors. For example, an identified executable code module may include one or more physical or logical blocks of computer instructions, which may be constructed as objects, procedures, or functions. Nevertheless, the executable code of the identified module does not need to be physically located together, but may include different instructions stored in different bits, which, when logically combined, constitute the module and achieve the module's intended purpose.
[0159] In practice, an executable code module can be a single instruction or many instructions, and can even be distributed across multiple different code segments, different programs, and across multiple memory devices. Similarly, operational data can be identified within the module and can be implemented in any suitable form and organized within any suitable type of data structure. This operational data can be collected as a single dataset or distributed across different locations (including different storage devices), and can exist, at least in part, solely as electronic signals within the system or network.
[0160] When a module can be implemented using software, considering the current level of hardware technology, modules that can be implemented in software can be implemented using hardware circuits by those skilled in the art to achieve the corresponding functions, without considering cost. These hardware circuits include conventional very-large-scale integrated circuits (VLSI) or gate arrays, as well as existing semiconductors such as logic chips and transistors, or other discrete components. Modules can also be implemented using programmable hardware devices, such as field-programmable gate arrays, programmable array logic, and programmable logic devices.
[0161] The exemplary embodiments described above are with reference to the accompanying drawings. Many different forms and embodiments are feasible without departing from the spirit and teachings of the invention. Therefore, the invention should not be construed as limiting the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided to make the invention complete and convey the scope of the invention to those skilled in the art. In these drawings, component dimensions and relative dimensions may be exaggerated for clarity. The terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. As used herein, unless clearly indicated otherwise, the singular forms “a,” “an,” and “the” are intended to include all such forms. It will be further understood that the terms “comprising” and / or “including”, when used in this specification, indicate the presence of the stated features, integers, steps, operations, components, and / or elements, but do not exclude the presence or addition of one or more other features, integers, steps, operations, components, and / or groups thereof. Unless otherwise indicated, when stated, a range of values includes the upper and lower limits of the range and any subranges in between.
[0162] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A network traffic control method, applied to a controller within a first autonomous system (AS), wherein the first AS is connected to a third AS via at least one second AS, and the third AS is connected to at least one computing server, each computing server being connected to a computing service node, characterized in that, The method comprises: obtaining target information of a target router in a first AS and resource pool computing power information transmitted by a third AS, the resource pool computing power information comprising computing power information of at least one computing service node, and the target information comprising a segment routing identifier of the target router; determining a target computing service node satisfying a computing power requirement according to the target information of the target router and the resource pool computing power information; determining a last-hop egress router connected with the target computing service node in the third AS, and generating a segment identifier (SID) list corresponding to a packet forwarding path based on the last-hop egress router; sending the SID list to an ingress router of the first AS.
2. The method of claim 1, wherein, The method comprises: obtaining resource pool computing power information transmitted by a third AS through a second AS, wherein the resource pool computing power information is carried by a border gateway protocol (BGP) update message.
3. The method of claim 2, wherein, The method comprises: obtaining the resource pool computing power information transmitted by the third AS through the second AS based on a BGP label unicast address family.
4. The method of claim 1, wherein, After the SID list is sent to the ingress router of the first AS, the method further comprises: replacing a destination IP address in a service packet received by the ingress router with an IP address of a router in a target computing server connected with the last-hop egress router.
5. The method of claim 1, wherein, The method comprises: sending the SID list to the ingress router of the first AS through a gateway protocol and a path computation element communication protocol (PCEP).
6. The method of claim 1, wherein, The target information further comprises at least one of: BGP routing information; network transmission information; network topology information.
7. A network traffic control method applied to a computing power server, wherein the computing power server is connected with a third AS, the computing power server is connected with a computing service node, and the third AS is further connected with at least one second AS, each of the second AS is connected with a first AS, and the method is characterized in that, The method comprises: obtaining computing power information of the computing service node; sending the computing power information to the first AS through the third AS and the second AS, so that the first AS determines a target computing service node satisfying a computing power requirement according to target information of a target router in the first AS and the computing power information, determines a last-hop egress router connected with the target computing service node in the third AS, and generates a segment identifier (SID) list corresponding to a packet forwarding path based on the last-hop egress router, and sends the SID list to an ingress router of the first AS.
8. The method of claim 7, wherein, The method comprises: sending the computing power information to the first AS through the third AS and the second AS based on a BGP update message.
9. The method of claim 8, wherein, The method comprises: obtaining initial computing power information of the computing service node, wherein the initial computing power information comprises at least one of a central processing unit (CPU) usage rate, a memory usage rate, a graphics processing unit (GPU) usage rate, a storage capacity, and energy efficiency information of the computing service node. normalize initial computing power information of the computing service node to obtain a comprehensive computing power index; determine the comprehensive computing power index as the computing power information of the computing service node.
10. A network traffic control device, applied to a controller in a first autonomous system (AS), wherein the first AS is connected with a third AS through at least one second AS, and the third AS is connected with at least one computing power server, and each computing power server is connected with one computing service node, characterized in that, The apparatus comprises: a first obtaining module configured to obtain target information of a target router in a first AS and resource pool computing power information delivered by a third AS, the resource pool computing power information comprising computing power information of at least one computing service node, and the target information comprising a Segment Routing Identifier (SID) of the target router; a first determining module configured to determine a target computing service node meeting a computing power requirement according to the target information of the target router and the resource pool computing power information; a second determining module configured to determine a router connected to the target computing service node in the third AS as a last-hop egress router, and generate a Segment Identifier (SID) list corresponding to a packet forwarding path based on the last-hop egress router; a first sending module configured to send the SID list to an ingress router of the first AS.
11. A network traffic control device applied to a computing power server, wherein the computing power server is connected with a third AS, the computing power server is connected with a computing service node, and the third AS is further connected with at least one second AS, each of the second AS is connected with a first AS, and the device is characterized in that, The apparatus comprises: a second obtaining module configured to obtain computing power information of the computing service node; a second sending module configured to send the computing power information to the first AS through the third AS and a second AS, so that the first AS determines a target computing service node meeting a computing power requirement according to target information of a target router in the first AS and the computing power information, determines a router connected to the target computing service node in the third AS as a last-hop egress router, and generates a Segment Identifier (SID) list corresponding to a packet forwarding path based on the last-hop egress router, and sends the SID list to an ingress router of the first AS.
12. A network traffic control device, applied to a controller in a first autonomous system (AS), wherein the first AS is connected with a third AS through at least one second AS, and the third AS is connected with at least one computing power server, and each computing power server is connected with one computing service node, characterized in that, The apparatus comprises a transceiver and a processor; the transceiver is configured to obtain target information of a target router in a first AS and resource pool computing power information delivered by a third AS, the resource pool computing power information comprising computing power information of at least one computing service node, and the target information comprising a Segment Routing Identifier (SID) of the target router; the processor is configured to determine a target computing service node meeting a computing power requirement according to the target information of the target router and the resource pool computing power information, determine a router connected to the target computing service node in the third AS as a last-hop egress router, and generate a Segment Identifier (SID) list corresponding to a packet forwarding path based on the last-hop egress router; the transceiver is configured to send the SID list to an ingress router of the first AS.
13. A network traffic control device, applied to a computing power server, the computing power server being connected with a third AS, the computing power server being connected with a computing service node, and the third AS being further connected with at least one second AS, each of the second AS being connected with a first AS, characterized in that, The apparatus comprises a transceiver and a processor; The transceiver is configured to acquire computing power information of the computing service node, send the computing power information to the first AS through the third AS and the second AS, so that the first AS determines a target computing service node satisfying a computing power requirement according to target information of a target router in the first AS and the computing power information, determines a router connected with the target computing service node in the third AS as a last-hop egress router, generates a segment identifier (SID) list corresponding to a packet forwarding path based on the last-hop egress router, and sends the SID list to an ingress router of the first AS.
14. A network flow control apparatus comprising: The transceiver, the processor, the memory, and a program or instructions stored on the memory and executable on the processor; and the processor implements the steps of the network traffic control method according to any one of claims 1 to 6, or the steps of the network traffic control method according to any one of claims 7 to 9 when executing the program or the instructions.
15. A readable storage medium, having stored thereon a program or instructions, characterized in that, The program or the instructions are executed by the processor to implement the steps of the network traffic control method according to any one of claims 1 to 6, or the steps of the network traffic control method according to any one of claims 7 to 9.
Citation Information
Patent Citations
Service identifier distribution method in cross-domain computing power aware network and communication device
CN115278608A
Computing power routing method and device, electronic equipment and storage medium
CN115412482A