Computing power routing method and device, electronic equipment and storage medium

The edge computing power routing device receives and forwards the business identification and resource information of cloud computing nodes in the computing power network, solving data transmission problems caused by inconsistent computing power routing paths and achieving efficient forwarding and processing of business requests.

CN118740941APending Publication Date: 2024-10-01BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310341991.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Inconsistency in the computing power routing paths selected by various computing power routing devices in the computing power network may cause business data packets to fail to reach the cloud computing nodes that provide services for the business, and reduce data transmission efficiency.

Method used

The edge computing power routing device receives the business identification information, IP address information and computing power resource information provided by the cloud computing node, generates computing power routing information, and forwards it to the computing power network. Each computing power routing device is based on network resources and computing power. The human resource information selects the IP address of the target cloud computing node, stores the corresponding relationship between the business identifier and the target cloud computing node, and ensures that the business request is directly forwarded to the target cloud computing node.

Benefits of technology

It avoids the problem of unreachable business data packets caused by inconsistent computing power routing paths, improves data transmission efficiency, and ensures that business requests are directly processed at the target cloud computing node.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740941A_ABST
    Figure CN118740941A_ABST
Patent Text Reader

Abstract

The invention discloses a computing power routing method and device, electronic equipment and a storage medium. The computing power routing method comprises the following steps: receiving service identification information of services provided by each cloud computing node, IP address information of each cloud computing node and computing power resource information sent by a distributed cluster; generating each piece of computing power routing information corresponding to each service according to each piece of service identification information, the IP address information of each cloud computing node and the computing power resource information; and forwarding each piece of computing power routing information to each piece of computing power routing equipment in the computing power network, so that each piece of computing power routing equipment selects and stores IP address information of a target cloud computing node corresponding to each service based on network resource information and computing power resource information of each cloud computing node corresponding to each service, and the computing power routing equipment determines the IP address information of the target cloud computing node corresponding to the target service identification information in the service request sent by the terminal based on the stored IP address information of the target cloud computing node corresponding to each service, and forwards the service request to the target cloud computing node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a computing power routing method, device, electronic device and storage medium. Background Art

[0002] With the development of digital technology, the integration of the physical world and the digital world is becoming closer and closer. As a bridge between the two, the network will face more severe challenges, which has given rise to the concept of computing power network. The computing power network needs to coordinate and coordinate network resources and computing power resources, select the computing power path with the best comprehensive resources, and provide services for users' business needs.

[0003] At present, a commonly used computing power routing solution in computing power networks is the Dyncast (Dynamic anycast) solution, such as Figure 1 As shown, it is an example diagram of a computing network Dyncast topology structure, including a terminal, a computing routing device R1, a border computing routing device R2, a border computing routing device R3, a traditional communication network, and a distributed cluster 1 and a distributed cluster 2. Among them, the distributed cluster 1 includes the following multiple cloud computing nodes: cloud computing node 11, cloud computing node 12, etc., and the distributed cluster 2 includes the following multiple cloud computing nodes: cloud computing node 21, cloud computing node 22, etc., wherein the computing routing device R1 is connected to the terminal and is an access side device, the border computing routing device R2 is connected to the distributed cluster 1, and the border computing routing device R3 is connected to the distributed cluster 2. R1, R2 and R3 are connected to the traditional communication network respectively. Distributed cluster 1 and distributed cluster 2 are located in different regions and can provide services for different services of users. In distributed cluster 1, cloud computing node 11 can provide services for service 1, and cloud computing node 12 can provide services for service 2. In distributed cluster 2, cloud computing node 21 can provide services for service 1, and cloud computing node 22 can provide services for service 2. The service for a specific business is identified by SID (Service ID), which can be used as a business identifier. Traditional communication networks may include several traditional routing devices, which only select routes based on network resources and ignore computing resources. However, computing routing devices (R1, R2, R3) not only focus on network resources when selecting routes, but also take computing resources into consideration to select a comprehensive optimal path.

[0004] by Figure 1For example, cloud computing node 11 in distributed cluster 1 and cloud computing node 21 in distributed cluster 2 located in two regions can both provide services for business 1, and business 1 is identified by SID1. However, the computing resources (such as CPU occupancy, memory, etc.) of cloud computing node 11 and cloud computing node 21 are different. The computing resources corresponding to SID1 of cloud computing node 11 are identified by Metric11, and the computing resources corresponding to SID1 of cloud computing node 21 are identified by Metric21. In the Dyncast computing routing solution, the same SID will share an anycast IP (Internet Protocol) address. Assuming that the anycast IP address corresponding to SID1 is A-IP1, the edge computing routing device R2 will receive a routing information from the distributed cluster 1 connected to it.<A-IP1,Metric11> , the edge computing power routing device R3 will receive a routing message from the cloud computing node 2 connected to it<A-IP1,Metric21> , these two routing information are transmitted through the traditional communication network and shared on each computing power routing device R1, R2, and R3. R1, R2, and R3 perform routing optimization respectively and select one of the routing information. Assuming that R1, R2, and R3 all select<A-IP1,Metric11> When the terminal wants to obtain service SID1 of service 1 through anycast IP address A-IP1, it first sends the service data packet to the access side computing power routing device R1. R1 selects the preferred routing<A-IP1,Metric11> The service data message is transmitted to R2, and R2 uses the preferred route<A-IP1,Metric11> The service data message is sent to the cloud computing node 11, and the cloud computing node 11 provides the corresponding service. However, if the routing information preferred by each computing power routing device is inconsistent due to the fluctuation of network resources or computing power resource information, a loop may occur. For example, the computing power routing device R1 preferably<A-IP1,Metric11> , while the edge computing power routing device R2 selects<A-IP1,Metric21> , the edge computing power routing device R3 is optimized<A-IP1,Metric11> In this way, when R1 sends the service data message to R2, R2 uses the preferred route<A-IP1,Metric21> The service data message will be sent to the traditional communication network and then transmitted to R3. After receiving the service data message, R3 will select the optimal route.<A-IP1,Metric11> , and then resends the service data message to R2 through the traditional communication network. In this way, the service data message will continue to be transmitted between R2 and R3 and cannot reach the cloud computing node 11 or the cloud computing node 21, resulting in the inability to provide services for service 1 to the terminal.Even if the above loop does not occur, assuming that R3 is also optimized<A-IP1,Metric21> In this way, since R2 and R1 have different preferred routing information, after R2 receives the service data message forwarded from R1, it still needs to forward the service data message to R3 through the traditional communication network, and R3 sends it to the cloud computing node 21 for processing, instead of directly sending it from R2 to the cloud computing node 11 for processing, thereby reducing the data transmission efficiency. Summary of the invention

[0005] In order to solve the problem in the existing computing power routing method that inconsistent computing power routing paths selected by various computing power routing devices in the computing power network may cause business data packets to be unable to reach the cloud computing nodes providing services for the business and the data transmission efficiency is low, the embodiments of the present application provide a computing power routing method, device, electronic device and storage medium.

[0006] In a first aspect, an embodiment of the present application provides a computing power routing method implemented on a border computing power routing device side connected to a cloud computing node, which is applied to a border computing power routing device connected to a distributed cluster in a computing power network, and the method includes:

[0007] Receive service identification information of services provided by each cloud computing node in the distributed cluster, IP address information of each cloud computing node, and computing power resource information of each cloud computing node sent by the distributed cluster;

[0008] Generate computing power routing information corresponding to each business according to each business identification information, IP address information of each cloud computing node corresponding to each business, and computing power resource information;

[0009] The computing power routing information corresponding to each service is forwarded to each computing power routing device in the computing power network, so that each computing power routing device selects the IP address information of the target cloud computing node corresponding to each service based on the network resource information and the computing power resource information of the cloud computing node in the received computing power routing information corresponding to each service, and stores the correspondence between the service identification information of each service and the IP address information of the target cloud computing node, so that when any computing power routing device receives a service request sent by a terminal, it determines the IP address information of the target cloud computing node corresponding to the target service identification information carried in the service request based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node, and forwards the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node.

[0010] In a possible implementation, forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network specifically includes:

[0011] Based on the Border Gateway Protocol BGP, the computing power routing information corresponding to each service is forwarded to each computing power routing device in the computing power network.

[0012] In a possible implementation manner, before forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network, the method further includes:

[0013] The extended BGP sub-address family is used to identify the computing power routing type.

[0014] In a possible implementation manner, before forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network, the method further includes:

[0015] A preset BGP extended community attribute is newly added to carry the IP address information of the cloud computing node.

[0016] In a possible implementation manner, the IP addresses of the cloud computing nodes corresponding to each service are unicast IP addresses providing services for each service.

[0017] In a second aspect, an embodiment of the present application provides a computing power routing device implemented on the edge computing power routing device side connected to a cloud computing node, which is applied to an edge computing power routing device connected to a distributed cluster in a computing power network, and the device includes:

[0018] A receiving unit, configured to receive service identification information of services provided by each cloud computing node in the distributed cluster, IP address information of each cloud computing node, and computing power resource information of each cloud computing node, which are sent by the distributed cluster;

[0019] A generating unit, configured to generate computing power routing information corresponding to each service according to each service identification information, IP address information of each cloud computing node corresponding to each service, and computing power resource information;

[0020] A forwarding unit, used to forward each computing power routing information corresponding to each service to each computing power routing device in the computing power network, so that each computing power routing device selects the IP address information of the target cloud computing node corresponding to each service based on the network resource information and the computing power resource information of the cloud computing node in the received computing power routing information corresponding to each service, and stores the correspondence between the service identification information of each service and the IP address information of the target cloud computing node, so that when any computing power routing device receives a service request sent by a terminal, it determines the IP address information of the target cloud computing node corresponding to the target service identification information carried in the service request based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node, and forwards the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node.

[0021] In a possible implementation, the forwarding unit is specifically configured to forward each computing power routing information corresponding to each service to each computing power routing device in the computing power network based on the Border Gateway Protocol BGP.

[0022] In a possible implementation manner, the device further includes:

[0023] The extension unit is used to extend the BGP sub-address family to identify the computing power routing type before forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network.

[0024] In a possible implementation manner, the device further includes:

[0025] A new unit is added, which is used to add a preset BGP extended community attribute to carry the IP address information of the cloud computing node before forwarding the computing power routing information corresponding to each business to each computing power routing device in the computing power network.

[0026] In a possible implementation manner, the IP addresses of the cloud computing nodes corresponding to each service are unicast IP addresses providing services for each service.

[0027] In a third aspect, an embodiment of the present application provides a computing power routing method implemented on a computing power routing device side, which is applied to a computing power routing device in a computing power network, and the method includes:

[0028] Receiving each computing power routing information corresponding to each service forwarded by each edge computing power routing device in the computing power network, wherein each computing power routing information corresponding to each service forwarded by each edge computing power routing device is generated according to each service identification information, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node corresponding to each service after each edge computing power routing device receives service identification information of the service provided by each cloud computing node in the distributed cluster sent by the distributed cluster connected thereto, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node;

[0029] Selecting the IP address information of the target cloud computing node corresponding to each service based on the acquired network resource information and the computing resource information of the cloud computing node in the received computing routing information corresponding to each service;

[0030] The correspondence between the service identification information of each service and the IP address information of the target cloud computing node is stored.

[0031] In a possible implementation, the method further includes:

[0032] Receiving a service request sent by a terminal, wherein the service request carries target service identification information;

[0033] Determine the IP address information of the target cloud computing node corresponding to the target service identification information based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node;

[0034] The service request is forwarded to a target cloud computing node corresponding to the IP address information of the target cloud computing node.

[0035] In a fourth aspect, an embodiment of the present application provides a computing power routing device implemented on the computing power routing device side, which is applied to a computing power routing device in a computing power network, and the device includes:

[0036] A first receiving unit is used to receive each computing power routing information corresponding to each service forwarded by each edge computing power routing device in the computing power network, wherein each computing power routing information corresponding to each service forwarded by each edge computing power routing device is generated according to each service identification information, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node corresponding to each service after each edge computing power routing device receives service identification information of the service provided by each cloud computing node in the distributed cluster sent by the distributed cluster connected thereto, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node;

