Information reporting method and device, equipment, storage medium and program product
By sending priority indication information to the computing power service node at the exit gateway and determining priority according to the node parameters, the network equipment processing pressure problem caused by excessive information reporting by the computing power service node is solved, and the effect of reducing the amount of information and reducing the processing pressure is achieved.
Patent Information
- Application Number
- CN202411943611.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2044-12-26
AI Technical Summary
As the number of computing power service nodes increases, the network information reported to network equipment by computing power service nodes increases, resulting in an increase in pressure on network equipment to process network information.
By sending instructions to the computing power service node at the exit gateway, indicating its priority, and determining the priority based on the node parameters and weights, the amount of computing power information that the computing power service node needs to report is determined.
This reduces the total amount of computing power information that processing nodes need to process, reduces the processing pressure of network equipment, and improves service quality.
Smart Images

Figure CN119854387A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an information reporting method, device, equipment, storage medium and program product. Background Art
[0002] The computing power routing path selector is used to obtain network information such as the network link status information of each network node (such as a router) in the network and the computing power information of each computing power service node (such as a server) when receiving a service request from a user, perform path calculation, and determine the target computing power service node, so as to transmit the service request to the target computing power service node for processing according to the calculated path. Currently, the computing power routing path selector can be integrated into a network device (also called a computing power selection device or a processing node, such as an entry gateway or a centralized controller, etc.), and the network information sent by each computing power service node is received through the network device, so as to process the network information sent by each computing power service node through the network device.
[0003] However, as the scale of computing power services increases, the number of computing power service nodes increases, and the network information reported by computing power service nodes to network devices increases accordingly, resulting in increased pressure on network devices to process network information. How to reduce the pressure on network devices to process network information has become an urgent problem to be solved. Summary of the invention
[0004] The present application provides an information reporting method, apparatus, equipment, storage medium and program product, which are used to solve the technical problem that as the number of computing power service nodes increases, the amount of network information reported to network devices by computing power service nodes increases accordingly, resulting in increased pressure on network devices to process network information.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, an information reporting method is provided, which is applied to an export gateway; the method includes: sending indication information to at least one computing power service node; the indication information is used to indicate the priority of the corresponding computing power service node; receiving computing power information from at least one computing power service node, and sending computing power information of at least one computing power service node to a processing node; the computing power information of a computing power service node is computing power information determined based on the priority of a computing power service node.
[0007] In one possible implementation, before sending indication information to at least one computing power service node, the method also includes: obtaining node parameters of at least one computing power service node; the node parameters include at least one of the following: the distance between the egress gateway and the ingress gateway; or performance parameters; the ingress gateway is a gateway that receives computing power service requests; the egress gateway is a gateway connected to the computing power service node; based on the node parameters of at least one computing power service node, determining the priority of at least one computing power service node.
[0008] In one possible implementation, the priority of at least one computing power service node is determined based on the node parameters of at least one computing power service node, including: determining the priority of a computing power service node based on the node parameters of a computing power service node and the weights corresponding to the node parameters.
[0009] In a possible implementation, the priority of a computing power service node is determined based on the node parameters of a computing power service node and the weights corresponding to the node parameters, including: obtaining the first scores corresponding to the node parameters of a computing power service node; the first score is negatively correlated with the distance; the first score is positively correlated with the performance parameter; multiplying the first scores corresponding to the node parameters by the weights corresponding to the node parameters to obtain the products corresponding to the node parameters; adding the products corresponding to the node parameters to obtain the second score of the computing power service node; determining the priority of a computing power service node based on the second score of the computing power service node; the priority is positively correlated with the second score.
[0010] In one possible implementation, the method also includes: obtaining target parameters of at least one computing power service node; the target parameters include at least one of the following: task processing speed, or computing power resource idle rate; based on the target parameters of a computing power service node, and the weights corresponding to each target parameter, determining the performance parameters of a computing power service node.
[0011] In one possible implementation, based on the target parameters of a computing power service node and the weights corresponding to the target parameters, the performance parameters of a computing power service node are determined, including: multiplying the target parameters of a computing power service node by the weights corresponding to the target parameters to obtain the products corresponding to the target parameters; adding the products corresponding to the target parameters to obtain the performance parameters of a computing power service node.
[0012] In a possible implementation, the processing node is used to determine a target computing power service node from at least one computing power service node upon receiving computing power information of at least one computing power service node; and send a computing power service request to the target computing power service node.
[0013] In a possible implementation, at least one of the amount of computing power information of a computing power service node or the correlation between the computing power information and the processing speed of the computing power service request is positively correlated with the priority of the computing power service node.
[0014] In one possible implementation, the processing node is an entry gateway or a centralized controller; when the demand of the computing power service request is a target demand, the processing node is an entry gateway; the target demand is that the delay in processing the computing power service request is less than a preset value; when the demand of the computing power service request is a demand other than the target demand, the processing node is a centralized controller.
[0015] In the second aspect, an information reporting method is provided, which is applied to at least one computing power service node; the method includes: receiving indication information from an export gateway; the indication information is used to indicate the priority of the corresponding computing power service node; determining the computing power information of a computing power service node based on the priority of a computing power service node; sending the computing power information of at least one computing power service node to the export gateway; the export gateway is used to send the computing power information of at least one computing power service node to the processing node.
[0016] In one possible implementation, the priority of at least one computing power service node is determined based on the node parameters of at least one computing power service node; the node parameters include at least one of the following: the distance between the egress gateway and the ingress gateway; or performance parameters; the ingress gateway is the gateway that receives computing power service requests; the egress gateway is the gateway connected to the computing power service node.
[0017] In a possible implementation, the priority of a computing power service node is determined based on the node parameters of the computing power service node and the weights corresponding to the node parameters.
[0018] In one possible implementation, the priority of a computing power service node is determined based on the second score of the computing power service node; the priority is positively correlated with the second score; the second score of a computing power service node is obtained by adding the products corresponding to each node parameter; the products corresponding to each node parameter are obtained by multiplying the first scores corresponding to each node parameter of a computing power service node by the weights corresponding to each node parameter; the first score is negatively correlated with the distance; and the first score is positively correlated with the performance parameter.
[0019] In one possible implementation, the performance parameters of a computing power service node are obtained based on a target parameter of the computing power service node and the weights corresponding to the target parameters; the target parameters include at least one of the following: task processing speed, or computing power resource idle rate.
[0020] In one possible implementation, the performance parameter of a computing power service node is obtained by adding the products corresponding to the target parameters; the products corresponding to the target parameters are obtained by multiplying the target parameter of a computing power service node by the weight corresponding to the target parameter.
[0021] In one possible implementation, after sending computing power information of at least one computing power service node to the egress gateway, the method further includes: receiving a computing power service request issued by the egress gateway through a target computing power service node; the target computing power service node is determined from at least one computing power service node.
[0022] In a possible implementation, at least one of the amount of computing power information of a computing power service node or the correlation between the computing power information and the processing speed of the computing power service request is positively correlated with the priority of the computing power service node.
[0023] In one possible implementation, the processing node is an entry gateway or a centralized controller; when the demand of the computing power service request is a target demand, the processing node is an entry gateway; the target demand is that the delay in processing the computing power service request is less than a preset value; when the demand of the computing power service request is a demand other than the target demand, the processing node is a centralized controller.
[0024] In a third aspect, an information reporting device is provided, which is applied to an export gateway; the information reporting device includes: a transmission unit; a transmission unit, used to send indication information to at least one computing power service node; the indication information is used to indicate the priority of the corresponding computing power service node; the transmission unit is also used to receive computing power information from at least one computing power service node, and send the computing power information of at least one computing power service node to the processing node; the computing power information of a computing power service node is computing power information determined based on the priority of a computing power service node.
[0025] In one possible implementation, the information reporting device also includes: a processing unit; a transmission unit, which is also used to obtain node parameters of at least one computing power service node; the node parameters include at least one of the following: the distance between the egress gateway and the ingress gateway; or performance parameters; the ingress gateway is a gateway that receives computing power service requests; the egress gateway is a gateway connected to the computing power service node; the processing unit is used to determine the priority of at least one computing power service node based on the node parameters of at least one computing power service node.
[0026] In a possible implementation, the processing unit is further used to determine the priority of a computing power service node based on the node parameters of the computing power service node and the weights corresponding to the node parameters.
[0027] In a possible implementation, the transmission unit is also used to obtain the first scores corresponding to the node parameters of a computing power service node; the first score is negatively correlated with the distance; the first score is positively correlated with the performance parameter; the processing unit is also used to multiply the first scores corresponding to the node parameters by the weights corresponding to the node parameters to obtain the products corresponding to the node parameters; the processing unit is also used to add the products corresponding to the node parameters to obtain the second score of the computing power service node; the processing unit is also used to determine the priority of a computing power service node based on the second score of the computing power service node; the priority is positively correlated with the second score.
[0028] In one possible implementation, the transmission unit is also used to obtain target parameters of at least one computing power service node; the target parameters include at least one of the following: task processing speed, or computing power resource idle rate; the processing unit is also used to determine the performance parameters of a computing power service node based on the target parameters of a computing power service node and the weights corresponding to each target parameter.
[0029] In one possible implementation, the processing unit is further used to multiply the target parameters of a computing power service node by the weights corresponding to the target parameters to obtain the products corresponding to the target parameters; the processing unit is further used to add the products corresponding to the target parameters to obtain the performance parameters of a computing power service node.
[0030] In a possible implementation, the processing node is used to determine a target computing power service node from at least one computing power service node upon receiving computing power information of at least one computing power service node; and send a computing power service request to the target computing power service node.
[0031] In a possible implementation, at least one of the amount of computing power information of a computing power service node or the correlation between the computing power information and the processing speed of the computing power service request is positively correlated with the priority of the computing power service node.
[0032] In one possible implementation, the processing node is an entry gateway or a centralized controller; when the demand of the computing power service request is a target demand, the processing node is an entry gateway; the target demand is that the delay in processing the computing power service request is less than a preset value; when the demand of the computing power service request is a demand other than the target demand, the processing node is a centralized controller.
[0033] In a fourth aspect, an information reporting device is provided, which is applied to at least one computing power service node; the information reporting device includes: a transmission unit and a processing unit; the transmission unit is used to receive indication information from an export gateway; the indication information is used to indicate the priority of the corresponding computing power service node; the processing unit is used to determine the computing power information of a computing power service node based on the priority of a computing power service node; the transmission unit is also used to send the computing power information of at least one computing power service node to the export gateway; the export gateway is used to send the computing power information of at least one computing power service node to the processing node.
[0034] In one possible implementation, the priority of at least one computing power service node is determined based on the node parameters of at least one computing power service node; the node parameters include at least one of the following: the distance between the egress gateway and the ingress gateway; or performance parameters; the ingress gateway is the gateway that receives computing power service requests; the egress gateway is the gateway connected to the computing power service node.
[0035] In a possible implementation, the priority of a computing power service node is determined based on the node parameters of the computing power service node and the weights corresponding to the node parameters.
[0036] In one possible implementation, the priority of a computing power service node is determined based on the second score of the computing power service node; the priority is positively correlated with the second score; the second score of a computing power service node is obtained by adding the products corresponding to each node parameter; the products corresponding to each node parameter are obtained by multiplying the first scores corresponding to each node parameter of a computing power service node by the weights corresponding to each node parameter; the first score is negatively correlated with the distance; and the first score is positively correlated with the performance parameter.
[0037] In one possible implementation, the performance parameters of a computing power service node are obtained based on a target parameter of the computing power service node and the weights corresponding to the target parameters; the target parameters include at least one of the following: task processing speed, or computing power resource idle rate.
[0038] In one possible implementation, the performance parameter of a computing power service node is obtained by adding the products corresponding to the target parameters; the products corresponding to the target parameters are obtained by multiplying the target parameter of a computing power service node by the weight corresponding to the target parameter.
[0039] In a possible implementation, the transmission unit is also used to receive a computing power service request sent by the egress gateway through a target computing power service node; the target computing power service node is determined from at least one computing power service node.
[0040] In a possible implementation, at least one of the amount of computing power information of a computing power service node or the correlation between the computing power information and the processing speed of the computing power service request is positively correlated with the priority of the computing power service node.
[0041] In one possible implementation, the processing node is an entry gateway or a centralized controller; when the demand of the computing power service request is a target demand, the processing node is an entry gateway; the target demand is that the delay in processing the computing power service request is less than a preset value; when the demand of the computing power service request is a demand other than the target demand, the processing node is a centralized controller.
[0042] In a fifth aspect, an electronic device comprises: a processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer execution instructions. When the electronic device is running, the processor executes the computer execution instructions stored in the memory to enable the electronic device to execute an information reporting method as in the first aspect.
[0043] In a sixth aspect, a computer-readable storage medium storing one or more programs is provided, wherein the one or more programs include instructions, and when the instructions are executed by a computer, the computer executes an information reporting method as in the first aspect.
[0044] In a seventh aspect, a computer program product is provided. When the computer instructions are executed on an electronic device, the electronic device executes an information reporting method as in the first aspect.
[0045] The present application provides an information reporting method, apparatus, device, storage medium and program product, which are applied to the scenario of information reporting. When a computing power service node needs to report computing power information, it can send indication information indicating the priority of the corresponding computing power service node to at least one computing power service node through the export gateway. Furthermore, computing power information determined based on the priority of the corresponding computing power service node is received from at least one computing power service node through the processing node. That is, under normal circumstances, each computing power service node needs to report its full computing power information, while in the present application, each computing power service node determines the computing power information to be reported according to its own priority, so that the total amount of computing power information reported by all computing power service nodes will be reduced, which can reduce the pressure on the processing node to process the computing power information.
[0046] Through the above method, the computing power service nodes can determine the computing power information reported according to their respective priorities to reduce the total amount of computing power information processed by the processing nodes. Thus, the technical problem that as the number of computing power service nodes increases, the amount of network information reported to the network devices by the computing power service nodes increases, which leads to increased pressure on the network devices to process network information is solved, and the pressure on the network devices to process network information is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A schematic diagram of the structure of an information reporting system provided in an embodiment of the present application;
[0048] Figure 2 A schematic diagram of a method for reporting information provided in an embodiment of the present application Figure 1 ;
[0049] Figure 3 A schematic diagram of an information reporting example provided in an embodiment of the present application;
[0050] Figure 4 A schematic diagram of a method for reporting information provided in an embodiment of the present application Figure 2 ;
[0051] Figure 5 A schematic diagram of a method for reporting information provided in an embodiment of the present application Figure 3 ;
[0052] Figure 6 A schematic diagram of a method for reporting information provided in an embodiment of the present application Figure 4 ;
[0053] Figure 7 A schematic diagram of a method for reporting information provided in an embodiment of the present application Figure 5 ;
[0054] Figure 8 A schematic diagram of a method for reporting information provided in an embodiment of the present application Figure 6 ;
[0055] Fig. 9 A schematic diagram of a process for hierarchical distribution of computing power information provided in an embodiment of the present application;
[0056] Fig.10 A schematic diagram of a structure of an information reporting device provided in an embodiment of the present application Figure 1 ;
[0057] Fig.11 A schematic diagram of a structure of an information reporting device provided in an embodiment of the present application Figure 2 ;
[0058] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0060] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.
[0061] In computing power routing, when performing path calculation through the computing power routing path selector, it is necessary to process both network link status information and computing power measurement information (also called computing power information) at the same time. After each computing power service node collects the computing power measurement information, it will be distributed to the computing power routing path selector for path calculation. The path selector can be integrated into the entry computing power routing gateway (also called the entry gateway), or it can be deployed in the centralized controller as a functional component of the centralized controller. You can choose to deploy it in the entry computing power routing gateway or the centralized controller to process the computing power measurement information according to the service requirements of the service request.
[0062] The computing power information distribution method in the related art does not set a hierarchical strategy. As the scale of computing power services increases, the amount of data (i.e., the total amount of network information) reported by the computing power service node to the computing power routing path selector and the size of the routing table will also increase, which will bring greater processing pressure to the network equipment, thereby increasing the delay in processing service requests and affecting the service quality. Since the load capacity of the entry computing power routing gateway is relatively small, this impact is particularly obvious when the computing power routing path selector is deployed in the entry computing power routing gateway. Setting a hierarchical computing power measurement information distribution method can, on the one hand, reduce the processing pressure of network equipment, reduce the amount of distributed data and the size of the routing table, and on the other hand, avoid the problem of increased service delays caused by network equipment processing large amounts of data. Therefore, a hierarchical computing power measurement information distribution method is very important in computing power routing.
[0063] In order to solve the above problems and reduce the pressure on network devices to process network information, this application provides an information reporting method. Aiming at the technical points of computing power measurement information distribution involved in computing power routing technology, a hierarchical computing power information distribution strategy is adopted to report computing power information, so as to solve the problem that as the scale of computing power service increases, the amount of reported data and routing tables increase, causing the processing pressure of network devices to increase, and avoid network devices processing large amounts of data, resulting in increased service delays. It can effectively alleviate the processing pressure of network devices and reduce the amount of data and routing table size. Under different routing calculation modes, it can effectively alleviate the signaling processing pressure of centralized controllers and entry computing power routing gateways.
[0064] The hierarchical computing power information distribution strategy refers to grading computing power service nodes (i.e. determining the priority of computing power service nodes) based on comprehensive standards such as geographical distance and performance of computing power service nodes, so as to report computing power measurement information corresponding to computing power service nodes of different levels to sub-computing power routing path selectors of different levels. For example, a high-priority sub-computing power routing path selector obtains computing power measurement information corresponding to a high-level computing power service node (such as complete computing power measurement information), and a low-priority sub-computing power routing path selector only obtains simple computing power measurement information (including only computing power measurement information that is available or unavailable for computing power service nodes).
[0065] An information reporting method provided in an embodiment of the present application can be applicable to an information reporting system. Figure 1 FIG. 1 shows a schematic diagram of the structure of an information reporting system. Figure 1 As shown, the information reporting system 10 includes: a centralized controller 11, an inlet gateway 12, an egress gateway (also referred to as an egress computing power routing gateway) 13, and a computing power service node 14. The centralized controller 11, the inlet gateway 12, the egress gateway 13, and the computing power service node 14 can be connected by wire or by wireless, which is not limited in the embodiment of the present invention. The centralized controller 11 or the inlet gateway 12 can be used as a processing node.
[0066] The inlet gateway 12 is used to receive a computing service request and determine a device as a processing node from the centralized controller 11 or the inlet gateway 12 according to the requirements of the computing service request (also referred to as a business type). When the centralized controller 11 is used as a processing node, the centralized controller 11 is used to receive computing power information of the computing service node 14 sent by the egress gateway 13. When the inlet gateway 12 is used as a processing node, the inlet gateway 12 is used to receive computing power information of the computing service node 14 sent by the egress gateway 13.
[0067] The egress gateway 13 is used to determine the priority of the computing service node 14, send the priority of the computing service node 14 to the computing service node 14, receive the computing power information sent by the computing service node 14, and send the computing power information sent by the computing service node 14 to the processing node. The computing service node 14 is used to send the corresponding computing power information to the egress gateway 13 according to its own priority.
[0068] Optionally, the centralized controller 11, also known as the central controller, is a hardware device for managing and controlling multiple devices or systems. The entry gateway 12 and the exit gateway 13, also known as network connectors or protocol converters, are computer systems or devices that provide data conversion services between multiple networks. In this application, the entry gateway 12 and the exit gateway 13 are devices at both ends of the routing path, and multiple forwarding routes are also connected between the entry gateway 12 and the exit gateway 13. The computing power service node 14 may include at least one of the following: hardware devices such as servers, multi-core CPUs, and memory boards.
[0069] The following describes an information reporting method provided by an embodiment of the present application in conjunction with the accompanying drawings. Figure 2 As shown, an information reporting method provided in an embodiment of the present application is applied to an egress gateway, and the method includes S201-S202:
[0070] S201. Send indication information to at least one computing power service node.
[0071] Among them, the indication information is used to indicate the priority of the corresponding computing power service node.
[0072] Optionally, the egress gateway to which each computing power service node is connected may forward indication information indicating the priority of the corresponding computing power service node to the connected computing power service node. The priority of each computing power service node may be calculated by the connected egress gateway based on the relevant information of the computing power service node. The higher the priority of the computing power service node, the greater the possibility that the computing power service node is determined as the computing power service node that processes the service request. A computing power service node is connected to one egress gateway.
[0073] A computing power routing path selector is integrated in the processing node, and the computing power routing path selector is used to determine a computing power service node for processing a computing power service request from at least one computing power service node based on the computing power information of each computing power service node.
[0074] In one possible implementation, the processing node is an entry gateway or a centralized controller; when the demand of the computing power service request is a target demand, the processing node is an entry gateway; the target demand is that the delay in processing the computing power service request is less than a preset value; when the demand of the computing power service request is a demand other than the target demand, the processing node is a centralized controller.
[0075] Optionally, the entry gateway is a gateway that receives computing power service requests. The centralized controller is a hardware device that manages and controls all devices or systems in the network system. When the entry gateway receives a computing power service request sent by a user, the entry gateway can determine whether the processing node is a centralized controller or an entry gateway according to the requirements of the computing power service request. When the requirement of the computing power service request is that the delay in processing the computing power service request is less than a preset value, the entry gateway can determine the entry gateway as the processing node. That is, the selected routing calculation mode is the distributed calculation mode, and the computing power information is subsequently notified to the computing power routing path selector in the entry gateway.
[0076] When the demand for computing service requests is that the latency of processing computing service requests is less than the preset value (for example, the global utilization rate of computing service requests is higher than the preset threshold), the ingress gateway can determine the centralized controller as the processing node. That is, the selected routing calculation mode is the centralized calculation mode, and the computing power information is subsequently notified to the computing power routing path selector in the centralized controller.
[0077] It should be noted that the ingress gateway itself is a device in the transmission path of the computing service request. Therefore, the transmission delay of the computing service request can be reduced by performing path calculation on the computing service request with high latency requirements through the ingress gateway. The centralized controller is not a device in the transmission path of the computing service request. Performing path calculation on the computing service request with high latency requirements through the centralized controller will increase the transmission delay of the computing service request. However, the centralized controller can obtain the utilization rate of each device in the network system, so it can obtain the global utilization rate, which can meet the computing service requests with high global utilization requirements.
[0078] For example, the priority of computing power service nodes can be A, B, and C. Figure 3 At least one computing service node may be two computing service nodes, namely computing service node 1 and computing service node 2. Computing service node 1 is connected to egress gateway 1, and computing service node 2 is connected to egress gateway 2. The priority of computing service node 1 is A, and the priority of computing service node 2 is C.
[0079] S202. Receive computing power information from at least one computing power service node, and send computing power information of at least one computing power service node to the processing node.
[0080] The computing power information of a computing power service node is computing power information determined based on the priority of the computing power service node.
[0081] In a possible implementation, when each computing power service node in at least one computing power service node receives the indication information of the priority of the corresponding computing power service node sent by the corresponding egress router, each computing power service node can determine the computing power information of the corresponding computing power service node based on the priority of each computing power service node. Further, each computing power service node can send the computing power information of the corresponding computing power service node to the connected egress gateway, and the egress gateway forwards the computing power information of each computing power service node to the processing node.
[0082] Furthermore, the processing node may receive computing power information sent from the egress gateway to which each computing power service node is connected in at least one computing power service node. After receiving the corresponding priority, each computing power service node may determine the corresponding computing power information according to the priority. The computing power information may include the model of the computing power service node, the task processing speed (also referred to as the processing capacity), the load information (also referred to as the computing power resource idle rate), the available / unavailable information, and other information.
[0083] Optionally, the processing node includes a plurality of sub-processing nodes of different levels, and a sub-processing node of one level is used to receive computing power information sent by a computing power service node of a priority level. The higher the priority of the computing power service node, the higher the priority of the sub-processing node, and vice versa.
[0084] In one possible implementation, at least one of the amount of computing power information of a computing power service node or the correlation between the computing power information and the processing speed of the computing power service request is positively correlated with the priority of a computing power service node.
[0085] For example, the computing power information reported by the computing power service node with a priority level of A may include the full amount of computing power information, such as the computing power service node model, task processing speed, load information, available / unavailable, and other computing power information. The computing power information reported by the computing power service node with a priority level of B may only include load information. The computing power information reported by the computing power service node with a priority level of C may only include simple information such as available / unavailable.
[0086] It should be noted that the greater the correlation between the computing power information and the processing speed of the computing power service request, the more important or critical the computing power information is in calculating the computing power service node that processes the computing power service request. Since the higher the priority of the computing power service node, the greater the possibility that the computing power service node is determined as the computing power service node that processes the service request, the more computing power information of the computing power service node that needs to be obtained should be obtained, and the importance should be higher, so that the computing power service node determined to process the computing power service request can process the computing power service request better and faster, thereby ensuring the service quality.
[0087] In one design, Figure 4 As shown, an information reporting method provided in an embodiment of the present application, before the above step S201, the method further includes S301-S302:
[0088] S301. Obtain node parameters of at least one computing power service node.
[0089] Among them, the node parameters include at least one of the following: the distance between the egress gateway and the ingress gateway; or performance parameters; the ingress gateway is the gateway that receives computing power service requests; the egress gateway is the gateway connected to the computing power service node.
[0090] Optionally, the egress gateway may obtain the node parameters of the connected computing power service node. The node parameters of the computing power service node may be pre-configured in the egress gateway or obtained by the egress gateway in real time. The distance between the egress gateway and the ingress gateway may be obtained by measuring the delay of the datagram, that is, the egress gateway or the ingress gateway sends a message to the other party, and the distance between the egress gateway and the ingress gateway may be calculated based on the delay in receiving the message and the transmission speed of the message. The distance between the egress gateway and the ingress gateway of the computing power service node may represent the distance between the computing power service node and the ingress gateway.
[0091] S302. Determine the priority of at least one computing power service node based on the node parameters of at least one computing power service node.
[0092] Optionally, based on the node parameters of each computing power service node in the at least one computing power service node, the egress gateway may determine the priority of each computing power service node.Based on the node parameters of a computing power service node, the egress gateway may determine the priority of the computing power service node.
[0093] For example, the distance between the egress gateway 1 and the ingress gateway may be D1, the distance between the egress gateway 2 and the ingress gateway may be D2, the performance parameter of the computing power service node 1 may be S1, and the performance parameter of the computing power service node 2 may be S2. Based on D1 and S1, the priority of the computing power service node 1 may be A. Based on D2 and S2, the priority of the computing power service node 2 may be C.
[0094] Optionally, the executor for obtaining node parameters and calculating the priority of the computing power service node can also be a device other than the egress gateway, such as a centralized controller or an ingress gateway. If the priority of the computing power service node is determined by the centralized controller or the ingress gateway, the indication information can be sent through the centralized controller or the ingress gateway to the egress gateway, and then the egress gateway sends the indication information to the computing power service node.
[0095] This application can determine the priority of the computing power service node based on the distance between the egress gateway and the ingress gateway of the computing power service node and the performance parameters, so as to facilitate the subsequent reporting of the corresponding computing power information according to the priority of the computing power service node, so as to reduce the pressure on the processing node to process the computing power information and improve the service quality.
[0096] In one design, Figure 5 As shown, an information reporting method provided in an embodiment of the present application, the method in the above step S302 specifically includes S401:
[0097] S401. Determine the priority of a computing power service node based on the node parameters of the computing power service node and the weights corresponding to the node parameters.
[0098] Optionally, based on the node parameters of a computing power service node and the weights corresponding to the node parameters, the egress gateway can determine the priority of a computing power service node. The weight of the node parameter of the distance between the egress gateway and the ingress gateway is γ, and the weight of the node parameter of the performance parameter is δ. Then for computing power service node 1, the priority of computing power service node 1 can be determined to be A-level according to D1 and γ, and S1 and δ. Then for computing power service node 2, the priority of computing power service node 2 can be determined to be C-level according to D2 and γ, and S2 and δ. The weights can be set as needed.
[0099] This application can determine the priority of the computing power service node according to the node parameters of the computing power service node and the weights corresponding to the node parameters. By setting the weights of the node parameters, the importance of different node parameters can be reflected, thereby being more flexible in calculating the priority.
[0100] In one design, Figure 6 As shown, an information reporting method provided in an embodiment of the present application, the method in the above step S401 specifically includes S501-S504:
[0101] S501. Obtain the first score corresponding to each node parameter of a computing power service node.
[0102] Among them, the first score is negatively correlated with the distance; the first score is positively correlated with the performance parameter.
[0103] Optionally, the first score includes a score corresponding to the distance and a score corresponding to the performance parameter. The egress gateway can determine the score corresponding to the distance according to the distance corresponding to the connected computing power service node. The score corresponding to the distance (i.e., S_distance) can be divided into three levels. The greater the distance, the lower the level, that is, the lower the score corresponding to the distance. The egress gateway can determine the score corresponding to the performance parameter (i.e., S_performance) according to the performance parameter of the computing power service node.
[0104] For example, it is assumed that when the distance is greater than a, S_distance is 60; when the distance is less than a and greater than b, S_distance is 80; when the distance is less than b, S_distance is 100. It is assumed that when the performance parameter is greater than c, S_distance is 100; when the distance is less than c and greater than d, S_distance is 80; when the distance is less than d, S_distance is 60. Then, assuming that the distance D1 corresponding to the computing power service node 1 is less than b, the S_distance of the computing power service node 1 is 100 points; assuming that the distance D2 corresponding to the computing power service node 2 is greater than a, the S_distance of the computing power service node 2 is 60 points.
[0105] Similarly, assume that the S_performance of computing power service node 1 is 80 points, and the S_performance of computing power service node 2 is 60 points.
[0106] S502: Multiply the first scores corresponding to the node parameters by the weights corresponding to the node parameters to obtain products corresponding to the node parameters.
[0107] Optionally, the egress gateway may multiply the first scores corresponding to the respective node parameters by the weights corresponding to the respective node parameters to obtain products corresponding to the respective node parameters.
[0108] For example, assuming that γ is 0.7 and δ is 0.3, for computing service node 1, the product corresponding to the distance is: S_distance*γ=100*0.7=70 points, and the product corresponding to the performance parameter is: S_performance*δ=80*0.3=24 points; for computing service node 2, the product corresponding to the distance is: S_distance*γ=60*0.7=42 points, and the product corresponding to the performance parameter is: S_performance*δ=60*0.3=18 points.
[0109] S503. Add the products corresponding to the node parameters to obtain a second score of the computing power service node.
[0110] Optionally, the egress gateway may add the products corresponding to the node parameters to obtain a second score of the computing power service node (ie, a comprehensive score S of the computing power service node).
[0111] For example, for computing power service node 1, the comprehensive score of computing power service node 1 is S=S_distance*γ+S_performance*δ=70+24=94 points; for computing power service node 2, the comprehensive score of computing power service node 2 is S=S_distance*γ+S_performance*δ=42+18=60 points.
[0112] S504: Determine the priority of a computing power service node based on the second score of the computing power service node.
[0113] Among them, the priority is positively correlated with the second score.
[0114] Optionally, based on the second score of a computing power service node, the egress gateway can determine the priority of the connected computing power service node. The priority can be divided into three levels (i.e., level A, level B, and level C), and the higher the second score, the higher the level of priority.
[0115] For example, assuming that when the comprehensive score is greater than 80, the priority is A; when the comprehensive score is less than or equal to 80 and greater than 60, the priority is B; when the comprehensive score is less than or equal to 60, the priority is C. Then, it can be seen that the priority of computing power service node 1 is A, and the priority of computing power service node 1 is C.
[0116] This application can determine the priority of the computing power service node based on the distance between the egress gateway and the ingress gateway of the computing power service node, as well as the performance parameters of the computing power service node. That is, the smaller the distance, the faster the computing power service request is transmitted from the ingress gateway to the computing power service node, and the smaller the processing delay of the computing power service request. Therefore, the smaller the distance, the higher the priority of the computing power service node. And, a large performance parameter indicates that the performance of the computing power service node is good, so the processing speed of the computing power service request is faster and the processing delay of the computing power service request is smaller. Therefore, the larger the performance parameter, the higher the priority of the computing power service node. Thus, the priority of the determined computing power service node is more accurate, which facilitates the subsequent reporting of the corresponding computing power information according to the priority of the computing power service node, so as to reduce the pressure on the processing node to process the computing power information and improve the service quality.
[0117] In one design, Figure 7 As shown, an information reporting method provided in an embodiment of the present application further includes:
[0118] S601. Obtain target parameters of at least one computing power service node.
[0119] The target parameter includes at least one of the following: task processing speed, or computing resource idle rate.
[0120] S602: Determine a performance parameter of a computing power service node based on a target parameter of the computing power service node and a weight corresponding to each target parameter.
[0121] Optionally, the egress gateway may determine the performance parameters of the computing power service node based on the task processing speed and computing power resource idle rate of the connected computing power service node, and the respective weights of the task processing speed and the computing power resource idle rate.
[0122] Specifically, the egress gateway can determine the score of the task processing speed according to the task processing speed of the connected computing service node, and determine the score of the computing resource idle rate according to the computing resource idle rate. The score of the task processing speed is positively correlated with the task processing speed, and the score of the computing resource idle rate is positively correlated with the computing resource idle rate.
[0123] Furthermore, the export gateway can determine the performance parameters of the computing power service node based on the computing power resource idle rate score (i.e., capability) of the connected computing power service node, the computing power resource idle rate score (i.e., load), the task processing speed, and the respective weights of the computing power resource idle rate.
[0124] For example, assume that the capability of computing service node 1 is 80 points and the load is 80 points. The capability of computing service node 2 is 80 points and the load is 40 points.
[0125] Optionally, the execution entity for determining the performance parameters of the computing power service node may also be a device other than the egress gateway, such as a centralized controller or an ingress gateway.
[0126] This application can determine the performance parameters of the computing service node based on the task processing speed and the computing resource idle rate. That is, under normal circumstances, the faster the task processing speed, the better the performance, and the greater the computing resource idle rate, the better the performance. Therefore, these two parameters can accurately reflect the performance of the computing service node and improve the accuracy of determining the performance parameters.
[0127] In one design, Figure 8 As shown, an information reporting method provided in an embodiment of the present application, the method in the above step S602 specifically includes S701-S702:
[0128] S701. Multiply the target parameter of a computing power service node by the weight corresponding to each target parameter to obtain the product corresponding to each target parameter.
[0129] Optionally, the egress gateway may multiply the target parameter of the connected computing service node by the weight corresponding to each target parameter to obtain the product corresponding to each target parameter. The weight corresponding to the task processing speed may be α, and the weight corresponding to the computing resource idle rate may be β. The weights may be set as needed.
[0130] For example, assuming that α is 0.5 and β is 0.5. For computing service node 1, the product corresponding to the task processing speed is: capability*α=80*0.5=40 points, and the product corresponding to the computing resource idle rate is: capability*α=80*0.5=40 points. For computing service node 2, the product corresponding to the task processing speed is: load*β=80*0.5=40 points, and the product corresponding to the computing resource idle rate is: load*β=40*0.5=20 points.
[0131] S702. Add the products corresponding to the target parameters to obtain a performance parameter of a computing power service node.
[0132] Optionally, the egress gateway may add the products corresponding to the respective target parameters to obtain a score for the performance parameters of the connected computing power service node.
[0133] For example, for computing service node 1, the score corresponding to the performance parameter (ie, S_performance) is S_performance = capability*α+load*β=40+40=80 points. For computing service node 1, the score corresponding to the performance parameter is S_performance = capability*α+load*β=40+20=60 points.
[0134] This application can determine the performance parameters of the computing power service node based on the task processing speed and the computing power resource idle rate, so as to facilitate the subsequent determination of the priority of the computing power service node based on the performance parameters, and then facilitate the subsequent reporting of the corresponding computing power information based on the priority of the computing power service node, so as to reduce the pressure on the processing node to process the computing power information and improve the service quality.
[0135] In a possible implementation, the processing node is used to determine a target computing power service node from at least one computing power service node upon receiving computing power information of at least one computing power service node.
[0136] Optionally, the computing power routing path selector of the processing node may determine the target computing power service node from at least one computing power service node according to the computing power information of at least one computing power service node and the priority of each computing power service node. The computing power routing path selector of the processing node may preferentially select a computing power service node with a high priority as the target computing power service node. The target computing power service node is the optimal and available computing power service node among the at least one computing power service node.
[0137] Optionally, after the processing node determines the target computing service node, the ingress gateway can send a computing service request to the target computing service node so that the computing service request can be processed by the target computing service node. The ingress gateway needs to first send a computing service request to the egress gateway connected to the target computing service node, and then the egress gateway forwards the computing service request to the target computing service node.
[0138] In one possible implementation, the target computing power service node receives a computing power service request forwarded by an egress gateway connected to the target computing power service node.
[0139] The present application can calculate the best and available computing power service node among all computing power service nodes according to the priority of each computing power service node in at least one computing power service node and the reported computing power information, and send the computing power service request to the best and available computing power service node for processing, thereby reducing the delay in processing the computing power service request as much as possible and ensuring the service quality.
[0140] In one possible implementation, Fig. 9 As shown, the distance between the entry node and the exit node of the computing power service node, the processing capacity, the scoring criteria of the load information, and the proportional parameters (i.e., weights, γ, δ, α, β) can be set. Further, after the computing power service request is initiated, the routing calculation mode is selected according to the business type of the computing power service request. Further, the distance between the exit computing power routing gateway and the entry computing power routing gateway is measured, and the processing capacity and load information are collected. Further, the score corresponding to the distance of the computing power service node (i.e., S_distance), the score corresponding to the performance parameter (i.e., S_performance), and the comprehensive score (i.e., S) are calculated based on the collected distance, processing capacity, and load information between the exit computing power routing gateway and the entry computing power routing gateway. Further. The priority of the computing power service node is determined based on the comprehensive score of the computing power service node, and based on the priority of the computing power service node, the computing power service node distributes the computing power measurement information corresponding to different priorities to the entry computing power routing gateway or the centralized controller.
[0141] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0142] The embodiment of the present application can divide the functional modules of an information reporting method according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0143] Fig.10 This is a schematic diagram of the structure of an information reporting device provided in an embodiment of the present application. Fig.10 As shown, an information reporting device 100 is used to reduce the pressure of network equipment in processing network information, for example, for executing Figure 2 An information reporting method is shown. The information reporting device 100 includes: a transmission unit 1001.
[0144] The transmission unit 1001 is used to send indication information to at least one computing power service node; the indication information is used to indicate the priority of the corresponding computing power service node.
[0145] The transmission unit 1001 is also used to receive computing power information from at least one computing power service node and send the computing power information of at least one computing power service node to the processing node; the computing power information of a computing power service node is computing power information determined based on the priority of the computing power service node.
[0146] In one possible implementation, the information reporting device also includes: a processing unit 1002; a transmission unit 1001, which is also used to obtain node parameters of at least one computing power service node; the node parameters include at least one of the following: the distance between the egress gateway and the ingress gateway; or performance parameters; the ingress gateway is a gateway that receives computing power service requests; the egress gateway is a gateway connected to the computing power service node; the processing unit 1002 is used to determine the priority of at least one computing power service node based on the node parameters of at least one computing power service node.
[0147] In a possible implementation, the processing unit 1002 is further used to determine the priority of a computing power service node based on the node parameters of the computing power service node and the weights corresponding to the node parameters.
[0148] In a possible implementation, the transmission unit 1001 is also used to obtain the first scores corresponding to the node parameters of a computing power service node; the first score is negatively correlated with the distance; the first score is positively correlated with the performance parameter; the processing unit 1002 is also used to multiply the first scores corresponding to the node parameters by the weights corresponding to the node parameters to obtain the products corresponding to the node parameters; the processing unit 1002 is also used to add the products corresponding to the node parameters to obtain the second score of the computing power service node; the processing unit 1002 is also used to determine the priority of a computing power service node based on the second score of the computing power service node; the priority is positively correlated with the second score.
[0149] In one possible implementation, the transmission unit 1001 is also used to obtain target parameters of at least one computing power service node; the target parameters include at least one of the following: task processing speed, or computing power resource idle rate; the processing unit 1002 is also used to determine the performance parameters of a computing power service node based on the target parameters of a computing power service node and the weights corresponding to the target parameters.
[0150] In one possible implementation, the processing unit 1002 is also used to multiply the target parameters of a computing power service node by the weights corresponding to the target parameters to obtain the products corresponding to the target parameters; the processing unit 1002 is also used to add the products corresponding to the target parameters to obtain the performance parameters of a computing power service node.
[0151] In a possible implementation, the processing node is used to determine a target computing power service node from at least one computing power service node upon receiving computing power information of at least one computing power service node; and send a computing power service request to the target computing power service node.
[0152] In a possible implementation, at least one of the amount of computing power information of a computing power service node or the correlation between the computing power information and the processing speed of the computing power service request is positively correlated with the priority of the computing power service node.
[0153] In one possible implementation, the processing node is an entry gateway or a centralized controller; when the demand of the computing power service request is a target demand, the processing node is an entry gateway; the target demand is that the delay in processing the computing power service request is less than a preset value; when the demand of the computing power service request is a demand other than the target demand, the processing node is a centralized controller.
[0154] Fig.11 This is a schematic diagram of the structure of an information reporting device provided in an embodiment of the present application. Fig.11 As shown, an information reporting device 110 is used to reduce the pressure of network equipment in processing network information, for example, for executing Figure 2 An information reporting method is shown. The information reporting device 110 includes: a transmission unit 1101 and a processing unit 1102.
[0155] The transmission unit 1101 is used to receive indication information from the egress gateway; the indication information is used to indicate the priority of the corresponding computing power service node.
[0156] The processing unit 1102 is used to determine the computing power information of a computing power service node based on the priority of the computing power service node.
[0157] The transmission unit 1101 is also used to send the computing power information of at least one computing power service node to the egress gateway; the egress gateway is used to send the computing power information of at least one computing power service node to the processing node.
[0158] In one possible implementation, the priority of at least one computing power service node is determined based on the node parameters of at least one computing power service node; the node parameters include at least one of the following: the distance between the egress gateway and the ingress gateway; or performance parameters; the ingress gateway is the gateway that receives computing power service requests; the egress gateway is the gateway connected to the computing power service node.
[0159] In a possible implementation, the priority of a computing power service node is determined based on the node parameters of the computing power service node and the weights corresponding to the node parameters.
[0160] In one possible implementation, the priority of a computing power service node is determined based on the second score of the computing power service node; the priority is positively correlated with the second score; the second score of a computing power service node is obtained by adding the products corresponding to each node parameter; the products corresponding to each node parameter are obtained by multiplying the first scores corresponding to each node parameter of a computing power service node by the weights corresponding to each node parameter; the first score is negatively correlated with the distance; and the first score is positively correlated with the performance parameter.
[0161] In one possible implementation, the performance parameters of a computing power service node are obtained based on a target parameter of the computing power service node and the weights corresponding to the target parameters; the target parameters include at least one of the following: task processing speed, or computing power resource idle rate.
[0162] In one possible implementation, the performance parameter of a computing power service node is obtained by adding the products corresponding to the target parameters; the products corresponding to the target parameters are obtained by multiplying the target parameter of a computing power service node by the weight corresponding to the target parameter.
[0163] In a possible implementation, the transmission unit 1101 is also used to receive a computing power service request sent by the egress gateway through a target computing power service node; the target computing power service node is determined from at least one computing power service node.
[0164] In a possible implementation, at least one of the amount of computing power information of a computing power service node or the correlation between the computing power information and the processing speed of the computing power service request is positively correlated with the priority of the computing power service node.
[0165] In one possible implementation, the processing node is an entry gateway or a centralized controller; when the demand of the computing power service request is a target demand, the processing node is an entry gateway; the target demand is that the delay in processing the computing power service request is less than a preset value; when the demand of the computing power service request is a demand other than the target demand, the processing node is a centralized controller.
[0166] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present application provides a possible structural diagram of the electronic device involved in the above-mentioned embodiment. Fig.12 As shown, an electronic device 120 is used to reduce the pressure of network devices in processing network information, for example, for executing Figure 2 An information reporting method is shown. The electronic device 120 includes a processor 1201, a memory 1202 and a bus 1203. The processor 1201 and the memory 1202 may be connected via the bus 1203.
[0167] The processor 1201 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 1201 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.
[0168] As an embodiment, the processor 1201 may include one or more CPUs, such as Fig.12 CPU 0 and CPU 1 are shown in .
[0169] The memory 1202 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0170] As a possible implementation, the memory 1202 may exist independently of the processor 1201, and the memory 1202 may be connected to the processor 1201 via the bus 1203 to store instructions or program codes. When the processor 1201 calls and executes the instructions or program codes stored in the memory 1202, an information reporting method provided in an embodiment of the present application can be implemented.
[0171] In another possible implementation, the memory 1202 may also be integrated with the processor 1201 .
[0172] The bus 1203 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.12 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0173] It should be pointed out that Fig.12 The structure shown does not constitute a limitation on the electronic device 120. Fig.12 In addition to the components shown, the electronic device 120 may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0174] As an example, combining Fig.10 The functions implemented by the transmission unit 1001 and the processing unit 1002 in the information reporting device 100 are similar to those Fig.12 The functions of the processor 1201 in the embodiment are the same as those of the embodiment of the present invention. Fig.11The functions implemented by the transmission unit 1101 and the processing unit 1102 in the information reporting device 110 are similar to Fig.12 The function of processor 1201 in is the same.
[0175] Optional, such as Fig.12 As shown, the electronic device 120 provided in the embodiment of the present application may further include a communication interface 1204 .
[0176] The communication interface 1204 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 1204 may include a receiving unit for receiving data and a sending unit for sending data.
[0177] In one design, in the electronic device provided in the embodiment of the present application, the communication interface can also be integrated into the processor.
[0178] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0179] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the method flow shown in the above method embodiment.
[0180] An embodiment of the present application provides a computer program product. When a computer instruction is executed on an electronic device, the electronic device executes an information reporting method in the above method embodiment.
[0181] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk. Random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), erasable programmable read only memory (erasable programmable read only memory, EPROM), registers, hard disks, optical fibers, portable compact disc read-only memory (compact disc read-only memory, CD-ROM), optical storage devices, magnetic storage devices, or the above in a suitable combination, or any other form of computer-readable storage medium known in the art.
[0182] An exemplary storage medium is coupled to a 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 the storage medium can be located in an application specific integrated circuit (ASIC).
[0183] In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0184] Since the electronic device, computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above-mentioned method, the technical effects that can be obtained can also refer to the above-mentioned method embodiments, and the embodiments of the present application will not be repeated here.
[0185] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. An information reporting method, characterized in that: Applied to an egress gateway; the method comprises: Sending indication information to at least one computing power service node; the indication information is used to indicate the priority of the corresponding computing power service node; Receive computing power information from the at least one computing power service node, and send the computing power information of the at least one computing power service node to the processing node; the computing power information of a computing power service node is computing power information determined based on the priority of the computing power service node.
2. The method according to claim 1, characterized in that Before sending the indication information to at least one computing power service node, the method further includes: Obtain node parameters of the at least one computing power service node; the node parameters include at least one of the following: the distance between the egress gateway and the ingress gateway; or performance parameters; the ingress gateway is a gateway that receives computing power service requests; the egress gateway is a gateway connected to the computing power service node; Based on the node parameters of the at least one computing power service node, a priority of the at least one computing power service node is determined.
3. The method according to claim 2, characterized in that The determining the priority of the at least one computing power service node based on the node parameter of the at least one computing power service node includes: Based on node parameters of a computing power service node and weights corresponding to the node parameters, the priority of the computing power service node is determined.
4. The method according to claim 3, characterized in that The determining the priority of the computing power service node based on the node parameters of the computing power service node and the weights corresponding to the node parameters respectively includes: Obtaining first scores corresponding to the node parameters of the computing power service node; the first score is negatively correlated with the distance; the first score is positively correlated with the performance parameter; Multiplying the first scores corresponding to the node parameters by the weights corresponding to the node parameters to obtain products corresponding to the node parameters; Adding the products corresponding to the node parameters to obtain a second score of the computing power service node; Based on the second score of the computing power service node, determine the priority of the computing power service node; the priority is positively correlated with the second score.
5. The method according to claim 1, characterized in that The method further comprises: Obtaining target parameters of the at least one computing power service node; the target parameters include at least one of the following: task processing speed, or computing power resource idle rate; Based on target parameters of a computing power service node and weights corresponding to the target parameters, performance parameters of the computing power service node are determined.
6. The method according to claim 5, characterized in that The determining, based on a target parameter of a computing power service node and weights corresponding to the target parameters, a performance parameter of the computing power service node includes: Multiplying the target parameter of the computing power service node by the weights corresponding to the target parameters to obtain products corresponding to the target parameters; The products corresponding to the target parameters are added together to obtain the performance parameters of the computing power service node.
7. The method according to claim 1, characterized in that The processing node is used to determine a target computing power service node from the at least one computing power service node when receiving the computing power information of the at least one computing power service node; Send the computing power service request to the target computing power service node.
8. The method according to claim 1, characterized in that At least one of the amount of computing power information of a computing power service node or the correlation between the computing power information and the processing speed of the computing power service request is positively correlated with the priority of the computing power service node.
9. The method according to claim 1, characterized in that: The processing node is an entry gateway or a centralized controller; when the demand of the computing power service request is a target demand, the processing node is the entry gateway; the target demand is that the delay in processing the computing power service request is less than a preset value; when the demand of the computing power service request is a demand other than the target demand, the processing node is the centralized controller.
10. An information reporting method, characterized in that: Applied to at least one computing power service node; the method comprises: Receiving indication information from an egress gateway; the indication information is used to indicate the priority of a corresponding computing power service node; Determine computing power information of a computing power service node based on a priority of the computing power service node; Send the computing power information of the at least one computing power service node to the egress gateway; the egress gateway is used to send the computing power information of the at least one computing power service node to the processing node.
11. The method according to claim 10, characterized in that The priority of the at least one computing power service node is determined based on the node parameters of the at least one computing power service node; the node parameters include at least one of the following: the distance between the egress gateway and the ingress gateway; or performance parameters; the ingress gateway is a gateway that receives computing power service requests; the egress gateway is a gateway connected to the computing power service node.
12. The method according to claim 11, characterized in that The priority of a computing power service node is determined based on the node parameters of the computing power service node and the weights corresponding to the node parameters.
13. The method according to claim 12, characterized in that The priority of a computing power service node is determined based on the second score of the computing power service node; the priority is positively correlated with the second score; the second score of the computing power service node is obtained by adding the products corresponding to the node parameters; The product corresponding to each of the node parameters is obtained by multiplying the first score corresponding to each of the node parameters of the computing power service node by the weight corresponding to each of the node parameters; the first score is negatively correlated with the distance; The first is positively correlated with the performance parameter.
14. The method according to claim 10, characterized in that The performance parameters of a computing power service node are obtained based on the target parameters of the computing power service node and the weights corresponding to the target parameters; the target parameters include at least one of the following: task processing speed, or computing power resource idle rate.
15. The method according to claim 14, characterized in that The performance parameter of a computing power service node is obtained by adding the products corresponding to the target parameters; the products corresponding to the target parameters are obtained by multiplying the target parameter of the computing power service node by the weight corresponding to the target parameters.
16. The method according to claim 10, characterized in that After sending the computing power information of the at least one computing power service node to the egress gateway, the method further includes: The computing power service request sent by the egress gateway is received through a target computing power service node; the target computing power service node is determined from the at least one computing power service node.
17. The method according to claim 10, characterized in that At least one of the amount of computing power information of a computing power service node or the correlation between the computing power information and the processing speed of the computing power service request is positively correlated with the priority of the computing power service node.
18. The method according to claim 10, characterized in that The processing node is an entry gateway or a centralized controller; when the demand of the computing power service request is a target demand, the processing node is the entry gateway; the target demand is that the delay in processing the computing power service request is less than a preset value; when the demand of the computing power service request is a demand other than the target demand, the processing node is the centralized controller.
19. An information reporting device, characterized in that: Applied to egress gateways; The information reporting device comprises: a transmission unit; The transmission unit is used to send indication information to at least one computing power service node; the indication information is used to indicate the priority of the corresponding computing power service node; The transmission unit is also used to receive computing power information from the at least one computing power service node and send the computing power information of the at least one computing power service node to the processing node; the computing power information of a computing power service node is computing power information determined based on the priority of the computing power service node.
20. An information reporting device, characterized in that: Applied to at least one computing power service node; the information reporting device includes: a transmission unit and a processing unit; The transmission unit is used to receive indication information from the egress gateway; the indication information is used to indicate the priority of the corresponding computing power service node; The processing unit is used to determine the computing power information of a computing power service node based on the priority of the computing power service node; The transmission unit is also used to send the computing power information of the at least one computing power service node to the egress gateway; the egress gateway is used to send the computing power information of the at least one computing power service node to the processing node.
21. An electronic device, characterized in that: include: Processor and memory; The memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the electronic device is running, the processor executes the computer-executable instructions stored in the memory to enable the electronic device to perform the method described in any one of claims 1-18.
22. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions which, when executed by a computer, cause the computer to perform the method of any one of claims 1-18.
23. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Node scheduling method and device for computing power network, equipment and medium
CN115695281A
Computing power network operation method and device based on computing power message bus, and storage medium
CN117176502A
Node priority determination method and device and storage medium
CN117354123A
Computing power resource scheduling method and device, equipment, storage medium and program product
CN117931454A
Computing power node priority determination method and device, equipment and storage medium
CN118101662A