A method, apparatus and system for selecting computing power matching schemes

By generating and calculating variant contracts of target supplier solutions through a computing power matching platform, and selecting the solution with the most returned responses as the final matching solution, the problem of wasted computing power resources is solved, and efficient scheduling and unified management of computing power resources are achieved.

CN116048775BActive Publication Date: 2026-04-28CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNITED NETWORK COMM GRP CO LTD
Filing Date
2022-11-08
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

The existing computing power forwarding schemes lack a unified platform scheduling, resulting in inconsistent computing power matching schemes for different nodes and wasting computing power resources.

Method used

The platform receives tasks from computing power demanders, generates and packages target supplier solutions into variant contracts, sends them to target computing power suppliers for calculation, and selects the solution that receives the most responses as the final matching solution.

Benefits of technology

It solves the problem of wasted computing resources and achieves efficient scheduling and unified management of computing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116048775B_ABST
    Figure CN116048775B_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, and system for selecting a computing power matching scheme. The method includes: receiving a computing power task sent by a computing power requester; sending the computing power task to at least one target computing power provider, so that the target computing power provider generates a target supplier scheme based on the computing power task; receiving the target supplier schemes sent by each target computing power provider; packaging the target supplier schemes to generate a target variant contract; sending the target variant contract to each target computing power provider; receiving pre-selected matching schemes returned by each target computing power provider; and selecting the pre-selected matching scheme returned most frequently from the received pre-selected matching schemes as the target computing power matching scheme. This method, apparatus, and system can solve the problem of computing power resource waste caused by the lack of a unified platform for scheduling computing power forwarding and the inconsistent computing power matching schemes of different nodes in existing related technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method, apparatus, and system for selecting computing power matching schemes. Background Technology

[0002] The existing computing power forwarding is implemented at the network layer by storing and forwarding network requests through routers. Each request is forwarded to the next-hop router by each router finding the shortest path centered on its own network node. All requests are implemented autonomously by each router node. There is no unified platform to schedule computing power forwarding. The inconsistent computing power matching schemes of different nodes lead to the waste of computing power resources. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to address the above-mentioned shortcomings of the prior art by providing a method, apparatus and system for selecting computing power matching schemes. The invention utilizes a computing power matching platform to generate variant contracts based on multiple target supplier schemes sent by computing power suppliers. Based on the computing power supplier's calculation results on the variant contracts, a target supplier scheme is selected as the final computing power matching scheme. This solves the problem in the existing related technologies where there is no unified platform for scheduling computing power forwarding and the computing power matching schemes of different nodes are inconsistent, resulting in the waste of computing power resources.

[0004] In a first aspect, the present invention provides a method for selecting a computing power matching scheme, applied to a computing power matching platform, comprising:

[0005] Receive computing power tasks sent by computing power requesters;

[0006] The computing power task is sent to at least one target computing power provider, so that the target computing power provider generates a target provider plan based on the computing power task;

[0007] Receive target supplier proposals from various target computing power suppliers;

[0008] Package the target supplier's proposal to generate a target variant contract;

[0009] The target variant contract is sent to each target computing power provider, so that the target computing power provider calculates the target variant contract and selects a target supplier scheme as a pre-selected matching scheme based on the calculation result;

[0010] Receive pre-selection matching schemes returned by each target computing power provider;

[0011] Select the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

[0012] Preferably, before sending the computing power task to at least one target computing power provider, the method further includes:

[0013] Establish a target matching channel based on the computing power task;

[0014] Broadcast the computing power task to the blockchain so that pre-selected computing power providers can join the target matching channel according to the computing power task;

[0015] Determine whether the number of pre-selected suppliers joining the target matching channel meets a preset threshold. If so, stop broadcasting and make the pre-selected computing power suppliers joining the target matching channel the target computing power supplier.

[0016] Preferably, establishing a target matching channel based on the computing power task includes:

[0017] Determine if there exists an existing channel that satisfies the computing power task. If so, select one of the channels that satisfies the computing power task as the target matching channel; otherwise, create a new channel as the target matching channel.

[0018] Preferably, the step of selecting the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme includes:

[0019] Determine whether there is only one pre-selected matching scheme that has been returned the most times. If so, take the pre-selected matching scheme that has been returned the most times as the target computing power matching scheme. Otherwise, select one from the pre-selected matching schemes that have been returned the most times as the target computing power matching scheme.