[0037] A selection unit, configured to select the IP address information of the target cloud computing node corresponding to each service based on the acquired network resource information and the computing resource information of the cloud computing node in the received computing routing information corresponding to each service;

[0038] The storage unit is used to store the correspondence between the service identification information of each service and the IP address information of the target cloud computing node.

[0039] In a possible implementation manner, the device further includes:

[0040] A second receiving unit, configured to receive a service request sent by the terminal, wherein the service request carries target service identification information;

[0041] a determining unit, configured to determine the IP address information of the target cloud computing node corresponding to the target service identification information based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node;

[0042] The forwarding unit is used to forward the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node.

[0043] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the computing power routing method described in the present application when executing the program.

[0044] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps in the computing power routing method described in the present application are implemented.

[0045] The beneficial effects of this application are as follows:

[0046] The computing power routing method, device, electronic device and storage medium provided by the embodiments of the present application, the border computing power routing device in the computing power network receives the service identification information of the services provided by each cloud computing node in the distributed cluster sent by the distributed cluster connected to it, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node, the border computing power routing device generates each computing power routing information corresponding to each service according to each service identification information, the IP address information of each cloud computing node corresponding to each service and the computing power resource information, and then, the border computing power routing device forwards each computing power routing information corresponding to each service to each other computing power routing device in the computing power network, each computing power routing device selects the IP address information of the target cloud computing node corresponding to each service based on the network resource information and the computing power resource information of the cloud computing node in the computing power routing information corresponding to each service forwarded by each received border computing power routing device, and stores the corresponding relationship between the service identification information of each service and the IP address information of the target cloud computing node selected to provide service for the service, when any computing power routing device receives When a service request is sent by a terminal, the computing power routing device can determine the IP address information of the target cloud computing node corresponding to the target service identification information carried in the service request based on the correspondence between the stored service identification information of each service and the IP address information of the target cloud computing node, and forward the service request to the target computing node corresponding to the IP address information of the target computing node for processing. In this way, it is only necessary to transmit the service data stream according to the computing power routing information selected by the access-side computing power routing device of the computing power network based on the network resource information and the computing power resource information of the cloud computing node. Since the IP address information of the target cloud computing node that provides services for the service corresponding to the service identification information is pre-stored in the computing power routing device, the access-side computing power routing device can directly forward the service data stream sent by the terminal to the target cloud computing node corresponding to the IP address information of the cloud computing node for processing. Compared with the prior art, this avoids the problem that the service data message cannot reach the cloud computing node that provides services for the service due to inconsistent computing power routing paths selected by various computing power routing devices in the computing power network, and improves the data transmission efficiency.

[0047] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0049] Figure 1 An example diagram of the Dyncast topology structure of the computing network provided in the embodiment of the present application;

[0050] Figure 2 A schematic diagram of the implementation process of the computing power routing method provided in the embodiment of the present application;

[0051] Figure 3 A schematic diagram of the structure of the computing power routing NLRI provided in an embodiment of the present application;

[0052] Figure 4 A schematic diagram of the newly added IPv4 extended community attribute structure provided in an embodiment of the present application;

[0053] Figure 5 A schematic diagram of the structure of the newly added IPv6 extended community attribute provided in the embodiment of the present application;

[0054] Figure 6 A schematic diagram of an implementation process of a computing power routing method implemented on a border computing power routing device side connected to a cloud computing node provided in an embodiment of the present application;

[0055] Figure 7 A schematic diagram of the structure of a computing power routing device implemented on the edge computing power routing device side connected to a cloud computing node provided in an embodiment of the present application;

[0056] Figure 8 A schematic diagram of an implementation flow of a computing power routing method implemented on a computing power routing device side provided in an embodiment of the present application;

[0057] Fig. 9 A schematic diagram of the structure of a computing power routing device implemented on the computing power routing device side provided in an embodiment of the present application;

[0058] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] In order to solve the problem in the existing computing power routing method that inconsistent computing power routing paths selected by various computing power routing devices in the computing power network may cause business data packets to be unable to reach the cloud computing nodes providing services for the business and the data transmission efficiency is low, the embodiments of the present application provide a computing power routing method, device, electronic device and storage medium.

[0060] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.

[0061] like Figure 2 As shown, it is a schematic diagram of the implementation process of the computing power routing method provided in the embodiment of the present application. The computing power routing method is applied to the computing power network, and still uses Figure 1 Taking the computing power network in as an example, the computing power network may include at least: a distributed cluster, a border computing power routing device connected to the distributed cluster, a computing power routing device, a traditional communication network, a terminal, etc., wherein the distributed cluster may include at least one cloud computing node, and the traditional communication network may include several traditional routing devices. The computing power routing method may include the following steps:

[0062] S11. The distributed cluster sends the service identification information of the services provided by each cloud computing node in the distributed cluster, the IP address information of each cloud computing node, and the computing power resource information of each cloud computing node to the edge computing power routing device connected to it.

[0063] In specific implementation, for each distributed cluster in the computing network, the distributed cluster sends the service identification information of the services provided by each cloud computing node contained in the distributed cluster, the IP address information of each cloud computing node, and the computing power resource information of each cloud computing node to the edge computing routing device connected thereto. The service identification information corresponding to a service, the IP address information of the cloud computing node, and the computing power resource information of the cloud computing node can be called the associated information of the service provided by the cloud computing node. Among them, the service identification information can be uniquely identified by SID (service identification), the IP address of the cloud computing node can be recorded as BID (Binding ID), which is the unicast IP address that provides services for the service, the IP address of each cloud computing node corresponding to each service is also: each unicast IP address that provides services for each service, the computing power resource information of the cloud computing node can be identified by Metric, and the computing power resource information of the cloud computing node can include but is not limited to a combination of one or more of the following information: CPU (Central Processing Unit, Central Processing Unit) occupancy rate, memory available space, service processing delay, etc., and the embodiment of the present application does not limit this. Then, the associated information of each service sent by each distributed cluster to the edge computing routing device connected to it includes: SID, BID, and Metric.

