Methods for providing computing power, methods for requesting computing power, tunnel endpoint equipment, and media

By transmitting computing power information between tunnel endpoint devices through the GRE protocol, the problem of computing power resource scheduling in the overlay network is solved, and the rationalization of computing power scheduling and resource saving in the GRE network are realized.

CN116708578BActive Publication Date: 2026-03-31CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-07
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Existing computing networks cannot schedule computing resources in overlay networks built using the GRE protocol, and the controller cannot automatically synchronize and schedule network information.

Method used

The GRE protocol is used to transmit computing power information, including computing power resource information, between tunnel endpoint devices to enable the provision and request of computing power services. The extended fields of the GRE protocol are used to carry computing power notifications and revocation notifications to dynamically adjust computing power routing.

Benefits of technology

It enables computing power scheduling in the GRE network, rationalizes the use of computing resources, saves network resources, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116708578B_ABST
    Figure CN116708578B_ABST
Patent Text Reader

Abstract

The disclosure provides a computing power providing method, a computing power requesting method, a tunnel endpoint device, a computing power system and a storage medium, wherein the computing power providing method comprises: a first tunnel endpoint device sends a general routing encapsulation (GRE) protocol computing power notification message to a second tunnel endpoint device, the information carried by the GRE protocol computing power notification message comprises computing power information, and the first tunnel endpoint device provides computing power service based on a computing power service request message sent by the second tunnel endpoint device. The disclosure transmits computing power information through a GRE protocol message, so that the tunnel endpoint device performs computing power scheduling according to the computing power information carried by the GRE protocol message, meets the computing power scheduling demand in the GRE network, determines the computing power routing according to the computing power information in the GRE network, realizes the rationalization of computing power scheduling, effectively saves network resources, and improves the use experience of users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a computing power provision method, a computing power request method, a tunnel endpoint device, a computing power system, and a storage medium. Background Technology

[0002] Underlay networks use IGP (Interior Gateway Protocol) routing information for service scheduling and management, which cannot achieve the same computing resource scheduling as overlay networks. Existing computing networks typically schedule computing resources based on traditional Layer 3 networks (underlay networks), which is not suitable for overlay networks built using the GRE (Generation Routing Encapsulation) protocol. Furthermore, existing computing networks usually employ a controller to orchestrate and schedule nodes, and the controller cannot automatically synchronize and schedule information based on network information, making it unsuitable for overlay networks built using the GRE protocol. Summary of the Invention

[0003] In view of this, one technical problem to be solved by the present invention is to provide a computing power provision method, a computing power request method, a tunnel endpoint device, a computing power system, and a storage medium.

[0004] According to a first aspect of this disclosure, a computing power provision method is provided, applied to a first tunnel endpoint device, comprising: sending a Generic Routing Encapsulation (GRE) protocol computing power notification message to a second tunnel endpoint device; wherein the GRE protocol computing power notification message carries information including computing power information; and providing computing power services based on a received computing power service request message sent by the second tunnel endpoint device.

[0005] Optionally, if the resource corresponding to the computing power information becomes unavailable or is migrated, a GRE protocol computing power revocation notification message is sent to the second tunnel endpoint device.

[0006] Optionally, the computing power information is the computing power information of a server connected to the first tunnel endpoint device; sending the GRE protocol computing power notification message to the second tunnel endpoint device includes: sending the GRE protocol computing power notification message to the second tunnel endpoint device when the server is started and connected to the first tunnel endpoint device.

[0007] Optionally, in the GRE tunnel established between the first tunnel endpoint device and the second tunnel endpoint device, the GRE protocol computing power notification message is sent to the second tunnel endpoint device.

[0008] Optionally, the computing power service request includes: a GRE protocol computing power service request message; receiving the GRE protocol computing power service request message sent by the second tunnel endpoint device in the GRE tunnel.

[0009] Optionally, sending the GRE protocol computing power revocation notification message to the second tunnel endpoint device includes: sending the GRE protocol computing power revocation notification message to the second tunnel endpoint device within the GRE tunnel.

[0010] Optionally, the computing power information is carried in the extended fields of the GRE header in the GRE protocol computing power notification message; and the revocation notification information is carried in the extended fields of the GRE header in the GRE protocol computing power revocation notification message.

[0011] Optionally, the computing power information includes information on at least one of the following resources: central processing unit resources, graphics processing unit resources, data processing unit resources, and memory resources.

[0012] Optionally, the GRE protocol includes: the IPv6 GRE protocol.

[0013] According to a second aspect of this disclosure, a computing power request method is provided, applied to a second tunnel endpoint device, comprising: receiving a GRE protocol computing power notification message sent by at least one first tunnel endpoint device; wherein the information carried by the GRE protocol computing power notification message includes computing power information; determining a computing power route based on the computing power information; and sending a GRE computing power service request message to a target first tunnel endpoint device according to the computing power route to request computing power services.

