Service chain scheduling method, system and device and computer equipment

By prioritizing and dynamic resource scheduling based on service chain performance parameters in satellite clusters, the problem of limited traditional satellite resources is solved and resource utilization and communication efficiency are improved.

CN118631901APending Publication Date: 2024-09-10ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410779113.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The computing and storage resources on traditional satellites are limited and cannot meet the computing power needs of applications such as high-resolution remote sensing and communications, resulting in inefficient resource utilization.

Method used

By prioritizing the satellite cluster according to the performance parameters of the service chain and dynamically scheduling resource allocation, it ensures that important tasks are processed first and improves resource utilization.

Benefits of technology

It improves the utilization of satellite resources, reduces delay and bandwidth occupation, and improves the efficiency of communication networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118631901A
    Figure CN118631901A
Patent Text Reader

Abstract

The invention relates to a service chain scheduling method, system and device and computer equipment. The method comprises the steps of obtaining a to-be-scheduled queue in response to a service chain scheduling request; according to the performance parameters corresponding to all the service chains in the to-be-scheduled queues, performing priority ranking on the to-be-scheduled queues to determine a traversal sequence of the to-be-scheduled queues; determining a to-be-allocated satellite cluster from the satellite clusters; and traversing the to-be-scheduled queue according to the traversing sequence, and determining a target satellite of the service chain from the to-be-allocated satellite cluster. By adopting the method, the resource utilization rate can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a service chain scheduling method, system, device and computer equipment. Background Art

[0002] The development of sensor technology and aerospace technology has spawned emerging applications such as high-resolution remote sensing, relay communication, navigation, and disaster prevention, which have great demands on the latency and bandwidth of communication networks. For example, air-ground collaborative applications need to perform a series of operations on specific data, such as meteorological remote sensing data, to obtain calculation results, which can then be fed back to decision makers or used for automated decision making.

[0003] Traditionally, the computing and storage resources on satellites are extremely limited, and they can only undertake functions such as remote sensing and communication forwarding, and data needs to be transmitted to ground data centers for processing. This processing mode will cause great delays and occupy a large amount of "satellite-ground" communication bandwidth, so it is inefficient. In recent years, with the rapid development of aerospace electronics technology and the rapid promotion of commercial aerospace activities, high-performance, low-cost commercial devices can also operate in the space environment after simple reinforcement, and the resulting onboard computing capabilities have gradually improved.

[0004] However, with traditional technologies, the types and quantities of resources that satellites can carry are still relatively limited. Faced with the growing demand for computing power, how to improve resource utilization efficiency has become a pressing issue to be addressed. Summary of the invention

[0005] Based on this, it is necessary to provide a service chain scheduling method, system, device, computer equipment, computer-readable storage medium and computer program product that can improve resource utilization in response to the above technical problems.

[0006] In a first aspect, the present application provides a service chain scheduling method, comprising:

[0007] In response to the service chain scheduling request, obtaining a queue to be scheduled;

[0008] According to the performance parameters corresponding to all service chains in the queue to be scheduled, the queue to be scheduled is prioritized to determine the traversal order of the queue to be scheduled;

[0009] Determine a satellite cluster to be allocated from the satellite clusters;

[0010] The queue to be scheduled is traversed in the traversal order, and a target satellite of the service chain is determined from the satellite cluster to be allocated.

[0011] In one of the embodiments, the prioritizing of the queues to be scheduled and determining the traversal order of the queues to be scheduled according to the performance parameters corresponding to all service chains in the queues to be scheduled includes:

[0012] Obtaining performance parameters of each service chain in the queue to be scheduled;

[0013] Determining a target priority of each of the service chains according to the performance parameters;

[0014] According to the target priorities of all the service chains, the queues to be scheduled are prioritized to determine the traversal order of the queues to be scheduled.

[0015] In one embodiment, the performance parameters include the expected usage time, the total amount of required resources, and the number of scheduling times of the service chain; and determining the target priority of each of the service chains according to the performance parameters includes:

[0016] If the priority of each of the service chains is not initialized, initializing the priority of the corresponding service chain according to the estimated usage time and the total amount of required resources, and determining the target priority of the corresponding service chain;

[0017] If the priority of each of the service chains has been initialized, the priority of the corresponding service chain is updated according to the scheduling number, and the target priority of the corresponding service chain is determined.

[0018] In one of the embodiments, if the priority of each of the service chains is not initialized, initializing the priority of the corresponding service chain according to the expected usage time and the total amount of required resources, and determining the target priority of the corresponding service chain includes:

[0019] Mapping the estimated usage duration to obtain a corresponding duration priority;

[0020] Mapping the total amount of required resources to obtain corresponding resource priorities;

[0021] Determining the static priority of the service chain according to the duration priority and the resource priority;

[0022] The priority of the service chain is initialized according to the static priority, and the static priority is used as the target priority of the corresponding service chain.

[0023] In one embodiment, mapping the total amount of required resources to obtain corresponding resource priorities includes:

[0024] Determine a first mapping relationship for characterizing a relationship between a total amount of required resources and a priority;

[0025] The total amount of required resources is mapped according to the first mapping relationship to obtain a corresponding resource priority.

[0026] In one embodiment, the mapping process of the estimated usage duration to obtain the corresponding duration priority includes:

[0027] Acquire the communication parameters of the satellite cluster to be allocated;

[0028] Determine, according to the communication parameter, a second mapping relationship for characterizing the relationship between priority and usage duration;

[0029] The estimated usage duration is normalized according to the second mapping relationship to obtain a corresponding duration priority.

[0030] In one of the embodiments, the prioritizing of the queues to be scheduled according to the target priorities of all the service chains to determine the traversal order of the queues to be scheduled includes at least one of the following:

[0031] According to the target priorities of all service chains, the scheduling queues are sorted in ascending order;

[0032] If there are the same target priorities, the submission time of the service chains corresponding to the same target priorities is obtained, and the service chains corresponding to the same target priorities are sorted and updated based on the submission time in ascending order;

[0033] According to the sorted queues to be scheduled, the traversal order of the queues to be scheduled is determined.

[0034] In one embodiment, traversing the queue to be scheduled according to the traversal order and determining the target satellite of the service chain from the satellite cluster to be allocated includes:

[0035] Traversing the queue to be scheduled according to the traversal order, and determining the service chains in the queue to be scheduled that need to be processed in sequence;

[0036] For each of the service chains, determining the total amount of required resources required for the operation of the service chain;

[0037] According to the total amount of required resources, a target satellite of the service chain is determined from the satellite cluster to be allocated.

[0038] In one embodiment, the service chain includes a plurality of computing nodes, the plurality of computing nodes are connected via a logical network link, and determining a target satellite of the service chain from the to-be-allocated satellite cluster according to the total amount of required resources includes:

[0039] Combining tasks on the multiple computing nodes to obtain a target combined task;

[0040] According to the total amount of required resources required for the target combination task, a target satellite for the target combination task is determined from the satellite cluster to be allocated.

[0041] In one embodiment, combining tasks of the plurality of computing nodes to obtain a target combined task includes:

[0042] Get the computing tasks on each computing node;

[0043] Determining the input data volume and output data volume of the computing task;

[0044] According to the input data volume and the output data volume of each computing node, tasks are combined for the multiple computing nodes to obtain a target combined task.

[0045] In one embodiment, combining tasks of the plurality of computing nodes according to the input data volume and the output data volume of each computing node to obtain a target combined task includes:

[0046] According to the input data volume and the output data volume of each computing node, performing task combination on the multiple computing nodes to obtain multiple candidate task combinations;

[0047] Determine a task combination whose output data volume is smaller than the input data volume from the plurality of candidate task combinations, and obtain a target combination task.

[0048] In one embodiment, the method includes determining the target satellite of the service chain from the satellite cluster to be allocated according to the total amount of required resources.

[0049] If the available resources of the satellite cluster to be allocated are less than the total required resources of the service chain, the current scheduling is terminated, the next round of scheduling is waited for, and the scheduling times in the performance parameter are updated;