[0064] Still Figure 1 For example, distributed cluster 1 includes the following multiple cloud computing nodes: cloud computing node 11, cloud computing node 12, etc., and distributed cluster 2 includes the following multiple cloud computing nodes: cloud computing node 21, cloud computing node 22, etc. This application only uses Figure 1The various cloud computing nodes shown in the figure are used as an example for explanation. During implementation, the number of distributed clusters, geographical locations, the number of cloud computing nodes included in each distributed cluster, and the services that each cloud computing node can provide can be set according to needs, and this application does not limit this. Figure 1 In the example, distributed cluster 1 and distributed cluster 2 can be located in different regions and can provide services for different services of users. In distributed cluster 1, cloud computing node 11 can provide services for service 1, and cloud computing node 12 can provide services for service 2. In distributed cluster 2, cloud computing node 21 can provide services for service 1, and cloud computing node 22 can provide services for service 2. The service identifier corresponding to service 1 is SID1, and the service identifier corresponding to service 2 is SID2. The IP address of cloud computing node 11 is BID11, and the computing power resource information of cloud computing node 11 is identified by Metric11. The IP address of cloud computing node 12 is BID12, and the computing power resource information of cloud computing node 12 is identified by Metric12. The IP address of cloud computing node 21 is BID21, and the computing power resource information of cloud computing node 21 is identified by Metric21. The IP address of cloud computing node 22 is BID22, and the computing power resource information of cloud computing node 22 is identified by Metric22. Then, distributed cluster 1 sends the following information to the edge computing routing device R2 connected to it: SID1, BID11, Metric11; and SID2, BID12, Metric12. Distributed cluster 2 sends the following information to the edge computing routing device R3 connected to it: SID1, BID21, Metric21; and SID2, BID22, Metric22.

[0065] It should be noted that Figure 1 The cloud computing node in the example can be set as a cloud server, which is for the case where a cloud computing node provides services for one business. During implementation, a cloud computing node can also provide services for multiple businesses, and the embodiments of the present application do not limit this. Since the unicast IP address information and computing power resource information corresponding to different businesses may be different, when the distributed cluster includes multiple cloud servers, the distributed cluster needs to send the business identification information of the business provided by each server, the IP address information of the server (that is, the unicast IP address information corresponding to the business) and the computing power resource information of the server to the border routing device connected to it.

[0066] S12. The edge computing power routing device generates computing power routing information corresponding to each service based on each service identification information, the IP address information of each cloud computing node corresponding to each service, and the computing power resource information.

[0067] In specific implementation, the edge computing power routing device can generate computing power routing information corresponding to each business based on the identification information of each business, the IP address information of the cloud computing node corresponding to each business, and the computing power resource information of the cloud computing node corresponding to each business.

[0068] Specifically, each computing power routing information generated by the edge computing power routing device for each service can be expressed as:<SID,BID,Metric> The computing power routing information of the service can identify the correspondence between the service identification information and the IP address information of the cloud computing node and the computing power resource information of the cloud computing node, that is, the correspondence between the service identification SID and the unicast IP address BID bound to it and the computing power resource information.

[0069] like Figure 1 In the example, the edge routing device R2 can generate the following two pieces of computing power routing information: computing power routing information corresponding to service 1<SID1,BID 11,Metric11> Computing power routing information corresponding to business 2<SID2,BID 12,Metric12> The edge routing device R3 can generate the following two pieces of computing power routing information: computing power routing information corresponding to service 1<SID1,BID 21,Metric21> Computing power routing information corresponding to business 2<SID2,BID 22,Metric22> .

[0070] In implementation, in order to solve the problem of BGP (Border Gateway Protocol) supporting multiple network layer protocols, the address family capability of BGP can be expanded so that BGP can provide routing information for multiple different applications. The current routing prefix includes IPv4 unicast and IPv6 unicast addresses, which are identified by the existing BGP address family (Address Family Information, AFI) and BGP sub-address family (Sub-Address Family Information, SAFI). Among them, when AFI is 1, it identifies the BGP address family IPv4, and when AFI is 2, it identifies the BGP address family IPv6; when AFI is 1 and SAFI is also 1, it identifies the IPv4 unicast address, and when AFI is 1 and SAFI is 2, it identifies the IPv4 multicast address; when AFI is 2 and SAFI is 1, it identifies the IPv6 unicast address, and when AFI is 2 and SAFI is also 2, it identifies the IPv4 multicast address.

[0071] In specific implementation, the border computing power routing device can extend the BGP sub-address family (Sub-Address Family Information, SAFI) to identify the computing power routing type, and can apply to the Internet Assigned Numbers Authority (The Internet Assigned Numbers Authority, IANA) for an extended BGP sub-address family SAFI. For example, the Internet Assigned Numbers Authority assigns SAFI: "100" to identify the computing power routing type. In this way, when AFI is 1 and SAFI is 100, AFI and SAFI jointly identify IPv4 computing power routing. When AFI is 2 and SAFI is 100, AFI and SAFI jointly identify IPv6 computing power routing.

[0072] In one implementation, the BGP address family AFI can also be expanded to support new computing power routing prefix types, such as VPNv4 and other computing power routing prefix types, which are not limited in this embodiment of the present application. Similarly, an application can be made to the Internet Assigned Numbers Authority for an expanded BGP address family AFI.