[0014] Optionally, upon receiving a GRE protocol computing power revocation notification message from the target first tunnel endpoint device and / or other first tunnel endpoint devices, a new computing power route is determined based on the computing power information.

[0015] Optionally, when the client starts up and connects to the second tunnel endpoint device, the computing power route is determined based on the computing power information.

[0016] Optionally, the GRE protocol computing power notification message sent by the first tunnel endpoint device in the GRE tunnel established between the first tunnel endpoint device and the second tunnel endpoint device is received.

[0017] Optionally, the target first tunnel endpoint device and / or other first tunnel endpoint devices may receive the GRE protocol computing power revocation notification message sent in the GRE tunnel.

[0018] Optionally, the computing power service request includes: a GRE protocol computing power service request message; sending the GRE computing power service request message to the target first tunnel endpoint device includes: sending the GRE computing power service request message to the target first tunnel endpoint device in the GRE tunnel between the target first tunnel endpoint device and the second tunnel endpoint device.

[0019] Optionally, the computing power information is carried in the extended fields of the GRE header in the GRE protocol computing power notification message; and the revocation notification information is carried in the extended fields of the GRE header in the GRE protocol computing power revocation notification message.

[0020] According to a third aspect of this disclosure, a first tunnel endpoint device is provided, comprising: a computing power notification module, configured to send a General Routing Encapsulation (GRE) protocol computing power notification message to a second tunnel endpoint device; wherein the GRE protocol computing power notification message carries information including computing power information; and a service providing module, configured to provide computing power services based on a received computing power service request message sent by the second tunnel endpoint device.

[0021] According to a fourth aspect of this disclosure, a first tunnel endpoint device is provided, comprising: a memory; and a processor coupled to the memory, the processor being configured to perform the computing power provision method as described above based on instructions stored in the memory.

[0022] According to a fifth aspect of this disclosure, a second tunnel endpoint device is provided, comprising: a computing power receiving module, configured to receive a GRE protocol computing power notification message sent by at least one first tunnel endpoint device; wherein the information carried by the GRE protocol computing power notification message includes computing power information; a target determination module, configured to determine a computing power route based on the computing power information; and a service request module, configured to send a GRE computing power service request message to the target first tunnel endpoint device according to the computing power route, in order to request computing power service.

[0023] According to a sixth aspect of this disclosure, a second tunnel endpoint device is provided, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute the computing power request method as described above based on instructions stored in the memory.

[0024] According to a seventh aspect of this disclosure, a computing power system is provided, comprising: a first tunnel endpoint device as described above, and a second tunnel endpoint device as described above.

[0025] According to an eighth aspect of this disclosure, a computer-readable storage medium is provided that stores computer instructions which are executed by a processor using the method described above.

[0026] The computing power provision method, computing power request method, tunnel endpoint device, computing power system, and storage medium disclosed herein transmit computing power information through GRE protocol messages, enabling the tunnel endpoint device to perform computing power scheduling based on the computing power information carried in the GRE protocol messages, thereby meeting the computing power scheduling requirements in the GRE network. By determining the computing power route based on the computing power information in the GRE network, the computing power scheduling is rationalized, effectively saving network resources and improving the user experience. Attached Figure Description

[0027] The above and other objects, features, and advantages of this disclosure will become more apparent from the more detailed description of the embodiments thereof in conjunction with the accompanying drawings. The accompanying drawings are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the embodiments of this disclosure to explain the disclosure and do not constitute a limitation thereof. The above and other objects and advantages of this disclosure will be further described below with reference to specific embodiments and the accompanying drawings. In the drawings, the same or corresponding technical features or components will be represented by the same or corresponding reference numerals.

[0028] Figure 1 A schematic flowchart illustrating one embodiment of the computing power provision method according to this disclosure;

[0029] Figure 2 A diagram illustrating reserved fields in a GRE protocol message;

[0030] Figure 3 A schematic diagram illustrating the process of providing computing power services from the first tunnel endpoint device to the second tunnel endpoint device;

[0031] Figure 4 This is a flowchart illustrating an embodiment of the computing power request method according to the present disclosure;

[0032] Figure 5 A schematic diagram of the routing selection for the second tunnel endpoint device;

[0033] Figure 6 This is a schematic diagram of a module of an embodiment of a first tunnel endpoint device according to the present disclosure;

[0034] Figure 7 This is a schematic diagram of a module according to another embodiment of the first tunnel endpoint device according to the present disclosure;

[0035] Figure 8 This is a schematic diagram of a module of one embodiment of the second tunnel endpoint device according to the present disclosure;

[0036] Figure 9 This is a schematic diagram of a module according to another embodiment of the second tunnel endpoint device according to the present disclosure;