[0050] If the available resources of the to-be-allocated satellite cluster are greater than or equal to the total required resources of the service chain, a target satellite of the service chain is determined from the to-be-allocated satellite cluster.

[0051] In a second aspect, the present application also provides a service chain scheduling device, including:

[0052] A scheduling queue acquisition module, used to obtain a queue to be scheduled in response to a service chain scheduling request;

[0053] A priority determination module, used to prioritize the queues to be scheduled and determine the traversal order of the queues to be scheduled according to the performance parameters corresponding to all service chains in the queues to be scheduled;

[0054] A satellite cluster determination module, used to determine a satellite cluster to be allocated from the satellite clusters;

[0055] The scheduling module is used to determine a traversal order according to the target priority of the service chain, traverse the queue to be scheduled according to the traversal order, and determine the target satellite of the service chain from the available satellite cluster.

[0056] In a third aspect, the present application further provides a service chain scheduling system, the service chain scheduling system comprising a ground mission center and a satellite cluster, the ground mission center being used to determine that a first satellite in the satellite cluster is a scheduling node, and a second satellite in the satellite cluster is a satellite cluster to be allocated, wherein:

[0057] The scheduling node is used to obtain a queue to be scheduled in response to a service chain scheduling request;

[0058] According to the performance parameters corresponding to all service chains in the queue to be scheduled, the queue to be scheduled is prioritized to determine the traversal order of the queue to be scheduled;

[0059] Determine a satellite cluster to be allocated from the satellite clusters;

[0060] The queue to be scheduled is traversed in the traversal order, and a target satellite of the service chain is determined from the satellite cluster to be allocated.

[0061] In a fourth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0062] In response to the service chain scheduling request, obtaining a queue to be scheduled;

[0063] According to the performance parameters corresponding to all service chains in the queue to be scheduled, the queue to be scheduled is prioritized to determine the traversal order of the queue to be scheduled;

[0064] Determine a satellite cluster to be allocated from the satellite clusters;

[0065] The queue to be scheduled is traversed in the traversal order, and a target satellite of the service chain is determined from the satellite cluster to be allocated.

[0066] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0067] In response to the service chain scheduling request, obtaining a queue to be scheduled;

[0068] According to the performance parameters corresponding to all service chains in the queue to be scheduled, the queue to be scheduled is prioritized to determine the traversal order of the queue to be scheduled;

[0069] Determine a satellite cluster to be allocated from the satellite clusters;

[0070] The queue to be scheduled is traversed in the traversal order, and a target satellite of the service chain is determined from the satellite cluster to be allocated.

[0071] In a sixth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0072] In response to the service chain scheduling request, obtaining a queue to be scheduled;

[0073] According to the performance parameters corresponding to all service chains in the queue to be scheduled, the queue to be scheduled is prioritized to determine the traversal order of the queue to be scheduled;

[0074] Determine a satellite cluster to be allocated from the satellite clusters;

[0075] The queue to be scheduled is traversed in the traversal order, and a target satellite of the service chain is determined from the satellite cluster to be allocated.

[0076] The above-mentioned service chain scheduling method, system, device, computer equipment, computer-readable storage medium and computer program product obtain the queue to be scheduled, prioritize the queue to be scheduled according to the performance parameters corresponding to all service chains in the queue to be scheduled, determine the traversal order of the queue to be scheduled, and determine the satellite cluster to be allocated from the satellite cluster, traverse the queue to be scheduled according to the traversal order, and determine the target satellite of the service chain from the satellite cluster to be allocated. That is, in a multi-satellite collaborative environment, the corresponding priorities are determined by determining the performance parameters of the service chains to be scheduled in the queue to be scheduled, the scheduling order is determined by priority sorting, the target satellite is determined from the satellite cluster to be allocated based on the scheduling order, the scheduling order is determined according to the priority, and the satellite resource allocation is dynamically adjusted according to the importance of the service chain, the response speed and the reasonable allocation of resources are improved, and the resource utilization rate is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0078] Figure 1An application environment diagram of a service chain scheduling method in an embodiment;

[0079] Figure 2 A schematic diagram of a flow chart of a service chain scheduling method in an embodiment;

[0080] Figure 3 is a schematic flow chart of step 204 in one embodiment;

[0081] Figure 4 is a flowchart of a method for determining target priority in an embodiment;

[0082] Figure 5 It is a flowchart of a method for initializing service chain priority in one embodiment;

[0083] Figure 6 A schematic flow chart of a method for determining a target satellite in one embodiment;

[0084] Figure 7 A schematic flow chart of a method for determining a target satellite according to another embodiment;

[0085] Figure 8 A schematic diagram of a flow chart of a method for determining a target combination task in one embodiment;

[0086] Fig. 9 is a flow chart of a service chain scheduling method in another embodiment;

[0087] Fig.10 is a structural block diagram of a service chain scheduling system in one embodiment;

[0088] Fig.11 is a structural block diagram of a service chain scheduling device in one embodiment;

[0089] Fig.12 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0090] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0091] With the rapid development of aerospace electronic technology and the rapid promotion of commercial aerospace activities, high-performance, low-cost commercial devices can also operate in the space environment after simple reinforcement, and the resulting onboard computing capabilities are gradually improved.

[0092] Currently, ground stations communicate with a single satellite, and for a single satellite, the service chain is deployed on the same satellite. However, due to power consumption, volume, weight and other limitations, the types and quantities of resources that a single satellite can carry are still relatively limited. In the face of the growing demand for computing power, how to improve resource utilization efficiency has become an urgent problem to be solved.

[0093] In order to solve this technical problem, a service chain scheduling method is proposed. For the queue to be scheduled, when scheduling the service chain, the priority of the service chain is determined according to the performance parameters corresponding to all service chains in the queue to be scheduled, and the scheduling order is determined by sorting the priorities. For satellite resources with shared resources, the service chains in the queue to be scheduled are scheduled according to the scheduling order, which can balance the load among multiple tasks and prevent some tasks from being delayed due to waiting for resources. At the same time, priority scheduling can dynamically adjust resource allocation according to the importance and urgency of the task, so as to use resources more reasonably. Therefore, this method improves resource utilization.

[0094] The service chain scheduling method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in FIG. 1 , the ground mission center 102 is the initiator of the service chain application. The ground mission center 102 is connected to the cloud computing center, called the ground station cloud 104, which includes a series of virtualized demand resources. The ground station cloud 104 can be used as a backup data processing center. The satellite has computing power and communication capabilities to provide an operating environment for the application. The ground mission center 102 designates some satellites as management nodes 106, which can also be called scheduling nodes. Each management node is responsible for taking over the application and organizing some satellites to form a consortium, called a galaxy, which can also be called a satellite cluster, for deploying and running service chain applications. The number of galaxies can be one, two or more. The management node is responsible for collecting real-time monitoring data within the galaxy, such as orbital posture parameters, available resources, program anomalies, etc., and is also responsible for running the software-defined network controller to control network forwarding behavior. The management nodes maintain long-term network connections for exchanging control surface data. The management node maintains a scheduling queue for storing service chain applications waiting to be scheduled. The management node periodically sends heartbeat packets to the ground mission center to report the monitoring data of its visible satellites.

[0095] Among them, some satellites can be understood as satellites pre-set according to actual needs, and the number of pre-set satellites is not limited here. The management node 106 responds to the service chain scheduling request, obtains the queue to be scheduled, and prioritizes the queue to be scheduled according to the performance parameters corresponding to all service chains in the queue to be scheduled to determine the traversal order of the queue to be scheduled, determines the satellite cluster to be allocated from the satellite cluster, traverses the queue to be scheduled according to the traversal order, and determines the target satellite of the service chain from the satellite cluster to be allocated.

[0096] In an exemplary embodiment, Figure 2 As shown, a service chain scheduling method is provided, which is applied to Figure 1 The application environment in FIG. 1 is taken as an example to illustrate, including the following steps 202 to 208. Among them:

[0097] Step 202: In response to the service chain scheduling request, obtain the queue to be scheduled.

[0098] Among them, the service chain is formed by the ground mission center according to the needs of the application when it receives the application sent by the service demand terminal. The service demand terminal can also be understood as the terminal where the user is located. Each service demand terminal has a resource quota, and the remaining resource quota represents the maximum amount of resources available to the current service demand terminal. Resource quota can be understood as a mechanism used in an operating system, network service or computer system to manage and limit the amount of resources that can be used by users or processes. The application can be a data processing application, and the requirements of the application can be data enhancement, compression and data cleaning processing of the collected data. For example, an air-ground collaborative application needs to perform a series of operations on meteorological remote sensing data to obtain calculation results, which are then fed back to decision makers or used for automated decision making.

[0099] A service chain scheduling request can be a single service chain scheduling request or a concurrent service chain scheduling request. A service chain scheduling request can be understood as the existence of multiple service demand terminals submitting applications to the ground mission center at the same time, forming a service chain corresponding to each application. The queue to be scheduled can be a queue formed by arranging the service chains corresponding to each application in the order in which the service demand terminals submit applications, in the order of submission time. The queue to be scheduled can also be randomly generated based on the service chains corresponding to the submitted applications. Here, there is no limitation on the formation method of the queue to be scheduled.

[0100] Exemplarily, after receiving an application sent by at least one service demand terminal, the ground mission center forms a service chain corresponding to each application. The management node forms a queue to be scheduled according to the submission time of each application, and responds to the service chain scheduling request to obtain the queue to be scheduled corresponding to the service chain scheduling request.

[0101] Step 204: According to the performance parameters corresponding to all service chains in the queue to be scheduled, the queue to be scheduled is prioritized to determine the traversal order of the queue to be scheduled.

[0102] Among them, the service chain can also be called a service chain application. Each service chain has corresponding performance parameters, and the performance parameters include at least one of the expected usage time, the total amount of required resources, the number of scheduling times and the submission time. The total amount of required resources includes the CPU, memory, bandwidth and other requirements required for the entire service chain. Prioritizing the queues to be scheduled to determine the traversal order of the queues to be scheduled can be understood as determining the priority of the service chain according to the performance parameters, and determining the scheduling order of the service chains in the queues to be scheduled according to the order of priority. The scheduling order of the service chains in the queues to be scheduled can be determined in order from large to small priorities, or in order from small to large. The smaller the priority value, the earlier it will be scheduled.

[0103] The priority of the service chain is determined according to the performance parameters, which can be determined according to at least one of the expected usage time, the total amount of required resources, the number of scheduling times and the submission time. For example, in the case of determining the priority according to the expected usage time, the one with the longest expected usage time can be determined as the highest priority, that is, the first to be scheduled. In the case of determining the priority according to the total amount of required resources, the one with the largest total amount of required resources can be determined as the highest priority, that is, the first to be scheduled. In the case of determining the priority according to the expected usage time and the total amount of required resources, the one with the largest total amount of required resources and the longest expected usage time can be determined as the highest priority, that is, the first to be scheduled. The method of determining the priority can be determined according to actual needs and application scenarios.

[0104] Exemplarily, according to the performance parameters corresponding to all service chains in the queue to be scheduled, the corresponding priorities are determined according to the performance parameters of each service chain, and the queue to be scheduled is sorted according to the priority of each service chain to determine the traversal order of the queue to be scheduled.

[0105] Step 206: Determine the satellite cluster to be allocated from the satellite clusters.

[0106] Among them, the satellite cluster to be allocated can be understood as an available satellite cluster, and whether the satellite is available can be determined based on the working status of the satellite and the resource usage of the satellite. For example, the telemetry data of the satellite cluster is obtained, the telemetry data is identified, and the working status of the satellites in the satellite cluster is determined. Furthermore, the method of identifying the working status of the satellite includes identifying the telemetry data through a trained graph convolutional neural network, outputting the working status of the satellite, and if the working status of the satellite is idle, it can be determined that the satellite is an available satellite. The method of identifying the working status of the satellite can also determine the resource usage of each satellite in the satellite cluster based on the telemetry data. If the satellite does not have available resources, it is determined that the satellite is unavailable. The method of identifying the working status of the satellite also includes comparing the acquired telemetry parameters with a preset normal threshold. If the preset normal threshold is exceeded, the satellite is abnormal, indicating that the satellite is unavailable.

[0107] Step 208: traverse the queue to be scheduled in the traversal order, and determine the target satellite of the service chain from the satellite cluster to be assigned.

[0108] Among them, the number of target satellites can be one, or two or more. The number of target satellites is determined according to actual needs and applications. The traversal order can also be understood as the scheduling order of the service chain in the queue to be scheduled. Determining the target satellite of the service chain from the satellite cluster to be allocated can be determined based on the total amount of demand resources required for the currently traversed service chain, and determining the target satellite that matches the total amount of demand resources from the satellite cluster to be allocated; it can also be determined based on the total amount of demand resources and the relative distance between the satellites. For example, when the relative distance is within a preset distance range, the target satellite that matches the total amount of demand resources is determined from the satellite cluster to be allocated within the preset distance range. The relative distance can be understood as a distance determined with reference to the ground mission center.

[0109] Exemplarily, the scheduling order of the queue to be scheduled is determined, and the queue to be scheduled is traversed according to the scheduling order. For each current service chain traversed, the target satellite of the service chain is determined from the satellite cluster to be allocated according to the total amount of required resources of each current service chain, and each current service chain is deployed to its corresponding target satellite. When the scheduling is completed, the scheduling identifier of the current service chain is generated, and the scheduling identifier is used to mark the status of the current service chain in this round of scheduling as already scheduled. If the target satellite matching the current service chain does not exist in the satellite cluster to be allocated, the next service chain of the current service chain can be traversed and the scheduling number of the current service chain can be updated, and the target satellite of the next service chain can be determined from the satellite cluster to be allocated until it is scheduled.

[0110] In the above service chain scheduling method, by obtaining the queue to be scheduled, according to the performance parameters corresponding to all service chains in the queue to be scheduled, the queue to be scheduled is prioritized to determine the traversal order of the queue to be scheduled, and the satellite cluster to be allocated is determined from the satellite cluster, the queue to be scheduled is traversed in the traversal order, and the target satellite of the service chain is determined from the satellite cluster to be allocated. That is, in a multi-satellite collaborative environment, the corresponding priorities are determined by determining the performance parameters of the service chains of the queue to be scheduled, the scheduling order is determined by priority sorting, the target satellite is determined from the satellite cluster to be allocated based on the scheduling order, the scheduling order is determined according to the priority, and the satellite resource allocation is dynamically adjusted according to the importance of the service chain, the response speed and the reasonable allocation of resources are improved, and the resource utilization rate is improved.

[0111] Optionally, in one embodiment, based on the total amount of required resources, the target satellite of the service chain is determined from the satellite cluster to be allocated, and the method includes: if the available resources of the satellite cluster to be allocated are less than the total amount of required resources of the service chain, then the current scheduling is terminated, waiting for the next round of scheduling, and the scheduling number in the performance parameters is updated; if the available resources of the satellite cluster to be allocated are greater than or equal to the total amount of required resources of the service chain, then the target satellite of the service chain is determined from the satellite cluster to be allocated.

[0112] If the available resources of the satellite cluster to be allocated are less than the total required resources of the service chain, the available resources mean that the resources of each satellite in the satellite cluster to be allocated are less than the total required resources of the service chain. It can be understood that there is no satellite in the satellite cluster to be allocated that meets the current service chain.