[0073] The edge computing power routing device sends a message to its neighboring devices (such as Figure 1 When sending computing power routing information, the routing device connected to the edge computing power routing device in the traditional communication network can carry the BGP address family AFI information in the computing power routing network layer reachability information (NLRI) attribute. The structure of the computing power routing NLRI is as follows: Figure 3 As shown in the figure, the computing power routing NIRI field defines the network of the computing power routing, including: IP address length and IP address prefix, Figure 3 In Length, fill in the length of the corresponding IP address, and in Route specific, fill in the IP address prefix. If AFI is 1, NLRI is the IPv4 address corresponding to the SID. If AFI is 2, NLRI is the IPv6 address corresponding to the SID.

[0074] The edge computing routing device can also add a preset BGP extended community attribute (Extended community) to carry the IP address information of the cloud computing node, namely: BID.

[0075] In specific implementation, since the edge computing power routing device needs to carry the unicast address BID in the computing power routing information, and since the BID may be an IPv4 unicast address or an IPv6 unicast address, based on this, the edge computing power routing device can add an IPv4 extended community attribute and an IPv6 extended community attribute to carry the BID, where the IPv4 extended community attribute can also be directly called the extended community attribute. During the implementation process, for devices that do not recognize the extended community attribute, this attribute can be ignored. Figure 4 As shown in the figure, it is a schematic diagram of the structure of the newly added IPv4 extended community attribute. The first byte represents Type, the second byte represents Sub-Type, the third to sixth bytes represent BIDv4, and the seventh and eighth bytes are reserved. Type and Sub-Type need to be applied for from the Internet Assigned Numbers Authority. Type and Sub-Type jointly identify the newly added IPv4 extended community attribute type. BIDv4 is used to fill in BID, that is, the IP address (that is, IPv4 unicast address) information of the cloud computing node. Figure 5 As shown in the figure, it is a schematic diagram of the newly added IPv6 extended community attribute structure. The first byte represents Type, the second byte represents Sub-Type, and the 3rd to 18th bytes represent BIDv6, which is used to fill in BID, that is, the IP address (that is, IPv6 unicast address) information of the cloud computing node. The 19th to 20th bytes are reserved, among which Type and Sub-Type need to be applied for from the Internet Assigned Numbers Authority. Type and Sub-Type jointly identify the newly added IPv6 extended community attribute type.

[0076] S13. The edge computing power routing device forwards each computing power routing information corresponding to each service to each computing power routing device in the computing power network.

[0077] In specific implementation, the border computing power routing device can send the computing power routing information corresponding to each service to its neighboring device based on BGP, and then its neighboring device forwards it to each other computing power routing device in the computing power network except the border computing power routing device.

[0078] Still continuing Figure 1In the example, the border routing device R2 generates the computing power routing information corresponding to service 1.<SID1,BID 11,Metric11> Computing power routing information corresponding to business 2<SID2,BID 12,Metric12> The data is sent to the neighboring routing device in the traditional communication network connected to it, and then forwarded to the computing power routing device R1 by the neighboring routing device through other routing devices in the traditional communication network. The border routing device R3 generates the computing power routing information corresponding to service 1.<SID1,BID 21,Metric21> Computing power routing information corresponding to business 2<SID2,BID 22,Metric22> It is sent to the neighboring routing device in the traditional communication network connected to it, and forwarded by its neighboring routing device to the computing power routing device R1 through other routing devices in the traditional communication network. In this way, the computing power routing device R1 can receive two computing power routing information corresponding to service 1:<SID1,BID 11,Metric11> and<SID1,BID 21,Metric21> , and received two computing power routing information corresponding to business 2:<SID2,BID 12,Metric12> and<SID2,BID 22,Metric22> .

[0079] S14. The computing power routing device selects the IP address information of the target cloud computing node corresponding to each service based on the network resource information and the computing power resource information of the cloud computing node in the received computing power routing information corresponding to each service.

[0080] In specific implementation, the network resource information may include, but is not limited to, the following information: network bandwidth information, network delay information, etc. When the computing power routing device receives each computing power routing information corresponding to each service, it may select the IP address information of the cloud computing node corresponding to each service as the IP address information of the target cloud computing node providing services for each service based on the current network resource information obtained and the computing power resource information of each cloud computing node in each computing power routing information of each service.

[0081] like Figure 1When computing power routing device R1 receives computing power routing information corresponding to service 1 forwarded by edge routing device R2 through the traditional communication network,<SID1,BID 11,Metric11> Computing power routing information corresponding to business 2<SID2,BID12,Metric12> , and the computing power routing information corresponding to service 1 forwarded by the edge routing device R3 through the traditional communication network<SID1,BID 21,Metric21> Computing power routing information corresponding to business 2<SID2,BID 22,Metric22> When, an optimal target cloud computing node IP address information can be selected for service 1 based on the current network resource information and the computing power resource information Metric11 of cloud computing node 11 and the computing power resource information Metric21 of cloud computing node 21, and an optimal target cloud computing node IP address information can be selected for service 2 based on the current network resource information and the computing power resource information Metric12 of cloud computing node 12 and the computing power resource information Metric22 of cloud computing node 22, and the corresponding relationship between the selected identifier SID1 of service 1 and the IP address information of the target cloud computing node is used as the target computing power routing information corresponding to service 1, and the corresponding relationship between the selected identifier SID2 of service 2 and the IP address information of the target cloud computing node is used as the target computing power routing information corresponding to service 2. Assume that the IP address information of the target cloud computing node selected by the computing power routing device R1 for service 1 is BID11, that is, the target computing power routing information selected by the computing power routing device R1 for service 1 is:<SID1,BID 11> , that is, the cloud computing node that provides services for business 1 is cloud computing node 11, BID1 is the IP address of cloud computing node 11, that is, the unicast IP address that provides services for business 1. Assume that the IP address information of the target cloud computing node selected by computing power routing device R1 for business 2 is BID22, that is: the target computing power routing information selected by computing power routing device R1 for business 2 is:<SID2,BID 22> That is to say, the cloud computing node providing services for business 2 is cloud computing node 22, and BID22 is the IP address of cloud computing node 22, that is, the unicast IP address providing services for business 2.

[0082] S15. The computing power routing device stores the correspondence between the business identification information of each business and the IP address information of the target cloud computing node.

[0083] In specific implementation, the computing power routing device sends the correspondence between the business identification information of each business and the IP address information of its target cloud computing node, that is, the target computing power routing information corresponding to each business, to the routing management module of the computing power routing device for storage.

[0084] Continuing with the above example, computing power routing device R1 can select the two target computing power routing information<SID1,BID 11> and<SID2,BID 22> It is sent to the routing management module of R1 for storage.

[0085] S16. The computing power routing device receives a service request sent by the terminal, where the service request carries target service identification information.

[0086] In this step, the target service identification information of the request carried in the service request is the SID.

[0087] S17. The computing power routing device determines the IP address information of the target cloud computing node corresponding to the target business identification information based on the correspondence between the stored business identification information of each business and the IP address information of the target cloud computing node.

[0088] In this step, the computing power routing device matches the target computing power routing information corresponding to the target business identification information SID from the correspondence between the business identification information of each business and the IP address information of the target cloud computing node, that is, the target computing power routing information corresponding to each business. The IP address information BID of the target cloud computing node corresponding to the target business identification information SID in the matched target computing power routing information is the IP address information of the target cloud computing node corresponding to the target business identification information. The IP address of the matched target cloud computing node is a unicast IP address that provides services for the target business corresponding to the target business identification.

[0089] Continuing with the above example, assuming that the target service identification information carried in the service request sent by the terminal received by the computing power routing device R1 is the identification SID1 of service 1, then according to the two target computing power routing information stored in the routing management module<SID1,BID 11> and<SID2,BID 22> The target computing power routing information corresponding to the identifier SID1 that can be matched to business 1 is<SID1,BID 11> , then the IP address of the target cloud computing node corresponding to SID1 is BID11, and the target cloud computing node is cloud computing node 11.

[0090] S18. The computing power routing device forwards the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node.

[0091] In this step, the computing power routing device forwards the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node for processing, so that the target cloud computing node provides services for the target service.

[0092] Continuing with the above example, the computing power routing device R1 forwards the service request to the cloud computing node 11 for processing through the traditional communication network.

[0093] In the computing power routing method provided by the embodiment of the present application, a border computing power routing device in a computing power network receives service identification information of services provided by each cloud computing node in the distributed cluster sent by the distributed cluster connected to it, IP address information of each cloud computing node, and computing power resource information of each cloud computing node. The border computing power routing device generates each computing power routing information corresponding to each service according to each service identification information, IP address information of each cloud computing node corresponding to each service, and computing power resource information. Then, the border computing power routing device forwards each computing power routing information corresponding to each service to each other computing power routing device in the computing power network. Each computing power routing device selects the IP address information of the target cloud computing node corresponding to each service based on the network resource information and the computing power resource information of the cloud computing node in the computing power routing information corresponding to each service forwarded by each border computing power routing device, and stores the corresponding relationship between the service identification information of each service and the IP address information of the target cloud computing node selected to provide service for the service. When any computing power routing device receives the service identification information sent by the terminal, When a service request is made, the computing power routing device can determine the IP address information of the target cloud computing node corresponding to the target service identification information carried in the service request based on the correspondence between the stored service identification information of each service and the IP address information of the target cloud computing node, and forward the service request to the target computing node corresponding to the IP address information of the target computing node for processing. In this way, it is only necessary to transmit the service data stream according to the computing power routing information selected by the access-side computing power routing device of the computing power network based on the network resource information and the computing power resource information of the cloud computing node. Since the IP address information of the target cloud computing node that provides services for the service corresponding to the service identification information is pre-stored in the computing power routing device, the access-side computing power routing device can directly forward the service data stream sent by the terminal to the target cloud computing node corresponding to the IP address information of the cloud computing node for processing. Compared with the prior art, this avoids the problem that the service data message cannot reach the cloud computing node that provides services for the service due to inconsistent computing power routing paths selected by various computing power routing devices in the computing power network, and improves the data transmission efficiency.

[0094] like Figure 6 As shown, it is a schematic diagram of the implementation process of the computing power routing method implemented on the edge computing power routing device side connected to the cloud computing node provided by the embodiment of the present application. The method is applied to the edge computing power routing device connected to the distributed cluster in the computing power network, and may include the following steps:

[0095] S21. Receive service identification information of services provided by each cloud computing node in the distributed cluster, IP address information of each cloud computing node, and computing power resource information of each cloud computing node from the distributed cluster.

[0096] S22. Generate computing power routing information corresponding to each service based on each service identification information, IP address information of each cloud computing node corresponding to each service, and computing power resource information.

[0097] S23. Forward each computing power routing information corresponding to each service to each computing power routing device in the computing power network, so that each computing power routing device selects the IP address information of the target cloud computing node corresponding to each service based on the network resource information and the computing power resource information of the cloud computing node in the received computing power routing information corresponding to each service, and stores the correspondence between the service identification information of each service and the IP address information of the target cloud computing node, so that when any computing power routing device receives a service request sent by the terminal, it determines the IP address information of the target cloud computing node corresponding to the target service identification information carried in the service request based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node, and forwards the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node.

[0098] In a possible implementation, forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network specifically includes:

[0099] Based on the Border Gateway Protocol BGP, the computing power routing information corresponding to each service is forwarded to each computing power routing device in the computing power network.

[0100] In a possible implementation manner, before forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network, the method further includes:

[0101] The extended BGP sub-address family is used to identify the computing power routing type.

[0102] In a possible implementation manner, before forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network, the method further includes:

[0103] A preset BGP extended community attribute is newly added to carry the IP address information of the cloud computing node.

[0104] In a possible implementation manner, the IP addresses of the cloud computing nodes corresponding to each service are unicast IP addresses providing services for each service.

[0105] Based on the same inventive concept, an embodiment of the present application also provides a computing power routing device implemented on the side of a border computing power routing device connected to a cloud computing node. Since the principle of solving the problem by the computing power routing device implemented on the side of a border computing power routing device connected to a cloud computing node is similar to the above-mentioned computing power routing method, the implementation of the computing power routing device implemented on the side of a border computing power routing device connected to a cloud computing node can refer to the implementation of the above-mentioned computing power routing method, and the repeated parts will not be repeated.

[0106] like Figure 7 As shown, it is a schematic diagram of the structure of a computing power routing device implemented on the edge computing power routing device side connected to a cloud computing node provided in an embodiment of the present application. The device is applied to an edge computing power routing device connected to a distributed cluster in a computing power network, and may include:

[0107] A receiving unit 31 is used to receive service identification information of services provided by each cloud computing node in the distributed cluster, IP address information of each cloud computing node, and computing power resource information of each cloud computing node sent by the distributed cluster;

[0108] A generating unit 32, configured to generate computing power routing information corresponding to each service according to each service identification information, IP address information of each cloud computing node corresponding to each service, and computing power resource information;

[0109] The forwarding unit 33 is used to forward the computing power routing information corresponding to each service to each computing power routing device in the computing power network, so that each computing power routing device selects the IP address information of the target cloud computing node corresponding to each service based on the network resource information and the computing power resource information of the cloud computing node in the received computing power routing information corresponding to each service, and stores the correspondence between the service identification information of each service and the IP address information of the target cloud computing node, so that when any computing power routing device receives a service request sent by the terminal, it determines the IP address information of the target cloud computing node corresponding to the target service identification information carried in the service request based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node, and forwards the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node.

[0110] In a possible implementation, the forwarding unit 33 is specifically configured to forward each computing power routing information corresponding to each service to each computing power routing device in the computing power network based on the Border Gateway Protocol BGP.

[0111] In a possible implementation manner, the device further includes:

[0112] The extension unit is used to extend the BGP sub-address family to identify the computing power routing type before forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network.

[0113] In a possible implementation manner, the device further includes:

[0114] A new unit is added, which is used to add a preset BGP extended community attribute to carry the IP address information of the cloud computing node before forwarding the computing power routing information corresponding to each business to each computing power routing device in the computing power network.

[0115] In a possible implementation manner, the IP addresses of the cloud computing nodes corresponding to each service are unicast IP addresses providing services for each service.

[0116] Based on the same inventive concept, the embodiment of the present application also provides a computing power routing method implemented on the computing power routing device side. Since the principle of solving the problem by the computing power routing method implemented on the computing power routing device side is similar to that of the computing power routing method, the implementation of the computing power routing method implemented on the computing power routing device side can refer to the implementation of the computing power routing method, and the repeated parts will not be repeated.

[0117] like Figure 8 As shown, it is a schematic diagram of the implementation process of the computing power routing method implemented on the computing power routing device side provided in an embodiment of the present application. The method is applied to a computing power routing device connected to a terminal in a computing power network system, that is, a computing power routing device on the access side, and may include the following steps:

[0118] S41. Receive computing power routing information corresponding to each service forwarded by each edge computing power routing device in the computing power network, wherein the computing power routing information corresponding to each service forwarded by each edge computing power routing device is generated according to each service identification information, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node corresponding to each service, after each edge computing power routing device receives service identification information of the service provided by each cloud computing node in the distributed cluster sent by the distributed cluster connected to it, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node.

[0119] S42: Select the IP address information of the target cloud computing node corresponding to each service based on the acquired network resource information and the computing power resource information of the cloud computing node in the received computing power routing information corresponding to each service.

[0120] S43: Storing the correspondence between the service identification information of each service and the IP address information of the target cloud computing node.

[0121] In a possible implementation, the method further includes:

[0122] Receiving a service request sent by a terminal, wherein the service request carries target service identification information;

[0123] Determine the IP address information of the target cloud computing node corresponding to the target service identification information based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node;

[0124] The service request is forwarded to a target cloud computing node corresponding to the IP address information of the target cloud computing node.

[0125] Based on the same inventive concept, the embodiment of the present application also provides a computing power routing device implemented on the computing power routing device side. Since the principle of solving the problem by the computing power routing device implemented on the computing power routing device side is similar to that of the computing power routing method, the implementation of the computing power routing device implemented on the computing power routing device side can refer to the implementation of the computing power routing method, and the repeated parts will not be repeated.

[0126] like Fig. 9 As shown, it is a schematic diagram of the structure of a computing power routing device implemented on the computing power routing device side provided in an embodiment of the present application. The device is applied to a computing power routing device connected to a terminal in a computing power network system, that is, a computing power routing device on the access side, and may include:

[0127] The first receiving unit 51 is used to receive each computing power routing information corresponding to each service forwarded by each edge computing power routing device in the computing power network, wherein each computing power routing information corresponding to each service forwarded by each edge computing power routing device is generated according to each service identification information, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node corresponding to each service after each edge computing power routing device receives the service identification information of the service provided by each cloud computing node in the distributed cluster sent by the distributed cluster connected thereto, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node;

[0128] A selection unit 52 is configured to select the IP address information of the target cloud computing node corresponding to each service based on the acquired network resource information and the computing resource information of the cloud computing node in the received computing routing information corresponding to each service;

[0129] The storage unit 53 is used to store the correspondence between the service identification information of each service and the IP address information of the target cloud computing node.

[0130] In a possible implementation manner, the device further includes:

[0131] A second receiving unit, configured to receive a service request sent by the terminal, wherein the service request carries target service identification information;

[0132] a determining unit, configured to determine the IP address information of the target cloud computing node corresponding to the target service identification information based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node;

[0133] The forwarding unit is used to forward the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node.

[0134] Based on the same technical concept, the present application embodiment also provides an electronic device 600, referring to Fig.10 As shown, the electronic device 600 is used to implement the computing power routing method described in the above method embodiment. The electronic device 600 of this embodiment may include: a memory 601, a processor 602, and a computer program stored in the memory and executable on the processor, such as a computing power routing program. When the processor executes the computer program, the steps in the above computing power routing method embodiments are implemented.

[0135] The specific connection medium between the memory 601 and the processor 602 is not limited in the embodiment of the present application. Fig.10 In the embodiment, the memory 601 and the processor 602 are connected via a bus 603. The bus 603 is Fig.10 The connection between other components is shown by bold lines, which is only for schematic illustration and is not intended to be limiting. The bus 603 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0136] The memory 601 may be a volatile memory, such as a random-access memory (RAM); the memory 601 may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), or the memory 601 may be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 601 may be a combination of the above memories.

