Computing power information notification method and apparatus, and network edge node and storage medium

By aggregating and advertising computing power information at the granularity of the exit node in the BGP protocol, and performing routing optimization at the receiving end, the problem of difficulty in cross-BGP domain notification and excessive information in the existing technology is solved, and efficient computing power routing is achieved. optimization.

WO2024188315A1PCT designated stage expired Publication Date: 2024-09-19CHINA MOBILE COMM LTD RES INST +1

Patent Information

Application Number
PCT/CN2024/081726
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-16
Filing Date
2024-03-14
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

When the existing technology advertises computing power information through the BGP protocol, it is difficult to achieve effective notification and optimization across BGP domains, and may lead to the release of too much information.

Method used

The computing power information is aggregated and announced based on the exit node as the granularity. The path attributes of the BGP packets are used to carry the aggregated computing power information, including busy and idle status, number of sessions, etc. The TLV identifier is used to indicate the aggregation information, and the accumulated computing power information is carried at the receiving end according to the accumulated Delay and computing power information are used for route selection and forwarding.

Benefits of technology

It realizes the optimization of cross-domain computing power routing, reduces the amount of information released in the computing power network, improves the efficiency and accuracy of notifications, and supports cross-BGP domain computing power information notification and route optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024081726_19092024_PF_FP_ABST
    Figure CN2024081726_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a computing power information notification method and apparatus, and a network edge node and a storage medium. The method comprises: a first network edge node notifying a second network edge node of a first service of first information, wherein the first information at least carries an SID of the first service, and first computing power information and a first identifier, the first computing power information is aggregated computing power information of first computing power nodes connected to the same egress node, the first computing power nodes represent computing power nodes capable of providing the first service, and the first identifier is used for instructing a second network edge node to make an optimal selection from routing information corresponding to a received SID and forward same by taking the egress node as the granularity.
Need to check novelty before this filing date? Find Prior Art

Description

Computing power information notification method, device, network edge node and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is based on the Chinese patent application with application number 202310258239.8 and application date March 16, 2023, and claims the priority of the above-mentioned Chinese patent application. The entire content of the above-mentioned Chinese patent application is hereby introduced into this application as a reference. Technical Field

[0003] The present application relates to the field of communication technology, and in particular to a computing power information notification method, device, network edge node and storage medium. Background Art

[0004] The Border Gateway Protocol (BGP) is a routing protocol used to exchange routing information. Related technologies support the use of BGP to communicate computing power information. However, when communicating computing power information via BGP, it may require a large amount of information to be communicated or lack cross-domain solutions.

[0005] Summary of the Invention

[0006] To solve related technical problems, the embodiments of the present application provide a computing power information notification method, device, network edge node and storage medium.

[0007] The technical solution of the embodiment of the present application is implemented as follows:

[0008] This embodiment of the present application provides a computing power information notification method, which is applied to a first network edge node. The method includes:

[0009] Notifying the first information to the second network edge node of the first service; wherein,

[0010] The first information carries at least a service identifier (SID, Service ID identifier), first computing power information and a first identifier of the first service; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the exit node granularity.

[0011] In the above solution, the first identifier includes at least one of the following:

[0012] The identifier of the network edge node closest to the first computing power node;

[0013] The identifier of the first-hop exit node.

[0014] In the above solution, the computing power information includes at least one of the following:

[0015] busy / idle status;

[0016] Computing power busy / idle information;

[0017] The number of connected sessions;

[0018] The total number of sessions that can be supported;

[0019] The number of remaining accessible sessions.

[0020] In the above solution, the first network edge node represents an egress node, and the method further includes:

[0021] The computing power information of multiple first computing power nodes and / or multiple first service instances is aggregated to obtain the first computing power information; wherein, the first service instance is located in the first computing power node and is used to provide the first service; the first computing power node is connected to the first network edge node.

[0022] In the above solution, aggregating computing power information of multiple first computing power nodes and / or multiple first service instances to obtain the first computing power information includes at least one of the following:

[0023] Aggregating the busy and idle states of the plurality of first computing nodes and / or the plurality of first service instances to obtain an aggregated busy and idle state;

[0024] Aggregate the service session access capabilities of all first computing nodes and / or all first service instances to obtain at least one of the following:

[0025] The total number of connected sessions after aggregation;

[0026] The total number of sessions that can be supported after aggregation;

[0027] The total number of remaining accessible sessions after aggregation.

[0028] In the above solution, the first information also carries the accumulated delay.

[0029] In the above solution, the first information also carries a second identifier, and the second identifier is used to indicate whether the first computing power information is aggregated computing power information.

[0030] In the above solution, the first information is carried in the first TLV in the path attribute of the BGP message.

[0031] The embodiment of the present application further provides a computing power information notification method, which is applied to a second network edge node, and the method includes:

[0032] Receive first information announced by at least one first network edge node; wherein,

[0033] The first information carries at least the SID of the first service, the first computing power information, and the first identifier; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service;

[0034] The first identifier is used to instruct the second network edge node to optimize and forward the received routing information corresponding to the SID based on the egress node granularity.

[0035] In the above solution, the first identifier includes at least one of the following:

[0036] The identifier of the network edge node closest to the first computing power node;

[0037] The identifier of the first-hop exit node.

[0038] In the above solution, the first information also carries the accumulated delay.

[0039] In the above solution, the method further includes: based on the received first information, optimizing and forwarding the received routing information corresponding to the SID with the egress node as the granularity.

[0040] In the above solution, the method further includes at least one of the following:

[0041] Based on the received first information, establish at least one forwarding table entry corresponding to each SID; each different egress node corresponds to a forwarding table entry;

[0042] Based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to each SID, the cost or priority of the forwarding table entry corresponding to the SID is adjusted.

[0043] In the above solution, the method further includes at least one of the following:

[0044] Based on the decision of the forwarding table entry corresponding to the SID, notify the routing information corresponding to the SID to at least one third network edge node; the routing information carries the first information;

[0045] The routing information corresponding to the SID is not advertised if at least one of the following conditions is met:

[0046] The cumulative delay associated with the forwarding entry corresponding to the SID is greater than or equal to the first threshold;

[0047] The number of autonomous systems (ASs) through which the routing information corresponding to the SID passes is greater than or equal to a second threshold.

[0048] In the above solution, the method further includes:

[0049] At least one piece of preferred routing information is determined based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to the SID; the preferred routing information corresponds to the forwarding table entry corresponding to the SID.

[0050] In the above solution, the number of pieces of routing information is preferably less than or equal to a third threshold.

[0051] In the above solution, the computing power information includes at least one of the following:

[0052] busy / idle status;

[0053] Computing power busy / idle information;

[0054] The number of connected sessions;

[0055] The total number of sessions that can be supported;

[0056] The number of remaining accessible sessions.

[0057] In the above solution, the first information is carried in the first TLV in the path attribute of the BGP message.

[0058] In the above solution, the first information also carries a second identifier, which is used to indicate whether the first computing power information is aggregated computing power information.

[0059] The present application also provides a computing power information notification device, including:

[0060] The first sending unit is configured to notify the first information to the second network edge node of the first service; wherein,

[0061] The first information carries at least the SID, first computing power information and first identifier of the first service; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the granularity of the exit node.

[0062] The present application also provides a computing power information notification device, including:

[0063] A first receiving unit, configured to receive first information announced by at least one first network edge node;

[0064] Among them, the first information carries at least the SID of the first service, the first computing power information and the first identifier; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the exit node granularity.

[0065] The embodiment of the present application further provides a first network edge node, including a first processor and a first communication interface, wherein:

[0066] The first communication interface is configured to notify the second network edge node of the first service of the first information;

[0067] Among them, the first information carries at least the SID, first computing power information and first identifier of the first service; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the granularity of the exit node.

[0068] The embodiment of the present application further provides a second network edge node, including a second processor and a second communication interface, wherein:

[0069] The second communication interface is configured to receive first information announced by at least one first network edge node;

[0070] Among them, the first information carries at least the SID of the first service, the first computing power information and the first identifier; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the exit node granularity.

[0071] The embodiment of the present application further provides a first network edge node, comprising a first processor and a first memory configured to store a computer program that can be run on the first processor.

[0072] The first processor is configured to execute the steps of any one of the above-mentioned methods on the first network edge node side when running the computer program.

[0073] The embodiment of the present application further provides a second network edge node, comprising a second processor and a second memory configured to store a computer program that can be run on the second processor.

[0074] The second processor is configured to execute the steps of any one of the above-mentioned methods on the second network edge node side when running the computer program.

[0075] An embodiment of the present application further provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned methods on the first network edge node side, or implements the steps of any of the above-mentioned methods on the second network edge node side.

[0076] In the computing power information notification method, device, network edge node and storage medium provided in the embodiments of the present application, the first network edge node notifies the first information to the second network edge node of the first service, and the second network edge node receives the first information notified by at least one first network edge node; wherein, the first information carries at least the service identifier SID of the first service, the first computing power information and the first identifier; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the granularity of the exit node. In the above scheme, the first network edge node can notify the SID, the first computing power information and the first identifier of the first service to the second network edge node of the first service. Since the first computing power information is aggregated computing power information, by announcing the aggregated computing power information, it is possible to avoid announcing too much information in the computing power network; the second network edge node can optimize and forward the routing information corresponding to the received SID with the exit node as the granularity, and can realize cross-domain announcement of the routing information corresponding to the SID, and cross-domain optimization of the routing information corresponding to the SID, and the computing power information can be carried in the routing information, so the cross-domain announcement of the computing power information can be realized, which can better support cross-domain computing power routing. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 is a schematic diagram of the architecture of a computing power routing system in related technology;