[0113] Exemplarily, when executing application scheduling, the resource management node schedules the application in order of priority from small to large. If the priorities are the same, the application is scheduled in order of submission usage time from small to large (i.e., first come first served). After completing a round of scheduling, if a service chain with a lower priority, i.e., a service chain with a higher target priority, is not successfully scheduled due to insufficient resources or other reasons, a new round of scheduling will be performed immediately when new resources are available, the value of the number of scheduling executions will be increased by 1, and the dynamic priority will be recalculated. Optionally, new available resources may be due to the addition of visible satellites, the completion of existing service chains and the release of resources, etc. Further, when the maximum number of scheduling times is reached, the scheduling failure is marked and the result is fed back to the ground mission center.

[0114] In an exemplary embodiment, Figure 3 As shown, step 204 includes steps 302 to 306. Among them:

[0115] Step 302: Obtain the performance parameters of each service chain in the queue to be scheduled.

[0116] Among them, performance parameters include expected usage time, total required resources and scheduling times.

[0117] Step 304: Determine the target priority of each service chain according to the performance parameters.

[0118] The target priority is used to determine the scheduling order of the service chain in the queue to be scheduled. The target priority can be determined based on the expected usage time, the total amount of required resources, and the number of scheduling times. The target priority can be determined based on the expected usage time, the total amount of required resources, and the number of scheduling times in the following ways:

[0119] Method 1: Set priorities based on the amount of resources that tasks require, and prioritize resources for tasks with high demand, to ensure sufficient resources for critical tasks. In the case of the same total amount of required resources, set priorities based on the expected duration of use, and prioritize resources for service chains with the longest expected duration of use.

[0120] Method 2: Assign different weights to the estimated usage time, total required resources, and scheduling times, and determine the priority based on the weighted score. For example, the one with the smallest weighted score value is regarded as the one with the highest priority and is scheduled first.

[0121] Method 3: Determine the static priority of the service chain based on the expected usage time and the total amount of required resources, initialize the target priority based on the static priority, and iteratively calculate the value of the target priority in each round of scheduling to determine the final target priority.

[0122] Step 306: According to the target priorities of all service chains, the queues to be scheduled are prioritized to determine the traversal order of the queues to be scheduled.

[0123] Among them, the smaller the value of the target priority is, the higher the priority is and the first to be scheduled.

[0124] Exemplarily, according to the numerical values ​​of the target priorities of all service chains, the service chains in the queue to be scheduled are sorted in ascending order to obtain the traversal order of the queue to be scheduled.

[0125] In this embodiment, the target priority is determined according to the performance parameters of each service chain in the queue to be scheduled, and the scheduling order of the queue to be scheduled is determined according to the target priority ranking. Priority-based scheduling can improve resource utilization efficiency.

[0126] When scheduling the queue to be scheduled, there may be dynamic scheduling, so it is necessary to accurately determine the target priority of the service chain in the queue to be scheduled. Therefore, in an exemplary embodiment, Figure 4 As shown, a method for determining a target priority is provided, including steps 402 to 406. Among them:

[0127] Step 402, determine whether the priority of the service chain is initialized, if not initialized, execute step 404, if initialized, execute step 406.

[0128] Step 404: If the priority of each service chain is not initialized, the priority of the corresponding service chain is initialized according to the expected usage time and the total amount of required resources, and the target priority of the corresponding service chain is determined.

[0129] Among them, the priority of the corresponding service chain is initialized according to the expected usage time and the total amount of required resources. The preset weights can be assigned to the expected usage time and the total amount of required resources, and the weighted values ​​are obtained through weighted calculation. The weighted values ​​are used as the static priority of the service chain, and the priority of the corresponding service chain is initialized according to the static priority to determine the target priority of the corresponding service chain.

[0130] Initialize the priority of the corresponding service chain according to the expected usage time and the total amount of required resources. Alternatively, map the expected usage time and the total amount of required resources separately, sum the mapped values ​​after each mapping, and use the obtained value as the static priority of the service chain. Initialize the priority of the corresponding service chain according to the static priority, and determine the target priority of the corresponding service chain.

[0131] Step 406: If the priority of each service chain has been initialized, the priority of the corresponding service chain is updated according to the scheduling number, and the target priority of the corresponding service chain is determined.

[0132] The scheduling times may be the scheduling retries, which indicates the number of scheduling failures. Updating the priority of the corresponding service chain according to the scheduling times may be to determine the difference between the static priority determined when the service chain is initialized and the scheduling times, and to take the maximum value from the difference between the static priority and the scheduling times and the preset value to determine the target priority. The maximum value may be the maximum value or the minimum value. For example, updating the priority of the corresponding service chain according to the scheduling times may be expressed as: P dyna =max(0,Pstat-k5*Retry). dyna is the target priority, Pstat is the static priority, Retry is the number of scheduling times, and k5 is a positive integer proportional factor set according to the situation.

[0133] Optionally, P dyna =max(0,Pstat-k5*Retry). When Pstat-k5*Retry is less than 0, the target priority is determined to be 0.

[0134] In the above embodiment, when determining the target priority of the service chain, by judging whether the service chain is initialized, the target priority is determined respectively for the two situations of being initialized and not being initialized, thereby ensuring the reliability of the target priority.

[0135] When initializing the priority of the service chain according to the expected usage time and the total amount of required resources, the expected usage time and the total amount of required resources can be normalized and mapped to a preset interval to accurately determine the priority of the service chain. Figure 5 As shown, a service chain priority initialization method is provided, including steps 502 to 508.

[0136] in:

[0137] Step 502: Mapping the total amount of required resources to obtain corresponding resource priorities.

[0138] Among them, the mapping process of the expected usage time and the total amount of required resources can be understood as using the characteristics of the normalized specified range to map the expected usage time and the total amount of required resources to the preset intervals respectively. Further, the mapping process can be achieved by determining a mapping relationship, and the determination of the mapping relationship can be pre-set or determined according to the communication parameters of the satellite. For different performance parameters, the mapping relationship of the performance parameters is also different.

[0139] For a performance parameter that is the total amount of required resources, the total amount of required resources is mapped to obtain a corresponding resource priority, including: determining a first mapping relationship for characterizing the relationship between the total amount of required resources and the priority; mapping the total amount of required resources according to the first mapping relationship to obtain a corresponding resource priority.

[0140] It can be understood that the total amount of required resources can represent computing power resources, and the size of the total amount of required resources can characterize the size of the service chain computing task. A small total amount of required resources represents a small amount of service chain computing tasks and a short processing time, and a large total amount of required resources represents a large service chain computing task and a long processing time. When determining resource priority, it can be determined based on the relationship between the total amount of required resources of each service chain in the queue to be scheduled and the preset total amount of required resources.

[0141] When determining the first mapping relationship, it can be determined according to actual application requirements, or according to the relationship between the total amount of demand resources of each service chain in the queue to be scheduled and the preset total amount of demand resources. If the total amount of demand resources of each service chain in the queue to be scheduled is greater than the first amount of the preset total amount of demand resources, and the total amount of demand resources of the service chain is less than the second amount of the preset total amount of demand resources, it indicates that the larger the total amount of demand resources, the more likely the service chain is to be scheduled first, that is, the larger the total amount of demand resources, the smaller the value of the resource priority and the higher the priority.

[0142] When the first quantity accounts for a smaller proportion than the second quantity, it indicates that the smaller the total amount of required resources is, the more likely the service chain is to be scheduled first, that is, the smaller the total amount of required resources is, the smaller the value of the resource priority is, and the higher the priority is.

[0143] For example, the maximum allowed priority is P max , the application submission time is T s , the total amount of resources required by the current service chain is R, and the expected usage time is T d , retry times Retry, initial value is 0, maximum retry times Max_retry. Map the total amount of required resources, R is mapped to the resource priority P R , P R ∈[0-P1] and P1, P R The values ​​are all integers. When the resource demand is lower, the R value is lower, and vice versa, when the resource demand is greater, the R value is higher. Determining the first mapping relationship used to characterize the relationship between the total amount of required resources and the priority includes the following two cases:

[0144] a) In the case of a service chain with a larger total amount of required resources, the service chain with a higher priority is more likely to be scheduled first. R The smaller the value, the higher the priority. The following first mapping relationship can be adopted:

[0145]

[0146] b) In the case of a service chain with a smaller total amount of required resources, the smaller the total amount of required resources, the more likely the service chain is to be scheduled first. R The smaller the value, the higher the priority. The following first mapping relationship can be used:

[0147]

[0148] Among them, k1 and k2 represent two positive integer proportional factors, satisfying k1*k2=P1. k1 and k2 are used to map the resource demand R to the priority value P. R , two proportional factors selected on the interval [0, Rmax], R max Represents the maximum resource quota allowed. Represents the floor function.

[0149] Step 504: Map the estimated usage duration to obtain a corresponding duration priority.

[0150] For the performance parameter being the expected usage time, the expected usage time is mapped to obtain a corresponding time priority, including: obtaining communication parameters of the satellite cluster to be allocated; determining a second mapping relationship for characterizing the relationship between priority and usage time according to the communication parameters; and normalizing the expected usage time according to the second mapping relationship to obtain a corresponding time priority.

[0151] The communication parameters include orbital parameters. Determining the second mapping relationship according to the communication parameters is to determine the network stability between the satellite cluster networking according to the communication parameters. For example, the satellite cluster to be allocated includes satellites in the same orbit and satellites in different orbits, and the communication between satellites in the same orbit is relatively stable. Determining the stability of the network in the satellite cluster to be allocated according to the communication parameters can be done in an existing manner, which will not be described in detail here.

[0152] The stability of satellite clusters is different, and the priority scheduling service chains are also different, so the corresponding mapping relationships are also different. For example, the expected usage time T d Mapped to duration priority P T , P T ∈[0-P2] and P2, P T The value is an integer. If the satellite visibility relationship is relatively stable and conducive to the execution of long-term missions, the second mapping relationship can be determined so that T d The longer the priority value, the smaller the priority level, for example, case a); on the contrary, if the satellite visibility relationship changes greatly and is conducive to the execution of short-term tasks, the second mapping relationship can be determined to satisfy T d The shorter the priority value, the smaller the priority level, for example, case b). Where k3 and k4 represent two positive integer proportional factors, satisfying k3*k4=P2, T max Represents the maximum running time allowed to be set. Represents the floor function.

[0153] a) Optionally, you can choose to prioritize service chain applications with longer service duration, i.e., the longer the expected running time, the higher the P T The smaller the value, the higher the priority level, and the following second mapping relationship can be used:

[0154]

[0155] b) On the contrary, the service chain applications with short service duration can be selected first, that is, the shorter the expected running time, the higher the P T The smaller the value, the higher the priority. The following second mapping relationship can be used:

[0156]

[0157] Step 506: Determine the static priority of the service chain according to the duration priority and the resource priority.

[0158] Exemplarily, the duration priority and the resource priority are summed up, and the obtained result is determined as the static priority of the service chain.

[0159] Step 508: Initialize the priority of the service chain according to the static priority, and use the static priority as the target priority of the corresponding service chain.

[0160] It is understandable that in the initial stage of scheduling, the dynamic priority value needs to be initialized with a certain transformation based on the static priority value. The specific transformation method and the effective range of static and dynamic priorities should be set according to parameters such as the system's expected load and total resources.

[0161] Among them, according to the target priority P dyna =max(0, Pstat-k5*Retry). It can be seen that when the service chain is not initialized, the number of retries may be 0, which means that the service chain has never been scheduled. The static priority can be determined as the target priority of the service chain.

[0162] In the above embodiment, the characteristic of normalized specified range is utilized to map the estimated usage time and total required resources of the service chain to the interval, thereby avoiding uncontrollable priority range obtained by actual calculation and accurately determining the priority of the application.

[0163] When the management node performs service chain scheduling of the queue to be scheduled, there may be service chains with the same priority or there may not be service chains with the same priority in the queue to be scheduled.

[0164] Exemplarily, in one embodiment, when the management node performs service chain scheduling of the queue to be scheduled, the queue to be scheduled is sorted in ascending order according to the target priority of all service chains; if there is the same target priority, the submission time of the service chain corresponding to the same target priority is obtained, and the service chain corresponding to the same target priority is sorted and updated in ascending order based on the submission time; according to the sorted queue to be scheduled, the traversal order of the queue to be scheduled is determined. That is, in the case where there are no service chains with the same priority, the queue to be scheduled is sorted in ascending order according to the target priority of all service chains, and the traversal order of the queue to be scheduled is determined. In the case where there are service chains with the same priority, the service chains corresponding to the same target priority are sorted in ascending order based on the submission time, and the scheduling order of the part with the same target priority is determined. For the part with different target priorities, the queue to be scheduled is sorted in ascending order to determine the traversal order of the queue to be scheduled. This method ensures the rationality of scheduling.

[0165] For example, in one embodiment, Figure 6 As shown, a method for determining a target satellite is provided, comprising steps 602 to 606, wherein:

[0166] Step 602: traverse the queue to be scheduled in order to determine the service chains in the queue to be scheduled that need to be processed in sequence.

[0167] Step 604: for each service chain, determine the total amount of required resources required for the operation of the service chain.

[0168] The total amount of required resources may be predetermined.

[0169] Step 606: Determine the target satellite of the service chain from the satellite cluster to be allocated according to the total amount of required resources.

[0170] It is understandable that when determining the target satellite of the service chain from the satellite cluster to be allocated, the total amount of required resources required by the service chain and the available resources of each single satellite in the satellite cluster to be allocated can be compared, and the satellite matching the required total amount of required resources can be determined as the target satellite. If there are multiple satellites matching the required total amount of required resources, the satellite with the smallest difference between the available resources and the total amount of required resources is determined from the matching satellites as the target satellite.

[0171] In the above embodiment, in a resource sharing environment, scheduling is performed based on priorities and the total amount of required resources required by the service chain, which can improve resource utilization efficiency.

[0172] It can be understood that a service chain includes multiple computing nodes. In order to further improve the utilization rate of satellite bandwidth resources, in an exemplary embodiment, Figure 7 As shown, a method for determining a target satellite is provided, comprising steps 702 to 704, wherein:

[0173] Step 702, combining tasks on multiple computing nodes to obtain a target combined task.

[0174] Among them, the service chain includes a starting point, an end point, a computing node and a link. The computing node is all nodes except the starting point (Ingress) and the end point (Egress). The number of computing nodes can be one, two or more, and the number of computing nodes in the service chain is not limited. This embodiment is based on the number of computing nodes as multiple. The link can refer to a logical network link. The logical network link runs on a specific physical network link and can be implemented through technical means such as VXLAN and GRE tunnels. For example, there is a physical link A->B between star A and star B and its bandwidth is 10Gbps, then it can carry 10 logical links between A->B with a bandwidth of 1Gbps.

[0175] The number of target combination tasks can be one or more. The combination of computing nodes can be any combination or can be combined according to preset rules. For example, the preset rule is to divide all computing nodes of the service chain into two combinations. The computing nodes can also be combined according to actual application requirements. Since the internal communication of the satellite is based on the communication bus and does not occupy bandwidth, the communication between satellites is wireless communication, which occupies bandwidth, and the communication efficiency of the communication bus is higher than that of the communication between satellites. When the actual application requirements are to improve the performance of the service chain communication and reduce the network bandwidth occupied by cross-satellite communication, multiple nodes of the service chain are deployed on the same satellite. Therefore, multiple nodes of the service chain are combined to obtain a target combination. The combination of computing nodes can also be determined based on the amount of input data and output data of each computing node.

[0176] Step 704: Determine the target satellite of the target combination task from the satellite cluster to be allocated according to the total amount of required resources required by the target combination task.

[0177] The total amount of required resources required for the target combination task can be determined based on a predetermined corresponding relationship between each computing node and the total amount of required resources. The target satellite for the target combination task can be determined by the above target satellite determination method, which will not be described in detail here.