[0037] Figure 10 This is a schematic diagram of a module according to an embodiment of a computing power network based on the present disclosure. Detailed Implementation

[0038] Exemplary embodiments of the present disclosure will be described below with reference to the accompanying drawings. For clarity and brevity, not all features of the embodiments are described in the specification. However, it should be understood that many implementation-specific settings must be made in carrying out the embodiments to achieve the developer's specific goals, such as complying with constraints related to the device and business, and these constraints may vary depending on the implementation. Furthermore, it should be understood that while development work can be very complex and time-consuming, such development work is merely a routine task for those skilled in the art who benefit from the present disclosure.

[0039] It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps set forth in these embodiments do not limit the scope of this disclosure.

[0040] Those skilled in the art will understand that the terms "first," "second," etc., in the embodiments of this disclosure are only used to distinguish different steps, devices, or modules, and do not represent any specific technical meaning, nor do they indicate a necessary logical order between them.

[0041] It should also be understood that in the embodiments disclosed herein, "a plurality of" may refer to two or more, and "at least one" may refer to one, two or more.

[0042] It should also be understood that any component, data or structure mentioned in the embodiments of this disclosure can generally be understood as one or more unless expressly defined or given to the contrary in the context.

[0043] Furthermore, the term "and / or" in this disclosure is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this disclosure generally indicates that the preceding and following related objects have an "or" relationship.

[0044] It should also be understood that the description of the various embodiments in this disclosure emphasizes the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, they will not be described in detail.

[0045] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.

[0046] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.

[0047] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.

[0048] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0049] Furthermore, to avoid obscuring this disclosure with unnecessary detail, only processing steps and / or apparatus structures closely related to at least the solutions according to this disclosure are shown in the accompanying drawings, while other details not closely related to this disclosure are omitted. It should also be noted that similar reference numerals and letters in the drawings indicate similar items, and therefore once an item is defined in one drawing, it need not be discussed again in subsequent drawings.

[0050] In the related technologies known to the inventors, an Underlay network is a physical network responsible for transmitting data packets, composed of devices such as switches and routers, and driven by protocols such as Ethernet, routing protocols, and VLANs. All network components within an Underlay network must determine IP connections using routing protocols such as IGP. An Overlay network is a logical network that establishes connections on top of the physical infrastructure using network virtualization, achieving separation of the control plane and the forwarding plane.

[0051] Underlay networks use routing protocols for service scheduling and management, making it impossible to schedule computing resources like those in overlay networks. GRE (Generic Data Environment) is a protocol for traversing networks, encapsulating data packets from one network protocol within data packets from another for transmission between different networks. GRE consists of a header and a payload; the header stores information about the data packet, and the payload stores the data to be transmitted. GRE can be used to build Virtual Private Networks (VPNs) to improve network security. GRE uses IP as its transport layer protocol, encapsulating other network layer protocols on top of IP to enable communication between different network layers.

[0052] Existing computing power networks typically schedule computing resources based on traditional three-layer networks (Underlay), which is not suitable for overlay networks using the GRE protocol (GRE network). Furthermore, existing computing power networks usually employ a controller to orchestrate and schedule nodes; this controller cannot automatically synchronize and schedule information based on network information, making it unsuitable for GRE networks. Therefore, this disclosure proposes a technical solution for computing power processing based on the GRE protocol in overlay networks.

[0053] Figure 1 This is a flowchart illustrating an embodiment of the computing power provision method according to the present disclosure, which is applied to a first tunnel endpoint device, such as... Figure 1 As shown:

[0054] Step 101: Send a GRE protocol computing power notification message to the second tunnel endpoint device; wherein, the GRE protocol computing power notification message carries computing power information.

[0055] In one embodiment, a tunnel endpoint device is deployed in a GRE network (a GRE network being an overlay network using the GRE protocol) to perform packet encapsulation and decapsulation. One or more tunnels can be established between the first tunnel endpoint device and the second tunnel endpoint device. The GRE protocol computing power notification message sent by the first tunnel endpoint device to the second tunnel endpoint device is a computing power notification message encapsulated using the GRE protocol and sent within the GRE tunnel. The GRE protocol can be IPv6 GRE, etc. The IPv6 GRE protocol can encapsulate different network layer protocols within the IPv6 protocol, enabling communication between different network layers. Encapsulating the computing power notification message using the IPv6 GRE protocol allows the encapsulated GRE protocol computing power notification message to be transmitted within the IPv6 network.

[0056] Computing power information includes information about computing resources, which include at least one of the following: Central Processing Unit (CPU) resources, Graphics Processing Unit (GPU) resources, Data Processing Unit (DPU) resources, and memory resources. The computing power information carried in the GRE protocol computing power notification message includes information about CPU resources, GPU resources, DPU resources, and memory resources. For example, CPU resource information includes information such as the CPU frequency.

[0057] Step 102: Provide computing power services based on the received computing power service request message sent by the second tunnel endpoint device.

[0058] In one embodiment, the first tunnel endpoint device uses various existing methods to provide computing power services to devices connected to the second tunnel endpoint device, enabling these devices to utilize resources such as servers connected to the first tunnel endpoint device. Upon receiving a computing power service request message from the second tunnel endpoint device, the first tunnel endpoint device determines the computing power services required by the second tunnel endpoint device based on the request message.

[0059] For example, a computing power service request might be a request to perform facial recognition on an image. The request message carries the image, a facial recognition request code, and the IP address of the device connected to the second tunnel endpoint device. Upon receiving the computing power service request, the first tunnel endpoint device sends the image to resources such as a server connected to it for facial analysis.

[0060] The first tunnel endpoint device returns the face recognition result to the second tunnel endpoint device based on computing power routing. The second tunnel endpoint device then returns the recognition result to the devices connected to it. The face recognition result includes the face recognition result and the IP address of the device connected to the second tunnel endpoint device. Computing power routing is the data forwarding route determined by the second tunnel endpoint device when selecting a path, taking into account computing power information, and then sends it to the first tunnel endpoint device.

[0061] The computing power provision method in the above embodiments transmits computing power information through GRE protocol messages, enabling tunnel endpoint devices to perform computing power scheduling based on the computing power information carried in the GRE protocol messages, thereby meeting the computing power scheduling requirements in the GRE network.

[0062] In one embodiment, the computing power information is the computing power information of a server connected to the first tunnel endpoint device. When the server starts up and connects to the first tunnel endpoint device, a GRE protocol computing power notification message is sent to the second tunnel endpoint device. For example, in a GRE tunnel between the first and second tunnel endpoint devices, the first tunnel endpoint device sends a GRE protocol computing power notification message to the second tunnel endpoint device.

[0063] GRE can be used as a Layer 3 tunneling protocol for VPNs, providing a transparent transmission channel for VPN data. The GRE protocol provides a mechanism for encapsulating packets for protocols such as IPv6, enabling packets to be transmitted across heterogeneous networks. The channel for heterogeneous packet transmission is called a tunnel. A tunnel is a virtual point-to-point connection. Encapsulated data packets can be transmitted within the tunnel, and packets are encapsulated and decapsulated at both ends of the tunnel.

[0064] The system can assign an interface number to the GRE tunnel and send information such as the source address, destination address, and interface number to the first tunnel endpoint device and the second tunnel endpoint device. The first tunnel endpoint device and the second tunnel endpoint device can use various existing methods to establish a GRE tunnel between the first tunnel endpoint device and the second tunnel endpoint device. The GRE tunnel can be an IPv6 GRE tunnel, etc.

[0065] In one embodiment, the first tunnel endpoint device receives a GRE protocol computing power service request message sent by the second tunnel endpoint device within the GRE tunnel. The computing power service request message can be various types of request messages. For example, it may include a GRE protocol computing power service request message, which is a computing power service request message encapsulated using the GRE protocol. The computing power service request message can be various IP messages, carrying information including computing power request information and the IP address of the device connected to the second tunnel endpoint device. The computing power request information may include facial recognition information, etc.

[0066] If the resources corresponding to the computing power information become unavailable or are migrated, the first tunnel endpoint device sends a GRE protocol computing power revocation notification message to the second tunnel endpoint device. Situations where the resources corresponding to the computing power information become unavailable or are migrated include server downtime or migration of the server providing the computing power service. The computing power revocation notification message carries information such as service termination information. The GRE protocol computing power notification message sent by the first tunnel endpoint device to the second tunnel endpoint device is a computing power revocation notification message encapsulated using the GRE protocol. For example, in a GRE tunnel, a GRE protocol computing power revocation notification message is sent to the second tunnel endpoint device.

[0067] In one embodiment, computing power information can be carried in the extended fields of the GRE header in the GRE protocol computing power notification message; and revocation notification information can be carried in the extended fields of the GRE header in the GRE protocol computing power revocation notification message.

[0068] Computing power information is transmitted through extended GRE protocol fields, including information on CPU resources, GPU resources, DPU resources, memory resources, etc. When selecting a route at the second tunnel endpoint device, the computing power information sent by the first tunnel endpoint device is used as one of the reference bases for determining the route (computing power routing).

[0069] The reserved fields in GRE packets are defined and extended to generate extended fields without changing the original packet structure. These extended fields are used for advertising computing power information. A GRE packet consists of a header and a payload, with the header including the GRE header itself. When the system receives data from a network layer protocol (such as IPv4 or IPv6) that requires encapsulation and routing, it adds a GRE header to the data, making it a GRE packet, and then encapsulates it within another protocol (such as IPv4 or IPv6). Forwarding this packet can then be entirely handled by the IP protocol.