[0020] Secondly, the present invention also provides a method for selecting a computing power matching scheme, applied to a target computing power supplier, comprising:

[0021] Receive computing power tasks sent by the computing power matching platform, wherein the computing power tasks are sent by the computing power matching platform after receiving the computing power tasks sent by the computing power demander;

[0022] Generate a target supplier proposal based on the computing power task;

[0023] The target supplier's proposal is sent to the computing power matching platform, so that the computing power matching platform can package and generate a target variant contract based on the received target supplier's proposal;

[0024] Receive the target variant contract sent by the computing power matching platform;

[0025] Calculate the target variant contract;

[0026] Based on the calculation results, select a target supplier's solution as a pre-selected matching solution;

[0027] The pre-selected matching scheme is sent to the computing power matching platform so that the computing power matching platform selects the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

[0028] Preferably, before receiving the computing power task sent by the computing power matching platform, the method further includes:

[0029] Receive computing power tasks broadcast by the computing power matching platform;

[0030] The target matching channel is added based on the computing power task.

[0031] Preferably, the process of calculating the target variant contract is not visible.

[0032] Thirdly, the present invention also provides a selection device for computing power matching schemes, disposed on a computing power matching platform, comprising:

[0033] The first receiving module is used to receive computing power tasks sent by computing power requesters;

[0034] A first sending module, connected to the first receiving module, is used to send the computing power task to at least one target computing power provider, so that the target computing power provider generates a target provider scheme based on the computing power task;

[0035] The second receiving module is connected to the first sending module and is used to receive the target supplier schemes sent by each target computing power supplier.

[0036] A packaging module, connected to the second receiving module, is used to package the target supplier's solution to generate a target variant contract;

[0037] The second sending module, connected to the packaging module, is used to send the target variant contract to each target computing power provider, so that the target computing power provider can calculate the target variant contract and select a target supplier scheme as a pre-selected matching scheme based on the calculation result.

[0038] The third receiving module, connected to the second sending module, is used to receive the pre-selection matching schemes returned by each target computing power supplier;

[0039] The first selection module, connected to the third receiving module, is used to select the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

[0040] Fourthly, the present invention also provides a selection device for a computing power matching scheme, disposed at a target computing power supplier, comprising:

[0041] The fourth receiving module is used to receive computing power tasks sent by the computing power matching platform, wherein the computing power tasks are sent by the computing power matching platform after receiving the computing power tasks sent by the computing power demander.

[0042] A generation module, connected to the fourth receiving module, is used to generate a target supplier scheme based on the computing power task.

[0043] The third sending module, connected to the generation module, is used to send the target supplier solution to the computing power matching platform, so that the computing power matching platform can package and generate a target variant contract based on the received target supplier solution.

[0044] The fifth receiving module, connected to the third sending module, is used to receive the target variant contract sent by the computing power matching platform;

[0045] The calculation module, connected to the fifth receiving module, is used to calculate the target variant contract;

[0046] The second selection module is connected to the calculation module and is used to select a target supplier scheme as a pre-selected matching scheme based on the calculation results.

[0047] The fourth sending module, connected to the second selection module, is used to send the pre-selected matching scheme to the computing power matching platform, so that the computing power matching platform selects the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

[0048] Fifthly, the present invention also provides a computing power matching scheme selection device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the computing power matching scheme selection method described in the first aspect above, or to implement the computing power matching scheme selection method described in the second aspect above.

[0049] In a sixth aspect, the present invention also provides a selection system for computing power matching schemes, including a computing power matching platform and a target computing power supplier;

[0050] The computing power matching platform is used to execute the selection method of the computing power matching scheme described in the first aspect above.

[0051] The target computing power supplier is used to implement the selection method of the computing power matching scheme described in the second aspect above.

[0052] The present invention provides a method, apparatus, and system for selecting computing power matching schemes. The computing power matching platform receives computing power tasks sent by computing power requesters, sends the computing power tasks to at least one target computing power provider, and enables the target computing power provider to generate a target supplier scheme based on the computing power tasks. The platform then receives the target supplier schemes sent by each target computing power provider, packages the target supplier schemes into a target variant contract, and sends the target variant contract to each target computing power provider. The target computing power provider then calculates the target variant contract and selects a target supplier scheme as a pre-selected scheme based on the calculation results. The system selects a matching scheme and then receives pre-selected matching schemes returned by various target computing power providers. It selects the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme. Because this invention utilizes a computing power matching platform to generate variant contracts based on multiple target provider schemes sent by the computing power providers, and selects a target provider scheme as the final computing power matching scheme based on the computing power provider's calculation results of the variant contracts, it solves the problem in existing related technologies where there is no unified platform for scheduling computing power forwarding, and different nodes use inconsistent computing power matching schemes, resulting in wasted computing power resources. Attached Figure Description

[0053] Figure 1 This is a flowchart of a method for selecting a computing power matching scheme according to Embodiment 1 of the present invention;

[0054] Figure 2 This is a flowchart of a method for selecting a computing power matching scheme according to Embodiment 2 of the present invention;

[0055] Figure 3 This is a schematic diagram of the structure of a selection device for a computing power matching scheme according to Embodiment 3 of the present invention;

[0056] Figure 4 This is a schematic diagram of the structure of a selection device for a computing power matching scheme according to Embodiment 4 of the present invention;

[0057] Figure 5 This is a schematic diagram of the structure of a selection device for a computing power matching scheme according to Embodiment 5 of the present invention;

[0058] Figure 6 This is a schematic diagram of the selection system for a computing power matching scheme according to Embodiment 6 of the present invention. Detailed Implementation

[0059] To enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0060] It is understood that the specific embodiments and accompanying drawings described herein are merely for explaining the invention and are not intended to limit the invention.

[0061] It is understood that, without conflict, the various embodiments and features in the embodiments of the present invention can be combined with each other.

[0062] It is understood that, for ease of description, only the parts related to the present invention are shown in the accompanying drawings, while the parts unrelated to the present invention are not shown in the drawings.

[0063] It is understood that each unit or module involved in the embodiments of the present invention may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple units or modules may be integrated into one entity structure.

[0064] It is understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of this invention may occur in a different order than that marked in the accompanying drawings.

[0065] It is understood that the flowcharts and block diagrams of this invention illustrate the possible architecture, functions, and operations of systems, apparatuses, devices, and methods according to various embodiments of this invention. Each block in the flowchart or block diagram may represent a unit, module, program segment, or code, containing executable instructions for implementing the specified function. Furthermore, each block or combination of blocks in the block diagram and flowchart can be implemented using a hardware-based system to achieve the specified function, or using a combination of hardware and computer instructions.

[0066] It is understood that the units and modules involved in the embodiments of the present invention can be implemented by software or by hardware. For example, the units and modules can be located in a processor.

[0067] Example 1:

[0068] This embodiment provides a method for selecting a computing power matching scheme, applied to a computing power matching platform, such as... Figure 1 As shown, the method includes:

[0069] Step S101: Receive computing power tasks sent by the computing power requester.

[0070] In this embodiment, the computing power demander can be a node in the blockchain that needs to process data but whose available computing power or type of computing power cannot meet the data processing requirements. The computing power demander can be located in a cloud computing center, an edge computing center, or a smart terminal. The computing power task can be a face recognition requirement, a voice processing requirement, an image processing requirement, etc.

[0071] Step S102: Send the computing power task to at least one target computing power supplier, so that the target computing power supplier generates a target supplier plan based on the computing power task.

[0072] In this embodiment, after receiving the computing power task sent by the computing power matching platform, the target computing power supplier generates a target supplier plan based on the computing power task and sends the target supplier plan to the computing power matching platform. The target computing power supplier can be a node in the blockchain that can meet the computing power task and can provide computing power services such as face recognition, voice processing, and image processing.

[0073] Optionally, before sending the computing power task to at least one target computing power provider, the method further includes:

[0074] Establish a target matching channel based on the computing power task;

[0075] Broadcast the computing power task to the blockchain so that pre-selected computing power providers can join the target matching channel according to the computing power task;

[0076] Determine whether the number of pre-selected suppliers joining the target matching channel meets a preset threshold. If so, stop broadcasting and make the pre-selected computing power suppliers joining the target matching channel the target computing power supplier.

