# US 2025/0384362 A1 · Service scheduling method, electronic device and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0384362 A1
- Document ID: US20250384362A1
- Status: Published application
- Kind: A1
- Application number: 18/877,348
- Filed: 2023-05-12
- Published: 2025-12-18
- Earliest claimed: 2022-06-28
- Assignees: Zte Corporation
- Applicants: Zte Corporation
- Inventors: Song YANG
- Web page: https://patentgrep.com/patent/US20250384362A1

## CPC

- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06Q 10/06311: {Scheduling, planning or task assignment for a person or group}
- G06F 9/5072: {Grid computing}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 2209/502: Proximity
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A service scheduling method, an electronic device, and a computer-readable storage medium are disclosed. The service scheduling method may include: performing screening processing on a first Pod sequence to obtain a second Pod sequence, where the screening processing includes: traversing Pods in the first Pod sequence, and for each Pod in the first Pod sequence, in response to determining according to affinity configuration information in service association configuration information that all affinity Pods corresponding to the Pod are present in the first Pod sequence, combining the Pod and all the affinity Pods to obtain a transition Pod; and performing node deployment for a target Pod in the second Pod sequence, where the node deployment includes: in response to determining that the target Pod is the transition Pod, deploying all the Pods, which are combined to obtain the target Pod, at the same target node.

## Claims

### Claim 1

A service scheduling method, comprising:
performing screening processing on a first Pod sequence to obtain a second Pod sequence, in response to acquiring service association configuration information, wherein the screening processing comprises:
traversing Pods in the first Pod sequence, and for each Pod in the first Pod sequence, in response to determining according to affinity configuration information in the service association configuration information that all affinity Pods corresponding to the Pod are present in the first Pod sequence, combining the Pod and all the affinity Pods to obtain a transition Pod, wherein the affinity configuration information is used for representing a service binding relationship between different Pods in the first Pod sequence, and the affinity Pods are the Pods having a service binding relationship with the Pod;
performing node deployment for a target Pod in the second Pod sequence, wherein the node deployment comprises: in response to determining that the target Pod is the transition Pod, deploying all the Pods, which are combined to obtain the target Pod, at the same target node, wherein the target Pod is the Pod to be deployed in the second Pod sequence.

### Claim 2 (depends on 1)

The service scheduling method of claim 1, wherein the service association configuration information further comprises mutual exclusion configuration information for representing a mutual exclusion service relationship between different Pods in the second Pod sequence, and performing node deployment for a target Pod in the second Pod sequence further comprises:
in response to determining according to the mutual exclusion configuration information that a plurality of mutually exclusive Pods corresponding to the target Pod are present in the second Pod sequence, deploying the target Pod and the plurality of mutually exclusive Pods at different target nodes, wherein the mutually exclusive Pods are the Pods having a mutual exclusion service relationship with the Pod.

### Claim 3 (depends on 1)

The service scheduling method of claim 1, wherein the service association configuration information further comprises mutual exclusion configuration information for representing a mutual exclusion service relationship between different Pods in the first Pod sequence, and performing screening processing on a first Pod sequence to obtain a second Pod sequence further comprises:
in response to determining according to the mutual exclusion configuration information that a mutually exclusive Pod corresponding to the Pod is present in the first Pod sequence, detecting whether the mutually exclusive Pod has been deployed at a node; and
in response to detecting that the mutually exclusive Pod has been deployed at the node, deleting the node at which the mutually exclusive Pod is deployed from a pre-configured candidate node list.

### Claim 4 (depends on 1)

The service scheduling method of claim 1, wherein before performing screening processing on a first Pod sequence to obtain a second Pod sequence, the method further comprises:
sorting all Pods in an initial Pod set to obtain the first Pod sequence.

### Claim 5 (depends on 4)

The service scheduling method of claim 4, wherein sorting all Pods in an initial Pod set to obtain the first Pod sequence comprises:
randomly sorting all the Pods in the initial Pod set to obtain an initial Pod sequence;
sequentially traversing and outputting the Pods in the initial Pod sequence, wherein during the traversing, in response to determining according to the affinity configuration information that an affinity Pod corresponding to the Pod is present in the initial Pod sequence, adjusting the affinity Pod to a head position of the initial Pod sequence; and
sorting the outputted Pods according to an output order of the Pods to obtain the first Pod sequence.

### Claim 6 (depends on 5)

The service scheduling method of claim 5, further comprising:
in response to determining according to the affinity configuration information that a part of the affinity Pods corresponding to the Pod are present in the first Pod sequence, controlling the initial Pod sequence to output remaining affinity Pods corresponding to the Pod to the first Pod sequence.

### Claim 7 (depends on 5)

The service scheduling method of claim 5, wherein after combining the Pod and all the affinity Pods to obtain a transition Pod, the method further comprises:
emptying the first Pod sequence.

### Claim 8 (depends on 1)

The service scheduling method of claim 1, wherein after combining the Pod and all the affinity Pods to obtain a transition Pod, the method further comprises:
performing feature processing on the transition Pod to obtain the transition Pod carrying a target identifier.

### Claim 9 (depends on 8)

The service scheduling method of claim 8, wherein determining that the target Pod is the transition Pod comprises:
determining that the target Pod is the transition Pod in response to determining that the target Pod carries the target identifier.

### Claim 10

An electronic device, comprising:
at least one processor; and
at least one memory, configured for storing at least one program, wherein the at least one program, when executed by the at least one processor, causes the at least one processor to perform a service scheduling method comprising:
performing screening processing on a first Pod sequence to obtain a second Pod sequence, in response to acquiring service association configuration information, wherein the screening processing comprises: traversing Pods in the first Pod sequence, and for each Pod in the first Pod sequence, in response to determining according to affinity configuration information in the service association configuration information that all affinity Pods corresponding to the Pod are present in the first Pod sequence, combining the Pod and all the affinity Pods to obtain a transition Pod, wherein the affinity configuration information is used for representing a service binding relationship between different Pods in the first Pod sequence, and the affinity Pods are the Pods having a service binding relationship with the Pod;
performing node deployment for a target Pod in the second Pod sequence, wherein the node deployment comprises:
in response to determining that the target Pod is the transition Pod, deploying all the Pods, which are combined to obtain the target Pod, at the same target node, wherein the target Pod is the Pod to be deployed in the second Pod sequence.

### Claim 11

A non-transitory computer-readable storage medium, storing a processor-executable program which, when executed by a processor, causes the processor to perform a service scheduling method comprising:
performing screening processing on a first Pod sequence to obtain a second Pod sequence, in response to acquiring service association configuration information, wherein the screening processing comprises:
traversing Pods in the first Pod sequence, and for each Pod in the first Pod sequence, in response to determining according to affinity configuration information in the service association configuration information that all affinity Pods corresponding to the Pod are present in the first Pod sequence, combining the Pod and all the affinity Pods to obtain a transition Pod, wherein the affinity configuration information is used for representing a service binding relationship between different Pods in the first Pod sequence, and the affinity Pods are the Pods having a service binding relationship with the Pod;
performing node deployment for a target Pod in the second Pod sequence, wherein the node deployment comprises:
in response to determining that the target Pod is the transition Pod, deploying all the Pods, which are combined to obtain the target Pod, at the same target node, wherein the target Pod is the Pod to be deployed in the second Pod sequence.

### Claim 12 (depends on 10)

The electronic device of claim 10, wherein the service association configuration information further comprises mutual exclusion configuration information for representing a mutual exclusion service relationship between different Pods in the second Pod sequence, and performing node deployment for a target Pod in the second Pod sequence further comprises:
in response to determining according to the mutual exclusion configuration information that a plurality of mutually exclusive Pods corresponding to the target Pod are present in the second Pod sequence, deploying the target Pod and the plurality of mutually exclusive Pods at different target nodes, wherein the mutually exclusive Pods are the Pods having a mutual exclusion service relationship with the Pod.

### Claim 13 (depends on 10)

The electronic device of claim 10, wherein the service association configuration information further comprises mutual exclusion configuration information for representing a mutual exclusion service relationship between different Pods in the first Pod sequence, and performing screening processing on a first Pod sequence to obtain a second Pod sequence further comprises:
in response to determining according to the mutual exclusion configuration information that a mutually exclusive Pod corresponding to the Pod is present in the first Pod sequence, detecting whether the mutually exclusive Pod has been deployed at a node; and
in response to detecting that the mutually exclusive Pod has been deployed at the node, deleting the node at which the mutually exclusive Pod is deployed from a pre-configured candidate node list.

### Claim 14 (depends on 10)

The electronic device of claim 10, wherein before performing screening processing on a first Pod sequence to obtain a second Pod sequence, the service scheduling method further comprises:
sorting all Pods in an initial Pod set to obtain the first Pod sequence.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein sorting all Pods in an initial Pod set to obtain the first Pod sequence comprises:
randomly sorting all the Pods in the initial Pod set to obtain an initial Pod sequence;
sequentially traversing and outputting the Pods in the initial Pod sequence, wherein during the traversing, in response to determining according to the affinity configuration information that an affinity Pod corresponding to the Pod is present in the initial Pod sequence, adjusting the affinity Pod to a head position of the initial Pod sequence; and
sorting the outputted Pods according to an output order of the Pods to obtain the first Pod sequence.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein the service scheduling method further comprises:
in response to determining according to the affinity configuration information that a part of the affinity Pods corresponding to the Pod are present in the first Pod sequence, controlling the initial Pod sequence to output remaining affinity Pods corresponding to the Pod to the first Pod sequence.

### Claim 17 (depends on 15)

The electronic device of claim 15, wherein after combining the Pod and all the affinity Pods to obtain a transition Pod, the service scheduling method further comprises:
emptying the first Pod sequence.

### Claim 18 (depends on 10)

The electronic device of claim 10, wherein after combining the Pod and all the affinity Pods to obtain a transition Pod, the service scheduling method further comprises:
performing feature processing on the transition Pod to obtain the transition Pod carrying a target identifier.

### Claim 19 (depends on 18)

The electronic device of claim 18, wherein determining that the target Pod is the transition Pod comprises:
determining that the target Pod is the transition Pod in response to determining that the target Pod carries the target identifier.

### Claim 20 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the service association configuration information further comprises mutual exclusion configuration information for representing a mutual exclusion service relationship between different Pods in the second Pod sequence, and performing node deployment for a target Pod in the second Pod sequence further comprises:
in response to determining according to the mutual exclusion configuration information that a plurality of mutually exclusive Pods corresponding to the target Pod are present in the second Pod sequence, deploying the target Pod and the plurality of mutually exclusive Pods at different target nodes, wherein the mutually exclusive Pods are the Pods having a mutual exclusion service relationship with the Pod.