[0070] The format of the GRE message header is as follows: Figure 2 As shown, C is the checksum verification bit, Reserved0 is a reserved field, Ver is the version field, Protocol Type is the message protocol before encapsulation, and Checksum is the checksum field for the GRE message header and its payload. Reserved1 is a reserved field, which has been redefined as an extended field for the announcement of computing power information.

[0071] For example, Reserved1 can define fields for CPU resources, GPU resources, DPU resources, and memory resources, each field consisting of 4 bits, used to carry information about CPU resources, GPU resources, DPU resources, and memory resources, respectively. Reserved1 can also be redefined as an extended field for announcing revocation notifications. For instance, the first 6 bits of Reserved1 can be used as a revocation notification field. If the revocation notification information carried through this field is "111111", then this message is identified as a GRE protocol computing power revocation notification message.

[0072] Figure 3 A schematic diagram illustrating the process of providing computing power services from the first tunnel endpoint device to the second tunnel endpoint device, as shown below. Figure 3 As shown:

[0073] Step 301: Establish a GRE tunnel between the first tunnel endpoint device and the second tunnel endpoint device.

[0074] The first and second tunnel endpoint devices can establish a GRE tunnel using various existing methods based on the GRE protocol. For example, the first and second tunnel endpoint devices can establish a GRE tunnel based on configuration information (system-assigned source address, destination address, and interface number, etc.) and the GRE protocol. The GRE tunnel can be an IPv6 GRE tunnel, etc.

[0075] Step 302: When the server is started (online) and connected to the first tunnel endpoint device, the server reports computing power information to the first tunnel endpoint.

[0076] Step 303: Based on the computing power information reported by the server, the first tunnel endpoint device generates a GRE protocol computing power notification message and sends it to the second tunnel endpoint device in the GRE tunnel. The GRE protocol computing power notification message carries the computing power information reported by the server.

[0077] Step 304: The client starts up (goes online) and connects to the second tunnel endpoint device. The client can be various user devices.

[0078] Step 305: When the client starts up (goes online) and connects to the second tunnel endpoint device, the second tunnel endpoint device determines the computing power route based on the computing power information. This computing power route includes the client IP address, as well as the address information of the target first tunnel endpoint device and the second tunnel endpoint device. The second tunnel endpoint device encapsulates this computing power route information using the GRE protocol and sends it to the first tunnel endpoint device.

[0079] Step 306: The second tunnel endpoint device sends a GRE computing power service request message to the first tunnel endpoint device (target first tunnel endpoint device) according to the computing power routing to request computing power services. Based on the received computing power service request message sent by the second tunnel endpoint device, the first tunnel endpoint device provides computing power services through the server and returns the computing power service results to the client through the second tunnel endpoint device according to the computing power routing.

[0080] Step 307: When the computing power service provided by the first tunnel endpoint device becomes unavailable or is migrated, the first tunnel endpoint device sends a GRE protocol computing power revocation notification message to the second tunnel endpoint device; upon receiving the GRE protocol computing power revocation notification message, the second tunnel endpoint device determines a new computing power route based on the computing power information.

[0081] Figure 4 This is a flowchart illustrating an embodiment of the computing power request method according to the present disclosure. The computing power request method is applied to a second tunnel endpoint device, such as... Figure 4 As shown:

[0082] Step 401: Receive a GRE protocol computing power notification message sent by at least one first tunnel endpoint device; wherein the GRE protocol computing power notification message carries computing power information. For example, receive a GRE protocol computing power notification message sent by the first tunnel endpoint device in the GRE tunnel between the first tunnel endpoint device and the second tunnel endpoint device.

[0083] Step 402: Determine the computing power route based on computing power information.

[0084] In one embodiment, the second tunnel endpoint device can establish GRE tunnels with multiple first tunnel endpoint devices and receive GRE protocol computing power notification messages sent by the multiple first tunnel endpoint devices. When performing routing, the second tunnel endpoint device can use computing power routing as a basis in addition to existing routing selection. When determining computing power routing, computing power information is used as a reference condition for determining computing power routing.

[0085] The computing power routing determination rules can be varied. They can be based on information about at least one of the following resources sent by multiple first tunnel endpoint devices: CPU resources, GPU resources, DPU resources, and memory resources. From among the multiple accessible first tunnel endpoint devices, a target first tunnel endpoint device can be selected, and a computing power route corresponding to the target first tunnel endpoint device can be generated. For example, the maximum CPU frequency can be determined from among the CPU frequencies sent by the multiple accessible first tunnel endpoint devices. The first tunnel endpoint device corresponding to this maximum CPU frequency can be used as the target first tunnel endpoint device, and a computing power route can be generated between the client and the target first tunnel endpoint device. The computing power route includes the client's IP address, as well as the addresses of the target first tunnel endpoint device and the second tunnel endpoint device, among other information.