[0077] In this embodiment, the pre-selected supplier can be a node in the blockchain that can meet the computing power task, and the preset threshold is not less than 1.

[0078] Optionally, establishing a target matching channel based on the computing power task includes:

[0079] Determine if there exists an existing channel that satisfies the computing power task. If so, select one of the channels that satisfies the computing power task as the target matching channel; otherwise, create a new channel as the target matching channel.

[0080] In this embodiment, the computing power matching platform can manage existing or newly established channels, including monitoring target computing power providers and computing power demanders joining or leaving channels, channel list management, etc. The computing power matching platform can also make the list of computing power providers and related configurations public through its own computing power demander toolkit SDK, and can provide computing power services through the computing power provider toolkit SDK.

[0081] Step S103: Receive the target supplier proposals sent by each target computing power supplier.

[0082] In this embodiment, each target computing power provider will construct a computing power service plan based on the received computing power tasks as the target provider plan.

[0083] Step S104: Package the target supplier's solution to generate a target variant contract.

[0084] In this embodiment, the computing power matching platform will package the received target supplier solutions into the platform's MPC (secure multi-party computation) contract to form a target variant contract. For example, if there are ten target computing power suppliers x1 to x10, and the target supplier solutions generated by the target computing power suppliers are x1c to x10c, then after receiving the ten target supplier solutions x1c to x10c returned by the target computing power suppliers, the computing power matching platform will package x1c to x10c into the platform's MPC contract to form a new contract MPC-m, which is the target variant contract.

[0085] Step S105: Send the target variant contract to each target computing power supplier, so that the target computing power supplier can calculate the target variant contract and select a target supplier scheme as a pre-selected matching scheme based on the calculation result.

[0086] In this embodiment, a computing task may be provided by multiple target computing power providers. Since each target computing power provider offers a different solution, and each provider focuses on finding the optimal solution, this can lead to wasted computing resources. Therefore, the target solutions from each provider are packaged into a variant contract. The computing power matching platform sends this variant contract to each target computing power provider. Upon receiving the variant contract, each provider calculates all target solutions within it. For example, if there are ten target computing power providers (x1 to x10), the target variant contract... MPC-m contains target supplier schemes x1c to x10c corresponding to target computing power suppliers x1 to x10. After each target computing power supplier scheme calculates MPC-m, it will produce ten target supplier schemes x1c to x10c. One of them is selected as a pre-selection matching scheme based on the calculation results. The target supplier scheme can be selected based on the usage of computing power resources or randomly. To prevent target computing power suppliers from modifying the final results or code based on the calculation process of the target variant contract, the calculation process of the target variant contract by each target computing power supplier is invisible.

[0087] Step S106: Receive the pre-selected matching schemes returned by each target computing power supplier.

[0088] Step S107: Select the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

[0089] In this embodiment, after receiving the pre-selected matching schemes returned by each target computing power supplier, the computing power matching platform can take the pre-selected matching scheme with the most selections as the final target computing power matching scheme.

[0090] Optionally, selecting the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme includes:

[0091] Determine whether there is only one pre-selected matching scheme that has been returned the most times. If so, take the pre-selected matching scheme that has been returned the most times as the target computing power matching scheme. Otherwise, select one from the pre-selected matching schemes that have been returned the most times as the target computing power matching scheme.

[0092] In this embodiment, if there is more than one pre-selected matching scheme that is selected the most times, for example, if there are 10 target computing power suppliers, and target supplier scheme A is selected as a pre-selected matching scheme by 5 target computing power suppliers, and target supplier scheme B is also selected as a pre-selected matching scheme by 5 target computing power suppliers, then one of target supplier schemes A and B is selected as the final target computing power matching scheme. This can be done randomly, or the target computing power suppliers corresponding to target supplier schemes A and B can redesign their schemes and recalculate, and then the selection is made based on the new calculation results.

[0093] In one specific embodiment, the method for selecting the computing power matching scheme may include the following steps:

[0094] 1) The computing power demander sends computing power tasks to the computing power matching platform;

[0095] 2) After receiving a computing power task, the computing power matching platform first checks whether the existing channels meet the requirements of the computing power task. If they do not meet the requirements, a new channel is created as the channel for this computing power matching. If they meet the requirements, the channel that meets the requirements is selected as the channel for this computing power matching.

