Network service orchestration and scheduling method and device, equipment and storage medium
By obtaining computing power service nodes and network quality information, orchestrating and scheduling, and preparing the optimal computing power service nodes and forwarding paths in advance, the delay problem of mobile terminals when accessing computing power services in the cloud is solved, and user experience and load balancing are improved.
Patent Information
- Application Number
- CN202410101193.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-24
- Publication Date
- 2025-07-25
AI Technical Summary
The prior art has delays when mobile terminals access cloud computing power services, resulting in poor user experience.
By obtaining the computing power service node information and network quality information of the computing power service in the cloud, orchestrate based on the location and network status of the mobile terminal, preparing the optimal computing power service node and forwarding path in advance, and determining traffic scheduling based on the evaluation value of the service type, achieving rapid switching of computing power service nodes and user-free experience.
It improves the overall user experience of the Internet of Vehicles business, realizes rapid switching and load balancing of computing power service nodes, and reduces user-perceived interruptions and instability.
Smart Images

Figure CN120378962A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of computing power services, and particularly to a method, device, equipment and storage medium for network service orchestration and scheduling. Background Art
[0002] With the rapid development of the 5G and cloud eras, industries have more stringent requirements for computing resources and network services. The computing power network can achieve on-demand scheduling of computing resources and provide network intelligent services. Many application scenarios of the Internet of Vehicles have very high requirements for latency. For example, in the scenario of remote driving, it is necessary to upload the basic road condition information collected by devices such as vehicle cameras or radars to the computing power service in the cloud. After being calculated and processed by the computing power service in the cloud, the generated road condition status is sent to the remote driving cockpit, and the remote driving cockpit issues driving instructions according to the real-time road condition information, and the vehicle executes after receiving the instructions. In this process, the collected information needs to be uploaded to the computing power service in the cloud for processing as soon as possible, and at the same time, it needs to be quickly sent to the remote driving cockpit, so as to ensure the real-time transmission of the road condition status and ensure that the state of the vehicle when executing the instruction is consistent with the state of the driving cockpit when issuing the instruction.
[0003] However, the existing technology has problems of latency when the mobile terminal accesses the computing power service in the cloud, resulting in poor user experience. Summary of the Invention
[0004] This application provides a method, device, equipment and storage medium for network service orchestration and scheduling to solve the technical problem of latency when the mobile terminal accesses the computing power service in the cloud, resulting in poor user experience.
[0005] In a first aspect, this application provides a method for network service orchestration and scheduling, including:
[0006] Obtain the computing power service node information and network quality information of the current computing power service in the cloud;
[0007] According to the mobile terminal, the computing power service node information and the network quality information, obtain the first orchestration result of the mobile terminal, and the first orchestration result is the optimal computing power service node and forwarding path of the mobile terminal at the current position;
[0008] Schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the first orchestration result;
[0009] According to the updated position of the mobile terminal, the updated computing power service node information or network quality information, obtain the second orchestration result of the mobile terminal, and the second orchestration result includes the optimal computing power service node and forwarding path of the mobile terminal at the updated position;
[0010] Determine whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second orchestration result according to the evaluation values of different types of services set in advance.
[0011] In the embodiment of the present application, before obtaining the computing power service node information and network quality information of the current in-cloud computing power service, the method includes:
[0012] Obtain the current computing power service node information and network quality information from the computing network management and orchestration system, where the current computing power service node information and network quality information are uploaded by the in-cloud computing power service to the computing network management and orchestration system.
[0013] In the embodiment of the present application, before obtaining the current computing power service node information and network quality information, the method further includes:
[0014] Obtain the current computing power service node information and network quality information from the network device, where the current computing power service node information and network quality information are sent by the in-cloud computing power service to the network device through the Border Gateway Protocol or the Interior Gateway Protocol.
[0015] In the embodiment of the present application, before obtaining the second orchestration result of the mobile terminal according to the updated location, updated computing power service node information, and network quality information of the mobile terminal, the method further includes:
[0016] Determine the predicted location of the mobile terminal according to the planned route of the mobile terminal;
[0017] Determine the optimal service node and forwarding path of the predicted location according to the predicted location, the current computing power service node information, and network quality information of the in-cloud computing power service;
[0018] Perform resource pre-configuration and pre-start operations on the optimal service node of the predicted location.
[0019] In the embodiment of the present application, obtaining the second orchestration result of the mobile terminal according to the updated location, updated computing power service node information, or network quality information of the mobile terminal includes:
[0020] Judge whether the updated location is consistent with the predicted location;
[0021] Determine whether the optimal computing power service node corresponding to the second orchestration result of the mobile terminal is consistent with the optimal service node of the predicted location.
[0022] In the embodiment of the present application, after determining whether the optimal computing power service node corresponding to the second orchestration result of the mobile terminal is consistent with the optimal service node of the predicted location, the method includes:
[0023] When the judgment result is that the updated position is the same as the predicted position, and the optimal computing power service node corresponding to the second orchestration result is the same as the optimal service node at the predicted position, determine the optimal service node and forwarding path at the predicted position as the second orchestration result of the mobile terminal;
[0024] When the judgment result is that the updated position is the same as the predicted position, and the optimal computing power service node corresponding to the second orchestration result is different from the optimal service node at the predicted position, determine the optimal computing power service node and forwarding path at the updated position as the second orchestration result of the mobile terminal.
[0025] In the embodiments of the present application, after determining whether the optimal computing power service node corresponding to the second orchestration result of the mobile terminal is the same as the optimal service node at the predicted position, the method further includes:
[0026] When the judgment result is that the updated position is different from the predicted position, and the optimal computing power service node corresponding to the second orchestration result is the same as the optimal service node at the predicted position, determine the optimal service node and forwarding path at the predicted position as the second orchestration result of the mobile terminal;
[0027] When the judgment result is that the updated position is different from the predicted position, and the optimal computing power service node corresponding to the second orchestration result is different from the optimal service node at the predicted position, determine the optimal computing power service node and forwarding path at the updated position as the second orchestration result of the mobile terminal.
[0028] In the embodiments of the present application, according to the evaluation values of different types of services set in advance, determining whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second orchestration result includes:
[0029] Determine the evaluation parameters of the optimal computing power service node and forwarding path, and the evaluation parameters include CPU utilization rate, GPU utilization rate, TPU utilization rate, storage utilization rate, latency, available bandwidth, bandwidth utilization rate, packet loss rate, available backup path;
[0030] According to the evaluation parameter calculation formula, obtain the value of the evaluation parameter, and the evaluation parameter calculation formula is:
[0031]
[0032] Among them, y is the value of the evaluation parameter, Xia is the evaluation parameter of the optimal computing power service node and forwarding path of the first orchestration result, Xib is the evaluation parameter of the optimal computing power service node and forwarding path of the second orchestration result, N is the number of evaluation parameters, and i ∈ (1, N);
[0033] Compare the value of the evaluation parameter with the evaluation value of the service to obtain a comparison result;
[0034] Determine whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second orchestration result according to the comparison result.
[0035] In an embodiment of the present application, determining whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second orchestration result according to the evaluation values of different types of services set in advance includes:
[0036] When the comparison result is that the value of the evaluation parameter is greater than the evaluation value of the service, schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second orchestration result;
[0037] When the comparison result is that the value of the evaluation parameter is less than or equal to the evaluation value of the service, keep the service traffic of the mobile terminal on the optimal computing power service node and forwarding path included in the first orchestration result.
[0038] In a second aspect, the present application provides a network service orchestration and scheduling device, including:
[0039] An acquisition module, configured to acquire the computing power service node information and network quality information of the current in-cloud computing power service;
[0040] A first orchestration module, configured to obtain a first orchestration result of the mobile terminal according to the mobile terminal, as well as the computing power service node information and network quality information, where the first orchestration result is the optimal computing power service node and forwarding path of the mobile terminal at the current location;
[0041] A scheduling module, configured to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the first orchestration result;
[0042] A second orchestration module, configured to obtain a second orchestration result of the mobile terminal according to the updated location of the mobile terminal, updated computing power service node information or network quality information, where the second orchestration result includes the optimal computing power service node and forwarding path of the mobile terminal at the updated location;
[0043] A judgment module, configured to determine whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second orchestration result according to the evaluation values of different types of services set in advance.
[0044] In a third aspect, the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0045] The memory stores computer-executable instructions;
[0046] The processor executes the computer-executable instructions stored in the memory to execute the network service orchestration and scheduling method of the present application.
[0047] In a fourth aspect, the present application provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the network service orchestration and scheduling method of the present application.
[0048] The network service orchestration and scheduling method provided by the present application obtains the computing power service node information and network quality information of a mobile terminal, and based on the current location of the mobile terminal, uses the computing power service node information and network quality information to make computing power routing decisions. At the same time, during the network service orchestration and scheduling of the mobile terminal, the possible driving route is predicted according to the planned route of the mobile terminal and synchronized to the in-cloud computing power service for pre-preparation, so as to achieve the purpose that the mobile terminal can quickly switch to the optimal computing power service node and forwarding path, realizing the effect of user imperceptibility. Finally, according to the real-time driving status of the mobile terminal and the state changes of the computing power service node information and network quality information, resources are prepared or released, improving the overall usage experience of the vehicle networking service. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with the present application and, together with the specification, are used to explain the principles of the present application.
[0050] Figure 1 It is a schematic diagram of the scenario of the network service orchestration and scheduling method provided by the embodiments of the present application;
[0051] Figure 2 It is a schematic flowchart of the network service orchestration and scheduling method provided by the embodiments of the present application;
[0052] Figure 2a It is a schematic diagram of the system for computing network control and orchestration provided by the embodiments of the application;
[0053] Figure 3 It is a schematic flowchart of the method for obtaining the second orchestration result of a mobile terminal provided by the embodiments of the present application;
[0054] Figure 4 It is a schematic flowchart of the method for scheduling the service traffic of a mobile terminal provided by the embodiments of the present application;
[0055] Figure 5 It is a schematic diagram of the structure of a network service orchestration and scheduling device provided by the embodiments of the present application.
[0056] Figure 6 It is a structural block diagram of the device for executing the network service orchestration and scheduling method according to the embodiments of the present application according to the embodiments of the present application.
[0057] Through the above-mentioned accompanying drawings, specific embodiments of the present application have been shown, and will be described in more detail hereinafter. These drawings and written descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by reference to specific embodiments. Detailed Embodiments
[0058] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0059] In the prior art, in the vehicle networking scenario, for a vehicle terminal to access services in the cloud pool, only the network state is used to select the network forwarding path. Moreover, when the vehicle is moving, the impact of changes in computing power state, network state, and vehicle position on computing power service orchestration is not considered. Secondly, although some solutions for a vehicle terminal to access services in the cloud pool comprehensively consider the computing power state and network state, the overall usage experience of vehicle networking services is not high.
[0060] A network service orchestration and scheduling method provided by an embodiment of the present application proposes computing network awareness during the driving of a mobile terminal, and makes computing power routing decisions based on the sensed information. At the same time, during the process of orchestration and scheduling, pre-prepare cloud computing power services according to the possible routes that the mobile terminal may travel, so as to achieve the effect of rapid switching of computing power service nodes and no perception by users. Finally, prepare or release resources according to the driving conditions of the mobile terminal and changes in the computing network state, further improving the overall usage experience of vehicle networking services.
[0061] The network service orchestration and scheduling method provided by the present application aims to solve the above technical problems in the prior art.
[0062] The following uses specific embodiments to detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. These several specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
[0063] Figure 1 It is a scenario schematic diagram of the network service orchestration and scheduling method provided by an embodiment of the present application. As Figure 1As shown in the figure, the execution subject of the network service control method provided by the embodiments of the present application is a cloud server. The cloud computing power service within the cloud is implemented through the cloud server to orchestrate and schedule the network services of mobile terminals. Among them, the mobile terminals include types such as vehicles.
[0064] Figure 2 It is a schematic flowchart of the network service orchestration and scheduling method provided by the embodiments of the present application. As Figure 2 shown, the method may include:
[0065] S201. Obtain the computing power service node information and network quality information of the current cloud computing power service.
[0066] Among them, computing power refers to the ability of a computer device or a data center to process information. Commonly used computing power service node information includes CPU utilization rate, GPU utilization rate, storage utilization rate, number of connections, etc.
[0067] Among them, network quality information refers to information about network performance. Network performance refers to the service quality of a network system when providing services. Commonly used network quality information includes latency, bandwidth, packet loss rate, etc.
[0068] It should be noted that before obtaining the computing power service node information and network quality information of the current cloud computing power service, the method includes:
[0069] Obtain the current computing power service node information and network quality information from the computing network management and orchestration system. The current computing power service node information and network quality information are uploaded by the cloud computing power service within the cloud to the computing network management and orchestration system.
[0070] Among them, the cloud computing power service within the cloud refers to the computing power service provided for the orchestration and scheduling of the network services of mobile terminals; the computing network management and orchestration system includes multiple system modules such as a network controller, a cloud controller, and a service orchestration platform, which are used to orchestrate and announce the computing power service node information and network quality information.
[0071] Use devices such as the camera or radar of the mobile terminal to upload the collected road condition information to the cloud computing power service within the cloud. After being processed by the cloud computing power service within the cloud, the computing power service node information and network quality information are obtained and reported to the computing network management and orchestration system for orchestration, and the optimal computing power service and forwarding path can be obtained.
[0072] It should be noted that before obtaining the current computing power service node information and network quality information, the method further includes:
[0073] Obtain the current computing power service node information and network quality information from the network device. The current computing power service node information and network quality information are sent by the in-cloud computing power service to the network device through the Border Gateway Protocol (BGP) or the Interior Gateway Protocol (IGP).
[0074] Among them, the network node can implement three major functions of storing, routing, and forwarding data. As a device for transmitting data in the network, the network device usually refers to a router or switch connected to the Internet.
[0075] After obtaining the computing power service node information and network quality information through the in-cloud computing power service processing, the computing power service node information and network quality information can also be sent to the network device for orchestration, and the optimal computing power service and forwarding path can also be obtained; the computing power service node information and network quality information can also be sent to the network device, and then reported by the network device to the computing network management and orchestration system for orchestration, and the obtained optimal computing power service and forwarding path are sent to the network device again.
[0076] S202: Obtain the first orchestration result of the mobile terminal according to the mobile terminal, as well as the computing power service node information and network quality information. The first orchestration result is the optimal computing power service node and forwarding path of the mobile terminal at the current location.
[0077] Among them, the first orchestration result refers to the optimal computing power service node and forwarding path of the current mobile terminal calculated by the computing network management and orchestration system or the network device. For example, as Figure 2a shown, if the current mobile terminal is located at position A, the calculated optimal computing power service node is the computing power service 1-1 of MEC1, and the optimal forwarding path is R1-R4-R7-R10-R13.
[0078] Among them, the computing power service refers to a mode that connects through the computing power network, uniformly outputs heterogeneous computing power through cloud computing technology, uniformly encapsulates resources such as computing power, storage, and network, and delivers them in the form of services; the computing power service node refers to the MEC node serving the current mobile terminal, and the forwarding path refers to the communication path to the computing power service node of the current mobile terminal. Among them, MEC (Multi-access Edge Computing) refers to a network architecture that allows the cloud computing platform to migrate from the inside of the mobile core network to the edge of the mobile access network, so as to achieve better performance, latency, and security.
[0079] Among them, the mobile terminal refers to a computer device that can be used while moving, including in-vehicle computers of vehicles, etc.
[0080] S203. Schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the first scheduling result.
[0081] Among them, the service traffic of the mobile terminal refers to the network traffic for realizing vehicle networking service scenarios such as navigation, remote control, and intelligent driving. The vehicle networking service scenarios are mainly divided into assisted driving and entertainment services. For high-priority service traffic, it needs to be scheduled to the optimal computing power service node for calculation, such as vehicle warning information. Non-real-time service traffic is scheduled to remote nodes or the cloud for processing, such as in-vehicle entertainment. Thus, it can preferentially process services with low latency requirements to ensure user safety and travel experience.
[0082] Schedule the service traffic of the mobile terminal to the calculated optimal computing power service node and forwarding path to facilitate the prior preparation of in-cloud computing power services along the possible routes that the mobile terminal may travel.
[0083] S204. Obtain the second scheduling result of the mobile terminal according to the updated location of the mobile terminal, the updated computing power service node information, or the network quality information. The second scheduling result includes the optimal computing power service node and forwarding path of the mobile terminal at the updated location.
[0084] When the user access location changes, or the computing power service status or network quality status changes, it is necessary to calculate the optimal computing power service node and forwarding path of the mobile terminal after the change.
[0085] It should be noted that before obtaining the second scheduling result of the mobile terminal according to the updated location of the mobile terminal, the updated computing power service node information, or the network quality information, it also includes:
[0086] Determine the predicted location of the mobile terminal according to the planned route of the mobile terminal;
[0087] Determine the optimal service node at the predicted location according to the predicted location, the computing power service node information, and the network quality information of the current in-cloud computing power service;
[0088] Perform resource pre-configuration and pre-start operations on the optimal service node at the predicted location.
[0089] Among them, the updated location of the mobile terminal refers to the geographical location that the mobile terminal will reach at the next moment. The updated computing power service node information and network quality information refer to the computing power service node information and network quality information collected when the mobile terminal is at the geographical location at the next moment.
[0090] Among them, the second scheduling result refers to the optimal computing power service node and forwarding path calculated according to the geographical location, computing power service node information, and network quality information of the mobile terminal at the next moment. For example, Figure 2aAs shown, if the mobile terminal arrives at position B at the next moment according to the pre-planned route, the optimal computing power service node calculated based on this position is the computing power service 2-1 of MEC2, and the optimal forwarding path is R2-R5-R8-R11-R14.
[0091] Predict the optimal computing power service node when the mobile terminal is at the next geographical location according to the planned route, and prepare in advance for resource pre-configuration and pre-start operations at this computing power service node. If the mobile terminal arrives at the predicted position at the next moment, due to the advance preparation of resources, it can effectively save the preparation time for service resource opening, pre-setting, etc.
[0092] For example, as Figure 2a shown, if the planned route of the mobile terminal is to move from position A to position B, then the optimal computing power service node calculated based on the predicted position B is the computing power service 2-1 of MEC2. Through the calculation network control and orchestration system, an instruction is issued to turn on the computing power service 2-1 in MEC2 in advance, and resource preparation is carried out in advance based on the requirements of the mobile terminal.
[0093] S205. Determine whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second orchestration result according to the evaluation values of different types of services set in advance.
[0094] Among them, the evaluation value of the service is used to describe that according to different types of user services, it is confirmed that the user service meets the requirements of service retention or service stability. For example, in the embodiment of the present application, a constant set according to historical evaluation parameter data is used as the threshold of the evaluation parameter that meets the service requirements, that is, the evaluation value of the service is set to the threshold 0.1. Or, an instruction that meets the service requirements can also be set according to the characteristics of different types of user services. For example, a certain type of user service needs to be maintained on the original computing power service node and forwarding path for 0.01S, that is, the evaluation value of the service is set to the corresponding instruction.
[0095] In the embodiment of the present application, the evaluation value of the service is set to the threshold 0.1 of the evaluation parameter. According to the first orchestration result and the second orchestration result, it is necessary to calculate the evaluation parameters of the computing power service node and the evaluation parameters of the forwarding path. The evaluation parameters of the computing power service node include CPU utilization rate, GPU utilization rate, TPU utilization rate, storage utilization rate, etc.; the evaluation parameters of the forwarding path include delay, available bandwidth, bandwidth utilization rate, packet loss rate, available backup path, etc.
[0096] When multiple evaluation parameters of the computing power service nodes in the second orchestration result exceed the threshold compared to those of the computing power service nodes in the first orchestration result, it is determined that the switch of the computing power service nodes is meaningful. Otherwise, since the improvement of the evaluation parameters is not significant, the improvement in experience brought by the switch is not sufficient to match the service interruption or instability problems brought by the switch, so the original computing power service nodes and forwarding paths are kept unchanged.
[0097] In summary, the network service orchestration and scheduling method provided by the embodiments of the present application obtains the optimal computing power service nodes and optimal forwarding paths of the mobile terminal according to the computing power service node information and network quality information, and obtains the predicted computing power service nodes according to the possible routes that the mobile terminal may travel, and performs pre-resource preparation for the in-cloud computing power service, achieving the effect of rapid switching of the computing power service nodes without user perception. At the same time, by recalculating the optimal computing power service nodes and optimal forwarding paths, the evaluation parameters are calculated to determine whether to switch the computing power service nodes and forwarding paths, realizing node load balancing and improving the overall user experience in the vehicle networking service.
[0098] Based on the above embodiments, the following embodiments further illustrate the implementation manners of the method for obtaining the second orchestration result of the mobile terminal.
[0099] Figure 3 It is a flowchart of the method for obtaining the second orchestration result of the mobile terminal provided by the embodiments of the present application. As Figure 3 shown, the method includes:
[0100] S301. Determine whether the updated position is the same as the predicted position.
[0101] Due to the continuous changes in the network and services, the states of the computing power service node information and network quality information will also change accordingly. Therefore, update announcements are required, and different processing is performed for the situations where there are deviations between the updated position and the corresponding computing power service nodes and the predicted position and the corresponding optimal service nodes. For example, as Figure 2a shown, the predicted position B of the mobile terminal, the optimal computing power service node calculated based on this position is the computing power service 2-1 in MEC2, and the optimal forwarding path is R2-R5-R8-R11-R14. It is necessary to determine whether the actual updated position of the mobile terminal reaches position B and whether the corresponding optimal computing power service node is the computing power service 2-1 in MEC2.
[0102] S302. Determine whether the optimal computing power service node corresponding to the second orchestration result of the mobile terminal is the same as the optimal service node of the predicted position.
[0103] It should be noted that when the judgment result is that the updated position is consistent with the predicted position, and the computing power service node corresponding to the second orchestration result is consistent with the optimal service node of the predicted position, the optimal service node and forwarding path of the predicted position are determined as the second orchestration result of the mobile terminal;
[0104] When the judgment result is that the updated position is consistent with the predicted position, and the computing power service node corresponding to the second orchestration result is inconsistent with the optimal service node of the predicted position, the optimal computing power service node and forwarding path of the updated position are determined as the second orchestration result of the mobile terminal;
[0105] When the judgment result is that the updated position is inconsistent with the predicted position, and the computing power service node corresponding to the second orchestration result is consistent with the optimal service node of the predicted position, the optimal service node and forwarding path of the predicted position are determined as the second orchestration result of the mobile terminal;
[0106] When the judgment result is that the updated position is inconsistent with the predicted position, and the computing power service node corresponding to the second orchestration result is inconsistent with the optimal service node of the predicted position, the optimal computing power service node and forwarding path of the updated position are determined as the second orchestration result of the mobile terminal.
[0107] As Figure 2a shown, when the mobile terminal actually travels to the predicted position B, and the optimal computing power service node is the computing power service 2-1 in MEC2, it means that the preparatory work of resource pre-configuration and pre-startup operation is effective, and quick switching can be directly performed, effectively improving the switching rate; when the mobile terminal actually travels to the predicted position B, but the optimal computing power service node is the computing power service 3-1 in MEC3, it means that the preparatory work of resource pre-configuration and pre-startup operation is ineffective, and the computing network control and orchestration system issues an instruction to release resources, and quickly starts the service 3-1 and prepares resources to achieve the switching of the computing power service; when the mobile terminal actually travels to the position C and does not travel according to the pre-planned route, there will be a situation where the optimal computing power service node recalculated based on the position C is still the computing power service 2-1 in MEC2. At this time, the preparatory work of resource pre-configuration and pre-startup operation is still effective, and quick switching can be directly performed; when the mobile terminal actually travels to the position C, and the optimal computing power service node recalculated based on the position C becomes the computing power service 3-1 in MEC3, the preparatory work of resource pre-configuration and pre-startup operation is ineffective, and the computing network control and orchestration system issues an instruction to release resources and start the service 3-1 and prepare resources to switch the computing power service.
[0108] In summary, the embodiments of the present application obtain predicted computing power service nodes according to the possible routes that the mobile terminal may travel, perform pre-resource preparation for the in-cloud computing power service, then determine whether the prepared resources are effective based on the updated position actually traveled to, and further determine whether to switch the computing power service, which can reduce the latency existing in the switching of the computing power service nodes.
[0109] Based on the above embodiments, through the following embodiments, the implementation manner of the method for scheduling the service traffic of the mobile terminal according to a preset threshold is described in detail.
[0110] Figure 4 It is a schematic flowchart of the method for scheduling the service traffic of the mobile terminal provided by the embodiments of the present application. As Figure 4 shown, the method includes:
[0111] 401. Determine the evaluation parameters of the optimal computing power service node and the forwarding path. The evaluation parameters include CPU utilization rate, GPU utilization rate, TPU utilization rate, storage utilization rate, latency, available bandwidth, bandwidth utilization rate, packet loss rate, available backup path;
[0112] 402. According to the evaluation parameter calculation formula, obtain the values of the evaluation parameters. The evaluation parameter calculation formula is:
[0113]
[0114] where y is the value of the evaluation parameter, Xia is the evaluation parameter of the optimal computing power service node and the forwarding path of the first scheduling result, Xib is the evaluation parameter of the optimal computing power service node and the forwarding path of the second scheduling result, N is the number of evaluation parameters, and i ∈ (1, N);
[0115] 403. Compare the values of the evaluation parameters with the evaluation value of the service to obtain a comparison result;
[0116] 404. According to the comparison result, determine whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and the forwarding path included in the second scheduling result.
[0117] According to the obtained optimal computing power service node and the forwarding path of the second scheduling result, it is also necessary to calculate the values of the evaluation parameters of the optimal computing power service node and the forwarding path, and determine whether to schedule the service traffic to the optimal computing power service node and the forwarding path included in the second scheduling result according to the evaluation value of the service.
[0118] Among them, the selection of evaluation parameters is based on the actual situation. One evaluation parameter can be selected, or multiple evaluation parameters can be selected. The values of the obtained evaluation parameters are compared with the pre-set thresholds. For example, when selecting the CPU utilization rate as the only evaluation parameter and setting the threshold of the evaluation parameter to 0.1, only when the CPU utilization rate of the optimal computing power service node and the forwarding path in the second orchestration result is increased by more than 0.1 compared with that in the first orchestration result, it is meaningful to switch the computing power service. Otherwise, since the increase in CPU utilization rate is not significant, and the improvement in user experience brought by the switch is not sufficient to match the service interruption or instability problems brought by the switch, it is meaningless to switch the computing power service.
[0119] For example, when multiple evaluation parameters are selected, if the optimal computing power service node included in the first orchestration result is a and the optimal forwarding path is m, and the optimal computing power service node included in the second orchestration result is b and the optimal forwarding path is n, the evaluation parameters of the optimal computing power service node and the forwarding path are respectively:
[0120] CPU utilization rate of the computing power service node: X1, the value in the first orchestration result is X1a = 50%, and the value in the second orchestration result is X1b = 40%;
[0121] Storage utilization rate of the computing power service node: X2, the value in the first orchestration result is X2a = 70%, and the value in the second orchestration result is X2b = 65%;
[0122] Delay value of the forwarding path: X3, the value in the first orchestration result is X3a = 25ms, and the value in the second orchestration result is X3b = 15ms;
[0123] Available bandwidth value of the forwarding path: X4, the value in the first orchestration result is X4a = 50M, and the value in the second orchestration result is X4b = 60M;
[0124] From the evaluation parameter calculation formula: The values of the evaluation parameters are obtained:
[0125]
[0126] Finally, the values of the calculated evaluation parameters are compared with the thresholds to obtain the comparison results, and then it is determined whether to switch the computing power service node and the forwarding path.
[0127] It should be noted that according to the comparison results, it is determined whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and the forwarding path included in the second orchestration result, including:
[0128] When the comparison result shows that the value of the evaluation parameter is greater than the evaluation value of the service, the service traffic of the mobile terminal is scheduled to the optimal computing power service node and forwarding path included in the second scheduling result;
[0129] When the comparison result shows that the value of the evaluation parameter is less than or equal to the evaluation value of the service, the service traffic of the mobile terminal is retained on the optimal computing power service node and forwarding path included in the first scheduling result.
[0130] Among them, the evaluation value of the service is set to the threshold r = 0.1 of the evaluation parameter. It can be determined that the value of the evaluation parameter is greater than the threshold, and it is meaningful to switch the computing power service. Then, the service traffic of the mobile terminal is scheduled to the optimal computing power service node and forwarding path included in the second scheduling result.
[0131] In summary, in the embodiment of the present invention, by calculating the optimal computing power service node and optimal forwarding path included in the second scheduling result, calculating the value of the evaluation parameter according to the evaluation parameter formula, and then determining whether to switch the computing power service node and forwarding path, the load balancing of the computing power service node is achieved, and the overall user experience can be improved.
[0132] Figure 5 This is a schematic structural diagram of a network service orchestration and scheduling device provided by an embodiment of the present application. As Figure 5 shown, the network service orchestration and scheduling device 500 includes: an acquisition module 501, a first orchestration module 502, a scheduling module 503, a second orchestration module 504, and a judgment module 505.
[0133] The acquisition module 501 is used to acquire the computing power service node information and network quality information of the current in-cloud computing power service.
[0134] The first orchestration module 502 is used to obtain the first orchestration result of the mobile terminal according to the mobile terminal, as well as the computing power service node information and network quality information. The first orchestration result is the optimal computing power service node and forwarding path of the mobile terminal at the current location.
[0135] The scheduling module 503 is used to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the first orchestration result.
[0136] The second orchestration module 504 is used to obtain the second orchestration result of the mobile terminal according to the updated location of the mobile terminal, the updated computing power service node information or network quality information. The second orchestration result includes the optimal computing power service node and forwarding path of the mobile terminal at the updated location.
[0137] The judgment module 505 is used to determine whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second orchestration result according to the evaluation values of different types of services set in advance.
[0138] Among them, in the embodiments of the present application, the obtaining module 501 further includes:
[0139] Obtain the current computing power service node information and network quality information from the computing network control and orchestration system, and the current computing power service node information and network quality information are uploaded by the in-cloud computing power service to the computing network control and orchestration system.
[0140] Among them, in the embodiments of the present application, the obtaining module 501 further includes:
[0141] Obtain the current computing power service node information and network quality information from the network device, and the current computing power service node information and network quality information are sent by the in-cloud computing power service to the network device through the Border Gateway Protocol or the Interior Gateway Protocol.
[0142] Among them, in the embodiments of the present application, the first orchestration module 502 further includes:
[0143] Determine the predicted location of the mobile terminal according to the planned route of the mobile terminal;
[0144] Determine the optimal service node at the predicted location according to the predicted location, the current computing power service node information and network quality information of the in-cloud computing power service;
[0145] Perform resource pre-configuration and pre-start operations on the optimal service node at the predicted location.
[0146] Among them, in the embodiments of the present application, the second orchestration module 504 further includes:
[0147] Judge whether the updated location is consistent with the predicted location;
[0148] Determine whether the computing power service node corresponding to the second orchestration result of the mobile terminal is consistent with the optimal service node at the predicted location.
[0149] Among them, in the embodiments of the present application, the second orchestration module 504 further includes:
[0150] When the judgment result is that the updated location is consistent with the predicted location, and the computing power service node corresponding to the second orchestration result is consistent with the optimal service node at the predicted location, determine the optimal service node and forwarding path at the predicted location as the second orchestration result of the mobile terminal;
[0151] When the judgment result is that the updated location is consistent with the predicted location, and the computing power service node corresponding to the second orchestration result is inconsistent with the optimal service node at the predicted location, determine the optimal computing power service node and forwarding path at the updated location as the second orchestration result of the mobile terminal.
[0152] Among them, in the embodiments of the present application, the second scheduling module 504 further includes:
[0153] When the judgment result is that the updated position is inconsistent with the predicted position, and the computing power service node corresponding to the second scheduling result is the same as the optimal service node at the predicted position, determine the optimal service node and forwarding path at the predicted position as the second scheduling result of the mobile terminal;
[0154] When the judgment result is that the updated position is inconsistent with the predicted position, and the computing power service node corresponding to the second scheduling result is different from the optimal service node at the predicted position, determine the optimal computing power service node and forwarding path at the updated position as the second scheduling result of the mobile terminal.
[0155] Among them, in the embodiments of the present application, the judgment module 505 further includes:
[0156] Determine the evaluation parameters for the optimal computing power service node and forwarding path. The evaluation parameters include CPU utilization rate, GPU utilization rate, TPU utilization rate, storage utilization rate, latency, available bandwidth, bandwidth utilization rate, packet loss rate, available backup path;
[0157] According to the evaluation parameter calculation formula, obtain the value of the evaluation parameter. The evaluation parameter calculation formula is:
[0158]
[0159] Among them, y is the value of the evaluation parameter, Xia is the evaluation parameter of the optimal computing power service node and forwarding path of the first scheduling result, Xib is the evaluation parameter of the optimal computing power service node and forwarding path of the second scheduling result, N is the number of evaluation parameters, and i ∈ (1, N);
[0160] Compare the value of the evaluation parameter with the evaluation value of the service to obtain a comparison result;
[0161] According to the comparison result, determine whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second scheduling result.
[0162] Among them, in the embodiments of the present application, the judgment module 505 further includes:
[0163] When the comparison result is that the value of the evaluation parameter is greater than the evaluation value of the service, then schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second scheduling result;
[0164] When the comparison result is that the value of the evaluation parameter is less than or equal to the evaluation value of the service, then retain the service traffic of the mobile terminal on the optimal computing power service node and forwarding path included in the first scheduling result.
[0165] It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action sequence, because according to this application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.
[0166] It is further noted that although the steps in the flowchart are shown sequentially according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0167] It should be understood that the above device embodiments are only illustrative, and the devices of this application can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0168] In addition, unless otherwise specified, in each embodiment of this application, each functional unit / module can be integrated in one unit / module, or each unit / module can exist physically alone, or two or more units / modules can be integrated together. The above integrated unit / module can be implemented in the form of hardware or in the form of a software program module.
[0169] When the integrated unit / module is implemented in the form of hardware, the hardware can be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. Unless otherwise specified, the processor can be any suitable hardware processor, such as a CPU, GPU, FPGA, DSP, and ASIC, etc. Unless otherwise specified, the storage unit can be any suitable magnetic storage medium or magneto-optical storage medium, such as resistive random access memory (RRAM), dynamic random access memory (DRAM), static random access memory (SRAM), enhanced dynamic random access memory (EDRAM), high-bandwidth memory (HBM), hybrid memory cube (HMC), etc.
[0170] When the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned memory includes: USB flash drives, read-only memory (ROM), random access memory (RAM), external hard drives, magnetic disks, or optical discs and other media that can store program codes.
[0171] Figure 6 It is a schematic structural diagram of the device provided by the embodiments of this application. As Figure 6 shown, the device 600 includes:
[0172] The device 600 may include a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a communication component 603, and other components. Among them, the processor 601, the memory 602, and the communication component 603 are connected through a bus 604.
[0173] In a specific implementation process, at least one processor 601 executes computer-executable instructions stored in a memory 602, so that at least one processor 601 executes the message processing method as described above.
[0174] For the specific implementation process of the processor 601, reference may be made to the above method embodiments. Their implementation principles and technical effects are similar, and will not be elaborated here in this embodiment.
[0175] In the above Figure 6 In the illustrated embodiment, it should be understood that the processor may be a central processing unit (Central Processing Unit, CPU for short), or may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the present application can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
[0176] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0177] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience in representation, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
[0178] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combinations of these technical features do not conflict, they should all be considered as within the scope described in this specification.
[0179] In some embodiments, a computer program product is further provided, including a computer program or instructions, which, when executed by a processor, implement the steps in any of the above network service orchestration and scheduling methods.
[0180] For the specific implementation of each of the above operations, reference may be made to the previous embodiments and will not be elaborated herein.
[0181] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0182] Therefore, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer-executable instructions are stored, and the computer-executable instructions can be loaded by a processor to execute the steps in any of the network service orchestration and scheduling methods provided by the embodiments of the present application.
[0183] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
[0184] According to one aspect of the present application, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
[0185] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present application. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include common general knowledge or conventional technical means in the technical field not disclosed in the present application. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present application are pointed out by the following claims.
[0186] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.
Claims
1. A network service orchestration and scheduling method, characterized in that, Including: Obtain the computing power service node information and network quality information of the current in-cloud computing power service; Based on the mobile terminal, as well as the computing power service node information and network quality information, obtain the first orchestration result of the mobile terminal, where the first orchestration result is the optimal computing power service node and forwarding path of the mobile terminal at the current location; Schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the first orchestration result; Based on the updated location of the mobile terminal, updated computing power service node information or network quality information, obtain the second orchestration result of the mobile terminal, where the second orchestration result includes the optimal computing power service node and forwarding path of the mobile terminal at the updated location; Determine whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second orchestration result according to the evaluation values of different types of services set in advance.
2. The method according to claim 1, wherein Before the step of obtaining the computing power service node information and network quality information of the current in-cloud computing power service, the method includes: Obtain the current computing power service node information and network quality information from the computing network control and orchestration system, where the current computing power service node information and network quality information are uploaded by the in-cloud computing power service to the computing network control and orchestration system.
3. The method according to claim 1, characterized in that, Before the step of obtaining the current computing power service node information and network quality information, the method further includes: Obtain the current computing power service node information and network quality information from the network device, where the current computing power service node information and network quality information are sent by the in-cloud computing power service to the network device through the Border Gateway Protocol or the Interior Gateway Protocol.
4. The method according to any one of claims 1 to 3, characterized in that, Before the step of obtaining the second orchestration result of the mobile terminal based on the updated location of the mobile terminal, updated computing power service node information and network quality information, the method further includes: Determine the predicted location of the mobile terminal according to the planned route of the mobile terminal; Based on the predicted location, as well as the computing power service node information and network quality information of the current in-cloud computing power service, determine the optimal service node and forwarding path of the predicted location; Perform resource pre-configuration and pre-start operations on the optimal service node of the predicted location.
5. The method according to claim 1, wherein The step of obtaining the second orchestration result of the mobile terminal based on the updated location of the mobile terminal, updated computing power service node information or network quality information includes: Judge whether the updated location is consistent with the predicted location; Determine whether the optimal computing power service node corresponding to the second orchestration result of the mobile terminal is consistent with the optimal service node of the predicted location.
6. The method according to claim 5, characterized in that After the step of determining whether the optimal computing power service node corresponding to the second orchestration result of the mobile terminal is consistent with the optimal service node of the predicted location, the method includes: When the judgment result is that the updated location is consistent with the predicted location, and the optimal computing power service node corresponding to the second orchestration result is consistent with the optimal service node of the predicted location, determine the optimal service node and forwarding path of the predicted location as the second orchestration result of the mobile terminal; When the judgment result is that the updated position is consistent with the predicted position, and the optimal computing power service node corresponding to the second scheduling result is inconsistent with the optimal service node of the predicted position, determine the optimal computing power service node and forwarding path of the updated position as the second scheduling result of the mobile terminal.
7. The method according to claim 5, wherein After determining whether the optimal computing power service node corresponding to the second scheduling result of the mobile terminal is consistent with the optimal service node of the predicted position, the method further includes: When the judgment result is that the updated position is inconsistent with the predicted position, and the optimal computing power service node corresponding to the second scheduling result is consistent with the optimal service node of the predicted position, determine the optimal service node and forwarding path of the predicted position as the second scheduling result of the mobile terminal; When the judgment result is that the updated position is inconsistent with the predicted position, and the optimal computing power service node corresponding to the second scheduling result is inconsistent with the optimal service node of the predicted position, determine the optimal computing power service node and forwarding path of the updated position as the second scheduling result of the mobile terminal.
8. The method according to claim 1, wherein Determining whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second scheduling result according to the evaluation values of different types of services set in advance includes: Determine the evaluation parameters of the optimal computing power service node and forwarding path, where the evaluation parameters include CPU utilization rate, GPU utilization rate, TPU utilization rate, storage utilization rate, latency, available bandwidth, bandwidth utilization rate, packet loss rate, available backup path; According to the evaluation parameter calculation formula, obtain the value of the evaluation parameter, and the evaluation parameter calculation formula is: Where y is the value of the evaluation parameter, Xia is the evaluation parameter of the optimal computing power service node and forwarding path of the first scheduling result, Xib is the evaluation parameter of the optimal computing power service node and forwarding path of the second scheduling result, N is the number of evaluation parameters, and i ∈ (1, N); Compare the value of the evaluation parameter with the evaluation value of the service to obtain a comparison result; According to the comparison result, determine whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second scheduling result.
9. The method according to claim 8, characterized in that, Determining whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second scheduling result according to the evaluation values of different types of services set in advance includes: When the comparison result is that the value of the evaluation parameter is greater than the evaluation value of the service, schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second scheduling result; When the comparison result is that the value of the evaluation parameter is less than or equal to the evaluation value of the service, retain the service traffic of the mobile terminal on the optimal computing power service node and forwarding path included in the first scheduling result.
10. A network service orchestration and scheduling device, characterized in that Includes: An acquisition module, configured to acquire the computing power service node information and network quality information of the current in-cloud computing power service; A first scheduling module, configured to obtain a first scheduling result of the mobile terminal according to the mobile terminal, as well as the computing power service node information and network quality information, where the first scheduling result is the optimal computing power service node and forwarding path of the mobile terminal at the current location; A scheduling module, configured to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the first scheduling result; A second scheduling module, configured to obtain a second scheduling result of the mobile terminal according to the updated location of the mobile terminal, updated computing power service node information or network quality information, where the second scheduling result includes the optimal computing power service node and forwarding path of the mobile terminal at the updated location; A judgment module, configured to determine whether to schedule the service traffic of the mobile terminal to the optimal computing power service node and forwarding path included in the second scheduling result according to the evaluation values of different types of services preset; 11. An electronic device, characterized in that, Comprising: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 9; 12. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 9.