[0178] In the above embodiment, during the service chain scheduling process, the satellite bandwidth resources are reasonably utilized by combining and scheduling the service chain computing nodes, thereby improving the utilization rate of the satellite bandwidth resources.

[0179] For example, in one embodiment, Figure 8 As shown, a method for determining a target combination task is provided, including steps 802 to 806, wherein:

[0180] Step 802, obtaining computing tasks on each computing node.

[0181] The types of computing tasks may include data compression, data increment processing, data filtering, data recognition, etc. For example, if the service chain is target recognition, the computing tasks of the corresponding computing nodes may include image segmentation, target detection, target recognition, etc.

[0182] Step 804, determine the input data volume and output data volume of the computing task.

[0183] The relationship between the input data volume and the output data volume of the computing task of each computing node may be that the input data volume is less than or equal to the output data volume, or the input data volume is greater than the output data volume. The relationship between the input data volume and the output data volume depends on the task attribute of the computing task. For example, when the task attribute of the computing task is data compression, the input data volume is greater than the output data volume, and when the task attribute of the computing task is data enhancement, the input data volume is less than the output data volume.

[0184] Step 806, combining tasks for multiple computing nodes according to the input data volume and output data volume of each computing node to obtain a target combined task.

[0185] According to the input data volume and output data volume of each computing node, multiple computing nodes are task combined to obtain a target combined task, including: according to the input data volume and output data volume of each computing node, multiple computing nodes are task combined to obtain multiple candidate task combinations; from multiple candidate task combinations, a task combination whose output data volume is less than the input data volume is determined to obtain a target combined task. The purpose of determining a task combination whose output data volume is less than the input data volume from multiple candidate task combinations is to make the output data volume of the finally deployed satellite lower than the input data volume. Further, in the case of combined scheduling based on the computing nodes of the service chain, the service chain characteristics can be obtained. In the case where the service chain characteristics are that the computing nodes share CPU resources, all computing nodes of the service chain are deployed on the same satellite, and only one memory copy of the original data is maintained on one satellite through a shared memory method, so that multiple computing nodes share this memory copy.

[0186] For example, service chain F includes six task nodes: Ingress->F1->F2->F3->F4->Egress, where F1, F2, F3, and F4 are computing nodes of service chain F, and F1 and F3 are data enhancement tasks, whose output data volume is greater than the input data volume, and F2 and F4 are data compression tasks, whose output data volume is less than the input data volume. The task combination can be to deploy F1, F2, F3, and F4 on the same satellite, or to deploy F1 and F2 on the same satellite and F3 and F4 on the same satellite. These two methods consume the least intersatellite network bandwidth, and the output data volume of the satellite is lower than the input data volume.

[0187] In the above embodiment, the service combination is performed according to the relationship between the input and output data volumes of the computing nodes, ensuring that the output data volume on each satellite after the combination is lower than the input data volume, thereby achieving the effect of saving bandwidth resources.

[0188] In an exemplary embodiment, Fig. 9 As shown, a service chain scheduling method is provided, which is applied to Figure 1 The application environment in FIG. 1 is taken as an example to illustrate, and the method includes the following steps 902 to 920. Among them:

[0189] Step 902: In response to the service chain scheduling request, obtain the queue to be scheduled.

[0190] Step 904: Obtain performance parameters of each service chain in the queue to be scheduled.

[0191] Among them, the performance parameters include the expected usage time of the service chain, the total amount of required resources and the number of scheduling times.

[0192] Step 906: If the priority of each service chain is not initialized, the priority of the corresponding service chain is initialized according to the estimated usage time and the total amount of required resources, and the target priority of the corresponding service chain is determined.

[0193] Step 908: If the priority of each service chain has been initialized, the priority of the corresponding service chain is updated according to the scheduling number, and the target priority of the corresponding service chain is determined. The target priority of each service chain is determined according to the performance parameter; wherein the service chain includes multiple computing nodes.

[0194] Step 910: Prioritize the queues to be scheduled according to the target priorities of all service chains to determine the traversal order of the queues to be scheduled, wherein the service chain includes multiple computing nodes.

[0195] Step 912: for each service chain, combine tasks for multiple computing nodes to obtain a target combined task.

[0196] Step 914, determine the total amount of resource requirements required for the target combination task.

[0197] Step 916, determining whether there is a satellite in the satellite cluster to be allocated that matches the total amount of resource requirements required by the target combined task, if so, executing step 918, otherwise, executing step 920.

[0198] Step 918: Determine a matching satellite from the satellite cluster to be allocated according to the total resource requirement of the target combined task.

[0199] Step 920, end the current scheduling, wait for the next round of scheduling, and update the scheduling times in the service chain performance parameters.

[0200] It can be understood that the above-mentioned method for determining the target priority and the method for determining the target satellite can be implemented in the manner defined in the above-mentioned embodiment, and will not be elaborated here.

[0201] In the above embodiment, by obtaining the queue to be scheduled, according to the performance parameters corresponding to all service chains in the queue to be scheduled, the priority of the queue to be scheduled can be dynamically adjusted according to the performance parameters, the fairness of the priority is determined, and the queue to be scheduled is sorted according to the target priority to determine the scheduling order of the queue to be scheduled. In the process of scheduling the service chain, the total amount of required resources required by the service chain and the combined scheduling of the service chain computing nodes are used to improve the bandwidth utilization of the service chain, the scheduling order is determined according to the priority, and the satellite resource allocation is dynamically adjusted according to the importance of the service chain, thereby improving the response speed and reasonable allocation of resources, thereby improving the utilization of resources.

[0202] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0203] Based on the same inventive concept, the embodiment of the present application also provides a service chain scheduling system for implementing the service chain scheduling method involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more service chain scheduling system embodiments provided below can refer to the limitations of the service chain scheduling method above, and will not be repeated here.

[0204] In an exemplary embodiment, Fig.10 As shown, a service chain scheduling system is provided, the service chain scheduling system includes a ground mission center and a galaxy, the ground mission center is used to determine the first satellite in the galaxy as a scheduling node, and determine the second satellite in the galaxy as a satellite cluster to be allocated, wherein:

[0205] The scheduling node is used to respond to the service chain scheduling request and obtain the queue to be scheduled;

[0206] According to the performance parameters corresponding to all service chains in the queues to be scheduled, the queues to be scheduled are prioritized to determine the traversal order of the queues to be scheduled;

[0207] Determine a satellite cluster to be allocated from the satellite clusters;

[0208] The queue to be scheduled is traversed in the traversal order, and the target satellite of the service chain is determined from the satellite cluster to be allocated.

[0209] The above service chain scheduling system obtains the queue to be scheduled, prioritizes the queue to be scheduled according to the performance parameters corresponding to all service chains in the queue to be scheduled, determines the traversal order of the queue to be scheduled, and determines the satellite cluster to be allocated from the satellite cluster, traverses the queue to be scheduled according to the traversal order, and determines the target satellite of the service chain from the satellite cluster to be allocated. That is, in a multi-satellite collaborative environment, the corresponding priorities are determined by determining the performance parameters of the service chains to be scheduled in the queue to be scheduled, the scheduling order is determined by priority sorting, the target satellite is determined from the satellite cluster to be allocated based on the scheduling order, the scheduling order is determined according to the priority, and the satellite resource allocation is dynamically adjusted according to the importance of the service chain, the response speed and the reasonable allocation of resources are improved, and the resource utilization rate is improved.

[0210] Optionally, in an exemplary embodiment, the service chain scheduling system also includes a ground station cloud.

[0211] Optionally, in an exemplary embodiment, the scheduling node is further used to obtain performance parameters of each service chain in the queue to be scheduled;

[0212] Determine the target priority of each service chain based on performance parameters;

[0213] According to the target priorities of all service chains, the queues to be scheduled are prioritized to determine the traversal order of the queues to be scheduled.

[0214] Optionally, in an exemplary embodiment, the scheduling node is further configured to initialize the priority of the corresponding service chain according to the expected usage time and the total amount of required resources if the priority of each service chain is not initialized, and determine the target priority of the corresponding service chain;