[0096] 3) The computing power matching platform broadcasts a request to inquire which pre-selected suppliers are willing to join the transaction channel. Following the principle of first-come, first-served, after waiting for responses, once ten pre-selected suppliers have participated in the matching, these ten pre-selected suppliers will be designated as target computing power suppliers, and the matching transaction will begin.

[0097] 4) The computing power matching platform will send computing power tasks to various target computing power providers;

[0098] Assuming the computing power task is "a1" and the target computing power suppliers are x1 to x10, a matching channel is constructed, with all ten target computing power suppliers serving as nodes in the matching channel.

[0099] 5) The computing power matching platform sent a1 to the target computing power supplier, and the target computing power supplier constructed ten target supplier solutions x1c to x10c according to the requirements;

[0100] 6) After receiving ten target supplier solutions x1c to x10c, the computing power matching platform packages these solutions into its own MPC contract, forming a new contract MPC-m. MPC-m is then installed on the nodes of all target computing power suppliers. MPC-m is a variant contract developed based on secure multi-party computation. It can execute multiple integrated contracts and output contract results, but the execution process is not visible externally. Therefore, each of the ten target computing power suppliers can obtain ten different contract execution results by executing the MPC-m contract installed on their own nodes. Furthermore, since all ten target computing power suppliers have the contract installed, each time MPC-m executes a contract, consensus is reached across all ten nodes to arrive at the final result. Therefore, there is no possibility of one party maliciously modifying the node code to generate different computation results.

[0101] 7) Each of the ten target computing power suppliers selects one of their proposed solutions as a pre-selected matching solution based on the calculation results and sends it to the computing power matching platform;

[0102] 8) The computing power matching platform will select the target supplier's solution that has been matched the most times in the pre-selection process as the result of this matching. If different solutions have the same support rate, the parties with the same solution will redesign the solution and calculate a new matching result, or a solution will be randomly selected for execution.

[0103] The method for selecting a computing power matching scheme provided in this embodiment of the invention involves a computing power matching platform receiving a computing power task sent by a computing power requester, sending the computing power task to at least one target computing power provider, enabling the target computing power provider to generate a target provider scheme based on the computing power task, receiving the target provider schemes sent by each target computing power provider, packaging the target provider schemes to generate a target variant contract, and sending the target variant contract to each target computing power provider, so that the target computing power provider can calculate the target variant contract and select a target provider scheme as a pre-selection based on the calculation result. The system first establishes a matching scheme and then receives pre-selected matching schemes returned by various target computing power providers. It then selects the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme. Because this invention utilizes a computing power matching platform to generate variant contracts based on multiple target provider schemes sent by the computing power providers, and selects a target provider scheme as the final computing power matching scheme based on the computing power provider's calculation results of the variant contracts, it solves the problem in existing related technologies where there is no unified platform for scheduling computing power forwarding, and different nodes use inconsistent computing power matching schemes, leading to wasted computing power resources.

[0104] Example 2:

[0105] This embodiment provides a method for selecting a computing power matching scheme, applicable to a target computing power supplier, such as... Figure 2 As shown, the method includes

[0106] Step S201: Receive computing power tasks sent by the computing power matching platform, wherein the computing power tasks are sent by the computing power matching platform after receiving the computing power tasks sent by the computing power demander.

[0107] In this embodiment, the target computing power provider can be a node in the blockchain that can meet computing power tasks and provide computing power services such as facial recognition, voice processing, and image processing.

[0108] Optionally, before receiving the computing power task sent by the computing power matching platform, the method further includes:

[0109] Receive computing power tasks broadcast by the computing power matching platform;

[0110] The target matching channel is added based on the computing power task.

[0111] In this embodiment, the target matching channel is managed by the computing power matching platform. The target computing power provider can connect to the computing power matching platform through the matching channel and provide computing power services through the computing power provider toolkit SDK on the computing power matching platform.

[0112] Step S202: Generate a target supplier scheme based on the computing power task.

[0113] In this embodiment, the target computing power provider will construct a computing power service plan based on the received computing power tasks as the target provider plan.

[0114] Step S203: Send the target supplier proposal to the computing power matching platform so that the computing power matching platform can package and generate a target variant contract based on the received target supplier proposal.