[0078] FIG2 is a diagram illustrating an example of a computing power routing system architecture applicable to an embodiment of the present application;

[0079] FIG3 is a flow chart of a method for notifying computing power information according to an embodiment of the present application;

[0080] FIG4 is a diagram illustrating a structure of a first TLV according to an embodiment of the present application;

[0081] FIG5 is a flow chart of another method for notifying computing power information according to an embodiment of the present application;

[0082] FIG6 is a schematic diagram of the structure of a computing power information notification device according to an embodiment of the present application;

[0083] FIG7 is a schematic diagram of the structure of a computing power information notification device according to an embodiment of the present application;

[0084] FIG8 is a schematic diagram of the structure of a first network edge node according to an embodiment of the present application;

[0085] FIG9 is a schematic diagram of the structure of the second network edge node according to an embodiment of the present application. DETAILED DESCRIPTION

[0086] The Computing Force Network is a new network architecture evolving towards computing and network convergence. By coordinating computing and network resources, it dispatches services for different applications to appropriate or optimal service nodes via optimal paths. For example, these nodes are located close to the network and have sufficient computing resources, ensuring user experience and global resource optimization. This, on the one hand, can meet user service needs, such as lower network latency, avoiding network congestion, and faster computation completion times to avoid computational congestion. On the other hand, it can optimize the use of network and computing resources.

[0087] Computing-aware routing or computing-aware traffic steering (CATS) introduces computing power information into the routing domain. By sensing the user's business needs, computing power resources, and network resources, it dynamically selects the "forwarding path and destination service node" that meets the business needs, and dispatches the business along the specified path to the service node, thereby achieving global optimization of computing power resources and network resources.

[0088] Figure 1 shows an example of a computing power routing system architecture in related technology. The computing power routing system in Figure 1 includes multiple routers and three computing power nodes (computing power node 1, computing power node 2, and computing power node 3) that have completed computing power registration. Both computing power node 1 and computing power node 3 can provide service 1 (service 1), with the service identifier of service 1 being SID 1; computing power node 2 can provide service 2, with the service identifier of service 2 being SID 2. Computing power registration refers to the registration of a computing power node in the computing power network; a computing power node is a computing node, service node, or computing service node that provides computing power. The computing power routing system implements the following functions: computing power notification, network status detection, and user request scheduling. Computing power notification refers to the dissemination of computing power information within the network; network status detection refers to the collection of network status information by ingress nodes; and user request scheduling refers to the ingress nodes (e.g., R1 and R11) deciding which computing power node to forward user messages to based on the collected computing power and network status information.

[0089] The computing power routing mechanism is as follows:

[0090] Multiple computing nodes in the computing network can provide service 1. The router spreads the routing information of SID1 in the computing network (announces the routing information corresponding to an anycast address). The Ingress node integrates the network resources and computing resources to generate a forwarding table entry for SID1. For example, it selects one from the tunnels corresponding to the candidate nodes (routers) reaching R6 and R14 in Figure 1. The Ingress node monitors the computing power and network latency of multiple candidate nodes. When Ingress node 1 (for example, R1) receives a message with a destination address (DA) of SID1, it forwards the message of SID1 according to the aforementioned forwarding table entry.

[0091] The core of the computing power routing mechanism: Ingress nodes extend Layer 3 load balancing (LB) to support LB that takes computing power information into account, not just traditional network distance. Furthermore, the related mechanism is dynamic, meaning that Ingress nodes will sense changes in computing power and network status information to update LB decisions.

[0092] In related technologies, the computing power routing mechanism supports the notification of computing power information through BGP, and also supports the notification of routing information through BGP. For example, the routing information corresponding to the unicast address of the computing power node or service instance is notified through BGP. The unicast address can be called a unicast Internet Protocol (IP) address, and the unicast address of the computing power node can be recorded as serverIP. Another example is the routing information corresponding to the anycast address of the service supported by the computing power node is notified through BGP. When the computing power information and routing information are notified through BGP, the computing power information is carried by extending the BGP-related fields. Among them, there are two options for publishing routing information:

[0093] Technical Option 1: Do not advertise the routing information corresponding to the anycast address separately, only advertise the routing information corresponding to the serverIP

[0094] It is necessary to expand the BGP advertisement of serverIP and include the SID (anycast IP address) in the routing information of each serverIP. The granularity is relatively fine, and the routing information of more serverIPs may be published, resulting in more routing information being announced.

[0095] Technical Option 2: Only announce the routing information corresponding to the anycast address, not the routing information corresponding to the serverIP

[0096] One solution in the prior art is only applicable to a single BGP domain and does not support cross-BGP domains; it is necessary to support the function of additional paths of BGP, which can have different next hop addresses.

[0097] In summary, the current solution of announcing routing information and computing power information through BGP does not support cross-BGP domains and may require the announcement of more routing information.

[0098] To solve the above technical problems, the embodiment of the present application adopts technical option 3: at least announce the routing information corresponding to the anycast address, the anycast address corresponds to the SID (or serviceID) of the service, and can also announce the routing information corresponding to the serverIP; support the announcement of computing power information and routing information across BGP domains, and optimize the routing information across BGP domains.

[0099] When BGP announces routing information corresponding to anycast addresses, there will be issues of optimization and coverage, which need to be avoided in the computing network. At the same time, announcing routing information corresponding to anycast addresses across BGP domains brings about the problem of multiple next-hop addresses and how to determine the announcement scope. In order to support cross-domain BGP announcements, the problems that need to be solved in the embodiments of this application are:

[0100] 1. The method for publishing routing information corresponding to the server IP address (the solution in Technical Option 1) is relatively fine-grained and does not support the aggregation of routing information, which may result in a large amount of information being published in the computing network. To avoid this, this application publishes computing information at the exit node granularity, and the exit node is identified by the exit node's Internet Protocol (EIP) address. The EIP address is the IP address of the exit node. The exit node is a network edge node directly connected to the computing node providing the service. Therefore, the exit node can also be understood as the network edge node closest to the computing node.

[0101] 2. There are multiple options for publishing routing information, but from a business perspective, this application uses one business corresponding to one anycast address, that is, related processing is performed according to the anycast address (for example, an IPv6 unicast address). Combined with 1, this application aggregates computing power information at the exit node granularity, and then publishes the routing information corresponding to the anycast address to the computing power network. The routing information corresponding to the anycast address carries the identifier of the associated exit node.

[0102] 3. These anycast-specific routing information requires a special identifier (not a regular anycast address) to trigger a special BGP routing process. This special BGP routing process cannot implement the default BGP route preference principle, which only prioritizes and retains one identical route. A solution similar to the Path Identifier (PI) mechanism (the solution in Technical Option 2, which supports multiple Next Hops simultaneously) can be implemented. However, the PI mechanism only works within a single domain. Crossing domains requires a new path identifier, making it unsuitable for cross-domain notifications in computing networks.

[0103] A comparison of the three technology options is as follows:

[0104] Based on the above analysis, in various embodiments of the present application, the first network edge node notifies the first information to the second network edge node of the first service, and the second network edge node receives the first information notified by at least one first network edge node; wherein, the first information carries at least the service identifier SID, first computing power information and first identifier of the first service; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID with the exit node as the granularity. In the above scheme, the first network edge node can notify the SID, first computing power information and first identifier of the first service to the second network edge node of the first service; since the first computing power information is aggregated computing power information, by notifying the aggregated computing power information, it is possible to avoid notifying too much information in the computing power network; the second network edge node can optimize and forward the routing information corresponding to the received SID based on the granularity of the exit node, and can realize cross-domain notification of routing information corresponding to the SID, as well as cross-domain optimization of routing information corresponding to the SID, and computing power information can be carried in the routing information, so cross-domain notification of computing power information can be realized, which can better support cross-domain computing power routing.

[0105] The present application will be described in further detail below with reference to the accompanying drawings and embodiments.

[0106] This embodiment of the present application provides a computing power information notification method, which is applied to a first network edge node. Referring to FIG. 2 , the method includes:

[0107] Step 201: Notify first information to a second network edge node of a first service.

[0108] Among them, the first information carries at least the SID, first computing power information and first identifier of the first service; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the granularity of the exit node.

[0109] Here, the SID carried in the first information can be used as the anycast address of the first service. The first service generally refers to any service, and a service can also be understood as a business. Since the SID is a unique identifier of a service, one service corresponds to one anycast address.

[0110] The first computing power information is associated with the SID of the first service. The first computing power information is the computing power information obtained by the exit node by aggregating the computing power information of all first computing power nodes connected to the exit node. One piece of first computing power information corresponds to one exit node. The first computing power node contains a first service instance for providing the first service. The computing power information of the first computing power node can be understood as the computing power information of the first service instance in the first computing power node; the first computing power information can be understood as: the computing power information obtained by the exit node aggregating the computing power information of all first service instances in each directly connected first computing power node. When there is only one first computing power node connected to the exit node, and there is only one first service instance in the first computing power node, the aggregated computing power information of the first computing power node is the same as the computing power information before aggregation. At this time, the computing power information of the first computing power node does not need to be aggregated.