[0215] If the priority of each service chain has been initialized, the priority of the corresponding service chain is updated according to the scheduling number, and the target priority of the corresponding service chain is determined.

[0216] Optionally, in an exemplary embodiment, the scheduling node is further used to perform mapping processing on the expected usage duration to obtain a corresponding duration priority;

[0217] Map the total amount of required resources to obtain the corresponding resource priority;

[0218] Determine the static priority of the service chain based on duration priority and resource priority;

[0219] The priority of the service chain is initialized according to the static priority, and the static priority is used as the target priority of the corresponding service chain.

[0220] Optionally, in an exemplary embodiment, the scheduling node is further used to determine a first mapping relationship for characterizing a relationship between the total amount of required resources and the priority;

[0221] The total amount of required resources is mapped according to the first mapping relationship to obtain a corresponding resource priority.

[0222] Optionally, in an exemplary embodiment, the scheduling node is further used to obtain communication parameters of the satellite cluster to be allocated;

[0223] Determine, according to the communication parameter, a second mapping relationship for characterizing the relationship between the priority and the usage duration;

[0224] The estimated usage duration is normalized according to the second mapping relationship to obtain a corresponding duration priority.

[0225] Optionally, in an exemplary embodiment, the scheduling node is further used to sort the queues to be scheduled in ascending order according to the target priorities of all service chains;

[0226] If there are the same target priorities, the submission time of the service chains corresponding to the same target priorities is obtained, and the service chains corresponding to the same target priorities are sorted and updated based on the submission time in ascending order;

[0227] According to the sorted queues to be scheduled, the traversal order of the queues to be scheduled is determined.

[0228] Optionally, in an exemplary embodiment, the scheduling node is further used to traverse the queue to be scheduled according to the traversal order of the service chain, and determine the service chains in the queue to be scheduled that need to be processed in sequence;

[0229] For each service chain, determine the total amount of required resources needed to run the service chain;

[0230] According to the total amount of required resources, the target satellite of the service chain is determined from the satellite cluster to be allocated.

[0231] Optionally, in an exemplary embodiment, the scheduling node is further used to combine tasks of multiple computing nodes to obtain a target combined task;

[0232] According to the total amount of required resources required for the target combination task, the target satellite of the target combination task is determined from the satellite cluster to be allocated.

[0233] Optionally, in an exemplary embodiment, the scheduling node is further used to obtain computing tasks on each computing node;

[0234] Determine the input data volume and output data volume of the computing task;

[0235] According to the input data volume and output data volume of each computing node, multiple computing nodes are task-combined to obtain the target combined task.

[0236] Optionally, in an exemplary embodiment, the scheduling node is further used to perform task combination on multiple computing nodes according to the input data volume and output data volume of each computing node to obtain multiple candidate task combinations;

[0237] A task combination whose output data volume is smaller than the input data volume is determined from multiple candidate task combinations to obtain a target combination task.

[0238] Optionally, in an exemplary embodiment, the scheduling node is further configured to terminate the current scheduling, wait for the next round of scheduling, and update the scheduling times in the performance parameter if the available resources of the satellite cluster to be allocated are less than the total required resources of the service to be scheduled;

[0239] If the available resources of the satellite cluster to be allocated are greater than or equal to the total required resources of the service chain, the target satellite of the service chain is determined from the satellite cluster to be allocated.

[0240] Based on the same inventive concept, the embodiment of the present application also provides a service chain scheduling device for implementing the service chain scheduling method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more service chain scheduling device embodiments provided below can refer to the limitations of the service chain scheduling method above, and will not be repeated here.

[0241] In an exemplary embodiment, Fig.11 As shown, a service chain scheduling device is provided, including: a scheduling queue acquisition module 1102, a priority determination module 1104, a satellite cluster determination module 1106 and a scheduling module 1108, wherein:

[0242] The scheduling queue acquisition module 1102 is used to obtain the queue to be scheduled in response to the service chain scheduling request.

[0243] The priority determination module 1104 is used to prioritize the queues to be scheduled and determine the traversal order of the queues to be scheduled according to the performance parameters corresponding to all service chains in the queues to be scheduled.

[0244] The satellite cluster determining module 1106 is used to determine a satellite cluster to be allocated from the satellite clusters.

[0245] The scheduling module 1108 is used to traverse the queue to be scheduled in a traversal order and determine the target satellite of the service chain from the satellite cluster to be allocated.

[0246] The above service chain scheduling system obtains the queue to be scheduled, prioritizes the queue to be scheduled according to the performance parameters corresponding to all service chains in the queue to be scheduled, determines the traversal order of the queue to be scheduled, and determines the satellite cluster to be allocated from the satellite cluster, traverses the queue to be scheduled according to the traversal order, and determines the target satellite of the service chain from the satellite cluster to be allocated. That is, in a multi-satellite collaborative environment, the corresponding priorities are determined by determining the performance parameters of the service chains to be scheduled in the queue to be scheduled, the scheduling order is determined by priority sorting, the target satellite is determined from the satellite cluster to be allocated based on the scheduling order, the scheduling order is determined according to the priority, and the satellite resource allocation is dynamically adjusted according to the importance of the service chain, the response speed and the reasonable allocation of resources are improved, and the resource utilization rate is improved.

[0247] In an exemplary embodiment, the priority determination module 1104 is also used to obtain the performance parameters of each service chain in the queue to be scheduled; determine the target priority of each service chain based on the performance parameters; and prioritize the queues to be scheduled based on the target priorities of all service chains to determine the traversal order of the queues to be scheduled.

[0248] In an exemplary embodiment, the priority determination module 1104 also includes a priority initialization module, which is used to initialize the priority of the corresponding service chain according to the expected usage time and the total amount of required resources if the priority of each service chain is not initialized, and determine the target priority of the corresponding service chain.

[0249] In an exemplary embodiment, the priority determination module 1104 further includes a priority dynamic adjustment module, which is used to update the priority of the corresponding service chain according to the scheduling number if the priority of each service chain has been initialized, and determine the target priority of the corresponding service chain.

[0250] In an exemplary embodiment, the priority initialization module is further used to perform mapping processing on the expected usage duration to obtain a corresponding duration priority;

[0251] Map the total amount of required resources to obtain the corresponding resource priority;

[0252] Determine the static priority of the service chain based on duration priority and resource priority;

[0253] The priority of the service chain is initialized according to the static priority, and the static priority is used as the target priority of the corresponding service chain.

[0254] In an exemplary embodiment, the service chain scheduling device also includes a mapping processing module, which is used to determine a first mapping relationship for characterizing the relationship between the total amount of required resources and the priority; and perform mapping processing on the total amount of required resources according to the first mapping relationship to obtain corresponding resource priorities.

[0255] In an exemplary embodiment, the mapping processing module is further used to obtain communication parameters of the satellite cluster to be assigned;

[0256] Determine, according to the communication parameter, a second mapping relationship for characterizing the relationship between the priority and the usage duration;

[0257] The estimated usage duration is normalized according to the second mapping relationship to obtain a corresponding duration priority.

[0258] In an exemplary embodiment, the scheduling module 1108 is further configured to sort the queues to be scheduled in ascending order according to the target priorities of all service chains;

[0259] If there are the same target priorities, the submission time of the service chains corresponding to the same target priorities is obtained, and the service chains corresponding to the same target priorities are sorted and updated based on the submission time in ascending order;

[0260] According to the sorted queues to be scheduled, the traversal order of the queues to be scheduled is determined.

[0261] In an exemplary embodiment, the scheduling module 1108 is further configured to traverse the queue to be scheduled according to the traversal order of the service chain, and determine the service chains in the queue to be scheduled that need to be processed in sequence;

[0262] For each service chain, determine the total amount of required resources needed to run the service chain;

[0263] According to the total amount of required resources, the target satellite of the service chain is determined from the satellite cluster to be allocated.

