CN114301923B - Method and device for switching computing power service, electronic equipment and storage medium - Google Patents

Method and device for switching computing power service, electronic equipment and storage medium Download PDF

Info

Publication number
CN114301923B
CN114301923B CN202111505356.7A CN202111505356A CN114301923B CN 114301923 B CN114301923 B CN 114301923B CN 202111505356 A CN202111505356 A CN 202111505356A CN 114301923 B CN114301923 B CN 114301923B
Authority
CN
China
Prior art keywords
service
edge computing
computing node
computing
node
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.)
Active
Application number
CN202111505356.7A
Other languages
Chinese (zh)
Other versions
CN114301923A (en
Inventor
张岩
曹畅
张帅
刘莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111505356.7A priority Critical patent/CN114301923B/en
Publication of CN114301923A publication Critical patent/CN114301923A/en
Application granted granted Critical
Publication of CN114301923B publication Critical patent/CN114301923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a power calculation service switching method, a device, electronic equipment and a storage medium, relates to the field of communication, and is used for solving the problem that user equipment cannot be effectively switched when power calculation service is provided for the user equipment in the prior art, and comprises the following steps: receiving first indication information from a first edge computing node, wherein the first edge computing node is an edge computing node for providing first computing service for user equipment; judging whether the second edge computing node supports the first computing service or not based on the first indication information; determining the service time delay of the first edge computing node and the service time delay of the second edge computing node; and if the second edge computing node supports the first computing service and the service delay of the second edge computing node is smaller than the service delay of the first edge computing node, providing network access service and the first computing service for the user equipment. The method and the device are used for switching the user equipment in the power computing network.

Description

Method and device for switching computing power service, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method and apparatus for switching a computing service, an electronic device, and a storage medium.
Background
In the current mobile edge computing scenario, a user device accesses an edge computing node, which provides computing services for a user. However, in the scenario where the user equipment is moving continuously, if the user equipment moves to a position far away from the edge computing node, the quality of service of the edge computing node for providing computing service to the user will be reduced.
Current approaches to this problem are generally: the user equipment is switched from the original edge computing node to the edge computing node which is closer to the original edge computing node. 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 serves as a transit to forward the processing result and the task to be processed. However, this method increases the delay of processing the computing power service by the edge node, and reduces the quality of the computing power service provided by the edge computing power node.
Disclosure of Invention
The application provides a power calculation service switching method, a power calculation service switching device, electronic equipment and a storage medium, which can solve the problem that user equipment cannot be effectively switched when power calculation service is provided for the user equipment in the prior art.
In a first aspect, the present application provides a method for switching a computing service, including: receiving first indication information from a first edge computing node; the first edge computing node is an edge computing node that provides a first computing service to the user device. And judging whether the second edge computing node supports the first computing service or not based on the first indication information. And determining the service delay of the first edge computing node and the service delay of the second edge computing node. And if the second edge computing node supports the first computing service and the service delay of the second edge computing node is smaller than the service delay of the first edge computing node, providing network access service and the first computing service for the user equipment.
With reference to the first aspect, in one possible implementation manner, determining whether the second edge computing node supports the first computing service specifically includes: and if the first computing service is included in the computing service operated by the second edge computing node, determining that the second edge computing node supports the first computing service. And if the first computing service is not included in the computing service operated by the second edge computing node, and sufficient resources exist for deploying the first computing service for the second edge computing node, determining that the first computing service is supported by the second edge computing node. And if the first computing service is not included in the computing service operated by the second edge computing node, and sufficient resources are not available for deploying the first computing service by the second edge computing node, determining that the first computing service is not supported by the second edge computing node.
With reference to the first aspect, in one possible implementation manner, before receiving the first indication information from the first edge computing node, the method further includes: transmitting first request information to the first edge computing node under the condition that the distance between the user equipment and the second edge computing node is smaller than or equal to a preset distance; the first request information is used for indicating the first edge computing node to send first indication information to the second edge computing node.
With reference to the first aspect, in one possible implementation manner, the first indication information includes a user snapshot of the first computing service, where the user snapshot is used to characterize service state information of the first computing service, and the service state information includes a service delay of the first edge computing node.
With reference to the first aspect, in a possible implementation manner, the method further includes: if the second edge computing node supports the first computing service and the service delay of the second edge computing node is greater than or equal to the service delay of the first edge computing node, the first edge computing node is kept to provide the first computing service for the user equipment. If the second edge computing node does not support the first computing service and the service delay of the second edge computing node is greater than or equal to the service delay of the first edge computing node, the first edge computing node is kept to provide the first computing service for the user equipment. If the second edge computing node does not support the first computing service and the service delay of the second edge computing node is smaller than the service delay of the first edge computing node, providing network access service for user equipment and sending a user snapshot of the first computing service to a third edge computing node; the third edge computing node is the edge computing node with the smallest communication time delay with the second edge computing node in the edge computing nodes supporting the first computing service.
Based on the technical scheme, the application brings the following beneficial effects: and under the condition that the user equipment is close to the second edge computing node, determining whether the second edge computing node provides computing service for the user equipment by judging whether the second edge computing node supports the first computing service provided by the first edge computing node for the user equipment and whether the service delay of the second edge computing node is smaller than the service delay of the first edge computing node. Therefore, when the second edge computing node supports the first computing service and the service time delay is smaller than that of the first edge computing node, the second edge computing node continuously provides network access service and the first computing service for the user equipment, so that the user equipment is switched to the second edge computing node, the time delay of the edge computing node for processing the computing service is further reduced, and the quality of the computing service provided by the edge computing node to the user is improved.
In a second aspect, there is provided a computing power service switching apparatus comprising: a receiving unit and a processing unit. The receiving unit is used for receiving first indication information from the first edge computing node; the first edge computing node is an edge computing node that provides a first computing service to the user device. 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. The processing unit is further configured to determine a service delay of the first edge computing node and a service delay of the second edge computing node. The processing unit is further configured to support a first computing service at the second edge computing node, where a service delay of the second edge computing node is smaller than a service delay of the first edge computing node, and provide a network access service and the first computing service to the user equipment.
With reference to the second aspect, in a possible implementation manner, the processing unit is further configured to determine that the second edge computing node supports the first computing service when the first computing service is included in the computing services operated by the second edge computing node. The processing unit is further configured to determine that the second edge computing node supports the first computing service when the first computing service is not included in the computing services operated by the second edge computing node, and sufficient resources exist for the second edge computing node to deploy the first computing service. And the processing unit is further used for determining that the second edge computing node does not support the first computing service when the first computing service is not included in the computing services operated by the second edge computing node and sufficient resources are not available for deploying the first computing service by the second edge computing node.
With reference to the second aspect, in one possible implementation manner, the power service switching device further includes a sending unit. The sending unit is used for sending first request information to the first edge computing node under the condition that the distance between the user equipment and the second edge computing node is smaller than or equal to a preset distance; the first request information is used for indicating the first edge computing node to send first indication information to the second edge computing node.
With reference to the second aspect, in one 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 a 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 support the first computing service at the second edge computing node, and a service delay of the second edge computing node is greater than or equal to a service delay of the first edge computing node, so as to keep the first edge computing node providing the first computing service to the user equipment. And the processing unit is further used for keeping the first edge computing node to provide the first computing service for the user equipment when the second edge computing node does not support the first computing service and the service delay of the second edge computing node is greater than or equal to the service delay of the first edge computing node. The processing unit is further used for providing network access service for the user equipment when the second edge computing node does not support the first computing service, and the service delay of the second edge computing node is smaller than that of the first edge computing node, and sending a user snapshot of the first computing service to the third edge computing node; the third edge computing node is the edge computing node with the smallest communication time delay with the second edge computing node in the edge computing nodes supporting the first computing service.
In addition, the technical effects of the computing power service switching device according to the second aspect may refer to the technical effects of the computing power service switching method according to the first aspect, which are not described herein.
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 a method of switching a computing power service as described in any one of the possible implementations of the first aspect and the first aspect.
In a fourth aspect, the present application provides an electronic device, comprising: a processor and a memory; wherein the memory is for storing one or more programs, the one or more programs comprising computer-executable instructions, which when executed by the electronic device, cause the electronic device to perform the method of switching a computing power service as described in any one of the possible implementations of the first aspect and the first aspect.
In a fifth aspect, the present application provides a computer program product comprising instructions which, when run on a computer, cause an electronic device of the present application to perform a method of switching a computing power service as described in any one of the possible implementations of the first aspect and the first aspect.
In a sixth aspect, the present application provides a chip system, the chip system being 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 circuit; the interface circuit is configured to receive a signal from a memory of the computing power service switching device and to 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 its possible designs.
In the present application, the names of the above-mentioned computing power service switching apparatuses do not constitute limitations on the devices or functional units themselves, and in actual implementations, these devices or functional units may appear under other names. Insofar as the function of each device or functional unit is similar to the present application, it is within the scope of the present claims and the equivalents thereof.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic diagram of a network architecture of an edge computing network provided in the present application;
Fig. 3 is a flow chart of a method for switching a computing service provided in the present application;
FIG. 4 is a flow chart of another method for switching a computing power service according to the present application;
FIG. 5 is a flow chart of another method for switching a computing power service according to the present application;
fig. 6 is a schematic diagram of a topology structure of a computing power network according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a power-calculating service switching device provided in the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The character "/" herein generally indicates that the associated object is an "or" relationship. For example, A/B may be understood as A or B.
The terms "first" and "second" in the description and in the claims of the present application are used for distinguishing between different objects and not for describing a particular sequential order of objects. For example, the first edge computing node and the second edge computing node are used to distinguish between different edge service nodes, rather than to describe a feature order of the edge computing nodes.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
In addition, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "e.g." should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present concepts in a concrete fashion.
In the description of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more.
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 comprises at least one processor 101, a communication line 102, and at least one communication interface 104, and may further comprise a memory 103. The processor 101, the memory 103, and the communication interface 104 may be connected through a communication line 102.
The processor 101 may be a central processing unit (central processing unit, CPU), an application specific integrated circuit (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 (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA).
Communication line 102 may include a pathway for communicating information between the aforementioned components.
The communication interface 104, for communicating with other devices or communication networks, may use any transceiver-like device, such as ethernet, radio access network (radio access network, RAN), wireless local area network (wireless local area networks, WLAN), etc.
The memory 103 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disc storage, optical disc 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 one possible design, the memory 103 may exist independent of the processor 101, that is, the memory 103 may be a memory external to the processor 101, where the memory 103 may be connected to the processor 101 through a communication line 102, for storing execution instructions or application program codes, and the execution is controlled by the processor 101 to implement a computing task deployment method provided in the embodiments described below. In yet another possible design, the memory 103 may be integrated with the processor 101, i.e., the memory 103 may be an internal memory of the processor 101, e.g., the memory 103 may be a cache, and may be used to temporarily store some data and instruction information, etc.
As one implementation, processor 101 may include one or more CPUs, such as CPU0 and CPU1 in fig. 1. As another implementation, the electronic device 100 may include multiple processors, such as the processor 101 and the processor 107 in fig. 1. As yet another implementation, the electronic device 100 may also include an output device 105 and an input device 106.
A computing network (also referred to as a computing power network) refers to a technology that flexibly schedules computing resources among cloud computing nodes, network nodes, and edge cloud computing nodes according to computing demands of computing tasks, and stores resources and network resources to complete computation of the computing tasks.
Current computing networks mainly include: the control plane calculates the network cooperation and dispatches, the data plane network fusion perceives, manages and serves the calculation resource arrangement of the plane, etc. The computing network can uniformly and coordinately manage the computing resources, the storage resources and the network resources, and can measure the computing resources, the storage resources and the network resources according to uniform standards. In a computing network, the computing resources, storage resources and network resources of each node may be represented in specific parameter forms, where these parameters may be carried in data packets transmitted between nodes to inform other nodes of their own resource conditions. Current computing networks also typically add the ability to provide user-oriented intuitive components and services; through the communication between the service layer and the underlying resource and network interface, the visualization in arrangement, scheduling and application is realized.
An example is shown in fig. 2, which is a network architecture diagram of an edge computing network 20 provided in the present application. As shown in fig. 2, in the edge computing network, it includes: a plurality of edge computing nodes 201, a plurality of network devices 202, a computing network management system 203, and user devices 204.
The user equipment 204 is accessed into 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 a user device, deploy the computing task, calculate the computing task, and return a calculation result to the user device. The edge computing node 201 is connected to a network device 202. The edge computing nodes 201 may communicate with each other via a network device. In addition, the edge computing node 201 may also communicate with the computing network management system 203 via network devices
The network device 202 is used to enable 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.
In the mobile edge computing scene, user equipment is accessed into an edge computing node, and the edge computing node provides computing service for users. However, in the scenario where the user equipment is moving continuously, if the user equipment moves to a position far away from the edge computing node, the quality of service of the edge computing node for providing computing service to the user will be reduced. Existing schemes typically switch user equipment from a primary edge force node (denoted as a first edge force node) to a closer edge force node (denoted as a second edge force node). 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 serves as a transit to forward the processing result and the task to be processed. However, this method increases the delay of processing the computing power service by the edge node, and reduces the quality of the computing power service provided by the edge computing power node.
In order to solve the problems in the prior art, the present application provides a power calculation service switching method, which can determine whether a power calculation service is provided for user equipment by a second edge power calculation node by determining whether the second edge power calculation node supports a first power calculation service provided for the user equipment by the first edge power calculation node and whether a service delay of the second edge power calculation node is smaller than a service delay of the first edge power calculation node under a condition that the user equipment is close to the second edge power calculation node. Therefore, when the second edge computing node supports the first computing service and the service time delay is smaller than that of the first edge computing node, the second edge computing node continuously provides network access service and the first computing service for the user equipment, so that the user equipment is switched to the second edge computing node, the time delay of the edge computing node for processing the computing service is further reduced, and the quality of the computing service provided by the edge computing node to the user is improved.
The power calculation service switching scheme provided by the embodiment of the application can be applied to the electronic equipment shown in the figure 1. The electronic device according 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 solve the problem that the user equipment cannot be effectively switched when the user equipment is provided with the power calculation service in the prior art. As shown in fig. 3, the method for switching the computing power service provided by the application includes the following steps:
s301, the electronic device receives first indication information from a first edge computing node.
In one possible implementation, the electronic device is illustrated as a second edge computing node.
The first indication information is used for indicating the second edge computing node to judge whether the second edge computing node supports the first computing service or not, and the first edge computing node is the edge computing node for providing the first computing service for the user equipment.
Optionally, when the distance between the user equipment and the second edge computing node is smaller than or equal to the preset distance, the second edge computing node sends first request information to the first edge computing node, and the first request information is used for indicating the first edge computing node to send first indication information to the second edge computing node.
After that, the first edge computing node feeds back the first indication information to the second edge computing node according to the received first request information.
It should be noted that, in practical application, the preset distance may be set by manual implementation, which is not limited in the embodiment of the present application.
S302, the electronic device judges whether the second edge computing node supports the first computing service.
Optionally, determining whether the second edge computing node supports the first computing service may be specifically classified into the following four cases:
the first and second edge computing nodes have non-network reasons for not supporting the first computing service.
Among other non-network reasons that do not support the first computing service may include: hardware unsupported, manual preset rule restrictions, etc.
In this case, the electronic device determines that the second edge computing node does not support the first computing service.
And in the second case, the second edge computing node does not have a non-network reason for not supporting the first computing service, and the computing service operated by the second edge computing node comprises the first computing service.
In this case, the electronic device determines that the second edge computing node supports the first computing service.
And in the third case, the second edge computing node does not have a non-network reason for not supporting the first computing service, the computing service operated by the second edge computing node does not comprise the first computing service, but the second edge computing node has enough resources for deploying the first computing service.
In this case, the electronic device determines that the second edge computing node supports the first computing service.
It should be noted that the existence of sufficient resources at the second edge computing node may include: (1) And the second edge computing power node has idle resources which can meet the requirement of deploying the first computing power service. (2) The second edge computing node does not have idle resources, but idle computing services exist, and after the second edge computing node suspends the idle computing services, the released resources can meet the requirement of deploying the first computing services.
And in the fourth case, the second edge computing node does not have a non-network reason for not supporting the first computing service, the computing service operated by the second edge computing node does not comprise the first computing service, and the second edge computing node does not have enough resources for deploying the first computing service.
In this case, the electronic device determines that the second edge computing node does not support the first computing service.
Optionally, in case the electronic device determines that the second edge computing node supports the first computing service, a subsequent step S303 is performed.
S303, the electronic equipment determines the service time delay of the first edge computing node and the service time delay of the second edge computing node.
Optionally, the first indication information received by the electronic device includes service status information of the first computing service. Further, the service state information includes a service delay of the first edge computing 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 that includes all of the service states of the first computing service (including, but not limited to, the service delays of the first computing service). Specifically, after receiving a first service request of a second edge service node, the first edge service node performs a snapshot on a current state of user service of the first service, and loads snapshot information in first indication information to send the snapshot information to the second edge service node.
It can be appreciated that the first edge computing node may also send the user snapshot of the first computing service to the second edge computing node alone, without being carried in the first indication information.
It should be noted that, the service delay T of an edge computing node for a computing service is specifically composed of a wireless channel delay T1 and a wired channel delay T2, i.e., t=t1+t2. The wireless channel delay T1 is the delay of wireless communication between the user equipment and the edge computing node, and a method for specifically obtaining the delay is the prior art, which is not described herein.
Illustratively, in each edge computing node, an edge computing node service delay table is maintained, and the table is dynamically updated, specifically, the cable channel delay of the current edge computing node and each other edge computing node in the computing network can be reflected for a certain computing service. For example, table 1 below shows specific data of service delays of a certain edge computing node with other edge computing nodes:
Table 1 service delay table of edge computing 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 computing nodes, and L represents the edge computing node itself (i.e., the time delay between the edge computing node and itself is 0).
It will be appreciated that by way of the above example, each edge computing node in the computing 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 computing node supports the first computing service, the service delay of the edge computing node is the wireless channel delay of the edge computing node at this time.
Through the above example, the electronic device can obtain and compare the service delays of the first edge computing node and the second edge computing node. If the service delay of the second edge computing node is smaller than the service delay of the first edge computing 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 illustrated as a second edge computing node. Correspondingly, at the moment, the user equipment is switched to a second edge computing node, and the second edge computing node is the user equipment.
Optionally, corresponding to the example in step S303, the first indication information received by the second edge computing node includes a user snapshot of the first computing service, and the second edge computing 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 computing node to use the first computing service.
Based on the above technical solution, in the case that the user equipment is close to the second edge computing node, the embodiment of the present application determines whether the second edge computing node provides computing service for the user equipment by determining whether the second edge computing node supports the first computing service provided by the first edge computing node for the user equipment, and whether the service delay of the second edge computing node is smaller than the service delay of the first edge computing node. Therefore, when the second edge computing node supports the first computing service and the service time delay is smaller than that of the first edge computing node, the second edge computing node continuously provides network access service and the first computing service for the user equipment, so that the user equipment is switched to the second edge computing node, the time delay of the edge computing node for processing the computing service is further reduced, and the quality of the computing service provided by the edge computing node to the user is improved.
Referring to fig. 3, as shown in fig. 4, in the case that the service delay of the second edge computing node is greater than or equal to the service delay of the first edge computing node, the computing power service switching method 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 illustrated as a second edge computing node.
It may be appreciated that in this case it is shown that although the second edge computing node supports the first computing service, the second edge computing node is not required to switch the user equipment, and the first edge computing node is required to maintain the computing service with the user equipment, since the service delay of the second edge computing node is greater than or equal to the service delay of the first edge computing node.
Referring to fig. 3, as shown in fig. 5, in a case where the second edge computing node does not support the first computing service, the computing service switching method provided by the application further includes the following steps:
s501, the electronic equipment judges whether the service time delay of the second edge computing node is smaller than that of the first edge computing node.
In one possible implementation, the electronic device is illustrated as a second edge computing node.
Optionally, if the service delay of the second edge computing node is greater than or equal to the service delay of the first edge computing node, the following step S502 is executed.
Optionally, if the second edge computing node does not support the first computing service and the service delay of the second edge computing node is smaller than the service delay of the first edge computing node, the following step S503 is executed.
S502, the electronic device keeps the first edge computing node to provide a first computing service for the user device.
In one possible implementation, the electronic device is illustrated as a second edge computing node.
It can be understood that in this case, it is indicated that the second edge computing node does not support the first computing service, and the service delay is also greater than or equal to the service delay of the first edge computing node, so that the user equipment does not need to be switched, and the first edge computing node can keep the computing service with the user equipment.
S503, the electronic equipment provides network access service for the user equipment and sends a user snapshot of the first computing service to the third edge computing node.
In one possible implementation, the electronic device is illustrated as a second edge computing node.
The third edge computing node is the edge computing node with the smallest communication time delay with the second edge computing node in the edge computing nodes supporting the first computing service. The method for determining the service delay of the third edge computing node and the method for determining whether to support the first computing service are the same as those described in the foregoing step S303, and will not be described herein again.
It should be noted that, at this time, although the second edge computing node does not support the first computing service, since the service delay of the second edge computing node is minimum, the second edge computing node provides the network access service for the user equipment, and the second edge computing node relays the service data of the first computing service of the third edge computing node, and forwards the service data of the first computing service to the user equipment, so that the delay when the edge computing node provides the computing service for the user is minimum.
It is understood that in the case where the service delay of the first edge computing node is the minimum, the third edge computing node at this time is the same node as the first edge computing node. Accordingly, the user equipment need not handover the node for the first computing power service.
Optionally, the second edge computing node sends the user snapshot of the first computing service to the third edge computing node, so that the third edge computing node obtains the data of the user equipment, and the user equipment is seamlessly switched to the third edge computing node to use the first computing service.
The power calculation service switching method provided by the application is specifically described above.
The switching flow of the computing service is illustrated below with reference to a specific example.
As shown in fig. 6, the computing network includes nine edge computing 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 connection with three kinds of scenes (scene a, scene B, and scene C):
(1) For scenario a, the power network satisfies the following condition:
condition one, edge computing nodes N1, N7 support computing service c00872655, and N9 supports computing service c00872655.
The wireless communication delays between the second condition, N1, N9 and N7 and the user equipment are respectively 50ms, 20ms and 90ms.
The third condition is that for the computing service c00872655, the wired channel communication delay between N1 and N9 is 20ms, and the wired channel communication delay between N7 and N9 is 10ms.
Condition four, consider temporarily other nodes than N1, N7, N9.
In scenario a, since N9 supports the computing service c00872655, the service delays of N1, N7, N9 are readily available at this time as:
the service delay of N1 is: t (T) N1 =50ms;
The service delay of N7 is: t (T) N7 =90ms;
The service delay of N9 is: t (T) N9 =20ms。
Due to T N9 <T N1 <T N7 The user equipment is thus handed over to N9, and the network access service and the computing service c00872655 continue to be provided to the user equipment by N9.
(2) For scenario B, the power network satisfies the following condition:
condition one, edge computing node N1, N7 supports computing service c00872655, and N9 does not support computing service c00872655.
The wireless communication delays between the second condition, N1, N9 and N7 and the user equipment are respectively 50ms, 20ms and 90ms.
The third condition is that for the computing service c00872655, the wired channel communication delay between N1 and N9 is 20ms, and the wired channel communication delay between N7 and N9 is 10ms.
Condition four, consider temporarily other nodes than N1, N7, N9.
In scenario B, since N9 does not support the computing service c00872655, the service delays of N1, N7, N9 are readily available at this time as:
the service delay of N1 is: t (T) N1 =50ms;
The service delay of N7 is: t (T) N7 =90ms;
The service delay of N9 is: t (T) N9 =20ms+10ms=30ms。
Due to T N9 <T N1 <T N7 The network access service is thus provided by N9 for the user equipment, i.e. the user equipment is now accessing N9, but the power service c00872655 is provided by N7, N9 only acting as a network access node and as a data forwarding node for the power service c00872655.
(3) For scenario C, the power network satisfies the following condition:
condition one, edge computing nodes N7, N8 support computing service c00872655, and N9 does not support computing service c00872655.
And under the second condition, the user equipment continues to move, network access is stopped with the N1, and wireless communication time delays of the N7, the N8 and the N9 with the user equipment are respectively 70ms, 20ms and 25ms.
For the third condition, 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 5ms for the computing service c00872655.
Condition four, consider nodes other than N1, N7, N8, N9 temporarily.
In scenario C, since N9 does not support the computing service C00872655, the service delays of N1, N7, N8, N9 are readily available at this time as:
the service delay of N7 is: t (T) N7 =70ms;
The service delay of N8 is: t (T) N8 =20ms;
The service delay of N9 is: t (T) N9 =25ms+5ms=30ms。
Due to T N8 <T N9 <T N7 The user equipment is switched to N8, and the network access service and the computing power service c00872655 are continuously provided for the user equipment by the N8.
The computing power service switching method provided by the embodiment of the application is described above with reference to specific examples.
The embodiment of the present application may divide the functional modules or functional units of the computing power service switching device according to the above method example, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware, or in software functional modules or functional units. The division of the modules or units in the embodiments of the present application is merely a logic function division, and other division manners may be implemented in practice.
Exemplary, as shown in fig. 7, a schematic diagram of a possible configuration of a computing power service switching device according to an embodiment of the present application is shown. The power service switching device 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 computing node.
A processing unit 702, configured to determine, based on the first indication information, whether the second edge computing node supports the first computing service;
the processing unit 702 is further configured to determine a service delay of the first edge computing node and a service delay of the second edge computing node;
the processing unit 702 is further configured to support the first computing service at the second edge computing node, where the service delay of the second edge computing node is smaller than the service delay of the first edge computing node, and provide the network access service and the first computing service to the user equipment.
Optionally, the processing unit 702 is further configured to determine that the second edge computing node supports the first computing service when the first computing service is included in the computing services operated by the second edge computing node.
Optionally, the processing unit 702 is further configured to determine that the second edge computing node supports the first computing service when the first computing service is not included in the computing services operated by the second edge computing node, and sufficient resources exist for the second edge computing node to deploy the first computing service.
Optionally, the processing unit 702 is further configured to determine that the second edge computing node does not support the first computing service when the first computing service is not included in the computing services operated by the second edge computing node, and sufficient resources do not exist for the second edge computing node to deploy the first computing service.
Optionally, the power service switching device 700 further comprises a sending unit 703. A sending unit 703, configured to send the first request information to the first edge computing node when the distance between the user equipment and the second edge computing node is less than or equal to a preset distance.
Optionally, the processing unit 702 is further configured to support the first computing service at the second edge computing node, and the service delay of the second edge computing node is greater than or equal to the service delay of the first edge computing node, so as to keep the first edge computing node providing the first computing service to the user equipment.
The processing unit 702 is further configured to keep the first edge computing node providing the first computing service to the user equipment when the second edge computing node does not support the first computing service, and the service delay of the second edge computing node is greater than or equal to the service delay of the first edge computing node.
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 power service switching device 700 may further include a storage unit (shown in a dashed box in fig. 7), where a program or an instruction is stored, which when executed by the processing unit 702, enables the power service switching device to perform the power service switching method described in the above method embodiment.
Wherein the processing unit 702 may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. A processor may also be a combination of computing functions, including for example, one or more microprocessor combinations, a combination of DSPs and microprocessors, and the like. The receiving unit 701 may be a transceiver circuit or a communication interface, etc. The memory 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.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the network node is divided into different functional modules to implement all or part of the functions described above. The specific working processes of the above-described system, module and network node may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
In addition, the technical effects of the power service switching device shown in fig. 7 may refer to the technical effects of the power service switching method described in the foregoing embodiments, and are not repeated herein.
Embodiments of the present application provide a computer program product containing instructions, which when executed on an electronic device of the present application, cause the computer to perform the computing power service switching method described in the foregoing method embodiments.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, and when the computer executes the instructions, the electronic device of the application executes each step executed by the computing power service switching device in the method flow shown in the 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 a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: electrical connections having one or more wires, portable computer diskette, hard disk. Random access Memory (Random Access Memory, RAM), read-Only Memory (ROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), registers, hard disk, optical fiber, portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium suitable for use by a person or persons of skill 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. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuit, ASIC). In the context 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 foregoing is merely a specific embodiment of the present application, but the protection 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 in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of switching a computing service, the method comprising:
receiving first indication information from a first edge computing node; the first edge computing node is an edge computing node for providing first computing service for user equipment;
judging whether a second edge computing node supports the first computing service or not based on the first indication information;
determining the service time delay of the first edge computing node and the service time delay of the second edge computing node;
if the second edge computing node supports the first computing service and the service delay of the second edge computing node is smaller than the service delay of the first edge computing node, providing network access service and the first computing service to the user equipment;
the determining whether the second edge computing node supports the first computing service specifically includes:
If the second edge computing node has a non-network reason which does not support the first computing service, determining that the second edge computing node does not support the first computing service; the non-network reasons for not supporting the first computing power service include: hardware is not supported, and rule limitation is preset manually;
if the second edge computing node does not have a non-network reason which does not support the first computing service, and the computing service operated by the second edge computing node comprises the first computing service, determining that the second edge computing node supports the first computing service;
if the second edge computing node does not have a non-network reason which does not support the first computing service, the computing service operated by the second edge computing node does not comprise the first computing service, and the second edge computing node has enough resources for deploying the first computing service, determining that the second edge computing node supports the first computing service;
and if the second edge computing node does not have a non-network reason which does not support the first computing service, the computing service operated by the second edge computing node does not comprise the first computing service, and the second edge computing node does not have enough resources for deploying the first computing service, determining that the second edge computing node does not support the first computing service.
2. The method of claim 1, wherein prior to the receiving the first indication information from the first edge computing node, the method further comprises:
sending first request information to the first edge computing node under the condition that the distance between the user equipment and the second edge computing node is smaller than or equal to a preset distance; the first request information is used for indicating the first edge computing node to send the first indication information to the second edge computing node.
3. The method of claim 2, wherein the first indication information comprises a user snapshot of the first computing power service, the user snapshot being used to characterize service state information of the first computing power service, the service state information comprising a service delay of the first edge computing power node.
4. A method according to any one of claims 1-3, wherein the method further comprises:
if the second edge computing node supports the first computing service and the service delay of the second edge computing node is greater than or equal to the service delay of the first edge computing node, the first edge computing node is kept to provide the first computing service for user equipment;
If the second edge computing node does not support the first computing service and the service delay of the second edge computing node is greater than or equal to the service delay of the first edge computing node, the first edge computing node is kept to provide the first computing service for user equipment;
if the second edge computing node does not support the first computing service and the service delay of the second edge computing node is smaller than the service delay of the first edge computing node, providing network access service to the user equipment and sending a user snapshot of the first computing service to a third edge computing node; the third edge computing node is the edge computing node with the smallest communication time delay with the second edge computing node in the edge computing nodes supporting the first computing service.
5. A computing power service switching device, the computing power service switching device comprising: a receiving unit and a processing unit;
the receiving unit is used for receiving first indication information from the first edge computing node; the first edge computing node is an edge computing node for providing first computing service for user equipment;
The processing unit is used for judging whether a second edge computing node supports the first computing service or not based on the first indication information;
the processing unit is further configured to determine a service delay of the first edge computing node and a service delay of the second edge computing node;
the processing unit is further configured to support the first computing service at the second edge computing node, where a service delay of the second edge computing node is smaller than a service delay of the first edge computing node, and provide a network access service and the first computing service to the user equipment;
the processing unit is further configured to determine that the second edge computing node does not support the first computing service when the second edge computing node has a non-network reason that does not support the first computing service; the non-network reasons for not supporting the first computing power service include: hardware is not supported, and rule limitation is preset manually; when the second edge computing node does not have a non-network reason which does not support the first computing service, and the computing service operated by the second edge computing node comprises the first computing service, determining that the second edge computing node supports the first computing service; determining that a second edge computing node supports the first computing service when the second edge computing node does not have a non-network cause that does not support the first computing service, the first computing service is not included in the computing service operated by the second edge computing node, and sufficient resources exist for deploying the first computing service; and when the second edge computing node does not have a non-network reason for not supporting the first computing service, the first computing service is not included in the computing service operated by the second edge computing node, and the second edge computing node does not have enough resources for deploying the first computing service, determining that the second edge computing node does not support the first computing service.
6. The computing power service switching device of claim 5, further comprising a transmitting unit;
the sending unit is configured to send first request information to the first edge computing node when the distance between the user equipment and the second edge computing node is less than or equal to a preset distance; the first request information is used for indicating the first edge computing node to send the first indication information to the second edge computing node.
7. The computing power service switching device of claim 6, wherein the first indication information comprises a user snapshot of the first computing power service, the user snapshot being used to characterize service state information of the first computing power service, the service state information comprising a service delay of the first edge computing power node.
8. The computing power service switching device of any one of claims 5-7,
the processing unit is further configured to, when the second edge computing node supports the first computing service, and a service delay of the second edge computing node is greater than or equal to a service delay of the first edge computing node, keep the first edge computing node to provide the first computing service to a user device;
The processing unit is further configured to keep the first edge computing node providing the first computing service to a user device when the second edge computing node does not support the first computing service, and a service delay of the second edge computing node is greater than or equal to a service delay of the first edge computing node;
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 service to a third edge computing node when the second edge computing node does not support the first computing service and a service delay of the second edge computing node is smaller than a service delay of the first edge computing node; the third edge computing node is the edge computing node with the smallest communication time delay with the second edge computing node in the edge computing nodes supporting the first computing service.
9. An electronic device, comprising: a processor and a memory; wherein the memory is configured to store computer-executable instructions that, when executed by the electronic device, cause the electronic device to perform the computing power service switching method of any one of claims 1-4.
10. A computer readable storage medium comprising instructions that, when executed by an electronic device, enable the electronic device to perform the method of switching a computing power service of any one of claims 1-4.
CN202111505356.7A 2021-12-10 2021-12-10 Method and device for switching computing power service, electronic equipment and storage medium Active CN114301923B (en)

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 CN114301923A (en) 2022-04-08
CN114301923B true 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 (4)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11412052B2 (en) * 2018-12-28 2022-08-09 Intel Corporation Quality of service (QoS) management in edge computing environments
EP3735006B1 (en) * 2019-05-03 2023-04-05 Nokia Solutions and Networks Oy Efficient computing of application data in mobile communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
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)