[0111] It should be noted that in the embodiment of the present application, the computing power information of all computing power nodes that access the computing power network through the same exit node and can provide the same service is aggregated with the exit node as the granularity to obtain the aggregated computing power information, and the aggregated computing power information is published with the exit node as the granularity. The computing power nodes that can provide the same service can be connected to the same exit node or to different exit nodes. The exit node can be understood as a network edge node directly connected to the service domain (server domain) or a directly connected computing power node, or the first network edge node directly connected to the computing power node; the server domain can be understood as the domain where the computing power node providing the service is located. For example, when the SID of the first service is SID1, the exit node includes R6 and R14 in Figure 3; when the SID of the first service is SID2, the exit node is R13; the exit node is the first hop router (R6, R14, R13) connected to the first computing power node (computing power node 1, computing power node 2, computing power node 3). In the embodiment of the present application, computing power information is aggregated only at the first hop router or the first network edge node directly connected to the computing power node.

[0112] Network edge nodes can also be referred to as network edge devices or network side edge devices, including edge devices (PE, Provider Edge) devices and / or routers, etc. Routers can also be referred to as routing devices, including routers that support BGP. Computing power nodes can be understood as computing nodes, service nodes or computing service nodes, etc. Computing power nodes include at least one of the following: Multi-Access Edge Computing (MEC) devices, Mobile Edge Computing (MEC) devices, and servers; Multi-Access Edge Computing devices and Mobile Edge Computing devices can be used interchangeably. An MEC device can include one or more servers or service instances. MEC devices can also be referred to as MEC nodes. Service instances can be understood as virtual machines that provide corresponding services.

[0113] The second network edge node prioritizes and forwards the received routing information corresponding to the SID at the egress node granularity. This can also be understood as prioritizing and forwarding the received routing information corresponding to the SID at the egress node granularity. The routing information corresponding to the SID may carry the first information. The routing information corresponding to the SID includes at least routing information corresponding to the anycast address of the first service, which may carry the anycast address of the first service.

[0114] Optionally, the egress node may also publish at least one of the following routing information:

[0115] The routing information corresponding to the unicast address serverIP of the first computing power node, which may carry the serverIP of the first computing power node; the routing information may carry the aggregated computing power information of the first computing power node;

[0116] Routing information corresponding to the unicast IP address of the first service instance in the first computing power node, where the routing information may carry the unicast IP address of the first service instance;

[0117] The routing information corresponding to the loopback IP address of the exit node. This routing information can carry the loopback IP address of the exit node. The loopback address is also called the loopback address or loopback address. The loopback IP address can be understood as the IP address of the loopback interface.

[0118] Optionally, the exit node may aggregate the unicast IP addresses and / or corresponding routing information of service instances used to provide different services in the same first computing power node, thereby publishing the aggregated routing information corresponding to the first computing power node, which may reduce the number of published routing information items.

[0119] It should be noted that the first network edge node and the second network edge node can be located in the same network domain or in different network domains. That is, the first information can be announced in the same domain or across domains. A network domain can be simply referred to as a domain, including a BGP network domain and / or an AS. The AS is marked or distinguished using an autonomous system number or autonomous system number (ASN). A BGP network domain can also be referred to as a BGP domain.

[0120] When the first information is first announced, the first network edge node and the second network edge node are both located in the same network domain. The first network edge node is an egress node of the first network domain, and the second network edge node is an ingress node of the first network domain. The first network domain is directly connected to the server domain, that is, the first network edge node is a PE device directly connected to the server domain or directly connected to the first computing power node.

[0121] For example, in the case of the first notification of the first information, when the SID of the first service is SID1, the first network edge node may be R6 in Figure 3, and the second network edge node may be R5 in Figure 3. R6 and R5 are both located in the second autonomous system ASN2. The first computing power information notified by R6 to R5 may be the computing power information of computing power node 1 (there is only one first service instance in computing power node 1), or the computing power information obtained by R6 aggregating the computing power information of multiple first service instances in computing power node 1. When the SID of the first service is SID1, the first network edge node may be R14 in Figure 3, and the second network edge node may be R12 in Figure 3. R14 and R12 are both located in the fourth autonomous system ASN4. The first computing power information notified by R14 to R12 may be the computing power information of computing power node 3 (there is only one first service instance in computing power node 3), or the computing power information obtained by R14 aggregating the computing power information of multiple first service instances in computing power node 3. When the SID of the first service is SID2, the first network edge node can be R13 in Figure 3, and the second network edge node can be R12 in Figure 3. R13 and R12 are both located in the fourth autonomous system ASN4. The first computing power information notified by R13 to R12 is the computing power information of computing power node 2 (there is only one first service instance in computing power node 2), or it can be the computing power information obtained by R13 by aggregating the computing power information of multiple first service instances in computing power node 2.

[0122] When it is not the first time to announce the first information, the first network edge node and the second network edge node can be located in the same network domain or in different network domains; the first network edge node cannot be called an egress node, and the second network edge node cannot be called an ingress node; the first network edge node and the second network edge node generally refer to different network edge nodes.

[0123] For example, when it is not the first time to announce the first information, the first network edge node may be R5 in Figure 3, and the second network edge node may be R4 in Figure 3, R5 is located in the second autonomous system ASN3, and R4 is located in the first autonomous system ASN1; when continuing to announce the first information, the first network edge node may be R4 in Figure 3, and the second network edge node may be R1 in Figure 3, and R4 and R1 are both located in the first autonomous system ASN1.

[0124] It should be noted that in an embodiment of the present application, the first network edge node may declare to the second network edge node that the first network edge node supports notification of computing power information during the process of establishing a BGP connection with the second network edge node. For example, the first network edge node declares support for the ability to advertise address types or routing information that carry computing power information, where such address types or routing information carry computing power information and supports maintaining multiple forwarding table entries. For example, when the first network edge node announces computing power information, it announces this capability in accordance with BGP's rfc5492 Capabilities Advertisement with BGP-4, with the capability value set to 100.

[0125] Since computing power information is only aggregated at the egress node in this embodiment of the application, in order to facilitate the network edge node that receives the first information to identify the egress node, the first information carries the identifier of the egress node. Based on this, in one embodiment, the first identifier includes at least one of the following:

[0126] The identifier of the network edge node closest to the first computing power node;

[0127] The identifier of the first-hop exit node.

[0128] Here, the network edge node closest to the first computing power node can be understood as the network edge node directly connected to the first computing power node, or the first network edge node connected to the first computing power node. The identifier of the network edge node can be the identity identifier of the network edge node or the IP address of the network edge node. The first-hop exit node can be understood as the exit node directly connected to the first computing power node, or the first or first-hop network edge node directly connected to the first computing power node; the identifier of the first-hop exit node can be an EIP address.

[0129] It should be noted that the network edge node closest to the first computing power node and the first hop exit node are equivalent or interchangeable, both referring to exit nodes. For example, when the first computing power node is computing power node 1, the network edge node closest to computing power node 1 is R6, and the first hop exit node is also R6.

[0130] In actual application, the exit node obtains the computing power information of all first service instances in each first computing power node connected to the exit node; then, the obtained computing power information is aggregated to obtain the first computing power information; and the routing information for the anycast address of the first service is published to the computing power network. The routing information for the anycast address of the first service carries the first information, and the first information carries at least the SID of the first service, the first computing power information and the EIP address.

[0131] It should be noted that when the first information is announced again, the information of the first-hop exit node (such as the EIP address) will not change. Therefore, in an embodiment of the present application, the first computing power information is published with the EIP address as the granularity (the exit node as the granularity), and the EIP address of the exit node is carried in the first information.

[0132] In order to facilitate the second network edge node to optimize and forward the routing information corresponding to the SID, in one embodiment, the first information also carries the accumulated delay.

[0133] Here, the accumulated delay is obtained by measuring network performance at the second network edge node, representing the delay or network delay from the second network edge node to the first network edge node. In the network domain, the second network edge node can continuously measure or periodically measure the delay or network delay of the first network edge node.

[0134] It should be noted that when the second network edge node obtains the accumulated delay and sends it to the first network edge node, the first message carries the accumulated delay. In practical applications, either all first messages carry the accumulated delay or none carry the accumulated delay. If the first network edge node does not obtain the accumulated delay, the accumulated delay is set to zero.

[0135] Since BGP is a routing protocol for exchanging routing information, in order to announce computing power information and routing information through BGP, the first information is carried by extending the BGP path attribute. Based on this, in one embodiment, the first information is carried in the first TLV in the path attribute of the BGP message.

[0136] Here, when the first network edge node publishes the routing information corresponding to the SID of the first service, the first TLV in the path attribute in the routing information corresponding to the SID of the first service carries the first information. The path attribute can be recorded as Path Attribute or BGP Path Attribute. The routing information corresponding to the SID of the first service is carried in the BGP message. The first TLV (Type-length-value) is a TLV extended by BGP. The TLV is used to carry data of variable length. For example, the first TLV is TLV 0x0314, that is, the Type of the first TLV is 0x0314. The structure example of the first TLV is shown in Figure 4.

[0137] It should be noted that the first TLV can be used as a special identifier of the routing information corresponding to the anycast address, and is used to trigger the second network edge node to execute a special BGP routing processing flow, that is, to support collaborative processing for the first TLV. For example, two different routing information for the same anycast address (routing information corresponding to the same SID) each contain a first TLV. The first TLV of each first TLV (for example, TLV 0x0314) is the EIP address. If the EIP addresses of the two routing information are the same, the second network edge node optimizes the routing information and ultimately selects the optimal routing information from the different routing information for the same anycast address for forwarding. If the EIP addresses of the two routing information are different, the second network edge node considers the two routing information to be associated. On the one hand, it collaboratively generates related routing information. Specifically, it refers to multiple routing information related to the EIP address and optimizes the route to generate two or more BGP routing information for the first service SID. Based on the route optimization results, different priorities or costs are set for different BGP routing information. On the other hand, it supports re-advertising routing information. Specifically, it advertises two or more routing information for the first service SID. These routing information carry their own first TLVs in the path attribute. Different first TLVs have different EIP addresses.

