WO2021208914A1 - Network-scheduling-based computing power sharing method, and related product - Google Patents
Network-scheduling-based computing power sharing method, and related product Download PDFInfo
- Publication number
- WO2021208914A1 WO2021208914A1 PCT/CN2021/086930 CN2021086930W WO2021208914A1 WO 2021208914 A1 WO2021208914 A1 WO 2021208914A1 CN 2021086930 W CN2021086930 W CN 2021086930W WO 2021208914 A1 WO2021208914 A1 WO 2021208914A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- computing
- computing power
- terminal
- network element
- collaboration
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 230000004044 response Effects 0.000 claims abstract description 202
- 230000006870 function Effects 0.000 claims description 251
- 230000010354 integration Effects 0.000 claims description 29
- 238000013475 authorization Methods 0.000 claims description 20
- 238000012549 training Methods 0.000 claims description 17
- 238000004364 calculation method Methods 0.000 claims description 16
- 238000012545 processing Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 15
- 238000004891 communication Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5072—Grid computing
Definitions
- This application relates to the field of network communication technology, and in particular to a computing power sharing method based on network scheduling and related products.
- the embodiments of the present application provide a question and answer method, device, device, and computer-readable storage medium, which are used to improve the speed of users accurately finding the answers they need.
- the embodiments of the present application provide a computing power sharing method and related products based on network scheduling, in order to improve the efficiency and convenience of baking control.
- the embodiments of the present application provide a computing power sharing method based on network scheduling, which is applied to a distributed computing system, and the distributed computing system includes an application function network element, a computing collaboration terminal, and a computing demand terminal; the method include:
- the application function network element After the application function network element receives the computing power service request information from the computing collaboration terminal or computing demand terminal, it sends computing power service capability inquiry information to a preset target, where the preset target includes the computing collaboration terminal And/or the computing demand end;
- the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, wherein the response information includes computing power demand response information or computing power collaboration response information;
- the application function network element receives notification information, where the notification information includes notification information sent when the preset target determines that the computing power sharing service is completed.
- an embodiment of the present application provides a computing power sharing device based on network scheduling, which is applied to a distributed computing system.
- the distributed computing system includes an application function network element, a computing collaboration terminal, and a computing demand terminal;
- the computing power sharing device for network scheduling includes a processing unit, a communication unit and a storage unit, among which,
- the processing unit is configured to send the computing power service capability inquiry information to a preset target after the application function network element receives the computing power service request information from the computing collaboration terminal or computing demand terminal, wherein the preset The target includes the computing collaboration terminal and/or the computing demand terminal; and is used for the application function network element to receive response information from the preset target, and provide computing power sharing services based on the response information, wherein:
- the response information includes computing power demand response information or computing power collaboration response information; and notification information for the application function network element to receive notification information, wherein the notification information includes the preset target to determine that the computing power sharing service is completed The notification message issued at the time.
- an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above
- the above program includes instructions for executing the steps in any method in the first aspect of the embodiments of the present application.
- an embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute Part or all of the steps described in any method of the two aspects.
- the embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in this application.
- the computer program product may be a software installation package.
- a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed
- FIG. 1 is a schematic diagram of the architecture of a computing power sharing method based on network scheduling provided by an embodiment of the present application
- FIG. 2 is a schematic flowchart of another method for sharing computing power based on network scheduling provided by an embodiment of the present application
- FIG. 3 is a schematic flowchart of another method for sharing computing power based on network scheduling according to an embodiment of the present application
- FIG. 4 is a schematic flowchart of another method for sharing computing power based on network scheduling provided by an embodiment of the present application
- FIG. 5 is a schematic flowchart of another method for sharing computing power based on network scheduling provided by an embodiment of the present application
- FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- FIG. 7 is a block diagram of functional units of a computing power sharing device based on network scheduling provided by an embodiment of the present application.
- FIG. 1 is a schematic flow diagram of a method for sharing computing power based on network scheduling provided by an embodiment of the present application, which is applied to a distributed computing system, and the distributed computing system includes application function network elements and computing collaboration terminals. And computing demand side; the method includes:
- the computing power service request information includes computing power provision application information from the computing collaboration terminal or computing power demand application information from the computing demand terminal.
- the preset target includes the computing cooperation terminal and/or the computing demand terminal.
- the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information;
- the response information includes computing power demand response information or computing power collaboration response information.
- the computing power demand response information includes the identification of the computing demand terminal and the task calculation amount.
- the computing power collaboration response information includes the identity and computing capability of the computing collaboration terminal.
- S103 The application function network element receives the notification information.
- the notification information includes notification information sent when the preset target determines that the computing power sharing service is completed.
- a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed
- the computing demand terminal includes a first computing demand terminal and a second computing demand terminal.
- Sending computing power service capability inquiry information to a preset target includes: the application function network element receives the computing power provision application information from the computing cooperation terminal; The second computing demand terminal sends the computing power demand query information.
- the computing power provision application information includes the identity, computing capability, and/or available training set type of the computing collaboration terminal.
- the computing power demand query information includes computing power and/or training set type.
- the application function network element receives the computing power provision application information from the computing cooperation terminal, and according to the computing power in the computing power provision application information and the type of training set that can be provided, the application function network element Sending computing power demand query information to the first computing demand terminal and the second computing demand terminal respectively.
- the application function network element receives the computing power provision application information from the computing cooperation terminal, and the application function network element sends to the first computing demand terminal and the second computing demand terminal, respectively
- the computing power demand query information is conducive to better providing computing power sharing services when the computing collaboration end has surplus computing power, which is conducive to improving the efficiency and convenience of computing power sharing.
- the application function network element receiving response information from the preset target and providing a computing power sharing service according to the response information includes: the application function network element receiving the response information from the first Computing power demand response information of the demand side; the application function network element determines whether the computing cooperation terminal can provide computing power assistance according to the computing power demand response information and the computing power application information; the application function network If the element determines that the computing collaboration terminal can provide computing power assistance, then authorizes the computing power application service to the first computing demand terminal; the application function network element receives authorization acceptance response information from the first computing demand terminal; The computing collaboration terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection.
- the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount.
- the application function network element receives the computing power demand response information from the first computing demand end, and the application function network element determines the computing power demand response information and the computing power application information according to the computing power demand response information.
- the computing collaboration terminal can provide computing power assistance, the application function network element authorizes the computing power application service from the first computing demand terminal, and the application function network element receives authorization acceptance response information from the first computing demand terminal, Then, the computing cooperation terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection.
- the application function network element receives the computing power demand response information from the first computing demand end; the application function network element provides application information according to the computing power demand response information and the computing power, Judging whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, it will authorize computing power to apply for the service to the first computing demand terminal; The application function network element receives the authorization acceptance response information from the first computing demand terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal share data through a preset connection; it is conducive to the reasonable distribution of computing power , Which in turn helps to improve the rationality and efficiency of computing power sharing.
- the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information
- the method further includes: the application function network element receives the response information from the The computing power demand response information of the first computing demand terminal; the application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand response information and the computing power provision application information; the application If the function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends rejection information to the computing collaboration terminal; the application function network element ends the computing power sharing service.
- rejection information is used to reject the computing power provision application of the computing partner; the application function network element ends the computing power sharing service.
- the application function network element receives the computing power demand response information from the first computing demand end, and the application function network element determines the computing power demand response information and the computing power application information according to the computing power demand response information. If the computing collaboration terminal does not meet the requirements for providing computing power assistance, it is determined that the computing collaboration terminal cannot provide computing power assistance, and a rejection message is sent to the computing collaboration terminal, and the application function network element ends the computing power sharing service.
- the application function network element receives the computing power demand response information from the first computing demand end, and the application function network element provides application information according to the computing power demand response information and the computing power, It is determined whether the computing collaboration terminal can provide computing power assistance, and if the application function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends rejection information to the computing collaboration terminal, and the application function network element Ending the computing power sharing service is beneficial to improving the efficiency of computing power sharing processing.
- the computing collaboration terminal includes a first computing collaboration terminal and a second computing collaboration terminal.
- Sending computing power service capability inquiry information to a preset target includes: the application function network element receives the computing power demand application information from the computing demand terminal; The second computing collaboration terminal sends computing power collaboration inquiry information.
- the computing power demand application information includes the identity of the computing demand terminal, task calculation amount, computing capability, collaborative integration node, and/or available training set type.
- the computing power collaboration query information includes computing power and/or training set type.
- the application function network element receives the computing power demand application information from the computing demand end, and according to the task calculation amount and computing capacity in the computing power demand application information, the application function network element sends the computing power to the computing power demand application information.
- the first computing collaboration terminal and the second computing collaboration terminal send computing power collaboration query information.
- the application function network element receives the computing power demand application information from the computing demand terminal; the application function network element sends to the first computing collaboration terminal and the second computing collaboration terminal, respectively The computing power collaborative inquiry information; it is beneficial to obtain the computing demand of the computing demand side in a timely manner, thereby helping to improve the efficiency and accuracy of computing power sharing.
- the application function network element receiving response information from the preset target and providing computing power sharing service according to the response information includes: the application function network element receiving the response information from the preset target
- the response information of the target and the provision of computing power sharing service according to the response information include: the application function network element receives the first computing power collaboration response information from the first computing cooperation terminal; the application function network element receives The second computing power collaboration response information of the second computing collaboration terminal; the application function network element determines the computing power collaboration response information according to the computing power demand application information, the first computing power collaboration response information, and the second computing power collaboration response information.
- the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, it determines whether a target integration node needs to be selected according to the computing power demand application information; If the application function network element determines that a target integration node needs to be selected, it selects the target integration node according to the first computing power collaboration response information and the second computing power collaboration response information; the application function network element receives data from the first computing collaboration response information.
- the application function network element sends a computing power application to the computing demand terminal according to the authorization acceptance response information Consent information, and the identification code of the target integration node or/and the first identification code of the first computing collaboration terminal and the second identification code of the second computing collaboration terminal; the computing collaboration terminal, the application function The network element and the computing demand end share data through a preset connection.
- the computing power collaboration response information includes the identity and computing capability of the first computing collaboration terminal.
- the computing power collaboration response information includes the identity and computing capability of the second computing collaboration terminal.
- the computing power demand application information includes whether the computing demand terminal allows the computing power collaboration terminal to act as a target integration node.
- the application function network element determines that the computing demand end does not need to select an additional integration node, the computing demand end serves as an integration node.
- the application function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends computing power application rejection information to the computing demand terminal, and the process ends.
- the application function network element receives the first computing power cooperation response information from the first computing cooperation terminal; the application function network element receives the second computing power cooperation response information from the second computing cooperation terminal; The application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand application information, the first computing power collaboration response information, and the second computing power collaboration response information; the application function When the network element determines that the computing collaboration terminal can provide computing power assistance, it determines that a target integration node needs to be selected according to the computing power demand application information, and selects according to the first computing power collaboration response information and the second computing power collaboration response information Target integration node; the application function network element receives authorization acceptance response information from the first computing collaboration terminal and the second computing collaboration terminal, and determines the computing power computing service authorized by the computing collaboration terminal; the application function network element According to the authorization acceptance response information, send the computing power application consent information and the identification code of the target integration node to the computing demand terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal Data sharing via preset
- the application function network element receives the computing power cooperation response information from the first computing cooperation terminal; the application function network element is based on the computing power demand application information and the computing power collaboration response information, Select the first integration node and determine whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, authorize the first computing collaboration terminal Computing power computing service and sending the first identification code of the first integration node; the application function network element receives authorization acceptance response information from the first computing collaboration terminal and the second integration node of the first computing collaboration terminal The second identification code; the application function network element sends the second identification code to the computing demand terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection ; Conducive to improving the efficiency of the computing power sharing method based on network scheduling.
- the method further includes: the application function network element receives the notification information sent by the preset target when the computing power sharing service is completed; The application function network element counts the computing power contribution information of the computing collaboration terminal or computing demand terminal, so as to provide data reference when performing computing power sharing services next time.
- the computing power contribution information includes computing power information provided by at least one computing cooperation terminal.
- the application function network element After the application function network element receives the notification information sent by the computing collaboration terminal when the computing power sharing service is completed, the application function network element counts the computing power contribution information of the computing collaboration terminal, In order to provide data reference when performing computing power sharing service next time.
- the application function network element receives the notification information sent by the preset target when the computing power sharing service is completed; Contribution information of computing power in order to provide data reference for the next computing power sharing service; it is conducive to providing data support for subsequent computing power sharing services, and is conducive to improving the efficiency of computing power sharing.
- FIG. 2 is a schematic flowchart of another method for sharing computing power based on network scheduling provided by an embodiment of the present application, which is applied to electronic equipment; , The computing power sharing method based on network scheduling includes:
- the application function network element receives the computing power provision application information from the computing cooperation terminal;
- the application function network element sends computing power demand query information to the first computing demand terminal and the second computing demand terminal respectively.
- the application function network element receives the computing power demand response information from the first computing demand terminal, where the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount;
- the application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand response information and the computing power providing application information;
- the application function network element receives authorization acceptance response information from the first computing demand end;
- a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed
- the application function network element receives the computing power demand response information from the first computing demand end; the application function network element determines the computing power based on the computing power demand response information and the computing power application information Whether the collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, it will authorize the computing power application service to the first computing demand terminal; the application function network element Receive authorization acceptance response information from the first computing demand terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal share data through a preset connection; it is conducive to the reasonable distribution of computing power, which in turn is conducive to Improve the rationality and efficiency of computing power sharing.
- FIG. 3 is a schematic flowchart of another method for sharing computing power based on network scheduling provided by an embodiment of the present application, which is applied to electronic equipment; ,
- the computing power sharing method based on network scheduling includes:
- the application function network element receives the computing power provision application information from the computing cooperation terminal;
- the application function network element sends computing power demand query information to the first computing demand terminal and the second computing demand terminal respectively;
- the application function network element receives the computing power demand response information from the first computing demand terminal, where the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount;
- the application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand response information and the computing power providing application information;
- a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed
- the application function network element receives the computing power demand response information from the first computing demand end, and the application function network element determines the computing power demand response information based on the computing power demand response information and the computing power application information.
- the collaboration terminal can provide computing power assistance
- the application function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends a rejection message to the computing collaboration terminal, and the application function network element ends the computing power Power sharing service; helps to improve the efficiency of computing power sharing processing.
- Figures 4 and 5 are flowcharts of another possible example corresponding to the foregoing Figures 2 and 3.
- the embodiment corresponding to Figures 2 and 3 symmetrical demand and collaboration, and the computing demand end includes the first calculation The demand side and the second computing demand side, the application function network element, after receiving the computing power demand application information from the computing demand side, sends computing power service capability inquiry information to a preset target, including: the application function network element Receiving the computing power collaboration information from the computing collaboration end; the application function network element sends computing power collaboration inquiry information to the first computing collaboration end and the second computing collaboration end, respectively.
- FIG. 6 is a schematic structural diagram of an electronic device 600 provided by an embodiment of the present application, as shown in the figure.
- the electronic device 600 includes an application processor 610, a memory 620, a communication interface 630, and one or more programs 621, where the one or more programs 621 are stored in the memory 620 and are configured by the foregoing
- the application processor 610 executes, and the one or more programs 621 include instructions for executing the following steps;
- the application function network element After the application function network element receives the computing power service request information from the computing collaboration terminal or computing demand terminal, it sends computing power service capability inquiry information to a preset target, where the preset target includes the computing collaboration terminal And/or the computing demand end;
- the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, wherein the response information includes computing power demand response information or computing power collaboration response information;
- the application function network element receives notification information, where the notification information includes notification information sent when the preset target determines that the computing power sharing service is completed.
- a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed
- the computing demand terminal includes a first computing demand terminal and a second computing demand terminal.
- the instructions in the program are specifically used to perform the following operations: the application function network element receives the computing power provision application information from the computing cooperation terminal, wherein the computing power
- the force provision application information includes the identity, computing capabilities, and/or training set types that can be provided by the computing collaboration terminal; the application function network element sends computing to the first computing demand terminal and the second computing demand terminal, respectively The power demand query information, where the computing power demand query information includes computing power and/or training set type.
- the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the instructions in the program are specifically used to perform the following operations:
- the application function network element receives computing power demand response information from the first computing demand terminal, where the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount;
- the application function network element According to the computing power demand response information and the computing power providing application information, determine whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, Then, the computing power application service is authorized to the first computing demand terminal;
- the application function network element receives authorization acceptance response information from the first computing demand terminal; the computing collaboration terminal, the application function network element, and the Data sharing is performed on the computing demand side through a preset connection.
- the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the instructions in the program are specifically used to perform the following operations:
- the application function network element receives the computing power demand response information from the first computing demand terminal;
- the application function network element determines the computing collaboration terminal according to the computing power demand response information and the computing power application information Whether it can provide computing power assistance; if the application function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends rejection information to the computing collaboration terminal, where the rejection information is used to reject the computing
- the computing collaboration terminal includes a first computing collaboration terminal and a second computing collaboration terminal.
- the instructions in the program are specifically used to perform the following operations: the application function network element receives computing power demand application information from the computing demand end, wherein the computing power
- the power demand application information includes the identity of the computing demand terminal, task calculation amount, computing capability, collaborative integration node and/or the training set type that can be provided;
- the second computing collaboration terminal sends computing power collaboration query information, where the computing power collaboration query information includes computing capabilities and/or training set types.
- the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the instructions in the program are specifically used to perform the following operations:
- the application function network element receives first computing power collaboration response information from the first computing collaboration terminal, where the first computing power collaboration response information includes the identity and computing capabilities of the first computing collaboration terminal;
- the application The function network element receives second computing power collaboration response information from the second computing cooperation terminal, where the second computing power collaboration response information includes the identity and computing capabilities of the second collaboration terminal;
- the application function network element According to the computing power demand application information, the first computing power collaboration response information, and the second computing power collaboration response information, it is determined whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines If the computing collaboration terminal can provide computing power assistance, it will determine whether a target integration node needs to be selected according to the computing power demand application information; if the application function network element determines that the target integration node needs to be selected, it will collaborate according to the first computing power
- the instructions in the program are specifically used to perform the following operations: the application function network element receives the preset target in the computing power The notification information sent when the sharing service is completed; the application function network element counts the computing power contribution information of the computing collaboration terminal or computing demand terminal, so as to provide data reference when the computing power sharing service is performed next time.
- an electronic device includes hardware structures and/or software modules corresponding to each function.
- this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
- the embodiment of the present application may divide the electronic device into functional units according to the foregoing method examples.
- each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
- FIG. 7 is a functional unit composition block diagram of a computing power sharing device 700 based on network scheduling involved in an embodiment of the present application.
- the computing power sharing device 700 based on network scheduling is applied to a distributed computing system, the distributed computing system includes an application function network element, a computing collaboration terminal, and a computing demand terminal;
- the computing power sharing device based on network scheduling includes a processing unit 701, a communication unit 702, and a storage unit 703, where:
- the processing unit 701 is configured to send the computing power service capability inquiry information to a preset target after the application function network element receives the computing power service request information from the computing collaboration terminal or computing demand terminal, where the prediction It is assumed that the target includes the computing collaboration terminal and/or the computing demand terminal; and the application function network element is used to receive response information from the preset target, and provide computing power sharing service according to the response information, where The response information includes computing power demand response information or computing power collaboration response information; and notification information for the application function network element to receive notification information, wherein the notification information includes the preset target determining the computing power sharing service The notification message sent when it is completed.
- a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed
- the computing demand terminal includes a first computing demand terminal and a second computing demand terminal.
- the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand terminal, Sending computing power service capability inquiry information to a preset target
- the processing unit 701 is specifically configured to: the application function network element receives computing power providing application information from the computing collaboration terminal, wherein the computing power providing application information Including the identity, computing capability, and/or training set type of the computing collaboration terminal; the application function network element sends computing power demand query information to the first computing demand terminal and the second computing demand terminal, respectively , Wherein the computing power demand query information includes computing power and/or training set type.
- the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information
- the processing unit 701 is specifically configured to: The element receives the computing power demand response information from the first computing demand terminal, where the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount; the application function network element is based on the computing power demand response information.
- Power demand response information and the computing power providing application information to determine whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, it will
- the first computing demand terminal authorizes the computing power application service; the application function network element receives authorization acceptance response information from the first computing demand terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal pass Preset connection for data sharing.
- the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information
- the processing unit 701 is specifically further configured to: The network element receives the computing power demand response information from the first computing demand terminal; the application function network element determines whether the computing collaboration terminal can provide computing power based on the computing power demand response information and the computing power provision application information. Power assistance; if the application function network element determines that the computing collaboration end cannot provide computing power assistance, it sends rejection information to the computing collaboration end, where the rejection information is used to reject all of the computing collaboration party
- the computing power provision application the application function network element ends the computing power sharing service.
- the computing collaboration terminal includes a first computing collaboration terminal and a second computing collaboration terminal.
- the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand terminal, Sending computing power service capability inquiry information to a preset target
- the processing unit 701 is specifically configured to: the application function network element receives computing power demand application information from the computing demand end, wherein the computing power demand application information Including the identity of the computing demand terminal, task calculation amount, computing capability, collaborative integration node and/or the type of training set that can be provided;
- the collaboration terminal sends computing power collaboration query information, where the computing power collaboration query information includes computing capabilities and/or training set types.
- the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information
- the processing unit 701 is specifically configured to: The element receives the first computing power collaboration response information from the first computing collaboration terminal, where the first computing power collaboration response information includes the identity and computing capabilities of the first computing collaboration terminal; the application function network element receives The second computing power collaboration response information from the second computing collaboration terminal, where the second computing power collaboration response information includes the identity and computing capabilities of the second collaboration terminal; the application function network element is based on the computing power Power demand application information, the first computing power collaboration response information, and the second computing power collaboration response information, determine whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal If it is able to provide computing power assistance, it is determined whether the target integration node needs to be selected according to the computing power demand application information; if the application function network element determines that the target integration node needs to be selected, it will use the first computing power collaboration response information and the first computing power coordination
- the computing power collaboration response information selects the target integration node; the application function network element receives authorization acceptance response information from the first computing collaboration terminal and the second computing collaboration terminal, and determines that the computing collaboration terminal authorizes computing power computing services
- the application function network element sends the computing power application consent information to the computing demand terminal according to the authorization acceptance response information, and the identification code of the target integration node or/and the first computing cooperation terminal
- the identification code and the second identification code of the second computing collaboration terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection.
- the processing unit 701 is specifically further configured to: the application function network element receives the preset target when the computing power sharing service is completed The notification information sent; the application function network element counts the computing power contribution information of the computing collaboration terminal or computing demand terminal, so as to provide data reference when the computing power sharing service is performed next time.
- An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as recorded in the above method embodiment ,
- the above-mentioned computer includes electronic equipment.
- the embodiments of the present application also provide a computer program product.
- the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program. Part or all of the steps of the method.
- the computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
- the disclosed device may be implemented in other ways.
- the device embodiments described above are only illustrative, for example, the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
- the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
- the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory.
- the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory.
- a number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the foregoing methods of the various embodiments of the present application.
- the aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
- the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disc, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Disclosed are a network-scheduling-based computing power sharing method, and a related product, which are applied to a distributed computing system, wherein the distributed computing system comprises an application function network element, a computing coordination end and a computing demand end. The method comprises: first, after receiving computing power service request information from a computing coordination end or a computing demand end, an application function network element sends computing power service capability query information to a preset target, wherein the preset target comprises the computing coordination end and/or the computing demand end; then the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information; and finally, the application function network element receives notification information, wherein the notification information comprises notification information sent when the preset target determines that the computing power sharing service is completed. By means of the method, the improvement of the efficiency and convenience of computing power sharing is facilitated.
Description
本申请涉及网络通讯技术领域,具体涉及一种基于网络调度的算力共享方法及相关产品。This application relates to the field of network communication technology, and in particular to a computing power sharing method based on network scheduling and related products.
随着科学技术的不断发展,电子技术也得到了飞速的发展,电子产品的种类也越来越多,人们也享受到了科技发展带来的各种便利。现在人们可以通过各种类型的电子设备,享受随着科技发展带来的舒适生活。例如,笔记本电脑、台式电脑、智能手机、平板电脑等智能终端电子设备已经成为人们生活中一个重要的组成部分。With the continuous development of science and technology, electronic technology has also been developed rapidly, and there are more and more types of electronic products, and people have also enjoyed various conveniences brought about by the development of science and technology. Now people can enjoy the comfortable life brought about by the development of science and technology through various types of electronic devices. For example, smart terminal electronic devices such as notebook computers, desktop computers, smart phones, and tablet computers have become an important part of people's lives.
现有的算力共享方式大多是分布式计算,一种是从设计本身就是将网络(包括以太网、蜂窝网、WiFi、蓝牙等)作为管道,不关注具体传输,而是在其上搭建分布式系统,实现局部的、有限的分布式计算;另一种是通过车或无人机的设备到设备之间的通信实现自组网,导致不同设备之间的信任问题还是需要通过网络侧来实现,且能够参与计算的设备有限。Most of the existing computing power sharing methods are distributed computing. One is that the design itself uses the network (including Ethernet, cellular network, WiFi, Bluetooth, etc.) as a pipeline, and does not pay attention to specific transmission, but builds distribution on it. Type system to realize partial and limited distributed computing; the other is to realize ad hoc network through the communication between the device of the car or UAV, and the trust problem between different devices still needs to be done through the network side. Realization, and the equipment that can participate in the calculation is limited.
发明内容Summary of the invention
本申请实施例提供一种问答方法、装置、设备及计算机可读存储介质,用于提高用户准确找到自己所需答案的速度。本申请实施例提供了一种基于网络调度的算力共享方法及相关产品,以期提高烘焙控制的高效性和便捷性。The embodiments of the present application provide a question and answer method, device, device, and computer-readable storage medium, which are used to improve the speed of users accurately finding the answers they need. The embodiments of the present application provide a computing power sharing method and related products based on network scheduling, in order to improve the efficiency and convenience of baking control.
第一方面,本申请实施例提供一种基于网络调度的算力共享方法,应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述方法包括:In the first aspect, the embodiments of the present application provide a computing power sharing method based on network scheduling, which is applied to a distributed computing system, and the distributed computing system includes an application function network element, a computing collaboration terminal, and a computing demand terminal; the method include:
所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端;After the application function network element receives the computing power service request information from the computing collaboration terminal or computing demand terminal, it sends computing power service capability inquiry information to a preset target, where the preset target includes the computing collaboration terminal And/or the computing demand end;
所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息;The application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, wherein the response information includes computing power demand response information or computing power collaboration response information;
所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息。The application function network element receives notification information, where the notification information includes notification information sent when the preset target determines that the computing power sharing service is completed.
第二方面,本申请实施例提供一种基于网络调度的算力共享装置,应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述基于网络调度的算力共享装置包括处理单元、通信单元和存储单元,其中,In the second aspect, an embodiment of the present application provides a computing power sharing device based on network scheduling, which is applied to a distributed computing system. The distributed computing system includes an application function network element, a computing collaboration terminal, and a computing demand terminal; The computing power sharing device for network scheduling includes a processing unit, a communication unit and a storage unit, among which,
所述处理单元,用于所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端;以及用于所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息;以及用于所述应用功能网元接收通知信息,其中,所述通知 信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息。The processing unit is configured to send the computing power service capability inquiry information to a preset target after the application function network element receives the computing power service request information from the computing collaboration terminal or computing demand terminal, wherein the preset The target includes the computing collaboration terminal and/or the computing demand terminal; and is used for the application function network element to receive response information from the preset target, and provide computing power sharing services based on the response information, wherein: The response information includes computing power demand response information or computing power collaboration response information; and notification information for the application function network element to receive notification information, wherein the notification information includes the preset target to determine that the computing power sharing service is completed The notification message issued at the time.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above The above program includes instructions for executing the steps in any method in the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第二方面任一方法中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute Part or all of the steps described in any method of the two aspects.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第二方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, the embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in this application. For example, part or all of the steps described in any method of the second aspect. The computer program product may be a software installation package.
可以看出,本申请实施例中,提供了一种基于网络调度的算力共享方法及相关产品,应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述方法包括:首先,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端,接着所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息,最后所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息;通过上述方法,将算力共享的主要功能都集中在网络侧,减少了需求方和协作方的终端类型、网络结构、地理位置的限制,且有利于提高应用功能核心网的受信程度;有利于提高算力共享的高效性和便捷性。It can be seen that, in the embodiments of the present application, a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed The notification information issued; through the above method, the main functions of computing power sharing are concentrated on the network side, reducing the terminal type, network structure, and geographic location restrictions of the demanding side and the collaborating party, and helping to improve the application function core network The degree of trustworthiness; is conducive to improving the efficiency and convenience of computing power sharing.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1是本申请实施例提供的一种基于网络调度的算力共享方法的架构示意图;FIG. 1 is a schematic diagram of the architecture of a computing power sharing method based on network scheduling provided by an embodiment of the present application;
图2是本申请实施例提供的另一种基于网络调度的算力共享方法的流程示意图;2 is a schematic flowchart of another method for sharing computing power based on network scheduling provided by an embodiment of the present application;
图3是本申请实施例提供的另一种基于网络调度的算力共享方法的流程示意图;FIG. 3 is a schematic flowchart of another method for sharing computing power based on network scheduling according to an embodiment of the present application;
图4是本申请实施例提供的另一种基于网络调度的算力共享方法的流程示意图;4 is a schematic flowchart of another method for sharing computing power based on network scheduling provided by an embodiment of the present application;
图5是本申请实施例提供的另一种基于网络调度的算力共享方法的流程示意图;5 is a schematic flowchart of another method for sharing computing power based on network scheduling provided by an embodiment of the present application;
图6是本申请实施例提供的一种电子设备的结构示意图;FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图7是本申请实施例提供的一种基于网络调度的算力共享装置的功能单元组成框图。FIG. 7 is a block diagram of functional units of a computing power sharing device based on network scheduling provided by an embodiment of the present application.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the application, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific sequence. In addition, the terms "including" and "having" and any variations of them are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。The reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments.
下面对本申请实施例进行详细介绍。The following describes the embodiments of the application in detail.
请参阅图1,图1是本申请实施例提供了一种基于网络调度的算力共享方法的流程示意图,应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flow diagram of a method for sharing computing power based on network scheduling provided by an embodiment of the present application, which is applied to a distributed computing system, and the distributed computing system includes application function network elements and computing collaboration terminals. And computing demand side; the method includes:
S101,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息;S101: After the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand terminal, it sends computing power service capability inquiry information to a preset target;
其中,所述算力服务请求信息包括来自所述计算协作端的算力提供申请信息或来自所述计算需求端的算力需求申请信息。Wherein, the computing power service request information includes computing power provision application information from the computing collaboration terminal or computing power demand application information from the computing demand terminal.
其中,所述预设目标包括所述计算协作端和/或所述计算需求端。Wherein, the preset target includes the computing cooperation terminal and/or the computing demand terminal.
S102,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务;S102, the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information;
其中,所述响应信息包括算力需求响应信息或算力协作响应信息。Wherein, the response information includes computing power demand response information or computing power collaboration response information.
其中,所述算力需求响应信息包括所述计算需求端的身份标识和任务计算量。Wherein, the computing power demand response information includes the identification of the computing demand terminal and the task calculation amount.
其中,所述算力协作响应信息包括所述计算协作端的身份标识和计算能力。Wherein, the computing power collaboration response information includes the identity and computing capability of the computing collaboration terminal.
S103,所述应用功能网元接收通知信息。S103: The application function network element receives the notification information.
其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息。Wherein, the notification information includes notification information sent when the preset target determines that the computing power sharing service is completed.
可以看出,本申请实施例中,提供了一种基于网络调度的算力共享方法及相关产品,应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述方法包括:首先,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端,接着所述应用功能网元接收来自所述预设目标的响 应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息,最后所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息;通过上述方法,将算力共享的主要功能都集中在网络侧,减少了需求方和协作方的终端类型、网络结构、地理位置的限制,且有利于提高应用功能核心网的受信程度;有利于提高算力共享的高效性和便捷性。It can be seen that, in the embodiments of the present application, a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed The notification information issued; through the above method, the main functions of computing power sharing are concentrated on the network side, reducing the terminal type, network structure, and geographic location restrictions of the demanding side and the collaborating party, and helping to improve the application function core network The degree of trustworthiness; is conducive to improving the efficiency and convenience of computing power sharing.
在一个可能的示例中,所述计算需求端包括第一计算需求端和第二计算需求端,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,包括:所述应用功能网元接收到来自所述计算协作端的算力提供申请信息;所述应用功能网元分别向所述第一计算需求端和所述第二计算需求端发送算力需求询问信息。In a possible example, the computing demand terminal includes a first computing demand terminal and a second computing demand terminal. After the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand terminal, Sending computing power service capability inquiry information to a preset target includes: the application function network element receives the computing power provision application information from the computing cooperation terminal; The second computing demand terminal sends the computing power demand query information.
其中,所述算力提供申请信息包括所述计算协作端的身份标识、计算能力和/或可提供的训练集类型。Wherein, the computing power provision application information includes the identity, computing capability, and/or available training set type of the computing collaboration terminal.
其中,所述算力需求询问信息包括计算能力和/或训练集类型。Wherein, the computing power demand query information includes computing power and/or training set type.
具体实现中,所述应用功能网元接收到来自所述计算协作端的算力提供申请信息,根据所述算力提供申请信息中的计算能力和可提供的训练集类型,所述应用功能网元分别向所述第一计算需求端和所述第二计算需求端发送算力需求询问信息。In specific implementation, the application function network element receives the computing power provision application information from the computing cooperation terminal, and according to the computing power in the computing power provision application information and the type of training set that can be provided, the application function network element Sending computing power demand query information to the first computing demand terminal and the second computing demand terminal respectively.
可见,本示例中,所述应用功能网元接收到来自所述计算协作端的算力提供申请信息,所述应用功能网元分别向所述第一计算需求端和所述第二计算需求端发送算力需求询问信息,有利于在所述计算协作端有多余算力的情况下,更好的提供算力共享服务,有利于提高算力共享的高效性和便捷性。It can be seen that, in this example, the application function network element receives the computing power provision application information from the computing cooperation terminal, and the application function network element sends to the first computing demand terminal and the second computing demand terminal, respectively The computing power demand query information is conducive to better providing computing power sharing services when the computing collaboration end has surplus computing power, which is conducive to improving the efficiency and convenience of computing power sharing.
在一个可能的示例中,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,包括:所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息;所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则向所述第一计算需求端授权算力申请服务;所述应用功能网元接收来自所述第一计算需求端的授权接受响应信息;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享。In a possible example, the application function network element receiving response information from the preset target and providing a computing power sharing service according to the response information includes: the application function network element receiving the response information from the first Computing power demand response information of the demand side; the application function network element determines whether the computing cooperation terminal can provide computing power assistance according to the computing power demand response information and the computing power application information; the application function network If the element determines that the computing collaboration terminal can provide computing power assistance, then authorizes the computing power application service to the first computing demand terminal; the application function network element receives authorization acceptance response information from the first computing demand terminal; The computing collaboration terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection.
其中,所述算力需求响应信息包括所述第一计算需求端的身份标识和任务计算量。Wherein, the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount.
具体实现中,所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息,所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端能够提供算力帮助,所述应用功能网元向所述第一计算需求端授权算力申请服务,所述应用功能网元接收来自所述第一计算需求端的授权接受响应信息,接着所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享。In a specific implementation, the application function network element receives the computing power demand response information from the first computing demand end, and the application function network element determines the computing power demand response information and the computing power application information according to the computing power demand response information. The computing collaboration terminal can provide computing power assistance, the application function network element authorizes the computing power application service from the first computing demand terminal, and the application function network element receives authorization acceptance response information from the first computing demand terminal, Then, the computing cooperation terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection.
可见,本示例中,所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息;所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计 算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则向所述第一计算需求端授权算力申请服务;所述应用功能网元接收来自所述第一计算需求端的授权接受响应信息;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享;有利于合理分配算力,进而有利于提高算力共享的合理性和高效性。It can be seen that, in this example, the application function network element receives the computing power demand response information from the first computing demand end; the application function network element provides application information according to the computing power demand response information and the computing power, Judging whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, it will authorize computing power to apply for the service to the first computing demand terminal; The application function network element receives the authorization acceptance response information from the first computing demand terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal share data through a preset connection; it is conducive to the reasonable distribution of computing power , Which in turn helps to improve the rationality and efficiency of computing power sharing.
在一个可能的示例中,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,方法还包括:所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息;所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端不能提供算力帮助,则向所述计算协作端发送拒绝信息;所述应用功能网元结束所述算力共享服务。In a possible example, the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the method further includes: the application function network element receives the response information from the The computing power demand response information of the first computing demand terminal; the application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand response information and the computing power provision application information; the application If the function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends rejection information to the computing collaboration terminal; the application function network element ends the computing power sharing service.
其中,所述拒绝信息用于拒绝所述计算协作方的所述算力提供申请;所述应用功能网元结束所述算力共享服务。Wherein, the rejection information is used to reject the computing power provision application of the computing partner; the application function network element ends the computing power sharing service.
具体实现中,所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息,所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端不满足提供算力帮助的要求,确定所述计算协作端不能提供算力帮助,向所述计算协作端发送拒绝信息,所述应用功能网元结束所述算力共享服务。In a specific implementation, the application function network element receives the computing power demand response information from the first computing demand end, and the application function network element determines the computing power demand response information and the computing power application information according to the computing power demand response information. If the computing collaboration terminal does not meet the requirements for providing computing power assistance, it is determined that the computing collaboration terminal cannot provide computing power assistance, and a rejection message is sent to the computing collaboration terminal, and the application function network element ends the computing power sharing service.
可见,本示例中,所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息,所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助,所述应用功能网元若判断出所述计算协作端不能提供算力帮助,则向所述计算协作端发送拒绝信息,所述应用功能网元结束所述算力共享服务;有利于提高算力共享处理的高效性。It can be seen that, in this example, the application function network element receives the computing power demand response information from the first computing demand end, and the application function network element provides application information according to the computing power demand response information and the computing power, It is determined whether the computing collaboration terminal can provide computing power assistance, and if the application function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends rejection information to the computing collaboration terminal, and the application function network element Ending the computing power sharing service is beneficial to improving the efficiency of computing power sharing processing.
在一个可能的示例中,所述计算协作端包括第一计算协作端和第二计算协作端,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,包括:所述应用功能网元接收到来自所述计算需求端的算力需求申请信息;所述应用功能网元分别向所述第一计算协作端和所述第二计算协作端发送算力协作询问信息。In a possible example, the computing collaboration terminal includes a first computing collaboration terminal and a second computing collaboration terminal. After the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand terminal, Sending computing power service capability inquiry information to a preset target includes: the application function network element receives the computing power demand application information from the computing demand terminal; The second computing collaboration terminal sends computing power collaboration inquiry information.
其中,所述算力需求申请信息包括所述计算需求端的身份标识、任务计算量、计算能力、协作整合节点和/或可提供的训练集类型。Wherein, the computing power demand application information includes the identity of the computing demand terminal, task calculation amount, computing capability, collaborative integration node, and/or available training set type.
其中,所述算力协作询问信息包括计算能力和/或训练集类型。Wherein, the computing power collaboration query information includes computing power and/or training set type.
具体实现中,所述应用功能网元接收到来自所述计算需求端的算力需求申请信息,根据所述算力需求申请信息中的任务计算量和计算能力,所述应用功能网元分别向所述第一计算协作端和所述第二计算协作端发送算力协作询问信息。In a specific implementation, the application function network element receives the computing power demand application information from the computing demand end, and according to the task calculation amount and computing capacity in the computing power demand application information, the application function network element sends the computing power to the computing power demand application information. The first computing collaboration terminal and the second computing collaboration terminal send computing power collaboration query information.
可见,本示例中,所述应用功能网元接收到来自所述计算需求端的算力需求申请信息;所述应用功能网元分别向所述第一计算协作端和所述第二计算协作端发送算力协作询问信息;有利于及时获取所述计算需求端的计算需求,进而有利于提高算力共享的高效性和准 确性。It can be seen that, in this example, the application function network element receives the computing power demand application information from the computing demand terminal; the application function network element sends to the first computing collaboration terminal and the second computing collaboration terminal, respectively The computing power collaborative inquiry information; it is beneficial to obtain the computing demand of the computing demand side in a timely manner, thereby helping to improve the efficiency and accuracy of computing power sharing.
在一个可能的示例中,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,包括:所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,包括:所述应用功能网元接收来自所述第一计算协作端的第一算力协作响应信息;所述应用功能网元接收来自所述第二计算协作端的第二算力协作响应信息;所述应用功能网元根据所述算力需求申请信息、所述第一算力协作响应信息和第二算力协作响应信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则根据所述算力需求申请信息确定是否需要选择目标整合节点;所述应用功能网元若确定需要选择目标整合节点,则根据所述第一算力协作响应信息和第二算力协作响应信息选择目标整合节点;所述应用功能网元接收来自所述第一计算协作端和所述第二计算协作端的授权接受响应信息,确定所述计算协作端授权算力计算服务;所述应用功能网元根据所述授权接受响应信息,向所述计算需求端发送算力申请同意信息,以及所述目标整合节点的身份标识码或/和所述第一计算协作端的第一标识码和所述第二计算协作端的第二标识码;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享。In a possible example, the application function network element receiving response information from the preset target and providing computing power sharing service according to the response information includes: the application function network element receiving the response information from the preset target The response information of the target and the provision of computing power sharing service according to the response information include: the application function network element receives the first computing power collaboration response information from the first computing cooperation terminal; the application function network element receives The second computing power collaboration response information of the second computing collaboration terminal; the application function network element determines the computing power collaboration response information according to the computing power demand application information, the first computing power collaboration response information, and the second computing power collaboration response information. Whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, it determines whether a target integration node needs to be selected according to the computing power demand application information; If the application function network element determines that a target integration node needs to be selected, it selects the target integration node according to the first computing power collaboration response information and the second computing power collaboration response information; the application function network element receives data from the first computing collaboration response information. And the authorization acceptance response information of the second computing collaboration terminal to determine that the computing collaboration terminal authorizes the computing power computing service; the application function network element sends a computing power application to the computing demand terminal according to the authorization acceptance response information Consent information, and the identification code of the target integration node or/and the first identification code of the first computing collaboration terminal and the second identification code of the second computing collaboration terminal; the computing collaboration terminal, the application function The network element and the computing demand end share data through a preset connection.
其中,所述算力协作响应信息包括所述第一计算协作端的身份标识和计算能力。Wherein, the computing power collaboration response information includes the identity and computing capability of the first computing collaboration terminal.
其中,所述算力协作响应信息包括所述第二计算协作端的身份标识和计算能力。Wherein, the computing power collaboration response information includes the identity and computing capability of the second computing collaboration terminal.
其中,所述算力需求申请信息包括所述计算需求端是否允许所述算力协作端充当目标整合节点。Wherein, the computing power demand application information includes whether the computing demand terminal allows the computing power collaboration terminal to act as a target integration node.
其中,若所述应用功能网元确定所述计算需求端不需要额外选择整合节点,则所述计算需求端充当整合节点。Wherein, if the application function network element determines that the computing demand end does not need to select an additional integration node, the computing demand end serves as an integration node.
其中,所述应用功能网元若判断出所述计算协作端不能提供算力帮助,向所述计算需求端发送算力申请拒绝信息,流程结束。Wherein, if the application function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends computing power application rejection information to the computing demand terminal, and the process ends.
具体实现中,所述应用功能网元接收来自所述第一计算协作端的第一算力协作响应信息;所述应用功能网元接收来自所述第二计算协作端的第二算力协作响应信息;所述应用功能网元根据所述算力需求申请信息、所述第一算力协作响应信息和第二算力协作响应信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元判断出所述计算协作端能够提供算力帮助,则根据所述算力需求申请信息确定需要选择目标整合节点,根据所述第一算力协作响应信息和第二算力协作响应信息选择目标整合节点;所述应用功能网元接收来自所述第一计算协作端和所述第二计算协作端的授权接受响应信息,确定所述计算协作端授权算力计算服务;所述应用功能网元根据所述授权接受响应信息,向所述计算需求端发送算力申请同意信息,以及所述目标整合节点的身份标识码;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享。In a specific implementation, the application function network element receives the first computing power cooperation response information from the first computing cooperation terminal; the application function network element receives the second computing power cooperation response information from the second computing cooperation terminal; The application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand application information, the first computing power collaboration response information, and the second computing power collaboration response information; the application function When the network element determines that the computing collaboration terminal can provide computing power assistance, it determines that a target integration node needs to be selected according to the computing power demand application information, and selects according to the first computing power collaboration response information and the second computing power collaboration response information Target integration node; the application function network element receives authorization acceptance response information from the first computing collaboration terminal and the second computing collaboration terminal, and determines the computing power computing service authorized by the computing collaboration terminal; the application function network element According to the authorization acceptance response information, send the computing power application consent information and the identification code of the target integration node to the computing demand terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal Data sharing via preset connections.
可见,本示例中,所述应用功能网元接收来自所述第一计算协作端的算力协作响应信息;所述应用功能网元根据所述算力需求申请信息和所述算力协作响应信息,选择第一整合节点,并判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计 算协作端能够提供算力帮助,则向所述第一计算协作端授权算力计算服务并发送所述第一整合节点的第一标识码;所述应用功能网元接收来自所述第一计算协作端的授权接受响应信息和所述第一计算协作端的第二整合节点的第二标识码;所述应用功能网元向所述计算需求端发送所述第二标识码;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享;有利于提高基于网络调度的算力共享方法的高效性。It can be seen that, in this example, the application function network element receives the computing power cooperation response information from the first computing cooperation terminal; the application function network element is based on the computing power demand application information and the computing power collaboration response information, Select the first integration node and determine whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, authorize the first computing collaboration terminal Computing power computing service and sending the first identification code of the first integration node; the application function network element receives authorization acceptance response information from the first computing collaboration terminal and the second integration node of the first computing collaboration terminal The second identification code; the application function network element sends the second identification code to the computing demand terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection ; Conducive to improving the efficiency of the computing power sharing method based on network scheduling.
在一个可能的示例中,所述应用功能网元接收通知信息后,方法还包括:所述应用功能网元接收到所述预设目标在所述算力共享服务完成时发出的的通知信息;所述应用功能网元统计所述计算协作端或计算需求端的算力贡献信息,以便下次进行算力共享服务时提供数据参考。In a possible example, after the application function network element receives the notification information, the method further includes: the application function network element receives the notification information sent by the preset target when the computing power sharing service is completed; The application function network element counts the computing power contribution information of the computing collaboration terminal or computing demand terminal, so as to provide data reference when performing computing power sharing services next time.
其中,所述算力贡献信息包括至少一个所述计算协作端提供的算力信息。Wherein, the computing power contribution information includes computing power information provided by at least one computing cooperation terminal.
具体实现中,所述应用功能网元接收到所述计算协作端在所述算力共享服务完成时发出的的通知信息后,所述应用功能网元统计所述计算协作端的算力贡献信息,以便下次进行算力共享服务时提供数据参考。In a specific implementation, after the application function network element receives the notification information sent by the computing collaboration terminal when the computing power sharing service is completed, the application function network element counts the computing power contribution information of the computing collaboration terminal, In order to provide data reference when performing computing power sharing service next time.
可见,本示例中,所述应用功能网元接收到所述预设目标在所述算力共享服务完成时发出的的通知信息;所述应用功能网元统计所述计算协作端或计算需求端的算力贡献信息,以便下次进行算力共享服务时提供数据参考;有利于为后续的算力共享服务提供数据支撑,有利于提高算力共享的高效性。It can be seen that, in this example, the application function network element receives the notification information sent by the preset target when the computing power sharing service is completed; Contribution information of computing power in order to provide data reference for the next computing power sharing service; it is conducive to providing data support for subsequent computing power sharing services, and is conducive to improving the efficiency of computing power sharing.
与上述图1所示的实施例一致的,请参阅图2,图2是本申请实施例提供的另一种基于网络调度的算力共享方法的流程示意图,应用于电子设备;如图所示,本基于网络调度的算力共享方法包括:Consistent with the embodiment shown in FIG. 1 above, please refer to FIG. 2. FIG. 2 is a schematic flowchart of another method for sharing computing power based on network scheduling provided by an embodiment of the present application, which is applied to electronic equipment; , The computing power sharing method based on network scheduling includes:
S201,所述应用功能网元接收到来自所述计算协作端的算力提供申请信息;S201: The application function network element receives the computing power provision application information from the computing cooperation terminal;
S202,所述应用功能网元分别向所述第一计算需求端和所述第二计算需求端发送算力需求询问信息;S202: The application function network element sends computing power demand query information to the first computing demand terminal and the second computing demand terminal respectively.
S203,所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息,其中,所述算力需求响应信息包括所述第一计算需求端的身份标识和任务计算量;S203: The application function network element receives the computing power demand response information from the first computing demand terminal, where the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount;
S204,所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;S204: The application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand response information and the computing power providing application information;
S205,所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则向所述第一计算需求端授权算力申请服务;S205: If the application function network element determines that the computing collaboration terminal can provide computing power assistance, it authorizes the computing power application service to the first computing demand terminal;
S206,所述应用功能网元接收来自所述第一计算需求端的授权接受响应信息;S206: The application function network element receives authorization acceptance response information from the first computing demand end;
S207,所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享;S207, the computing collaboration terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection;
S208,所述应用功能网元接收通知信息。S208: The application function network element receives the notification information.
可以看出,本申请实施例中,提供了一种基于网络调度的算力共享方法及相关产品,应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求 端;所述方法包括:首先,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端,接着所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息,最后所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息;通过上述方法,将算力共享的主要功能都集中在网络侧,减少了需求方和协作方的终端类型、网络结构、地理位置的限制,且有利于提高应用功能核心网的受信程度;有利于提高算力共享的高效性和便捷性。It can be seen that, in the embodiments of the present application, a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed The notification information issued; through the above method, the main functions of computing power sharing are concentrated on the network side, reducing the terminal type, network structure, and geographic location restrictions of the demanding side and the collaborating party, and helping to improve the application function core network The degree of trustworthiness; is conducive to improving the efficiency and convenience of computing power sharing.
此外,所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息;所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则向所述第一计算需求端授权算力申请服务;所述应用功能网元接收来自所述第一计算需求端的授权接受响应信息;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享;有利于合理分配算力,进而有利于提高算力共享的合理性和高效性。In addition, the application function network element receives the computing power demand response information from the first computing demand end; the application function network element determines the computing power based on the computing power demand response information and the computing power application information Whether the collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, it will authorize the computing power application service to the first computing demand terminal; the application function network element Receive authorization acceptance response information from the first computing demand terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal share data through a preset connection; it is conducive to the reasonable distribution of computing power, which in turn is conducive to Improve the rationality and efficiency of computing power sharing.
与上述图1所示的实施例一致的,请参阅图3,图3是本申请实施例提供的另一种基于网络调度的算力共享方法的流程示意图,应用于电子设备;如图所示,本基于网络调度的算力共享方法包括:Consistent with the embodiment shown in FIG. 1 above, please refer to FIG. 3. FIG. 3 is a schematic flowchart of another method for sharing computing power based on network scheduling provided by an embodiment of the present application, which is applied to electronic equipment; , The computing power sharing method based on network scheduling includes:
S301,所述应用功能网元接收到来自所述计算协作端的算力提供申请信息;S301, the application function network element receives the computing power provision application information from the computing cooperation terminal;
S302,所述应用功能网元分别向所述第一计算需求端和所述第二计算需求端发送算力需求询问信息;S302: The application function network element sends computing power demand query information to the first computing demand terminal and the second computing demand terminal respectively;
S303,所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息,其中,所述算力需求响应信息包括所述第一计算需求端的身份标识和任务计算量;S303: The application function network element receives the computing power demand response information from the first computing demand terminal, where the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount;
S304,所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;S304: The application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand response information and the computing power providing application information;
S305,所述应用功能网元若判断出所述计算协作端不能提供算力帮助,则向所述计算协作端发送拒绝信息,其中,所述拒绝信息用于拒绝所述计算协作方的所述算力提供申请;S305: If the application function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends rejection information to the computing collaboration terminal, where the rejection information is used to reject the computing collaboration party’s Hash power supply application;
S306,所述应用功能网元结束所述算力共享服务。S306: The application function network element ends the computing power sharing service.
可以看出,本申请实施例中,提供了一种基于网络调度的算力共享方法及相关产品,应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述方法包括:首先,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端,接着所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息,最后所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息;通过上述方法,将算力 共享的主要功能都集中在网络侧,减少了需求方和协作方的终端类型、网络结构、地理位置的限制,且有利于提高应用功能核心网的受信程度;有利于提高算力共享的高效性和便捷性。It can be seen that, in the embodiments of the present application, a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed The notification information issued; through the above method, the main functions of computing power sharing are concentrated on the network side, reducing the terminal type, network structure, and geographic location restrictions of the demanding side and the collaborating party, and helping to improve the application function core network The degree of trustworthiness; is conducive to improving the efficiency and convenience of computing power sharing.
此外,所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息,所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助,所述应用功能网元若判断出所述计算协作端不能提供算力帮助,则向所述计算协作端发送拒绝信息,所述应用功能网元结束所述算力共享服务;有利于提高算力共享处理的高效性。In addition, the application function network element receives the computing power demand response information from the first computing demand end, and the application function network element determines the computing power demand response information based on the computing power demand response information and the computing power application information. Whether the collaboration terminal can provide computing power assistance, if the application function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends a rejection message to the computing collaboration terminal, and the application function network element ends the computing power Power sharing service; helps to improve the efficiency of computing power sharing processing.
图4与图5是与上述图2和图3对应的另一种可能的示例的流程图,与图2和图3对应的实施例将需求与协作对称,所述计算需求端包括第一计算需求端和第二计算需求端,所述应用功能网元接收到来自所述计算需求端的算力需求申请信息后,向预设目标发送算力服务能力询问信息,包括:所述应用功能网元接收到来自所述计算协作端的算力协作信息;所述应用功能网元分别向所述第一计算协作端和所述第二计算协作端发送算力协作询问信息。Figures 4 and 5 are flowcharts of another possible example corresponding to the foregoing Figures 2 and 3. The embodiment corresponding to Figures 2 and 3 symmetrical demand and collaboration, and the computing demand end includes the first calculation The demand side and the second computing demand side, the application function network element, after receiving the computing power demand application information from the computing demand side, sends computing power service capability inquiry information to a preset target, including: the application function network element Receiving the computing power collaboration information from the computing collaboration end; the application function network element sends computing power collaboration inquiry information to the first computing collaboration end and the second computing collaboration end, respectively.
与上述图1、图2、图3、图4、图5所示的实施例一致的,请参阅图6,图6是本申请实施例提供的一种电子设备600的结构示意图,如图所示,所述电子设备600包括应用处理器610、存储器620、通信接口630以及一个或多个程序621,其中,所述一个或多个程序621被存储在上述存储器620中,并且被配置由上述应用处理器610执行,所述一个或多个程序621包括用于执行以下步骤的指令;Consistent with the embodiments shown in FIGS. 1, 2, 3, 4, and 5, please refer to FIG. 6. FIG. 6 is a schematic structural diagram of an electronic device 600 provided by an embodiment of the present application, as shown in the figure. As shown, the electronic device 600 includes an application processor 610, a memory 620, a communication interface 630, and one or more programs 621, where the one or more programs 621 are stored in the memory 620 and are configured by the foregoing The application processor 610 executes, and the one or more programs 621 include instructions for executing the following steps;
所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端;After the application function network element receives the computing power service request information from the computing collaboration terminal or computing demand terminal, it sends computing power service capability inquiry information to a preset target, where the preset target includes the computing collaboration terminal And/or the computing demand end;
所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息;The application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, wherein the response information includes computing power demand response information or computing power collaboration response information;
所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息。The application function network element receives notification information, where the notification information includes notification information sent when the preset target determines that the computing power sharing service is completed.
可以看出,本申请实施例中,提供了一种基于网络调度的算力共享方法及相关产品,应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述方法包括:首先,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端,接着所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息,最后所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息;通过上述方法,将算力共享的主要功能都集中在网络侧,减少了需求方和协作方的终端类型、网络结构、地理位置的限制,且有利于提高应用功能核心网的受信程度;有利于提高算力共享的高效性和便 捷性。It can be seen that, in the embodiments of the present application, a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed The notification information issued; through the above method, the main functions of computing power sharing are concentrated on the network side, reducing the terminal type, network structure, and geographic location restrictions of the demanding side and the collaborating party, and helping to improve the application function core network The degree of trustworthiness; is conducive to improving the efficiency and convenience of computing power sharing.
在一个可能的示例中,所述计算需求端包括第一计算需求端和第二计算需求端,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,所述程序中的指令具体用于执行以下操作:所述应用功能网元接收到来自所述计算协作端的算力提供申请信息,其中,所述算力提供申请信息包括所述计算协作端的身份标识、计算能力和/或可提供的训练集类型;所述应用功能网元分别向所述第一计算需求端和所述第二计算需求端发送算力需求询问信息,其中,所述算力需求询问信息包括计算能力和/或训练集类型。In a possible example, the computing demand terminal includes a first computing demand terminal and a second computing demand terminal. After the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand terminal, Sending computing power service capability inquiry information to a preset target, the instructions in the program are specifically used to perform the following operations: the application function network element receives the computing power provision application information from the computing cooperation terminal, wherein the computing power The force provision application information includes the identity, computing capabilities, and/or training set types that can be provided by the computing collaboration terminal; the application function network element sends computing to the first computing demand terminal and the second computing demand terminal, respectively The power demand query information, where the computing power demand query information includes computing power and/or training set type.
在一个可能的示例中,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,所述程序中的指令具体用于执行以下操作:所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息,其中,所述算力需求响应信息包括所述第一计算需求端的身份标识和任务计算量;所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则向所述第一计算需求端授权算力申请服务;所述应用功能网元接收来自所述第一计算需求端的授权接受响应信息;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享。In a possible example, the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the instructions in the program are specifically used to perform the following operations: The application function network element receives computing power demand response information from the first computing demand terminal, where the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount; the application function network element According to the computing power demand response information and the computing power providing application information, determine whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, Then, the computing power application service is authorized to the first computing demand terminal; the application function network element receives authorization acceptance response information from the first computing demand terminal; the computing collaboration terminal, the application function network element, and the Data sharing is performed on the computing demand side through a preset connection.
在一个可能的示例中,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,所述程序中的指令具体还用于执行以下操作:所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息;所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端不能提供算力帮助,则向所述计算协作端发送拒绝信息,其中,所述拒绝信息用于拒绝所述计算协作方的所述算力提供申请;所述应用功能网元结束所述算力共享服务。In a possible example, the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the instructions in the program are specifically used to perform the following operations: The application function network element receives the computing power demand response information from the first computing demand terminal; the application function network element determines the computing collaboration terminal according to the computing power demand response information and the computing power application information Whether it can provide computing power assistance; if the application function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends rejection information to the computing collaboration terminal, where the rejection information is used to reject the computing The computing power provision application of the cooperating party; the application function network element ends the computing power sharing service.
在一个可能的示例中,所述计算协作端包括第一计算协作端和第二计算协作端,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,所述程序中的指令具体用于执行以下操作:所述应用功能网元接收到来自所述计算需求端的算力需求申请信息,其中,所述算力需求申请信息包括所述计算需求端的身份标识、任务计算量、计算能力、协作整合节点和/或可提供的训练集类型;所述应用功能网元分别向所述第一计算协作端和所述第二计算协作端发送算力协作询问信息,其中,所述算力协作询问信息包括计算能力和/或训练集类型。In a possible example, the computing collaboration terminal includes a first computing collaboration terminal and a second computing collaboration terminal. After the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand terminal, Sending computing power service capability inquiry information to a preset target, the instructions in the program are specifically used to perform the following operations: the application function network element receives computing power demand application information from the computing demand end, wherein the computing power The power demand application information includes the identity of the computing demand terminal, task calculation amount, computing capability, collaborative integration node and/or the training set type that can be provided; The second computing collaboration terminal sends computing power collaboration query information, where the computing power collaboration query information includes computing capabilities and/or training set types.
在一个可能的示例中,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,所述程序中的指令具体用于执行以下操作:所述应用功能网元接收来自所述第一计算协作端的第一算力协作响应信息,其中,所述第一算力协作响应信息包括所述第一计算协作端的身份标识和计算能力;所述应用功能网元接收来自所述第二计算协作端的第二算力协作响应信息,其中,所述第二算力协作响应信息包括所述第二协作端的身份标识和计算能力;所述应用功能网元根据所述算力需求申请信息、所述 第一算力协作响应信息和第二算力协作响应信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则根据所述算力需求申请信息确定是否需要选择目标整合节点;所述应用功能网元若确定需要选择目标整合节点,则根据所述第一算力协作响应信息和第二算力协作响应信息选择目标整合节点;所述应用功能网元接收来自所述第一计算协作端和所述第二计算协作端的授权接受响应信息,确定所述计算协作端授权算力计算服务;所述应用功能网元根据所述授权接受响应信息,向所述计算需求端发送算力申请同意信息,以及所述目标整合节点的身份标识码或/和所述第一计算协作端的第一标识码和所述第二计算协作端的第二标识码;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享。In a possible example, the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the instructions in the program are specifically used to perform the following operations: The application function network element receives first computing power collaboration response information from the first computing collaboration terminal, where the first computing power collaboration response information includes the identity and computing capabilities of the first computing collaboration terminal; the application The function network element receives second computing power collaboration response information from the second computing cooperation terminal, where the second computing power collaboration response information includes the identity and computing capabilities of the second collaboration terminal; the application function network element According to the computing power demand application information, the first computing power collaboration response information, and the second computing power collaboration response information, it is determined whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines If the computing collaboration terminal can provide computing power assistance, it will determine whether a target integration node needs to be selected according to the computing power demand application information; if the application function network element determines that the target integration node needs to be selected, it will collaborate according to the first computing power The response information and the second computing power collaboration response information select the target integration node; the application function network element receives authorization acceptance response information from the first computing collaboration terminal and the second computing collaboration terminal, and determines the computing collaboration terminal authorization Computing power computing service; the application function network element sends computing power application consent information and the identification code of the target integration node or/and the first calculation to the computing demand end according to the authorization acceptance response information The first identification code of the collaboration terminal and the second identification code of the second computing collaboration terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal share data through a preset connection.
在一个可能的示例中,所述应用功能网元接收通知信息后,所述程序中的指令具体还用于执行以下操作:所述应用功能网元接收到所述预设目标在所述算力共享服务完成时发出的的通知信息;所述应用功能网元统计所述计算协作端或计算需求端的算力贡献信息,以便下次进行算力共享服务时提供数据参考。In a possible example, after the application function network element receives the notification information, the instructions in the program are specifically used to perform the following operations: the application function network element receives the preset target in the computing power The notification information sent when the sharing service is completed; the application function network element counts the computing power contribution information of the computing collaboration terminal or computing demand terminal, so as to provide data reference when the computing power sharing service is performed next time.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solution of the embodiment of the present application from the perspective of the execution process on the method side. It can be understood that, in order to implement the above-mentioned functions, an electronic device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments provided herein, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the electronic device into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
图7是本申请实施例中所涉及的基于网络调度的算力共享装置700的功能单元组成框图。该基于网络调度的算力共享装置700应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述基于网络调度的算力共享装置包括处理单元701、通信单元702和存储单元703,其中,FIG. 7 is a functional unit composition block diagram of a computing power sharing device 700 based on network scheduling involved in an embodiment of the present application. The computing power sharing device 700 based on network scheduling is applied to a distributed computing system, the distributed computing system includes an application function network element, a computing collaboration terminal, and a computing demand terminal; the computing power sharing device based on network scheduling includes a processing unit 701, a communication unit 702, and a storage unit 703, where:
所述处理单元701,用于所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端;以及用于所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息;以及用于所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息。The processing unit 701 is configured to send the computing power service capability inquiry information to a preset target after the application function network element receives the computing power service request information from the computing collaboration terminal or computing demand terminal, where the prediction It is assumed that the target includes the computing collaboration terminal and/or the computing demand terminal; and the application function network element is used to receive response information from the preset target, and provide computing power sharing service according to the response information, where The response information includes computing power demand response information or computing power collaboration response information; and notification information for the application function network element to receive notification information, wherein the notification information includes the preset target determining the computing power sharing service The notification message sent when it is completed.
可以看出,本申请实施例中,提供了一种基于网络调度的算力共享方法及相关产品, 应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述方法包括:首先,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端,接着所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息,最后所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息;通过上述方法,将算力共享的主要功能都集中在网络侧,减少了需求方和协作方的终端类型、网络结构、地理位置的限制,且有利于提高应用功能核心网的受信程度;有利于提高算力共享的高效性和便捷性。It can be seen that, in the embodiments of the present application, a computing power sharing method and related products based on network scheduling are provided, which are applied to a distributed computing system, and the distributed computing system includes application function network elements, computing collaboration terminals, and computing The demand side; the method includes: first, after the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand side, it sends computing power service capability inquiry information to a preset target, where all The preset target includes the computing collaboration terminal and/or the computing demand terminal, and then the application function network element receives response information from the preset target, and provides computing power sharing service according to the response information, wherein , The response information includes computing power demand response information or computing power collaboration response information, and finally the application function network element receives notification information, wherein the notification information includes the preset target when it is determined that the computing power sharing service is completed The notification information issued; through the above method, the main functions of computing power sharing are concentrated on the network side, reducing the terminal type, network structure, and geographic location restrictions of the demanding side and the collaborating party, and helping to improve the application function core network The degree of trustworthiness; is conducive to improving the efficiency and convenience of computing power sharing.
可以理解的是,由于方法实施例与装置实施例为相同技术构思的不同呈现形式,因此,本申请中方法实施例部分的内容应同步适配于装置实施例部分,此处不再赘述。It is understandable that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part of this application should be synchronized to the device embodiment part, and will not be repeated here.
在一个可能的示例中,所述计算需求端包括第一计算需求端和第二计算需求端,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,所述处理单元701具体用于:所述应用功能网元接收到来自所述计算协作端的算力提供申请信息,其中,所述算力提供申请信息包括所述计算协作端的身份标识、计算能力和/或可提供的训练集类型;所述应用功能网元分别向所述第一计算需求端和所述第二计算需求端发送算力需求询问信息,其中,所述算力需求询问信息包括计算能力和/或训练集类型。In a possible example, the computing demand terminal includes a first computing demand terminal and a second computing demand terminal. After the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand terminal, Sending computing power service capability inquiry information to a preset target, and the processing unit 701 is specifically configured to: the application function network element receives computing power providing application information from the computing collaboration terminal, wherein the computing power providing application information Including the identity, computing capability, and/or training set type of the computing collaboration terminal; the application function network element sends computing power demand query information to the first computing demand terminal and the second computing demand terminal, respectively , Wherein the computing power demand query information includes computing power and/or training set type.
在一个可能的示例中,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,所述处理单元701具体用于:所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息,其中,所述算力需求响应信息包括所述第一计算需求端的身份标识和任务计算量;所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则向所述第一计算需求端授权算力申请服务;所述应用功能网元接收来自所述第一计算需求端的授权接受响应信息;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享。In a possible example, the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the processing unit 701 is specifically configured to: The element receives the computing power demand response information from the first computing demand terminal, where the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount; the application function network element is based on the computing power demand response information. Power demand response information and the computing power providing application information to determine whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal can provide computing power assistance, it will The first computing demand terminal authorizes the computing power application service; the application function network element receives authorization acceptance response information from the first computing demand terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal pass Preset connection for data sharing.
在一个可能的示例中,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,所述处理单元701具体还用于:所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息;所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端不能提供算力帮助,则向所述计算协作端发送拒绝信息,其中,所述拒绝信息用于拒绝所述计算协作方的所述算力提供申请;所述应用功能网元结束所述算力共享服务。In a possible example, the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the processing unit 701 is specifically further configured to: The network element receives the computing power demand response information from the first computing demand terminal; the application function network element determines whether the computing collaboration terminal can provide computing power based on the computing power demand response information and the computing power provision application information. Power assistance; if the application function network element determines that the computing collaboration end cannot provide computing power assistance, it sends rejection information to the computing collaboration end, where the rejection information is used to reject all of the computing collaboration party The computing power provision application; the application function network element ends the computing power sharing service.
在一个可能的示例中,所述计算协作端包括第一计算协作端和第二计算协作端,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目 标发送算力服务能力询问信息,所述处理单元701具体用于:所述应用功能网元接收到来自所述计算需求端的算力需求申请信息,其中,所述算力需求申请信息包括所述计算需求端的身份标识、任务计算量、计算能力、协作整合节点和/或可提供的训练集类型;所述应用功能网元分别向所述第一计算协作端和所述第二计算协作端发送算力协作询问信息,其中,所述算力协作询问信息包括计算能力和/或训练集类型。In a possible example, the computing collaboration terminal includes a first computing collaboration terminal and a second computing collaboration terminal. After the application function network element receives the computing power service request information from the computing collaboration terminal or the computing demand terminal, Sending computing power service capability inquiry information to a preset target, and the processing unit 701 is specifically configured to: the application function network element receives computing power demand application information from the computing demand end, wherein the computing power demand application information Including the identity of the computing demand terminal, task calculation amount, computing capability, collaborative integration node and/or the type of training set that can be provided; The collaboration terminal sends computing power collaboration query information, where the computing power collaboration query information includes computing capabilities and/or training set types.
在一个可能的示例中,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,所述处理单元701具体用于:所述应用功能网元接收来自所述第一计算协作端的第一算力协作响应信息,其中,所述第一算力协作响应信息包括所述第一计算协作端的身份标识和计算能力;所述应用功能网元接收来自所述第二计算协作端的第二算力协作响应信息,其中,所述第二算力协作响应信息包括所述第二协作端的身份标识和计算能力;所述应用功能网元根据所述算力需求申请信息、所述第一算力协作响应信息和第二算力协作响应信息,判断所述计算协作端是否能提供算力帮助;所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则根据所述算力需求申请信息确定是否需要选择目标整合节点;所述应用功能网元若确定需要选择目标整合节点,则根据所述第一算力协作响应信息和第二算力协作响应信息选择目标整合节点;所述应用功能网元接收来自所述第一计算协作端和所述第二计算协作端的授权接受响应信息,确定所述计算协作端授权算力计算服务;所述应用功能网元根据所述授权接受响应信息,向所述计算需求端发送算力申请同意信息,以及所述目标整合节点的身份标识码或/和所述第一计算协作端的第一标识码和所述第二计算协作端的第二标识码;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享。In a possible example, the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the processing unit 701 is specifically configured to: The element receives the first computing power collaboration response information from the first computing collaboration terminal, where the first computing power collaboration response information includes the identity and computing capabilities of the first computing collaboration terminal; the application function network element receives The second computing power collaboration response information from the second computing collaboration terminal, where the second computing power collaboration response information includes the identity and computing capabilities of the second collaboration terminal; the application function network element is based on the computing power Power demand application information, the first computing power collaboration response information, and the second computing power collaboration response information, determine whether the computing collaboration terminal can provide computing power assistance; if the application function network element determines that the computing collaboration terminal If it is able to provide computing power assistance, it is determined whether the target integration node needs to be selected according to the computing power demand application information; if the application function network element determines that the target integration node needs to be selected, it will use the first computing power collaboration response information and the first computing power coordination response information. 2. The computing power collaboration response information selects the target integration node; the application function network element receives authorization acceptance response information from the first computing collaboration terminal and the second computing collaboration terminal, and determines that the computing collaboration terminal authorizes computing power computing services The application function network element sends the computing power application consent information to the computing demand terminal according to the authorization acceptance response information, and the identification code of the target integration node or/and the first computing cooperation terminal The identification code and the second identification code of the second computing collaboration terminal; the computing collaboration terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection.
在一个可能的示例中,所述应用功能网元接收通知信息后,所述处理单元701具体还用于:所述应用功能网元接收到所述预设目标在所述算力共享服务完成时发出的的通知信息;所述应用功能网元统计所述计算协作端或计算需求端的算力贡献信息,以便下次进行算力共享服务时提供数据参考。In a possible example, after the application function network element receives the notification information, the processing unit 701 is specifically further configured to: the application function network element receives the preset target when the computing power sharing service is completed The notification information sent; the application function network element counts the computing power contribution information of the computing collaboration terminal or computing demand terminal, so as to provide data reference when the computing power sharing service is performed next time.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as recorded in the above method embodiment , The above-mentioned computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。The embodiments of the present application also provide a computer program product. The above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program. Part or all of the steps of the method. The computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described sequence of actions. Because according to this application, some steps can be performed in other order or at the same time. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the foregoing methods of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disc, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the application are described in detail above, and specific examples are used in this article to illustrate the principles and implementation of the application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the application; at the same time, for Those of ordinary skill in the art, based on the idea of the application, will have changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation to the application.
Claims (10)
- 一种基于网络调度的算力共享方法,其特征在于,应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述方法包括:A computing power sharing method based on network scheduling, characterized in that it is applied to a distributed computing system, the distributed computing system includes an application function network element, a computing collaboration terminal, and a computing demand terminal; the method includes:所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端;After the application function network element receives the computing power service request information from the computing collaboration terminal or computing demand terminal, it sends computing power service capability inquiry information to a preset target, where the preset target includes the computing collaboration terminal And/or the computing demand end;所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息;The application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, wherein the response information includes computing power demand response information or computing power collaboration response information;所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息。The application function network element receives notification information, where the notification information includes notification information sent when the preset target determines that the computing power sharing service is completed.
- 根据权利要求1所述的方法,其特征在于,所述计算需求端包括第一计算需求端和第二计算需求端,所述应用功能网元接收到来自所述计算协作端或计算需端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,包括:The method according to claim 1, wherein the computing demand terminal includes a first computing demand terminal and a second computing demand terminal, and the application function network element receives a calculation from the computing cooperation terminal or the computing demand terminal. After the power service request information, the computing power service capability inquiry information is sent to the preset target, including:所述应用功能网元接收到来自所述计算协作端的算力提供申请信息,其中,所述算力提供申请信息包括所述计算协作端的身份标识、计算能力和/或可提供的训练集类型;The application function network element receives the computing power provision application information from the computing collaboration end, where the computing power provision application information includes the identity, computing capability, and/or available training set type of the computing collaboration end;所述应用功能网元分别向所述第一计算需求端和所述第二计算需求端发送算力需求询问信息,其中,所述算力需求询问信息包括计算能力和/或训练集类型。The application function network element sends computing power demand query information to the first computing demand terminal and the second computing demand terminal respectively, where the computing power demand query information includes computing capabilities and/or training set types.
- 根据权利要求2所述的方法,其特征在于,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,包括:The method according to claim 2, wherein the application function network element receiving response information from the preset target and providing a computing power sharing service according to the response information comprises:所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息,其中,所述算力需求响应信息包括所述第一计算需求端的身份标识和任务计算量;The application function network element receives the computing power demand response information from the first computing demand terminal, where the computing power demand response information includes the identity of the first computing demand terminal and the task calculation amount;所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;The application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand response information and the computing power providing application information;所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则向所述第一计算需求端授权算力申请服务;If the application function network element determines that the computing collaboration terminal can provide computing power assistance, it authorizes the computing power application service to the first computing demand terminal;所述应用功能网元接收来自所述第一计算需求端的授权接受响应信息;The application function network element receives authorization acceptance response information from the first computing demand end;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享。The computing collaboration terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection.
- 根据权利要求2所述的方法,其特征在于,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,方法还包括:The method according to claim 2, wherein the application function network element receives response information from the preset target, and provides a computing power sharing service according to the response information, and the method further comprises:所述应用功能网元接收来自所述第一计算需求端的算力需求响应信息;The application function network element receives the computing power demand response information from the first computing demand end;所述应用功能网元根据所述算力需求响应信息和所述算力提供申请信息,判断所述计算协作端是否能提供算力帮助;The application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand response information and the computing power providing application information;所述应用功能网元若判断出所述计算协作端不能提供算力帮助,则向所述计算协作端发送拒绝信息,其中,所述拒绝信息用于拒绝所述计算协作方的所述算力提供申请;If the application function network element determines that the computing collaboration terminal cannot provide computing power assistance, it sends rejection information to the computing collaboration terminal, where the rejection information is used to reject the computing power of the computing collaboration party Provide application;所述应用功能网元结束所述算力共享服务。The application function network element ends the computing power sharing service.
- 根据权利要求1所述的方法,其特征在于,所述计算协作端包括第一计算协作端和 第二计算协作端,所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,包括:The method according to claim 1, wherein the computing collaboration terminal includes a first computing collaboration terminal and a second computing collaboration terminal, and the application function network element receives a computing from the computing collaboration terminal or the computing demand terminal. After the power service request information, the computing power service capability inquiry information is sent to the preset target, including:所述应用功能网元接收到来自所述计算需求端的算力需求申请信息,其中,所述算力需求申请信息包括所述计算需求端的身份标识、任务计算量、计算能力、是否允许计算协作端充当整合节点和/或可提供的训练集类型;The application function network element receives the computing power demand application information from the computing demand side, where the computing power demand application information includes the identification of the computing demand side, task calculation amount, computing power, and whether the computing collaboration terminal is allowed Acting as an integration node and/or the type of training set that can be provided;所述应用功能网元分别向所述第一计算协作端和所述第二计算协作端发送算力协作询问信息,其中,所述算力协作询问信息包括计算能力和/或训练集类型。The application function network element sends computing power collaboration query information to the first computing collaboration terminal and the second computing collaboration terminal respectively, where the computing power collaboration query information includes computing capabilities and/or training set types.
- 根据权利要求5所述的方法,其特征在于,所述应用功能网元接收来自所述预设目标的响应信息,并根据所述响应信息提供算力共享服务,包括:The method according to claim 5, wherein the application function network element receiving response information from the preset target and providing a computing power sharing service according to the response information comprises:所述应用功能网元接收来自所述第一计算协作端的第一算力协作响应信息,其中,所述第一算力协作响应信息包括所述第一计算协作端的身份标识和计算能力;The application function network element receives first computing power collaboration response information from the first computing collaboration end, where the first computing power collaboration response information includes the identity and computing capabilities of the first computing collaboration end;所述应用功能网元接收来自所述第二计算协作端的第二算力协作响应信息,其中,所述第二算力协作响应信息包括所述第二协作端的身份标识和计算能力;The application function network element receives second computing power collaboration response information from the second computing collaboration end, where the second computing power collaboration response information includes the identity and computing capability of the second collaboration end;所述应用功能网元根据所述算力需求申请信息、所述第一算力协作响应信息和第二算力协作响应信息,判断所述计算协作端是否能提供算力帮助;The application function network element determines whether the computing collaboration terminal can provide computing power assistance according to the computing power demand application information, the first computing power collaboration response information, and the second computing power collaboration response information;所述应用功能网元若判断出所述计算协作端能够提供算力帮助,则根据所述算力需求申请信息确定是否需要选择目标整合节点;If the application function network element determines that the computing collaboration terminal can provide computing power assistance, it determines whether a target integration node needs to be selected according to the computing power demand application information;所述应用功能网元若确定需要选择目标整合节点,则根据所述第一算力协作响应信息和第二算力协作响应信息选择目标整合节点;If the application function network element determines that a target integration node needs to be selected, it selects the target integration node according to the first computing power collaboration response information and the second computing power collaboration response information;所述应用功能网元接收来自所述第一计算协作端和所述第二计算协作端的授权接受响应信息,确定所述计算协作端授权算力计算服务;The application function network element receives authorization acceptance response information from the first computing collaboration terminal and the second computing collaboration terminal, and determines that the computing collaboration terminal authorizes the computing power computing service;所述应用功能网元根据所述授权接受响应信息,向所述计算需求端发送算力申请同意信息,以及所述目标整合节点的身份标识码或/和所述第一计算协作端的第一标识码和所述第二计算协作端的第二标识码;According to the authorization acceptance response information, the application function network element sends the computing power application consent information and the identification code of the target integration node or/and the first identifier of the first computing cooperation terminal to the computing demand terminal Code and the second identification code of the second computing cooperation terminal;所述计算协作端、所述应用功能网元和所述计算需求端通过预设连接进行数据共享。The computing collaboration terminal, the application function network element, and the computing demand terminal perform data sharing through a preset connection.
- 根据权利要求1所述的方法,其特征在于,所述应用功能网元接收通知信息后,方法还包括:The method according to claim 1, wherein after the application function network element receives the notification information, the method further comprises:所述应用功能网元接收到所述预设目标在所述算力共享服务完成时发出的的通知信息;The application function network element receives the notification information sent by the preset target when the computing power sharing service is completed;所述应用功能网元统计所述计算协作端或计算需求端的算力贡献信息,以便下次进行算力共享服务时提供数据参考或进行其他商业化应用。The application function network element counts the computing power contribution information of the computing collaboration terminal or computing demand terminal, so as to provide data reference or perform other commercial applications when the computing power sharing service is performed next time.
- 一种基于网络调度的算力共享装置,其特征在于,应用于分布式计算系统,所述分布式计算系统包括应用功能网元、计算协作端和计算需求端;所述基于网络调度的算力共享装置包括处理单元、通信单元和存储单元,其中,A computing power sharing device based on network scheduling is characterized in that it is applied to a distributed computing system. The distributed computing system includes an application function network element, a computing collaboration terminal and a computing demand terminal; the computing power based on network scheduling The sharing device includes a processing unit, a communication unit, and a storage unit, where:所述处理单元,用于所述应用功能网元接收到来自所述计算协作端或计算需求端的算力服务请求信息后,向预设目标发送算力服务能力询问信息,其中,所述预设目标包括所述计算协作端和/或所述计算需求端;以及用于所述应用功能网元接收来自所述预设目标的 响应信息,并根据所述响应信息提供算力共享服务,其中,所述响应信息包括算力需求响应信息或算力协作响应信息;以及用于所述应用功能网元接收通知信息,其中,所述通知信息包括所述预设目标确定所述算力共享服务完成时发出的的通知信息。The processing unit is configured to send the computing power service capability inquiry information to a preset target after the application function network element receives the computing power service request information from the computing collaboration terminal or computing demand terminal, wherein the preset The target includes the computing collaboration terminal and/or the computing demand terminal; and is used for the application function network element to receive response information from the preset target, and provide computing power sharing services based on the response information, wherein: The response information includes computing power demand response information or computing power collaboration response information; and notification information for the application function network element to receive notification information, wherein the notification information includes the preset target to determine that the computing power sharing service is completed The notification message issued at the time.
- 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-7任一项所述的方法中的步骤的指令。An electronic device, characterized by comprising a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, The program includes instructions for performing the steps in the method according to any one of claims 1-7.
- 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-7任一项所述的方法。A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-7.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010295398.1A CN113535343B (en) | 2020-04-15 | 2020-04-15 | Computing power sharing method based on network scheduling and related product |
CN202010295398.1 | 2020-04-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021208914A1 true WO2021208914A1 (en) | 2021-10-21 |
Family
ID=78084672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/086930 WO2021208914A1 (en) | 2020-04-15 | 2021-04-13 | Network-scheduling-based computing power sharing method, and related product |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113535343B (en) |
WO (1) | WO2021208914A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114021162A (en) * | 2021-10-26 | 2022-02-08 | 中国联合网络通信集团有限公司 | Computing power sharing method, device, system, electronic equipment and storage medium |
CN115297356A (en) * | 2022-06-29 | 2022-11-04 | 北京优酷科技有限公司 | Equipment interaction method, system and device |
CN115622938A (en) * | 2022-10-31 | 2023-01-17 | 新华三技术有限公司 | Computing power service processing method, device and system |
WO2023217107A1 (en) * | 2022-05-10 | 2023-11-16 | 中国移动通信有限公司研究院 | Communication method and apparatus, and related device and storage medium |
WO2023231713A1 (en) * | 2022-05-31 | 2023-12-07 | 华为技术有限公司 | Communication method, device, and system |
WO2024055780A1 (en) * | 2022-09-13 | 2024-03-21 | 中国联合网络通信集团有限公司 | Computing power network information announcement and routing decision-making method and apparatus, and medium |
WO2024104032A1 (en) * | 2022-11-14 | 2024-05-23 | 大唐移动通信设备有限公司 | Information processing method and apparatus, and readable storage medium |
WO2024124909A1 (en) * | 2022-12-13 | 2024-06-20 | 中兴通讯股份有限公司 | Communication method, electronic device, and storage medium |
WO2024131754A1 (en) * | 2022-12-22 | 2024-06-27 | 维沃移动通信有限公司 | Computing service implementation method and apparatus, and communication device and readable storage medium |
WO2024192584A1 (en) * | 2023-03-17 | 2024-09-26 | 北京小米移动软件有限公司 | Calling method and apparatus for computing power service, and storage medium |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115242865A (en) * | 2022-07-11 | 2022-10-25 | 北京邮电大学 | Switching standard of remote video manual service |
CN115361280B (en) * | 2022-08-15 | 2023-11-28 | 中国联合网络通信集团有限公司 | Method, device, equipment and storage medium for invoking calculation power network |
CN115858179B (en) * | 2023-02-16 | 2023-05-09 | 北京虹宇科技有限公司 | Method, device and equipment for automatically discovering and networking computing unit collaborative service |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040132445A1 (en) * | 2003-01-03 | 2004-07-08 | Gary Rogalski | Methods and systems of sharing mutual resources between an external device and a cordless telephone via a communications medium |
CN109769207A (en) * | 2018-12-29 | 2019-05-17 | 驭势科技(北京)有限公司 | A kind of mobile device dynamic group net shares the System and method for of calculation power |
CN109873868A (en) * | 2019-03-01 | 2019-06-11 | 深圳市网心科技有限公司 | A kind of computing capability sharing method, system and relevant device |
CN110225129A (en) * | 2019-06-18 | 2019-09-10 | 余俊龙 | Based on block chain application extension control method and intelligent terminal, privately owned Cloud Server |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10645182B2 (en) * | 2017-03-10 | 2020-05-05 | Wei-Shan Wang | Social network information match-up system and method thereof |
CN109242637A (en) * | 2018-09-26 | 2019-01-18 | 亿邦客科技有限公司 | A kind of shared intelligence system of calculation power |
CN109960575B (en) * | 2019-03-26 | 2023-09-15 | 深圳市网心科技有限公司 | Computing capacity sharing method, system and related equipment |
-
2020
- 2020-04-15 CN CN202010295398.1A patent/CN113535343B/en active Active
-
2021
- 2021-04-13 WO PCT/CN2021/086930 patent/WO2021208914A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040132445A1 (en) * | 2003-01-03 | 2004-07-08 | Gary Rogalski | Methods and systems of sharing mutual resources between an external device and a cordless telephone via a communications medium |
CN109769207A (en) * | 2018-12-29 | 2019-05-17 | 驭势科技(北京)有限公司 | A kind of mobile device dynamic group net shares the System and method for of calculation power |
CN109873868A (en) * | 2019-03-01 | 2019-06-11 | 深圳市网心科技有限公司 | A kind of computing capability sharing method, system and relevant device |
CN110225129A (en) * | 2019-06-18 | 2019-09-10 | 余俊龙 | Based on block chain application extension control method and intelligent terminal, privately owned Cloud Server |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114021162A (en) * | 2021-10-26 | 2022-02-08 | 中国联合网络通信集团有限公司 | Computing power sharing method, device, system, electronic equipment and storage medium |
WO2023217107A1 (en) * | 2022-05-10 | 2023-11-16 | 中国移动通信有限公司研究院 | Communication method and apparatus, and related device and storage medium |
WO2023231713A1 (en) * | 2022-05-31 | 2023-12-07 | 华为技术有限公司 | Communication method, device, and system |
CN115297356A (en) * | 2022-06-29 | 2022-11-04 | 北京优酷科技有限公司 | Equipment interaction method, system and device |
CN115297356B (en) * | 2022-06-29 | 2024-04-09 | 北京优酷科技有限公司 | Equipment interaction method, system and device |
WO2024055780A1 (en) * | 2022-09-13 | 2024-03-21 | 中国联合网络通信集团有限公司 | Computing power network information announcement and routing decision-making method and apparatus, and medium |
CN115622938A (en) * | 2022-10-31 | 2023-01-17 | 新华三技术有限公司 | Computing power service processing method, device and system |
WO2024104032A1 (en) * | 2022-11-14 | 2024-05-23 | 大唐移动通信设备有限公司 | Information processing method and apparatus, and readable storage medium |
WO2024124909A1 (en) * | 2022-12-13 | 2024-06-20 | 中兴通讯股份有限公司 | Communication method, electronic device, and storage medium |
WO2024131754A1 (en) * | 2022-12-22 | 2024-06-27 | 维沃移动通信有限公司 | Computing service implementation method and apparatus, and communication device and readable storage medium |
WO2024192584A1 (en) * | 2023-03-17 | 2024-09-26 | 北京小米移动软件有限公司 | Calling method and apparatus for computing power service, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113535343B (en) | 2022-10-21 |
CN113535343A (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021208914A1 (en) | Network-scheduling-based computing power sharing method, and related product | |
WO2021203853A1 (en) | Key generation method, device, apparatus, and medium | |
US9332039B2 (en) | Method, apparatus, and system for establishing voice communication | |
TW202030656A (en) | Cross-chain right-using system, method and device, electronic equipment and storage medium | |
US10785630B2 (en) | Method and apparatus for low energy discovery | |
CN109586929B (en) | Conference content transmission method and device, electronic equipment and storage medium | |
CN105531979A (en) | Messaging api over http protocol to establish context for data exchange | |
WO2020083322A1 (en) | Call method, device and system | |
CN104639426A (en) | Method and device for adding group members | |
WO2021057139A1 (en) | Credit-based interaction processing method and device | |
CN111932239B (en) | Service processing method, device, node equipment and storage medium | |
WO2016127796A1 (en) | Information interaction method and server | |
Chiti et al. | A matching game for tasks offloading in integrated edge‐fog computing systems | |
WO2021088671A1 (en) | Method for calling terminal capability, device, and computer storage medium | |
TW202125218A (en) | Resource settlement method and device, electronic equipment and storage medium | |
JP2018518771A (en) | Transaction processing method and system | |
WO2024067529A1 (en) | Rdma-based link establishment method and apparatus, and device and storage medium | |
WO2024197732A1 (en) | Communication method, electronic device, and storage medium | |
US20140089430A1 (en) | Data-sharing method, terminal, server, and system | |
WO2020233085A1 (en) | Information processing method and device, and storage medium | |
CN101963904A (en) | Wireless network-based middleware system | |
WO2023029830A1 (en) | Electronic certificate generation method and apparatus, electronic device, and readable storage medium | |
WO2023212933A1 (en) | Identifier configuration method and apparatus, and electronic device and storage medium | |
CN118368259B (en) | Network resource allocation method, device, electronic equipment and storage medium | |
WO2023246756A1 (en) | Computing power service method and apparatus, terminal, and core network device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21789070 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21789070 Country of ref document: EP Kind code of ref document: A1 |