[0137] Processor 602 is used to implement the computing power routing method of various exemplary embodiments provided in this application.

[0138] An embodiment of the present application also provides a computer-readable storage medium that stores computer-executable instructions required to execute the above-mentioned processor, which includes a program required to execute the above-mentioned processor.

[0139] In some possible implementations, various aspects of the computing power routing method provided in the present application may also be implemented in the form of a program product, which includes a program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the computing power routing method according to various exemplary implementations of the present application described above in this specification.

[0140] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0141] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0142] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0144] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0145] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A computing power routing method, characterized in that: The method is applied to a border computing power routing device connected to a distributed cluster in a computing power network, and comprises: Receive service identification information of services provided by each cloud computing node in the distributed cluster, IP address information of each cloud computing node, and computing power resource information of each cloud computing node sent by the distributed cluster; Generate computing power routing information corresponding to each business according to each business identification information, IP address information of each cloud computing node corresponding to each business, and computing power resource information; The computing power routing information corresponding to each service is forwarded to each computing power routing device in the computing power network, so that each computing power routing device selects the IP address information of the target cloud computing node corresponding to each service based on the network resource information and the computing power resource information of the cloud computing node in the received computing power routing information corresponding to each service, and stores the correspondence between the service identification information of each service and the IP address information of the target cloud computing node, so that when any computing power routing device receives a service request sent by a terminal, it determines the IP address information of the target cloud computing node corresponding to the target service identification information carried in the service request based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node, and forwards the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node.

