WO2024078203A1 - Computing power network end-to-end coordination method, computing power network, electronic device, and storage medium - Google Patents
Computing power network end-to-end coordination method, computing power network, electronic device, and storage medium Download PDFInfo
- Publication number
- WO2024078203A1 WO2024078203A1 PCT/CN2023/117066 CN2023117066W WO2024078203A1 WO 2024078203 A1 WO2024078203 A1 WO 2024078203A1 CN 2023117066 W CN2023117066 W CN 2023117066W WO 2024078203 A1 WO2024078203 A1 WO 2024078203A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- computing power
- computing
- terminal
- target
- network
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000004044 response Effects 0.000 claims abstract description 37
- 238000012790 confirmation Methods 0.000 claims abstract description 18
- 210000004556 brain Anatomy 0.000 claims description 95
- 230000005012 migration Effects 0.000 claims description 6
- 238000013508 migration Methods 0.000 claims description 6
- 238000012508 change request Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 3
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 description 1
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/76—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/76—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
- H04L47/762—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions triggered by the network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present application relates to the field of network communication technology, and in particular to a computing power network end-to-end collaboration method, a computing power network, an electronic device and a storage medium.
- the computing network is a new type of information infrastructure that allocates and flexibly schedules computing resources, storage resources, and network resources between the cloud, edge, and end based on business needs.
- the essence of the computing network is a computing resource service. In the future, corporate customers or individual users will not only need networks and clouds, but also need to flexibly schedule computing tasks to the right place.
- the main purpose of this application is to provide a computing power network end-to-end collaboration method, a computing power network, an electronic device and a storage medium, aiming to solve the technical problem of how to increase the service capacity of the computing power network while saving costs.
- the present application provides a computing power network end-to-end collaboration method, including:
- a computing power occupation request is sent to the target terminal corresponding to the target computing power resource, and after receiving an occupation confirmation response from the target terminal based on the computing power occupation request, a virtual computing power environment is constructed according to the target computing power resource, so as to run the business data corresponding to the computing power demand in the virtual computing power environment.
- the present application also provides a computing network, which runs the above computing network end-to-end collaboration method, including a server, a computing network brain and multiple terminals;
- the server is used to send the computing power requirement corresponding to the business request to the computing network brain after receiving the business request;
- the computing network brain is used to determine the target computing power resources according to the computing power requirements and the preset allocation strategy after receiving the computing power requirements sent by the server, determine the target terminal of the target computing power resources among the multiple terminals, and send a computing power occupation request to the target terminal;
- the target terminal is used to generate an occupation confirmation response after receiving the computing power occupation request and determining the computing power occupation according to the computing power occupation request, and send the occupation confirmation response to the computing network brain;
- the computing network brain is used to build a virtual computing environment based on the target computing resources so as to run the business data corresponding to the computing demand in the virtual computing environment.
- the present application also provides an electronic device, including: a processor; and a memory arranged to store computer-executable instructions, wherein when the executable instructions are executed, the processor executes the steps of the computing power network end-to-end collaboration method as described above.
- the present application also provides a storage medium, wherein the storage medium stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device Execute the steps of the computing power network end-to-end collaboration method as described above.
- FIG1 is a schematic diagram of a terminal ⁇ device structure of a hardware operating environment involved in an embodiment of the present application
- FIG2 is a flow chart of a first embodiment of a computing power network end-to-end collaboration method of the present application
- FIG3 is a schematic diagram of the overall architecture of the computing power network of the present application.
- FIG4 is a schematic diagram of the process of terminal computing power processing business needs in the computing power network end-to-end collaboration method of the present application;
- FIG5 is a schematic diagram of a processing flow of network collaboration by terminal computing power in the computing power network end-to-end collaboration method of the present application
- FIG6 is a schematic diagram of the process of terminal computing power performing calculation + network collaboration in the computing power network end-to-end collaboration method of the present application
- FIG7 is a schematic diagram of a process flow of computing coordination of terminal computing power in the computing power network end-to-end coordination method of the present application
- FIG8 is a schematic diagram of the process of terminal registration of computing power in the computing power network end-to-end collaboration method of the present application.
- FIG. 1 is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.
- the terminal in the embodiment of the present application is a computing power network end-to-end collaborative device.
- the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
- the communication bus 1002 is used to realize the connection and communication between these components.
- the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface.
- the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface).
- the memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory.
- the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
- the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
- the sensors include light sensors, motion sensors, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or backlight when the terminal device is moved to the ear.
- the terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
- terminal structure shown in FIG. 1 does not limit the terminal and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
- the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a computing power network end-to-end collaboration program.
- the network interface 1004 is mainly used to connect to the background server and communicate data with the background server;
- the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client;
- the processor 1001 can be used to call the computing power network end-to-end collaborative program stored in the memory 1005 and perform the following operations:
- the present application proposes a computing power network end-to-end collaboration.
- the computing power network end-to-end collaboration method includes:
- Step S10 after receiving the computing power demand sent by the server, determine the target computing power resources in the preset computing power pool according to the computing power demand and the preset allocation strategy;
- Step S20 sending a computing power occupation request to the target terminal corresponding to the target computing power resources, and after receiving an occupation confirmation response from the target terminal based on the computing power occupation request, building a virtual computing power environment according to the target computing power resources, so as to run the business data corresponding to the computing power demand in the virtual computing power environment.
- the architecture diagram of the computing network infrastructure in this embodiment can be shown in Figure 1.
- the computing network includes three computing nodes: the central cloud, the edge computing node, and the terminal.
- the computing network connects the geographically distributed computing center nodes through new network technology, dynamically and in real time perceives the computing resource status, and then coordinates and schedules computing tasks, transmits data, and forms a network that perceives, allocates, and schedules computing power in a global scope. On this basis, it gathers and shares computing power and data. Data and application resources.
- the central cloud and edge computing nodes such as 5G and MEC (Mobile Edge Computing)
- terminals are generally user assets (individuals or units).
- the terminal in this embodiment can be a device with a microprocessor that can perform data calculations, storage, and network connections, such as mobile phones, computers, and in-vehicle intelligent systems.
- Computing power can include computing, storage, and network capabilities.
- the computing network brain schedules the computing power resources of the terminal according to the preferred strategy to achieve the effect of fully utilizing the computing power resources of the terminal.
- the present application also provides a method of end-to-end computing power collaboration, in which multiple terminals complete business needs through collaboration to ensure the SLA level of computing power services. And in this embodiment, in order to achieve cost savings while increasing the service capabilities of the computing power network. Therefore, it is to let users and operators sign contracts to participate in the business of the computing power network, agree on the way the terminal provides computing power, the benefits enjoyed, etc.
- the terminal When the terminal accesses the computing power network, it reports its own computing power information through computing power registration, including but not limited to: the terminal's unique computing power identification, computing/storage/network capabilities (such as processors, storage, network types and quantities), and location information (such as longitude and latitude, altitude).
- the computing network brain in the computing power network generates resource topology information based on the terminal registration information, and uniformly manages resources for subsequent scheduling and scheduling.
- the resource topology information includes information and connection information of each computing power node (cloud, edge, end), and can also include connectable information of adjacent computing power terminals.
- the computing network brain selects terminal computing power resources suitable for participating in the business operation according to business information, computing power resource information and configuration strategy, and performs computing, storage and other tasks at the terminal.
- the task can be general computing, such as voice and image analysis and processing, and the processing results are sent to users or other servers; it can also be local computing, such as the terminal is also a business consumer, and the original computing power network is to process the calculation, and then process or partially process it at the terminal (such as smart cameras for image preprocessing), reducing network traffic; it can also be data storage, caching data in the terminal memory or storage device (such as video downloads) to provide it to other nearby terminals for use, reducing the data access pressure of the cloud server. It can also provide sensor data to provide various useful real-time information such as the location, speed, temperature, etc. of the terminal for specific services.
- the computing network brain allocates appropriate terminal computing power according to business information, computing power resource information and configuration strategies, and sends the coordination information of computing power terminals (including terminal identification, protocol interface, data type, etc.) in combination with business characteristics and terminal distribution, and dispatches multiple terminals to work together to complete tasks, providing SLA (Service Level Agreement) guarantees (latency, bandwidth, etc.).
- SLA Service Level Agreement
- the end-to-end collaborative networking forms include: point-to-point: For example, in a computing power network, adjacent terminals can directly communicate point-to-point for communication services; bridging: The terminal can also provide data transfer services for other terminals in the network, so that most of the information does not need to pass through the access network and server when communicating between terminals; star type: The terminal can also undertake the distribution/aggregation services of other computing power terminals in the adjacent network (cluster brain), reducing the access and routing pressure of the computing power network.
- the content of end-to-end collaboration can include direct message transmission to reduce transit: such as point-to-point communication between adjacent terminals to reduce the number of messages passing through other network nodes; sharing of information to reduce measurement and calculation: such as coordination of surrounding vehicle movements; public computing to reduce duplication: for example, when multiple adjacent terminals watch live broadcasts together, one terminal can forward the received and decoded audio and video streams to other terminals.
- direct message transmission to reduce transit such as point-to-point communication between adjacent terminals to reduce the number of messages passing through other network nodes
- sharing of information to reduce measurement and calculation such as coordination of surrounding vehicle movements
- public computing to reduce duplication for example, when multiple adjacent terminals watch live broadcasts together, one terminal can forward the received and decoded audio and video streams to other terminals.
- the user signs a contract with the terminal to participate in the business of the computing power network
- the terminal has the software and hardware capabilities to participate in the computing power network (for example, to load or run a certificate or program for a secure connection); under certain conditions, the terminal registers its own computing power information with the computing power network (and subsequently updates or de-registers the computing power information as appropriate); the computing power brain receives the registration information of the terminal, updates the resource topology, and incorporates the terminal computing power into the computing power pool; when there is a demand for computing power, the computing power brain allocates the terminal's computing power resources according to business needs and resource conditions and according to the computing power scheduling strategy (such as giving priority to adjacent computing power); if the end-to-end collaboration strategy is met, the collaboration information is issued at the same time; the computing power terminal performs business processing; if there is a need for collaboration, end-to-end collaboration (such as point-to-point communication) is performed based on the collaboration information; the computing power brain records the information on the terminal'
- the computing network brain in this embodiment records the computing power information provided by the terminal, including but not limited to: unique identification of computing power resources, computing power type (such as CPU), actual consumption computing power information (such as TOPS), service time, business type, SLA information, and sends this information to the computing power trading system, which calculates the rights and interests that users deserve according to the agreed rules.
- computing power type such as CPU
- TOPS actual consumption computing power information
- service time business type
- SLA information service time
- the computing power trading system which calculates the rights and interests that users deserve according to the agreed rules.
- the terminal can participate in the computing power network, thereby increasing the service capacity of the computing power network, maximizing resource utilization, and optimizing the service quality through end-to-end collaboration, achieving a win-win effect for users and operators.
- the network architecture of the computing network is shown in Figure 3, which may include computing network operation, computing network brain and computing network base.
- the computing network operation may be the operation service layer, such as the server, including the computing power transaction module and the business service module.
- the computing network brain may be the orchestration management layer, including the computing power registration module, the orchestration scheduling module and the computing power coordination module.
- the computing network base may be the infrastructure layer, including the central cloud, network, edge computing nodes and terminals.
- the server when it receives a service request from a user, it determines the service demand corresponding to the service request, and sends the service demand to the computing network brain in the computing network.
- the computing network brain After receiving the computing demand, the computing network brain will search for idle computing resources according to the preset allocation strategy set in advance to determine the target computing resources, and then determine the target terminal with the target computing resources, and send a computing power occupation request to the target terminal.
- the virtual computing environment can be directly constructed according to the target computing resources. For example, as shown in Figure 4, the terminal has completed the computing power registration.
- the computing network brain schedules and allocates the terminal computing power.
- the user sends a service request to the business service end (i.e., the server end in this embodiment), and the business service end sends a computing power request to the computing network brain.
- the computing network brain After receiving the computing power request, the computing network brain searches for idle computing power resources from the computing power pool according to the resource information (CPU/storage/bandwidth, etc.) required by the business, business information (SLA information, etc.), and user information (location information, etc.) according to the policy, and after finding the idle computing power resources, sends a computing power occupation request to the terminal corresponding to the found idle computing power resources, and the terminal replies with a computing power occupation confirmation response to the computing network brain.
- resource information CPU/storage/bandwidth, etc.
- SLA information, etc. business information
- location information location information, etc.
- the computing network brain After receiving the terminal response, the computing network brain arranges the terminal computing power resources on demand, creates an environment (such as creating a virtual computing power environment), and the computing network brain responds to the business service end for computing power allocation, and then the business service end runs the business service on the environment and feeds back the business response to the user.
- the user needs to stop using the service during business use, that is, when the user needs to go offline, he can send a business stop request to the business service end, and the business service end will stop the business service and send a computing power stop request to the computing network brain.
- the computing network brain returns a computing power stop response to the business end, and releases the computing power resources (that is, releases the computing power resources back to the computing power pool), sends a computing power release notification to the terminal, and the terminal replies to the computing power brain with a computing power release response.
- the computing power brain sends the terminal computing power billing information to the computing power trading system, including but not limited to: unique identification of computing power resources, computing power type (such as CPU), actual consumption computing power information (such as TOPS), service time, business type, and SLA information.
- the computing power trading system then calculates the terminal income based on the computing power billing information and the preset billing rules, and pays it to the user, such as paying the income to the terminal equity user in real time or regularly through certain means.
- the computing network brain when the computing network brain sends a computing power occupation request to the terminal corresponding to the idle computing power resources found, it may send computing power requests to multiple computing power terminals/nodes according to the actual computing power needs.
- the computing network can create the same business environment for other computing nodes to achieve disaster recovery and digital twin functions.
- the billing information can be sent in full at the end of the business, or in multiple segments at the beginning, middle, and end of the business.
- There are other network nodes between the terminal and the computing network brain such as edge computing nodes and cloud centers.
- the target computing power resources are determined according to the computing power demand and the preset allocation strategy, and after the target terminal corresponding to the target computing power resource is allowed to occupy the computing power, a virtual computing power environment is constructed to run the business data corresponding to the computing power demand, so that the computing power of the terminal can be fully used in the computing power network, the service capability of the computing power network can be improved, the construction and operation and maintenance costs of the operator can be reduced, and the waste of terminal computing power can be reduced.
- the computing power network path can be optimized through the end-to-end coordination mechanism, the backbone network load can be reduced, the SLA level of the service can be guaranteed, and the intelligent capability of the business can be improved; then, through certain rights and interests feedback, the idle resources of the terminal can generate income, thereby achieving a win-win effect for users and operators.
- step S20 of the above embodiment determines the target computing power resources in the preset computing power pool according to the computing power demand and the preset allocation strategy, including:
- Step a determining the allocation dimension corresponding to the computing power demand according to a preset allocation strategy, and determining the terminals corresponding to all idle computing power resources in a preset computing power pool;
- Step b determine the priority corresponding to each of the terminals according to the allocation dimension, select the terminal with the highest priority as the target terminal, and use the idle computing power resources corresponding to the target terminal as the target computing power resources.
- the pre-set allocation strategy is first determined, and the allocation dimensions corresponding to the computing power demand are determined according to the allocation strategy (which may include but are not limited to computing power resource requirements, business information, and user location information), and it is necessary to search for idle computing power resources in the computing power pool, that is, unallocated computing power resources.
- the terminal corresponding to the idle computing resources and then determine the priority of each terminal according to the allocation dimension, select the terminal with the highest priority as the target terminal, and use the idle computing resources in the target terminal as the target computing resources.
- the computing pool stores the computing resources of each terminal after registration.
- the idle computing resources can be computing resources in an idle state.
- the allocation dimension is determined according to a preset allocation strategy, the priority of the terminal corresponding to all idle computing resources in the computing power pool is determined according to the allocation dimension, and then the idle computing resources of the terminal with the highest priority are used as the target terminal as the target computing power resources, thereby ensuring the accuracy and effectiveness of the acquired target computing power resources.
- the allocation dimensions include computing resource requirements, business information, and user location information.
- Step b1 determining the location priority corresponding to each of the terminals according to the user location information
- Step b2 determining the service level agreement priority corresponding to each terminal according to the service information
- Step b3 determining the computing power requirement priority corresponding to each terminal according to the computing power resource requirement
- Step b4 calculating the priority corresponding to each of the terminals according to the location priority, the service level agreement priority and the computing power requirement priority.
- the priorities of all terminals under different allocation dimensions can be determined first, such as location priority, service level agreement priority, and computing power requirement priority.
- the method of determining the location priority, service level agreement priority, and computing power requirement priority can be performed according to the conventional settings, so as to determine the final priority corresponding to each terminal, for example, giving priority to the location priority, then considering the service level agreement priority, and finally considering the computing power requirement priority.
- the user location information can be the user location distance.
- the business information can be the business SLA requirements.
- the computing power resource requirements may include (computing/storage/bandwidth).
- a terminal with high location priority, service level agreement priority, and computing power requirement priority is selected as the target terminal.
- different weights may be set for the location priority, service level agreement priority, and computing power requirement priority, such as the first weight, the second weight, and the third weight, and the first product between the location priority and the first weight, the second product between the service level agreement priority and the second weight, and the third product between the computing power requirement priority and the third weight may be calculated, and the sum of the first product, the second product, and the third product may be used as the priority of the terminal, and then the priority of each terminal may be compared in turn to select the terminal with the highest priority.
- the computing network brain dispatches and allocates the terminal computing power to provide network collaboration.
- adjacent terminal users A and B request to use the service (such as video call), and the service service end sends the computing power demand to the computing network brain;
- the computing network brain receives the computing power request, and according to the resource information (CPU/storage/bandwidth, etc.), service information (SLA information, etc.), user information (location information, etc.) required by the business, it searches for the computing power resources of the adjacent terminal from the computing power pool according to the strategy, and after finding the terminal computing power resources (such as A, B), it sends a computing power occupation request to the terminal, which carries the computing power occupation demand and network collaboration information (terminal direct connection protocol, address, port information); wherein, the preset allocation strategy can be to select resources according to the priority of the resource selection factors in Table 1 below, such as giving priority to one or more computing power nodes that
- the terminal replies with an occupation confirmation response to the computing network brain; after receiving the terminal response, the computing network brain manages the terminal computing power as needed, creates virtual computing power resources, and the business service runs business services on the resources and returns a business response to the user; Terminal A and Terminal B start using the business and use the network collaboration function (based on the network collaboration information, point-to-point communication is achieved); when the user stops using the business, the business service stops the business service and sends a request to stop computing power to the computing network brain; the computing network brain returns a confirmation response to the business service; the computing network brain releases the computing power resources back to the computing power pool and sends a computing power release message to the terminal; the terminal replies with a computing power release response to the computing network brain; the computing network brain sends a message to the computing power trading system stating that the terminal has completed the computing power release.
- Terminal A and Terminal B start using the business and use the network collaboration function (based on the network collaboration information, point-to-point communication is achieved)
- the business service stops the business service and sends
- the billing information includes, but is not limited to: unique identification of computing power resources, computing power type (such as network bandwidth), actual consumption computing power information (such as network traffic), service time, business type, and SLA information; the computing power trading system calculates the terminal's income based on the above computing power billing information and billing rules, and pays the income to the user to whom the terminal belongs in real time or regularly through certain means.
- computing power trading system calculates the terminal's income based on the above computing power billing information and billing rules, and pays the income to the user to whom the terminal belongs in real time or regularly through certain means.
- computing power requests to multiple computing power terminals/nodes (such as terminals A and B).
- terminals A and B are examples of terminals/nodes.
- Terminal direct connection can be through general protocols such as Bluetooth, wifi, and microwave.
- the sending of billing information can send complete billing information at the end of the business, or it can send multiple segmented billing information at the beginning, middle, and end of the business.
- network collaboration takes point-to-point communication as an example.
- this embodiment can also be expanded to a multi-party direct connection and transit implementation method.
- the location priority, service level agreement priority and computing power requirement priority corresponding to each terminal can be calculated in turn, and the priority corresponding to each terminal can be determined based on the location priority, service level agreement priority and computing power requirement priority, thereby ensuring the accuracy and effectiveness of the priority corresponding to each terminal.
- Constructing a virtual computing environment according to the target computing resources includes:
- Step c if there are multiple target terminals corresponding to the target computing power resources, one target terminal is selected from each of the target terminals as the cluster brain, and a computing power cluster including each of the target terminals is constructed with the cluster brain, and a virtual computing power environment is constructed according to all the target computing power resources corresponding to the computing power cluster;
- the computing power brain when it finds that there are multiple target computing power resources through query, it can build a computing power cluster and create a virtual computing power environment through the computing power cluster, and run business data through various target terminals in the virtual computing power environment. For example, when multiple adjacent terminals have completed computing power registration and there is a demand for computing power, the computing network brain dispatches and allocates computing power of adjacent terminals to provide computing + network collaboration (computing power cluster).
- a user requests to use a service (such as big data computing), and the service server (such as a big data center) sends a service request to the computing network brain;
- the computing network brain receives the service request, and searches for computing resources from the computing power pool according to the policy based on the resource information (CPU/storage/bandwidth, etc.), service information (SLA information, etc.), and user information (location information, etc.) required by the service, and forms a computing power cluster with several adjacent terminals, and selects one of the terminals as the cluster brain (responsible for the distribution and aggregation of services), and sends a computing power occupation request to the cluster terminal, which carries the computing power occupation demand and computing power coordination information (cluster brain ID, surrounding terminal ID, location information, and coordination interface); the terminal replies to the computing network brain with an occupation confirmation response; after receiving the terminal response, the computing network brain manages the terminal computing power as needed, creates a virtual computing power cluster, and the service server runs the service
- the cluster brain summarizes the processing results and returns them to the business server and user as needed; when the user stops using the business (such as data processing is completed), the business server stops the business service and sends a request to stop computing power to the computing network brain; the computing network brain returns a confirmation response to the business server; the computing network brain releases computing power resources back to the computing power pool and sends a computing power release message to the terminal; the terminal replies to the computing network brain with a computing power release response; the computing network brain sends the terminal computing power billing information to the computing power trading system, including but not limited to: unique identification of computing power resources, computing power type (such as CPU, memory, bandwidth), actual consumption computing power information (such as TOPS, network traffic), service time, business type, SLA information; the computing power trading system calculates the terminal's deserved income based on the above computing power billing information and billing rules, and pays the income to the user to whom the terminal belongs in
- the billing information can be sent by sending complete billing information at the end of the service, or by sending multiple segmented billing information at the beginning, middle, and end of the service. For simplicity, only sending complete billing information once is used as an example.
- Step d If there is a target terminal corresponding to the target computing power resource, a virtual computing power environment is constructed according to the target computing power resource.
- the virtual Virtual computing power environment When there is only one target terminal corresponding to the target computing power resource, the virtual Virtual computing power environment. For example, the terminal has completed computing power registration. When a nearby terminal has computing power demand, the computing network brain dispatches and allocates terminal computing power to provide computing collaboration (information sharing and co-computing).
- the terminal (A) requests to use a service (such as autonomous driving), and the service server (such as the autonomous driving platform) sends the computing power demand to the computing network brain; the computing network brain receives the computing power request, and searches for the computing power resources of the nearby terminal from the computing power pool according to the resource information (CPU/storage/bandwidth, etc.), service information (SLA information, etc.), and user information (location information, etc.) required by the service according to the policy.
- a service such as autonomous driving
- the service server such as the autonomous driving platform
- the computing power node such as terminal A
- the request carries the computing power occupation demand and computing power collaboration information (near terminal information: surrounding terminal labels, location information, collaborative interface, etc.);
- the terminal replies to the computing network brain with an occupation confirmation response;
- the computing network brain manages the terminal computing power as needed, creates virtual computing power resources, and the service server runs the service on the resources and returns the service response to the user;
- the terminal starts using the service and performs computing collaboration (such as Send the movement trend information calculated by the control system to the nearby terminal to reduce the detection and calculation of the nearby terminal; it can also receive the information of the nearby terminal and use it to control its own system);
- the service service stops the service and sends a request to stop the computing power to the computing network brain;
- the computing network brain returns a confirmation response to the service service;
- the computing network brain releases the computing power resources back to the computing power pool and sends a computing power release message to the terminal;
- the terminal replies such as Send the movement trend information calculated by the control system to the nearby terminal to
- the actual computing power needs it is possible to send computing power requests to multiple computing power terminals/nodes.
- the actual implementation can also include dynamic information updates, such as changes in peripheral terminal information.
- the specific steps are not given in detail.
- the billing information can be sent by sending complete billing information at the end of the service, or by sending multiple segmented billing information at the beginning, middle, and end of the service. For simplicity, only sending complete billing information once is used as an example.
- There are other network nodes between the terminal and the computing network brain such as edge computing nodes and cloud centers, which are omitted for simplicity.
- a computing power cluster including multiple target terminals is constructed, and a virtual computing power environment is constructed through all target computing power resources in the computing power cluster, or when there is only one target terminal, a virtual computing power environment is directly constructed with the target computing power resources, thereby ensuring the effectiveness of the construction of the virtual computing power environment.
- the method further includes:
- Step e after receiving the stop computing power request sent by the server, stop running the business data according to the stop computing power request, release the target computing power resources in the virtual computing power environment, generate billing data for applying the target computing power resources, and send the billing data to the target terminal.
- the business data when the business data is running in the virtual computing environment, if a stop computing request is received from the server, the business data will be stopped in the virtual computing environment, and the server will be responded to, and then the target computing resources in the virtual computing environment will be released to the computing pool. In addition, the corresponding billing data will be generated, and the final income will be calculated through the computing power trading system and fed back to the target terminal.
- the business data is stopped, the target computing power resources are released, billing data is generated, and the billing data is sent to the target terminal, thereby achieving a win-win effect for the user and the target terminal.
- Step f after receiving the registration request sent by the terminal, storing the computing power information in the registration request as the idle computing power resources of the terminal in a preset computing power pool.
- the terminal before performing end-to-end collaboration of the computing power network, the terminal needs to be registered in the computing power network. Therefore, after receiving the registration request sent by the terminal, the computing power network can directly store the computing power information carried in the registration request as computing power resources in the computing power pool. And the default initial state during storage is the idle state.
- the idle computing resources of the terminal are stored in the computing pool. This will enable end-to-end collaboration of the computing network to be achieved in the future.
- the method After storing the computing power information in the registration request as the idle computing power resources corresponding to the terminal in a preset computing power pool, the method further includes:
- Step g after receiving the computing power change request sent by the terminal, if the idle computing power resources corresponding to the terminal have been allocated, determine whether to perform computing power migration on the idle computing power resources, and update the idle computing power resources corresponding to the terminal according to the determination result;
- Step h after receiving the deregistration request sent by the terminal, if the idle computing power resources corresponding to the terminal have been allocated, the idle computing power resources are migrated, and after the computing power migration is completed, the idle computing power resources corresponding to the terminal in the computing power pool are deleted.
- the user has signed an agreement with the operator for the terminal to participate in the computing power network, and the user terminal registers the computing power after it is turned on and connected to the network.
- the terminal initiates a registration request to the computing network brain according to the user's settings when certain conditions are met (such as entering the standby state), and the request carries computing power information.
- the computing power information includes but is not limited to: the terminal's unique computing power identification, computing/storage/network capabilities (such as the number of processor types, the number of storage types, the number of network types), and location information (such as longitude and latitude, altitude); the computing network brain receives the registration information, saves the computing power information in the computing power pool, and updates the computing power network resource topology (adds terminal computing power nodes, identifies the connection information between the terminal and other computing power nodes), and replies to the terminal with a successful registration response;
- the computing network brain periodically sends keep-alive messages to the terminal according to the predetermined strategy; the terminal receives the keep-alive message and replies with a keep-alive response; when the terminal reaches a certain change condition (for example, the terminal enters the working mode, resulting in a change in the shared computing power information, or a change in the location), it sends a computing power information change request to the computing network brain; the computing network brain receives the computing power change information, and if the computing power has been allocated, the computing network brain determines whether computing power migration is required; then it updates the computing power information and updates the computing power network resource topology, and replies to the terminal with a computing power information change response; when the terminal reaches the condition of not providing computing power (for example, power off), the terminal initiates a deregistration request to the computing network brain; the computing network brain receives the deregistration information, and if the computing power has been allocated, the computing network brain performs computing power migration; then it deletes the computing power information from the computing power pool, updates the computing power network
- the computing network brain determines that the terminal is disconnected, performs the deregistration process, deletes the terminal computing power information, and updates the computing power resource topology.
- the validity of the computing power pool can be guaranteed by updating the idle computing power resources after receiving a computing power change request and deleting the idle computing power resources after receiving a deregistration request.
- the present application also provides a computing network, which runs the computing network end-to-end collaboration method in any of the above embodiments, including a server, a computing network brain, and multiple terminals;
- the server is used to send the computing power requirement corresponding to the business request to the computing network brain after receiving the business request;
- the computing network brain is used to determine the target computing power resources according to the computing power requirements and the preset allocation strategy after receiving the computing power requirements sent by the server, determine the target terminal of the target computing power resources among the multiple terminals, and send a computing power occupation request to the target terminal;
- the target terminal is used to generate an occupation confirmation response after receiving the computing power occupation request and determining the computing power occupation according to the computing power occupation request, and send the occupation confirmation response to the computing network brain;
- the computing network brain is used to build a virtual computing environment based on the target computing resources so as to run the business data corresponding to the computing demand in the virtual computing environment.
- the present application also provides a computing power network end-to-end collaborative device, which includes: a memory, a processor, and a computing power network end-to-end collaborative program stored on the memory; the processor is used to execute the computing power network end-to-end collaborative program to implement the steps of each embodiment of the above-mentioned computing power network end-to-end collaborative method.
- the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a One or more programs, and the one or more programs can also be executed by one or more processors to implement the steps of each embodiment of the above-mentioned computing power network end-to-end collaboration method.
- the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
- a storage medium such as ROM/RAM, magnetic disk, optical disk
- a terminal device which can be a mobile phone, computer, server, air conditioner, or network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
Abstract
The present application discloses a computing power network end-to-end coordination method, a computing power network, an electronic device, and a storage medium. The computing power network end-to-end coordination method comprises: receiving a computing power demand sent by a serving end, and then, according to the computing power demand and a preset allocation policy, determining a target computing power resource in a preset computing power pool; sending a computing power occupation request to a target terminal corresponding to the target computing power resource, receiving an occupation confirmation response fed back by the target terminal on the basis of the computing power occupation request, and then constructing a virtual computing power environment according to the target computing power resource, so as to run in the virtual computing power environment service data corresponding to the computing power demand.
Description
相关申请Related Applications
本申请要求于2022年10月9号申请的、申请号为202211231379.8的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese patent application No. 202211231379.8 filed on October 9, 2022, the entire contents of which are incorporated by reference into this application.
本申请涉及网络通信技术领域,尤其涉及一种算力网络端端协同方法、算力网络、电子设备及存储介质。The present application relates to the field of network communication technology, and in particular to a computing power network end-to-end collaboration method, a computing power network, an electronic device and a storage medium.
算力网络是一种根据业务需求,在云、边、端之间按需分配和灵活调度计算资源、存储资源以及网络资源的新型信息基础设施。算力网络的本质是一种算力资源服务,未来企业客户或者个人用户不仅需要网络和云,也需要灵活的把计算任务调度到合适的地方。The computing network is a new type of information infrastructure that allocates and flexibly schedules computing resources, storage resources, and network resources between the cloud, edge, and end based on business needs. The essence of the computing network is a computing resource service. In the future, corporate customers or individual users will not only need networks and clouds, but also need to flexibly schedule computing tasks to the right place.
随着全球数字经济持续稳定增长,算力网络需求也将持续增加,所以算力网络基础设施也需要加大建设。一方面,算力网络基础设施中的中心云和边缘计算节点的建设和运维需要较高的成本投入,另一方面,终端的类型、数量繁多,且具有移动性,从而导致终端算力的管理和使用相对复杂,导致成本增加,因此如何在节省成本的同时,增加算力网络的服务能力成为了目前急需解决的技术问题。As the global digital economy continues to grow steadily, the demand for computing power networks will continue to increase, so the computing power network infrastructure also needs to be built. On the one hand, the construction and operation and maintenance of the central cloud and edge computing nodes in the computing power network infrastructure require high cost investment. On the other hand, the types and numbers of terminals are numerous and mobile, which makes the management and use of terminal computing power relatively complex, resulting in increased costs. Therefore, how to increase the service capabilities of the computing power network while saving costs has become a technical problem that needs to be solved urgently.
发明内容Summary of the invention
本申请的主要目的在于提供一种算力网络端端协同方法、算力网络、电子设备及存储介质,旨在解决如何在节省成本的同时,增加算力网络的服务能力的技术问题。The main purpose of this application is to provide a computing power network end-to-end collaboration method, a computing power network, an electronic device and a storage medium, aiming to solve the technical problem of how to increase the service capacity of the computing power network while saving costs.
为实现上述目的,本申请提供一种算力网络端端协同方法,包括:To achieve the above objectives, the present application provides a computing power network end-to-end collaboration method, including:
在接收到服务端发送的算力需求之后,根据所述算力需求和预设分配策略在预设的算力池中确定目标算力资源;After receiving the computing power demand sent by the server, determine the target computing power resources in the preset computing power pool according to the computing power demand and the preset allocation strategy;
向所述目标算力资源对应的目标终端发送算力占用请求,并在接收到所述目标终端基于所述算力占用请求反馈的占用确认响应之后,根据所述目标算力资源构建虚拟算力环境,以便在所述虚拟算力环境中运行所述算力需求对应的业务数据。A computing power occupation request is sent to the target terminal corresponding to the target computing power resource, and after receiving an occupation confirmation response from the target terminal based on the computing power occupation request, a virtual computing power environment is constructed according to the target computing power resource, so as to run the business data corresponding to the computing power demand in the virtual computing power environment.
此外,为实现上述目的,本申请还提供一种算力网络,运行上述所述的算力网络端端协同方法,包括服务端、算网大脑和多个终端;In addition, to achieve the above purpose, the present application also provides a computing network, which runs the above computing network end-to-end collaboration method, including a server, a computing network brain and multiple terminals;
所述服务端,用于在接收到业务请求之后,发送所述业务请求对应的算力需求至所述算网大脑;The server is used to send the computing power requirement corresponding to the business request to the computing network brain after receiving the business request;
所述算网大脑,用于在接收到所述服务端发送的算力需求之后,根据所述算力需求和预设分配策略确定目标算力资源,确定多个所述终端中所述目标算力资源的目标终端,发送算力占用请求至所述目标终端;The computing network brain is used to determine the target computing power resources according to the computing power requirements and the preset allocation strategy after receiving the computing power requirements sent by the server, determine the target terminal of the target computing power resources among the multiple terminals, and send a computing power occupation request to the target terminal;
所述目标终端,用于在接收到所述算力占用请求,且根据所述算力占用请求确定算力占用之后,生成占用确认响应,并将所述占用确认响应发送至所述算网大脑;The target terminal is used to generate an occupation confirmation response after receiving the computing power occupation request and determining the computing power occupation according to the computing power occupation request, and send the occupation confirmation response to the computing network brain;
所述算网大脑,用于根据所述目标算力资源构建虚拟算力环境,以便在所述虚拟算力环境中运行所述算力需求对应的业务数据。The computing network brain is used to build a virtual computing environment based on the target computing resources so as to run the business data corresponding to the computing demand in the virtual computing environment.
此外,为实现上述目的,本申请还提供一种电子设备,包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如上述所述算力网络端端协同方法的步骤。In addition, to achieve the above-mentioned purpose, the present application also provides an electronic device, including: a processor; and a memory arranged to store computer-executable instructions, wherein when the executable instructions are executed, the processor executes the steps of the computing power network end-to-end collaboration method as described above.
此外,为实现上述目的,本申请还提供一种存储介质,所述存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备
执行如上述所述算力网络端端协同方法的步骤。In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, wherein the storage medium stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device Execute the steps of the computing power network end-to-end collaboration method as described above.
图1是本申请实施例方案涉及的硬件运行环境的终端\装置结构示意图;FIG1 is a schematic diagram of a terminal\device structure of a hardware operating environment involved in an embodiment of the present application;
图2为本申请算力网络端端协同方法第一实施例的流程示意图;FIG2 is a flow chart of a first embodiment of a computing power network end-to-end collaboration method of the present application;
图3为本申请算力网络的总体架构示意图;FIG3 is a schematic diagram of the overall architecture of the computing power network of the present application;
图4为本申请算力网络端端协同方法中终端算力进行业务需求处理的流程示意图;FIG4 is a schematic diagram of the process of terminal computing power processing business needs in the computing power network end-to-end collaboration method of the present application;
图5为本申请算力网络端端协同方法中终端算力进行网络协同的处理流程示意图;FIG5 is a schematic diagram of a processing flow of network collaboration by terminal computing power in the computing power network end-to-end collaboration method of the present application;
图6为本申请算力网络端端协同方法中终端算力进行计算+网络协同的流程示意图;FIG6 is a schematic diagram of the process of terminal computing power performing calculation + network collaboration in the computing power network end-to-end collaboration method of the present application;
图7为本申请算力网络端端协同方法中终端算力进行计算协同的流程示意图;FIG7 is a schematic diagram of a process flow of computing coordination of terminal computing power in the computing power network end-to-end coordination method of the present application;
图8为本申请算力网络端端协同方法中终端注册算力的流程示意图。FIG8 is a schematic diagram of the process of terminal registration of computing power in the computing power network end-to-end collaboration method of the present application.
本申请目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.
本申请实施例终端为算力网络端端协同设备。The terminal in the embodiment of the present application is a computing power network end-to-end collaborative device.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004、用户接口1003、存储器1005、通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005还可以是独立于前述处理器1001的存储装置。As shown in FIG1 , the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
在一实施例中,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在终端设备移动到耳边时,关闭显示屏和/或背光。当然,终端设备还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。In one embodiment, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, the sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or backlight when the terminal device is moved to the ear. Of course, the terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art will appreciate that the terminal structure shown in FIG. 1 does not limit the terminal and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及算力网络端端协同程序。As shown in FIG. 1 , the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a computing power network end-to-end collaboration program.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的算力网络端端协同程序,并执行以下操作:In the terminal shown in FIG1 , the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the computing power network end-to-end collaborative program stored in the memory 1005 and perform the following operations:
本申请提出一种算力网络端端协同,在本申请算力网络端端协同的第一实施例中,参照图2,算力网络端端协同方法包括:The present application proposes a computing power network end-to-end collaboration. In the first embodiment of the computing power network end-to-end collaboration of the present application, referring to FIG. 2 , the computing power network end-to-end collaboration method includes:
步骤S10,在接收到服务端发送的算力需求之后,根据所述算力需求和预设分配策略在预设的算力池中确定目标算力资源;Step S10, after receiving the computing power demand sent by the server, determine the target computing power resources in the preset computing power pool according to the computing power demand and the preset allocation strategy;
步骤S20,向所述目标算力资源对应的目标终端发送算力占用请求,并在接收到所述目标终端基于所述算力占用请求反馈的占用确认响应之后,根据所述目标算力资源构建虚拟算力环境,以便在所述虚拟算力环境中运行所述算力需求对应的业务数据。Step S20, sending a computing power occupation request to the target terminal corresponding to the target computing power resources, and after receiving an occupation confirmation response from the target terminal based on the computing power occupation request, building a virtual computing power environment according to the target computing power resources, so as to run the business data corresponding to the computing power demand in the virtual computing power environment.
本实施例中的算力网络基础设施的架构示意图可以参照图1所示,算力网络包含中心云、边缘计算节点和终端三种算力节点。并且算力网络是通过新型网络技术将地理分布的算力中心节点连接起来,动态实时感知算力资源状态,进而统筹分配和调度计算任务,传输数据,构成全局范围内感知、分配、调度算力的网络,在此基础上汇聚和共享算力、数
据、应用资源。其中,中心云和边缘计算节点(比如5G和MEC(Mobile Edge Computing,移动边缘计算)),一般都是运营商建设和管理,而终端一般都是用户资产(个人或单位)。其中,本实施例中的终端可以是带有微处理器、能进行数据运算、存储、网络连接的设备,比如移动电话、计算机、车载智能系统等。算力可以包括计算、存储、网络在内的能力。The architecture diagram of the computing network infrastructure in this embodiment can be shown in Figure 1. The computing network includes three computing nodes: the central cloud, the edge computing node, and the terminal. The computing network connects the geographically distributed computing center nodes through new network technology, dynamically and in real time perceives the computing resource status, and then coordinates and schedules computing tasks, transmits data, and forms a network that perceives, allocates, and schedules computing power in a global scope. On this basis, it gathers and shares computing power and data. Data and application resources. Among them, the central cloud and edge computing nodes (such as 5G and MEC (Mobile Edge Computing)) are generally built and managed by operators, while terminals are generally user assets (individuals or units). Among them, the terminal in this embodiment can be a device with a microprocessor that can perform data calculations, storage, and network connections, such as mobile phones, computers, and in-vehicle intelligent systems. Computing power can include computing, storage, and network capabilities.
在本实施例中,是当终端参与算力网络时,算网大脑根据优选策略调度终端的算力资源,达到充分利用终端算力资源的效果。本申请还提供一种端端算力协同的方式,多个终端通过协作完成业务需求,保障算力服务的SLA水平。并且在本实施例中,为了实现在节省成本的同时,增加算力网络的服务能力。因此是让用户和运营商签约参与算力网络的业务,约定终端提供算力的方式、享受的收益等。终端接入算力网络时,通过算力注册上报自身的算力信息,包括但不限于:终端唯一算力标示、计算/存储/网络的能力(如处理器、存储、网络的类型和数量)、位置信息(如经纬度、海拔高度)。算力网络中的算网大脑根据终端注册信息,生成资源拓扑信息,统一管控资源,用于后续编排调度。其中,资源拓扑信息包含各算力节点(云、边、端)的信息和连接信息,还可以包含临近算力终端的可连接信息。In this embodiment, when the terminal participates in the computing power network, the computing network brain schedules the computing power resources of the terminal according to the preferred strategy to achieve the effect of fully utilizing the computing power resources of the terminal. The present application also provides a method of end-to-end computing power collaboration, in which multiple terminals complete business needs through collaboration to ensure the SLA level of computing power services. And in this embodiment, in order to achieve cost savings while increasing the service capabilities of the computing power network. Therefore, it is to let users and operators sign contracts to participate in the business of the computing power network, agree on the way the terminal provides computing power, the benefits enjoyed, etc. When the terminal accesses the computing power network, it reports its own computing power information through computing power registration, including but not limited to: the terminal's unique computing power identification, computing/storage/network capabilities (such as processors, storage, network types and quantities), and location information (such as longitude and latitude, altitude). The computing network brain in the computing power network generates resource topology information based on the terminal registration information, and uniformly manages resources for subsequent scheduling and scheduling. Among them, the resource topology information includes information and connection information of each computing power node (cloud, edge, end), and can also include connectable information of adjacent computing power terminals.
当有业务(算力需求)发生时,算网大脑根据业务信息、算力资源信息和配置策略,选择适合参与业务运行的终端算力资源,在终端进行计算、存储等任务。其中,任务可以是一般计算,比如语音图像分析处理,将处理结果发给用户或其他服务器;还可以是就近计算,比如终端同时也是业务消费者,原来算力网络要处理的计算,在终端进行处理或部分处理(比如智能摄像头进行图像预处理),减少网络流量;还可以是数据存储,在终端内存或存储设备中缓存数据(比如视频下载),以提供给其他附近的终端使用,减少云服务器的数据访问压力。还可以是提供传感数据,为特定服务提供终端所在位置、速度、温度等各种有用的实时信息。When a business (computing power demand) occurs, the computing network brain selects terminal computing power resources suitable for participating in the business operation according to business information, computing power resource information and configuration strategy, and performs computing, storage and other tasks at the terminal. Among them, the task can be general computing, such as voice and image analysis and processing, and the processing results are sent to users or other servers; it can also be local computing, such as the terminal is also a business consumer, and the original computing power network is to process the calculation, and then process or partially process it at the terminal (such as smart cameras for image preprocessing), reducing network traffic; it can also be data storage, caching data in the terminal memory or storage device (such as video downloads) to provide it to other nearby terminals for use, reducing the data access pressure of the cloud server. It can also provide sensor data to provide various useful real-time information such as the location, speed, temperature, etc. of the terminal for specific services.
当有多终端业务发生时,算网大脑根据业务信息、算力资源信息和配置策略,分配合适的终端算力,结合业务特点和终端分布,下发算力终端的协同信息(包括终端标示、协议接口、数据类型等),调度多个终端一起协作完成任务,提供SLA(Service Level Agreement,服务级别协议)保障(时延、带宽等)。其中,端端协同的组网形式包括:点对点:比如一个算力网络中,邻近的终端进行通讯业务,可以直接进行点对点通讯;桥接:终端也可以为网络内其他终端提供数据中转服务,实现终端间通讯时大部分信息不需要通过接入网和服务器;星型:终端还可以承担邻近网络内其他算力终端的分发/汇聚服务(集群大脑),减少算力网络的接入和路由压力。其中,端端协同的内容可以包括消息直传,以减少中转:比如临近终端点对点通讯,减少消息经过其他网络节点;共享信息,以减少测量和计算:比如周围车辆运动协同;公共计算,以减少重复:比如多个邻近终端一起观看网络直播,可以由一个终端将接收解码的音视频流转发给其他终端。When there are multiple terminal services, the computing network brain allocates appropriate terminal computing power according to business information, computing power resource information and configuration strategies, and sends the coordination information of computing power terminals (including terminal identification, protocol interface, data type, etc.) in combination with business characteristics and terminal distribution, and dispatches multiple terminals to work together to complete tasks, providing SLA (Service Level Agreement) guarantees (latency, bandwidth, etc.). Among them, the end-to-end collaborative networking forms include: point-to-point: For example, in a computing power network, adjacent terminals can directly communicate point-to-point for communication services; bridging: The terminal can also provide data transfer services for other terminals in the network, so that most of the information does not need to pass through the access network and server when communicating between terminals; star type: The terminal can also undertake the distribution/aggregation services of other computing power terminals in the adjacent network (cluster brain), reducing the access and routing pressure of the computing power network. Among them, the content of end-to-end collaboration can include direct message transmission to reduce transit: such as point-to-point communication between adjacent terminals to reduce the number of messages passing through other network nodes; sharing of information to reduce measurement and calculation: such as coordination of surrounding vehicle movements; public computing to reduce duplication: for example, when multiple adjacent terminals watch live broadcasts together, one terminal can forward the received and decoded audio and video streams to other terminals.
也就是在本实施例中,用户签约终端参与算力网络的业务,终端具备参与算力网络的软硬件能力(比如要加载或运行安全连接的证书或程序);终端在一定条件时,向算力网络注册自身的算力信息(后续根据情况更新或去注册算力信息);算力大脑收到终端的注册信息,更新资源拓扑,将终端算力纳入算力池;当有算力需求发生时,算力大脑根据业务需求、资源情况,根据算力调度策略(比如优先邻近算力)分配终端的算力资源;如果满足端端协同策略,则同时下发协同信息;算力终端进行业务处理;如有协同需要,则根据协同信息进行端端协同(比如点对点通讯);算力大脑记录终端参与算力任务的信息,算力交易系统根据此信息计算用户应得权益。That is, in this embodiment, the user signs a contract with the terminal to participate in the business of the computing power network, and the terminal has the software and hardware capabilities to participate in the computing power network (for example, to load or run a certificate or program for a secure connection); under certain conditions, the terminal registers its own computing power information with the computing power network (and subsequently updates or de-registers the computing power information as appropriate); the computing power brain receives the registration information of the terminal, updates the resource topology, and incorporates the terminal computing power into the computing power pool; when there is a demand for computing power, the computing power brain allocates the terminal's computing power resources according to business needs and resource conditions and according to the computing power scheduling strategy (such as giving priority to adjacent computing power); if the end-to-end collaboration strategy is met, the collaboration information is issued at the same time; the computing power terminal performs business processing; if there is a need for collaboration, end-to-end collaboration (such as point-to-point communication) is performed based on the collaboration information; the computing power brain records the information on the terminal's participation in computing power tasks, and the computing power trading system calculates the user's deserved rights and interests based on this information.
此外,本实施例中的算网大脑记录终端提供的算力信息,包括但不限于:算力资源唯一标示、算力类型(如CPU)、实际消费算力信息(如TOPS量)、服务时间、业务类型、SLA信息,将此信息发给算力交易系统,算力交易系统按照约定规则计算用户应得的权益。通过上述方式可以让终端参与算力网络,从而增加算力网络的服务能力,让资源使用最大化,并通过端端协同让服务质量更优化,实现用户和运营商共赢的效果。
In addition, the computing network brain in this embodiment records the computing power information provided by the terminal, including but not limited to: unique identification of computing power resources, computing power type (such as CPU), actual consumption computing power information (such as TOPS), service time, business type, SLA information, and sends this information to the computing power trading system, which calculates the rights and interests that users deserve according to the agreed rules. In this way, the terminal can participate in the computing power network, thereby increasing the service capacity of the computing power network, maximizing resource utilization, and optimizing the service quality through end-to-end collaboration, achieving a win-win effect for users and operators.
其中,算力网络的网络架构如图3所示,可以包括算网运营、算网大脑和算网底座。其中,算网运营可以是运营服务层,如服务端,包括算力交易模块和业务服务模块。算网大脑可以是编排管理层,包括算力注册模块、编排调度模块和算力协同模块。算网底座可以是基础设施层,包括中心云、网络、边缘计算节点和终端The network architecture of the computing network is shown in Figure 3, which may include computing network operation, computing network brain and computing network base. The computing network operation may be the operation service layer, such as the server, including the computing power transaction module and the business service module. The computing network brain may be the orchestration management layer, including the computing power registration module, the orchestration scheduling module and the computing power coordination module. The computing network base may be the infrastructure layer, including the central cloud, network, edge computing nodes and terminals.
因此,在本实施例中,当服务端接收到用户发出的业务请求后,确定业务请求对应的业务需求,并将业务需求发送至算力网络中的算网大脑,算网大脑在接收到算力需求后会根据提前设置的预设分配策略来查找空闲算力资源,以确定目标算力资源,然后确定具有目标算力资源的目标终端,并向目标终端发送算力占用请求,在接收到目标终端反馈的占用确认响应之后,就可以直接根据目标算力资源构建虚拟算力环境。例如,如图4所示,终端已完成算力注册,当有算力需求发生时,算网大脑调度分配终端算力。具体地,用户向业务服务端(即本实施例中的服务端)发送业务请求,业务服务端向算网大脑发送算力请求,算网大脑收到算力请求之后,根据业务需要的资源信息(CPU/存储/带宽等)、业务信息(SLA信息等)、用户信息(位置信息等),从算力池中根据策略查找空闲算力资源,并在查找到空闲算力资源之后,向查找到的空闲算力资源对应的终端发送算力占用请求,终端向算网大脑回复算力占用确认响应,算网大脑在接收到终端响应之后,将终端算力按需进行编排资源,创建环境(如创建虚拟算力环境),并且算网大脑向业务服务端进行算力分配响应,然后业务服务端在环境上运行业务服务,向用户反馈业务响应。此外,在业务使用中,用户需要停止使用业务时,即需要进行下线处理时,可以向业务服务端发送业务停止请求,业务服务端会停止业务服务,并向算网大脑发送算力停止请求,算网大脑向业务端返回算力停止响应,并进行算力资源释放(即将算力资源释放回算力池),向终端发送算力释放通知,终端向算力大脑回复算力释放响应。算力大脑向算力交易系统发送终端算力计费信息,包括但不限于:算力资源唯一标示、算力类型(如CPU)、实际消费算力信息(如TOPS量)、服务时间、业务类型、SLA信息。算力交易系统再根据算力计费信息和预设的计费规则计算终端收益,并支付给用户,如通过一定的手段将收益实时或定期付给终端所属权益用户。其中,算网大脑向查找到的空闲算力资源对应的终端发送算力占用请求时,可以根据实际算力需要,有可能向多个算力终端/节点发送算力请求。算力网络可以向其他算力节点创建相同业务环境,实现容灾、数字孪生功能。计费信息的发送,可以在业务结束时发送完整计费信息,也可以是在业务开始、中间、结束发送多次分段计费信息。终端和算网大脑间还有其他网络节点,比如边缘计算节点、云中心。Therefore, in this embodiment, when the server receives a service request from a user, it determines the service demand corresponding to the service request, and sends the service demand to the computing network brain in the computing network. After receiving the computing demand, the computing network brain will search for idle computing resources according to the preset allocation strategy set in advance to determine the target computing resources, and then determine the target terminal with the target computing resources, and send a computing power occupation request to the target terminal. After receiving the occupation confirmation response fed back by the target terminal, the virtual computing environment can be directly constructed according to the target computing resources. For example, as shown in Figure 4, the terminal has completed the computing power registration. When there is a computing power demand, the computing network brain schedules and allocates the terminal computing power. Specifically, the user sends a service request to the business service end (i.e., the server end in this embodiment), and the business service end sends a computing power request to the computing network brain. After receiving the computing power request, the computing network brain searches for idle computing power resources from the computing power pool according to the resource information (CPU/storage/bandwidth, etc.) required by the business, business information (SLA information, etc.), and user information (location information, etc.) according to the policy, and after finding the idle computing power resources, sends a computing power occupation request to the terminal corresponding to the found idle computing power resources, and the terminal replies with a computing power occupation confirmation response to the computing network brain. After receiving the terminal response, the computing network brain arranges the terminal computing power resources on demand, creates an environment (such as creating a virtual computing power environment), and the computing network brain responds to the business service end for computing power allocation, and then the business service end runs the business service on the environment and feeds back the business response to the user. In addition, when the user needs to stop using the service during business use, that is, when the user needs to go offline, he can send a business stop request to the business service end, and the business service end will stop the business service and send a computing power stop request to the computing network brain. The computing network brain returns a computing power stop response to the business end, and releases the computing power resources (that is, releases the computing power resources back to the computing power pool), sends a computing power release notification to the terminal, and the terminal replies to the computing power brain with a computing power release response. The computing power brain sends the terminal computing power billing information to the computing power trading system, including but not limited to: unique identification of computing power resources, computing power type (such as CPU), actual consumption computing power information (such as TOPS), service time, business type, and SLA information. The computing power trading system then calculates the terminal income based on the computing power billing information and the preset billing rules, and pays it to the user, such as paying the income to the terminal equity user in real time or regularly through certain means. Among them, when the computing network brain sends a computing power occupation request to the terminal corresponding to the idle computing power resources found, it may send computing power requests to multiple computing power terminals/nodes according to the actual computing power needs. The computing network can create the same business environment for other computing nodes to achieve disaster recovery and digital twin functions. The billing information can be sent in full at the end of the business, or in multiple segments at the beginning, middle, and end of the business. There are other network nodes between the terminal and the computing network brain, such as edge computing nodes and cloud centers.
在本实施例中,通过在接收到服务端发送的算力需求之后,根据算力需求和预设分配策略确定目标算力资源,并在目标算力资源对应的目标终端允许进行算力占用之后,构建虚拟算力环境,以运行算力需求对应的业务数据,从而可以实现在算力网络中充分使用终端的算力,提高算力网络的服务能力,降低运营商的建设和运维成本,减少终端算力的浪费。并且还可以通过端端协同机制,优化算力网络路径,减少主干网络负荷,保障服务的SLA水平,提升业务的智能化能力;然后通过一定的权益反哺,让终端的空闲资源产生收益,从而达到用户和运营商的双赢效果。In this embodiment, after receiving the computing power demand sent by the server, the target computing power resources are determined according to the computing power demand and the preset allocation strategy, and after the target terminal corresponding to the target computing power resource is allowed to occupy the computing power, a virtual computing power environment is constructed to run the business data corresponding to the computing power demand, so that the computing power of the terminal can be fully used in the computing power network, the service capability of the computing power network can be improved, the construction and operation and maintenance costs of the operator can be reduced, and the waste of terminal computing power can be reduced. In addition, the computing power network path can be optimized through the end-to-end coordination mechanism, the backbone network load can be reduced, the SLA level of the service can be guaranteed, and the intelligent capability of the business can be improved; then, through certain rights and interests feedback, the idle resources of the terminal can generate income, thereby achieving a win-win effect for users and operators.
基于上述本申请的第一实施例,提出本申请算力网络端端协同方法的第二实施例,在本实施例中,上述实施例步骤S20,据所述算力需求和预设分配策略在预设的算力池中确定目标算力资源,包括:Based on the first embodiment of the present application, a second embodiment of the computing power network end-to-end collaboration method of the present application is proposed. In this embodiment, step S20 of the above embodiment determines the target computing power resources in the preset computing power pool according to the computing power demand and the preset allocation strategy, including:
步骤a,根据预设分配策略确定所述算力需求对应的分配维度,并确定预设的算力池中所有空闲算力资源对应的终端;Step a, determining the allocation dimension corresponding to the computing power demand according to a preset allocation strategy, and determining the terminals corresponding to all idle computing power resources in a preset computing power pool;
步骤b,根据所述分配维度确定每个所述终端对应的优先级,并选择优先级最高的所述终端作为目标终端,并将所述目标终端对应的空闲算力资源作为目标算力资源。Step b: determine the priority corresponding to each of the terminals according to the allocation dimension, select the terminal with the highest priority as the target terminal, and use the idle computing power resources corresponding to the target terminal as the target computing power resources.
在本实施例中,当获取到算力需求后,先确定提前设置的分配策略,并根据分配策略确定算力需求对应的分配维度(可以包括但不限于算力资源需求、业务信息和用户位置信息),并且需要在算力池中查找空闲的算力资源,即未被分配的算力资源。确定查找到的
空闲算力资源对应的终端,然后再根据分配维度确定每个终端的优先级,选择优先级最高的终端作为目标终端,并将目标终端中的空闲算力资源作为目标算力资源。其中,算力池中存储有各个终端在进行注册后的算力资源。其中,空闲算力资源可以是处于空闲状态的算力资源In this embodiment, after obtaining the computing power demand, the pre-set allocation strategy is first determined, and the allocation dimensions corresponding to the computing power demand are determined according to the allocation strategy (which may include but are not limited to computing power resource requirements, business information, and user location information), and it is necessary to search for idle computing power resources in the computing power pool, that is, unallocated computing power resources. The terminal corresponding to the idle computing resources, and then determine the priority of each terminal according to the allocation dimension, select the terminal with the highest priority as the target terminal, and use the idle computing resources in the target terminal as the target computing resources. The computing pool stores the computing resources of each terminal after registration. The idle computing resources can be computing resources in an idle state.
在本实施例中,通过根据预设分配策略确定分配维度,根据分配维度确定算力池中所有空闲算力资源对应的终端的优先级,再将优先级最高的终端作为目标终端的空闲算力资源作为目标算力资源,从而可以保障获取到的目标算力资源的准确有效性。In this embodiment, the allocation dimension is determined according to a preset allocation strategy, the priority of the terminal corresponding to all idle computing resources in the computing power pool is determined according to the allocation dimension, and then the idle computing resources of the terminal with the highest priority are used as the target terminal as the target computing power resources, thereby ensuring the accuracy and effectiveness of the acquired target computing power resources.
分配维度包括算力资源需求、业务信息和用户位置信息,The allocation dimensions include computing resource requirements, business information, and user location information.
所述根据所述分配维度确定每个所述终端对应的优先级,包括:The determining the priority corresponding to each of the terminals according to the allocation dimension includes:
步骤b1,根据所述用户位置信息确定每个所述终端对应的位置优先级;Step b1, determining the location priority corresponding to each of the terminals according to the user location information;
步骤b2,根据所述业务信息确定每个所述终端对应的服务级别协议优先级;Step b2, determining the service level agreement priority corresponding to each terminal according to the service information;
步骤b3,根据所述算力资源需求确定每个所述终端对应的算力需求优先级;Step b3, determining the computing power requirement priority corresponding to each terminal according to the computing power resource requirement;
步骤b4,根据所述位置优先级、所述服务级别协议优先级和所述算力需求优先级计算每个所述终端对应的优先级。Step b4, calculating the priority corresponding to each of the terminals according to the location priority, the service level agreement priority and the computing power requirement priority.
在本实施例中,可以先确定在不同的分配维度下所有终端的优先级,如位置优先级、服务级别协议优先级和算力需求优先级。其中,确定位置优先级、服务级别协议优先级和算力需求优先级的方式可以按照常规设置进行,以便确定最终的每个终端对应的优先级,比如,优先考虑位置优先级、再考虑服务级别协议优先级,最后考虑算力需求优先级。其中,用户位置信息可以是用户位置距离。业务信息可以是业务SLA要求。算力资源需求可以包括(运算/存储/带宽)。并在确定每个终端对应的优先级后,可以选择优先级最高的终端作为目标终端。例如,选择位置优先级、服务级别协议优先级和算力需求优先级都高的终端作为目标终端。此外,还可以对位置优先级、服务级别协议优先级和算力需求优先级分别设置不同的权重,如第一权重、第二权重和第三权重,并计算位置优先级和第一权重之间的第一乘积、计算服务级别协议优先级和第二权重之间的第二乘积、计算算力需求优先级和第三权重之间的第三乘积,并将第一乘积、第二乘积和第三乘积之间的和值作为终端的优先级,然后再依次比较每个终端的优先级,以选择出优先级最高的终端。In this embodiment, the priorities of all terminals under different allocation dimensions can be determined first, such as location priority, service level agreement priority, and computing power requirement priority. Among them, the method of determining the location priority, service level agreement priority, and computing power requirement priority can be performed according to the conventional settings, so as to determine the final priority corresponding to each terminal, for example, giving priority to the location priority, then considering the service level agreement priority, and finally considering the computing power requirement priority. Among them, the user location information can be the user location distance. The business information can be the business SLA requirements. The computing power resource requirements may include (computing/storage/bandwidth). After determining the priority corresponding to each terminal, the terminal with the highest priority can be selected as the target terminal. For example, a terminal with high location priority, service level agreement priority, and computing power requirement priority is selected as the target terminal. In addition, different weights may be set for the location priority, service level agreement priority, and computing power requirement priority, such as the first weight, the second weight, and the third weight, and the first product between the location priority and the first weight, the second product between the service level agreement priority and the second weight, and the third product between the computing power requirement priority and the third weight may be calculated, and the sum of the first product, the second product, and the third product may be used as the priority of the terminal, and then the priority of each terminal may be compared in turn to select the terminal with the highest priority.
此外,若终端已完成算力注册,当有临近终端发生业务需求时,算网大脑调度分配终端算力提供网络协同。例如,如图5所述,临近终端用户A和B请求使用业务(如视频通话),业务服务端向算网大脑发送算力需求;算网大脑收到算力请求,根据业务需要的资源信息(CPU/存储/带宽等)、业务信息(SLA信息等)、用户信息(位置信息等),从算力池中根据策略查找临近终端的算力资源,找到终端算力资源(比如A、B)后,向终端发送算力占用请求,请求中携带算力占用需求和网络协同信息(终端直连协议、地址、端口信息);其中,预设分配策略可以是根据下表1资源选择因子的优先级进行资源选择,比如优先选取靠近用户的、其次满足业务SLA要求、最后满足算力需求(运算/存储/网络能力)的一个或多个算力节点。
In addition, if the terminal has completed the computing power registration, when there is a business demand in the adjacent terminal, the computing network brain dispatches and allocates the terminal computing power to provide network collaboration. For example, as shown in Figure 5, adjacent terminal users A and B request to use the service (such as video call), and the service service end sends the computing power demand to the computing network brain; the computing network brain receives the computing power request, and according to the resource information (CPU/storage/bandwidth, etc.), service information (SLA information, etc.), user information (location information, etc.) required by the business, it searches for the computing power resources of the adjacent terminal from the computing power pool according to the strategy, and after finding the terminal computing power resources (such as A, B), it sends a computing power occupation request to the terminal, which carries the computing power occupation demand and network collaboration information (terminal direct connection protocol, address, port information); wherein, the preset allocation strategy can be to select resources according to the priority of the resource selection factors in Table 1 below, such as giving priority to one or more computing power nodes that are close to the user, secondly meet the business SLA requirements, and finally meet the computing power demand (computing/storage/network capacity).
In addition, if the terminal has completed the computing power registration, when there is a business demand in the adjacent terminal, the computing network brain dispatches and allocates the terminal computing power to provide network collaboration. For example, as shown in Figure 5, adjacent terminal users A and B request to use the service (such as video call), and the service service end sends the computing power demand to the computing network brain; the computing network brain receives the computing power request, and according to the resource information (CPU/storage/bandwidth, etc.), service information (SLA information, etc.), user information (location information, etc.) required by the business, it searches for the computing power resources of the adjacent terminal from the computing power pool according to the strategy, and after finding the terminal computing power resources (such as A, B), it sends a computing power occupation request to the terminal, which carries the computing power occupation demand and network collaboration information (terminal direct connection protocol, address, port information); wherein, the preset allocation strategy can be to select resources according to the priority of the resource selection factors in Table 1 below, such as giving priority to one or more computing power nodes that are close to the user, secondly meet the business SLA requirements, and finally meet the computing power demand (computing/storage/network capacity).
表1Table 1
终端向算网大脑回复占用确认响应;算网大脑收到终端响应后,将终端算力按需纳入管理,创建虚拟算力资源,业务服务端在资源上运行业务服务,向用户返回业务响应;终端A和终端B开始业务使用,并使用网络协同功能(根据网络协同信息,实现点对点通讯);当用户停止使用业务时,业务服务端停止业务服务,并向算网大脑发送停止算力请求;算网大脑向业务服务端返回确认响应;算网大脑将算力资源释放回算力池,向终端发送算力释放消息;终端向算网大脑回复算力释放响应;算网大脑向算力交易系统发送终端算力的
计费信息,包括但不限于:算力资源唯一标示、算力类型(如网络带宽)、实际消费算力信息(如网络流量)、服务时间、业务类型、SLA信息;算力交易系统根据上述算力计费信息和计费规则,计算终端应得的收益,通过一定的手段将收益实时或定期付给终端所属的用户。其中,根据实际算力需要,有可能向多个算力终端/节点(比如终端A和B)发送算力请求,此处为了简化只写了一个终端A。终端直连可以通过蓝牙、wifi、微波等通用协议。计费信息的发送,可以在业务结束时发送完整计费信息,也可以是在业务开始、中间、结束发送多次分段计费信息,此处为了简略只以发送一次完整计费信息为例。本实施例中,网络协同以点对点通讯为例。同理,本实施例也可以扩展为多方直连、提供中转的实施方式,通过将终端间网络直连的方式,可以大大减少云边网的网络资源消耗,还能提高业务的SLA能力。终端和算网大脑间还有其他网络节点,比如边缘计算节点、云中心。The terminal replies with an occupation confirmation response to the computing network brain; after receiving the terminal response, the computing network brain manages the terminal computing power as needed, creates virtual computing power resources, and the business service runs business services on the resources and returns a business response to the user; Terminal A and Terminal B start using the business and use the network collaboration function (based on the network collaboration information, point-to-point communication is achieved); when the user stops using the business, the business service stops the business service and sends a request to stop computing power to the computing network brain; the computing network brain returns a confirmation response to the business service; the computing network brain releases the computing power resources back to the computing power pool and sends a computing power release message to the terminal; the terminal replies with a computing power release response to the computing network brain; the computing network brain sends a message to the computing power trading system stating that the terminal has completed the computing power release. The billing information includes, but is not limited to: unique identification of computing power resources, computing power type (such as network bandwidth), actual consumption computing power information (such as network traffic), service time, business type, and SLA information; the computing power trading system calculates the terminal's income based on the above computing power billing information and billing rules, and pays the income to the user to whom the terminal belongs in real time or regularly through certain means. Among them, according to the actual computing power needs, it is possible to send computing power requests to multiple computing power terminals/nodes (such as terminals A and B). Here, only one terminal A is written for simplicity. Terminal direct connection can be through general protocols such as Bluetooth, wifi, and microwave. The sending of billing information can send complete billing information at the end of the business, or it can send multiple segmented billing information at the beginning, middle, and end of the business. Here, for simplicity, only sending complete billing information once is used as an example. In this embodiment, network collaboration takes point-to-point communication as an example. Similarly, this embodiment can also be expanded to a multi-party direct connection and transit implementation method. By directly connecting the network between terminals, the network resource consumption of the cloud edge network can be greatly reduced, and the SLA capability of the business can be improved. There are other network nodes between the terminal and the computing network brain, such as edge computing nodes and cloud centers.
在本实施例中,通过在分配维度包括算力资源需求、业务信息和用户位置信息后,可以依次计算每个终端对应的位置优先级、服务级别协议优先级和算力需求优先级,并根据位置优先级、服务级别协议优先级和算力需求优先级来确定每个终端对应的优先级,从而保障了确定的每个终端对应的优先级的准确有效性。In this embodiment, after allocating dimensions including computing resource requirements, business information and user location information, the location priority, service level agreement priority and computing power requirement priority corresponding to each terminal can be calculated in turn, and the priority corresponding to each terminal can be determined based on the location priority, service level agreement priority and computing power requirement priority, thereby ensuring the accuracy and effectiveness of the priority corresponding to each terminal.
根据所述目标算力资源构建虚拟算力环境,包括:Constructing a virtual computing environment according to the target computing resources includes:
步骤c,若所述目标算力资源对应的目标终端存在多个,则在各所述目标终端中选择一个所述目标终端作为集群大脑,并以所述集群大脑构建包含每个所述目标终端的算力集群,并根据所述算力集群对应的所有目标算力资源构建虚拟算力环境;Step c: if there are multiple target terminals corresponding to the target computing power resources, one target terminal is selected from each of the target terminals as the cluster brain, and a computing power cluster including each of the target terminals is constructed with the cluster brain, and a virtual computing power environment is constructed according to all the target computing power resources corresponding to the computing power cluster;
在本实施例中,当算力大脑经过查询发现目标算力资源存在多个时,可以构建算力集群,并通过算力集群创建虚拟算力环境,在虚拟算力环境中通过各个目标终端共同协作运行业务数据。例如,当多个临近终端已完成算力注册,当有算力需求时,算网大脑调度分配临近终端算力提供计算+网络协同(算力集群)。例如,如图6所示,用户请求使用业务(如大数据计算),业务服务端(如大数据中心)向算网大脑发送业务请求;算网大脑收到业务请求,根据业务需要的资源信息(CPU/存储/带宽等)、业务信息(SLA信息等)、用户信息(位置信息等),从算力池中根据策略查找算力资源,将若干临近终端组成一个算力集群,选择其中一个终端作为集群大脑(负责业务的分发和汇聚),向集群终端发送算力占用请求,请求中携带算力占用需求和算力协同信息(集群大脑ID、周边终端ID、位置信息、协同接口);终端向算网大脑回复占用确认响应;算网大脑收到终端响应后,将终端算力按需纳入管理,创建虚拟算力集群,业务服务端在资源上运行业务服务,向用户返回业务开始响应;集群终端开始处理业务,集群大脑和其他终端建立链接,分发算力请求给其他终端;其他终端收到算力请求后,处理业务数据,返回处理结果给集群大脑;集群大脑将处理结果汇总,根据需要返回给业务服务端和用户;当用户停止使用业务(如数据处理完毕)时,业务服务端停止业务服务,并向算网大脑发送停止算力请求;算网大脑向业务服务端返回确认响应;算网大脑将算力资源释放回算力池,向终端发送算力释放消息;终端向算网大脑回复算力释放响应;算网大脑向算力交易系统发送终端算力的计费信息,包括但不限于:算力资源唯一标示、算力类型(如CPU、内存、带宽)、实际消费算力信息(如TOPS量、网络流量)、服务时间、业务类型、SLA信息;算力交易系统根据上述算力计费信息和计费规则,计算终端应得的收益,通过一定的手段将收益实时或定期付给终端所属的用户。其中,际终端有很多,此处为了简化只写了2个终端(1个集群大脑+1个临近终端)。实际实施还可以包含动态信息更新,比如集群中有终端加入或退出,具体步骤不详细举例。计费信息的发送,可以在业务结束时发送完整计费信息,也可以是在业务开始、中间、结束发送多次分段计费信息,此处为了简略只以发送一次完整计费信息为例。终端和算网大脑间还有其他网络节点,比如边缘计算节点、云中心。In this embodiment, when the computing power brain finds that there are multiple target computing power resources through query, it can build a computing power cluster and create a virtual computing power environment through the computing power cluster, and run business data through various target terminals in the virtual computing power environment. For example, when multiple adjacent terminals have completed computing power registration and there is a demand for computing power, the computing network brain dispatches and allocates computing power of adjacent terminals to provide computing + network collaboration (computing power cluster). For example, as shown in FIG6 , a user requests to use a service (such as big data computing), and the service server (such as a big data center) sends a service request to the computing network brain; the computing network brain receives the service request, and searches for computing resources from the computing power pool according to the policy based on the resource information (CPU/storage/bandwidth, etc.), service information (SLA information, etc.), and user information (location information, etc.) required by the service, and forms a computing power cluster with several adjacent terminals, and selects one of the terminals as the cluster brain (responsible for the distribution and aggregation of services), and sends a computing power occupation request to the cluster terminal, which carries the computing power occupation demand and computing power coordination information (cluster brain ID, surrounding terminal ID, location information, and coordination interface); the terminal replies to the computing network brain with an occupation confirmation response; after receiving the terminal response, the computing network brain manages the terminal computing power as needed, creates a virtual computing power cluster, and the service server runs the service on the resources and returns the service start response to the user; the cluster terminal starts to process the service, and the cluster brain establishes a link with other terminals. Distribute computing power requests to other terminals; after receiving computing power requests, other terminals process business data and return processing results to the cluster brain; the cluster brain summarizes the processing results and returns them to the business server and user as needed; when the user stops using the business (such as data processing is completed), the business server stops the business service and sends a request to stop computing power to the computing network brain; the computing network brain returns a confirmation response to the business server; the computing network brain releases computing power resources back to the computing power pool and sends a computing power release message to the terminal; the terminal replies to the computing network brain with a computing power release response; the computing network brain sends the terminal computing power billing information to the computing power trading system, including but not limited to: unique identification of computing power resources, computing power type (such as CPU, memory, bandwidth), actual consumption computing power information (such as TOPS, network traffic), service time, business type, SLA information; the computing power trading system calculates the terminal's deserved income based on the above computing power billing information and billing rules, and pays the income to the user to whom the terminal belongs in real time or regularly through certain means. Among them, there are many international terminals, and only two terminals (1 cluster brain + 1 adjacent terminal) are written here for simplicity. The actual implementation may also include dynamic information updates, such as when a terminal joins or leaves the cluster. The specific steps are not given in detail. The billing information can be sent by sending complete billing information at the end of the service, or by sending multiple segmented billing information at the beginning, middle, and end of the service. For simplicity, only sending complete billing information once is used as an example. There are other network nodes between the terminal and the computing network brain, such as edge computing nodes and cloud centers.
步骤d,若所述目标算力资源对应的目标终端存在一个,则根据所述目标算力资源构建虚拟算力环境。Step d: If there is a target terminal corresponding to the target computing power resource, a virtual computing power environment is constructed according to the target computing power resource.
当目标算力资源对应的目标终端只有一个时,就可以直接通过目标算力资源来构建虚
拟算力环境。例如,终端已完成算力注册,当有临近终端发生算力需求时,算网大脑调度分配终端算力提供计算协同(信息共享共算)。例如,如图7所示,终端(A)请求使用业务(如自动驾驶),业务服务端(如自动驾驶平台)向算网大脑发送算力需求;算网大脑收到算力请求,根据业务需要的资源信息(CPU/存储/带宽等)、业务信息(SLA信息等)、用户信息(位置信息等),从算力池中根据策略查找临近终端的算力资源,找到算力资源后,向算力节点(比如终端A)发送算力占用请求,请求中携带算力占用需求和算力协同信息(临近终端信息:周边终端标示、位置信息、协同接口等);终端向算网大脑回复占用确认响应;算网大脑收到终端响应后,将终端算力按需纳入管理,创建虚拟算力资源,业务服务端在资源上运行业务服务,向用户返回业务响应;终端开始业务使用,并进行计算协同(比如发送自身根据控制系统计算的运动趋势信息给临近终端,减少临近终端的检测和计算;也可以接收临近终端的信息,配合使用进行自身系统控制);当用户停止使用业务时,业务服务端停止业务服务,并向算网大脑发送停止算力请求;算网大脑向业务服务端返回确认响应;算网大脑将算力资源释放回算力池,向终端发送算力释放消息;终端向算网大脑回复算力释放响应;算网大脑向算力交易系统发送终端算力的计费信息,包括但不限于:算力资源唯一标示、算力类型(如CPU)、实际消费算力信息(如TOPS量)、服务时间、业务类型、SLA信息;算力交易系统根据上述算力计费信息和计费规则,计算终端应得的收益,通过一定的手段将收益实时或定期付给终端所属的用户。其中,根据实际算力需要,有可能向多个算力终端/节点发送算力请求,此处为了简化只写了一个终端。实际实施还可以包含动态信息更新,比如周边终端信息变化,具体步骤不详细举例。临近终端也可能有多个,为了简化只写了一个临近终端。计费信息的发送,可以在业务结束时发送完整计费信息,也可以是在业务开始、中间、结束发送多次分段计费信息,此处为了简略只以发送一次完整计费信息为例。终端和算网大脑间还有其他网络节点,比如边缘计算节点、云中心,为了简化作了省略。When there is only one target terminal corresponding to the target computing power resource, the virtual Virtual computing power environment. For example, the terminal has completed computing power registration. When a nearby terminal has computing power demand, the computing network brain dispatches and allocates terminal computing power to provide computing collaboration (information sharing and co-computing). For example, as shown in Figure 7, the terminal (A) requests to use a service (such as autonomous driving), and the service server (such as the autonomous driving platform) sends the computing power demand to the computing network brain; the computing network brain receives the computing power request, and searches for the computing power resources of the nearby terminal from the computing power pool according to the resource information (CPU/storage/bandwidth, etc.), service information (SLA information, etc.), and user information (location information, etc.) required by the service according to the policy. After finding the computing power resources, it sends a computing power occupation request to the computing power node (such as terminal A), and the request carries the computing power occupation demand and computing power collaboration information (near terminal information: surrounding terminal labels, location information, collaborative interface, etc.); the terminal replies to the computing network brain with an occupation confirmation response; after receiving the terminal response, the computing network brain manages the terminal computing power as needed, creates virtual computing power resources, and the service server runs the service on the resources and returns the service response to the user; the terminal starts using the service and performs computing collaboration (such as Send the movement trend information calculated by the control system to the nearby terminal to reduce the detection and calculation of the nearby terminal; it can also receive the information of the nearby terminal and use it to control its own system); when the user stops using the service, the service service stops the service and sends a request to stop the computing power to the computing network brain; the computing network brain returns a confirmation response to the service service; the computing network brain releases the computing power resources back to the computing power pool and sends a computing power release message to the terminal; the terminal replies to the computing network brain with a computing power release response; the computing network brain sends the terminal computing power billing information to the computing power trading system, including but not limited to: unique identification of computing power resources, computing power type (such as CPU), actual consumption computing power information (such as TOPS), service time, business type, SLA information; the computing power trading system calculates the terminal's deserved income based on the above computing power billing information and billing rules, and pays the income to the user to whom the terminal belongs in real time or regularly through certain means. Among them, according to the actual computing power needs, it is possible to send computing power requests to multiple computing power terminals/nodes. Here, only one terminal is written for simplicity. The actual implementation can also include dynamic information updates, such as changes in peripheral terminal information. The specific steps are not given in detail. There may be multiple adjacent terminals, but only one adjacent terminal is shown for simplicity. The billing information can be sent by sending complete billing information at the end of the service, or by sending multiple segmented billing information at the beginning, middle, and end of the service. For simplicity, only sending complete billing information once is used as an example. There are other network nodes between the terminal and the computing network brain, such as edge computing nodes and cloud centers, which are omitted for simplicity.
在本实施例中,通过在目标终端存在多个时,构建包括多个目标终端的算力集群,并通过算力集群中的所有目标算力资源来构建虚拟算力环境,或者在目标终端存在一个时,直接以目标算力资源构建虚拟算力环境,从而保障了虚拟算力环境构建的有效性。In this embodiment, when there are multiple target terminals, a computing power cluster including multiple target terminals is constructed, and a virtual computing power environment is constructed through all target computing power resources in the computing power cluster, or when there is only one target terminal, a virtual computing power environment is directly constructed with the target computing power resources, thereby ensuring the effectiveness of the construction of the virtual computing power environment.
根据所述目标算力资源构建虚拟算力环境,以便在所述虚拟算力环境中运行所述算力需求对应的业务数据之后,包括:After constructing a virtual computing power environment according to the target computing power resources so as to run the business data corresponding to the computing power demand in the virtual computing power environment, the method further includes:
步骤e,在接收到服务端发送的停止算力请求之后,根据所述停止算力请求停止运行所述业务数据,并释放所述虚拟算力环境中的目标算力资源,生成应用所述目标算力资源的计费数据,将所述计费数据发送至所述目标终端。Step e, after receiving the stop computing power request sent by the server, stop running the business data according to the stop computing power request, release the target computing power resources in the virtual computing power environment, generate billing data for applying the target computing power resources, and send the billing data to the target terminal.
在本实施例中,当虚拟算力环境中运行业务数据时,若接收到服务端发送的停止算力请求,则会在虚拟算力环境中停止运行业务数据,并向服务端进行响应,再释放虚拟算力环境中的目标算力资源至算力池。此外还会生成相应的计费数据,并通过算力交易系统进行计算最终收益,以反馈至目标终端。In this embodiment, when the business data is running in the virtual computing environment, if a stop computing request is received from the server, the business data will be stopped in the virtual computing environment, and the server will be responded to, and then the target computing resources in the virtual computing environment will be released to the computing pool. In addition, the corresponding billing data will be generated, and the final income will be calculated through the computing power trading system and fed back to the target terminal.
在本实施例中,通过在接收到停止算力请求之后,停止运行业务数据,并释放目标算力资源,生成计费数据,将计费数据发送至目标终端,从而可以实现用户和目标终端的双赢效果。In this embodiment, after receiving a request to stop computing power, the business data is stopped, the target computing power resources are released, billing data is generated, and the billing data is sent to the target terminal, thereby achieving a win-win effect for the user and the target terminal.
在接收到服务端发送的算力需求之后,根据所述算力需求和预设分配策略在预设的算力池中确定目标算力资源之前,包括:After receiving the computing power demand sent by the server, before determining the target computing power resources in the preset computing power pool according to the computing power demand and the preset allocation strategy, it includes:
步骤f,在接收到终端发送的注册请求之后,将所述注册请求中的算力信息作为所述终端的空闲算力资源存储至预设的算力池。Step f, after receiving the registration request sent by the terminal, storing the computing power information in the registration request as the idle computing power resources of the terminal in a preset computing power pool.
在本实施例中,在进行算力网络端端协同之前,需要将终端注册到算力网络中,因此算力网络在接收到终端发送的注册请求之后,可以直接将注册请求中携带的算力信息作为算力资源存储至算力池中。并且默认存储时的初始状态为空闲状态。In this embodiment, before performing end-to-end collaboration of the computing power network, the terminal needs to be registered in the computing power network. Therefore, after receiving the registration request sent by the terminal, the computing power network can directly store the computing power information carried in the registration request as computing power resources in the computing power pool. And the default initial state during storage is the idle state.
在本实施例中,通过在接收到注册请求之后,将终端的空闲算力资源存储至算力池中,
以便后续实现算力网络的端端协同。In this embodiment, after receiving the registration request, the idle computing resources of the terminal are stored in the computing pool. This will enable end-to-end collaboration of the computing network to be achieved in the future.
将所述注册请求中的算力信息作为所述终端对应的空闲算力资源存储至预设的算力池之后,包括:After storing the computing power information in the registration request as the idle computing power resources corresponding to the terminal in a preset computing power pool, the method further includes:
步骤g,在接收到所述终端发送的算力变更请求之后,若所述终端对应的空闲算力资源已分配,则判断是否对所述空闲算力资源进行算力迁移,并根据判断结果更新所述终端对应的空闲算力资源;Step g, after receiving the computing power change request sent by the terminal, if the idle computing power resources corresponding to the terminal have been allocated, determine whether to perform computing power migration on the idle computing power resources, and update the idle computing power resources corresponding to the terminal according to the determination result;
步骤h,在接收到所述终端发送的去注册请求之后,若所述终端对应的空闲算力资源已分配,则对所述空闲算力资源进行算力迁移,并在所述算力迁移完成后,删除所述算力池中所述终端对应的空闲算力资源。Step h, after receiving the deregistration request sent by the terminal, if the idle computing power resources corresponding to the terminal have been allocated, the idle computing power resources are migrated, and after the computing power migration is completed, the idle computing power resources corresponding to the terminal in the computing power pool are deleted.
在本实施例中,例如,用户已和运营商签约终端参与算力网络的协议,用户终端开机联网后注册算力。如图8所示,终端根据用户设定,达到一定条件时(如进入待机状态),向算网大脑发起注册请求,请求携带算力信息,算力信息包括但不限于:终端唯一算力标示、计算/存储/网络的能力(如处理器类型数量、存储类型数量、网络类型数量)、位置信息(如经纬度、海拔高度);算网大脑收到注册信息,将算力信息保存在算力池,并更新算力网络资源拓扑(增加终端算力节点,标示终端和其他算力节点的连接信息),向终端回复注册成功响应;In this embodiment, for example, the user has signed an agreement with the operator for the terminal to participate in the computing power network, and the user terminal registers the computing power after it is turned on and connected to the network. As shown in Figure 8, the terminal initiates a registration request to the computing network brain according to the user's settings when certain conditions are met (such as entering the standby state), and the request carries computing power information. The computing power information includes but is not limited to: the terminal's unique computing power identification, computing/storage/network capabilities (such as the number of processor types, the number of storage types, the number of network types), and location information (such as longitude and latitude, altitude); the computing network brain receives the registration information, saves the computing power information in the computing power pool, and updates the computing power network resource topology (adds terminal computing power nodes, identifies the connection information between the terminal and other computing power nodes), and replies to the terminal with a successful registration response;
算网大脑根据预定策略,周期性向终端发送保活消息;终端收到保活消息,回复保活响应;当终端达到一定变化条件时(比如终端进入工作模式导致共享算力信息变化,或位置发生变更),向算网大脑发送算力信息变更请求;算网大脑收到算力变更信息,如果算力已分配,则算网大脑判断是否需要进行算力迁移;然后将算力信息更新,并更新算力网络资源拓扑,向终端回复算力信息变更响应;当终端达到不提供算力的条件时(比如下电),终端向算网大脑发起去注册请求;算网大脑收到去注册信息,如果算力已分配,则算网大脑进行算力迁移;然后将算力信息从算力池删除,并更新算力网络资源拓扑,向终端回复算力信息去注册响应。其中,终端和算网大脑间还有其他网络节点,比如边缘计算节点、云中心。如果注册信息或响应信息丢失,则终端需要重发注册消息。如果保活请求没有响应,超过一定次数,算网大脑判定终端失联,进行去注册流程,删除终端算力信息,并更新算力资源拓扑。The computing network brain periodically sends keep-alive messages to the terminal according to the predetermined strategy; the terminal receives the keep-alive message and replies with a keep-alive response; when the terminal reaches a certain change condition (for example, the terminal enters the working mode, resulting in a change in the shared computing power information, or a change in the location), it sends a computing power information change request to the computing network brain; the computing network brain receives the computing power change information, and if the computing power has been allocated, the computing network brain determines whether computing power migration is required; then it updates the computing power information and updates the computing power network resource topology, and replies to the terminal with a computing power information change response; when the terminal reaches the condition of not providing computing power (for example, power off), the terminal initiates a deregistration request to the computing network brain; the computing network brain receives the deregistration information, and if the computing power has been allocated, the computing network brain performs computing power migration; then it deletes the computing power information from the computing power pool, updates the computing power network resource topology, and replies to the terminal with a computing power information deregistration response. Among them, there are other network nodes between the terminal and the computing network brain, such as edge computing nodes and cloud centers. If the registration information or response information is lost, the terminal needs to resend the registration message. If there is no response to the keep-alive request for more than a certain number of times, the computing network brain determines that the terminal is disconnected, performs the deregistration process, deletes the terminal computing power information, and updates the computing power resource topology.
在本实施例中,通过在接收到算力变更请求之后,更新空闲算力资源,在接收到去注册请求之后,删除空闲算力资源,从而可以保障算力池的有效性。In this embodiment, the validity of the computing power pool can be guaranteed by updating the idle computing power resources after receiving a computing power change request and deleting the idle computing power resources after receiving a deregistration request.
此外,本申请还提供一种算力网络,运行上述任一实施例中的算力网络端端协同方法,包括服务端、算网大脑和多个终端;In addition, the present application also provides a computing network, which runs the computing network end-to-end collaboration method in any of the above embodiments, including a server, a computing network brain, and multiple terminals;
所述服务端,用于在接收到业务请求之后,发送所述业务请求对应的算力需求至所述算网大脑;The server is used to send the computing power requirement corresponding to the business request to the computing network brain after receiving the business request;
所述算网大脑,用于在接收到所述服务端发送的算力需求之后,根据所述算力需求和预设分配策略确定目标算力资源,确定多个所述终端中所述目标算力资源的目标终端,发送算力占用请求至所述目标终端;The computing network brain is used to determine the target computing power resources according to the computing power requirements and the preset allocation strategy after receiving the computing power requirements sent by the server, determine the target terminal of the target computing power resources among the multiple terminals, and send a computing power occupation request to the target terminal;
所述目标终端,用于在接收到所述算力占用请求,且根据所述算力占用请求确定算力占用之后,生成占用确认响应,并将所述占用确认响应发送至所述算网大脑;The target terminal is used to generate an occupation confirmation response after receiving the computing power occupation request and determining the computing power occupation according to the computing power occupation request, and send the occupation confirmation response to the computing network brain;
所述算网大脑,用于根据所述目标算力资源构建虚拟算力环境,以便在所述虚拟算力环境中运行所述算力需求对应的业务数据。The computing network brain is used to build a virtual computing environment based on the target computing resources so as to run the business data corresponding to the computing demand in the virtual computing environment.
本申请算力网络具体实施方式与上述算力网络端端协同方法各实施例基本相同,在此不再赘述。The specific implementation methods of the computing power network of the present application are basically the same as the various embodiments of the above-mentioned computing power network end-to-end collaboration method, and will not be repeated here.
此外,本申请还提供一种算力网络端端协同设备,所述算力网络端端协同设备包括:存储器、处理器及存储在所述存储器上的算力网络端端协同程序;所述处理器用于执行所述算力网络端端协同程序,以实现上述算力网络端端协同方法各实施例的步骤。In addition, the present application also provides a computing power network end-to-end collaborative device, which includes: a memory, a processor, and a computing power network end-to-end collaborative program stored on the memory; the processor is used to execute the computing power network end-to-end collaborative program to implement the steps of each embodiment of the above-mentioned computing power network end-to-end collaborative method.
本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者
一个以上程序,所述一个或者一个以上程序还可被一个或者一个以上的处理器执行以用于实现上述算力网络端端协同方法各实施例的步骤。The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a One or more programs, and the one or more programs can also be executed by one or more processors to implement the steps of each embodiment of the above-mentioned computing power network end-to-end collaboration method.
本申请计算机可读存储介质具体实施方式与上述算力网络端端协同方法各实施例基本相同,在此不再赘述。The specific implementation methods of the computer-readable storage medium of the present application are basically the same as the embodiments of the above-mentioned computing power network end-to-end collaboration method, and will not be repeated here.
在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。In this article, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or system that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
以上仅为本申请的一些实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。
The above are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims (10)
- 一种算力网络端端协同方法,包括:A computing power network end-to-end collaboration method, comprising:在接收到服务端发送的算力需求之后,根据所述算力需求和预设分配策略在预设的算力池中确定目标算力资源;After receiving the computing power demand sent by the server, determine the target computing power resources in the preset computing power pool according to the computing power demand and the preset allocation strategy;向所述目标算力资源对应的目标终端发送算力占用请求,并在接收到所述目标终端基于所述算力占用请求反馈的占用确认响应之后,根据所述目标算力资源构建虚拟算力环境,以便在所述虚拟算力环境中运行所述算力需求对应的业务数据。A computing power occupation request is sent to the target terminal corresponding to the target computing power resource, and after receiving an occupation confirmation response from the target terminal based on the computing power occupation request, a virtual computing power environment is constructed according to the target computing power resource, so as to run the business data corresponding to the computing power demand in the virtual computing power environment.
- 如权利要求1所述的算力网络端端协同方法,其中,所述根据所述算力需求和预设分配策略在预设的算力池中确定目标算力资源,包括:The computing power network end-to-end collaboration method according to claim 1, wherein determining the target computing power resources in a preset computing power pool according to the computing power demand and the preset allocation strategy comprises:根据预设分配策略确定所述算力需求对应的分配维度,并确定预设的算力池中所有空闲算力资源对应的终端;Determine the allocation dimension corresponding to the computing power demand according to the preset allocation strategy, and determine the terminals corresponding to all idle computing power resources in the preset computing power pool;根据所述分配维度确定每个所述终端对应的优先级,并选择优先级最高的所述终端作为目标终端,并将所述目标终端对应的空闲算力资源作为目标算力资源。The priority corresponding to each of the terminals is determined according to the allocation dimension, and the terminal with the highest priority is selected as the target terminal, and the idle computing power resources corresponding to the target terminal are used as the target computing power resources.
- 如权利要求2所述的算力网络端端协同方法,其中,所述分配维度包括算力资源需求、业务信息和用户位置信息,The computing power network end-to-end collaboration method according to claim 2, wherein the allocation dimensions include computing power resource requirements, business information, and user location information,所述根据所述分配维度确定每个所述终端对应的优先级,包括:The determining the priority corresponding to each of the terminals according to the allocation dimension includes:根据所述用户位置信息确定每个所述终端对应的位置优先级;Determine the location priority corresponding to each of the terminals according to the user location information;根据所述业务信息确定每个所述终端对应的服务级别协议优先级;Determine the service level agreement priority corresponding to each of the terminals according to the service information;根据所述算力资源需求确定每个所述终端对应的算力需求优先级;Determine the computing power requirement priority corresponding to each terminal according to the computing power resource requirement;根据所述位置优先级、所述服务级别协议优先级和所述算力需求优先级计算每个所述终端对应的优先级。The priority corresponding to each of the terminals is calculated according to the location priority, the service level agreement priority and the computing power requirement priority.
- 如权利要求1所述的算力网络端端协同方法,其中,所述根据所述目标算力资源构建虚拟算力环境,包括:The computing power network end-to-end collaboration method according to claim 1, wherein the step of constructing a virtual computing power environment according to the target computing power resources comprises:若所述目标算力资源对应的目标终端存在多个,则在各所述目标终端中选择一个所述目标终端作为集群大脑,并以所述集群大脑构建包含每个所述目标终端的算力集群,并根据所述算力集群对应的所有目标算力资源构建虚拟算力环境;If there are multiple target terminals corresponding to the target computing power resources, one target terminal is selected from each of the target terminals as the cluster brain, and a computing power cluster including each of the target terminals is constructed with the cluster brain, and a virtual computing power environment is constructed according to all the target computing power resources corresponding to the computing power cluster;若所述目标算力资源对应的目标终端存在一个,则根据所述目标算力资源构建虚拟算力环境。If there is a target terminal corresponding to the target computing power resource, a virtual computing power environment is constructed according to the target computing power resource.
- 如权利要求1所述的算力网络端端协同方法,其中,所述根据所述目标算力资源构建虚拟算力环境,以便在所述虚拟算力环境中运行所述算力需求对应的业务数据之后,包括:The computing power network end-to-end collaboration method according to claim 1, wherein the step of constructing a virtual computing power environment according to the target computing power resources so as to run the business data corresponding to the computing power demand in the virtual computing power environment comprises:在接收到服务端发送的停止算力请求之后,根据所述停止算力请求停止运行所述业务数据,并释放所述虚拟算力环境中的目标算力资源,生成应用所述目标算力资源的计费数据,将所述计费数据发送至所述目标终端。After receiving the stop computing power request sent by the server, the business data is stopped according to the stop computing power request, and the target computing power resources in the virtual computing power environment are released, and the billing data of the target computing power resources is generated, and the billing data is sent to the target terminal.
- 如权利要求1所述的算力网络端端协同方法,其中,所述在接收到服务端发送的算力需求之后,根据所述算力需求和预设分配策略在预设的算力池中确定目标算力资源之前,包括:The computing power network end-to-end collaboration method according to claim 1, wherein after receiving the computing power demand sent by the server, before determining the target computing power resource in the preset computing power pool according to the computing power demand and the preset allocation strategy, it includes:在接收到终端发送的注册请求之后,将所述注册请求中的算力信息作为所述终端对应的空闲算力资源存储至预设的算力池。After receiving the registration request sent by the terminal, the computing power information in the registration request is stored in a preset computing power pool as the idle computing power resources corresponding to the terminal.
- 如权利要求6所述的算力网络端端协同方法,其中,所述将所述注册请求中的算力信息作为所述终端对应的空闲算力资源存储至预设的算力池之后,包括:The computing power network end-to-end collaboration method according to claim 6, wherein after storing the computing power information in the registration request as the idle computing power resources corresponding to the terminal in a preset computing power pool, the method further comprises:在接收到所述终端发送的算力变更请求之后,若所述终端对应的空闲算力资源已分配,则判断是否对所述空闲算力资源进行算力迁移,并根据判断结果更新所述终端对应的空闲算力资源;After receiving the computing power change request sent by the terminal, if the idle computing power resources corresponding to the terminal have been allocated, determine whether to perform computing power migration on the idle computing power resources, and update the idle computing power resources corresponding to the terminal according to the determination result;在接收到所述终端发送的去注册请求之后,若所述终端对应的空闲算力资源已分配,则对所述空闲算力资源进行算力迁移,并在所述算力迁移完成后,删除所述算力池中所述 终端对应的空闲算力资源。After receiving the deregistration request sent by the terminal, if the idle computing resources corresponding to the terminal have been allocated, the idle computing resources are migrated, and after the computing migration is completed, the computing resources in the computing pool are deleted. Idle computing resources corresponding to the terminal.
- 一种算力网络,其中,运行如权利要求1至7中任一项所述的算力网络端端协同方法,包括服务端、算网大脑和多个终端;A computing power network, wherein the computing power network end-to-end collaboration method as described in any one of claims 1 to 7 is executed, comprising a server, a computing network brain and a plurality of terminals;所述服务端,设置为在接收到业务请求之后,发送所述业务请求对应的算力需求至所述算网大脑;The server is configured to send the computing power requirement corresponding to the business request to the computing network brain after receiving the business request;所述算网大脑,设置为在接收到所述服务端发送的算力需求之后,根据所述算力需求和预设分配策略在预设的算力池中确定目标算力资源,确定多个所述终端中所述目标算力资源的目标终端,发送算力占用请求至所述目标终端;The computing network brain is configured to determine the target computing power resources in the preset computing power pool according to the computing power requirements and the preset allocation strategy after receiving the computing power requirements sent by the server, determine the target terminal of the target computing power resources among the multiple terminals, and send a computing power occupation request to the target terminal;所述目标终端,设置为在接收到所述算力占用请求,且根据所述算力占用请求确定算力占用之后,生成占用确认响应,并将所述占用确认响应发送至所述算网大脑;The target terminal is configured to generate an occupation confirmation response after receiving the computing power occupation request and determining the computing power occupation according to the computing power occupation request, and send the occupation confirmation response to the computing network brain;所述算网大脑,设置为根据所述目标算力资源构建虚拟算力环境,以便在所述虚拟算力环境中运行所述算力需求对应的业务数据。The computing network brain is configured to construct a virtual computing environment based on the target computing resources so as to run the business data corresponding to the computing demand in the virtual computing environment.
- 一种电子设备,包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行权利要求1至7中任一项所述算力网络端端协同方法的步骤。An electronic device comprises: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the steps of the computing power network end-to-end collaboration method described in any one of claims 1 to 7.
- 一种存储介质,所述存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行权利要求1至7中任一项所述算力网络端端协同方法的步骤。 A storage medium storing one or more programs, which, when executed by an electronic device including multiple application programs, enables the electronic device to perform the steps of the computing power network end-to-end collaboration method described in any one of claims 1 to 7.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211231379.8A CN117896253A (en) | 2022-10-09 | 2022-10-09 | Force calculation network end cooperation method, force calculation network, electronic equipment and storage medium |
CN202211231379.8 | 2022-10-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024078203A1 true WO2024078203A1 (en) | 2024-04-18 |
Family
ID=90639849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/117066 WO2024078203A1 (en) | 2022-10-09 | 2023-09-05 | Computing power network end-to-end coordination method, computing power network, electronic device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117896253A (en) |
WO (1) | WO2024078203A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118540291A (en) * | 2024-07-25 | 2024-08-23 | 江苏未来网络集团有限公司 | Method and system for realizing cooperative scheduling of computing network |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118646629A (en) * | 2024-08-12 | 2024-09-13 | 国网福建省电力有限公司 | General sense computing resource allocation method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220038937A1 (en) * | 2020-12-14 | 2022-02-03 | Kingtronics Institute of Science and Technology (Xiamen) Co., Ltd. | Global communication network system based on micro base station and edge computing |
CN114756340A (en) * | 2022-03-17 | 2022-07-15 | 中国联合网络通信集团有限公司 | Computing power scheduling system, method, device and storage medium |
WO2022166915A1 (en) * | 2021-02-05 | 2022-08-11 | 维沃移动通信有限公司 | Computing power service method and device |
CN115002681A (en) * | 2021-03-02 | 2022-09-02 | 中国移动通信有限公司研究院 | Computing power sensing network and using method and storage medium thereof |
-
2022
- 2022-10-09 CN CN202211231379.8A patent/CN117896253A/en active Pending
-
2023
- 2023-09-05 WO PCT/CN2023/117066 patent/WO2024078203A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220038937A1 (en) * | 2020-12-14 | 2022-02-03 | Kingtronics Institute of Science and Technology (Xiamen) Co., Ltd. | Global communication network system based on micro base station and edge computing |
WO2022166915A1 (en) * | 2021-02-05 | 2022-08-11 | 维沃移动通信有限公司 | Computing power service method and device |
CN115002681A (en) * | 2021-03-02 | 2022-09-02 | 中国移动通信有限公司研究院 | Computing power sensing network and using method and storage medium thereof |
CN114756340A (en) * | 2022-03-17 | 2022-07-15 | 中国联合网络通信集团有限公司 | Computing power scheduling system, method, device and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118540291A (en) * | 2024-07-25 | 2024-08-23 | 江苏未来网络集团有限公司 | Method and system for realizing cooperative scheduling of computing network |
Also Published As
Publication number | Publication date |
---|---|
CN117896253A (en) | 2024-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2024078203A1 (en) | Computing power network end-to-end coordination method, computing power network, electronic device, and storage medium | |
Aazam et al. | Offloading in fog computing for IoT: Review, enabling technologies, and research opportunities | |
WO2021208914A1 (en) | Network-scheduling-based computing power sharing method, and related product | |
CN111813570A (en) | Event-driven message interaction method for power Internet of things | |
US8661135B2 (en) | System and method for providing a platform as a service (PaaS) with a materialized shared space | |
US20120290643A1 (en) | Client-server system | |
EP2838243B1 (en) | Capability aggregation and exposure method and system | |
CN113301078A (en) | Network system, service deployment and network division method, device and storage medium | |
CN112799825A (en) | Task processing method and network equipment | |
Wang et al. | Robust task offloading in dynamic edge computing | |
Tran et al. | OaaS: offload as a service in fog networks | |
Meneguette et al. | Vehicular clouds leveraging mobile urban computing through resource discovery | |
Hamdaoui et al. | Unleashing the power of participatory IoT with blockchains for increased safety and situation awareness of smart cities | |
WO2024082770A1 (en) | Video transcoding method and apparatus, and device, storage medium and video on-demand system | |
CN114296924A (en) | Edge calculation force sharing method, server and system | |
CN114650320A (en) | Task scheduling method and device, storage medium and electronic equipment | |
US20130290080A1 (en) | Social media product reservation | |
US11102293B2 (en) | System and method for migrating an agent server to an agent client device | |
WO2021078058A1 (en) | Resource scheduling method, apparatus and device, and computer-readable storage medium | |
US20230176913A1 (en) | Cross-domain cabin computing system and method based on data resource distribution | |
WO2024027288A1 (en) | Resource rendering method and apparatus, and device, computer-readable storage medium and computer program product | |
US8908855B1 (en) | Systems and methods for allocation of telephony resources on-demand | |
CN110636149B (en) | Remote access method, device, router and storage medium | |
Sutagundar et al. | Resource allocation for fog enhanced vehicular services | |
CN112783643A (en) | Resource arrangement method and device for multi-access edge computing network |
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: 23876408 Country of ref document: EP Kind code of ref document: A1 |