[0086] Step 403: Send a GRE computing power service request message to the target first tunnel endpoint device according to the computing power route to request computing power service.

[0087] In one embodiment, the computing power service request includes a GRE protocol computing power service request message, etc. For example, in a GRE tunnel between a target first tunnel endpoint device and a second tunnel endpoint device, a GRE computing power service request message is sent to the target first tunnel endpoint device.

[0088] When the client starts up and connects to the second tunnel endpoint device, a computing power route is determined based on computing power information. A GRE protocol computing power revocation notification message is received from the target first tunnel endpoint device and / or other first tunnel endpoint devices within the GRE tunnel between the target first tunnel endpoint device and / or other first tunnel endpoint devices and the second tunnel endpoint device. Upon receiving the GRE protocol computing power revocation notification message from the target first tunnel endpoint device and / or other first tunnel endpoint devices, a new computing power route is determined based on the computing power information.

[0089] When selecting a path, the second tunnel endpoint device adds a metric for computing power routing. When accessing the same service, it prioritizes the path with higher computing power. For example, it can determine the size of at least one of the CPU, GPU, DPU, and memory resources carried in the GRE protocol information, and select a path based on the determination result to achieve GRE forwarding based on computing power resources.

[0090] like Figure 5 As shown, the second tunnel endpoint device 43 establishes GRE tunnels with the first tunnel endpoint devices 41 and 42, which provide service A, respectively. It receives GRE protocol computing power notification messages from the first tunnel endpoint devices 41 and 42, and obtains computing power information of the servers connected to the first tunnel endpoint devices 41 and 42 from these messages. This computing power information includes at least one of the following resource information: CPU resources, GPU resources, DPU resources, and memory resources. For example, when selecting a path for service A, the second tunnel endpoint device 43 can select a path based on CPU frequency, prioritizing the path with higher computing power. In other words, it selects the first tunnel endpoint device 42, which has a higher CPU frequency, as the target first tunnel endpoint device.

[0091] The computing power provision method and computing power request method disclosed herein transmit computing power information through GRE protocol messages, enabling tunnel endpoint devices to perform computing power scheduling based on the computing power information carried in the GRE protocol messages, thereby meeting the computing power scheduling requirements in the GRE network; by determining computing power routes based on computing power information in the GRE network, the rationalization of computing power scheduling is achieved, effectively saving network resources.

[0092] In one embodiment, such as Figure 6 As shown, this disclosure provides a first tunnel endpoint device 60, including a computing power notification module 61 and a service provision module 62. The computing power notification module 61 sends a Generic Routing Encapsulation (GRE) protocol computing power notification message to a second tunnel endpoint device. The GRE protocol computing power notification message carries computing power information. The service provision module 62 provides computing power services based on the received computing power service request message sent by the second tunnel endpoint device.

[0093] In one embodiment, the computing power information is the computing power information of the server connected to the first tunnel endpoint device. When the server starts up and connects to the first tunnel endpoint device, the computing power notification module 61 sends a GRE protocol computing power notification message to the second tunnel endpoint device. The computing power notification module 61 sends the GRE protocol computing power notification message to the second tunnel endpoint device within the GRE tunnel between the first and second tunnel endpoint devices.

[0094] In one embodiment, the computing power service request includes a GRE protocol computing power service request message; the service providing module 62 receives the GRE protocol computing power service request message sent by the second tunnel endpoint device in the GRE tunnel. If the resource corresponding to the computing power information becomes unavailable or is migrated, the service providing module 62 sends a GRE protocol computing power revocation notification message to the second tunnel endpoint device. The service providing module 62 can send the GRE protocol computing power revocation notification message to the second tunnel endpoint device within the GRE tunnel.

[0095] In one embodiment, such as Figure 7 As shown, the first tunnel endpoint device may include a memory 71, a processor 72, a communication interface 73, and a bus 74. The memory 71 is used to store instructions, and the processor 72 is coupled to the memory 71. The processor 72 is configured to execute the computing power provision method of any of the above embodiments based on the instructions stored in the memory 71.

[0096] The memory 71 can be high-speed RAM, non-volatile memory, or a memory array. The memory 71 may also be divided into blocks, and these blocks can be combined into virtual volumes according to certain rules. The processor 72 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the computing power provisioning method of any embodiment.

[0097] In one embodiment, such as Figure 8 As shown, this disclosure provides a second tunnel endpoint device 80, including a computing power receiving module 81, a target determination module 82, and a service request module 83. The computing power receiving module 81 receives GRE protocol computing power notification messages sent by at least one first tunnel endpoint device; wherein the GRE protocol computing power notification message carries information including computing power information. The target determination module 82 determines a computing power route based on the computing power information, and the service request module 83 sends a GRE computing power service request message to the target first tunnel endpoint device according to the computing power route to request computing power services.

