Deterministic transmission scheduling system oriented to calculation network integration and working method of deterministic transmission scheduling system
Through the deterministic transmission scheduling system for computing network integration, the problems of uncertain delay and insufficient service quality in the IP network are solved, and the deterministic transmission scheduling of computing tasks is realized, which improves the utilization efficiency and reliability of network resources.
Patent Information
- Application Number
- CN202411064570.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-08-05
AI Technical Summary
The current design of the Internet is based on IP networks, resulting in uncertain delays, lack of service quality assurance, insufficient congestion control and uneven link capacity allocation, making it difficult to meet the needs of real-time or low-latency communication applications.
Design a deterministic transmission and scheduling system for computing network integration, including system coordination module, service analysis module, computing network perception module, transmission and scheduling algorithm module and algorithm deployment module. After the training is performed, The deterministic transmission scheduling algorithm outputs the transmission scheduling scheme and issues it to the switch and router to ensure the deterministic transmission of the computing task.
Effective transmission scheduling of computing tasks is realized, the delay and quality requirements of deterministic computing tasks are ensured, and the utilization efficiency and reliability of network resources are improved.
Smart Images

Figure CN119052337A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication network technology, and in particular to a deterministic transmission scheduling system for computing-network integration and a working method thereof. Background Art
[0002] At present, with the rapid development of emerging technologies such as 5G and mobile Internet, the demand for computing resources from new businesses and new applications is gradually increasing. Computing resources are leaning towards users, and how to use them efficiently has become the focus of people's attention. Computing-network integration was born in this context; computing-network integration technology deeply integrates computing and networks, and coordinates the management and configuration of computing resources to improve the user's business experience. With the advent of a new round of technological revolution and industrial revolution, the in-depth combination of artificial intelligence and the new industrial revolution has formed a new data-based business model, which urgently needs deterministic transmission and real-time processing of computing tasks. The network is the main medium for information transmission and an indispensable part of the new industrial ecosystem.
[0003] However, the current design of the Internet is based on IP networks. IP networks use non-connection-oriented technology. This means that at the network transmission level, the sender of the data only needs to know the IP address of the receiver to send the data packet to the destination address through the router forwarding. The advantage of this design is that it allows the network to have good scalability, and the simple design of the network layer enables the network to operate in a "light load" mode. However, as time goes by, the types of Internet services continue to increase, and users' demand for quality of service (QoS) is also increasing, which makes the "Best Effort" (BE) network transmission mode begin to show some shortcomings, such as: uncertainty in delay, lack of quality of service guarantee, insufficient congestion control, and uneven link capacity allocation. Because the network layer does not guarantee the transmission time of the data packet, the end-to-end delay may fluctuate greatly, which is unacceptable for applications that require real-time or low-latency communication (such as voice and video communication, online games, remote surgery, etc.).
[0004] In response to the above challenges, there is an urgent need to design a deterministic computing-network fusion system to support a large number of deterministic computing tasks. Summary of the invention
[0005] The embodiments of the present invention provide a deterministic transmission scheduling system and a working method thereof for computing-network integration, so as to realize effective transmission scheduling of computing tasks in the network.
[0006] In order to achieve the above object, the present invention adopts the following technical scheme.
[0007] According to one aspect of the present invention, a deterministic transmission scheduling system for computing-network integration is provided, comprising: a system coordination module, a service analysis module, a computing-network perception module, a transmission scheduling algorithm module, and an algorithm deployment module;
[0008] The system coordination module is used to connect with the service analysis module, the computing network perception module, the transmission scheduling algorithm module and the algorithm deployment module, call each module, and transmit the computing task information uploaded by the service analysis module and the computing network status information uploaded by the computing network perception module to the transmission scheduling algorithm module;
[0009] The service parsing module is used to obtain and parse the parameter information of the computing task; the parameters include task serial number, source IP, destination IP, cycle, task type, amount of data before calculation, amount of computing task, amount of data after calculation and maximum allowed delay, and upload the computing task parameter information to the system coordination module;
[0010] The computing network perception module is used to perceive and collect the computing network status, which includes the remaining computing resources of each computing power node, the remaining capacity resources of each link, the propagation delay between connected nodes, and the complete topology diagram of the network; upload the computing network status information to the system coordination module;
[0011] The transmission scheduling algorithm module is used to execute the trained deterministic transmission scheduling algorithm according to the computing task information and computing network status information transmitted by the system coordination module, and output a transmission scheduling plan, which includes: the computing power node responsible for the calculation, the service path from the source node to the computing power node and from the computing power node to the destination node, and the sending time slot;
[0012] The algorithm deployment module is used to send the transmission scheduling scheme output by the transmission scheduling algorithm module to switches and routers in the network, so that the computing tasks are scheduled according to the transmission scheduling scheme.
[0013] Preferably, the computing network perception module is used to send a perception command to each node, instructing each node to send perception information to it. The perception information includes: the IP address of this node, the IP address list of neighboring nodes with remaining computing power of this node, the delay list between connected nodes and the remaining link capacity list between adjacent nodes. After receiving the perception information of all nodes, the complete computing network status information is integrated and uploaded to the collaborative scheduling module.
[0014] Preferably, the transmission scheduling module deploys an end-to-end transmission scheduling method based on D3QN.
[0015] Preferably, deterministic transmission mechanisms represented by Round Robin Specific Queuing Forwarding (CSQF) and Round Robin Queuing Forwarding (CQF) are deployed in the switches and routers.
[0016] Preferably, a network is set up to include an end layer, an edge layer and a cloud layer, the end layer includes a user terminal that initiates a computing task, the edge layer includes heterogeneous edge computing nodes, transmission nodes and heterogeneous networks, the deterministic transmission scheduling system for computing-network integration is deployed in the cloud layer, the service parsing module in the deterministic transmission scheduling system for computing-network integration is used as a task sensing server, the computing-network perception module is used as a computing-network perception server, the transmission scheduling algorithm module is used as an algorithm training server, the algorithm deployment module is used as an algorithm deployment server, and the system coordination module is used as a cloud computing server. The cloud computing server processes computing tasks, the task perception server collects information on computing tasks from the TSN switch of the end layer, the computing-network perception server collects computing resources and network resources, the algorithm training server collects information in the task perception server and the computing-network perception server as a state, takes the scheduling plan as an action, executes the D3QN algorithm, performs neural network training, and obtains a transmission scheduling plan. The algorithm deployment server sends the transmission scheduling plan to the switches and routers in the network.
[0017] According to another aspect of the present invention, a working method based on the deterministic transmission scheduling system for computing-network integration is provided, comprising:
[0018] The system coordination module transmits the computing task information uploaded by the service analysis module and the computing network status information uploaded by the computing network perception module to the transmission scheduling algorithm module;
[0019] The service parsing module obtains and parses the parameter information of the computing task; the parameters include the task serial number, source IP, destination IP, cycle, task type, amount of data before calculation, amount of computing task, amount of data after calculation and maximum allowed delay, and uploads the computing task parameter information to the system coordination module;
[0020] The computing network perception module perceives and collects the computing network status, which includes the remaining computing resources of each computing power node, the remaining capacity resources of each link, the propagation delay between connected nodes, and the complete topology of the network; and uploads the computing network status information to the system coordination module;
[0021] The transmission scheduling algorithm module executes the trained deterministic transmission scheduling algorithm according to the computing task information and computing network status information transmitted by the system coordination module, and outputs a transmission scheduling plan, which includes: the computing power node responsible for the calculation, the service path from the source node to the computing power node and from the computing power node to the destination node, and the sending time slot;
[0022] The algorithm deployment module sends the transmission scheduling scheme output by the transmission scheduling algorithm module to switches and routers in the network, so that the computing tasks are scheduled according to the transmission scheduling scheme.
[0023] Preferably, the method further comprises:
[0024] The system coordination module models the network topology, G = {V, E}, G represents the network topology graph, assuming that there are n computing nodes in the network topology, V = {V1, V2, V3, ..., V n}, V represents the set of computing power nodes; V i represents the i-th computing node, i = 1, 2, 3, ..., n, C represents the set of computing power of computing nodes, Ci represents the computing power of the i-th computing node, computing nodes are connected by data links, E∈{(x, y)|x, y∈V}, E represents the set of data links, assuming that there are m data links in the network topology, E={E1, E2, E3, ...E m}, E j represents the jth data link, j = 1, 2, 3, ..., n, each data link has a delay and capacity, D = {D1, D2, D3, ..., D m}, D represents the set of data link propagation delays, D j represents the propagation delay of the jth data link, j = 1, 2, 3, ..., m, B = {B1, B2, B3, ..., B m} represents the set of data link bandwidths, B j represents the link bandwidth of the jth data link, Cap = {Cap1, Cap2, Cap3, ..., Cap m} represents the set of data link capacities, Cap j represents the link capacity of the jth data link;
[0025] The system coordination module calculates the task characteristics, models the computing tasks, and uses F to describe the set of computing tasks. Assume that there are n computing tasks in total, and F = {F1, F2, F3, ... F n}, F k Represents the kth computing task, using an octet (src k , dst k , inf k ,com k ,outf k , prd k , type k ) to describe the computing task, src k , dst k Represents the source node and destination node of the kth computing task; inf k represents the data volume of the kth computing task; com k Indicates the computing resources required for the kth computing task; outf kprd represents the amount of data after the calculation result of the kth calculation task; k represents the cycle of the kth computing task; Indicates the maximum delay allowed for the kth computing task; type k Represents the type of the kth computing task;
[0026] For any computing task, the transmission scheduling algorithm module selects a suitable sending time and a path P formed by links from the source node to the destination node. The path P and the computing task have the same starting point and end point, so that the computing task f k For example, the following conditions must be met:
[0027] P=(E1,E2,…,E n )
[0028] E1.src=src k
[0029] E i .dst=E i+1 .src,
[0030] E n .dst=dst k ,
[0031]
[0032] in, Indicates that the computing task is in the computing power node V i Calculate on, Indicates that the computing task is not on the computing power node V i The above formula shows that the computing task is only performed on the computing power node V j Calculate on;
[0033] Set four constraints: end-to-end delay constraint, conflict-free constraint, single computing node processing constraint, and capacity constraint;
[0034] Define variable S i To indicate whether the SDF computing task is successfully scheduled: When the SDF computing task is successfully scheduled, S i =1, otherwise S i = 0, and Wi is used to describe the benefit of the weakly deterministic computing task WDF. If the latency of WDF meets the latency requirement of SDF, that is, Then Wi = 1, let parameter a represent the multiple of the allowed WDF delay exceeding the maximum delay; satisfy 1≤a, if but:
[0035]
[0036] Otherwise it is 0, and the objective function is defined as follows:
[0037]
[0038] Set the states, actions and rewards of the deterministic transmission scheduling algorithm based on the dueling dual deep Q network D3QN;
[0039] The action is described by a tuple (time, path, node). The "time" consists of a series of time slots that will be used to allocate computing tasks. It represents the time slot at which the computing task will be sent to the network. The "path" consists of all paths in the network from the starting point to the end point of the computing task. It represents the path that the computing task will take through the computing power network to reach the destination node. The "node" consists of all computing power nodes in the alternative path, which represents the node at which the computing task will be calculated.
[0040] DRSR uses the E-greedy algorithm, so the strategy π*:S→A is described as:
[0041]
[0042] Among them, A represents all actions, and at represents the action performed by the agent at step t.
[0043] The state space consists of three parts: the remaining capacity of the link in different time slots, the remaining computing power of the computing node in different time slots, and the computing tasks that need to be scheduled at step t;
[0044]
[0045] Among them, S t represents the state space at step t; represents the remaining capacity of all links in different time slots at step t; Represents the remaining computing power of all computing nodes in different time slots at step t; Represents the computing task that needs to be scheduled at step t; represents step t, time slot T i Downlink E j The remaining capacity; represents step t, time slot T i Lower computing power node V j Chain E j The remaining computing power;
[0046] The reward function is given by the following formula:
[0047]
[0048] The final solution of the D3QN-based deterministic transmission scheduling algorithm for computing-network integration includes the time slot when the computing task is sent into the network, the transmission path from the source node to the destination node, and the computing power nodes responsible for the calculation in the transmission path.
[0049] It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that the system and method of the present invention can integrate communication resources and computing resources to support the scheduling and transmission of deterministic computing tasks.
[0050] Additional aspects and advantages of the present invention will be given in part in the following description, which will become obvious from the following description, or may be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0052] Figure 1 A schematic diagram of the structure of a deterministic transmission scheduling system for computing-network integration provided by an embodiment of the present invention;
[0053] Figure 2 A schematic diagram of an end-edge-cloud network application scenario of a deterministic transmission scheduling system for computing-network integration of the present invention;
[0054] Figure 3 This is a flow chart of a deterministic transmission scheduling algorithm for computing-network integration provided in Example 1 of the present invention;
[0055] Figure 4 This is a flow chart of the working method of the deterministic scheduling system for computing-network integration provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0056] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0057] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or coupling. The term "and / or" used herein includes any unit and all combinations of one or more associated listed items.
[0058] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless defined as herein.
[0059] To facilitate understanding of the embodiments of the present invention, several specific embodiments will be further explained below with reference to the accompanying drawings, and each embodiment does not constitute a limitation on the embodiments of the present invention.
[0060] Embodiment 1:
[0061] The structure of a deterministic transmission scheduling system for computing-network integration provided by an embodiment of the present invention is as follows: Figure 1 As shown, it includes: system coordination module, service analysis module, computing network perception module, transmission scheduling algorithm module and algorithm deployment module.
[0062] The system coordination module is used to connect with the service analysis module, the computing network perception module, the transmission scheduling algorithm module and the algorithm deployment module, call each module, and realize efficient collaboration between modules; transmit the computing task information uploaded by the service analysis module and the computing network status information uploaded by the computing network perception module to the transmission scheduling algorithm module.
[0063] The service parsing module is used to obtain and parse the parameter information of the computing task; the parameters include task number, source IP, destination IP, cycle, task type, amount of data before calculation, amount of computing task, amount of data after calculation and maximum allowed delay; upload the computing task information to the system coordination module.
[0064] The computing network perception module is used to perceive and collect the computing network status, which includes the remaining computing resources of each computing power node, the remaining capacity resources of each link, the propagation delay between connected nodes, and the complete topology map of the network; upload the computing network status information to the system coordination module.
[0065] The transmission scheduling algorithm module is used to execute the trained deterministic transmission scheduling algorithm according to the computing task information and computing network status information transmitted by the system coordination module, and output a transmission scheduling plan, which includes: the computing power node responsible for the calculation, the service path from the source node to the computing power node and from the computing power node to the destination node, and the sending time slot.
[0066] The algorithm deployment module is used to send the transmission scheduling scheme output by the transmission scheduling algorithm module to the switches and routers in the network so that the computing tasks are scheduled according to the transmission scheduling scheme.
[0067] In some instances, the computing network perception module sends a perception command to each node, instructing each node to send perception information to it, and the perception information includes: the IP address of this node, the IP address list of neighboring nodes with remaining computing power of this node, the delay list between connected nodes, and the remaining link capacity list between adjacent nodes. If the computing network perception module does not receive the perception information sent by a certain node, it will continue to send perception commands to the node. After receiving the perception information of all nodes, the computing network perception module integrates the complete computing network status information and uploads the computing network status information to the collaborative scheduling module.
[0068] In some instances, the transmission scheduling module deploys an end-to-end transmission scheduling method based on D3QN.
[0069] In some examples, the network adopts a deterministic transmission technology represented by a CSQF mechanism to ensure network determinism.
[0070] In the embodiment of the present invention, the computing tasks include deterministic computing tasks with certain requirements on latency in scenarios such as industrial Internet, Internet of Vehicles, and virtual reality. The network is a heterogeneous network, including but not limited to the Internet, satellite network, data center network, etc. There are computing nodes such as CPU (Central Processing Unit), GPU (graphics processing unit), FPGA (Field Programmable Gate Array), and edge service servers in the network to provide computing services to complete the calculation of computing tasks.
[0071] The embodiment of the present invention also deploys deterministic transmission mechanisms represented by cyclic specified queuing and forwarding (CSQF) and cyclic queuing and forwarding (CQF) in switches and routers.
[0072] More specifically, the above-mentioned deterministic transmission scheduling system for computing-network integration targets network scenarios such as Figure 2 As shown, the network includes the end layer, edge layer and cloud layer.
[0073] The end layer is mainly composed of user terminals that initiate computing tasks and some local computing power with relatively small computing power. User terminals upload deterministic computing tasks that require latency in scenarios such as the Industrial Internet, Internet of Vehicles, VR / AR, etc. There is a TSN (Time-Sensitive Networking) switch in a certain area in the end layer. The TSN switch is responsible for unified management of all user terminals in the area. User terminals are allowed to register or deregister on the TSN switch in their area, and clock synchronization must also be ensured in the same area.
[0074] The edge layer is mainly composed of heterogeneous edge computing nodes, transmission nodes, and heterogeneous networks. Edge computing nodes are high-performance servers used to process user computing tasks. Edge computing nodes are deployed on heterogeneous networks, including but not limited to the Internet, satellite networks, data center networks, etc. Data information between different networks can be guaranteed to be effectively transmitted. Transmission nodes can only transmit data packets according to algorithms and cannot calculate computing tasks. However, some edge computing nodes are also responsible for transmitting data packets.
[0075] The above-mentioned deterministic transmission scheduling system for computing-network integration is also deployed in the cloud layer. The service parsing module in the above-mentioned deterministic transmission scheduling system for computing-network integration is used as a task sensing server, the computing-network sensing module is used as a computing-network sensing server, the transmission scheduling algorithm module is used as an algorithm training server, the algorithm deployment module is used as an algorithm deployment server, and the system coordination module is used as a cloud computing server. Cloud computing servers have strong computing capabilities and can handle computing tasks with large computing amounts. The task sensing server collects information about computing tasks from the TSN switches at the end layer. The computing-network sensing server is responsible for collecting all computing resources and network resources. The algorithm training server collects information from the task sensing server and the computing-network sensing server as the state, takes the scheduling plan (sending time, computing node, service path) as the action, executes the D3QN algorithm, performs neural network training, and obtains the transmission scheduling plan. The algorithm deployment server sends the transmission scheduling plan to the switches and routers in the network.
[0076] The embodiment of the present invention models the network topology according to the network characteristics. G = {V, E}. Where G represents the network topology. Assume that there are n computing nodes in the network topology, V = {V1, V2, V3, ..., V n}. Where V represents the set of computing power nodes; V i Represents the i-th computing node, i = 1, 2, 3, ..., n. , C represents the set of computing power of computing nodes. Among them, Ci represents the computing power of the i-th computing node. The computing nodes are connected by data links, E∈{(x, y)|x, y∈V}. Among them, E represents the set of data links. Assume that there are m data links in the network topology. E={E1, E2, E3, ...E m}. Among them, E j represents the jth data link, j = 1, 2, 3, ..., n. Each data link has a delay and capacity. D = {D1, D2, D3, ..., D m}, D represents the set of data link propagation delays. j represents the propagation delay of the jth data link, j = 1, 2, 3, ..., m. B = {B1, B2, B3, ..., B m} represents the set of data link bandwidths. j represents the link bandwidth of the jth data link. Cap = {Cap1, Cap2, Cap3, ..., Cap m} represents the set of data link capacities. j Represents the link capacity of the jth data link.
[0077] The embodiment of the present invention models the computing tasks according to the computing task characteristics. The embodiment of the present invention uses F to describe the set of computing tasks. Assume that there are n computing tasks in total, and F = {F1, F2, F3, ... F n}. Among them, F k Represents the kth computing task. The embodiment of the present invention adopts an octet (src k , dst k , inf k ,com k ,outf k , prd k , type k ) to describe the computing task. k , dst k Represents the source node and destination node of the kth computing task; inf k represents the data volume of the kth computing task; com k Indicates the computing resources required for the kth computing task; outf kprd represents the amount of data after the calculation result of the kth calculation task; k represents the cycle of the kth computing task; Indicates the maximum delay allowed for the kth computing task; type k Represents the type of the kth computing task.
[0078] Different computing task cycles are not the same. In order to facilitate scheduling, the embodiment of the present invention defines a super cycle - the lowest common multiple of all computing task cycles. Between each super cycle, the computing task information is exactly the same. Assuming that the network topology information remains unchanged, the scheduling method of computing tasks within a super cycle can be extended to all super cycles. Therefore, the embodiment of the present invention only considers the scheduling problem of computing tasks within a super cycle. In actual scenarios, different computing nodes may not be time-synchronized, but the time offset can be measured and perceived by the controller. Therefore, in the experiment, we assume that all computing nodes are time-synchronized. In addition, considering that different computing tasks have different requirements for latency, we divide deterministic computing tasks into strong deterministic computing tasks and weak deterministic computing tasks. Strong deterministic computing tasks have strict requirements on latency and jitter for scenarios such as autonomous driving, telemedicine, and motion control. These computing tasks exceed the limits of latency and jitter, which will bring security risks, so network instability cannot be tolerated and determinism must be strictly guaranteed. Weakly deterministic computing tasks have requirements for latency and jitter for user-oriented scenarios such as cloud games, AR / VR, and metaverse, but network instability can be tolerated to a certain extent.
[0079] The embodiment of the present invention models the latency of computing tasks according to the characteristics of computing tasks. Each task can be scheduled to three types of nodes for computing, namely, the end computing nodes of the end layer, the edge computing nodes of the edge layer, and the cloud computing nodes of the cloud layer. In the embodiment of the present invention, it is assumed that all tasks are transmitted and calculated immediately without queuing.
[0080] The end computing node is closest to the task initiator and the user terminal, and does not require or requires very low propagation delay, but has low computing power. It is suitable for computing tasks with small computing volume, and the amount of data transmitted after the calculation is usually much smaller than the amount of data before the calculation, which can greatly reduce the network burden. If the computing node, the task initiator, and the task receiver are in the same end LAN, the computing power of the end layer is fully utilized.
[0081] When the algorithm deployment server selects local computing and the source node and computing node are the same, there is no need for propagation delay between the task sender and the computing node, only the computing delay needs to be considered. The computing delay of the computing task is T local .
[0082]
[0083] in, Represents the computational task f k The computing power of the source node.
[0084] When the algorithm deployment server selects local computing and the source node and the destination node are directly connected, the computing delay, transmission delay, and propagation delay need to be considered. Assume that the link between the source node and the destination node is E k The transmission delay is D k .trans, the propagation delay is D k , total delay T sum is the sum of computation delay, transmission delay and propagation delay.
[0085] D k .trans=outf k |R k =outf k / [B k *lb(1+P*h k / No)]
[0086] T sum =T local +D k .trans+D k
[0087] Among them, R k Represents link E k The transmission rate; P represents the transmission power of the sending device, in watts. k Represents link E k The channel gain. N o Represents the noise power in the link. lb means the logarithm with base 2.
[0088] The cloud nodes in the cloud layer have strong computing power, but they are far away from the task initiator and require a long propagation delay. They are suitable for computing tasks that are not sensitive to delay requirements, such as large model training. The task needs to be transmitted from the source node to the computing node, and then transmitted from the computing node to the destination node after the computing task is completed. Assume that the computing node is node V com . From the computing task source node src k To the computing node V com The path is path src,com ={src k , V1,…V com}; From the calculation node V com To the destination node dst of the computing task k The path is path com,dst = {V com , V2, …dst k}. When the source node uploads a task, a single node (node V j) has a propagation delay of DV j .up trans ; Calculate the delay as: T compute ; When returning a result, a single node (node V a ) has a propagation delay of: The total delay is T sum .
[0089]
[0090] T compute =com k |C i
[0091]
[0092]
[0093] T sum =D src,com .uptrans+D com,dst .downtrans+D k .prop+T compute
[0094] Among them, D src,com .uptrans represents the transmission delay of all nodes in the path of uploading the task to the computing node; D com,dst .downtrans represents the transmission delay of all nodes in the path of transmitting the result from the computing node to the destination node; D k .prop represents the total propagation delay of the path from the source node to the destination node.
[0095] The computing power and propagation delay of edge computing nodes at the edge layer are between the two, and they are suitable for most tasks that have certain requirements on delay and a certain amount of computing. The delay calculation is similar to that of cloud nodes.
[0096] The embodiment of the present invention defines the task scheduling transmission problem based on network modeling, computing task modeling and computing task delay modeling, and establishes constraint conditions and objective functions.
[0097] Specifically, for any computing task, the transmission scheduling algorithm module needs to select a suitable sending time and a path P connected by links from the source node to the destination node and only one computing node on the path to process the task to ensure that the computing task meets the deterministic transmission conditions. The path must have the same starting point and end point as the computing task. k For example, the following conditions must be met:
[0098] P=(E1,E2,…,En )
[0099] E1.src=src k
[0100] E i .dst=E i+1 .src,
[0101] E n .dst=dst k ,
[0102]
[0103] in, Indicates that the computing task is in the computing power node V i Calculate on, Indicates that the computing task is not on the computing power node V i The above formula shows that the computing task is only performed on the computing power node V j Calculate on.
[0104] More specifically, the embodiment of the present invention adopts four constraints, namely, end-to-end delay constraint, conflict-free constraint, single computing node processing constraint and capacity constraint.
[0105] End-to-end delay constraint: Any strongly deterministic computing task must meet the deterministic requirement, that is, the total delay of the computing task must be less than the maximum delay.
[0106]
[0107] Among them, SDF represents that the type of computing task is a strongly deterministic computing task.
[0108] The delay of a computing task consists of sending delay, propagation delay, processing delay, queuing delay and computing delay. k For example, suppose the computing node that performs the calculation is edge E J The destination node; the sending delay is D k .trans, the propagation delay is D k .prop; the processing delay and queuing delay are D k .process and D k .queue; calculation delay is D k .com; the total delay is D k .sum.
[0109]
[0110] D k .sum=D k .trans+Dk .prop+D k .queue+D k .com
[0111] When the network topology information is known, the processing delay is a constant value and is much smaller than other delays. Therefore, the present invention ignores the processing delay when calculating the delay.
[0112] No conflict constraint: For any two computing tasks, messages cannot be sent to the same data link at the same time, otherwise a link conflict will occur.
[0113] Single computing node processing constraint: For any computing task, only one computing node can be selected for calculation.
[0114] Capacity constraint: At any time, the amount of data scheduled to any link should not be greater than the link capacity. Indicates the calculation task f at time t k The data to be sent is scheduled to link E i superior, Indicates the calculation task f at time t k The calculated result is scheduled to link Ei, and T represents all time.
[0115]
[0116] More specifically, the optimization goal of the embodiment of the present invention is to ensure that all strongly deterministic computing tasks are successfully scheduled while trying to ensure the latency requirements of weakly deterministic computing tasks. Define the variable S i To indicate whether the SDF computing task is successfully scheduled: When the SDF computing task is successfully scheduled, S i =1, otherwise S i = 0. The present invention uses Wi to describe the benefit of weak deterministic computing tasks (WDF). If the delay of WDF meets the delay requirement of SDF, that is, Then Wi = 1, let parameter a represent the multiple of the allowed WDF delay exceeding the maximum delay; satisfy 1≤a, if but
[0117]
[0118] Otherwise it is 0. The objective function is defined as follows:
[0119]
[0120] Specifically, according to the embodiment of the present invention, a deterministic transmission scheduling algorithm based on Dueling Double Deep Q Network (D3QN) is provided according to the requirements of the deterministic tasks, which clarifies the state, action and reward of the network.
[0121] The embodiment of the present invention uses a tuple (time, path, node) to describe an action. "Time" consists of a series of time slots that will be used to allocate computing tasks, which represents the time slot at which the computing task is sent to the network. "Path" consists of all paths in the network from the starting point to the end point of the computing task, which represents the path that the computing task will take to reach the destination node through the computing power network. "Node" consists of all computing power nodes in the alternative path, which represents the node at which the computing task will be calculated.
[0122] DRSR uses the E-greedy algorithm, so the strategy π*:S→A is described as:
[0123]
[0124] Among them, A represents all actions, and at represents the action performed by the agent at step t.
[0125] The state space consists of three parts: the remaining capacity of the link in different time slots, the remaining computing power of the computing node in different time slots, and the computing tasks that need to be scheduled at step t.
[0126]
[0127] Among them, S t represents the state space at step t; represents the remaining capacity of all links in different time slots at step t; Represents the remaining computing power of all computing nodes in different time slots at step t; Represents the computing task that needs to be scheduled at step t; represents step t, time slot T i Downlink E j The remaining capacity; represents step t, time slot T i Lower computing power node V j Chain E j The remaining computing power.
[0128] The reward function is given by the following formula:
[0129]
[0130] More specifically, if Figure 3As shown in the figure, the steps of the deterministic transmission scheduling algorithm for computing-network integration based on D3QN are as follows:
[0131] 1: Deploy the learning agent
[0132] A learning agent is deployed in the cloud to perceive the computing resources of the current network and the computing task information that needs to be scheduled and processed.
[0133] 2: The learning agent selects appropriate sending time slots and computing nodes for computing tasks.
[0134] The learning agent uses a deep neural network to select appropriate sending time slots and computing nodes for computing tasks based on the current remaining computing network resources and the computing task information that needs to be scheduled and processed.
[0135] The learning agent selects the appropriate service path for the computation task.
[0136] The learning agent uses another deep neural network to select a suitable service path for the computing task based on the current remaining computing network resources and the computing task information that needs to be scheduled and processed, the sending time slot of the computing task, and the computing node.
[0137] 3: Get rewards and update the network
[0138] After the learning agent performs an action, it receives a reward based on the changes in computing network resources and updates two deep neural networks based on the reward.
[0139] Embodiment 2:
[0140] This embodiment is used to provide a working method of a deterministic transmission scheduling system for computing-network integration as described in Embodiment 1. The processing flow of the method is as follows: Figure 4 As shown, the processing steps include the following:
[0141] S1: The service parsing module obtains and parses the parameter information of the computing task; the parameters include task number, source IP, destination IP, cycle, task type, amount of data before calculation, amount of computing task, amount of data after calculation and maximum allowed delay.
[0142] S2: The computing network perception module perceives and collects the computing network status, including the remaining computing resources of each computing power node, the remaining capacity resources of each link, the propagation delay between connected nodes, and the complete topology map of the network.
[0143] S3: After receiving the parameter information of the computing task and the current computing network status, the transmission scheduling algorithm module allocates computing nodes, transmission time slots and arranges service paths for the computing task according to the deterministic transmission scheduling method.
[0144] S4: The algorithm deployment module sends the transmission scheduling plan to the switches and routers in the network so that the computing tasks are scheduled according to the plan.
[0145] Among them, the transmission scheduling algorithm module takes the current remaining resources of the computing network, the network topology, and the computing task information that needs to be scheduled and processed as input, and uses a deterministic transmission scheduling scheme based on D3QN, which specifically includes: the computing nodes of the computing tasks, the sending time slots, and the service paths.
[0146] In summary, the embodiments of the present invention provide a deterministic transmission scheduling system and a working method thereof for computing-network integration, including: a system coordination module is responsible for calling each module to achieve efficient collaborative work between modules; a service parsing module obtains and parses parameter information of computing tasks; the parameters include task sequence number, source IP, destination IP, cycle, task type, amount of data before calculation, amount of computing tasks, amount of data after calculation, and maximum permitted delay; a computing-network perception module is responsible for perceiving and collecting the computing-network status, including the remaining computing resources of each computing power node, the remaining capacity resources of each link, the propagation delay between connected nodes, and the complete topology of the network; a transmission scheduling algorithm module is responsible for executing the trained deterministic transmission scheduling algorithm and providing a transmission scheduling plan; an algorithm deployment module sends the transmission scheduling plan to switches and routers in the network so that computing tasks are scheduled according to the plan.
[0147] The method and system of the present invention take into account a variety of business requirements and network environments, and have strong adaptability and flexibility. The method satisfies the service quality of weak deterministic flows as much as possible under the premise of satisfying the service quality of strong deterministic flows, so that computing network resources are more reasonably utilized. The system of the present invention reduces network congestion and resource waste through intelligent management and scheduling, and improves overall reliability.
[0148] Those skilled in the art can understand that the accompanying drawings are only schematic diagrams of an embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement the present invention.
[0149] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.
[0150] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0151] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A deterministic transmission scheduling system for computing-network integration, characterized in that: include: System coordination module, service analysis module, computing network perception module, transmission scheduling algorithm module and algorithm deployment module; The system coordination module is used to connect with the service analysis module, the computing network perception module, the transmission scheduling algorithm module and the algorithm deployment module, call each module, and transmit the computing task information uploaded by the service analysis module and the computing network status information uploaded by the computing network perception module to the transmission scheduling algorithm module; The service parsing module is used to obtain and parse the parameter information of the computing task; the parameters include task serial number, source IP, destination IP, cycle, task type, amount of data before calculation, amount of computing task, amount of data after calculation and maximum allowed delay, and upload the computing task parameter information to the system coordination module; The computing network perception module is used to perceive and collect the computing network status, which includes the remaining computing resources of each computing power node, the remaining capacity resources of each link, the propagation delay between connected nodes, and the complete topology diagram of the network; Upload the computing network status information to the system coordination module; The transmission scheduling algorithm module is used to execute the trained deterministic transmission scheduling algorithm according to the computing task information and computing network status information transmitted by the system coordination module, and output a transmission scheduling plan, which includes: the computing power node responsible for the calculation, the service path from the source node to the computing power node and from the computing power node to the destination node, and the sending time slot; The algorithm deployment module is used to send the transmission scheduling scheme output by the transmission scheduling algorithm module to switches and routers in the network, so that the computing tasks are scheduled according to the transmission scheduling scheme.
2. The system according to claim 1, characterized in that The computing network perception module is used to send a perception command to each node, instructing each node to send perception information to it. The perception information includes: the IP address of this node, the IP address list of neighboring nodes with remaining computing power of this node, the delay list between connected nodes and the remaining link capacity list between adjacent nodes. After receiving the perception information of all nodes, it integrates the complete computing network status information and uploads the computing network status information to the collaborative scheduling module.
3. The system according to claim 1, characterized in that The transmission scheduling module deploys an end-to-end transmission scheduling method based on D3QN.
4. The system according to claim 1, characterized in that Deterministic transmission mechanisms represented by Round Robin Specific Queuing Forwarding (CSQF) and Round Robin Queuing Forwarding (CQF) are deployed in the switches and routers.
5. The system according to any one of claims 1 to 4, characterized in that: A network is set up to include an end layer, an edge layer and a cloud layer. The end layer includes a user terminal that initiates a computing task. The edge layer includes heterogeneous edge computing nodes, transmission nodes and heterogeneous networks. The deterministic transmission scheduling system for computing-network integration is deployed in the cloud layer. The service parsing module in the deterministic transmission scheduling system for computing-network integration is used as a task sensing server, the computing-network perception module is used as a computing-network perception server, the transmission scheduling algorithm module is used as an algorithm training server, the algorithm deployment module is used as an algorithm deployment server, and the system coordination module is used as a cloud computing server. The cloud computing server processes computing tasks. The task perception server collects information about computing tasks from the TSN switch of the end layer. The computing-network perception server collects computing resources and network resources. The algorithm training server collects information from the task perception server and the computing-network perception server as a state. The scheduling plan is used as an action, the D3QN algorithm is executed, a neural network training is performed, and a transmission scheduling plan is obtained. The algorithm deployment server sends the transmission scheduling plan to the switches and routers in the network.
6. A working method of a deterministic transmission scheduling system for computing-network integration based on any one of claims 1 to 5, characterized in that: include: The system coordination module transmits the computing task information uploaded by the service analysis module and the computing network status information uploaded by the computing network perception module to the transmission scheduling algorithm module; The service parsing module obtains and parses the parameter information of the computing task; the parameters include the task serial number, source IP, destination IP, cycle, task type, amount of data before calculation, amount of computing task, amount of data after calculation and maximum allowed delay, and uploads the computing task parameter information to the system coordination module; The computing network perception module perceives and collects the computing network status, which includes the remaining computing resources of each computing power node, the remaining capacity resources of each link, the propagation delay between connected nodes, and the complete topology of the network; Upload the computing network status information to the system coordination module; The transmission scheduling algorithm module executes the trained deterministic transmission scheduling algorithm according to the computing task information and computing network status information transmitted by the system coordination module, and outputs a transmission scheduling plan, which includes: the computing power node responsible for the calculation, the service path from the source node to the computing power node and from the computing power node to the destination node, and the sending time slot; The algorithm deployment module sends the transmission scheduling scheme output by the transmission scheduling algorithm module to switches and routers in the network, so that the computing tasks are scheduled according to the transmission scheduling scheme.
7. The method according to claim 6, characterized in that The method further comprises: The system coordination module models the network topology, G = {V, E}, G represents the network topology graph, assuming that there are n computing nodes in the network topology, V = {V1, V2, V3, ..., V n }, V represents the set of computing power nodes; V i represents the i-th computing power node, i = 1, 2, 3, ..., n, C represents the set of computing power nodes, C i represents the computing power of the ith computing node. The computing nodes are connected by data links. E∈{(x, y)|x, y∈V}, where E represents the set of data links. Assuming that there are m data links in the network topology, E={E1, E2, E3, …E m }, E j represents the jth data link, j = 1, 2, 3, ..., n, each data link has a delay and capacity, D = {D1, D2, D3, ..., D m }, D represents the set of data link propagation delays, D j represents the propagation delay of the jth data link, j = 1, 2, 3, ..., m, B = {B1, B2, B3, ..., B m } represents the set of data link bandwidths, B j represents the link bandwidth of the jth data link, Cap = {Cap1, Cap2, Cap3, ..., Cap m } represents the set of data link capacities, Cap j represents the link capacity of the jth data link; The system coordination module calculates the task characteristics, models the computing tasks, and uses F to describe the set of computing tasks. Assume that there are n computing tasks in total, and F = {F1, F2, F3, ... F n }, F k Represents the kth computing task, using an octet To describe the computing task, src k , dst k Represents the source node and destination node of the kth computing task; inf k represents the data volume of the kth computing task; com k Indicates the computing resources required for the kth computing task; outf k prd represents the amount of data after the calculation result of the kth calculation task; k represents the cycle of the kth computing task; Indicates the maximum delay allowed for the kth computing task; type k Represents the type of the kth computing task; For any computing task, the transmission scheduling algorithm module selects a suitable sending time and a path P formed by links from the source node to the destination node. The path P and the computing task have the same starting point and end point, so that the computing task f k For example, the following conditions must be met: P=(E1,E2,…,E n ) E1.src=src k E i .dst=E i+1 .src, E n .dst=dst k , in, Indicates that the computing task is in the computing power node V i Calculate on, Indicates that the computing task is not on the computing power node V i The above formula shows that the computing task is only performed on the computing power node V j Calculate on; Set four constraints: end-to-end delay constraint, conflict-free constraint, single computing node processing constraint, and capacity constraint; Define variable S i To indicate whether the SDF computing task is successfully scheduled: When the SDF computing task is successfully scheduled, S i =1, otherwise S i =0, use W i To describe the benefit of the weakly deterministic computing task WDF, if the latency of WDF meets the latency requirement of SDF, that is Then W i =1, let parameter a represent the multiple of the allowed WDF delay exceeding the maximum delay; satisfy 1≤a, if but: Otherwise it is 0, and the objective function is defined as follows: Set the states, actions and rewards of the deterministic transmission scheduling algorithm based on the dueling dual deep Q network D3QN; The action is described by a tuple (time, path, node). "Time" consists of a series of time slots that will be used to allocate computing tasks, which represents the time slot at which the computing task will be sent to the network. "Path" consists of all paths in the network from the starting point to the end point of the computing task, which represents the path that the computing task will take through the computing power network to reach the destination node. "Node" consists of all computing power nodes in the alternative path, which represents the node at which the computing task will be calculated. DRSR uses the E-greedy algorithm, so the strategy π*:S→A is described as: Among them, A represents all actions, and at represents the action performed by the agent at step t. The state space consists of three parts: the remaining capacity of the link in different time slots, the remaining computing power of the computing node in different time slots, and the computing tasks that need to be scheduled at step t; Among them, S t represents the state space at step t; represents the remaining capacity of all links in different time slots at step t; Represents the remaining computing power of all computing nodes in different time slots at step t; Represents the computing task that needs to be scheduled at step t; represents step t, time slot T i Downlink E j The remaining capacity; represents step t, time slot T i Lower computing power node V j Chain E j The remaining computing power; The reward function is given by the following formula: The final solution of the D3QN-based deterministic transmission scheduling algorithm for computing-network integration includes the time slot when the computing task is sent into the network, the transmission path from the source node to the destination node, and the computing power nodes responsible for the calculation in the transmission path.
Citation Information
Patent Citations
Service-oriented computing power network system, working method and storage medium
CN113079218A
End-side cloud collaborative scheduling method and system based on DDQN (Double Data Quality Network) in edge environment of Internet of Vehicles
CN115243217A
Multi-path forwarding method and system in computing power network
CN116319522A
Satellite computing power network task scheduling processing method and device
CN117978238A
Cited By
Intelligent computing fusion network architecture and computing network resource adaptation and reliable transmission scheduling method
CN119892834A
Intelligent computing fusion network system and computing network resource adaptation and reliable transmission scheduling method
CN119892834B
Heterogeneous computing power fusion method and device based on 5G CPE and WiFi
CN119907026A