[0138] In order to facilitate the second network edge node to identify whether the first computing power information is aggregated computing power information, in one embodiment, the first information also carries a second identifier, which is used to indicate whether the first computing power information is aggregated computing power information.

[0139] Here, in the case where the first information is carried in the first TLV in the path attribute of the BGP message, a second identifier can be set in the first TLV. For example, the first bit of the flag Flag in the first TLV shown in Figure 4 is set to 1 to indicate that the first computing power information contained in the first information is aggregated computing power information.

[0140] In the case where the first network edge node represents the egress node, the first network edge node aggregates computing power information of different first computing power nodes and / or different first service instances. Based on this, in one embodiment, the method further includes:

[0141] The computing power information of multiple first computing power nodes and / or multiple first service instances is aggregated to obtain the first computing power information; wherein, the first service instance is located in the first computing power node and is used to provide the first service; the first computing power node is connected to the first network edge node.

[0142] Here, the first network edge node determines all first computing nodes connected to the first network edge node, as well as all first service instances in each first computing node connected to the first network edge node; and aggregates computing power information of different first computing nodes and / or different first service instances by computing power type, computing power information type, or service session access capability to obtain first computing power information. Service session access capability may also be referred to as session access capability.

[0143] For example, when there is only one first computing power node connected to the first network edge node, and the first computing power node contains multiple first service instances, the first network edge node can aggregate the computing power information of all first service instances in the first computing power node according to the computing power type, computing power information type, or service session access capability to obtain the first computing power information.

[0144] When multiple first computing power nodes are connected to the first network edge node, the first network edge node can aggregate the computing power information of all first service instances in the same first computing power node according to the computing power type, computing power information type, or service session access capability to obtain the aggregated computing power information corresponding to the first computing power node; and aggregate the aggregated computing power information corresponding to each first computing power node to obtain the first computing power information.

[0145] In one embodiment, the computing power information includes at least one of the following:

[0146] busy / idle status;

[0147] Computing power busy / idle information;

[0148] The number of connected sessions;

[0149] The total number of sessions that can be supported;

[0150] The number of remaining accessible sessions.

[0151] Here, the busy / idle status can include either a busy or idle state, indicating the computing power of a computing node. The busy / idle status of computing power can reflect the utilization or occupancy rate of computing power. In practical applications, multiple statuses can be set to indicate different levels of computing power busyness or idleness based on actual conditions. For example, red, yellow, and green statuses can be set. Red indicates busy computing power, meaning the computing power node does not allow or refuses new sessions or new services; yellow indicates relatively busy computing power, meaning the computing power node allows a small number of new sessions or new services; and green indicates idle computing power, meaning the computing power node allows a large number of new sessions or new services.

[0152] The number of sessions can also be referred to as the number of sessions or the number of sessions, and the total number of sessions can be referred to as the total number of sessions. The total number of sessions that can be supported can be understood as the total number of sessions that can be accessed or allowed to be accessed. The busy and idle states can be determined by the total number of sessions that can be supported and the number of sessions that have been accessed; for example, the busy and idle states of the computing power node are determined based on the ratio of the number of sessions that have been accessed to the total number of sessions that can be supported. For example, when the ratio of the number of sessions that have been accessed to the total number of sessions that can be supported is greater than or equal to the set ratio, the computing power node is in a busy state; when the ratio of the number of sessions that have been accessed to the total number of sessions that can be supported is less than the set ratio, the computing power node is in an idle state, and the set ratio is greater than 0.5.

[0153] The number of remaining accessible sessions is equal to the difference between the total number of supported sessions and the number of connected sessions. That is, the number of remaining accessible sessions = the total number of supported sessions - the number of connected sessions. The computing power busy / idle information can include the total number of supported sessions and the number of connected sessions.

[0154] In a case where the first network edge node represents the egress node, in one embodiment, aggregating computing power information of multiple first computing power nodes and / or multiple first service instances to obtain the first computing power information includes at least one of the following:

[0155] Aggregating the busy and idle states of the plurality of first computing nodes and / or the plurality of first service instances to obtain an aggregated busy and idle state;

[0156] Aggregate the service session access capabilities of all first computing nodes and / or all first service instances to obtain at least one of the following:

[0157] The total number of connected sessions after aggregation;

[0158] The total number of sessions that can be supported after aggregation;

[0159] The total number of remaining accessible sessions after aggregation.

[0160] Here, the first network edge node determines all first computing nodes connected to the first network edge node, as well as all first service instances in each first computing node connected to the first network edge node. When only one first computing node is connected to the first network edge node, and the first computing node contains multiple first service instances, the busy and idle states of the multiple first service instances in the first computing node are aggregated to obtain an aggregated busy and idle state. When multiple first computing nodes are connected to the first network edge node, the busy and idle states of the first service instances in each first computing node are aggregated to obtain an aggregated busy and idle state. When aggregating the busy and idle states, the best busy and idle state is selected; for example, if the busy and idle states of at least two first service instances in the same first computing node are both idle, the aggregated busy and idle state corresponding to the first computing node is idle. For another example, if the busy and idle states of at least two first computing nodes are both idle, the aggregated busy and idle states corresponding to all first computing nodes connected to the first network edge node are idle.

[0161] The first network edge node aggregates service session access capabilities of all connected first computing nodes and / or all first service instances in each first computing node to obtain at least one of the following:

[0162] The total number of connected sessions after aggregation;

[0163] The total number of sessions that can be supported after aggregation;

[0164] The total number of remaining accessible sessions after aggregation.

[0165] Among them, the service session access capability includes at least one of the total number of supported sessions, the total number of connected sessions, and the total number of remaining accessible sessions. The number of connected sessions, the total number of supported sessions, and the remaining number of accessible sessions all support accumulation. The first network edge node can sum the total number of connected sessions of all first service instances in all first computing nodes to obtain the aggregated total number of connected sessions; sum the total number of supported sessions of all first service instances in all first computing nodes to obtain the aggregated total number of supported sessions; sum the total number of remaining accessible sessions of all first service instances in all first computing nodes to obtain the aggregated total number of accessible sessions.

[0166] For example, the first network edge node only accesses one MEC device, and the MEC device has M first service instances, where M is greater than or equal to 2; the first network edge node aggregates the same service session access capabilities of the M first service instances to obtain at least one of the total number of sessions that can be supported after aggregation, the total number of sessions that have been accessed after aggregation, and the total number of remaining accessible sessions after aggregation.

[0167] For another example, the first network edge node accesses N MEC devices, and there are M first service instances in each MEC device. The N MEC devices can provide the first service, and N and M are both greater than or equal to 2. At this time, the first network edge node aggregates the same business session access capabilities of the M first service instances in the N MEC devices respectively, and obtains at least one of the total number of sessions that can be supported after aggregation, the total number of sessions that have been accessed after aggregation, and the total number of remaining accessible sessions after aggregation.

[0168] It should be noted that different MEC devices can be directly connected to the first network edge node; different MEC devices can also be cascaded and then connected to the first network edge node. Because computing power busy / idle information can include the total number of supported sessions and the number of connected sessions, the aggregated computing power busy / idle information can be obtained based on the aggregated total number of supported sessions and the aggregated total number of connected sessions. In other words, the aggregated computing power busy / idle information can include the aggregated total number of supported sessions and the aggregated total number of connected sessions.

[0169] Correspondingly, an embodiment of the present application further provides a computing power information notification method, which is applied to a second network edge node. As shown in FIG5 , the method includes:

[0170] Step 501: Receive first information announced by at least one first network edge node.

[0171] Among them, the first information carries at least the SID of the first service, the first computing power information and the first identifier; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the exit node granularity.

[0172] Here, when the second network edge node is directly or indirectly connected to a first network edge node, the second network edge node receives first information advertised by the first network edge node.

[0173] When the second network edge node is directly or indirectly connected to at least two first network edge nodes, the second network edge node receives first information advertised by the at least two first network edge nodes. The SIDs of the first services carried in the first information advertised by different first network edge nodes may be the same or different. The first computing power information carried in the different first information is determined by different egress nodes.

[0174] In order to facilitate the network edge node that receives the first information to identify the egress node, the first information needs to carry the identifier of the egress node. Based on this, in one embodiment, the first identifier includes at least one of the following:

[0175] The identifier of the network edge node closest to the first computing power node;

[0176] The identifier of the first-hop exit node.

[0177] In order to facilitate the second network edge node to optimize and forward the routing information corresponding to the SID, in one embodiment, the first information also carries the accumulated delay.

[0178] In one embodiment, the computing power information includes at least one of the following:

[0179] busy / idle status;

[0180] Computing power busy / idle information;

[0181] The number of connected sessions;

[0182] The total number of sessions that can be supported;

[0183] The number of remaining accessible sessions.

[0184] In order to facilitate the second network edge node to identify whether the first computing power information is aggregated computing power information, in one embodiment, the first information also carries a second identifier, which is used to indicate whether the first computing power information is aggregated computing power information.

[0185] In one embodiment, the first information is carried in a first TLV in a path attribute of a BGP message.

[0186] After receiving the first information, the second network edge node can optimize and forward the routing information corresponding to the received SID based on the first identifier carried in the first information, thereby optimizing and forwarding the routing information corresponding to the SID across domains, thereby further reducing the information published in the computing power network. Based on this, in one embodiment, the method further includes:

[0187] Based on the received first information, the routing information corresponding to the received SID is optimized and forwarded with the egress node as the granularity.

[0188] Here, the second network edge node parses the first information to obtain a parsed result of the first information, thereby obtaining the SID, first computing power information, and first identifier carried in the first information. The SID, first computing power information, and first identifier carried in the same first information are associated with each other. Based on different SIDs and first identifiers carried in the first information, the second network edge node optimizes and forwards the routing information corresponding to the received SID at the egress node granularity. The first identifier carried in the first information is used to distinguish different egress nodes.

[0189] For example, since the routing information corresponding to the SID carries the first information, if the first identifiers (e.g., EIP addresses) carried by the different routing information corresponding to the same SID are also the same, the second network edge node will assume that the different routing information corresponding to the SID points to the same egress node, and will prioritize one routing information among all the routing information corresponding to the SID. The preferred routing information will be forwarded based on the decision of the forwarding table entry corresponding to the SID. A piece of routing information may also be referred to as a routing item or a routing entry. The preferred routing information may be referred to as preferred routing information.

[0190] For different routing information corresponding to the same SID, if the first identifiers carried by different first information are different, then the second network edge node believes that the different routing information corresponding to the SID are associated. The second network edge node combines the first computing power information and / or network status information (such as accumulated delay, network delay) to decide which one or several next-hop addresses to select, that is, to select or prioritize which one or several routing information, and forward the selected routing information. When there is only one different routing information for the same SID, the second network edge node directly forwards the routing information corresponding to the SID based on the decision of the forwarding table entry corresponding to the SID.

[0191] It should be noted that for the same IP address or prefix, the existing BGP mechanism only forwards one preferred routing information. The BGP mechanism in this application supports forwarding multiple preferred routing information, for example, forwarding 2 to 3 preferred routing information. The second network edge node can forward the routing information corresponding to the SID based on the decision of the forwarding table entry. Decision and forwarding decision are used interchangeably. Forwarding the routing information corresponding to the SID can be understood as spreading or announcing the routing information corresponding to the SID.

[0192] In order to achieve cross-domain optimization and forwarding of routing information to further reduce the information published in the computing network, in one embodiment, the method further includes at least one of the following:

[0193] Based on the received first information, establish at least one forwarding table entry corresponding to each SID; each different egress node corresponds to a forwarding table entry;

[0194] Based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to each SID, the cost or priority of the forwarding table entry corresponding to the SID is adjusted.

[0195] Here, the second network edge node parses the first information and obtains the parsing result of the first information, thereby obtaining the SID, first computing power information and first identifier carried by the first information; based on the parsing results of all the first information, all the first computing power information corresponding to the same SID is determined, thereby obtaining all the first computing power information corresponding to each SID.

[0196] The second network edge node, based on the topological connection relationship of the computing power network and the parsing results of all received first information, establishes at least one forwarding table entry corresponding to each SID with the exit node as the granularity; each different exit node corresponds to a forwarding table entry. Specifically, since the first identifier can distinguish different exit nodes, for example, the first identifier includes an EIP address, and the EIP address can distinguish different exit nodes, the second network edge node can, based on the topological connection relationship of the computing power network and the first identifier associated with the SID, establish at least one forwarding table entry corresponding to each SID with the exit node as the granularity, so that the second network edge node can forward the routing information corresponding to the SID based on the decision of the at least one forwarding table entry corresponding to the SID; each different exit node's EIP address corresponds to a forwarding table entry.

[0197] When the first information does not carry the accumulated delay, the second network edge node adjusts the cost or priority of the forwarding table item corresponding to the SID based on the first computing power information associated with the forwarding table item corresponding to each SID, so that the second network edge node forwards or announces the routing information corresponding to the SID based on the cost or priority of the forwarding table item corresponding to the SID. Among them, the first computing power information associated with the forwarding table item corresponding to the SID can be understood as the first computing power information corresponding to the SID. The stronger the service session access capability represented by the first computing power information, the smaller the cost or priority value of the forwarding table item corresponding to the SID associated with the first computing power information can be appropriately adjusted.

[0198] When the first information carries the accumulated delay, the second network edge node adjusts the cost or priority of the forwarding table item corresponding to the SID based on the accumulated delay associated with the forwarding table item corresponding to each SID and / or the first computing power information. The lower the cost of the forwarding table item, or the smaller the value of the priority of the forwarding table item; the easier it is for the forwarding table item to be selected during route selection, and thus the routing information corresponding to the SID is forwarded or announced based on the decision of the selected forwarding table item. The shorter the accumulated delay associated with the forwarding table item, the cost of the forwarding table item can be appropriately lowered, or the value of the priority of the forwarding table item can be appropriately reduced. The cost of the forwarding table item can also be understood as routing cost or consumption.

[0199] The second network edge node may decide whether to continue advertising the routing information corresponding to the SID. Based on this, in one embodiment, the method further includes at least one of the following:

[0200] Based on the decision of the forwarding table entry corresponding to the SID, notify the routing information corresponding to the SID to at least one third network edge node; the routing information carries the first information;

[0201] The routing information corresponding to the SID is not advertised if at least one of the following conditions is met:

[0202] The cumulative delay associated with the forwarding entry corresponding to the SID is greater than or equal to the first threshold;

[0203] The number of autonomous systems ASs that the routing information corresponding to the SID passes through is greater than or equal to a second threshold.

[0204] Here, while the second network edge node establishes the forwarding table entry corresponding to the SID, the second network edge node may decide whether to continue to advertise the routing information corresponding to the SID based on the set conditions and / or the decision of the forwarding table entry corresponding to the SID. The set conditions may include that the cumulative delay associated with the forwarding table entry corresponding to the SID is greater than or equal to a first threshold, and / or that the number of ASs through which the routing information corresponding to the SID passes is greater than or equal to a second threshold. The threshold may be referred to as a threshold.

[0205] For example, when the decision of the forwarding table item corresponding to the SID is diffusion, the routing information corresponding to the SID continues to be announced. When the set conditions are currently met, the routing information corresponding to the SID is no longer announced; since the routing information corresponds to the forwarding table item corresponding to the SID, the routing information corresponding to the SID is no longer announced, which can be understood as not announcing the routing information corresponding to the forwarding table item corresponding to the SID. When the set conditions are not currently met, the second network edge node continues to announce the routing information corresponding to the SID based on the decision of the forwarding table item corresponding to the SID. For example, when the cumulative delay associated with the forwarding table item corresponding to the SID is less than the first threshold, and / or the number of ASs through which the routing information corresponding to the SID passes is less than the second threshold, the second network edge node continues to announce the routing information corresponding to the SID to the third network edge node.

[0206] The routing information corresponding to the SID may be the initially published routing information, or may be the routing information selected from all routing information of the same SID. The third network edge node is a network edge node connected to the second network edge node. The third network edge node and the second network edge node may be located in the same network domain or in different network domains. For example, the third network edge node and the second network edge node are BGP peers. Network edge nodes located in the same network domain communicate using the Internal Border Gateway Protocol (IBGP), and network edge nodes located in different network domains communicate using the External Border Gateway Protocol (EBGP).

[0207] In the embodiments of the present application, the first threshold and / or second threshold are set to control the total number of routing information published in the computing power network, thereby avoiding the announcement of routing information carrying computing power information throughout the network, thereby avoiding excessive routing information published in the computing power network. In actual application, the first threshold can be 50 milliseconds (ms) and the second threshold can be 5. Of course, the first threshold and the second threshold can be set to other values ​​according to actual circumstances.

[0208] Considering that announcing routing information to more or more distant network edge nodes will result in a longer network delay, in order to reduce the network delay caused by announcing routing information and further reduce the routing information published in the computing network, the routing information can be simplified and optimized, that is, not announcing all routing information corresponding to the SID. Based on this, in one embodiment, the method further includes:

[0209] At least one piece of preferred routing information is determined based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to the SID; the preferred routing information corresponds to the forwarding table entry corresponding to the SID.

[0210] Here, the second network edge node can prioritize the routing information corresponding to the next hop address with the smallest cumulative delay among the cumulative delays associated with different next hop addresses based on the cumulative delay associated with the forwarding table entries corresponding to the SID, or prioritize the routing information with the smallest cumulative delay among the cumulative delays associated with different EIP addresses to obtain the preferred routing information; the cumulative delay associated with the EIP address can be the total cumulative delay. That is, among all the routing information corresponding to the SID, the routing information with the smallest cumulative delay is prioritized to obtain the preferred routing information, and then forward or announce the preferred routing information corresponding to the SID based on the decision of the forwarding table entry corresponding to the SID. For example, in Figure 3, among the cumulative delays associated with the forwarding table entries corresponding to SID1, the cumulative delays associated with different next hop addresses of R1 are 3ms and 5ms, respectively. Therefore, R4 is the preferred next hop address of R1, and the routing path of the preferred routing information corresponding to SID1 is: R1-R4-R5-R6-computing power node 1.

[0211] The second network edge node may, based on the first computing power information associated with the forwarding table entry corresponding to the SID, preferentially select, from among the first computing power information associated with different next hop addresses, routing information corresponding to the next hop address associated with the first computing power information indicating the strongest idle or service session access capability, to obtain preferred routing information; or, preferentially select, from among the first computing power information associated with different EIP addresses, routing information corresponding to the EIP address associated with the first computing power information indicating the strongest idle or service session access capability, to obtain preferred routing information.

[0212] The second network edge node may determine at least one piece of preferred routing information based on the accumulated latency associated with the forwarding table entry corresponding to the SID and the first computing power information. Furthermore, the second network edge node may adjust the overhead or priority of the preferred routing information based on changes in the accumulated latency or changes in the first computing power information.

[0213] In order to further reduce the number of routing entries announced in the computing power network, in one embodiment, the number of routing information is preferably less than or equal to a third threshold.

[0214] Here, the second network edge node can set a third threshold and select preferred routing information less than or equal to the third threshold for notification. The third threshold indicates the maximum number of preferred routing information. In actual application, the third threshold can be 2 or 3.

[0215] The embodiments of the present application are further described below in conjunction with FIG3 and application examples.

[0216] As shown in Figure 3, computing node 1 and computing node 4 (not shown in Figure 3) both access the computing network through R6. R6 serves as the first-hop router for computing node 1 and computing node 4, that is, R6 serves as the exit node. The SID of the first service that computing node 1 and computing node 4 can provide is SID1. The computing information notification method includes:

[0217] Step 1: R6 publishes a first BGP message to R5. The first BGP message carries the first information and routing information corresponding to SID1.

[0218] Here, R6 is responsible for aggregating the computing power information of computing power nodes 1 and 4. R6 obtains the computing power information of computing power nodes 1 and 4, aggregates the computing power information of computing power nodes 1 and 4, obtains the first computing power information, and generates the first information. R6 determines the routing information corresponding to SID1 and publishes a first BGP message carrying the first information and the routing information corresponding to SID1 to R5. This eliminates the need to individually announce the computing power information of different computing power nodes and / or different service instances providing the same service, thus avoiding the announcement of too much routing information to the computing power network.

[0219] The routing information corresponding to SID1 includes routing information corresponding to the anycast address of the first service. The first information carries at least SID1, the first computing power information, and a first identifier. The first identifier is used to instruct the second network edge node to prioritize and forward the received routing information corresponding to SID1 based on the egress node granularity. The first identifier may include R6's EIP address.

[0220] Optionally, R6 may also publish at least one of the following routing information that may carry the first computing power information:

[0221] The routing information corresponding to the unicast address (serverIP) of the first computing node (computing node 1, computing node 4);

[0222] R6's loopback IP corresponds to the routing information;

[0223] Routing information corresponding to the unicast IP address of the first service instance.

[0224] Optionally, the routing information corresponding to serverIP can be aggregated routing information. For example, R6 can aggregate the routing information corresponding to the unicast IP addresses of service instances providing different services in computing node 1 and computing node 4, respectively, to obtain the aggregated routing information corresponding to computing node 1 and computing node 4, and then publish the aggregated routing information at the egress node granularity to reduce the amount of routing information published in the computing network.

[0225] The first information is carried in a first TLV in a path attribute of the first BGP message. The first TLV is a BGP extended TLV, for example, TLV 0x0314, that is, the first TLV Type=0x0314. An example of the structure of the first TLV is shown in FIG4 .

[0226] R6 may set a second flag in the first TLV, the second flag being used to indicate whether the first computing power information is aggregated computing power information. For example, the first bit of the flag in the first TLV shown in FIG4 may be set to 1 to indicate that the first computing power information included in the first information is aggregated computing power information.

[0227] In one embodiment, the computing power information includes at least one of the following:

[0228] busy / idle status;

[0229] Computing power busy / idle information;

[0230] The number of connected sessions;

[0231] The total number of sessions that can be supported;

[0232] The number of remaining accessible sessions.

[0233] The implementation process of R6 aggregating computing power information can be as follows:

[0234] If R6 accesses computing node 1 and computing node 4, and computing node 1 contains multiple first service instances, computing node 4 contains one first service instance, and the first service instance is used to provide the first service; R6 sums the total number of connected sessions of all first service instances in computing node 1 to obtain a first value, adds the first value to the total number of connected sessions of computing node 4 to obtain the aggregated total number of connected sessions; R6 sums the total number of supported sessions of all first service instances in computing node 1 to obtain a second value, adds the second value to the total number of supported sessions of computing node 4 to obtain the aggregated total number of supported sessions; R6 sums the remaining number of accessible sessions of all first service instances in computing node 1 to obtain a third value, adds the third value to the remaining number of accessible sessions of computing node 4 to obtain the aggregated total number of accessible sessions.

[0235] When R6 aggregates the busy and idle states of all first service instances in computing node 1, it takes the best state. For example, if the busy and idle states of at least two first service instances in computing node 1 are both idle, the aggregated busy and idle state of computing node 1 is idle. If the busy and idle states of computing node 1 are idle and those of computing node 4 are busy, the busy and idle states of computing node 1 and computing node 4 are aggregated, and the aggregated busy and idle state is idle.

[0236] The computing power busy / idle information may include the total number of supported sessions and the number of connected sessions. Therefore, R6 may obtain the aggregated computing power busy / idle information based on the aggregated total number of supported sessions and the aggregated total number of connected sessions.

[0237] It should be noted that R6 supports the similar additional paths function of BGP in this application, and can have multiple SID forwarding entries and multiple Next Hops; R6 also supports cross-domain acquisition of computing power information known by border routers of computing power nodes that can provide the same service; optionally, it also supports aggregation of routing information corresponding to serverIP or unicast IP addresses.

[0238] Step 2: R5 receives the first BGP message issued by R6.

[0239] Step 3: Based on the first information carried in the first BGP message, R5 optimizes and forwards the routing information corresponding to SID1 with the egress node as the granularity.

[0240] Here, if SID1 corresponds to only one piece of routing information, R5 forwards the routing information corresponding to SID1 based on the egress node as the granularity.

[0241] If SID1 corresponds to at least two routing information, R5 optimizes and forwards the routing information corresponding to SID1 based on the egress node granularity.

[0242] Among them, for different routing information corresponding to SID1, if the EIP addresses in the first TLV corresponding to different routing information are the same, then R5 believes that the different routing information corresponding to SID1 point to the same egress node, and selects one routing information from all routing information corresponding to SID1 and forwards the preferred routing information.

[0243] For different routing information corresponding to SID1, if the EIP addresses in the first TLV corresponding to different routing information are different, then R5 considers that the different routing information corresponding to SID1 are associated. R5 combines the first computing power information and / or network status information (such as accumulated delay, network delay) to decide which one or several next-hop addresses to select, that is, which one or several routing information to select or prioritize, and forwards the selected routing information.

[0244] To further reduce the amount of information advertised in the computing network, R5 forwards the routing information corresponding to the SID based on the decision of the forwarding table entry corresponding to the SID. In one embodiment, R5 may also perform at least one of the following:

[0245] Based on the received first information, at least one forwarding table entry is established corresponding to each SID; each different egress node EIP address corresponds to a forwarding table entry;

[0246] Based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to each SID, the cost or priority of the forwarding table entry corresponding to the SID is adjusted.

[0247] Here, R5 establishes a forwarding table entry based on the EIP address granularity to better support cross-domain computing power routing. The forwarding table entry corresponds to the anycast address. Each different exit node's EIP address corresponds to a forwarding table entry.

[0248] To further reduce the amount of information advertised in the computing network, R5 may decide whether to continue advertising routing information. In one embodiment, R5 may also perform at least one of the following:

[0249] Based on the decision of the forwarding table entry corresponding to the SID, notify the routing information corresponding to the SID to at least one third network edge node; the routing information carries the first information;

[0250] The routing information corresponding to the SID is not advertised if at least one of the following conditions is met:

[0251] The cumulative delay associated with the forwarding entry corresponding to the SID is greater than or equal to the first threshold;

[0252] The number of autonomous systems ASs that the routing information corresponding to the SID passes through is greater than or equal to a second threshold.

[0253] Here, R5 may notify R4 of the routing information corresponding to SID1 based on the decision or forwarding decision of the forwarding table entry corresponding to SID1, where the routing information carries the first information.

[0254] If the cumulative delay associated with the forwarding entry corresponding to SID1 is greater than or equal to a first threshold, and / or the number of ASes traversed by the routing information corresponding to SID1 is greater than or equal to a second threshold, R5 does not advertise the routing information corresponding to SID1. In practice, the first threshold is 50ms and the second threshold is 5. Because the routing information corresponding to SID1 only traverses one AS when it is transmitted to R5, R4 can still advertise the routing information corresponding to SID1 to R2 and R1 in the same domain based on the decision made by the forwarding entry corresponding to SID1.

[0255] In order to avoid publishing too much routing information in the computing power network, in one embodiment, R5 can also determine at least one preferred routing information among all routing information corresponding to SID1 based on the cumulative delay and / or the first computing power information associated with the forwarding table entry corresponding to SID1, thereby announcing or forwarding the preferred routing information, without the need to announce all routing information corresponding to the SID; the preferred routing information corresponds to the forwarding table entry corresponding to SID1.

[0256] The number of preferred routing entries is less than or equal to a third threshold value. The third threshold value indicates the maximum number of preferred routing entries.

[0257] In order to implement the computing power information notification method of the embodiment of the present application, the embodiment of the present application further provides a computing power information notification device, which is provided on the first network edge node. As shown in FIG6 , the device includes:

[0258] The first sending unit 601 is configured to notify the second network edge node of the first service of the first information; wherein the first information carries at least the SID of the first service, the first computing power information and the first identifier; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the granularity of the exit node.

[0259] In one embodiment, the first identifier includes at least one of the following:

[0260] The identifier of the network edge node closest to the first computing power node;

[0261] The identifier of the first-hop exit node.

[0262] In one embodiment, the computing power information includes at least one of the following:

[0263] busy / idle status;

[0264] Computing power busy / idle information;

[0265] The number of connected sessions;