[0098] In one embodiment, the computing power receiving module 81 receives a GRE protocol computing power notification message sent by the first tunnel endpoint device in the GRE tunnel between the first tunnel endpoint device and the second tunnel endpoint device. The computing power service request includes a GRE protocol computing power service request message, and the service request module 83 sends the GRE computing power service request message to the target first tunnel endpoint device in the GRE tunnel between the target first tunnel endpoint device and the target second tunnel endpoint device.

[0099] When the client starts up and connects to the second tunnel endpoint device, the target determination module 82 determines the computing power route based on the computing power information. When the target determination module 82 receives a GRE protocol computing power cancellation notification message sent by the target first tunnel endpoint device and / or other first tunnel endpoint devices, it determines a new computing power route based on the computing power information.

[0100] In one embodiment, such as Figure 9 As shown, the first tunnel endpoint device may include a memory 91, a processor 92, a communication interface 93, and a bus 94. The memory 91 is used to store instructions, and the processor 92 is coupled to the memory 91. The processor 92 is configured to execute the computing power request method of any of the above embodiments based on the instructions stored in the memory 91.

[0101] The memory 91 can be a high-speed RAM, non-volatile memory, or a memory array. The memory 91 may also be divided into blocks, and these blocks can be combined into virtual volumes according to certain rules. The processor 92 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the computing power request method of any of the above embodiments.

[0102] In one embodiment, such as Figure 10 As shown, this disclosure provides a computing power system, including: a first tunnel endpoint device 1001 as described in any of the above embodiments, and a second tunnel endpoint device 1002 as described in any of the above embodiments. The first tunnel endpoint device 1001 is connected to a server 1003, which provides computing power. The second tunnel endpoint device 1002 is connected to a client 1004, which requests computing power.

[0103] In one embodiment, this disclosure provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the method as described in any of the above embodiments.

[0104] Computer-readable storage media may take the form of any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples (not an exhaustive list) of readable storage media may include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0105] Embodiments of this disclosure may also be computer program products, including computer program instructions that, when executed by a processor, cause the processor to perform the steps in the methods according to various embodiments of this disclosure described in the "Exemplary Methods" section above.

[0106] The computing power provision method, computing power request method, tunnel endpoint device, computing power system, and storage medium in the above embodiments include: a first tunnel endpoint device sending a GRE protocol computing power notification message (GRE protocol encapsulated) to a second tunnel endpoint device, the GRE protocol computing power notification message carrying computing power information; the first tunnel endpoint device providing computing power services based on the computing power service request messages sent by the second tunnel endpoint device; transmitting computing power information through GRE protocol messages, enabling the tunnel endpoint device to perform computing power scheduling according to the computing power information carried in the GRE protocol messages, meeting the computing power scheduling requirements in the GRE network; and determining computing power routes based on computing power information in the GRE network, thereby achieving rationalization of computing power scheduling, effectively saving network resources, and improving the user experience.

[0107] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.

[0108] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For system embodiments, since they largely correspond to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0109] The block diagrams of devices, apparatuses, devices, and systems disclosed herein are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0110] It should also be noted that in the apparatus, devices, and methods of this disclosure, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered as equivalent solutions to this disclosure.

[0111] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.

[0112] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will understand that the above embodiments are merely examples and can be combined, modified, or substituted without departing from the scope and spirit of this disclosure.

Claims

1. A computing power providing method applied to a first tunnel endpoint device, characterized in that, The method comprises: sending a general routing encapsulation (GRE) protocol computing power notification message to a second tunnel endpoint device; wherein the information carried in the GRE protocol computing power notification message comprises computing power information; in the GRE protocol computing power notification message, the computing power information is carried through an extension field in a GRE packet header; based on the received computing power service request message sent by the second tunnel endpoint device, providing computing power service; in the case where resources corresponding to the computing power information become unavailable or are migrated, sending a GRE protocol computing power revocation notification message to the second tunnel endpoint device; wherein in the GRE protocol computing power revocation notification message, revocation notification information is carried through an extension field in a GRE packet header; a reserved field (Reserved1) of the GRE packet header is the extension field.

2. The method of claim 1, wherein, The computing power information is computing power information of a server connected to the first tunnel endpoint device. The method comprises: in the case where the server is started and connected to the first tunnel endpoint device, sending the GRE protocol computing power notification message to the second tunnel endpoint device.

3. The method of claim 1, wherein the GRE protocol computing power notification message is sent to the second tunnel endpoint device in a GRE tunnel established between the first tunnel endpoint device and the second tunnel endpoint device.

