Communication method and apparatus, node device, and storage medium
By sending service capability information and resource status information between node devices, using extended BGP messages to realize multi-factor joint computing, and dynamically generate service scheduling strategies, solving the problem that cannot meet users' differentiated needs in the existing technology, and achieving the effect of refined routing forwarding and reducing announcement overhead.
Patent Information
- Application Number
- PCT/CN2024/116428
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-03
- Filing Date
- 2024-09-03
- Publication Date
- 2025-05-08
AI Technical Summary
The existing technology is difficult to meet the differentiated needs of users and cannot provide refined routing and forwarding.
By sending service capability information and resource status information between node devices, multi-factor joint computing is realized using extended BGP messages to dynamically generate service scheduling strategies.
It realizes information announcements between node devices without user requests, reducing the overhead of announcements and meeting the differentiated needs of users.
Smart Images

Figure CN2024116428_08052025_PF_FP_ABST
Abstract
Description
Communication method, device, node equipment and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese Patent Application No. 202311458343.8 filed in China on November 3, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The embodiments of the present disclosure relate to the field of communication technology, and in particular to a communication method, apparatus, node device, and storage medium. Background Art
[0004] In the integrated computing and network phase, computing power awareness and routing are exploring new routing technology systems from multiple perspectives, including architecture and protocols. Based on state awareness of multi-dimensional resources and services, such as network, computing, and storage, these technologies leverage the combined multi-factor "computing power + network" approach to dynamically generate on-demand service scheduling strategies. Currently, technologies related to computing power routing primarily focus on application scenarios, technical requirements, frameworks, control plane expansion, and existing data plane forwarding. Providing refined routing and forwarding to meet differentiated user needs is a pressing issue.
[0005] Summary of the Invention
[0006] The embodiments of the present disclosure provide a communication method, apparatus, node device, and storage medium to solve the problem of how to meet the differentiated needs of users.
[0007] In a first aspect, a communication method is provided, applied to a first node, comprising:
[0008] The first node sends first information, where the first information includes at least one of the following: service capability information, and status information of a service or resource.
[0009] Optionally, the first node sending the first information includes:
[0010] The first node sends the first information via a Border Gateway Protocol BGP message of an IPv6 or IPv4 address cluster;
[0011] or,
[0012] The first node sends a first message via a BGP message of a newly defined address cluster, where the first message includes second information and the first information, where the second information is used to indicate a routing type.
[0013] Optionally, when the first node sends the service capability information, the method further includes:
[0014] The first node sends status information of a service or resource.
[0015] Optionally, the first node sending the service capability information includes:
[0016] The first node actively sends the service capability information;
[0017] or,
[0018] The first node sends service or resource status information,
[0019] Including: the first node actively sends status information of the service or resource.
[0020] Optionally, the first node sending service or resource status information includes:
[0021] The first node receives a first request, where the first request is used to request subscription to status information of a specific service or resource;
[0022] The first node sends the status information of the specific service or resource according to the first request.
[0023] Optionally, the service capability information includes at least one of the following: service identifier, service domain name, service type, service energy consumption, service cost, and service metric;
[0024] and / or,
[0025] The status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0026] In a second aspect, a communication method is provided, applied to a second node, comprising:
[0027] The second node receives first information, where the first information includes at least one of the following: service capability information, and status information of a service or resource.
[0028] Optionally, the method further includes:
[0029] The second node generates routing forwarding information according to the service capability information.
[0030] Optionally, the second node receiving the first information includes:
[0031] The second node receives the first information via a BGP message of an IPv6 or IPv4 address cluster;
[0032] or,
[0033] The second node receives a first message sent by the first node through a BGP message of a newly defined address cluster, where the first message includes second information and the first information, where the second information is used to indicate a routing type.
[0034] Optionally, when the second node receives service capability information, the method further includes:
[0035] The second node receives status information of a service or a resource.
[0036] Optionally, the second node receives status information of a service or resource, including:
[0037] The second node sends a first request, where the first request is used to request subscription to status information of a specific service or resource;
[0038] The second node receives the status information of the specific service or resource.
[0039] Optionally, the service capability information includes at least one of the following: service identifier, service domain name, service type, service energy consumption, service cost, and service metric;
[0040] and / or,
[0041] The status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0042] According to a third aspect, a communication method is provided, which is applied to a third node and includes:
[0043] The third node sends a second request to the fourth node, where the second request is used to subscribe to third information, and the third information includes at least one of the following: service capability information, and status information of a service or resource.
[0044] Optionally, the method further includes:
[0045] The third node receives the third information sent by the fourth node.
[0046] Optionally, the receiving, by the third node, the third information sent by the fourth node includes:
[0047] The third node receives the third information sent by the fourth node through a BGP message of an IPv6 or IPv4 address cluster;
[0048] or,
[0049] The third node receives a second message sent by the fourth node through a BGP message of the newly defined address cluster, where the second message includes fourth information and the third information, and the fourth information is used to indicate a routing type.
[0050] Optionally, before the third node sends the second request, the method further includes:
[0051] The third node receives the service capability information sent by the fourth node.
[0052] Optionally, the service capability information includes at least one of the following: service identifier, service domain name, service type, service energy consumption, service cost, and service metric;
[0053] and / or,
[0054] The status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0055] In a fourth aspect, a communication method is provided, applied to a fourth node, comprising:
[0056] The fourth node receives a second request from the third node, where the second request is used to subscribe to third information, where the third information includes at least one of the following: service capability information, and status information of a service or resource.
[0057] Optionally, the method further includes:
[0058] The fourth node sends the third information to the third node. Optionally, the fourth node sends the third information to the third node, including:
[0059] The fourth node sends the third information to the third node through a BGP message of an IPv6 or IPv4 address cluster;
[0060] or,
[0061] The fourth node sends a second message to the third node via a BGP message of the newly defined address cluster, where the second message includes fourth information and the third information, and the fourth information is used to indicate a routing type.
[0062] Optionally, before the fourth node receives the second request from the third node, the method further includes:
[0063] The fourth node sends service capability information.
[0064] Optionally, the service capability information includes at least one of the following: service identifier, service domain name, service type, service energy consumption, service cost, and service metric;
[0065] and / or,
[0066] The status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0067] According to a fifth aspect, a communication device is provided, applied to a first node, including:
[0068] The first sending module is configured to send first information, where the first information includes at least one of the following: service capability information, and status information of a service or resource.
[0069] In a sixth aspect, a communication device is provided, applied to a second node, including:
[0070] The first receiving module is configured to receive first information, where the first information includes at least one of the following: service capability information, and status information of a service or resource.
[0071] In a seventh aspect, a communication device is provided, applied to a third node, including:
[0072] The second sending module is used to send a second request to the fourth node, where the second request is used to subscribe to third information, and the third information includes at least one of the following: service capability information, and status information of a service or resource.
[0073] In an eighth aspect, a communication device is provided, applied to a fourth node, including:
[0074] The fifth receiving module is configured to receive a second request from a third node, where the second request is used to subscribe to third information, and the third information includes at least one of the following: service capability information, and status information of a service or resource.
[0075] In the ninth aspect, a node device is provided, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect, the second aspect, the third aspect, or the fourth aspect.
[0076] In the tenth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect, the second aspect, the third aspect, or the fourth aspect are implemented.
[0077] In the present disclosure, the first node can send first information to the second node without the second node's request, and the first information includes at least one of the following: service capability information, service or resource status information, to meet the differentiated needs of users and reduce the notification overhead. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present disclosure. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:
[0079] Figure 1 is a schematic diagram of the computing power sensing and routing system architecture;
[0080] Figure 2 is a schematic diagram of the IETF CATS architecture;
[0081] FIG3 is a flow chart of a communication method according to an embodiment of the present disclosure;
[0082] FIG4 is a second flowchart of the communication method provided by an embodiment of the present disclosure;
[0083] FIG5 is a third flowchart of a communication method provided by an embodiment of the present disclosure;
[0084] FIG6 is a fourth flowchart of a communication method provided by an embodiment of the present disclosure;
[0085] FIG7 is a schematic diagram of three types of routing provided by an embodiment of the present disclosure;
[0086] FIG8 is a schematic diagram of Class 1 routing provided by an embodiment of the present disclosure;
[0087] FIG9 is a schematic diagram of two types of routing provided by an embodiment of the present disclosure;
[0088] FIG10 is a schematic diagram of three types of routing provided by an embodiment of the present disclosure;
[0089] FIG11 is a schematic diagram of data transmission with only type 1 routing provided in an embodiment of the present disclosure;
[0090] FIG12 is a schematic diagram of the full computing power RIB provided by an embodiment of the present disclosure;
[0091] FIG13 is a schematic diagram of the optimal computing power RIB provided by an embodiment of the present disclosure;
[0092] FIG14 is a schematic diagram of data transmission in which Class 1 routing, Class 2 routing, and Class 3 routing work in collaboration, provided by an embodiment of the present disclosure;
[0093] FIG15 is a schematic diagram of a communication device according to an embodiment of the present disclosure;
[0094] FIG16 is a second schematic diagram of a communication device provided in an embodiment of the present disclosure;
[0095] FIG17 is a third flowchart of a communication device provided by an embodiment of the present disclosure;
[0096] FIG18 is a fourth flowchart of a communication device provided by an embodiment of the present disclosure;
[0097] FIG19 is a schematic diagram of a node device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0098] The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0099] The term "comprise" and any variations thereof in the specification and claims of the present disclosure are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to the process, method, product, or apparatus. In addition, the use of "and / or" in the specification and claims to indicate at least one of the connected objects, such as A and / or B, means that A alone, B alone, and both A and B are included.
[0100] In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0101] As shown in Figure 1, the computing power perception and routing system architecture mainly includes:
[0102] (1) Computing Network Management and Control Center: Responsible for collecting and maintaining global network and resource topology information, configuring computing resource perception and reporting strategies, and maintaining the unified computing network database.
[0103] (2) Computing power routing node: responsible for computing power notification and computing power discovery, and making computing power perceptible, schedulable and manageable.
[0104] (3) Computing nodes: nodes that provide data processing and computing services. Specific deployment forms include but are not limited to cloud, edge, and end, as well as future computing and network-integrated device nodes.
[0105] Currently, the team has achieved multi-dimensional resource perception capabilities, including computing power, network, and business, as well as cross-domain collaborative scheduling capabilities for integrated computing and network. Breakthroughs have been made in key technologies such as computing power notification and computing and network collaborative scheduling mechanisms. Based on protocol extensions such as the Border Gateway Protocol (BGP), Open Shortest Path First (OSPF), Interior Gateway Protocol (IGP), and Network Configuration Protocol (NETCONF), the team has implemented an integrated computing and network perception protocol. Based on the mainstream Internet Protocol Version 6 (IPv6) / Segment Routing over IPv6 (SRV6) protocol extensions based on the IPv6 forwarding plane, the team has proposed multiple routing and forwarding solutions, including edge updates, hop-by-hop updates, and Software Defined Network (SDN) control and delivery. This has formed a series of computing power routing solution technologies for overlay and underlay networks, supporting centralized, distributed, and hybrid deployment solutions.
[0106] As shown in Figure 2, related technologies have proposed using the Service Function Chaining (SFC) BGP control plane, or SFIR routing, to advertise metrics information from the Computing-Aware Traffic Steering (CATS), the IETF standard for computing-aware traffic steering. Ingress routers use this CATS information to steer traffic for service flows. This solution is based on a simple extension of existing BGP Request for Comments (RFC) and advertises all traffic globally. It cannot adapt notification policies to specific information, nor can it implement on-demand notification based on services.
[0107] Referring to Figure 3, an embodiment of the present disclosure provides a communication method, the execution subject may be a first node, the first node may be a computing power routing egress gateway (Egress), and the specific steps include: Step 301.
[0108] Step 301: The first node sends first information, where the first information includes at least one of the following: service capability information, and service or resource status information.
[0109] It should be noted that the service in this embodiment can be replaced by computing power or computing power service, that is, the service capability information can also be called computing power capability information or computing power service information, and the service status information can also be called computing power status information or computing power service status information.
[0110] It can be understood that service capability information is static information, and service or resource status information is dynamic information.
[0111] In one embodiment of the present disclosure, the first node sending the first information includes:
[0112] The first node sends the first information via a Border Gateway Protocol (BGP) message of an IPv6 or IPv4 address cluster.
[0113] In another embodiment of the present disclosure, the first node sending the first information includes:
[0114] The first node sends a first message via a BGP message of a newly defined address cluster, where the first message includes second information and the first information, where the second information is used to indicate a route type (Route Type).
[0115] In this embodiment, by extending the BGP message of the address cluster, integrated perception of computing network information is achieved, which can meet the needs of new technological innovations while reducing the impact on existing address families.
[0116] 7 , the format of the first message may include: Route Type, length (Length), route type specific (variable) (Route Type specific (variable)).
[0117] In this embodiment, a new CATS address cluster is defined in BGP. Specifically, the Network Layer Reachability Information (NLRI) of the CATS message defines three types of CATS routes, as shown in Figures 8, 9, and 10:
[0118] (1) Route Type 1: generated and sent by the computing power routing egress gateway (Egress).
[0119] Category 1 routing, also known as topology routing, is used to publish service capability information, such as C-SMA (CATS Service Metric Agent). Service capability information includes but is not limited to at least one of the following: service identifier (CS-ID), service domain name, service type, service energy consumption, and service cost (cost), enabling the computing power routing ingress gateway to be mapped to the CS-ID based on service characteristics.
[0120] (2) Route Type 2: Generated and sent on demand by the computing power routing ingress gateway. Route Type 2 is used for service subscriptions. Only the computing power routing ingress gateway that has sent the subscription message will receive status information for a specific service or resource.
[0121] Type 2 routing can also be called on-demand routing subscription. Based on business needs, you subscribe to the status information of specific services or resources. The subscription message can include parameters such as notification policy and notification period.
[0122] (3) Route Type 3: Generated by the computing power routing egress gateway, it publishes status information of specific services or resources and is sent only to subscribers. It can be used in conjunction with the subscription message of Route Type 2.
[0123] Type 3 routing, also known as refined routing, advertises status information of specific services or resources. The status information may include load size, number of available service connections, available resource size, etc.
[0124] In this embodiment, Class 1 routing, Class 2 routing, and Class 3 routing are defined, which support computing power notifications of different strategies, implement on-demand routing, and reduce the overhead of notifications.
[0125] In an embodiment of the present disclosure, when the first node sends the service capability information, the method further includes:
[0126] The first node sends status information of a service or resource.
[0127] That is, the first node may first send the service capability information, and then the first node may send the status information of the service or resource.
[0128] In one embodiment of the present disclosure, the first node sending the service capability information includes:
[0129] The first node actively sends the service capability information.
[0130] That is, the first node can actively send service capability information without receiving a subscription request from the second node. For example, the first node can send service capability information periodically, or the first node can send service capability information based on an event trigger, such as sending service capability information based on a threshold of a preset parameter.
[0131] In an embodiment of the present disclosure, the first node sending service or resource status information includes: the first node actively sending service or resource status information.
[0132] In one embodiment of the present disclosure, the first node sending the status information of the service or resource includes:
[0133] The first node receives a first request (or subscription request), where the first request is used to request subscription to status information of a specific service or resource;
[0134] The first node sends the status information of the specific service or resource according to the first request.
[0135] In one embodiment of the present disclosure, the service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric;
[0136] In an embodiment of the present disclosure, the status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0137] In this embodiment, the first node may send first information to the second node without a request from the second node, where the first information includes at least one of the following: service capability information, and status information of a service or resource.
[0138] 4 , an embodiment of the present disclosure provides a communication method, in which the execution subject may be a second node, for example, the second node may be a computing power routing ingress gateway (Ingress), and the specific steps include: Step 401 .
[0139] Step 401: The second node receives first information, where the first information includes at least one of the following: service capability information, and status information of a service or resource.
[0140] In one embodiment of the present disclosure, the method further comprises:
[0141] The second node generates routing forwarding information according to the service capability information.
[0142] Optionally, the routing forwarding information may be: full computing power routing forwarding information or optimal routing forwarding information, wherein the full computing power routing forwarding information maintains information of all instances corresponding to the computing power business, while the optimal computing power routing forwarding information maintains information of the optimal instance corresponding to the computing power business.
[0143] In one embodiment of the present disclosure, the second node receiving the first information includes:
[0144] The second node receives the first information via a BGP message of an IPv6 or IPv4 address cluster.
[0145] In another embodiment of the present disclosure, the second node receiving the first information includes:
[0146] The second node receives a first message sent by the first node through a BGP message of a newly defined address cluster, where the first message includes second information and the first information, where the second information is used to indicate a routing type.
[0147] In one embodiment of the present disclosure, when the second node receives the service capability information, the method further includes:
[0148] The second node receives status information of a service or a resource.
[0149] In one embodiment of the present disclosure, the second node receiving the status information of the service or resource includes:
[0150] The second node sends a first request, where the first request is used to request subscription to status information of a specific service or resource;
[0151] The second node receives the status information of the specific service or resource.
[0152] In an embodiment of the present disclosure, the service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric.
[0153] In an embodiment of the present disclosure, the status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0154] In this embodiment, the first node may send first information to the second node without a request from the second node, where the first information includes at least one of the following: service capability information, and status information of a service or resource.
[0155] 5 , an embodiment of the present disclosure provides a communication method, in which the execution subject may be a third node, for example, the third node may be a computing power routing ingress gateway (Ingress), and the specific steps include: Step 501 .
[0156] Step 501: The third node sends a second request to the fourth node, where the second request is used to subscribe to third information, where the third information includes at least one of the following: service capability information, and status information of a service or resource.
[0157] In one embodiment of the present disclosure, the method further comprises:
[0158] The third node receives the third information sent by the fourth node.
[0159] In one embodiment of the present disclosure, the third node receiving the third information sent by the fourth node includes:
[0160] The third node receives the third information sent by the fourth node through a BGP message of an IPv6 or IPv4 address cluster.
[0161] In another embodiment of the present disclosure, the third node receives a second message sent by the fourth node through a BGP message of a newly defined address cluster, where the second message includes fourth information and the third information, and the fourth information is used to indicate a routing type.
[0162] In one embodiment of the present disclosure, before the third node sends the second request, the method further includes:
[0163] The third node receives the service capability information sent by the fourth node.
[0164] In an embodiment of the present disclosure, the service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric.
[0165] In an embodiment of the present disclosure, the status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0166] In this embodiment, the third node can subscribe to the third information from the fourth node to meet the differentiated needs of users and better provide differentiated user services.
[0167] Referring to FIG. 6 , an embodiment of the present disclosure provides a communication method, in which the execution subject may be a fourth node, for example, the fourth node may be a computing power routing egress gateway (Egress), and the specific steps include: step 601 .
[0168] Step 601: A fourth node receives a second request from a third node, where the second request is used to subscribe to third information, where the third information includes at least one of the following: service capability information, and status information of a service or resource.
[0169] In one embodiment of the present disclosure, the method further comprises:
[0170] The fourth node sends the third information to the third node.
[0171] In one embodiment of the present disclosure, the fourth node sending the third information to the third node includes:
[0172] The fourth node sends the third information to the third node through a BGP message of an IPv6 or IPv4 address cluster;
[0173] In another embodiment of the present disclosure, the fourth node sends a second message to the third node via a BGP message of a newly defined address cluster, where the second message includes fourth information and the third information, and the fourth information is used to indicate a routing type.
[0174] In one embodiment of the present disclosure, before the fourth node receives the second request from the third node, the method further includes:
[0175] The fourth node sends service capability information.
[0176] In an embodiment of the present disclosure, the service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric.
[0177] In an embodiment of the present disclosure, the status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0178] In this embodiment, the third node can subscribe to the third information from the fourth node to meet the differentiated needs of users and better provide differentiated user services.
[0179] Two implementation methods of the present disclosure are described below in conjunction with Example 1 and Example 2.
[0180] Example 1: There is only one type of routing.
[0181] For low-frequency refresh services that are less sensitive to the refresh frequency of service capability information, in addition to computing power service attribute information, service capability information can be abstracted into a comprehensive service metric, similar to the network service cost. By publishing service metric information, the processing burden of equipment is reduced, computing power services can be quickly launched, and business needs can be met. See Figure 11. The specific workflow is as follows:
[0182] 1. The egress gateway (GW) obtains service capability information, advertises the service capability information through type 1 routing, and passes it to the ingress GW.
[0183] Based on its perception of computing power information, the Ingress GW generates a computing power routing information table (Routing Information Base, RIB) on the control plane. When the computing power routing ingress gateway receives the first packet of a service flow, the control plane triggers the generation of a computing power flow forwarding table to guide the forwarding of subsequent packets of the service flow.
[0184] 2. The client sends a data packet to the Ingress gateway, which maps the CS-ID based on the service capability information.
[0185] 3. The CATS Traffic Classifier (C-TC) component of the ingress gateway first classifies the traffic and searches the computing power flow forwarding table (for example, the forwarding information base (FIB) table) based on the traffic quintuple. If the computing power flow forwarding table exists, it directly obtains the egress GW address and the remote server address based on the computing power flow forwarding table record.
[0186] 4. If the computing power flow forwarding table does not exist, select the corresponding destination service node based on the computing power cost and generate the computing power flow forwarding table.
[0187] 5. Encapsulate the data message according to the existing IPv6 technology and send it to the Egress gateway after encapsulation.
[0188] The computing power RIB maintains information about instances corresponding to computing power services, including network parameters, computing power parameters, next hop (computing power routing gateway), service instance ID (BID), and other information. The full computing power RIB table maintains information about all instances corresponding to a service (see Figure 12). The optimal RIB table maintains information about the optimal instance corresponding to a service (see Figure 13).
[0189] The computing power flow forwarding table maintains the forwarding information corresponding to the computing power flow, including the x-tuple used to uniquely represent the flow, the business instance (BID), the outbound interface, the next hop (computing power routing egress gateway), the expiration time, and other information.
[0190] Example 2: Type 1 routing, type 2 routing, and type 3 routing work together.
[0191] Compared to Example 1, this embodiment targets very important computing power users, can perceive the business status and implement refined business scheduling. At the same time, it can subscribe to notifications on demand, reducing the notification overhead to a minimum. Referring to Figure 14, the specific workflow is as follows:
[0192] 1. The egress GW starts the service, advertises the service capability information through type 1 routing, and passes it to the ingress GW.
[0193] 2. The client sends a data packet to the Ingress gateway, which maps the CS-ID based on the service capability information.
[0194] 3. The C-TC component of the ingress gateway first classifies the traffic and searches the computing power flow forwarding table based on the traffic five-tuple. If the computing power flow forwarding table exists, it directly obtains the egress GW address and the remote server address based on the computing power flow forwarding table record.
[0195] 4. If the computing power flow forwarding table does not exist, send a type 2 route to the route reflector (RR) to subscribe to the metric information of this CS-ID;
[0196] 5. The C-SMA component in the Egress GW collects the computing service ID (CS-ID), server address (as CIS-ID), and service metrics through broadcast.
[0197] 6. The egress GW sends the CS-ID metric information to the RR and ingress GW via type 3 routing.
[0198] 7. The C-PS component selects a path based on the metric information of the CS-ID, choosing the path with the smallest network metric and service metric, and obtains the egress GW address and remote server address (CIS-ID).
[0199] 8. Encapsulate the data packet according to the existing IPv6 technology and send it to the egress gateway;
[0200] 9. The egress gateway decapsulates the packet and continues forwarding it to the server.
[0201] 15 , an embodiment of the present disclosure provides a communication device, which is applied to a first node. The first node may be a computing power routing egress gateway (Egress), and the device includes:
[0202] The first sending module 1501 is configured to send first information, where the first information includes at least one of the following: service capability information, and service or resource status information.
[0203] In one embodiment of the present disclosure, the first sending module 1501 is further configured to send the first information via a BGP message of an IPv6 or IPv4 address cluster.
[0204] In another embodiment of the present disclosure, the first sending module 1501 is further configured to send a first message via a BGP message of a newly defined address cluster, wherein the first message includes second information and the first information, and the second information is used to indicate a routing type.
[0205] In one embodiment of the present disclosure, the apparatus further comprises:
[0206] The second sending module is used to send status information of services or resources.
[0207] In an embodiment of the present disclosure, the first sending module 1501 is further configured to actively send the service capability information.
[0208] In one embodiment of the present disclosure, the first sending module 1501 is further configured to actively send status information of a service or resource.
[0209] In one embodiment of the present disclosure, the first sending module 1501 is further used to: receive a first request, where the first request is used to request subscription to status information of a specific service or resource; and send the status information of the specific service or resource according to the first request.
[0210] In one embodiment of the present disclosure, the service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric;
[0211] In an embodiment of the present disclosure, the status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0212] The device provided in the embodiment of the present disclosure can implement each process implemented by the method embodiment shown in Figure 3 and achieve the same technical effect. To avoid repetition, it will not be described here.
[0213] 16 , an embodiment of the present disclosure provides a communication device, which is applied to a second node. For example, the second node may be a computing power routing ingress gateway. The device 1600 includes:
[0214] The first receiving module 1601 is configured to receive first information, where the first information includes at least one of the following: service capability information, and service or resource status information.
[0215] In one embodiment of the present disclosure, the device further comprises:
[0216] The first processing module is configured to generate routing forwarding information according to the service capability information.
[0217] In one embodiment of the present disclosure, the first receiving module 1601 is further configured to: receive the first information via a BGP message of an IPv6 or IPv4 address cluster.
[0218] In another embodiment of the present disclosure, the first receiving module 1601 is further configured to:
[0219] A first message sent by a first node through a BGP message of a newly defined address cluster is received, where the first message includes: second information and the first information, where the second information is used to indicate a routing type.
[0220] In another embodiment of the present disclosure, the apparatus further comprises:
[0221] The second receiving module is used to receive status information of services or resources.
[0222] In another embodiment of the present disclosure, the second receiving module is further used to: send a first request, where the first request is used to request subscription to status information of a specific service or resource; and receive the status information of the specific service or resource.
[0223] In another embodiment of the present disclosure, the service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric.
[0224] In another embodiment of the present disclosure, the status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0225] The device provided in the embodiment of the present disclosure can implement each process implemented by the method embodiment shown in Figure 4 and achieve the same technical effect. To avoid repetition, it will not be described here.
[0226] 17 , an embodiment of the present disclosure provides a communication device, which is applied to a third node. For example, the third node may be a computing power routing ingress gateway. The device 1700 includes:
[0227] The second sending module 1701 is configured to send a second request to the fourth node, where the second request is used to subscribe to third information, where the third information includes at least one of the following: service capability information, and status information of a service or resource.
[0228] In one embodiment of the present disclosure, the device further comprises:
[0229] The third receiving module is configured to receive the third information sent by the fourth node.
[0230] In one embodiment of the present disclosure, the third receiving module is further configured to: receive the third information sent by the fourth node via a BGP message of an IPv6 or IPv4 address cluster.
[0231] In another embodiment of the present disclosure, the third receiving module is further used to: receive a second message sent by the fourth node through a BGP message of the newly defined address cluster, wherein the second message includes fourth information and the third information, and the fourth information is used to indicate a routing type.
[0232] In one embodiment of the present disclosure, the device further comprises:
[0233] The fourth receiving module is configured to receive the service capability information sent by the fourth node.
[0234] In an embodiment of the present disclosure, the service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric.
[0235] In an embodiment of the present disclosure, the status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0236] The device provided in the embodiment of the present disclosure can implement each process implemented by the method embodiment shown in Figure 5 and achieve the same technical effect. To avoid repetition, it will not be described here.
[0237] 18 , an embodiment of the present disclosure provides a communication device, which is applied to a fourth node. For example, the fourth node may be a computing power routing egress gateway (Egress). The device 1800 includes:
[0238] The fifth receiving module 1801 is configured to receive a second request from a third node, where the second request is used to subscribe to third information, and the third information includes at least one of the following: service capability information, and status information of a service or resource.
[0239] In one embodiment of the present disclosure, the device further comprises:
[0240] The third sending module is configured to send the third information to the third node.
[0241] In one embodiment of the present disclosure, the third sending module is further configured to: send the third information to the third node via a BGP message of an IPv6 or IPv4 address cluster;
[0242] In another embodiment of the present disclosure, the third sending module is further used to: send a second message to the third node via a BGP message of the newly defined address cluster, wherein the second message includes fourth information and the third information, and the fourth information is used to indicate a routing type.
[0243] In one embodiment of the present disclosure, the apparatus further comprises:
[0244] The fourth sending module is used to send service capability information.
[0245] In an embodiment of the present disclosure, the service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric.
[0246] In an embodiment of the present disclosure, the status information includes at least one of the following: load size, number of available service connections, and available resource size.
[0247] The device provided in the embodiment of the present disclosure can implement each process implemented by the method embodiment shown in Figure 6 and achieve the same technical effect. To avoid repetition, it will not be described here.
[0248] As shown in FIG19 , an embodiment of the present disclosure further provides a node device 1900, comprising a processor 1901, a memory 1902, and a program or instruction stored in the memory 1902 and executable on the processor 1901. When executed by the processor 1901, the program or instruction implements the various processes of the method embodiments of FIG3 , FIG4 , FIG5 , or FIG6 , and can achieve the same technical effects. To avoid repetition, these are not described here in detail.
[0249] An embodiment of the present disclosure also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the method embodiment shown in Figure 3 or Figure 4 or Figure 5 or Figure 6 are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0250] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk.
[0251] The steps of the method or algorithm described in conjunction with the present disclosure can be implemented in hardware or by executing software instructions on a processor. The software instructions can be composed of corresponding software modules, which can be stored in RAM, flash memory, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, read-only optical disks, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium can be carried in an application-specific integrated circuit (ASIC). In addition, the ASIC can be carried in a core network interface device. Of course, the processor and storage medium can also exist as discrete components in the core network interface device.
[0252] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in this disclosure can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0253] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the present disclosure in detail. It should be understood that the above description is only a specific implementation method of the present disclosure and is not intended to limit the scope of protection of the present disclosure. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present disclosure should be included in the scope of protection of the present disclosure.
[0254] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the embodiments of the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, compact disc read-only memory (CD-ROM), optical storage, etc.) containing computer-usable program code.
[0255] The present disclosure embodiments are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present disclosure embodiments. 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 produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0256] These computer program instructions may also be stored in a computer-readable memory that can direct 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 a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0257] 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, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0258] Obviously, those skilled in the art may make various changes and modifications to the embodiments of the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the embodiments of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include such modifications and variations.
Claims
1. A communication method, applied to a first node, the method comprising: The first node sends first information, where the first information includes at least one of the following: service capability information, and status information of a service or a resource.
2. The method according to claim 1, wherein: The first node sending the first information includes: The first node sends the first information via a Border Gateway Protocol BGP message of an IPv6 or IPv4 address cluster; or, The first node sends a first message via a BGP message of a newly defined address cluster, wherein the first message includes: second information and the first information, wherein the second information is used to indicate a routing type.
3. The method according to claim 1, wherein: In the case where the first node sends the service capability information, the method further includes: The first node sends status information of a service or a resource.
4. The method according to claim 3, wherein: The first node sending the service capability information includes: the first node actively sending the service capability information; or, The first node sending the service or resource status information includes: the first node actively sending the service or resource status information.
5. The method according to claim 3, wherein: The first node sends status information of a service or resource, including: The first node receives a first request, where the first request is used to request to subscribe to status information of a specific service or resource; The first node sends the status information of the specific service or resource according to the first request.
6. The method according to any one of claims 1 to 5, wherein: The service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric; and / or, The status information includes at least one of the following: load size, number of available service connections, and available resource size.
7. A communication method, applied to a second node, the method comprising: The second node receives first information, where the first information includes at least one of the following: service capability information, and status information of a service or a resource.
8. The method according to claim 7, further comprising: The second node generates routing forwarding information according to the service capability information.
9. The method according to claim 7, wherein: The second node receiving the first information includes: The second node receives the first information via a BGP message of an IPv6 or IPv4 address cluster; or, The second node receives a first message sent by the first node through a BGP message of a newly defined address cluster, where the first message includes: second information and the first information, where the second information is used to indicate a routing type.
10. The method according to claim 7, wherein: In the case where the second node receives the service capability information, the method further includes: The second node receives status information of a service or a resource.
11. The method according to claim 10, wherein: The second node receives status information of a service or a resource, including: The second node sends a first request, where the first request is used to request to subscribe to status information of a specific service or resource; The second node receives the status information of the specific service or resource.
12. The method according to claim 7, wherein: The service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric; and / or, The status information includes at least one of the following: load size, number of available service connections, and available resource size.
13. A communication method, applied to a third node, the method comprising: The third node sends a second request to the fourth node, where the second request is used to subscribe to third information, where the third information includes at least one of the following: service capability information, and status information of a service or resource.
14. The method according to claim 13, further comprising: The third node receives the third information sent by the fourth node.
15. The method according to claim 14, wherein: The third node receiving the third information sent by the fourth node includes: The third node receives the third information sent by the fourth node through a BGP message of an IPv6 or IPv4 address cluster; or, The third node receives a second message sent by the fourth node through a BGP message of a newly defined address cluster, where the second message includes fourth information and the third information, and the fourth information is used to indicate a routing type.
16. The method according to claim 13, wherein: Before the third node sends the second request, the method further includes: The third node receives the service capability information sent by the fourth node.
17. The method according to claim 13, wherein: The service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric; and / or, The status information includes at least one of the following: load size, number of available service connections, and available resource size.
18. A communication method, applied to a fourth node, the method comprising: The fourth node receives a second request from the third node, where the second request is used to subscribe to third information, where the third information includes at least one of the following: service capability information, and status information of a service or resource.
19. The method according to claim 18, further comprising: The fourth node sends the third information to the third node.
20. The method according to claim 19, wherein: The fourth node sending the third information to the third node includes: The fourth node sends the third information to the third node via a BGP message of an IPv6 or IPv4 address cluster; or, The fourth node sends a second message to the third node via a BGP message of a newly defined address cluster, where the second message includes fourth information and the third information, and the fourth information is used to indicate a routing type.
21. The method according to claim 18, wherein: Before the fourth node receives the second request from the third node, the method further includes: The fourth node sends service capability information.
22. The method according to claim 18, wherein: The service capability information includes at least one of the following: service identification, service domain name, service type, service energy consumption, service cost, and service metric; and / or, The status information includes at least one of the following: load size, number of available service connections, and available resource size.
23. A communication device, applied to a first node, the device comprising: The first sending module is used to send first information, where the first information includes at least one of the following: service capability information, and status information of a service or resource.
24. A communication device, applied to a second node, the device comprising: The first receiving module is used to receive first information, where the first information includes at least one of the following: service capability information, and status information of a service or resource.
25. A communication device, applied to a third node, the device comprising: The second sending module is used to send a second request to the fourth node, where the second request is used to subscribe to third information, and the third information includes at least one of the following: service capability information, and status information of a service or resource.
26. A communication device, applied to a fourth node, the device comprising: The fifth receiving module is used to receive a second request from a third node, where the second request is used to subscribe to third information, and the third information includes at least one of the following: service capability information, and status information of a service or resource.
27. A node device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method as claimed in any one of claims 1 to 22.
28. A readable storage medium storing a program or an instruction, wherein the program or the instruction is executed by a processor to implement the steps of the method according to any one of claims 1 to 22.
Citation Information
Patent Citations
Computing power resource scheduling method and device, electronic equipment and medium
CN114978978A
Computing power network state updating method and device, equipment and storage medium
CN116760704A
Computing power processing network system, and service processing method and device
WO2022028418A1
Task execution method and related device
WO2023160319A1
Routing method and system, and node
WO2023169374A1