2. The method according to claim 1, characterized in that Forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network, specifically including: Based on the Border Gateway Protocol BGP, the computing power routing information corresponding to each service is forwarded to each computing power routing device in the computing power network.

3. The method according to claim 1, characterized in that Before forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network, the method further includes: The extended BGP sub-address family is used to identify the computing power routing type.

4. The method according to claim 2 or 3, characterized in that Before forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network, the method further includes: A preset BGP extended community attribute is newly added to carry the IP address information of the cloud computing node.

5. The method according to claim 1, characterized in that The IP addresses of the cloud computing nodes corresponding to each service are unicast IP addresses that provide services for each service.

6. A computing power routing method, characterized in that: A computing power routing device applied to a computing power network, the method comprising: Receiving each computing power routing information corresponding to each service forwarded by each edge computing power routing device in the computing power network, wherein each computing power routing information corresponding to each service forwarded by each edge computing power routing device is generated according to each service identification information, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node corresponding to each service after each edge computing power routing device receives service identification information of the service provided by each cloud computing node in the distributed cluster sent by the distributed cluster connected thereto, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node; Selecting the IP address information of the target cloud computing node corresponding to each service based on the acquired network resource information and the computing resource information of the cloud computing node in the received computing routing information corresponding to each service; The correspondence between the service identification information of each service and the IP address information of the target cloud computing node is stored.