[0115] In this embodiment, the computing power matching platform will package the received target supplier solutions into the platform's MPC contract to form a target variant contract.

[0116] Step S204: Receive the target variant contract sent by the computing power matching platform.

[0117] Step S205: Calculate the target variant contract.

[0118] In this embodiment, a computing task may be provided by multiple target computing power providers. Since the target supplier solutions provided by each target computing power provider are not uniform, and each is searching for the best computing power supply solution centered on itself, there may be a waste of computing power resources. Therefore, the target supplier solutions provided by each target computing power provider are packaged into a variant contract. The computing power matching platform sends the variant contract to each target computing power provider. After receiving the variant contract, each target computing power provider will calculate all the target supplier solutions in the variant contract and select one as a pre-selected matching solution based on the calculation results.

[0119] Optionally, the process of calculating the target variant contract is not visible.

[0120] In this embodiment, to prevent the target computing power providers from modifying the final result or code based on the calculation process of the target variant contract, the calculation process of the target variant contract by each target computing power provider is invisible.

[0121] Step S206: Select a target supplier scheme as a pre-selected matching scheme based on the calculation results.

[0122] Step S207: Send the pre-selected matching scheme to the computing power matching platform, so that the computing power matching platform selects the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

[0123] In this embodiment, after receiving the pre-selected matching schemes returned by each target computing power supplier, the computing power matching platform can take the pre-selected matching scheme with the most selections as the final target computing power matching scheme.

[0124] Example 3:

[0125] This embodiment provides a device for selecting computing power matching schemes, which is installed on a computing power matching platform, such as... Figure 3 As shown, it includes:

[0126] The first receiving module 11 is used to receive computing power tasks sent by computing power demanders;

[0127] The first sending module 12 is connected to the first receiving module 11 and is used to send the computing power task to at least one target computing power supplier so that the target computing power supplier generates a target supplier plan based on the computing power task.

[0128] The second receiving module 13 is connected to the first sending module 12 and is used to receive the target supplier schemes sent by each target computing power supplier.

[0129] Packaging module 14, connected to the second receiving module 13, is used to package the target supplier's solution to generate a target variant contract;

[0130] The second sending module 15, connected to the packaging module 14, is used to send the target variant contract to each target computing power supplier, so that the target computing power supplier can calculate the target variant contract and select a target supplier scheme as a pre-selected matching scheme based on the calculation result.

[0131] The third receiving module 16 is connected to the second sending module 15 and is used to receive the pre-selection matching schemes returned by each target computing power supplier.

[0132] The first selection module 17 is connected to the third receiving module 16 and is used to select the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

[0133] Preferably, the device further includes:

[0134] A module is established to create a target matching channel based on the computing power task.

[0135] The broadcast module is used to broadcast the computing power task to the blockchain so that the pre-selected computing power providers can join the target matching channel according to the computing power task;

[0136] The threshold module is used to determine whether the number of pre-selected suppliers joining the target matching channel meets a preset threshold. If so, the broadcast is stopped and the pre-selected computing power suppliers joining the target matching channel are designated as the target computing power suppliers.

[0137] Preferably, the module includes:

[0138] The first judgment unit is used to determine whether there is a channel in the existing channels that can satisfy the computing power task. If so, it selects one of the channels that can satisfy the computing power task as the target matching channel; otherwise, it creates a new channel as the target matching channel.

[0139] Preferably, the first selection module 17 specifically includes:

[0140] The second judgment unit is used to determine whether there is only one pre-selected matching scheme that has been returned the most times. If so, the pre-selected matching scheme that has been returned the most times is taken as the target computing power matching scheme. Otherwise, one of the pre-selected matching schemes that has been returned the most times is selected as the target computing power matching scheme.

[0141] Example 4:

[0142] This embodiment provides a device for selecting a computing power matching scheme, which is set at the target computing power supplier, such as... Figure 4 As shown, it includes:

[0143] The fourth receiving module 21 is used to receive computing power tasks sent by the computing power matching platform, wherein the computing power tasks are sent by the computing power matching platform after receiving the computing power tasks sent by the computing power demander.

[0144] The generation module 22, connected to the fourth receiving module 21, is used to generate a target supplier scheme based on the computing power task.