[0264] In an exemplary embodiment, the service chain scheduling device further includes a node combination scheduling module, which is used to combine tasks of multiple computing nodes to obtain a target combination task;

[0265] According to the total amount of required resources required for the target combination task, the target satellite of the target combination task is determined from the satellite cluster to be allocated.

[0266] In an exemplary embodiment, the node combination scheduling module is further used to obtain computing tasks on each computing node;

[0267] Determine the input data volume and output data volume of the computing task;

[0268] According to the input data volume and output data volume of each computing node, multiple computing nodes are task-combined to obtain the target combined task.

[0269] In an exemplary embodiment, the scheduling module 1108 is further used to perform task combinations on multiple computing nodes according to the input data volume and output data volume of each computing node to obtain multiple candidate task combinations;

[0270] A task combination whose output data volume is smaller than the input data volume is determined from multiple candidate task combinations to obtain a target combination task.

[0271] In an exemplary embodiment, the service chain scheduling device further includes a comparison module, which is used to end the current scheduling, wait for the next round of scheduling, and update the scheduling number in the performance parameter if the available resources of the satellite cluster to be allocated are less than the total required resources of the service chain;

[0272] If the available resources of the satellite cluster to be allocated are greater than or equal to the total required resources of the service chain, the target satellite of the service chain is determined from the satellite cluster to be allocated.

[0273] Each module in the above service chain scheduling device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0274] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.12As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a service chain scheduling method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0275] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0276] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0277] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0278] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0279] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0280] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0281] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0282] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A service chain scheduling method, characterized in that: The method comprises: In response to the service chain scheduling request, obtaining a queue to be scheduled; According to the performance parameters corresponding to all service chains in the queue to be scheduled, the queue to be scheduled is prioritized to determine the traversal order of the queue to be scheduled; Determine a satellite cluster to be allocated from the satellite clusters; The queue to be scheduled is traversed in the traversal order, and a target satellite of the service chain is determined from the satellite cluster to be allocated.

2. The method according to claim 1, characterized in that: The step of prioritizing the queues to be scheduled and determining the traversal order of the queues to be scheduled according to the performance parameters corresponding to all service chains in the queues to be scheduled comprises: Obtaining performance parameters of each service chain in the queue to be scheduled; Determining a target priority of each of the service chains according to the performance parameters; According to the target priorities of all the service chains, the queues to be scheduled are prioritized to determine the traversal order of the queues to be scheduled.

3. The method according to claim 2, characterized in that The performance parameters include the expected usage time, total required resources, and scheduling times of the service chain; and determining the target priority of each service chain according to the performance parameters includes: If the priority of each of the service chains is not initialized, initializing the priority of the corresponding service chain according to the estimated usage time and the total amount of required resources, and determining the target priority of the corresponding service chain; If the priority of each of the service chains has been initialized, the priority of the corresponding service chain is updated according to the scheduling number, and the target priority of the corresponding service chain is determined.

4. The method according to claim 3, characterized in that If the priority of each of the service chains is not initialized, initializing the priority of the corresponding service chain according to the expected usage time and the total amount of required resources, and determining the target priority of the corresponding service chain, including: Mapping the estimated usage duration to obtain a corresponding duration priority; Mapping the total amount of required resources to obtain corresponding resource priorities; Determining the static priority of the service chain according to the duration priority and the resource priority; The priority of the service chain is initialized according to the static priority, and the static priority is used as the target priority of the corresponding service chain.

5. The method according to claim 4, characterized in that The mapping process of the total amount of required resources to obtain corresponding resource priorities includes: Determine a first mapping relationship for characterizing the relationship between the total amount of required resources and the priority; The total amount of required resources is mapped according to the first mapping relationship to obtain a corresponding resource priority.

6. The method according to claim 4, characterized in that The mapping process of the estimated usage duration to obtain a corresponding duration priority includes: Acquire the communication parameters of the satellite cluster to be allocated; Determine, according to the communication parameter, a second mapping relationship for characterizing the relationship between priority and usage duration; The estimated usage duration is normalized according to the second mapping relationship to obtain a corresponding duration priority.

7. The method according to claim 2, characterized in that The prioritizing of the queues to be scheduled according to the target priorities of all the service chains to determine the traversal order of the queues to be scheduled includes at least one of the following: According to the target priorities of all service chains, the scheduling queues are sorted in ascending order; If there are the same target priorities, the submission time of the service chains corresponding to the same target priorities is obtained, and the service chains corresponding to the same target priorities are sorted and updated based on the submission time in ascending order; According to the sorted queues to be scheduled, the traversal order of the queues to be scheduled is determined.

8. The method according to any one of claims 1 to 7, characterized in that: The traversing the queue to be scheduled according to the traversal order and determining the target satellite of the service chain from the satellite cluster to be allocated includes: Traversing the queue to be scheduled according to the traversal order, and determining the service chains in the queue to be scheduled that need to be processed in sequence; For each of the service chains, determining the total amount of required resources required for the operation of the service chain; According to the total amount of required resources, a target satellite of the service chain is determined from the satellite cluster to be allocated.

9. The method according to claim 8, characterized in that The service chain includes a plurality of computing nodes, the plurality of computing nodes are connected via a logical network link, and the determining, according to the total amount of required resources, a target satellite of the service chain from the satellite cluster to be allocated includes: Combining tasks on the multiple computing nodes to obtain a target combined task; According to the total amount of required resources required for the target combination task, a target satellite for the target combination task is determined from the satellite cluster to be allocated.

10. The method according to claim 9, characterized in that The step of combining tasks on the plurality of computing nodes to obtain a target combined task includes: Get the computing tasks on each computing node; Determining the input data volume and output data volume of the computing task; According to the input data volume and the output data volume of each computing node, tasks are combined for the multiple computing nodes to obtain a target combined task.

11. The method according to claim 10, characterized in that The step of combining tasks for the plurality of computing nodes according to the input data volume and the output data volume of each computing node to obtain a target combined task includes: According to the input data volume and the output data volume of each computing node, performing task combination on the multiple computing nodes to obtain multiple candidate task combinations; Determine a task combination whose output data volume is smaller than the input data volume from the plurality of candidate task combinations, and obtain a target combination task.

12. The method according to claim 8, characterized in that The method further comprises determining the target satellite of the service chain from the to-be-allocated satellite cluster according to the total amount of required resources: If the available resources of the satellite cluster to be allocated are less than the total required resources of the service chain, the current scheduling is terminated, the next round of scheduling is waited for, and the scheduling times in the performance parameter are updated; If the available resources of the to-be-allocated satellite cluster are greater than or equal to the total required resources of the service chain, a target satellite of the service chain is determined from the to-be-allocated satellite cluster.

13. A service chain scheduling system, characterized in that: The service chain scheduling system includes a ground mission center and a satellite cluster, wherein the ground mission center is used to determine that a first satellite in the satellite cluster is a scheduling node, and a second satellite in the satellite cluster is a satellite cluster to be allocated, wherein: The scheduling node is used to obtain a queue to be scheduled in response to a service chain scheduling request; According to the performance parameters corresponding to all service chains in the queue to be scheduled, the queue to be scheduled is prioritized to determine the traversal order of the queue to be scheduled; Determine a satellite cluster to be allocated from the satellite clusters; The queue to be scheduled is traversed in the traversal order, and a target satellite of the service chain is determined from the satellite cluster to be allocated.

14. A service chain scheduling device, characterized in that: The device comprises: A scheduling queue acquisition module, used to obtain a queue to be scheduled in response to a service chain scheduling request; A priority determination module, used to prioritize the queues to be scheduled and determine the traversal order of the queues to be scheduled according to the performance parameters corresponding to all service chains in the queues to be scheduled; A satellite cluster determination module, used to determine a satellite cluster to be allocated from the satellite clusters; The scheduling module is used to traverse the queue to be scheduled according to the traversal order, and determine the target satellite of the service chain from the satellite cluster to be allocated.

15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 12 are implemented.

16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.

17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.