7. The method according to claim 6, characterized in that Also includes: Receiving a service request sent by a terminal, wherein the service request carries target service identification information; Determine the IP address information of the target cloud computing node corresponding to the target service identification information based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node; The service request is forwarded to a target cloud computing node corresponding to the IP address information of the target cloud computing node.

8. A computing power routing device, characterized in that: A border computing power routing device connected to a distributed cluster in a computing power network, the device comprising: A receiving unit, configured to receive service identification information of services provided by each cloud computing node in the distributed cluster, IP address information of each cloud computing node, and computing power resource information of each cloud computing node, which are sent by the distributed cluster; A generating unit, configured to generate computing power routing information corresponding to each service according to each service identification information, IP address information of each cloud computing node corresponding to each service, and computing power resource information; A forwarding unit, used to forward each computing power routing information corresponding to each service to each computing power routing device in the computing power network, so that each computing power routing device selects the IP address information of the target cloud computing node corresponding to each service based on the network resource information and the computing power resource information of the cloud computing node in the received computing power routing information corresponding to each service, and stores the correspondence between the service identification information of each service and the IP address information of the target cloud computing node, so that when any computing power routing device receives a service request sent by a terminal, it determines the IP address information of the target cloud computing node corresponding to the target service identification information carried in the service request based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node, and forwards the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node.

9. The device according to claim 8, characterized in that The forwarding unit is specifically used to forward the computing power routing information corresponding to each service to each computing power routing device in the computing power network based on the Border Gateway Protocol BGP.

10. The device according to claim 9, characterized in that Also includes: The extension unit is used to extend the BGP sub-address family to identify the computing power routing type before forwarding each computing power routing information corresponding to each service to each computing power routing device in the computing power network.

11. The device according to claim 9 or 10, characterized in that Also includes: A new unit is added, which is used to add a preset BGP extended community attribute to carry the IP address information of the cloud computing node before forwarding the computing power routing information corresponding to each business to each computing power routing device in the computing power network.

12. The device according to claim 8, characterized in that The IP addresses of the cloud computing nodes corresponding to each service are unicast IP addresses that provide services for each service.

13. A computing power routing device, characterized in that: A computing power routing device applied to a computing power network, the device comprising: A first receiving unit is used to receive each computing power routing information corresponding to each service forwarded by each edge computing power routing device in the computing power network, wherein each computing power routing information corresponding to each service forwarded by each edge computing power routing device is generated according to each service identification information, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node corresponding to each service after each edge computing power routing device receives service identification information of the service provided by each cloud computing node in the distributed cluster sent by the distributed cluster connected thereto, the IP address information of each cloud computing node and the computing power resource information of each cloud computing node; A selection unit, configured to select the IP address information of the target cloud computing node corresponding to each service based on the acquired network resource information and the computing resource information of the cloud computing node in the received computing routing information corresponding to each service; The storage unit is used to store the correspondence between the service identification information of each service and the IP address information of the target cloud computing node.

14. The device according to claim 13, characterized in that Also includes: A second receiving unit, configured to receive a service request sent by the terminal, wherein the service request carries target service identification information; a determining unit, configured to determine the IP address information of the target cloud computing node corresponding to the target service identification information based on the stored correspondence between the service identification information of each service and the IP address information of the target cloud computing node; The forwarding unit is used to forward the service request to the target cloud computing node corresponding to the IP address information of the target cloud computing node.

15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the computing power routing method according to any one of claims 1 to 7 is implemented.

16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the computing power routing method as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Predefined rule-based routing method and device for computing power network of intelligent computing center cloud platform

    CN121262291A