[0145] The third sending module 23, connected to the generation module 22, is used to send the target supplier solution to the computing power matching platform, so that the computing power matching platform can package and generate a target variant contract based on the received target supplier solution;

[0146] The fifth receiving module 24 is connected to the third sending module 23 and is used to receive the target variant contract sent by the computing power matching platform;

[0147] The calculation module 25, connected to the fifth receiving module 24, is used to calculate the target variant contract;

[0148] The second selection module 26 is connected to the calculation module 25 and is used to select a target supplier scheme as a pre-selected matching scheme based on the calculation result.

[0149] The fourth sending module 27, connected to the second selection module 26, is used to send the pre-selected matching scheme to the computing power matching platform, so that the computing power matching platform selects the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

[0150] Preferably, the device further includes:

[0151] The task module is used to receive computing power tasks broadcast by the computing power matching platform;

[0152] The channel module is used to add the target matching channel according to the computing power task.

[0153] Preferably, the process of calculating the target variant contract is not visible.

[0154] Example 5:

[0155] This embodiment provides a device for selecting computing power matching schemes, such as... Figure 5 As shown, it includes a memory 31 and a processor 32. The memory 31 stores a computer program, and the processor 32 is configured to run the computer program to implement the selection method of the computing power matching scheme as described in Embodiment 1, or to implement the selection method of the computing power matching scheme as described in Embodiment 2.

[0156] Example 6:

[0157] This embodiment provides a selection system for computing power matching schemes, such as... Figure 6 As shown, it includes a computing power matching platform 41 and a target computing power supplier 42;

[0158] The computing power matching platform 41 is used to execute the selection method of the computing power matching scheme described in Embodiment 1;

[0159] The target computing power supplier 42 is used to execute the selection method of the computing power matching scheme described in Example 2.

[0160] The computing power matching scheme selection method, apparatus, and system provided in Examples 2 to 6 involve a computing power matching platform receiving computing power tasks sent by computing power demanders, sending the computing power tasks to at least one target computing power supplier, enabling the target computing power supplier to generate a target supplier scheme based on the computing power tasks, receiving the target supplier schemes sent by each target computing power supplier, packaging the target supplier schemes to generate a target variant contract, and sending the target variant contract to each target computing power supplier, enabling the target computing power supplier to calculate the target variant contract and select a target supplier scheme based on the calculation results. As a pre-selected matching scheme, the system receives pre-selected matching schemes returned by various target computing power providers. From the received pre-selected matching schemes, the scheme returned most frequently is selected as the target computing power matching scheme. Since this invention utilizes a computing power matching platform to generate variant contracts based on multiple target provider schemes sent by computing power providers, and selects a target provider scheme as the final computing power matching scheme based on the computing power provider's calculation results of the variant contracts, it solves the problem in existing related technologies where there is no unified platform for scheduling computing power forwarding, and the computing power matching schemes of different nodes are inconsistent, resulting in the waste of computing power resources.

[0161] It is understood that the above embodiments are merely exemplary implementations used to illustrate the principles of the present invention, and the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A method for selecting a computing power matching scheme, characterized in that, Applied to a computing power matching platform, the method includes: Receive computing power tasks sent by computing power requesters; The computing power task is sent to at least one target computing power provider, so that the target computing power provider generates a target provider plan based on the computing power task; Receive target supplier proposals from various target computing power suppliers; Package the target supplier's proposal to generate a target variant contract; The target variant contract is sent to each target computing power provider, so that the target computing power provider calculates the target variant contract and selects a target supplier scheme as a pre-selected matching scheme based on the calculation result; Receive pre-selection matching schemes returned by each target computing power provider; Select the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

2. The method for selecting a computing power matching scheme according to claim 1, characterized in that, Before sending the computing power task to at least one target computing power provider, the method further includes: Establish a target matching channel based on the computing power task; Broadcast the computing power task to the blockchain so that pre-selected computing power providers can join the target matching channel according to the computing power task; Determine whether the number of pre-selected suppliers joining the target matching channel meets a preset threshold. If so, stop broadcasting and make the pre-selected computing power suppliers joining the target matching channel the target computing power supplier.