4. The method of claim 3, wherein, The computing power service request comprises a GRE protocol computing power service request message. The GRE protocol computing power service request message sent by the second tunnel endpoint device in the GRE tunnel is received.

5. The method of claim 3, wherein, The method comprises: the GRE protocol computing power revocation notification message is sent to the second tunnel endpoint device in the GRE tunnel.

6. The method of claim 1, wherein the computing power information comprises information of at least one of a central processing unit resource, a graphics processing unit resource, a processor dispersion processing unit resource, and a memory resource.

7. The method of claim 1, wherein the GRE protocol comprises an IPV6 GRE protocol.

8. A computing power request method, applied to a second tunnel endpoint device, characterized in that, The method comprises: receiving a GRE protocol computing power notification message sent by at least one first tunnel endpoint device; wherein the information carried in the GRE protocol computing power notification message comprises computing power information; in the GRE protocol computing power notification message, the computing power information is carried through an extension field in a GRE packet header; determining a computing power route based on the computing power information; sending a GRE computing power service request message to a target first tunnel endpoint device to request computing power service according to the computing power route; in the case where a GRE protocol computing power revocation notification message sent by the target first tunnel endpoint device and / or other first tunnel endpoint devices is received, determining a new computing power route based on the computing power information; wherein in the GRE protocol computing power revocation notification message, revocation notification information is carried through an extension field in a GRE packet header; a reserved field (Reserved1) of the GRE packet header is the extension field.

9. The method of claim 8, wherein, Also comprising: In the case of starting a client and connecting with the second tunnel endpoint device, determining the computing power routing based on the computing power information.

10. The method of claim 8, wherein, Receiving the GRE protocol computing power notification message sent by the first tunnel endpoint device in the GRE tunnel established between the first tunnel endpoint device and the second tunnel endpoint device.

11. The method of claim 10, wherein, Receiving the GRE protocol computing power revocation notification message sent by the target first tunnel endpoint device and / or other first tunnel endpoint device in the GRE tunnel.

12. The method of claim 8, wherein, The computing power service request includes: a GRE protocol computing power service request message; the sending of the GRE computing power service request message to the target first tunnel endpoint device includes: In the GRE tunnel between the target first tunnel endpoint device and the second tunnel endpoint device, sending a GRE computing power service request message to the target first tunnel endpoint device.

13. A first tunnel endpoint device, comprising: Comprising: The computing power notification module is configured to send a general routing encapsulation (GRE) protocol computing power notification message to a second tunnel endpoint device, wherein the information carried by the GRE protocol computing power notification message includes computing power information, and the computing power information is carried in the GRE protocol computing power notification message through an extension field in a GRE packet header. The service providing module is configured to provide computing power services based on the received computing power service request message sent by the second tunnel endpoint device. The service providing module is configured to send a GRE protocol computing power revocation notification message to the second tunnel endpoint device in the case that the resources corresponding to the computing power information become unavailable or are migrated, wherein the revocation notification information is carried in the GRE protocol computing power revocation notification message through an extension field in a GRE packet header, and a reserved field (Reserved1) of the GRE packet header is the extension field.

14. A first tunnel endpoint device, comprising: Comprising: A memory; and a processor coupled to the memory, the processor being configured to execute the method of any one of claims 1 to 7 based on instructions stored in the memory.

15. A second tunnel endpoint device, comprising: Comprising: The computing power receiving module is configured to receive a GRE protocol computing power notification message sent by at least one first tunnel endpoint device, wherein the information carried by the GRE protocol computing power notification message includes computing power information. The target determination module is configured to determine the computing power routing based on the computing power information. The service request module is configured to send a GRE computing power service request message to a target first tunnel endpoint device according to the computing power routing, so as to request computing power services. The target determination module is configured to determine a new computing power routing based on the computing power information in the case of receiving a GRE protocol computing power revocation notification message sent by the target first tunnel endpoint device and / or other first tunnel endpoint device, wherein the revocation notification information is carried in the GRE protocol computing power revocation notification message through an extension field in a GRE packet header, and a reserved field (Reserved1) of the GRE packet header is the extension field.

16. A second tunnel endpoint device, comprising: Comprising: A memory; and a processor coupled to the memory, the processor configured to perform the method of any of claims 8 to 12 based on instructions stored in the memory.

17. A computing power system, characterized by, comprising: the first tunnel endpoint device of claim 13 or 14, the second tunnel endpoint device of claim 15 or 16.

18. A computer-readable storage medium, characterized in that, the computer readable storage medium stores computer instructions, the instructions being executed by a processor to perform the method of any of claims 1 to 12.

Citation Information

Patent Citations

  • All-wireless peer-to-peer edge computing power network method and device

    CN114760652A

  • Computing power service method and device

    CN114885308A