[0266] The total number of sessions that can be supported;

[0267] The number of remaining accessible sessions.

[0268] In one embodiment, the first network edge node represents an egress node, and the apparatus further includes:

[0269] The first processing unit is configured to aggregate computing power information of multiple first computing power nodes and / or multiple first service instances to obtain the first computing power information; wherein the first service instance is located in the first computing power node and is used to provide the first service; the first computing power node is connected to the first network edge node.

[0270] In one embodiment, the first processing unit is specifically configured to perform at least one of the following:

[0271] Aggregating the busy and idle states of the plurality of first computing nodes and / or the plurality of first service instances to obtain an aggregated busy and idle state;

[0272] Aggregate the service session access capabilities of all first computing nodes and / or all first service instances to obtain at least one of the following:

[0273] The total number of connected sessions after aggregation;

[0274] The total number of sessions that can be supported after aggregation;

[0275] The total number of remaining accessible sessions after aggregation.

[0276] In one embodiment, the first information also carries accumulated delay.

[0277] In one embodiment, the first information further carries a second identifier, and the second identifier is used to indicate whether the first computing power information is aggregated computing power information.

[0278] In one embodiment, the first information is carried in a first TLV in a path attribute of a BGP message.

[0279] In actual application, the first sending unit 601 can be implemented by a processor in the computing power information notification device in combination with a communication interface; the first processing unit can be implemented by a processor in the computing power information notification device.

[0280] In order to implement the computing power information notification method of the embodiment of the present application, the embodiment of the present application further provides a computing power information notification device, which is provided on the second network edge node. As shown in FIG7 , the device includes:

[0281] A first receiving unit 701 is configured to receive first information announced by at least one first network edge node; wherein the first information carries at least a SID of a first service, first computing power information, and a first identifier; the first computing power information is aggregated computing power information of first computing power nodes connected to a same egress node, and the first computing power node represents a computing power node that can provide the first service;

[0282] The first identifier is used to instruct the second network edge node to optimize and forward the received routing information corresponding to the SID based on the egress node granularity.

[0283] In one embodiment, the first identifier includes at least one of the following:

[0284] The identifier of the network edge node closest to the first computing power node;

[0285] The identifier of the first-hop exit node.

[0286] In one embodiment, the first information also carries accumulated delay.

[0287] In one embodiment, the apparatus further comprises:

[0288] The second processing unit is configured to optimize and forward the received routing information corresponding to the SID based on the received first information and with the egress node as the granularity.

[0289] In one embodiment, the second processing unit is further configured to do at least one of the following:

[0290] Based on the received first information, establish at least one forwarding table entry corresponding to each SID; each different egress node corresponds to a forwarding table entry;

[0291] Based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to each SID, the cost or priority of the forwarding table entry corresponding to the SID is adjusted.

[0292] In one embodiment, the second processing unit is further configured to do at least one of the following:

[0293] Based on the decision of the forwarding table entry corresponding to the SID, notify the routing information corresponding to the SID to at least one third network edge node; the routing information carries the first information;

[0294] The routing information corresponding to the SID is not advertised if at least one of the following conditions is met:

[0295] The cumulative delay associated with the forwarding entry corresponding to the SID is greater than or equal to the first threshold;

[0296] The number of autonomous systems ASs that the routing information corresponding to the SID passes through is greater than or equal to a second threshold.

[0297] In one embodiment, the second processing unit is further configured to determine at least one preferred routing information based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to the SID; the preferred routing information corresponds to the forwarding table entry corresponding to the SID.

[0298] In one embodiment, the number of pieces of routing information is preferably less than or equal to a third threshold.

[0299] In one embodiment, the computing power information includes at least one of the following:

[0300] busy / idle status;

[0301] Computing power busy / idle information;

[0302] The number of connected sessions;

[0303] The total number of sessions that can be supported;

[0304] The number of remaining accessible sessions.

[0305] In one embodiment, the first information is carried in a first TLV in a path attribute of a BGP message.

[0306] In one embodiment, the first information further carries a second identifier, and the second identifier is used to indicate whether the first computing power information is aggregated computing power information.

[0307] In actual application, the first receiving unit 701 can be implemented by a processor in the computing power information notification device in combination with a communication interface; the second processing unit can be implemented by a processor in the computing power information notification device.

[0308] It should be noted that the computing power information notification device provided in the above embodiment only uses the division of the above program modules as an example to illustrate when performing computing power information notification. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the computing power information notification device provided in the above embodiment and the computing power information notification method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0309] Based on the hardware implementation of the above program modules, and in order to implement the method on the first network edge node side of the embodiment of the present application, the embodiment of the present application further provides a first network edge node, as shown in FIG8 , the first network edge node 800 includes:

[0310] The first communication interface 801 is capable of exchanging information with other network nodes;

[0311] The first processor 802 is connected to the first communication interface 801 to implement information exchange with other network nodes and is configured to execute the methods provided by one or more technical solutions on the first network edge node side when running a computer program. The computer program is stored in the first memory 803.

[0312] Specifically, the first communication interface 801 is configured to notify the second network edge node of the first service of the first information; wherein, the first information carries at least the SID, first computing power information and first identifier of the first service; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the exit node granularity.

[0313] In one embodiment, the first identifier includes at least one of the following:

[0314] The identifier of the network edge node closest to the first computing power node;

[0315] The identifier of the first-hop exit node.

[0316] In one embodiment, the computing power information includes at least one of the following:

[0317] busy / idle status;

[0318] Computing power busy / idle information;

[0319] The number of connected sessions;

[0320] The total number of sessions that can be supported;

[0321] The number of remaining accessible sessions.

[0322] In one embodiment, the first processor 802 is configured to aggregate computing power information of multiple first computing power nodes and / or multiple first service instances to obtain the first computing power information; wherein the first service instance is located in the first computing power node and is used to provide the first service; the first computing power node is connected to the first network edge node.

[0323] In one embodiment, the first network edge node represents an egress node, and the first processor 802 is specifically configured to perform at least one of the following:

[0324] Aggregating the busy and idle states of the plurality of first computing nodes and / or the plurality of first service instances to obtain an aggregated busy and idle state;

[0325] Aggregate the service session access capabilities of all first computing nodes and / or all first service instances to obtain at least one of the following:

[0326] The total number of connected sessions after aggregation;

[0327] The total number of sessions that can be supported after aggregation;

[0328] The total number of remaining accessible sessions after aggregation.

[0329] In one embodiment, the first information also carries accumulated delay.

[0330] In one embodiment, the first information further carries a second identifier, and the second identifier is used to indicate whether the first computing power information is aggregated computing power information.

[0331] In one embodiment, the first information is carried in a first TLV in a path attribute of a BGP message.

[0332] It should be noted that the specific processing process of the first processor 802 and the first communication interface 801 can be understood by referring to the above method.

[0333] Of course, in actual applications, the various components in the first network edge node 800 are coupled together via a bus system 804. It will be appreciated that the bus system 804 is used to enable communication between these components. In addition to a data bus, the bus system 804 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in FIG8 , all of these buses are labeled as the bus system 804.

[0334] The first memory 803 in the embodiment of the present application is used to store various types of data to support the operation of the first network edge node 800. Examples of such data include: any computer program used to operate on the first network edge node 800.

[0335] The methods disclosed in the above embodiments of the present application can be applied to the first processor 802 or implemented by the first processor 802. The first processor 802 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits or software instructions in the first processor 802. The above first processor 802 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 802 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly implemented as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium located in the first memory 803. The first processor 802 reads the information in the first memory 803 and completes the steps of the above method in combination with its hardware.

[0336] In an exemplary embodiment, the first network edge node 800 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0337] Based on the hardware implementation of the above program module, and in order to implement the method on the second network edge node side of the embodiment of the present application, the embodiment of the present application further provides a second network edge node, as shown in Figure 9, the second network edge node 900 includes:

[0338] The second communication interface 901 is capable of exchanging information with other network nodes;

[0339] The second processor 902 is connected to the second communication interface 901 to implement information exchange with other network nodes and is configured to execute the methods provided by one or more technical solutions on the second network edge node side when running a computer program. The computer program is stored in the second memory 903.

[0340] Specifically, the second communication interface 901 is configured to receive first information announced by at least one first network edge node; wherein the first information carries at least the SID of the first service, first computing power information, and a first identifier; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same egress node, and the first computing power node represents a computing power node that can provide the first service;

[0341] The first identifier is used to instruct the second network edge node to optimize and forward the received routing information corresponding to the SID based on the egress node granularity.

[0342] In one embodiment, the first identifier includes at least one of the following:

[0343] The identifier of the network edge node closest to the first computing power node;

[0344] The identifier of the first-hop exit node.

[0345] In one embodiment, the first information also carries accumulated delay.

[0346] In one embodiment, the second processor 902 is configured to optimize and forward the received routing information corresponding to the SID based on the received first information and with the egress node as the granularity.

[0347] In one embodiment, the second processor 902 is further configured to do at least one of the following:

[0348] Based on the received first information, establish at least one forwarding table entry corresponding to each SID; each different egress node corresponds to a forwarding table entry;

[0349] Based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to each SID, the cost or priority of the forwarding table entry corresponding to the SID is adjusted.

[0350] In one embodiment, the second processor 902 is further configured to do at least one of the following:

[0351] Based on the decision of the forwarding table entry corresponding to the SID, notify the routing information corresponding to the SID to at least one third network edge node; the routing information carries the first information;

[0352] The routing information corresponding to the SID is not advertised if at least one of the following conditions is met:

[0353] The cumulative delay associated with the forwarding entry corresponding to the SID is greater than or equal to the first threshold;

[0354] The number of autonomous systems ASs that the routing information corresponding to the SID passes through is greater than or equal to a second threshold.

[0355] In one embodiment, the second processor 902 is further configured to determine at least one preferred routing information based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to the SID; the preferred routing information corresponds to the forwarding table entry corresponding to the SID.

[0356] In one embodiment, the number of pieces of routing information is preferably less than or equal to a third threshold.

[0357] In one embodiment, the computing power information includes at least one of the following:

[0358] busy / idle status;

[0359] Computing power busy / idle information;

[0360] The number of connected sessions;

[0361] The total number of sessions that can be supported;

[0362] The number of remaining accessible sessions.

[0363] In one embodiment, the first information is carried in a first TLV in a path attribute of a BGP message.

[0364] In one embodiment, the first information further carries a second identifier, and the second identifier is used to indicate whether the first computing power information is aggregated computing power information.

[0365] It should be noted that the specific processing process of the second processor 902 and the second communication interface 901 can be understood by referring to the above method.

[0366] Of course, in actual applications, the various components in the second network edge node 900 are coupled together via a bus system 904. It will be appreciated that the bus system 904 is used to enable communication between these components. In addition to a data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in FIG9 , all of these buses are labeled as the bus system 904.

[0367] The second memory 903 in the embodiment of the present application is used to store various types of data to support the operation of the second network edge node 900. Examples of such data include: any computer program used to operate on the second network edge node 900.

[0368] The methods disclosed in the above embodiments of the present application can be applied to or implemented by the second processor 902. The second processor 902 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits or software instructions in the second processor 902. The above second processor 902 may be a general-purpose processor, a DSP, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. The second processor 902 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium located in the second memory 903. The second processor 902 reads the information in the second memory 903 and, in conjunction with its hardware, completes the steps of the above method.

[0369] In an exemplary embodiment, the second network edge node 900 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned method.

[0370] It can be understood that the memory (first memory 803, second memory 903) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a magnetic disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.

[0371] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, which includes, for example, a first memory 803 storing a computer program. The computer program can be executed by the first processor 802 of the first network edge node 800 to complete the steps of the aforementioned first network edge node side method. For another example, the present application also includes a second memory 903 storing a computer program. The computer program can be executed by the second processor 902 of the second network edge node 900 to complete the steps of the aforementioned second network edge node side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.

[0372] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0373] The term "and / or" herein simply describes an association relationship between associated objects, indicating that three relationships can exist. For example, "A and / or B" can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one or at least one item" herein refers to any combination of at least two of any one or more of a plurality of items. For example, "including at least one of A, B, and C" can represent any one or more elements selected from the set consisting of A, B, and C.

[0374] In addition, the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.

[0375] The above description is merely a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application.

Claims

1. A computing power information notification method, applied to a first network edge node, the method include: Notifying the first information to the second network edge node of the first service; wherein, The first information carries at least a service identifier SID, first computing power information and a first identifier of the first service; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the exit node granularity.

2. The method according to claim 1, in, The first identifier includes at least one of the following: The identifier of the network edge node closest to the first computing power node; The identifier of the first-hop egress node.

3. The method according to claim 1, in, The computing power information includes at least one of the following: Busy / Idle status; Computing power busy and idle information; The number of connected sessions; The total number of sessions that can be supported; The number of remaining accessible sessions.

4. The method according to any one of claims 1 to 3, in, The first network edge node represents an egress node, and the method further includes: The computing power information of multiple first computing power nodes and / or multiple first service instances are aggregated to obtain the first computing power information; wherein the first service instance is located in the first computing power node and is used to provide the first service; the first computing power node is connected to the first network edge node.

5. The method according to claim 4, in, The aggregating computing power information of the plurality of first computing power nodes and / or the plurality of first service instances to obtain the first computing power information includes at least one of the following: Aggregating the busy and idle states of the plurality of first computing power nodes and / or the plurality of first service instances to obtain an aggregated busy and idle state; Aggregate the service session access capabilities of all first computing power nodes and / or all first service instances to obtain at least one of the following: The total number of connected sessions after aggregation; The total number of sessions that can be supported after aggregation; The total number of remaining accessible sessions after aggregation.

6. The method according to claim 1, in, The first information also carries the accumulated delay.

7. The method according to claim 1, in, The first information also carries a second identifier, and the second identifier is used to indicate whether the first computing power information is aggregated computing power information.

8. The method according to any one of claims 1 to 3, 5 to 7, in, The first information is carried in a first TLV in a path attribute of a Border Gateway Protocol BGP message.

9. A computing power information notification method, applied to a second network edge node, the method include: Receive first information announced by at least one first network edge node; wherein, The first information carries at least the SID of the first service, the first computing power information and the first identifier; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; The first identifier is used to instruct the second network edge node to process the received SID based on the egress node granularity. The corresponding routing information is optimized and forwarded.

10. The method according to claim 9, in, The first identifier includes at least one of the following: The identifier of the network edge node closest to the first computing power node; The identifier of the first-hop egress node.

11. The method according to claim 9, in, The first information also carries the accumulated delay.

12. The method according to claim 9, in, The method further comprises: Based on the received first information, the routing information corresponding to the received SID is optimized and forwarded with the egress node as the granularity.

13. The method according to any one of claims 9 to 12, in, The method further comprises at least one of the following: Based on the received first information, at least one forwarding table entry corresponding to each SID is established; each different egress node corresponds to a forwarding table entry; Based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to each SID, the overhead or priority of the forwarding table entry corresponding to the SID is adjusted.

14. The method according to claim 13, in, The method further comprises at least one of the following: Based on the decision of the forwarding table entry corresponding to the SID, notify at least one third network edge node of the routing information corresponding to the SID; the routing information carries the first information; The routing information corresponding to the SID is not advertised if at least one of the following conditions is met: The accumulated delay associated with the forwarding table entry corresponding to the SID is greater than or equal to the first threshold; The number of autonomous systems ASs that the routing information corresponding to the SID passes through is greater than or equal to the second threshold.

15. The method according to claim 13, in, The method further comprises: At least one piece of preferred routing information is determined based on the accumulated delay and / or the first computing power information associated with the forwarding table entry corresponding to the SID; the preferred routing information corresponds to the forwarding table entry corresponding to the SID.

16. The method according to claim 15, in, The number of pieces of preferred routing information is less than or equal to a third threshold.

17. The method according to any one of claims 9 to 12, in, The computing power information includes at least one of the following: Busy / Idle status; Computing power busy and idle information; The number of connected sessions; The total number of sessions that can be supported; The number of remaining accessible sessions.

18. The method according to any one of claims 9 to 12, in, The first information is carried in a first TLV in a path attribute of the BGP message.

19. The method according to any one of claims 9 to 12, in, The first information also carries a second identifier, and the second identifier is used to indicate whether the first computing power information is aggregated computing power information.

20. A computing power information notification device, include: The first sending unit is configured to notify the first information to the second network edge node of the first service; wherein, The first information carries at least the SID, first computing power information and first identifier of the first service; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the exit node granularity.

21. A computing power information notification device, include: A first receiving unit, configured to receive first information announced by at least one first network edge node; Among them, the first information carries at least the SID of the first service, the first computing power information and the first identifier; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to indicate that the second network edge node optimizes and forwards the routing information corresponding to the received SID based on the exit node granularity.

22. A first network edge node, comprising a first processor and a first communication interface, in, The first communication interface is configured to notify the second network edge node of the first service of the first information; Among them, the first information carries at least the SID, first computing power information and first identifier of the first service; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, the first computing power node represents the computing power node that can provide the first service, and the first service instance is used to provide the first service; the first identifier is used to instruct the second network edge node to optimize and forward the routing information corresponding to the received SID based on the exit node granularity.

23. A second network edge node, comprising a second processor and a second communication interface, in, The second communication interface is configured to receive first information announced by at least one first network edge node; Among them, the first information carries at least the SID of the first service, the first computing power information and the first identifier; the first computing power information is the aggregated computing power information of the first computing power nodes connected to the same exit node, and the first computing power node represents the computing power node that can provide the first service; the first identifier is used to indicate that the second network edge node optimizes and forwards the routing information corresponding to the received SID based on the exit node granularity.

24. A first network edge node comprising a first processor and a first memory configured to store a computer program executable on the first processor, in, The first processor is configured to execute the steps of the method according to any one of claims 1 to 8 when running the computer program.

25. A second network edge node comprising a second processor and a second memory configured to store a computer program executable on the second processor, in, The second processor is configured to execute the steps of the method according to any one of claims 9 to 19 when running the computer program.

26. A storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 8, or implements the steps of the method according to any one of claims 9 to 19.

Citation Information

Patent Citations

  • Calculation power resource notification method and device, storage medium and electronic device

    CN115225722A

  • Service identifier distribution method in cross-domain computing power aware network and communication device

    CN115278608A

  • Computing power service processing method, device and system

    CN115622938A

  • Using a control plane to set a preferred egress point in multi-site logical routers

    US20200396157A1

  • Session management method and apparatus for cross-domain computing-aware network

    WO2022205241A1

Cited By

  • Computing power router, computing power forwarding method, computing power forwarding device, computing power forwarding equipment and medium

    CN116846808A

  • A computing power router and a computing power forwarding method and device, equipment and medium

    CN116846808B

  • Business processing method and device, computer equipment and storage medium

    CN119402413A

  • Information reporting method and device, equipment, storage medium and program product

    CN119854387A