* Cited by examiner, † Cited by third party
Title
《Multi-Cell Mobile Edge Computing: Joint Service Migration and Resource Allocation》;Liang ZZ;《IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS》;全文 *
从边缘计算到算力网络;于清林;;产业科技创新(第03期);全文 *
边缘计算迁移研究综述;朱友康;乐光学;杨晓慧;刘建生;;电信科学(第04期);全文 *

Also Published As

Publication number Publication date
CN114301923A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
RU2641477C1 (en) Method and device for configuration of providing solution in cloud protection computing architecture
EP3110106B1 (en) Disaster recovery data center configuration method and apparatus in cloud computing architecture
US10993127B2 (en) Network slice instance management method, apparatus, and system
EP3675420B1 (en) Distributed storage system upgrade management method and device, and distributed storage system
US9480077B2 (en) Methods and systems for a generic multi-radio access technology
CN108667777B (en) Service chain generation method and network function orchestrator NFVO
KR20170056350A (en) NFV(Network Function Virtualization) resource requirement verifier
US11811635B2 (en) Network traffic migration method and apparatus
US20110206034A1 (en) Route allocation apparatus and method
CN108965147B (en) Network control method, device and network equipment
US20220124172A1 (en) Service Deployment Method and Scheduling Apparatus
JP2003199136A (en) Load distribution system for base station controller
KR20160036947A (en) Base station and control method thereof
CN114301923B (en) Method and device for switching computing power service, electronic equipment and storage medium
KR102268470B1 (en) Method and apparatus for configuring virtual network
CN112690014A (en) Cellular telecommunications network
US20190108060A1 (en) Mobile resource scheduler
CN111132284B (en) Dynamic capacity allocation method for base station and base station
CN114531351A (en) Method, device and equipment for transmitting message and computer readable storage medium
EP2719249B1 (en) Generic multi-radio access technology
JP2006515140A (en) Radio resource management scheduler using object request broker methodology
US9571568B2 (en) Apparatus and method for selecting a node relaying data communication between servers
WO2023053345A1 (en) Management device, management method, and management program
CN102769538A (en) Port changing method, related device and system
KR102621615B1 (en) Method, Apparatus and System for Expanding of Dynamic Network

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