CN-118842808-B - Method, device, equipment, storage medium and product for synchronizing calculation force information
Abstract
The application discloses a method, a device, equipment, a storage medium and a product for synchronizing calculation force information. The method comprises the steps of acquiring computing force information to be updated by an entry gateway of a distributed computing force network, wherein the computing force information to be updated represents state change of computing force service, and synchronizing the computing force information to be updated to other entry gateways of the distributed computing force network. Compared with the situation that the computing power nodes carry out computing power information notification in the distributed computing power network, the computing power information notification method can be based on computing power information synchronization among a plurality of entrance gateways of the distributed computing power network, improves the synchronization effect of the computing power information, further provides more accurate basis for routing decision, and meets the requirement of computing power resource optimization distribution of the distributed computing power network.
Inventors
- Fu Yuexia
- LU LU
Assignees
- 中国移动通信有限公司研究院
- 中国移动通信集团有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20240726
Claims (11)
- 1. A method of computing force information synchronization, characterized by being applied to an ingress gateway of a distributed computing force network, the method comprising: Acquiring computing power information to be updated, wherein the computing power information to be updated represents the state change of computing power service; Synchronizing the computing power information to be updated to other portal gateways of the distributed computing power network; The obtaining the computing power information to be updated includes: Receiving a service request; performing route scheduling on the service request based on the current calculation power state information table; Generating the computing power information to be updated based on the computing power resource occupation amount and the computing power resource occupation time length, wherein the computing power resource occupation amount and the computing power resource occupation time length are carried by the service request or are obtained based on the service type prediction of the service request; The generating the computing power information to be updated based on the computing power resource occupation amount and the computing power resource occupation duration includes: generating first computing power information to be updated corresponding to resource occupation based on the effective time of the routing scheduling and the computing power resource occupation amount, timing based on the computing power resource occupation time length, and generating second computing power information to be updated corresponding to resource release when the business request service is determined to be completed, or And generating first computing power information to be updated corresponding to the resource occupation based on the effective time of the routing scheduling and the computing power resource occupation amount, wherein the first computing power information to be updated carries timing information indicating the computing power resource occupation duration.
- 2. The method of claim 1, wherein the obtaining the computing power information to be updated further comprises: and receiving the calculation information to be updated, which is sent by the calculation node based on the trigger mechanism.
- 3. The method of claim 2, wherein the receiving the computing power information to be updated sent by the computing power node based on the trigger mechanism comprises: And receiving the calculation force information to be updated, which is generated and transmitted by the calculation force node based on the comparison result of the state change value of the calculation force service and the set threshold value.
- 4. The method of claim 1, wherein the synchronizing the computing force information to be updated to other ingress gateways of the distributed computing force network comprises one or more of: Based on boundary gateway protocol peer relationships between the ingress gateway and other ingress gateways of the distributed computing power network, globally advertising the computing power information to be updated; based on a first gateway notification domain of the same service type of the entry gateway and other entry gateways of the distributed computing power network, notifying computing power information to be updated corresponding to the service type in the first gateway notification domain; And advertising the computing power information to be updated in a second gateway advertising domain based on geographic location division of the portal gateway and other portal gateways of the distributed computing power network.
- 5. The method of claim 1, wherein the step of determining the position of the substrate comprises, The portal gateway synchronizes the computing power information to be updated to other portal gateways of the distributed computing power network based on a multicast mechanism.
- 6. The method of claim 5, wherein the ingress gateway synchronizes the computing power information to be updated to other ingress gateways of the distributed computing power network based on a multicast mechanism, including one or more of: The portal gateway synchronizes the computing power information to be updated for all portal gateways of the distributed computing power network based on a multicast mechanism; and the portal gateway synchronizes the computing power information to be updated to part of portal gateways of the distributed computing power network based on a multicast mechanism.
- 7. The method according to claim 1, wherein the method further comprises: and updating a locally maintained computing power state information table based on the local computing power information to be updated and/or the received computing power information to be updated of other portal gateways.
- 8. A computing force information synchronization apparatus for use with an ingress gateway of a distributed computing force network, the apparatus comprising: The system comprises an acquisition module, a calculation module and a calculation module, wherein the acquisition module is used for acquiring calculation force information to be updated, and the calculation force information to be updated represents the state change of a calculation force service; the synchronization module is used for synchronizing the computing power information to be updated to other entrance gateways of the distributed computing power network; The acquisition module is specifically configured to receive a service request, perform routing scheduling on the service request based on a current computing power state information table, generate first computing power information to be updated corresponding to resource occupation based on effective time and the computing power resource occupation amount of the routing scheduling, time based on the computing power resource occupation time length, and generate second computing power information to be updated corresponding to resource release if the service of the service request is determined to be completed, or generate first computing power information to be updated corresponding to resource occupation based on effective time and the computing power resource occupation amount of the routing scheduling, wherein the first computing power information to be updated carries timing information indicating the computing power resource occupation time length, and the computing power resource occupation amount and the computing power resource occupation time length are carried by the service request or are predicted based on a service type to which the service request belongs.
- 9. A network device, characterized in that the network device is an ingress gateway of a distributed computing network, comprising a processor and a memory for storing a computer program capable of running on the processor, wherein, The processor being adapted to perform the steps of the method of any of claims 1 to 7 when the computer program is run.
- 10. A computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method according to any of claims 1 to 7.
- 11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, realizes the steps of the method according to any one of claims 1 to 7.
Description
Method, device, equipment, storage medium and product for synchronizing calculation force information Technical Field The present application relates to the field of computing power networks, and in particular, to a computing power information synchronization method, device, apparatus, storage medium, and product. Background The computing power network (Computational Network) is a network modality that utilizes distributed computing power to accomplish specific tasks. The core idea is to disperse the large-scale computing demands to numerous participants, and to efficiently and rapidly complete tasks through resource sharing and collaborative computing. The distributed computing power network is based on the cooperative cooperation of the entrance gateway and the exit gateway, and an efficient and safe network architecture is constructed together. The gateway is an important component in the distributed system, is used as a bridge between the client and the business service and is responsible for receiving the request from the client and carrying out corresponding processing, and the gateway is mainly responsible for providing a unified outlet for the system call third party service and carrying out corresponding processing. The portal gateway needs to schedule the service request to the appropriate computing node based on the service request of the client, so that each computing node needs to inform the portal gateway of own computing information in advance, the portal gateway maintains a computing state information table of each computing node, and a routing decision is made based on the maintained computing state information table. Because a plurality of entrance gateways exist and in order to reduce useless calculation information notification in a network, the related technology often adopts a mechanism for periodically performing calculation information notification and synchronization, namely an information notification and synchronization mechanism from a calculation node to an exit gateway to an entrance gateway is adopted, however, the synchronization mode of periodic global updating can cause untimely calculation information updating of the calculation node and influence the routing decision effect. Disclosure of Invention In view of this, the embodiments of the present application provide a method, apparatus, device, storage medium and product for synchronizing computing power information, which aim to improve the synchronization effect of computing power information and provide more accurate basis for routing decision. The technical scheme of the embodiment of the application is realized as follows: in a first aspect, an embodiment of the present application provides a method for synchronizing computing power information, which is applied to an ingress gateway of a distributed computing power network, where the method includes: Acquiring computing power information to be updated, wherein the computing power information to be updated represents the state change of computing power service; and synchronizing the computing power information to be updated to other portal gateways of the distributed computing power network. In the above scheme, the acquiring the computing power information to be updated includes: Receiving computing power information to be updated sent by the computing power node based on a trigger mechanism, and/or, The computing power information to be updated is generated based on an active mechanism. In the above scheme, the receiving computing power node based on the computing power information to be updated sent by the trigger mechanism includes: And receiving the calculation force information to be updated, which is generated and transmitted by the calculation force node based on the comparison result of the state change value of the calculation force service and the set threshold value. In the above solution, the generating the computing power information to be updated based on the active mechanism includes: receiving a service request, wherein the service request carries the occupation amount of computing power resources and the occupation time length of the computing power resources; performing route scheduling on the service request based on the current calculation power state information table; and generating the computing power information to be updated based on the computing power resource occupation amount and the computing power resource occupation duration. In the above solution, the generating the computing power information to be updated based on the active mechanism includes: Receiving a service request; based on the service type of the service request, predicting the occupation amount and the occupation time of the computing power resource of the service request; performing route scheduling on the service request based on the current calculation power state information table; and generating the computing power information to be updated based on the computing powe