CN114301923A - Computing power service switching method and device, electronic equipment and storage medium - Google Patents
Computing power service switching method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114301923A CN114301923A CN202111505356.7A CN202111505356A CN114301923A CN 114301923 A CN114301923 A CN 114301923A CN 202111505356 A CN202111505356 A CN 202111505356A CN 114301923 A CN114301923 A CN 114301923A
- Authority
- CN
- China
- Prior art keywords
- service
- computing power
- edge
- node
- force
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000004891 communication Methods 0.000 claims abstract description 31
- 238000004364 calculation method Methods 0.000 claims description 85
- 238000012545 processing Methods 0.000 claims description 39
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 7
- 230000001934 delay Effects 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses computing power service switching method and device, electronic equipment and storage medium, relates to the field of communication, and is used for solving the problem that user equipment cannot be effectively switched when computing power service is provided for the user equipment in the prior art, and the method comprises the following steps: receiving first indication information from a first edge computing power node, wherein the first edge computing power node is an edge computing power node for providing first computing power service for user equipment; whether the second edge computing power node supports the first computing power service is judged based on the first indication information; determining the service time delay of a first edge computational power node and the service time delay of a second edge computational power node; and if the second edge computing power node supports the first computing power service and the service delay of the second edge computing power node is smaller than that of the first edge computing power node, providing the network access service and the first computing power service for the user equipment. The method and the device are used for switching the user equipment in the computing power network.
Description
Technical Field
The present application relates to the field of communications, and in particular, to a computing power service switching method and apparatus, an electronic device, and a storage medium.
Background
In the current mobile edge computing scene, user equipment accesses an edge computing force node, and the edge computing force node provides computing force service for a user. However, in a scenario where the ue is moving continuously, if the ue moves to a position far away from the edge computing power node, the quality of service of the edge computing power node for providing computing power service to the user will be reduced.
Current solutions to this problem are generally: and switching the user equipment from the primary edge force calculation node to the closer edge force calculation node. And the computing power service of the user equipment is still processed on the first edge computing power node, and the second edge computing power node is used as a transfer node for forwarding a processing result and a task to be processed. However, this method will increase the delay of the edge node in processing the computing service and reduce the quality of the computing service provided by the edge node.
Disclosure of Invention
The application provides a computing power service switching method and device, electronic equipment and a storage medium, and can solve the problem that user equipment cannot be effectively switched when computing power service is provided for the user equipment in the prior art.
In a first aspect, the present application provides a computing power service switching method, including: receiving first indication information from a first edge force node; the first edge computing power node is an edge computing power node that provides a first computing power service to the user equipment. And judging whether the second edge computing power node supports the first computing power service or not based on the first indication information. And determining the service time delay of the first edge computational force node and the service time delay of the second edge computational force node. And if the second edge computing power node supports the first computing power service and the service delay of the second edge computing power node is smaller than that of the first edge computing power node, providing the network access service and the first computing power service for the user equipment.
With reference to the first aspect, in a possible implementation manner, the determining whether the second edge computation force node supports the first computation force service specifically includes: and if the computing power service operated by the second edge computing power node comprises the first computing power service, determining that the second edge computing power node supports the first computing power service. And if the computing power service operated by the second edge computing power node does not comprise the first computing power service and the second edge computing power node has enough resources for deploying the first computing power service, determining that the second edge computing power node supports the first computing power service. And if the computing power service operated by the second edge computing power node does not comprise the first computing power service and the second edge computing power node does not have enough resources for deploying the first computing power service, determining that the second edge computing power node does not support the first computing power service.
With reference to the first aspect, in a possible implementation manner, before receiving the first indication information from the first edge computation force node, the method further includes: under the condition that the distance between the user equipment and the second edge calculation force node is smaller than or equal to the preset distance, sending first request information to the first edge calculation force node; the first request information is used for indicating the first edge computing power node to send first indication information to the second edge computing power node.
With reference to the first aspect, in a possible implementation manner, the first indication information includes a user snapshot of the first computing power service, where the user snapshot is used to characterize service state information of the first computing power service, and the service state information includes service delay of the first edge computing power node.
With reference to the first aspect, in a possible implementation manner, the method further includes: and if the second edge calculation force node supports the first calculation force service and the service delay of the second edge calculation force node is greater than or equal to the service delay of the first edge calculation force node, keeping the first edge calculation force node to provide the first calculation force service for the user equipment. And if the second edge calculation force node does not support the first calculation force service and the service delay of the second edge calculation force node is greater than or equal to the service delay of the first edge calculation force node, keeping the first edge calculation force node to provide the first calculation force service for the user equipment. If the second edge computing power node does not support the first computing power service and the service delay of the second edge computing power node is smaller than the service delay of the first edge computing power node, providing network access service for user equipment and sending a user snapshot of the first computing power service to a third edge computing power node; and the third edge calculation force node is an edge calculation force node which has the minimum communication time delay with the second edge calculation force node in the edge calculation force nodes supporting the first calculation force service.
Based on above-mentioned technical scheme, this application brings following beneficial effect: and under the condition that the user equipment is close to the second edge calculation force node, determining whether the second edge calculation force node provides calculation force service for the user equipment or not by judging whether the second edge calculation force node supports the first calculation force service provided by the first edge calculation force node for the user equipment or not and whether the service delay of the second edge calculation force node is smaller than the service delay of the first edge calculation force node or not. Therefore, under the condition that the second edge computing power node supports the first computing power service and the service delay is smaller than that of the first edge computing power node, the second edge computing power node continuously provides the network access service and the first computing power service for the user equipment, so that the user equipment is switched to the second edge computing power node, the time delay of the computing power service at the edge computing power node is further reduced, and the quality of the computing power service provided by the edge computing power node for the user is improved.
In a second aspect, a computing power service switching device is provided, including: a receiving unit and a processing unit. The receiving unit is used for receiving first indication information from the first edge force calculation node; the first edge computing power node is an edge computing power node that provides a first computing power service to the user equipment. And the processing unit is used for judging whether the second edge computing power node supports the first computing power service or not based on the first indication information. And the processing unit is also used for determining the service time delay of the first edge computational force node and the service time delay of the second edge computational force node. And the processing unit is further used for providing the network access service and the first force computing service for the user equipment when the second edge force computing node supports the first force computing service and the service delay of the second edge force computing node is smaller than the service delay of the first edge force computing node.
With reference to the second aspect, in a possible implementation manner, the processing unit is further configured to determine that the second edge computational power node supports the first computational power service when the computational power service executed by the second edge computational power node includes the first computational power service. And the processing unit is further used for determining that the second edge computing power node supports the first computing power service when the computing power services operated by the second edge computing power node do not include the first computing power service and sufficient resources exist in the second edge computing power node for deploying the first computing power service. The processing unit is further configured to determine that the second edge computing power node does not support the first computing power service when the computing power services operated by the second edge computing power node do not include the first computing power service and sufficient resources do not exist in the second edge computing power node for deploying the first computing power service.
With reference to the second aspect, in a possible implementation manner, the computing power service switching apparatus further includes a sending unit. The sending unit is used for sending first request information to the first edge calculation force node under the condition that the distance between the user equipment and the second edge calculation force node is smaller than or equal to a preset distance; the first request information is used for indicating the first edge computing power node to send first indication information to the second edge computing power node.
With reference to the second aspect, in a possible implementation manner, the first indication information includes a user snapshot of the first computing power service, where the user snapshot is used to characterize service state information of the first computing power service, and the service state information includes service delay of the first edge computing power node.
With reference to the second aspect, in a possible implementation manner, the processing unit is further configured to maintain the first edge computation force node to provide the first computation force service to the user equipment when the second edge computation force node supports the first computation force service and a service delay of the second edge computation force node is greater than or equal to a service delay of the first edge computation force node. And the processing unit is further used for keeping the first edge calculation force node to provide the first calculation force service for the user equipment when the second edge calculation force node does not support the first calculation force service and the service delay of the second edge calculation force node is greater than or equal to the service delay of the first edge calculation force node. The processing unit is further configured to provide a network access service to the user equipment when the second edge computational power node does not support the first computational power service and the service delay of the second edge computational power node is smaller than the service delay of the first edge computational power node, and send a user snapshot of the first computational power service to the third edge computational power node; and the third edge calculation force node is an edge calculation force node which has the minimum communication time delay with the second edge calculation force node in the edge calculation force nodes supporting the first calculation force service.
In addition, for the technical effect of the computing power service switching apparatus according to the second aspect, reference may be made to the technical effect of the computing power service switching method according to the first aspect, and details are not repeated here.
In a third aspect, the present application provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device of the present application, cause the electronic device to perform the computational service switching method as described in the first aspect and any one of the possible implementations of the first aspect.
In a fourth aspect, the present application provides an electronic device comprising: a processor and a memory; wherein the memory is used for storing one or more programs, the one or more programs comprising computer executable instructions, and when the electronic device is running, the processor executes the computer executable instructions stored by the memory to cause the electronic device to perform the computational power service switching method as described in the first aspect and any one of the possible implementations of the first aspect.
In a fifth aspect, the present application provides a computer program product containing instructions that, when run on a computer, cause an electronic device of the present application to perform the computational power service switching method as described in the first aspect and any one of the possible implementations of the first aspect.
In a sixth aspect, the present application provides a chip system, where the chip system is applied to a computing power service switching device; the system-on-chip includes one or more interface circuits, and one or more processors. The interface circuit and the processor are interconnected through a line; the interface circuit is configured to receive a signal from a memory of the computing services switching device and send the signal to the processor, the signal including computer instructions stored in the memory. When the processor executes the computer instructions, the computing power service switching device performs the computing power service switching method according to the first aspect and any one of the possible designs thereof.
In the present application, the names of the computing service switching devices described above do not limit the devices or functional units themselves, which may appear under other names in actual implementations. Insofar as the functions of the respective devices or functional units are similar to those of the present application, they are within the scope of the claims of the present application and their equivalents.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a network architecture of an edge computing network according to the present application;
fig. 3 is a schematic flowchart of a computing power service switching method provided in the present application;
FIG. 4 is a schematic flow chart illustrating another computing power service switching method provided herein;
FIG. 5 is a schematic flow chart of another computing power service switching method provided in the present application;
FIG. 6 is a schematic diagram of a topology of a computational power network provided by an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computing power service switching device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship. For example, A/B may be understood as A or B.
The terms "first" and "second" in the description and claims of the present application are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first edge algorithm node and the second edge algorithm node are used to distinguish different edge service nodes, rather than describing the characteristic order of the edge algorithm nodes.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "e.g.," is intended to present concepts in a concrete fashion.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 1, the electronic device 100 includes at least one processor 101, a communication line 102, and at least one communication interface 104, and may also include a memory 103. The processor 101, the memory 103 and the communication interface 104 may be connected via a communication line 102.
The processor 101 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present application, such as: one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
The communication link 102 may include a path for communicating information between the aforementioned components.
The communication interface 104 is used for communicating with other devices or a communication network, and may use any transceiver or the like, such as ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), and the like.
The memory 103 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to include or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible design, the memory 103 may exist independently from the processor 101, that is, the memory 103 may be a memory external to the processor 101, in which case, the memory 103 may be connected to the processor 101 through the communication line 102, and is used for storing execution instructions or application program codes, and is controlled by the processor 101 to execute, so as to implement the computing task deployment method provided by the following embodiments of the present application. In yet another possible design, the memory 103 may also be integrated with the processor 101, that is, the memory 103 may be an internal memory of the processor 101, for example, the memory 103 is a cache memory, and may be used for temporarily storing some data and instruction information.
As one implementation, the processor 101 may include one or more CPUs, such as CPU0 and CPU1 of FIG. 1. As another implementation, the electronic device 100 may include multiple processors, such as the processor 101 and the processor 107 of FIG. 1. As yet another implementable manner, the electronic device 100 may also include an output device 105 and an input device 106.
A computing network (also referred to as a computational power network) refers to a technology for flexibly scheduling computing resources, storage resources and network resources among cloud computing nodes, network nodes and edge cloud computing nodes according to computing requirements of a computing task to complete computing of the computing task.
Current computing networks mainly include: the method comprises the steps of control plane computation network coordinated scheduling, data plane network convergence perception, management, service plane computation resource arrangement and the like. The computing network can uniformly coordinate and manage computing resources, storage resources and network resources, and can measure the computing resources, the storage resources and the network resources according to a uniform standard. In a computing network, the computing resources, storage resources and network resources of each node may be represented in a specific parameter form, and these parameters may inform the resource conditions of other nodes themselves by carrying data messages mutually transmitted between nodes. The ability to provide intuitive components and services to users is also often added to current computing networks; visualization in arrangement, scheduling and application is realized through communication among the service layer, the bottom layer resources and the network interface.
An example, as shown in fig. 2, is a schematic network architecture diagram of an edge computing network 20 provided in the present application. As shown in fig. 2, the edge computing network includes: a plurality of edge computing nodes 201, a plurality of network devices 202, a computing network management system 203, and a user device 204.
The user equipment 204 is connected to the edge computing node 201, and sends the computing task to the edge computing node 201.
The edge computing node 201 is configured to receive a computing task from the user equipment, deploy the computing task, compute the computing task, and return a computation result to the user equipment. The edge force node 201 is connected to a network device 202. The edge computing force nodes 201 may communicate with each other through a network device. In addition, the edge computing node 201 may also communicate with the computing network management system 203 through a network device
The network device 202 is used to implement communication between the edge computing node 201 and other edge computing nodes, as well as communication between the edge computing node 201 and the computing network management system 203.
The computing network management system 203 includes a service abstraction function, a computing resource management function, a computing network integration analysis function, and a control function of a network controller.
At present, in a mobile edge computing scene, user equipment accesses an edge computing power node, and the edge computing power node provides computing power service for a user. However, in a scenario where the ue is moving continuously, if the ue moves to a position far away from the edge computing power node, the quality of service of the edge computing power node for providing computing power service to the user will be reduced. Existing solutions typically switch the user device from a primary edge computing power node (denoted as a first edge computing power node) to a closer edge computing power node (denoted as a second edge computing power node). And the computing power service of the user equipment is still processed on the first edge computing power node, and the second edge computing power node is used as a transfer node for forwarding a processing result and a task to be processed. However, this method will increase the delay of the edge node in processing the computing service and reduce the quality of the computing service provided by the edge node.
In order to solve the problems in the prior art, the present application provides a computing power service switching method, which can determine whether a second edge computing power node provides a computing power service for a user equipment by judging whether the second edge computing power node supports a first computing power service provided by a first edge computing power node for the user equipment and whether a service delay of the second edge computing power node is smaller than a service delay of the first edge computing power node, when the user equipment is close to the second edge computing power node. Therefore, under the condition that the second edge computing power node supports the first computing power service and the service delay is smaller than that of the first edge computing power node, the second edge computing power node continuously provides the network access service and the first computing power service for the user equipment, so that the user equipment is switched to the second edge computing power node, the time delay of the computing power service at the edge computing power node is further reduced, and the quality of the computing power service provided by the edge computing power node for the user is improved.
The computing power service switching scheme provided by the embodiment of the application can be applied to the electronic equipment shown in fig. 1. The electronic device related to the embodiment of the present application may be an edge computing node shown in fig. 2, or a computing network management system, or may be a newly added independent device, which is not limited in this application.
The method and the device aim to solve the problem that user equipment cannot be effectively switched when computing power service is provided for the user equipment in the prior art. As shown in fig. 3, the computing power service switching method provided by the present application includes the following steps:
s301, the electronic equipment receives first indication information from the first edge force calculation node.
In one possible implementation, the electronic device is taken as an example of the second edge force calculation node.
The first indication information is used for indicating the second edge computational power node to judge whether the second edge computational power node supports the first computational power service or not, and the first edge computational power node is an edge computational power node which provides the first computational power service for the user equipment.
Optionally, when the distance between the user equipment and the second edge calculation force node is less than or equal to the preset distance, the second edge calculation force node sends first request information to the first edge calculation force node, where the first request information is used to instruct the first edge calculation force node to send first instruction information to the second edge calculation force node.
After that, the first edge force calculation node feeds back the first indication information to the second edge force calculation node according to the received first request information.
It should be noted that, in practical applications, the preset distance may be set manually, which is not limited in the embodiments of the present application.
S302, the electronic equipment judges whether the second edge computing power node supports the first computing power service.
Optionally, the determining whether the second edge computation force node supports the first computation force service may specifically be divided into the following four cases:
in case one, the second edge computing power node has a non-network reason that the first computing power service is not supported.
The non-network reason that does not support the first computing service may include: hardware does not support, rules are preset manually and limits, etc.
In this case, the electronic device determines that the second edge computing force node does not support the first computing force service.
And in case two, the second edge computing power node has no non-network reason which does not support the first computing power service, and the computing power service operated by the second edge computing power node comprises the first computing power service.
In this case, the electronic device determines that the second edge computing force node supports the first computing force service.
And in case III, the second edge computing power node does not have a non-network reason which does not support the first computing power service, and the computing power service operated by the second edge computing power node does not comprise the first computing power service, but the second edge computing power node has enough resources for deploying the first computing power service.
In this case, the electronic device determines that the second edge computing force node supports the first computing force service.
It should be noted that the existence of sufficient resources in the second edge computation force node may include: (1) and idle resources exist in the second edge computing power node, and the idle resources can meet the requirement of deploying the first computing power service. (2) And after the second edge computing power node stops the idle computing power services, the released resources can meet the requirement of deploying the first computing power service.
And in case four, the second edge computing power node has no non-network reason which does not support the first computing power service, the computing power service operated by the second edge computing power node does not comprise the first computing power service, and the second edge computing power node also does not have enough resources for deploying the first computing power service.
In this case, the electronic device determines that the second edge computing force node does not support the first computing force service.
Optionally, in a case that the electronic device determines that the second edge computing power node supports the first computing power service, the subsequent step S303 is executed.
S303, the electronic equipment determines the service time delay of the first edge computational force node and the service time delay of the second edge computational force node.
Optionally, the first indication information received by the electronic device includes service state information of the first computing service. Further, the service state information includes service delay of the first edge computation force node.
In one possible implementation, the service state information of the first computing service is carried in a user snapshot of the first computing service, where the user snapshot includes all service states of the first computing service (including but not limited to service latency of the first computing service). Specifically, after the first edge computing power node receives the first service request of the second edge service node, the first edge computing power node takes a snapshot of the current state of the user service of the first computing power service, and carries the snapshot information in the first indication information to send to the second edge computing power node.
It can be understood that the first edge computing power node may also send the user snapshot of the first computing power service to the second edge computing power node separately, and is not carried in the first indication information.
It should be noted that the service delay T of a certain edge computing power node for a computing power service specifically consists of a wireless channel delay T1 and a wired channel delay T2, that is, T1+ T2. The wireless channel delay T1 is the delay of the wireless communication between the ue and the edge computing node, and the specific method for obtaining the delay is the prior art, which is not described herein again.
Illustratively, in each edge computation force node, an edge computation force node service delay table is maintained, and the table is dynamically updated, and can reflect the wired channel delay of the current edge computation force node and each other edge computation force node in the computation force network for a certain computation force service. For example, table 1 below shows specific data of service delay of a certain edge force computing node and other edge force computing nodes:
TABLE 1 service delay table of edge force node
Computing force service ID | Wired channel delay T2(ms) | Service delay object node |
c0018764 | 90 | N1 |
c00872655 | 66 | N7 |
c0044875 | 0 | L |
Note that in table 1, N1 and N7 represent other edge computation force nodes, and L represents the edge computation force node itself (i.e., the time delay between the edge computation force node and itself is 0).
It will be appreciated that, by way of the above example, each edge computing force node in the computing force network is able to determine its own wireless channel delay T1 and wired channel delay T2, and thus its own service delay.
It should be noted that, if a certain edge computation force node supports the first computation force service, the service delay of the edge computation force node at this time is the wireless channel delay of the edge computation force node.
By the example, the electronic device can acquire and compare the service time delays of the first edge calculation power node and the second edge calculation power node. If the service delay of the second edge computation force node is smaller than the service delay of the first edge computation force node, the following step S304 is executed.
S304, the electronic equipment provides network access service and the first computing power service for the user equipment.
In one possible implementation, the electronic device is taken as an example of the second edge force calculation node. Correspondingly, the user equipment is switched to the second edge computational power node at the moment, and the second edge computational power node is the user equipment.
Optionally, corresponding to the example in step S303, the first indication information received by the second edge computation force node includes a user snapshot of the first computation force service, and the second edge computation force node can copy the user state to the local according to the user snapshot, so that the user equipment is seamlessly switched to the second edge computation force node to use the first computation force service.
Based on the above technical solution, in the embodiment of the present application, when the ue is close to the second edge computing power node, whether the second edge computing power node supports the first computing power service provided by the first edge computing power node for the ue, and whether the service delay of the second edge computing power node is smaller than the service delay of the first edge computing power node is determined, so as to determine whether the second edge computing power node provides the computing power service for the ue. Therefore, under the condition that the second edge computing power node supports the first computing power service and the service delay is smaller than that of the first edge computing power node, the second edge computing power node continuously provides the network access service and the first computing power service for the user equipment, so that the user equipment is switched to the second edge computing power node, the time delay of the computing power service at the edge computing power node is further reduced, and the quality of the computing power service provided by the edge computing power node for the user is improved.
With reference to fig. 3, as shown in fig. 4, in the case that the service delay of the second edge computation power node is greater than or equal to the service delay of the first edge computation power node, the computation power service switching method provided in the present application further includes the following steps:
s401, the electronic equipment keeps the first edge computing power node to provide the first computing power service for the user equipment.
In one possible implementation, the electronic device is taken as an example of the second edge force calculation node.
It can be understood that, in this case, it indicates that although the second edge computing power node supports the first computing power service, since the service delay of the second edge computing power node is greater than or equal to the service delay of the first edge computing power node, the first edge computing power node may maintain the computing power service with the user equipment without switching the user equipment.
With reference to fig. 3, as shown in fig. 5, in a case that a second edge computing power node does not support the first computing power service, the computing power service switching method provided in the present application further includes the following steps:
s501, the electronic equipment judges whether the service delay of the second edge force computing node is smaller than that of the first edge force computing node.
In one possible implementation, the electronic device is taken as an example of the second edge force calculation node.
Optionally, if the service delay of the second edge computation force node is greater than or equal to the service delay of the first edge computation force node, the subsequent step S502 is executed.
Optionally, if the second edge computation force node does not support the first computation force service, and the service delay of the second edge computation force node is smaller than the service delay of the first edge computation force node, the subsequent step S503 is executed.
S502, the electronic equipment keeps the first edge computing power node to provide the first computing power service for the user equipment.
In one possible implementation, the electronic device is taken as an example of the second edge force calculation node.
It can be understood that, in this case, it indicates that the second edge computational power node does not support the first computational power service, and the service delay is also greater than or equal to the service delay of the first edge computational power node, and at this time, the first edge computational power node does not need to perform handover and the first edge computational power node maintains the computational power service with the user equipment.
S503, the electronic equipment provides network access service for the user equipment, and sends user snapshots of the first computing power service to the third edge computing power node.
In one possible implementation, the electronic device is taken as an example of the second edge force calculation node.
And the third edge calculation force node is an edge calculation force node which has the minimum communication time delay with the second edge calculation force node in the edge calculation force nodes supporting the first calculation force service. The determination method of the service delay of the third edge calculation power node and the determination method of whether the first calculation power service is supported are the same as those described in the foregoing step S303, and are not described herein again.
It should be noted that, at this time, although the second edge calculation force node does not support the first calculation force service, since the service delay of the second edge calculation force node is minimum, the second edge calculation force node provides a network access service for the user equipment, and the second edge calculation force node transfers the service data of the first calculation force service of the third edge calculation force node, and forwards the service data of the first calculation force service to the user equipment, so that the delay when the edge calculation force node provides the calculation force service for the user is minimum.
It can be understood that, in the case where the service delay of the first edge computation force node is minimal, the third edge computation force node at this time is the same node as the first edge computation force node. Accordingly, the user equipment need not switch nodes for the first computing service.
Optionally, the second edge computation force node enables the third edge computation force node to obtain data of the user equipment by sending the user snapshot of the first computation force service to the third edge computation force node, so that the user equipment is seamlessly switched to the third edge computation force node to use the first computation force service.
The computing power service switching method provided by the present application is specifically described above.
The following describes an exemplary handover procedure of the computing power service with reference to a specific example.
As shown in fig. 6, the algorithm network includes nine edge algorithm nodes N1-N9, the user equipment initial access node is N1, and the user equipment moves from N1 to N7. The following description is made in conjunction with three scenarios (scenario a, scenario B, and scenario C):
(1) for scenario a, the computational network satisfies the following conditions:
condition one, edge computing force nodes N1, N7 support computing force service c00872655, and N9 supports computing force service c 00872655.
The wireless communication delays of the conditions two, N1, N9 and N7 and the user equipment are 50ms, 20ms and 90ms respectively.
And in the third condition, for the force computing service c00872655, the communication delay of the wired channel between N1 and N9 is 20ms, and the communication delay of the wired channel between N7 and N9 is 10 ms.
And the condition four does not consider other nodes except N1, N7 and N9 for the moment.
In scenario a, since N9 supports the computing power service c00872655, it is easy to obtain that the service delays of N1, N7, and N9 at this time are:
the service latency of N1 is: t isN1=50ms;
The service latency of N7 is: t isN7=90ms;
The service latency of N9 is: t isN9=20ms。
Due to TN9<TN1<TN7Therefore, the ue switches to N9, and continues to be provided with the network access service and the power service c00872655 by N9.
(2) For scenario B, the computational network satisfies the following conditions:
condition one, edge computing force nodes N1, N7 support computing force service c00872655, and N9 does not support computing force service c 00872655.
The wireless communication delays of the conditions two, N1, N9 and N7 and the user equipment are 50ms, 20ms and 90ms respectively.
And in the third condition, for the force computing service c00872655, the communication delay of the wired channel between N1 and N9 is 20ms, and the communication delay of the wired channel between N7 and N9 is 10 ms.
And the condition four does not consider other nodes except N1, N7 and N9 for the moment.
In scenario B, since N9 does not support the computation force service c00872655, it is easy to obtain that the service delays of N1, N7, and N9 at this time are:
the service latency of N1 is: t isN1=50ms;
The service latency of N7 is: t isN7=90ms;
The service latency of N9 is: t isN9=20ms+10ms=30ms。
Due to TN9<TN1<TN7Therefore, the network access service is provided for the user equipment by the N9, that is, the user equipment accesses the N9 at this time, but the computing power service c00872655 is provided by the N7, and the N9 is only used as a network access node and a data forwarding node of the computing power service c 00872655.
(3) For scenario C, the computational network satisfies the following conditions:
condition one, edge computing force nodes N7, N8 support computing force service c00872655, and N9 does not support computing force service c 00872655.
And under the second condition, the user equipment continues to move, the network access is stopped with the N1, and the wireless communication time delays of the N7, the N8 and the N9 with the user equipment are respectively 70ms, 20ms and 25 ms.
And in the third condition, for the force computing service c00872655, the communication delay of the wired channel between N1 and N9 is 20ms, the communication delay of the wired channel between N7 and N9 is 10ms, and the communication delay of the wired channel between N8 and N9 is 5 ms.
And the condition four does not consider other nodes except N1, N7, N8 and N9 for the moment.
In scenario C, since N9 does not support the computationally intensive service C00872655, it is easy to obtain that the service latencies of N1, N7, N8, and N9 at this time are:
the service latency of N7 is: t isN7=70ms;
The service latency of N8 is: t isN8=20ms;
The service latency of N9 is: t isN9=25ms+5ms=30ms。
Due to TN8<TN9<TN7By usingThe user equipment switches to N8, and the network access service and the power service c00872655 are continuously provided for the user equipment by N8.
The computing power service switching method provided by the embodiment of the present application is described above with reference to specific examples.
In the embodiment of the present application, the computing power service switching device may be divided into the functional modules or the functional units according to the above method examples, for example, each functional module or functional unit may be divided according to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module or a functional unit. The division of the modules or units in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 7 is a schematic diagram illustrating a possible structure of a computing power service switching device according to an embodiment of the present application. The computing power service switching apparatus 700 includes: a receiving unit 701 and a processing unit 702.
The receiving unit 701 is configured to receive first indication information from a first edge computation force node.
A processing unit 702, configured to determine whether the second edge computing power node supports the first computing power service based on the first indication information;
the processing unit 702 is further configured to determine a service delay of the first edge computation force node and a service delay of the second edge computation force node;
the processing unit 702 is further configured to provide the network access service and the first computing power service to the user equipment when the second edge computing power node supports the first computing power service, and a service delay of the second edge computing power node is smaller than a service delay of the first edge computing power node.
Optionally, the processing unit 702 is further configured to determine that the second edge computational force node supports the first computational force service when the computational force service executed by the second edge computational force node includes the first computational force service.
Optionally, the processing unit 702 is further configured to determine that the second edge computational force node supports the first computational force service when the computational force service executed by the second edge computational force node does not include the first computational force service, and the second edge computational force node has sufficient resources for deploying the first computational force service.
Optionally, the processing unit 702 is further configured to determine that the second edge computational power node does not support the first computational power service when the computational power services run by the second edge computational power node do not include the first computational power service and sufficient resources do not exist in the second edge computational power node for deploying the first computational power service.
Optionally, the computing power service switching apparatus 700 further includes a sending unit 703. A sending unit 703, configured to send the first request message to the first edge computation node when the distance between the user equipment and the second edge computation node is less than or equal to a preset distance.
Optionally, the processing unit 702 is further configured to, when the second edge computation force node supports the first computation force service, and a service delay of the second edge computation force node is greater than or equal to a service delay of the first edge computation force node, maintain the first edge computation force node to provide the first computation force service to the user equipment.
The processing unit 702 is further configured to, when the second edge computation force node does not support the first computation force service, and a service delay of the second edge computation force node is greater than or equal to a service delay of the first edge computation force node, maintain the first edge computation force node to provide the first computation force service to the user equipment.
The processing unit 702 is further configured to provide a network access service to the user equipment and send a user snapshot of the first computing power service to the third edge computing power node when the second edge computing power node does not support the first computing power service and the service delay of the second edge computing power node is smaller than the service delay of the first edge computing power node.
Optionally, the computing power service switching apparatus 700 may further include a storage unit (shown by a dashed box in fig. 7), which stores a program or an instruction, and when the processing unit 702 executes the program or the instruction, the computing power service switching apparatus may execute the computing power service switching method according to the above-described method embodiment.
The processing unit 702 may be a processor or a controller, among others. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. The receiving unit 701 may be a transceiver circuit or a communication interface, etc. The storage unit may be a memory. When the processing unit 702 is a processor, the receiving unit 701 is a communication interface, and the storage unit is a memory, the electronic device according to the embodiment of the present application may be the electronic device shown in fig. 1.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the foregoing function distribution may be completed by different functional modules according to needs, that is, the internal structure of the network node is divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the module and the network node described above, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
In addition, the technical effect of the computing power service switching apparatus described in fig. 7 can refer to the technical effect of the computing power service switching method described in the foregoing embodiment, and is not described herein again.
The embodiment of the present application provides a computer program product containing instructions, which when run on an electronic device of the present application, causes the computer to execute the computational power service switching method of the above method embodiment.
The embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer executes the instructions, the electronic device of the present application executes each step executed by the computing power service switching device in the method flow shown in the foregoing method embodiment.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EPROM), registers, a hard disk, an optical fiber, a portable Compact disk Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium, in any suitable combination, or as appropriate in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (12)
1. A computing power service switching method, the method comprising:
receiving first indication information from a first edge force node; the first edge computing power node is an edge computing power node providing first computing power service for user equipment;
whether a second edge computing power node supports the first computing power service is judged based on the first indication information;
determining the service time delay of the first edge computational power node and the service time delay of the second edge computational power node;
and if the second edge computing power node supports the first computing power service and the service delay of the second edge computing power node is smaller than that of the first edge computing power node, providing a network access service and the first computing power service for the user equipment.
2. The method of claim 1, wherein the determining whether the second edge computing power node supports the first computing power service specifically comprises:
if the computing power service operated by the second edge computing power node comprises the first computing power service, determining that the second edge computing power node supports the first computing power service;
if the computing power service operated by the second edge computing power node does not comprise the first computing power service, and the second edge computing power node has enough resources for deploying the first computing power service, determining that the second edge computing power node supports the first computing power service;
and if the computing power service operated by the second edge computing power node does not comprise the first computing power service and the second edge computing power node does not have enough resources for deploying the first computing power service, determining that the second edge computing power node does not support the first computing power service.
3. The method of claim 2, wherein prior to said receiving the first indication information from the first edge force node, the method further comprises:
sending first request information to the first edge calculation force node under the condition that the distance between the user equipment and the second edge calculation force node is smaller than or equal to a preset distance; the first request information is used for instructing the first edge power node to send the first indication information to the second edge power node.
4. The method of claim 3, wherein the first indication information comprises a user snapshot of the first computing power service, wherein the user snapshot is used to characterize service state information of the first computing power service, and wherein the service state information comprises service latency of the first edge computing power node.
5. The method according to any one of claims 1-4, further comprising:
if the second edge calculation force node supports the first calculation force service and the service delay of the second edge calculation force node is greater than or equal to the service delay of the first edge calculation force node, keeping the first edge calculation force node to provide the first calculation force service for user equipment;
if the second edge computing power node does not support the first computing power service and the service delay of the second edge computing power node is greater than or equal to the service delay of the first edge computing power node, keeping the first edge computing power node to provide the first computing power service for user equipment;
if the second edge computing power node does not support the first computing power service and the service delay of the second edge computing power node is smaller than that of the first edge computing power node, providing a network access service for the user equipment and sending a user snapshot of the first computing power service to a third edge computing power node; the third edge computation force node is an edge computation force node which has the minimum communication time delay with the second edge computation force node in the edge computation force nodes supporting the first computation force service.
6. A computing power service switching apparatus, characterized in that the computing power service switching apparatus comprises: a receiving unit and a processing unit;
the receiving unit is used for receiving first indication information from a first edge force calculation node; the first edge computing power node is an edge computing power node providing first computing power service for user equipment;
the processing unit is used for judging whether a second edge computing power node supports the first computing power service or not based on the first indication information;
the processing unit is further configured to determine a service delay of the first edge computation force node and a service delay of the second edge computation force node;
the processing unit is further configured to provide a network access service and the first computing power service to the user equipment when the second edge computing power node supports the first computing power service and a service delay of the second edge computing power node is smaller than a service delay of the first edge computing power node.
7. The computing power service switching apparatus according to claim 6,
the processing unit is further configured to determine that the second edge computational power node supports the first computational power service when the computational power service executed by the second edge computational power node includes the first computational power service;
the processing unit is further configured to determine that a second edge computing power node supports the first computing power service when the computing power services run by the second edge computing power node do not include the first computing power service and the second edge computing power node has sufficient resources for deploying the first computing power service;
the processing unit is further configured to determine that the second edge computing power node does not support the first computing power service when the computing power services run by the second edge computing power node do not include the first computing power service and sufficient resources do not exist in the second edge computing power node for deploying the first computing power service.
8. The computing power service switching device according to claim 7, further comprising a transmitting unit;
the sending unit is configured to send first request information to the first edge computation force node when the distance between the user equipment and the second edge computation force node is less than or equal to a preset distance; the first request information is used for instructing the first edge power node to send the first indication information to the second edge power node.
9. The computing power service switching device according to claim 8, wherein the first indication information includes a user snapshot of the first computing power service, the user snapshot is used to characterize service state information of the first computing power service, and the service state information includes service latency of the first edge computing power node.
10. Computing power service switching device according to any one of claims 6-9,
the processing unit is further configured to, when the second edge computation force node supports the first computation force service and a service delay of the second edge computation force node is greater than or equal to a service delay of the first edge computation force node, maintain the first edge computation force node to provide the first computation force service to the user equipment;
the processing unit is further configured to, when the second edge computation force node does not support the first computation force service and a service delay of the second edge computation force node is greater than or equal to a service delay of the first edge computation force node, maintain the first edge computation force node to provide the first computation force service to the user equipment;
the processing unit is further configured to provide a network access service to the user equipment and send a user snapshot of the first computing power service to a third edge computing power node when the second edge computing power node does not support the first computing power service and a service delay of the second edge computing power node is smaller than a service delay of the first edge computing power node; the third edge computation force node is an edge computation force node which has the minimum communication time delay with the second edge computation force node in the edge computation force nodes supporting the first computation force service.
11. An electronic device, comprising: a processor and a memory; wherein the memory is configured to store computer-executable instructions, and when the electronic device is running, the processor executes the computer-executable instructions stored by the memory to cause the electronic device to perform the computing power service switching method of any one of claims 1-5.
12. A computer-readable storage medium comprising instructions that, when executed by an electronic device, enable the electronic device to perform the computing power service switching method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111505356.7A CN114301923B (en) | 2021-12-10 | 2021-12-10 | Method and device for switching computing power service, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111505356.7A CN114301923B (en) | 2021-12-10 | 2021-12-10 | Method and device for switching computing power service, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114301923A true CN114301923A (en) | 2022-04-08 |
CN114301923B CN114301923B (en) | 2024-02-06 |
Family
ID=80966830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111505356.7A Active CN114301923B (en) | 2021-12-10 | 2021-12-10 | Method and device for switching computing power service, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114301923B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845885A (en) * | 2018-07-04 | 2018-11-20 | 济南浪潮高新科技投资发展有限公司 | A kind of edge calculations method for managing resource towards automatic Pilot |
US20190158606A1 (en) * | 2018-12-28 | 2019-05-23 | Francesc Guim Bernat | QUALITY OF SERVICE (QoS) MANAGEMENT IN EDGE COMPUTING ENVIRONMENTS |
CN111010295A (en) * | 2019-11-28 | 2020-04-14 | 国网甘肃省电力公司电力科学研究院 | SDN-MEC-based power distribution and utilization communication network task migration method |
CN111132248A (en) * | 2019-12-12 | 2020-05-08 | 中国联合网络通信集团有限公司 | Data transmission method and device |
US20200351724A1 (en) * | 2019-05-03 | 2020-11-05 | Nokia Solutions And Networks Oy | Efficient computing of application data in mobile communication network |
CN112600895A (en) * | 2020-12-07 | 2021-04-02 | 中国科学院深圳先进技术研究院 | Service scheduling method, system, terminal and storage medium for mobile edge computing |
-
2021
- 2021-12-10 CN CN202111505356.7A patent/CN114301923B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845885A (en) * | 2018-07-04 | 2018-11-20 | 济南浪潮高新科技投资发展有限公司 | A kind of edge calculations method for managing resource towards automatic Pilot |
US20190158606A1 (en) * | 2018-12-28 | 2019-05-23 | Francesc Guim Bernat | QUALITY OF SERVICE (QoS) MANAGEMENT IN EDGE COMPUTING ENVIRONMENTS |
US20200351724A1 (en) * | 2019-05-03 | 2020-11-05 | Nokia Solutions And Networks Oy | Efficient computing of application data in mobile communication network |
CN111010295A (en) * | 2019-11-28 | 2020-04-14 | 国网甘肃省电力公司电力科学研究院 | SDN-MEC-based power distribution and utilization communication network task migration method |
CN111132248A (en) * | 2019-12-12 | 2020-05-08 | 中国联合网络通信集团有限公司 | Data transmission method and device |
CN112600895A (en) * | 2020-12-07 | 2021-04-02 | 中国科学院深圳先进技术研究院 | Service scheduling method, system, terminal and storage medium for mobile edge computing |
Non-Patent Citations (3)
Title |
---|
LIANG ZZ: "《Multi-Cell Mobile Edge Computing: Joint Service Migration and Resource Allocation》", 《IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS》 * |
于清林;: "从边缘计算到算力网络", 产业科技创新, no. 03 * |
朱友康;乐光学;杨晓慧;刘建生;: "边缘计算迁移研究综述", 电信科学, no. 04 * |
Also Published As
Publication number | Publication date |
---|---|
CN114301923B (en) | 2024-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102635070B1 (en) | Communication methods and communication devices | |
JP6353068B2 (en) | Resource allocation method and apparatus for D2D signal transmission | |
US20210119688A1 (en) | Beam indication for multi-panel ue | |
EP3661315A1 (en) | Communication method, apparatus and system | |
EP4161147A1 (en) | Network switching method and apparatus, and communication device and system | |
CN107635271B (en) | Method and equipment for transmitting data | |
RU2545187C1 (en) | Method and apparatus for implementing baseband resource pool in lte base station | |
US20230345286A1 (en) | Measurement method and apparatus | |
WO2019100796A1 (en) | Network performance guarantee method and apparatus | |
CN113261249A (en) | Data transmission method, related equipment and computer storage medium | |
CN112367690B (en) | Network switching method, device and system | |
KR102268470B1 (en) | Method and apparatus for configuring virtual network | |
KR20230122668A (en) | DC position processing method and related devices | |
CN112690014A (en) | Cellular telecommunications network | |
US20210014869A1 (en) | Communication method and apparatus | |
CN115514698A (en) | Protocol calculation method, switch, cross-device link aggregation system and storage medium | |
CN114301923A (en) | Computing power service switching method and device, electronic equipment and storage medium | |
Abraham et al. | Energy-efficient and delay-aware mobile cloud offloading over cellular networks | |
CN110677845B (en) | Method, network element and system for determining application function request state | |
WO2022222947A1 (en) | Positioning method and apparatus, and communication device | |
CN109314986B (en) | Method and device for transmitting buffer status report | |
CN111314272B (en) | Task processing method and device | |
CN114531351A (en) | Method, device and equipment for transmitting message and computer readable storage medium | |
JP2022553592A (en) | SN RRC message processing method, apparatus, equipment and storage medium | |
CN115550452B (en) | Data processing method, power computing equipment and communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |