A physical topology-aware scheduling planning method and system of a communication network

By constructing a physical-logical coupling graph and a time-extended network for the communication network, and combining integer programming and iterative greedy algorithms, the problems of insufficient modeling capabilities and low optimization efficiency in complex communication networks are solved, and efficient scheduling planning is achieved.

CN123185081APending Publication Date: 2026-11-27SHANGHAI JIAOTONG UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611187249.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-06
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing communication scheduling methods suffer from insufficient modeling capabilities, limited optimization efficiency, and weak versatility under large-scale, heterogeneous topology and diverse communication requirements, making it difficult to achieve efficient modeling and optimization in complex communication networks.

Method used

By acquiring the logical and physical topologies of the communication network, a physical-logical coupling graph representation is constructed. The logical topology type is determined and a time-extended network is constructed. The optimal scheduling scheme is then solved based on integer programming problems and iterative greedy algorithms.

Benefits of technology

It significantly improves the stability and accuracy of communication scheduling under any topology type, reduces resource and time waste, and ensures communication scheduling performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185081A_ABST
    Figure CN123185081A_ABST
Patent Text Reader

Abstract

The application provides a physical topology-aware scheduling planning method and system of a communication network, the method comprising: acquiring a logical topology, a physical topology and a traffic demand of the communication network; constructing a physical-logical coupling graph representation based on the logical topology and the physical topology; judging a type of the logical topology, and constructing a time-expanded network corresponding to the type of the logical topology, the time-expanded network being used to represent a communication scheduling based on the logical topology within a limited communication delay; establishing an integer programming problem based on the time-expanded network, the traffic demand and the physical-logical coupling graph representation; and solving the integer programming problem by using an iterative greedy algorithm to obtain an optimal scheduling scheme. The application can significantly improve the stability and accuracy of communication scheduling solving under any topology type, reduce resource and time waste during communication implementation, and ensure communication scheduling performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication scheduling and planning technology, specifically to a physical topology-aware scheduling and planning method and system for communication networks. Background Technology

[0002] In recent years, the rapid growth in the scale of machine learning models and the amount of training data has made it difficult for single devices to support the training and inference processes. Distributed computing clusters composed of multiple processing units (such as GPUs, TPUs, or other neural processors) are necessary for efficient computation. Against this backdrop, communication overhead in distributed computing has gradually become one of the main bottlenecks to system performance, and the efficiency of communication scheduling directly determines the overall performance ceiling of the distributed system. In practical deployments, modern computing clusters are typically composed of various heterogeneous interconnect technologies, and these physical links differ significantly in bandwidth, latency, and congestion characteristics. At the same time, the network topology of large-scale clusters is highly complex. In such complex network environments, logical communication paths often need to traverse multiple physical links, and different communication tasks may share underlying link resources, leading to problems such as link contention and uneven bandwidth utilization, making it difficult to fully utilize the theoretical performance of the hardware system. Therefore, how to effectively model the communication process under complex heterogeneous topologies and generate efficient scheduling schemes has become a key issue in distributed computing systems. Existing methods typically design communication scheduling strategies for specific topologies, such as the Ring algorithm based on ring structures and the Recursive Halving Doubling algorithm suitable for symmetric tree structures. These methods rely on idealized symmetrical structures or uniform link characteristics, making them difficult to adapt to the heterogeneous network environments and complex communication needs prevalent in reality. To improve adaptability, researchers have proposed a series of topology-aware communication scheduling optimization methods in recent years. These methods model the network topology and automatically generate scheduling schemes based on communication requirements, aiming to optimize performance under different topologies and communication modes. For example, some methods (such as "Rethinking Machine Learning Collective Communication as a Multi-Commodity Flow Problem") solve scheduling schemes through integer programming or heuristic algorithms, thereby achieving a certain degree of global optimization of the communication process. However, these methods still have several limitations in practical applications. On the one hand, accurate modeling and optimization usually have high computational complexity, making it difficult to scale to large-scale clusters; on the other hand, simplified models or heuristic strategies used to reduce solution complexity may lead to excessive occupancy of link resources or insufficient bandwidth utilization, thus affecting overall performance. Furthermore, existing greedy or heuristic search strategies (TACOS: Topology-Aware Collective Algorithm Synthesizer for DistributedTraining) still suffer from performance bottlenecks when dealing with complex communication patterns, such as fully interconnected communication.Therefore, how to construct a general scheduling optimization method that can uniformly characterize complex communication network topologies, balance modeling accuracy and solution efficiency, and support multiple communication modes remains an important problem that urgently needs to be solved.

[0003] In summary, existing communication scheduling methods still suffer from insufficient modeling capabilities, limited optimization efficiency, and weak versatility when facing large-scale, heterogeneous topologies and diverse communication needs. A unified, efficient, and highly scalable communication scheduling optimization framework is lacking. Therefore, it is necessary to propose a novel communication network topology-aware scheduling planning method and system to achieve efficient modeling and optimization of complex communication processes, thereby improving the overall performance and robustness of distributed computing systems. Summary of the Invention

[0004] In view of the deficiencies in the prior art, the purpose of this application is to provide a physical topology-aware scheduling planning method and system for communication networks.

[0005] According to a first aspect of this application, a physical topology-aware scheduling planning method for a communication network is provided, comprising: Obtain the logical topology, physical topology, and traffic requirements of the communication network; A physical-logical coupling graph representation is constructed based on the logical topology and the physical topology; Determine the type of the logical topology and construct a time-extended network corresponding to the logical topology type. The time-extended network is used to characterize communication scheduling based on the logical topology within a limited communication delay. Based on the time-extended network, the traffic demand, and the physical-logical coupling graph representation, an integer programming problem is established. An iterative greedy algorithm is used to solve the integer programming problem and obtain the optimal scheduling scheme.

[0006] Optionally, the step of constructing a physical-logical coupling graph representation based on the logical topology and the physical topology includes: Construct a physical link node set, which is generated based on the physical topology of the communication network; Construct a logical link node set, which is generated based on the logical topology of the communication network; Construct an undirected edge set, which is based on the correspondence between the logical topology and the physical topology; Based on the physical link node set, the logical link node set, and the undirected edge set, the physical-logical coupling graph representation is constructed.

[0007] Optionally, each node in the physical link node set corresponds one-to-one with a physical link in the physical topology; each node in the logical link node set corresponds one-to-one with a logical link in the logical topology; and each edge in the undirected edge set connects a node in the physical link node set to a node in the logical link node set.

[0008] Optionally, determining the type of the logical topology and constructing a time-extended network corresponding to the logical topology type includes: Define the length of the time slice, and under the traffic demand constraint of the communication network, determine the maximum total number of discrete time slices required to complete data transmission; determine the actual time for each logical link in the logical topology to transmit a data block of a preset size, divide the actual time by the length of the time slice and round up to obtain the total number of integer time slices, and define the total number of time slices as the transmission delay of the logical link for transmitting a unit amount of data; Determine the type of the logical topology, and construct the corresponding time-extended network based on the logical topology type. The logical topology type includes at least switch topology, direct-connect topology, and general topology.

[0009] Optionally, the step of constructing the corresponding time-extended network based on the logical topology type includes: If the communication network includes at least two levels of switches, then the logical topology is a switch topology, and a time-extended network corresponding to the switch topology is constructed. If the number of direct links in the communication network exceeds a preset threshold, then the logical topology is a direct topology, and a time-extended network corresponding to the direct topology is constructed. Otherwise, the logical topology is of the general topology type, and a time-extended network corresponding to the general topology is constructed.

[0010] Optionally, the time-spread network corresponding to the switch topology includes a time-spread point set corresponding to the switch topology. Time-spreading sidesets corresponding to switch topology ,in: The time spread point set corresponding to the switch topology The expression is as follows: ; in, For the first A set of replicated switch nodes within a logical link node cluster during a time slice; For the first The logical link nodes within each time slice are a set of replicated switch nodes, which are used to model the uplink and downlink ends of the switch nodes, respectively. For the first A set of replicated terminal nodes within a logical link node cluster during a time slice; For the first The logical link nodes within a time slice are a set of replicas of terminal nodes, which are used to model the uplink and downlink ends of the terminal nodes, respectively. i is the ordinal number of the time slice; T represents the maximum total number of discrete time slices; The time-spreading side set corresponding to the switch topology Each directed edge in Connecting the first An uplink node in the logical link node set within a time slice and the A downlink node in the logical link node set within a time slice .

[0011] Optionally, the time-extended network corresponding to the directly connected topology includes the time-extended point set corresponding to the directly connected topology. Time-extended edge set corresponding to the directly connected topology ,in: The time extension point set corresponding to the direct connection topology The expression is as follows: ; Where T represents the maximum number of discrete time slices; For the first A set of replicated nodes in the logical link node set within a time slice; The time-extended edge set corresponding to the directly connected topology Each directed edge in Connecting the first i Within a time slice, logical link nodes are concentrated into one node. and the Within a time slice, logical link nodes are concentrated into one node. The method for obtaining k is as follows: Determine the terminal node and terminal nodes The transmission delay of a unit amount of data transmitted on the logical link between them is calculated by dividing the transmission delay by the length of the time slice and rounding up to obtain the integer number of time slices, k.

[0012] Optionally, the time-extended network corresponding to the general topology includes the time-extended point set corresponding to the general topology. Time-expanded edge set corresponding to general topology ,in: The time extension point set corresponding to the general topology The expression is as follows: ; Where T represents the maximum number of discrete time slices; For the first A set of replicated nodes in the logical link node set within a time slice; The time-spreading edge set corresponding to the general topology Each directed edge in Connecting the first i Within a time slice, logical link nodes are concentrated into one node. and the Within a time slice, logical link nodes are concentrated into one node. The method for obtaining k is as follows: Determine the terminal node and terminal nodes The transmission delay of a unit amount of data transmitted on the logical link between them is calculated by dividing the transmission delay by the length of the time slice and rounding up to obtain the integer number of time slices, k.

[0013] Optionally, establishing the integer programming problem based on the time-extended network, traffic requirements, and the physical-logical coupling graph representation includes: Based on the time-extended network, send variables and hold variables are defined, wherein: The sending variable is a binary variable that indicates whether a transmission operation occurs in the time-extended network within a specific time slice; the holding variable is a binary variable that indicates whether a node in the time-extended network holds a data block in a specific time slice. Construct an integer programming problem and determine the initial variables for the integer programming problem; Establish the objective function for the integer programming problem based on the flow demand; Establish constraints for the integer programming problem, including data consistency constraints, physical link constraints, and logical link constraints.

[0014] Optionally, the expression for the objective function is as follows: ; in, Represents a data block; Represents a set of data blocks; Represents a node; Represents a set of nodes; Indicates a time slice; Indicates the preset time range; For holding variables, it means in time slice At the beginning, the node Do you hold data blocks? ; This represents the maximum value function.

[0015] Optionally, the data consistency constraint is constructed based on a time-spreading network, and its expression is as follows: ; in, For sending variables, representing the time slice Inside, data block Whether through a directed link From the source node Transmitted to the target node ; Directed link The number of time slices used in a time-extended network; For holding variables, it means in time slice At the beginning, the node Do you hold data blocks? ; Represents the time-extended edge set in a time-extended network; Indicates the number of time slices.

[0016] Optionally, the logical link constraint is constructed based on a physical logical coupling graph representation, the expression of which is as follows: ; in, For sending variables, representing the time slice Inside, data block Whether through a directed link From the source node Transmitted to the target node ; Represents the time-extended edge set in a time-extended network; Indicates the preset time range; Represents a set of data blocks.

[0017] Optionally, the physical link constraints are constructed based on a physical-logical coupling graph representation, the expression of which is as follows: ; in, For sending variables, representing the time slice Inside, data block Whether through a directed link From the source node Transmitted to the target node ; This represents the set of all logical links adjacent to physical links in the physical-logical coupling diagram. Indicates the capacity of the physical link; For physical links, For physical link node set; Indicates the preset time range; Represents a set of data blocks.

[0018] Optionally, the step of using an iterative greedy algorithm to solve the integer programming problem and obtain the optimal scheduling scheme includes: S51. The search space of the integer programming problem is limited to a single time slice, and the optimization problem is to maximize the flow demand within the single time slice. S52. For a single time slice, initialize the data holding state and data transmission state for the current iteration. S53. Within the time slice of the current iteration, a link is randomly selected to send valid data until there is no idle link available to send valid data within the time slice; wherein, the valid data refers to data that the receiving node of the valid data still needs; S54. Based on the result of sending valid data, update the data holding status of each node and the data transmission status of each link; S55. Determine whether the traffic demand of each node has been met: If the traffic demand of at least one node has not been fully met, return to step S52 and proceed to the next iteration; if the traffic demand of each node has been met, terminate the iteration and output the data transmission scheduling result of the current time slice. S56. For each time slice, repeat steps S52-S55 until the data transmission scheduling results of all time slices are output. Use the data transmission scheduling results of all time slices to form the final optimal scheduling scheme.

[0019] Optionally, initializing the data holding state and data transmission state for the current iteration for a single time slice includes: If the current round is the first iteration, the data holding state of each node and the data transmission state of each link are initialized with the initial traffic; if the current round is not the first iteration, the data holding state and data transmission state of the current round are initialized with the data holding state and data transmission state after the previous round.

[0020] According to a second aspect of this application, a physical topology-aware scheduling and planning system for a communication network is provided, comprising: The requirement acquisition module is used to acquire the logical topology, physical topology, and traffic requirements of the communication network. The graph representation module is used to construct a physical-logical coupling graph representation based on the logical topology and the physical topology; The network topology modeling module is used to determine the type of the logical topology and construct a time-extended network corresponding to the logical topology type. The time-extended network is used to characterize communication scheduling based on the logical topology within a limited communication delay. The problem design module is used to establish an integer programming problem based on the time-extended network, traffic requirements, and the physical-logical coupling graph representation. The scheduling planning module is used to solve the integer programming problem using an iterative greedy algorithm to obtain the optimal scheduling scheme.

[0021] This application provides a physical topology-aware scheduling planning method for communication networks. It constructs a mapping relationship between logical and physical topologies using a physical-logical coupling graph representation, accurately modeling the spatiotemporal evolution of data on the communication network and improving the performance of communication scheduling algorithms. Furthermore, it constructs an optimized integer programming problem for communication scheduling based on time-extended networks and physical-logical coupling graph representations under different logical topology types, solving for the optimal scheduling scheme. This significantly improves the stability and accuracy of communication scheduling solutions under any topology type, reduces resource and time waste during communication implementation, and ensures communication scheduling performance.

[0022] Other technical effects resulting from the additional features will be further illustrated in the corresponding embodiments. Attached Figure Description

[0023] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 This is a flowchart illustrating a physical topology-aware scheduling and planning method in one embodiment of this application; Figure 2 The following is an implementation effect diagram of data synchronization application in one embodiment of this application; wherein, (a) is a comparison diagram of the solution time and communication delay of the method (PACO) and the comparative scheme (ILP) of this application, and (b) is a comparison diagram of the solution time and communication delay of the method (PACO) and the comparative scheme (ILP) of this application. Figure 3The following are implementation effect diagrams of the aggregate communication application in one embodiment of this application; wherein, (a) is a comparison diagram of the communication latency of the method (PACO) of this application and the comparative schemes (TACOS, pairwise, bruck) under 256Kbytes of data volume for AlltoAll aggregate communication, (b) is a comparison diagram of the communication latency of the method (PACO) of this application and the comparative schemes (TACOS, pairwise, bruck) under 1Mbytes of data volume for AlltoAll aggregate communication, (c) is a comparison diagram of the communication latency of the method (PACO) of this application and the comparative schemes (TACOS, pairwise, bruck) under 1Gbytes of data volume for AlltoAll aggregate communication, and (d) is a comparison diagram of the communication latency of the method (PACO) of this application and the comparative schemes (TACOS, pairwise, bruck) under 4Gbytes of data volume for AlltoAll aggregate communication.

[0024] Figure 4 This is a schematic diagram of a physical topology-aware scheduling and planning system in one embodiment of this application. Detailed Implementation

[0025] The present application will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present application, but do not limit the present application in any way. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all fall within the protection scope of the present application. Parts not described in detail in the following embodiments can be implemented using existing technology.

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

[0027] In recent years, the rapid growth in the size of machine learning models and the amount of training data has made it difficult for single devices to support the training and inference process, necessitating the use of distributed computing clusters composed of multiple processing units to achieve efficient computation. Against this backdrop, communication overhead in distributed computing has gradually become one of the main bottlenecks in system performance, and the efficiency of communication scheduling directly determines the overall performance ceiling of the distributed system. Existing methods still have several limitations in practical applications. On the one hand, accurate modeling and optimization typically have high computational complexity, making it difficult to scale to large-scale clusters; on the other hand, simplified models or heuristic strategies used to reduce solution complexity may lead to excessive consumption of link resources or insufficient bandwidth utilization, thereby affecting overall performance. Based on the above problems, embodiments of this application provide a physical topology-aware scheduling planning method for communication networks to solve the aforementioned issues.

[0028] Reference Figure 1 As shown, this application provides a physical topology-aware scheduling planning method for a communication network, including: S1. Obtain the logical topology, physical topology, and traffic requirements of the communication network; S2. Construct a physical-logical coupling diagram representation based on logical and physical topologies; S3. Determine the type of logical topology and construct the corresponding time-extended network for the logical topology type. The time-extended network is used to characterize communication scheduling based on logical topology within a limited communication delay. S4. Based on the time-extended network, traffic demand, and physical-logical coupling graph representation, establish an integer programming problem; S5. Use an iterative greedy algorithm to solve the integer programming problem and obtain the optimal scheduling scheme.

[0029] For example, the communication network in this application can be any naturally connected communication network. In this embodiment, a directly connected ring topology network can be used as the communication network to be represented.

[0030] The embodiments described above in this application construct the mapping relationship between logical topology and physical topology through physical-logical coupling graph representation, which can accurately model the spatiotemporal evolution of data on the communication network and improve the performance of communication scheduling algorithms. Based on the temporal extended network and physical-logical coupling graph representation under different logical topology types, an optimized integer programming problem for communication scheduling is constructed, and the optimal scheduling scheme is solved. This can significantly improve the stability and accuracy of communication scheduling solutions under any topology type, reduce resource and time waste during communication implementation, and ensure communication scheduling performance.

[0031] In some specific embodiments of this application, the construction of a physical-logical coupling graph representation based on logical and physical topologies may further include: S21. Construct a physical link node set, which is generated based on the physical topology of the communication network; S22. Construct a logical link node set, which is generated based on the logical topology of the communication network; S23. Construct an undirected edge set, which is based on the correspondence between logical topology and physical topology; S24. Construct a physical-logical coupling graph representation based on the physical link node set, logical link node set, and undirected edge set.

[0032] In some specific embodiments of this application, each node in the physical link node set corresponds one-to-one with a physical link in the physical topology; each node in the logical link node set corresponds one-to-one with a logical link in the logical topology; and each edge in the undirected edge set connects a node in the physical link node set to a node in the logical link node set.

[0033] For example, a physical-logical coupling graph representation refers to a bipartite graph constructed from a set of physical link nodes, a set of logical link nodes, and a set of undirected edges. The set of physical link nodes is denoted as... Each node represents a physical link; the set of logical link nodes is denoted as... Each node represents a logical link; the undirected edge set is denoted as . any one of the edges Both represent a physical link and a logical link The mapping between them means that any data transmission operation on the logical link y will pass through the physical link. Physical-Logic Coupling Diagram Representation Includes a set of physical link nodes A set of logical link nodes and an undirected edge set ,in: Physical link node set Based on physical topology construction, where each node corresponds to a physical link in the communication network; logical link node set Constructed based on logical topology, where each node corresponds to a logical link in the communication network; undirected edge set. The topology is constructed based on the correspondence between logical and physical topologies, where any edge connects a set of physical link nodes. A node and a set of logical link nodes The node represents the corresponding logical link node set. Any data transmission on the logical link of a node actually passes through the corresponding set of physical link nodes. The physical links of the nodes. This includes the set of physical link nodes. and logical link node set The union of these elements, as the set of nodes represented in the physical-logical coupling graph, represents the set of undirected edges. As a set of edges represented by a physical-logical coupling graph.

[0034] In some specific embodiments of this application, determining the type of logical topology and constructing a time-extended network corresponding to that logical topology type may further include: S31. Define the length of the time slice. Under the constraint of the traffic demand of the communication network, determine the maximum total number of discrete time slices required to complete the data transmission. Determine the actual time for each logical link in the logical topology to transmit a data block of a preset size. Divide the actual time by the length of the time slice and round up to obtain the total number of integer time slices. Define the total number of time slices as the transmission delay of the logical link for transmitting a unit amount of data. S32. Determine the type of logical topology and construct the corresponding time-extended network based on the logical topology type. The logical topology types include at least switch topology, direct-connect topology, and general topology.

[0035] In some specific embodiments of this application, constructing a corresponding time-extended network based on a logical topology type may further include: If the communication network includes at least two levels of switches, then the logical topology type is switch topology, and the time-extended network corresponding to the switch topology is constructed. If the number of direct links in the communication network exceeds a preset threshold, the logical topology type is direct topology, and a time-extended network corresponding to the direct topology is constructed. Otherwise, the logical topology is of the general topology type, and the time-extended network corresponding to the general topology is constructed.

[0036] For example, a time-extended network is constructed based on a set of logical link nodes. Specifically, a time-extended network refers to a graph built from a set of time-extended nodes and a set of time-extended edges. The length of a time period is defined. Given the time slice length, determine the maximum total number of discrete time slices that can satisfy the flow requirements. The actual time required for each logical link in the logical topology to transmit a fixed-size data block is calculated, and the actual time is converted into a total number of integer time slices. This total number of integer time slices is defined as the link delay of the logical link.

[0037] If the communication network contains multiple layers of switches, the logical topology type is switch topology, and a time-extended network corresponding to the switch topology is constructed based on the logical topology. ; If a communication network has a large number of direct links, then the logical topology is a direct topology. Based on the logical topology, a time-extended network corresponding to the direct topology is constructed. ; Otherwise, if the logical topology is a general topology, a time-extended network corresponding to the general topology is constructed based on the logical topology. .

[0038] In some specific embodiments of this application, the time-spread network corresponding to the switch topology includes the time-spread point set corresponding to the switch topology. Time-spreading sidesets corresponding to switch topology ,in: Time spread point set corresponding to switch topology The expression is as follows: ; in, For the first The logical link nodes within a time slice are a set of replicated switch nodes, used to model the uplink of the switch nodes; For the first The logical link nodes within a time slice are a set of replicated switch nodes, used to model the downlink end of the switch nodes; For the first The set of replicas of terminal nodes in the logical link nodes within a time slice is used to model the uplink of the terminal nodes; For the first The logical link node set within a time slice is a replica set of terminal nodes, used to model the downlink of the terminal nodes; i is the ordinal number of the time slice; T represents the maximum total number of discrete time slices; n is the index of the current time slice, 1≤n≤T; Time-spreading sideset corresponding to switch topology Each directed edge in Connecting the first An uplink node in the logical link node set within a time slice and the A downlink node in the logical link node set within a time slice .

[0039] For example, the logical link node set includes terminal nodes and switch nodes other than terminal nodes. For topologies containing multi-level switches, a time-extended switch network corresponding to the switch topology can be constructed. To facilitate accurate modeling of the spatiotemporal evolution of communication scheduling on the switch, the corresponding time extension point set is denoted as... It is constructed by replicating the terminal node and switch node of the logical link node set twice, that is, in, Represents the uplink end of the terminal node in the logical link node set. Represents the downlink end of the terminal node in the logical link node set. This represents the uplink end of the centralized switch node in the logical link node. This represents the downlink endpoint of a switch node in the logical link node set. The time-spread edge set containing switch information is denoted as... any one of the directed edges Both represent nodes within a time slice. and nodes in another time slice The connection between them, For the 2nd i- The set of replicas at the uplink end of the logical link node cluster within a time slice. For the first 2i The set of replicas of the downstream nodes of the logical link nodes within a time slice.

[0040] In some specific embodiments of this application, the time-spread network corresponding to the directly connected topology includes the time-spread point set corresponding to the directly connected topology. Time-extended edge set corresponding to the directly connected topology ,in: Time extension point set corresponding to direct connection topology The expression is as follows: ; Where T represents the maximum number of discrete time slices; For the first A set of replicated nodes in the logical link node set within a time slice; Time-extended edge set corresponding to directly connected topology Each directed edge in Connecting the first i Within a time slice, logical link nodes are concentrated into one node. and the Within a time slice, logical link nodes are concentrated into one node. The method for obtaining k is as follows: Determine the terminal node and terminal nodes The transmission delay of a unit amount of data on the logical link between them is calculated by dividing the transmission delay by the length of the time slice and rounding up to obtain the integer number of time slices, k. Among these, the terminal node... and terminal nodes For terminal nodes in the logical link node set.

[0041] For example, in scenarios with a large number of directly connected topologies, a time-extended path network can be constructed. This facilitates accurate modeling of the spatiotemporal evolution of communication scheduling on directly connected links. The time extension point set corresponding to the directly connected topology is... It is composed of a set of logical link nodes. Node replication The time-extended edge set containing path information is constructed as follows. any one of the directed edges Both represent nodes within a time slice. and nodes in another time slice The path connection between them, the number of time slices that the edge spans represents the distance from the terminal node. To another terminal node The minimum number of discrete time slices required to transmit a fixed-size data block on a one-hop or multi-hop valid continuous path.

[0042] In some specific embodiments of this application, the time-spread network corresponding to the general topology includes the time-spread point set corresponding to the general topology. Time-expanded edge set corresponding to general topology ,in: The time extension point set corresponding to the general topology The expression is as follows: ; Where T represents the maximum number of discrete time slices; For the first A set of replicated nodes in the logical link node set within a time slice; Time-expanded edge set corresponding to general topology Each directed edge in Connecting the first i Within a time slice, logical link nodes are concentrated into one node. and the Within a time slice, logical link nodes are concentrated into one node. The method for obtaining k is as follows: Determine the terminal node and terminal nodes The transmission delay of a unit amount of data transmitted on the logical link between them is calculated by dividing the transmission delay by the length of the time slice and rounding up to obtain the integer number of time slices, k.

[0043] For example, for general topology scenarios that require fast solutions, a time-spreading network corresponding to the general topology can be constructed. This time-extended network This approach is applicable to spatiotemporal evolution modeling for any scenario. The set of time extension points corresponding to a general topology is denoted as... It is composed of a set of logical link nodes. Node replication The data is constructed and obtained in the time extension point set. A time-extended edge set is constructed between the nodes of a general topology. any one of the directed edges Both represent nodes within a time slice. and nodes in another time slice The connection between nodes is defined by any edge, which indicates a logical connection between the two nodes. The number of time slices spanned by the edge represents the number of discrete time slices required to transmit a fixed-size data block on the logical link corresponding to the edge.

[0044] In some specific embodiments of this application, based on the time-extended network, traffic demand, and physical-logical coupling graph representation, an integer programming problem is established, which may further include: S41. Based on the time-extended network, define the sending variable and the holding variable, where: The sending variable is a binary variable, indicating whether a transmission operation occurs in the time-extended network within a specific time slice; the holding variable is a binary variable, indicating whether a node in the time-extended network holds a data block in a specific time slice. S42. Construct an integer programming problem and determine the initial variables for the integer programming problem; S43. Based on the flow demand, establish the objective function for the integer programming problem. The expression of the objective function is as follows: ; in, Represents a data block; Represents a set of data blocks; Represents a node; Represents a set of nodes; Indicates a time slice; Indicates the preset time range; For holding variables, it means in time slice At the beginning, the node Do you hold data blocks? ; Represents the maximum value function; S44. Establish the constraints for the integer programming problem, including data consistency constraints, physical link constraints, and logical link constraints; among which: Data consistency constraints are constructed based on a time-scaling network, and their expression is as follows: ; in, For sending variables, representing the time slice Inside, data block Whether through a directed link From the source node Transmitted to the target node ; Directed link The number of time slices used in a time-extended network; For holding variables, it means in time slice At the beginning, the node Do you hold data blocks? ; Represents the time-extended edge set in a time-extended network; Indicates the number of time slices; Logical link constraints are constructed based on the physical logical coupling graph representation, and their expression is as follows: ; Physical link constraints are constructed based on a physical-logical coupling graph representation, and their expression is as follows: ; in, This represents the set of all logical links adjacent to physical links in the physical-logical coupling diagram. Indicates the capacity of the physical link; For physical links, This is the set of physical link nodes.

[0045] For example, the above steps establish an integer programming problem based on the specific traffic requirements of the network to minimize the communication latency of communication scheduling that satisfies the traffic requirements. The solution to this integer programming problem is the optimal scheduling scheme. In this step, the integer programming problem refers to an integer programming problem that includes sending and holding variables, data consistency constraints based on basic data transmission principles, physical link constraints and logical link constraints, and an optimization objective based on traffic requirements. The solution to this integer programming problem is the shortest-time scheduling scheme that satisfies the traffic requirements. In this step, sending and holding variables refer to a set of binary decision variables used to describe the holding state and transmission behavior of data blocks in the communication network over time. The data storage and transmission process is modeled under hardware constraints such as physical link bandwidth capacity. Specifically, the holding variable is defined. Used to indicate time slice At the beginning, the node Do you hold data blocks? Define the send variable Used to indicate time slice Inside, data block Whether through a directed link From the source node Transmitted to the target node Directed links include logical links and physical links; nodes This refers to all nodes in a communication network, including nodes in the physical-logical coupling graph representation and the time-extended network. By jointly modeling the holding and sending variables, the changes in data block ownership and the communication scheduling process are depicted. Constraints for the integer programming problem are established, specifically including: establishing data consistency constraints for data transmission, meaning that before data transmission occurs, the data sender holds the transmitted data, and after data transmission occurs, the data receiver holds the transmitted data; establishing physical link constraints and logical link constraints based on the physical-logical coupling graph representation. Physical link constraints limit the number of concurrent transmissions allocated to the same physical link within the same time slice, while logical link constraints limit each logical link to carrying at most one data block in transit within any given time slice.

[0046] The data consistency constraint established in this step based on the fundamental principles of data transmission refers to the constraint conditions used to characterize the legality and consistency of data transmission during the communication process. This constraint is used to guarantee the basic semantics of data transmission, that is, a data block can only pass through the logical link if the sending node already holds the corresponding data block at the start of the time slice at the beginning of the transmission. From the source node Send to target node Meanwhile, after completing this transmission process, the target node Data blocks must be successfully received and held to ensure the consistency and correctness of data during transmission between nodes; In this step, the physical link constraint refers to the constraint conditions used to characterize the limitations of the underlying communication hardware resources. This constraint limits the number of concurrent transmissions allocated to the same physical link within the same time slice, reflecting the limited bandwidth and buffering capacity of communication devices such as switches, network interface cards, and interconnecting links. Through this constraint, it is ensured that the generated scheduling scheme satisfies the resource contention relationship at the hardware level, avoids excessive occupation of physical link resources, and thus guarantees the feasibility and stability of the communication process.

[0047] In this step, the logical link constraint refers to the constraint conditions used to characterize the transmission behavior on the logical communication path. This constraint limits each logical link to carrying at most one data block in transit within any given time slice, thus avoiding concurrent conflicts on the same logical link. This constraint is consistent with the representation of the time-spread network model, where each edge represents a data block on the corresponding logical link. The above experience continuous The complete transmission process of each time slice is recorded, thus ensuring consistency between the scheduling process and the modeling semantics. In this step, the optimization objective established based on traffic demand refers to the objective function used to characterize the overall performance of the communication scheduling process. The objective function is used to determine the performance of the communication scheduling process within a given time range. The objective function maximizes the cumulative holding state of all data blocks on each node, thereby measuring the overall propagation progress of data in the network. This objective function is equivalent to minimizing the completion latency of a set communication process, that is, minimizing communication latency by improving the data distribution efficiency per unit time. (The last sentence appears to be incomplete and possibly refers to a different objective function.) As the value of the objective function increases, it monotonically increases until all nodes hold the required data blocks. This occurs when a minimum time range exists. This makes it possible for any data block and any node All satisfy At that time, the corresponding time range This refers to the minimum communication delay required to complete the communication task; simultaneously, it can be determined based on the sending variable. The value of is used to restore the complete communication scheduling scheme.

[0048] In some specific embodiments of this application, an iterative greedy algorithm is used to solve the integer programming problem to obtain the optimal scheduling scheme, which may further include: S51. Limit the search space of the integer programming problem to a single time slice, and take maximizing the flow demand within a single time slice as the optimization problem. S52. For a single time slice, initialize the data holding state and data transmission state of the current iteration, specifically including: if the current iteration is the first iteration, initialize the data holding state of each node and the data transmission state of each link with the initial traffic; if the current iteration is not the first iteration, initialize the data holding state and data transmission state of the current iteration with the data holding state and data transmission state after the previous iteration ends. S53. Within the current iteration's time slice, a link is randomly selected to send valid data until there are no idle links available to send valid data within the time slice; where valid data refers to data that the receiving node still needs; S54. Based on the result of sending valid data, update the data holding status of each node and the data transmission status of each link; S55. Determine whether the traffic demand of each node has been met: If the traffic demand of at least one node has not been fully met, return to step S52 and proceed to the next iteration; if the traffic demand of each node has been met, terminate the iteration and output the data transmission scheduling result of the current time slice. S56. For each time slice, repeat steps S52-S55 until the data transmission scheduling results of all time slices are output. Use the data transmission scheduling results of all time slices to form the final optimal scheduling scheme.

[0049] For example, this step, based on the proposed integer programming problem, employs an iterative greedy algorithm to approximate the optimal solution. This method can quickly obtain an approximately optimal scheduling scheme. In this embodiment, the iterative greedy algorithm refers to solving the problem of maximizing the satisfaction of traffic demand within a single time slice at a time, and then iterating through time slices until all traffic demands are satisfied. The greedy solution method may specifically include the following steps: S51 is an integer programming problem based on S4, addressing specific network traffic demands. The iterative greedy algorithm solves this problem by maximizing traffic demand within a single time slice at a time, iterating through the time slices until all traffic demands are met.

[0050] Repeat the following steps (S52 to S55) until all nodes with unmet traffic demands have been traversed: S52, Solve an integer programming problem within a time slice: Repeat the following steps (S53 to S54) until there are no tasks available to be assigned within this time slice; S53, greedily assigns data transmission tasks to random nodes: In this step, greedily assigning data transmission tasks to random nodes means randomly selecting a node... Connected nodes And with logical links Each bound physical link has at least 1 unit of available communication capacity for the node. The data and nodes held The required data are intersected. If the intersection is not empty, a data block from the intersection is randomly selected. In logical link The previous operation was executed once.

[0051] S54, update link occupancy status.

[0052] In this step, the transmission task assigned by S53 will be linked to the link. The capacity of all bound physical links is reduced by 1.

[0053] S55, update node holding data and link occupancy status.

[0054] In this step, updating the node holding data and link occupancy status means that after a time slice is completed, the holding data of each node is updated with all the data cached by the node, the traffic demand of the node is updated with the unmet demand of the node, the maximum capacity of all physical links is restored, and the scheduling search of a time slice is repeated until the traffic demand of all nodes is met.

[0055] S56 organizes all data transmission tasks into a schedule, integrating all transmissions executed during the search process to form the schedule output. The solved scheduling optimization scheme is then applied to actual communication scheduling tasks. That is, using a computer communication library, programming is used to execute communication tasks according to the solved scheduling scheme.

[0056] S6. The optimal scheduling scheme is then applied to the actual communication scheduling task.

[0057] If the scheduling optimization problem to be solved is a set communication problem, then the initial variables and optimization objective of the integer programming problem are defined as the initial and final states of the set communication primitives. Under the `AllGather` primitive, each node initially holds a data block, which are different from each other but of the same size. The optimization objective is for each node to obtain all data blocks. Under the `AlltoAll` primitive, each node initially holds multiple data blocks equal to the number of nodes. The optimization objective is for each node to obtain one data block from each of the other nodes. A communication network topology representation method is used to obtain the topology representation, and an optimization problem is established using a communication scheduling optimization method and solved greedily. Set communication operations are deployed and implemented according to the scheduling solution results to support fast and robust set communication implementation on arbitrary topologies.

[0058] If the scheduling optimization problem to be solved is a data synchronization problem, then the initial variables and optimization objective of the integer programming problem are defined as the inconsistency and evolution of the data states held by each node in the system. The initial state is that each node holds some or all of the data to be synchronized, and there are differences in the data states between different nodes. The optimization objective is that all nodes reach a predetermined consistency state or satisfy given data consistency constraints (including but not limited to enabling each node to obtain the latest global data copy, enabling data distribution and aggregation between a specified set of nodes, or enabling the system to satisfy multi-replica consistency and update propagation constraints). A topology representation is obtained using a communication network topology representation method, and a corresponding scheduling optimization problem is established on the time-extended network and physical-logical coupled graph representation using a communication scheduling optimization method. An approximate optimal scheduling scheme is obtained through greedy search, and data synchronization operations are deployed and implemented according to the scheduling solution results, thereby achieving an efficient and robust data synchronization process.

[0059] The optimal scheduling scheme in this embodiment is applied by using a computer communication library to programmatically execute communication tasks according to the solved scheduling scheme. The actual communication scheduling tasks in this embodiment may include aggregated communication, data synchronization, etc. The topology-aware scheduling optimization used in this embodiment can enhance the in-depth understanding and related research on the relationship between optimal communication scheduling and communication topology.

[0060] The scheduling planning method described in the above embodiments of this application has strong practical application value, especially in actual communication scheduling optimization applications. In real-world communication scheduling optimization scenarios, large-scale, heterogeneous topologies and diverse communication requirements inevitably lead to insufficient modeling capabilities, limited optimization efficiency, and weak versatility of traditional methods. Current scheduling planning methods based on optimization problems or heuristics lack a unified, efficient, and highly scalable communication scheduling optimization framework for these practical application scenarios. The scheduling planning method of this application can achieve efficient modeling and optimization of complex communication processes, thereby significantly improving the overall performance and robustness of distributed computing systems in such practical scenarios.

[0061] Specifically, the process of applying the solved optimal scheduling scheme to actual communication scheduling tasks may include the following steps: If the communication scheduling task is a collection communication task, it includes the following steps: S61, Obtain the data requirements for the set communication problem; S62, set the initial variable to the initial state of the set communication primitive, and set the optimization objective to the final state of the set communication primitive; S63. Use the communication scheduling planning method to establish an optimization problem and greedily solve the set communication problem. Deploy and implement the set communication operation according to the scheduling solution result (i.e., the optimal scheduling scheme).

[0062] If the communication scheduling task is data synchronization, it includes the following steps: S64, obtain the data requirements for data synchronization issues; S65 sets the initial variables to each node holding some or all of the data to be synchronized, and sets the optimization goal to all nodes reaching a predetermined consistency state. S66 uses communication scheduling planning methods to establish an optimization problem and greedily solves the data synchronization problem. Based on the scheduling solution (the optimal scheduling scheme), it deploys and implements the collective communication operation.

[0063] This application employs a time-extended network representation. By modeling the mapping relationship between logical and physical links, it can accurately model the spatiotemporal evolution of data on the network and can be applied to improve the performance of communication scheduling algorithms. This application uses a time-extended network and a physical-logical coupling graph to model the communication scheduling optimization integer programming problem. The optimal schedule can be directly solved, or a near-optimal schedule can be quickly solved using a greedy strategy. This application can significantly improve the stability and accuracy of communication scheduling solutions under arbitrary topologies, reduce resource and time waste during communication implementation, and ensure communication scheduling performance. The embodiments of this application can perform topology modeling and optimal communication scheduling solutions for any communication topology, enhancing the performance and stability of the communication scheduling process, and have strong practical application value, especially in actual communication scheduling applications.

[0064] The physical-logic coupled graph representation and time-extended network of this application are used to model the temporal evolution of information transmission processes on communication networks. Based on network communication requirements, an integer optimization problem is established on the proposed physical-logic coupled graph representation and time-extended network. This optimization problem is used to find the fastest scheduling scheme to fulfill communication requirements. A greedy search algorithm is used to find an approximate solution to the described integer programming problem, quickly obtaining the optimal scheduling scheme for applications in communication network scheduling planning (such as data synchronization and aggregated communication). This application can efficiently solve the optimal scheduling scheme for topology scheduling planning tasks (such as data synchronization and aggregated communication) under general communication network topologies, efficiently implement stable scheduling strategies, and is applicable to practical communication network scheduling planning tasks.

[0065] The following examples will be used to further illustrate this application in order to better understand the above-mentioned technical solutions. It should be understood that the following are only some examples and are not intended to limit this application.

[0066] Application Example 1: The physical topology-aware scheduling planning method in the above embodiments of this application is applied to the data synchronization scheduling optimization under various different topologies.

[0067] The data synchronization scheduling optimization scenario is described as follows: For any given communication network topology (including communication nodes, node connection relationships, and related communication parameters of each node and connection), given any node holding data to be synchronized, the synchronized data is defined as the sum of the data to be synchronized held by all nodes. Planning a communication scheduling process within the topology such that the latency for each node to obtain synchronized data through network communication is as short as possible can be called a data synchronization scheduling optimization.

[0068] In this application scenario: First, grid topologies ranging from 2×2 to 8×8 and fat-tree topologies are generated. For the data synchronization problem on each topology, a greedy scheduling optimization method and an optimization problem-based algorithm are used to find the optimal scheduling solution. The solution time and the execution time of the obtained schedule are used as performance indicators to obtain the optimal scheduling scheme. The implementation results are as follows: In the above embodiments, the physical topology-aware scheduling planning method provided in this application is used to perform data synchronization scheduling planning in the communication network topology of 2×2 to 8×8 nodes, and the results are as follows. Figure 2 As shown. Figure 2 As shown in the line graph, the scheduling planning method provided in this application can solve the data synchronization scheduling planning problem of 8×8 nodes in 0.1 seconds. In contrast, methods using optimization problems are difficult to solve a problem of the same scale within 10,000 seconds. Figure 2As shown in the bar chart, the scheduling planning method provided in this application is indistinguishable from optimal scheduling based on solving optimization problems in terms of execution latency. Furthermore, except for the graph network information metric proposed in this application, the average error of all other metrics increases with the number of nodes. Therefore, this application can achieve stable and efficient scheduling optimization on communication network topologies with different numbers of nodes and different configurations, possessing strong practical application value, especially in practical data synchronization scheduling planning applications.

[0069] Application Example 2: The physical topology-aware scheduling planning method in the above embodiments of this application is used for aggregate communication scheduling planning applications.

[0070] The scenario for aggregate communication scheduling planning is described as follows: For any given communication network topology (including communication nodes, node connections, and related communication parameters for each node and connection), given the initial data held by any node, the data requirements of each node are defined using the communication patterns specified by aggregate communication primitives (such as AllReduce, AlltoAll, etc.). Planning a communication scheduling process within the topology such that the latency for each node to obtain all required data through network communication is minimized can be called an aggregate communication scheduling optimization. In this application scenario: First, generate direct-connection topologies from 40 to 1024 nodes, including 2D Torus, 3DTorus, and HammingMesh topologies (where m nodes are represented by 2Tm, 3Tm, and HMm symbols respectively). For the All-to-All set communication problem ranging from 256KB to 4GB on each topology, a greedy algorithm-based scheduling optimization method and an optimization problem-based algorithm are used to solve the optimal scheduling scheme. The execution time of the calculated schedule is used as the performance indicator to obtain the optimal scheduling scheme. The implementation results are as follows: In the above embodiments, the physical topology-aware scheduling planning method provided in this application is used to perform a set communication scheduling optimization task on various directly connected topologies with 40 to 1024 nodes and various communication data volumes from 256KB to 4GB, and compared with methods such as the pairwise algorithm and the Bruck algorithm. Figure 3 The proposed solution yields the desired scheduling execution time. Compared with methods such as the pairwise algorithm and the Bruck algorithm, this application achieves shorter communication latency in all cases. Therefore, this application can implement stable scheduling planning on different network topologies, possessing significant practical application value, especially in real-world aggregated communication scheduling planning applications.

[0071] Reference Figure 4As shown, based on the same inventive concept, another embodiment of this application provides a physical topology-aware scheduling and planning system for a communication network. The physical topology-aware scheduling and planning system 100 includes: The demand acquisition module 110 is used to acquire the logical topology, physical topology, and traffic demand of the communication network. Module 120 is used to construct a physical-logical coupled graph representation based on logical topology and physical topology; The network topology modeling module 130 is used to determine the type of logical topology and construct a time-extended network corresponding to the logical topology type. The time-extended network is used to characterize communication scheduling based on logical topology within a limited communication delay. Problem design module 140 is used to establish integer programming problems based on time-extended networks, traffic requirements, and physical-logical coupling graph representations. The scheduling planning module 150 is used to solve integer programming problems using an iterative greedy algorithm to obtain the optimal scheduling scheme.

[0072] It should be noted that the modules in the physical topology-aware scheduling and planning system for communication networks provided in the above embodiments of this application correspond to the steps of the physical topology-aware scheduling and planning method for communication networks in any of the above embodiments. Those skilled in the art can refer to the step features of the physical topology-aware scheduling and planning method for communication networks to implement the corresponding modules in the physical topology-aware scheduling and planning system for communication networks, which will not be elaborated here.

[0073] The physical topology-aware scheduling and planning system in this embodiment can be used to implement a topology-aware scheduling and planning method based on topology representation. It can efficiently model and optimize complex communication processes, thereby significantly improving the overall performance and robustness of distributed computing systems under large-scale, heterogeneous topologies and diverse communication needs. It is applicable to practical communication scheduling and planning scenarios.

[0074] In another embodiment of this application, an electronic device is also provided, including a memory and a processor; the memory is used to store program instructions; the processor is used to call the program instructions stored in the memory and execute the steps of the above-described physical topology-aware scheduling planning method for a communication network according to the obtained program instructions.

[0075] Optionally, the memory is used to store programs; the memory may include volatile memory, such as random-access memory (RAM), such as static random-access memory (SRAM), double data rate synchronous dynamic random-access memory (DDR SDRAM), etc.; the memory may also include non-volatile memory, such as flash memory. The memory is used to store computer programs (such as application programs and functional modules that implement the above methods), computer instructions, etc., and the aforementioned computer programs and computer instructions can be partitioned and stored in one or more memories. Furthermore, the aforementioned computer programs, computer instructions, data, etc., can be accessed by the processor.

[0076] The aforementioned computer programs, computer instructions, etc., can be stored in partitions within one or more memory locations. Furthermore, the aforementioned computer programs, computer instructions, data, etc., can be accessed by a processor.

[0077] A processor is used to execute a computer program stored in memory to implement the various steps of the methods involved in the above embodiments. For details, please refer to the relevant descriptions in the preceding method embodiments.

[0078] The processor and memory can be separate structures or integrated structures. When the processor and memory are separate structures, they can be coupled together via a bus.

[0079] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0080] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0081] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0082] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0083] The preferred features in the above embodiments can be used individually in any embodiment, or in any combination thereof, provided they do not conflict with each other. Furthermore, parts not described in detail in the embodiments can be implemented using existing technologies.

[0084] The foregoing has described some specific embodiments of this application. It should be understood that this application is not limited to the specific embodiments described above, and those skilled in the art can make various modifications or variations within the scope of the claims, which do not affect the substantive content of this application. The above-described preferred features can be used in any combination without conflict.

Claims

1. A physical topology-aware scheduling and planning method for a communication network, characterized in that, include: Obtain the logical topology, physical topology, and traffic requirements of the communication network; A physical-logical coupling graph representation is constructed based on the logical topology and the physical topology; Determine the type of the logical topology and construct a time-extended network corresponding to the logical topology type. The time-extended network is used to characterize communication scheduling based on the logical topology within a limited communication delay. Based on the time-extended network, the traffic demand, and the physical-logical coupling graph representation, an integer programming problem is established. An iterative greedy algorithm is used to solve the integer programming problem and obtain the optimal scheduling scheme.

2. The physical topology-aware scheduling and planning method for a communication network according to claim 1, characterized in that, The construction of the physical-logical coupling graph representation based on the logical topology and the physical topology includes: Construct a physical link node set, which is generated based on the physical topology of the communication network; Construct a logical link node set, which is generated based on the logical topology of the communication network; Construct an undirected edge set, which is based on the correspondence between the logical topology and the physical topology; Based on the physical link node set, the logical link node set, and the undirected edge set, the physical-logical coupling graph representation is constructed.

3. The physical topology-aware scheduling and planning method for a communication network according to claim 2, characterized in that, Each node in the physical link node set corresponds one-to-one with a physical link in the physical topology; each node in the logical link node set corresponds one-to-one with a logical link in the logical topology; each edge in the undirected edge set connects a node in the physical link node set to a node in the logical link node set.

4. The physical topology-aware scheduling and planning method for a communication network according to claim 2, characterized in that, The step of determining the type of the logical topology and constructing a time-extended network corresponding to the logical topology type includes: Define the length of the time slice, and under the traffic demand constraint of the communication network, determine the maximum total number of discrete time slices required to complete data transmission; determine the actual time for each logical link in the logical topology to transmit a data block of a preset size, divide the actual time by the length of the time slice and round up to obtain the total number of integer time slices, and define the total number of time slices as the transmission delay of the logical link for transmitting a unit amount of data; Determine the type of the logical topology, and construct the corresponding time-extended network based on the logical topology type. The logical topology type includes at least switch topology, direct-connect topology, and general topology.

5. The physical topology-aware scheduling and planning method for a communication network according to claim 4, characterized in that, The construction of the corresponding time-extended network based on the logical topology type includes: If the communication network includes at least two levels of switches, then the logical topology is a switch topology, and a time-extended network corresponding to the switch topology is constructed. If the number of direct links in the communication network exceeds a preset threshold, then the logical topology is a direct topology, and a time-extended network corresponding to the direct topology is constructed. Otherwise, the logical topology is of the general topology type, and a time-extended network corresponding to the general topology is constructed.

6. The physical topology-aware scheduling and planning method for a communication network according to claim 4, characterized in that, The time-spread network corresponding to the switch topology includes the time-spread point set corresponding to the switch topology. Time-spreading sidesets corresponding to switch topology ,in: The time spread point set corresponding to the switch topology The expression is as follows: ; in, For the first A set of replicated switch nodes within a logical link node cluster during a time slice; For the first A set of replicated switch nodes within a logical link node cluster during a time slice; For the first A set of replicated terminal nodes within a logical link node cluster during a time slice; For the first A set of replicated terminal nodes within a logical link node cluster during a time slice; i is the ordinal number of the time slice; T represents the maximum total number of discrete time slices; n is the index of the current time slice; The time-spreading side set corresponding to the switch topology Each directed edge in Connecting the first An uplink node in the logical link node set within a time slice and the A downlink node in the logical link node set within a time slice .

7. The physical topology-aware scheduling and planning method for a communication network according to claim 4, characterized in that, The time-spread network corresponding to the directly connected topology includes the time-spread point set corresponding to the directly connected topology. Time-extended edge set corresponding to the directly connected topology ,in: The time extension point set corresponding to the direct connection topology The expression is as follows: ; Where T represents the maximum number of discrete time slices; For the first The set of replicated nodes in the logical link node set within a time slice; n is the index of the current time slice; The time-extended edge set corresponding to the directly connected topology Each directed edge in Connecting the first i Within a time slice, logical link nodes are concentrated into one node. and the Within a time slice, logical link nodes are concentrated into one node. The method for obtaining k is as follows: Determine the terminal node and terminal nodes The transmission delay of a unit amount of data transmitted on the logical link between them is calculated by dividing the transmission delay by the length of the time slice and rounding up to obtain the integer number of time slices, k.

8. The physical topology-aware scheduling and planning method for a communication network according to claim 4, characterized in that, The time-spreading network corresponding to the general topology includes the time-spreading point set corresponding to the general topology. Time-expanded edge set corresponding to general topology ,in: The time extension point set corresponding to the general topology The expression is as follows: ; Where T represents the maximum number of discrete time slices; For the first The set of replicated nodes in the logical link node set within a time slice; n is the index of the current time slice; The time-spreading edge set corresponding to the general topology Each directed edge in Connecting the first i Within a time slice, logical link nodes are concentrated into one node. and the Within a time slice, logical link nodes are concentrated into one node. The method for obtaining k is as follows: Determine the terminal node and terminal nodes The transmission delay of a unit amount of data transmitted on the logical link between them is calculated by dividing the transmission delay by the length of the time slice and rounding up to obtain the integer number of time slices, k.

9. The physical topology-aware scheduling and planning method for a communication network according to claim 1, characterized in that, The integer programming problem established based on the time-extended network, traffic demand, and the physical-logical coupling graph representation includes: Based on the time-extended network, send variables and hold variables are defined, wherein: The sending variable is a binary variable that indicates whether a transmission operation occurs in the time-extended network within a specific time slice; the holding variable is a binary variable that indicates whether a node in the time-extended network holds a data block in a specific time slice. Construct an integer programming problem and determine the initial variables for the integer programming problem; Establish the objective function for the integer programming problem based on the flow demand; Establish constraints for the integer programming problem, including data consistency constraints, physical link constraints, and logical link constraints.

10. A physical topology-aware scheduling and planning method for a communication network according to claim 9, characterized in that, The expression for the objective function is as follows: ; in, Represents a data block; Represents a set of data blocks; Represents a node; Represents a set of nodes; Indicates a time slice; Indicates the preset time range; For holding variables, it means in time slice At the beginning, the node Do you hold data blocks? ; This represents the maximum value function.

11. The physical topology-aware scheduling and planning method for a communication network according to claim 9, characterized in that, The data consistency constraint is constructed based on a time-spreading network, and its expression is as follows: ; in, For sending variables, representing the time slice Inside, data block Whether through a directed link From the source node Transmitted to the target node ; Directed link The number of time slices used in a time-extended network; For holding variables, it means in time slice At the beginning, the node Do you hold data blocks? ; Represents the time-extended edge set in a time-extended network; Indicates the number of time slices.

12. The physical topology-aware scheduling and planning method for a communication network according to claim 9, characterized in that, The logical link constraints are constructed based on the physical logical coupling diagram representation, and their expression is as follows: ; in, For sending variables, representing the time slice Inside, data block Whether through a directed link From the source node Transmitted to the target node ; Represents the time-extended edge set in a time-extended network; Indicates the preset time range; Represents a set of data blocks.

13. The physical topology-aware scheduling and planning method for a communication network according to claim 9, characterized in that, The physical link constraints are constructed based on a physical-logical coupling graph representation, and their expression is as follows: ; in, For sending variables, representing the time slice Inside, data block Whether through a directed link From the source node Transmitted to the target node ; This represents the set of all logical links adjacent to physical links in the physical-logical coupling diagram. Indicates the capacity of the physical link; For physical links, For physical link node set; Indicates the preset time range; Represents a set of data blocks.

14. The physical topology-aware scheduling and planning method for a communication network according to claim 1, characterized in that, The step of using an iterative greedy algorithm to solve the integer programming problem and obtain the optimal scheduling scheme includes: S51. The search space of the integer programming problem is limited to a single time slice, and the optimization problem is to maximize the flow demand within the single time slice. S52. For a single time slice, initialize the data holding state and data transmission state for the current iteration. S53. Within the time slice of the current iteration, a link is randomly selected to send valid data until there is no idle link available to send valid data within the time slice; wherein, the valid data refers to data that the receiving node of the valid data still needs; S54. Based on the result of sending valid data, update the data holding status of each node and the data transmission status of each link; S55. Determine whether the traffic demand of each node has been met: If the traffic demand of at least one node has not been fully met, return to step S52 and proceed to the next iteration; if the traffic demand of each node has been met, terminate the iteration and output the data transmission scheduling result of the current time slice. S56. For each time slice, repeat steps S52-S55 until the data transmission scheduling results of all time slices are output. Use the data transmission scheduling results of all time slices to form the final optimal scheduling scheme.

15. A physical topology-aware scheduling and planning method for a communication network according to claim 14, characterized in that, The initialization of the data holding state and data transmission state for the current iteration, for a single time slice, includes: If the current round is the first iteration, the data holding state of each node and the data transmission state of each link are initialized with the initial traffic; if the current round is not the first iteration, the data holding state and data transmission state of the current round are initialized with the data holding state and data transmission state after the previous round.

16. A physical topology-aware scheduling and planning system for a communication network, characterized in that, include: The requirement acquisition module is used to acquire the logical topology, physical topology, and traffic requirements of the communication network. The graph representation module is used to construct a physical-logical coupling graph representation based on the logical topology and the physical topology; The network topology modeling module is used to determine the type of the logical topology and construct a time-extended network corresponding to the logical topology type. The time-extended network is used to characterize communication scheduling based on the logical topology within a limited communication delay. The problem design module is used to establish an integer programming problem based on the time-extended network, traffic requirements, and the physical-logical coupling graph representation. The scheduling planning module is used to solve the integer programming problem using an iterative greedy algorithm to obtain the optimal scheduling scheme.