3. The method for selecting a computing power matching scheme according to claim 2, characterized in that, The step of establishing a target matching channel based on the computing power task includes: Determine if there exists an existing channel that satisfies the computing power task. If so, select one of the channels that satisfies the computing power task as the target matching channel; otherwise, create a new channel as the target matching channel.

4. The method for selecting a computing power matching scheme according to claim 1, characterized in that, The step of selecting the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme includes: Determine whether there is only one pre-selected matching scheme that has been returned the most times. If so, take the pre-selected matching scheme that has been returned the most times as the target computing power matching scheme. Otherwise, select one from the pre-selected matching schemes that have been returned the most times as the target computing power matching scheme.

5. A method for selecting a computing power matching scheme, characterized in that, Applied to target computing power providers, the method includes: Receive computing power tasks sent by the computing power matching platform, wherein the computing power tasks are sent by the computing power matching platform after receiving the computing power tasks sent by the computing power demander; Generate a target supplier proposal based on the computing power task; The target supplier's proposal is sent to the computing power matching platform, so that the computing power matching platform can package and generate a target variant contract based on the received target supplier's proposal; Receive the target variant contract sent by the computing power matching platform; Calculate the target variant contract; Based on the calculation results, select a target supplier's solution as a pre-selected matching solution; The pre-selected matching scheme is sent to the computing power matching platform so that the computing power matching platform selects the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

6. The method for selecting a computing power matching scheme according to claim 5, characterized in that, Before receiving the computing power task sent by the computing power matching platform, the method further includes: Receive computing power tasks broadcast by the computing power matching platform; The target matching channel is added based on the computing power task.

7. The method for selecting a computing power matching scheme according to claim 5, characterized in that, The process of calculating the target variant contract is not visible.

8. A device for selecting a computing power matching scheme, characterized in that, The device, located on a computing power matching platform, includes: The first receiving module is used to receive computing power tasks sent by computing power requesters; A first sending module, connected to the first receiving module, is used to send the computing power task to at least one target computing power provider, so that the target computing power provider generates a target provider scheme based on the computing power task; The second receiving module is connected to the first sending module and is used to receive the target supplier schemes sent by each target computing power supplier. A packaging module, connected to the second receiving module, is used to package the target supplier's solution to generate a target variant contract; The second sending module, connected to the packaging module, is used to send the target variant contract to each target computing power provider, so that the target computing power provider can calculate the target variant contract and select a target supplier scheme as a pre-selected matching scheme based on the calculation result. The third receiving module, connected to the second sending module, is used to receive the pre-selection matching schemes returned by each target computing power supplier; The first selection module, connected to the third receiving module, is used to select the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

9. A device for selecting a computing power matching scheme, characterized in that, The device, located at the target computing power provider, includes: The fourth receiving module is used to receive computing power tasks sent by the computing power matching platform, wherein the computing power tasks are sent by the computing power matching platform after receiving the computing power tasks sent by the computing power demander. A generation module, connected to the fourth receiving module, is used to generate a target supplier scheme based on the computing power task. The third sending module, connected to the generation module, is used to send the target supplier solution to the computing power matching platform, so that the computing power matching platform can package and generate a target variant contract based on the received target supplier solution. The fifth receiving module, connected to the third sending module, is used to receive the target variant contract sent by the computing power matching platform; The calculation module, connected to the fifth receiving module, is used to calculate the target variant contract; The second selection module is connected to the calculation module and is used to select a target supplier scheme as a pre-selected matching scheme based on the calculation results. The fourth sending module, connected to the second selection module, is used to send the pre-selected matching scheme to the computing power matching platform, so that the computing power matching platform selects the pre-selected matching scheme that has been returned the most times from the received pre-selected matching schemes as the target computing power matching scheme.

10. A device for selecting a computing power matching scheme, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the selection method of the computing power matching scheme as described in any one of claims 1-4, or to implement the selection method of the computing power matching scheme as described in claims 5-7.

11. A selection system for computing power matching schemes, characterized in that, This includes computing power matching platforms and target computing power suppliers; The computing power matching platform is used to execute the selection method of the computing power matching scheme according to any one of claims 1-4; The target computing power supplier is used to implement the selection method of the computing power matching scheme according to any one of claims 5-7.

Citation Information

Patent Citations

  • Product information matching method and device, computer equipment and storage medium

    CN111104588A