Virtual graph construction method and device, equipment and storage medium
By constructing a deterministic network virtual graph, the global representation problem caused by the limitations of resource orchestration and scheduling methods is solved, efficient representation and flexible scheduling of deterministic network resources are achieved, and deterministic service quality assurance is supported.
Patent Information
- Application Number
- CN202410719978.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-05
AI Technical Summary
There are limitations in the resource orchestration and scheduling methods in existing deterministic network technologies, which cannot efficiently represent the global representation of deterministic network resources, resulting in the inability to support flexible resource orchestration and scheduling.
By constructing a deterministic network virtual graph, a deterministic network resource model is obtained, including physical nodes and physical links, and the target transmission is determined based on the number of transmission time slots, transmission time slots, target time deviation, propagation delay, and number of gated queues. Time slot sets are abstracted into virtual nodes and virtual edges, a deterministic network virtual graph is constructed, topological connection information and transmission time slot information are integrated, and transformed into a routing scheduling problem.
It achieves a global representation of deterministic network resources, overcomes the problem of solution space loss caused by resource combination construction, and supports computing network integration and business-oriented end-to-end deterministic service quality assurance.
Smart Images

Figure CN118740646A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a virtual graph construction method, device, equipment and storage medium. Background Art
[0002] Currently, many emerging businesses, such as smart grid, Internet of Vehicles, smart transportation, industrial control, smart agriculture, remote surgery, unmanned driving, VR games, smart services, etc., need to control the end-to-end delay to microseconds to milliseconds, the delay jitter to microseconds, and the reliability to above 99.9999%. In order to meet the above requirements, it is necessary to establish a new generation of network that can provide timely and accurate data transmission service quality. Therefore, deterministic network (Quality of Service, QoS) has emerged, which can provide timely and accurate data transmission service quality and meet the requirements of low delay, low jitter, low packet loss rate, high bandwidth and high reliability.
[0003] Deterministic networking is a new technology that provides end-to-end deterministic service quality assurance for a variety of services based on Ethernet. The current mainstream deterministic network technology mainly uses a time slot-based queue mechanism to ensure the determinism of end-to-end transmission delay, such as cyclic queueing and forwarding (CQF), cycle specified queuing and forwarding, and large-scale deterministic network forwarding technology (LDN). The above mechanisms all ensure that the upper limit of the end-to-end transmission delay jitter is twice the time slot length by determining the hop-by-hop transmission time slot of the service flow, providing a deterministic end-to-end delay guarantee service.
[0004] Based on the above-mentioned deterministic network queue mechanism, many researchers have studied the scheduling problem of queue resources. In the process of abstracting queue resources, there are generally two schemes: the first is to combine the traffic transmission path and time slot into a resource combination, and then allocate the traffic to be transmitted to different resource combinations for transmission; the second is to treat the traffic transmission path resources and time slot resources separately and make independent decisions, such as making a pre-sort decision on the transmission path first, and then making a transmission time slot decision.
[0005] However, the above resource scheduling method has limitations. The resource combination mode needs to construct a resource combination before scheduling begins, and the final solution space is affected by the resource combination construction method. It is especially difficult to enumerate all resource combinations for large networks. Sometimes the optimal solution cannot be solved because it is not included in the feasible domain of the resource combination. The independent decision-making method of path resources and time slot resources makes it difficult for the scheduling algorithm to solve the optimal transmission plan. The joint scheduling of path resources and time slot resources is required to obtain the optimal solution. The above limitations make it impossible to efficiently represent deterministic network resources globally, and thus cannot support the flexible design of resource scheduling in deterministic network resources. Summary of the invention
[0006] The embodiments of the present invention provide a virtual graph construction method, apparatus, device and storage medium, which solve the problem that the resource scheduling method in the prior art has limitations and cannot efficiently represent deterministic network resources globally.
[0007] According to one aspect of the present invention, a method for constructing a virtual graph is provided, comprising:
[0008] Acquire a deterministic network resource model, wherein the deterministic network resource model includes: a physical node set and a physical link set, and the physical node set includes at least: a physical terminal node set;
[0009] In the deterministic network resource model, a target transmission time slot set for allowing forwarding of a data packet transmitted in the current transmission time slot in the downstream physical link is determined according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and a downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot, and the number of gated queues corresponding to the downstream physical link;
[0010] Determine a time slot virtual node set according to each target transmission time slot in the target transmission time slot set and the current transmission time slot, and determine a virtual terminal node set according to the physical terminal node set;
[0011] Determine a virtual edge set according to the time slot virtual node set, the physical terminal node set and the physical link set;
[0012] A deterministic network virtual graph is constructed according to the time slot virtual node set, the virtual terminal node set and the virtual edge set.
[0013] According to another aspect of the present invention, a virtual graph construction device is provided, the virtual graph construction device comprising:
[0014] A model acquisition module, used to acquire a deterministic network resource model, wherein the deterministic network resource model includes: a physical node set and a physical link set, and the physical node set includes at least: a physical terminal node set;
[0015] A time slot determination module, configured to determine, in the deterministic network resource model, a target transmission time slot set in the downstream physical link that is allowed to forward a data packet transmitted in the current transmission time slot according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and a downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot, and the number of gated queues corresponding to the downstream physical link;
[0016] A node determination module, configured to determine a time slot virtual node set according to each target transmission time slot in the target transmission time slot set and a current transmission time slot, and determine a virtual terminal node set according to the physical terminal node set;
[0017] A virtual edge determination module, configured to determine a virtual edge set according to the time slot virtual node set, the physical terminal node set and the physical link set;
[0018] The virtual graph determination module is used to construct a deterministic network virtual graph according to the time slot virtual node set, the virtual terminal node set and the virtual edge set.
[0019] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0020] at least one processor; and
[0021] a memory communicatively connected to the at least one processor; wherein,
[0022] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the virtual graph construction method described in any embodiment of the present invention.
[0023] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the virtual graph construction method described in any embodiment of the present invention when executed.
[0024] The embodiment of the present invention obtains a deterministic network resource model, wherein the deterministic network resource model includes: a physical node set and a physical link set, and the physical node set includes at least: a physical terminal node set; in the deterministic network resource model, according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and the downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot and the number of gated queues corresponding to the downstream physical link, determine the target transmission time slot set in the downstream physical link that allows the forwarding of the data packet transmitted in the current transmission time slot; determine the time slot virtual node set according to each target transmission time slot in the target transmission time slot set and the current transmission time slot, and determine the virtual terminal node set according to the physical terminal node set; determine the virtual edge set according to the time slot virtual node set, the physical terminal node set and the physical link set; The time slot virtual node set, the virtual terminal node set and the virtual edge set are used to construct a deterministic network virtual graph, which solves the problem that the deterministic network resources cannot be globally represented efficiently due to the limitations of the resource scheduling and scheduling methods in the prior art. The transmission time slots can be abstracted as nodes in the deterministic network virtual graph, and the connection relationship between the transmission time slots is represented by the structure of the deterministic network virtual graph, which overcomes the problem of loss of solution space caused by constructing resource combinations during resource scheduling and scheduling. The global representation of the solution space is achieved through the constructed deterministic network virtual graph, and the deterministic network resource model is constructed as a virtual graph structure, which integrates the original topological connection information and transmission time slot information in the deterministic network resource model, thereby converting the problem of deterministic network resource scheduling into a routing scheduling problem. A large number of related algorithms for routing scheduling can be directly applied to the deterministic network virtual graph to realize resource scheduling, which is helpful to realize computing-network-integrated, business-oriented end-to-end deterministic service quality assurance.
[0025] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0027] Figure 1is a flow chart of a virtual graph construction method in Embodiment 1 of the present invention;
[0028] Figure 2 It is a structural schematic diagram of a virtual graph construction device in Embodiment 2 of the present invention;
[0029] Figure 3 It is a structural schematic diagram of an electronic device in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0033] Embodiment 1
[0034] Figure 1 This is a flowchart of a virtual graph construction method in the first embodiment of the present invention. This embodiment is applicable to the case where a deterministic network resource model is abstracted into a deterministic network virtual graph, and then the resource scheduling of the deterministic network is calculated. This method can be executed by the virtual graph construction device in the embodiment of the present invention, and the device can be implemented in software and / or hardware. Figure 1 As shown, the method specifically comprises the following steps:
[0035] S110, obtaining a deterministic network resource model, wherein the deterministic network resource model includes: a physical node set and a physical link set, and the physical node set includes at least: a physical terminal node set.
[0036] The deterministic network resource model is an original network model, including a physical node set and a physical link set. The physical node set includes at least a physical terminal node set, and the physical node set also includes an intermediate node set.
[0037] Specifically, the deterministic network resource model is available Indicates that represents a physical node set, ε represents a physical link set, and a physical node set includes a physical end node set and intermediate node Apparently The physical terminal node set includes a physical source terminal node and a physical destination terminal node. The terminal node is responsible for sending and receiving data; the intermediate node is responsible for forwarding data packets.
[0038] It should be noted that in the physical link set, the directed edge e=[v i ,v j ]∈ε represents the physical node v i To physical node v j For any link e=[v i ,v j ]∈ε, its bandwidth is denoted as eb or [v i ,v j ].b, the propagation delay is ed or [v i ,v j ].d.
[0039] S120, in a deterministic network resource model, based on the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and the downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot, and the number of gated queues corresponding to the downstream physical link, determine the target transmission time slot set in the downstream physical link that is allowed to forward the data packet transmitted in the current transmission time slot.
[0040] It needs to be explained that in the deterministic network resource model In the example, the time on the physical source terminal node and each intermediate node outbound port can be divided into transmission time slots of equal length. The length of the transmission time slot is T. Each transmission time slot can be used as the current transmission time slot, and then the target transmission time slot set corresponding to the current transmission time slot is determined. Since there is a one-to-one correspondence between the outbound port and the physical link, the transmission time slot on the outbound port is called the transmission time slot of the physical link. If the current physical link is e = [v i ,v j ], the downstream physical link adjacent to the current link should be e′=[v j ,v k ], the intermediate node v j Consistent.
[0041] The target time offset is the time offset between two different adjacent physical links. It should be noted that the transmission time slots on different physical links are not required to be synchronized. Therefore, the scheduling period (T hc =NT,T hc is the scheduling period, N is the number of transmission time slots, T is the length of the transmission time slot, and N consecutive transmission time slots on each physical link constitute a scheduling period) There is a time deviation, that is, the target time deviation, which can be calculated by the transmission delay on two different adjacent physical links in the deterministic network resource model, that is, the target time deviation is a detectable known positive value.
[0042] Each transmission time slot corresponds to a gated queue on an egress port. For any link e∈ε, the total number of gated queues on the corresponding egress port is R e , and satisfy 3≤R e ≤ the number of transmission slots.
[0043] The target transmission time slot set is a transmission time slot set in a downstream physical link corresponding to the current physical link that is allowed to forward a data packet transmitted in a current transmission time slot in the current physical link.
[0044] Specifically, in a deterministic network resource model, according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and the downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot, and the number of gated queues corresponding to the downstream physical link, a method for determining a target transmission time slot set in the downstream physical link that is allowed to forward the data packet transmitted in the current transmission time slot can be: in a deterministic network resource model, the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and the downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot, and the number of gated queues corresponding to the downstream physical link are obtained. The length of the slot and the number of gated queues corresponding to the downstream physical link are used to calculate the latest transmission slot in which the data packet transmitted from the current transmission slot will be received by the downstream physical link according to the number of transmission slots of the current physical link, the current transmission slot of the current physical link, the target time deviation between the current physical link and the downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission slot and the number of gated queues corresponding to the downstream physical link. Based on the latest transmission slot, the number of transmission slots of the current physical link and the number of gated queues corresponding to the downstream physical link, all transmission slots in the downstream physical link that are allowed to forward the data packet transmitted in the current transmission slot are calculated to generate a target transmission slot set.
[0045] S130, determining a time slot virtual node set according to each target transmission time slot in the target transmission time slot set and the current transmission time slot, and determining a virtual terminal node set according to the physical terminal node set.
[0046] Among them, the virtual nodes in the time slot virtual node set and the virtual terminal node set are all virtual nodes in the subsequently constructed deterministic network virtual graph.
[0047] Specifically, the time slot virtual node set is determined according to each target transmission time slot in the target transmission time slot set and the current transmission time slot, and the virtual terminal node set is determined according to the physical terminal node set. The method can be: abstract the current transmission time slot as a time slot virtual node, abstract each target transmission time slot in the target transmission time slot set as a time slot virtual node, and then construct a time slot virtual node set; abstract the physical source terminal node in the physical terminal node set as a virtual source terminal node, abstract the physical destination terminal node in the physical terminal node set as a virtual destination terminal node, and determine the virtual source terminal node and the virtual destination terminal node as a virtual terminal node set. It should be noted that when determining the time slot virtual node set and the virtual terminal node set, attribute information can be added to each virtual node in the set.
[0048] S140, determining a virtual edge set according to a time slot virtual node set, a virtual terminal node set, and a physical link set.
[0049] Among them, the virtual edges in the virtual edge set are virtual edges in the subsequently constructed deterministic network virtual graph.
[0050] Specifically, the method of determining the virtual edge set according to the time slot virtual node set, the virtual terminal node set and the physical link set can be as follows: each time slot virtual node in the time slot virtual node set determines the connection relationship according to the physical link corresponding to each time slot virtual node in the physical link set. Because each physical link in the physical link set is a directed edge, the connection relationship of each time slot virtual node can be determined according to the direction of each physical link in the physical link set, and then the virtual edges between the time slot virtual nodes are established; the physical link set is queried according to the physical source terminal node in the physical terminal node set, the physical link connected to the physical source terminal node is determined, and then the time slot virtual node after the transmission time slot abstraction on the physical link connected to the physical source terminal node is obtained; according to the virtual source terminal node and the physical link connected to the physical source terminal node A virtual edge is established based on the time slot virtual node after the transmission time slot is abstracted on the link; a physical link set is queried based on the physical destination terminal node in the physical terminal node set, the physical link connected to the physical destination terminal node is determined, and then the time slot virtual node after the transmission time slot is abstracted on the physical link connected to the physical destination terminal node is obtained, a virtual edge is established based on the virtual destination terminal node and the time slot virtual node after the transmission time slot is abstracted on the physical link connected to the physical destination terminal node, and a virtual edge set is generated based on the virtual edges between the time slot virtual nodes, the virtual source terminal node and the time slot virtual node after the transmission time slot is abstracted on the physical link connected to the physical source terminal node, and the virtual destination terminal node and the time slot virtual node after the transmission time slot is abstracted on the physical link connected to the physical destination terminal node. It should be noted that when determining the virtual edge set, attribute information can be added to each virtual edge in the set.
[0051] S150, constructing a deterministic network virtual graph according to the time slot virtual node set, the virtual terminal node set, and the virtual edge set.
[0052] Specifically, the virtual nodes in the time slot virtual node set and the virtual terminal node set are connected according to the virtual edges in the virtual edge set to construct a deterministic network virtual graph.
[0053] Optionally, determining a target transmission time slot set in the downstream physical link that allows forwarding of a data packet transmitted in the current transmission time slot according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, a target time deviation between the current physical link and a downstream physical link adjacent to the current link, a propagation delay of the current physical link, a length of the current transmission time slot, and the number of gated queues corresponding to the downstream physical link, includes:
[0054] Determine, according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time offset between the current physical link and a downstream physical link adjacent to the current link, the propagation delay of the current physical link, and the length of the current transmission time slot, a first transmission time slot in the downstream physical link for receiving a data packet transmitted in the current transmission time slot;
[0055] A target transmission time slot set in the downstream physical link that is allowed to forward data packets transmitted in the current transmission time slot is determined based on the first transmission time slot, the number of transmission time slots of the current physical link, and the number of gated queues corresponding to the downstream physical link.
[0056] The first transmission time slot is the latest transmission time slot in which a data packet transmitted from the current transmission time slot on the current physical link will be received by the downstream physical link.
[0057] Specifically, according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and the downstream physical link adjacent to the current link, the propagation delay of the current physical link, and the length of the current transmission time slot, the calculation method for determining the first transmission time slot in the downstream physical link for receiving the data packet transmitted in the current transmission time slot may be:
[0058]
[0059] Among them, Φ e,e′ (c e,n ) is the first transmission time slot, mod(x,y) is equivalent to x mod y, It means that x is rounded down, e is the current physical link, e′ is the downstream physical link adjacent to the current link, c e,n is the current transmission time slot of the current physical link, N is the number of transmission time slots of the current physical link, where N is a positive integer and is greater than or equal to three, T is the length of the current transmission time slot, ed is the propagation delay of the current physical link, is the target time deviation between the current physical link and the downstream physical link adjacent to the current link.
[0060] Specifically, according to the first transmission time slot, the number of transmission time slots of the current physical link, and the number of gated queues corresponding to the downstream physical link, a calculation method for determining a target transmission time slot set in the downstream physical link that allows forwarding of a data packet transmitted in the current transmission time slot may be:
[0061]
[0062] in, is the target transmission time slot set, Φ e,e′ (c e,n ) is the first transmission time slot, N is the number of transmission time slots of the current physical link, R e′ The number of gated queues corresponding to the downstream physical link.
[0063] By determining the first transmission time slot in the downstream physical link for receiving the data packet transmitted in the current transmission time slot based on the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and the downstream physical link adjacent to the current link, the propagation delay of the current physical link and the length of the current transmission time slot; and determining the target transmission time slot set in the downstream physical link that is allowed to forward the data packet transmitted in the current transmission time slot based on the first transmission time slot, the number of transmission time slots of the current physical link and the number of gated queues corresponding to the downstream physical link, it is possible to determine to the maximum extent all transmission time slots in the downstream physical link that are allowed to forward the data packet transmitted in the current transmission time slot, laying the foundation for building a more accurate deterministic network virtual graph.
[0064] Optionally, determining a virtual edge set according to the time slot virtual node set, the virtual terminal node set, and the physical link set includes:
[0065] Determine a first type of edge set according to the time slot virtual node set;
[0066] Determine a second type of edge set according to the virtual source terminal node in the virtual terminal node set and the physical link set;
[0067] Determine a third type of edge set according to the virtual destination terminal node in the virtual terminal node set and the physical link set;
[0068] A virtual edge set is determined according to the first-type edge set, the second-type edge set, and the third-type edge set.
[0069] Among them, each first-class edge in the first-class edge set is an edge between time slot virtual nodes, indicating the connection relationship between transmission time slots; each second-class edge in the second-class edge set is an edge between time slot virtual nodes after abstraction of transmission time slots on the physical link connecting the virtual source terminal node and the physical source terminal node, indicating the connection relationship of the transmission time slots on the physical source terminal node; each third-class edge in the third-class edge set is an edge between time slot virtual nodes after abstraction of transmission time slots on the physical link connecting the virtual destination terminal node and the physical destination terminal node, indicating the connection relationship of the last hop in the deterministic network resource model.
[0070] Specifically, the method of determining the first type of edge set according to the time slot virtual node set can be: determine the current time slot virtual node according to the time slot virtual node set, and the target transmission time slot set corresponding to the transmission time slot corresponding to the current time slot virtual node, and then obtain the time slot virtual node set corresponding to the target transmission time slot set according to the target transmission time slot set, and connect each time slot virtual node in the time slot virtual node set corresponding to the current time slot virtual node and the target transmission time slot set to obtain the first type of edge set, wherein the first type of edge set can be expressed as:
[0071]
[0072] Among them, ε s ' lot-slot is the first type edge set, Current transmission time slot Mapped time slot virtual nodes, For the physical link [v i ,v j ]'s downstream physical link [v j ,v k ] allows forwarding of the current transmission slot The target transmission time slot set of the data packet transmitted in, is one of the transmission time slots in the target transmission time slot set, for Abstract time slot virtual node, ε is the set of physical links.
[0073] Specifically, the method of determining the second type of edge set according to the virtual source terminal node in the virtual terminal node set and the physical link set can be: query the physical link set according to the physical source terminal node in the physical terminal node set, determine the physical link connected to the physical source terminal node, and then obtain each time slot virtual node after abstraction of each transmission time slot on the physical link connected to the physical source terminal node, and construct the second type of edge with the virtual source terminal node according to each time slot virtual node after abstraction of each transmission time slot on the physical link connected to the physical source terminal node, and generate the second type of edge set, wherein the second type of edge set can be expressed as:
[0074]
[0075] Among them, ε e ' nd-slot is the second type of edge set, v i is the physical source terminal node, is the set of physical terminal nodes, v i ′ is a virtual source terminal node abstracted from a physical source terminal node, [v i ,v j ] is the physical link connected to the physical source terminal node, is the physical link connected to the physical source terminal node [v i ,v j ] on each transmission slot, for Abstract time slot virtual node.
[0076] Specifically, the method of determining the third type of edge set according to the virtual destination terminal node in the virtual terminal node set and the physical link set can be: querying the physical link set according to the physical destination terminal node in the physical terminal node set, determining the physical link connected to the physical destination terminal node, and then obtaining each time slot virtual node after abstraction of each transmission time slot on the physical link connected to the physical destination terminal node, and constructing the third type of edge with the virtual destination terminal node according to each time slot virtual node after abstraction of each transmission time slot on the physical link connected to the physical destination terminal node, respectively, to generate the third type of edge set, wherein the third type of edge set can be expressed as:
[0077]
[0078] Among them, ε s ' lot-end is the third type of edge set, v j is the physical destination terminal node, v j ′ is a virtual destination terminal node abstracted from the physical destination terminal node, [v i ,v j] is the physical link connected to the physical destination terminal node, is the physical link connected to the physical destination terminal node [v i ,v j ] on each transmission slot, for Abstract time slot virtual node.
[0079] Specifically, the method of determining the virtual edge set according to the first type edge set, the second type edge set, and the third type edge set may be:
[0080] ε′=ε′ slot-slot Uε′ end-slot Uε′ slot-end
[0081] Among them, ε′ is a set of virtual edges, and ∪ means taking the union.
[0082] By determining the first type of edge set based on the time slot virtual node set and the physical link set; determining the second type of edge set based on the virtual source terminal node and the physical link set in the virtual terminal node set; determining the third type of edge set based on the virtual destination terminal node and the physical link set in the virtual terminal node set; and determining the virtual edge set based on the first type of edge set, the second type of edge set and the third type of edge set, the connection edge relationship between the time slot virtual nodes, the virtual source terminal nodes and the virtual destination terminal nodes can be accurately determined, laying the foundation for the subsequent construction of a more accurate deterministic network virtual graph.
[0083] At the same time, in the process of constructing a deterministic network virtual graph based on a time slot virtual node set, a virtual terminal node set and a virtual edge set, not only the transmission time slot on each physical link in the deterministic network resource model is abstracted as a time slot virtual node, but also the physical source terminal node in the physical terminal node set is abstracted as a virtual source terminal node, and the physical destination terminal node in the physical terminal node set is abstracted as a virtual destination terminal node, which can fully reflect the transmission process from the physical source terminal node to the physical destination terminal node. If the physical source terminal node and the physical destination terminal node are not introduced, the transmission process of the resource transmission to the physical destination terminal node in the deterministic network resource model cannot be reflected, because the data packet is no longer forwarded at the physical destination terminal node, and there is no resource for the transmission time slot. In addition, the deterministic network virtual graph includes edges from physical source terminal nodes to transmission time slots in order to incorporate the time slot selection of the physical source terminal nodes into the virtual graph to facilitate routing resource orchestration and scheduling. If the edge from the physical source terminal node to the transmission time slot is not included, the time slot selection of the physical source terminal node becomes the selection of the access node of the resource, which is no longer a node-to-node routing selection problem, and the resource orchestration and scheduling will become extremely complicated.
[0084] Optionally, determining the first type of edge set according to the time slot virtual node set includes:
[0085] Determine a time slot virtual node corresponding to a current transmission time slot and a time slot virtual node corresponding to each target transmission time slot in the time slot virtual node set;
[0086] Determine a first type of edge according to the time slot virtual node corresponding to the current transmission time slot and the time slot virtual node corresponding to each target transmission time slot;
[0087] Determining a target delay attribute of the first type of edge according to an initial delay attribute between a current transmission time slot and each target transmission time slot;
[0088] A first-type edge set is determined according to the first-type edges and target delay attributes of the first-type edges.
[0089] The initial delay attribute is the delay attribute corresponding to the directed edge between the current transmission time slot and each target transmission time slot, and the target delay attribute is the delay attribute between the time slot virtual node corresponding to the current transmission time slot and the time slot virtual node corresponding to each target transmission time slot.
[0090] Specifically, the method for determining the time slot virtual node corresponding to the current transmission time slot in the time slot virtual node set and the time slot virtual node corresponding to each target transmission time slot can be: querying and determining the time slot virtual node corresponding to the current transmission time slot and the time slot virtual node corresponding to each target transmission time slot in the time slot virtual node set.
[0091] Specifically, the method for determining the first type of edge based on the time slot virtual node corresponding to the current transmission time slot and the time slot virtual node corresponding to each target transmission time slot can be: the physical link corresponding to each target transmission time slot is the downstream link of the physical link corresponding to the current transmission time slot, and based on this relationship, the time slot virtual node corresponding to the current transmission time slot is connected to the time slot virtual node corresponding to each target transmission time slot to obtain the first type of edge between the time slot virtual node corresponding to the current transmission time slot and each target transmission time slot.
[0092] Specifically, the method for determining the target delay attribute of the first type of edge based on the initial delay attribute between the current transmission time slot and each target transmission time slot can be: determining the initial delay attribute between the current transmission time slot and each target transmission time slot based on the current transmission time slot, the target transmission time slot, the propagation delay of the current physical link, the length of the current transmission time slot, the target time deviation, the first transmission time slot, and the number of transmission time slots of the current physical link, and determining the initial delay attribute as the target delay attribute of the first type of edge corresponding to each target transmission time slot.
[0093] Specifically, the method of determining the first-class edge set according to the first-class edges and the target delay attributes of the first-class edges can be: each first-class edge carries the target delay attribute of the first-class edge, and then the first-class edge set is generated according to each first-class edge carrying the target delay attribute.
[0094] Optionally, determining the target delay attribute of the first-type edge according to the initial delay attribute between the current transmission time slot and each target transmission time slot includes:
[0095] Determining the initial delay attribute according to the current transmission time slot, the target transmission time slot, the propagation delay of the current physical link, the length of the current transmission time slot, the target time offset, the first transmission time slot, and the number of transmission time slots of the current physical link;
[0096] The initial delay attribute is determined as a target delay attribute for the first type of edge.
[0097] Specifically, the calculation method of determining the initial delay attribute according to the current transmission time slot, the target transmission time slot, the propagation delay of the current physical link, the length of the current transmission time slot, the target time deviation, the first transmission time slot, and the number of transmission time slots of the current physical link is:
[0098]
[0099] in, is the current transmission time slot c e,n With the target transmission time slot c e′,n′ The value corresponding to the initial delay attribute between ed and T, ed is the propagation delay of the current physical link, T is the length of the current transmission time slot, is the target time deviation, Φ e,e′ (c e,n ) is the first transmission time slot, N is the number of transmission time slots of the current physical link, and frac(x) represents the decimal part of x.
[0100] Specifically, determining the initial delay attribute as the target delay attribute of the first-type edge can be understood as: each first-type edge has a target delay attribute, wherein the value of the target delay attribute is a value corresponding to the initial delay attribute between the current transmission time slot and each target transmission time slot.
[0101] Optionally, determining a third type of edge set according to the virtual destination terminal node in the virtual terminal node set and the physical link set includes:
[0102] Determine a third type of edge according to a virtual destination terminal node in the virtual terminal node set and a time slot virtual node corresponding to each transmission time slot on a physical link connected to the physical destination terminal node;
[0103] Determining a target delay attribute of the third type edge according to a propagation delay of a physical link connected to the physical destination terminal node;
[0104] A third type edge set is determined according to the third type edges and the target delay attributes of the third type edges.
[0105] Specifically, the method for determining the third type of edge based on the virtual destination terminal node in the virtual terminal node set and the time slot virtual node corresponding to each transmission time slot on the physical link connected to the physical destination terminal node can be: connecting the time slot virtual node abstracted by each transmission time slot on the physical link connected to the virtual destination terminal node and the physical destination terminal node, and obtaining the third type of edge between the time slot virtual node abstracted by each transmission time slot on the physical link connected to the virtual destination terminal node and the physical destination terminal node.
[0106] Specifically, the method for determining the target delay attribute of the third type of edge based on the propagation delay of the physical link connected to the physical destination terminal node can be: directly determine the value corresponding to the propagation delay of the physical link connected to the physical destination terminal node as the value corresponding to the target delay attribute of the third type of edge, and then set the target delay attribute for the third type of edge.
[0107] Specifically, the method for determining the third type edge set according to the third type edge and the target delay attribute of the third type edge can be: each third type edge carries the target delay attribute, and then the third type edge set is generated according to each third type edge carrying the target delay attribute.
[0108] Optionally, determining a time slot virtual node set according to each target transmission time slot in the target transmission time slot set and the current transmission time slot includes:
[0109] Determine a time slot virtual node corresponding to the current transmission time slot according to the current transmission time slot, the bandwidth of the current physical link, and the length of the current transmission time slot;
[0110] Determine a time slot virtual node corresponding to each target transmission time slot according to each target transmission time slot, a bandwidth of a downstream physical link of the current physical link, and a length of the target transmission time slot;
[0111] A time slot virtual node set is determined according to the time slot virtual node corresponding to each target transmission time slot and the time slot virtual node corresponding to the current transmission time slot.
[0112] Specifically, the method for determining the time slot virtual node corresponding to the current transmission time slot according to the current transmission time slot, the bandwidth of the current physical link and the length of the current transmission time slot may be: determining the initial transmission capacity of the current transmission time slot according to the bandwidth of the current physical link and the length of the current transmission time slot; determining the time slot virtual node corresponding to the current transmission time slot according to the current transmission time slot and the initial transmission capacity of the current transmission time slot, wherein the initial transmission capacity of the current transmission time slot is the maximum transmission capacity corresponding to the current transmission time slot, and may also be the remaining transmission capacity. Specifically, the method for determining the initial transmission capacity of the current transmission time slot according to the bandwidth of the current physical link and the length of the current transmission time slot may be:
[0113] c e,n .u=eb×T;
[0114] Among them, c e,n .u is the current transmission time slot c e,n eb is the bandwidth of the current physical link, and T is the length of the current transmission time slot. Specifically, the method of determining the time slot virtual node corresponding to the current transmission time slot according to the current transmission time slot and the initial transmission capacity of the current transmission time slot can be: abstracting the current transmission time slot into a time slot virtual node, and setting the transmission capacity attribute for the time slot virtual node abstracted by the current transmission time slot according to the initial transmission capacity of the current transmission time slot, that is, each time slot virtual node can carry the transmission capacity attribute, and the time slot virtual node abstracted by the current transmission time slot and the transmission capacity attribute carried by the time slot virtual node constitute the time slot virtual node corresponding to the current transmission time slot.
[0115] Specifically, the method of determining the time slot virtual node corresponding to each target transmission time slot based on each target transmission time slot, the bandwidth of the downstream physical link of the current physical link, and the length of the target transmission time slot is similar to the method of determining the time slot virtual node corresponding to the current transmission time slot based on the current transmission time slot, the bandwidth of the current physical link, and the length of the current transmission time slot, and will not be repeated here.
[0116] Specifically, the time slot virtual node corresponding to each target transmission time slot and the time slot virtual node corresponding to the current transmission time slot are combined to generate a time slot virtual node set.
[0117] The technical solution of this embodiment is to obtain a deterministic network resource model, wherein the deterministic network resource model includes: a physical node set and a physical link set, and the physical node set includes at least: a physical terminal node set; in the deterministic network resource model, according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and the downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot and the number of gated queues corresponding to the downstream physical link, determine the target transmission time slot set in the downstream physical link that allows the forwarding of the data packet transmitted in the current transmission time slot; determine the time slot virtual node set according to each target transmission time slot and the current transmission time slot in the target transmission time slot set, and determine the virtual terminal node set according to the physical terminal node set; determine the virtual edge set according to the time slot virtual node set, the physical terminal node set and the physical link set; based on A deterministic network virtual graph is constructed according to the time slot virtual node set, the virtual terminal node set and the virtual edge set, which solves the problem that the deterministic network resources cannot be globally represented efficiently due to the limitations of the resource scheduling and scheduling methods in the prior art. The transmission time slots can be abstracted as nodes in the deterministic network virtual graph, and the connection relationship between the transmission time slots is represented by the structure of the deterministic network virtual graph, which overcomes the problem of loss of solution space caused by constructing resource combinations during resource scheduling and scheduling. The global representation of the solution space is achieved through the constructed deterministic network virtual graph, and the deterministic network resource model is constructed as a virtual graph structure, which integrates the original topological connection information and transmission time slot information in the deterministic network resource model, thereby converting the problem of deterministic network resource scheduling into a routing scheduling problem. A large number of related algorithms for routing scheduling can be directly applied to the deterministic network virtual graph to realize resource scheduling, which is helpful to realize computing-network integrated, business-oriented end-to-end deterministic service quality assurance.
[0118] Embodiment 2
[0119] Figure 2 This is a schematic diagram of the structure of a virtual graph construction device in the second embodiment of the present invention. This embodiment is applicable to the case where a deterministic network resource model is abstracted into a deterministic network virtual graph, and then the resource scheduling of the deterministic network is calculated. The device can be implemented in software and / or hardware, and the device can be integrated in any device that provides the function of virtual graph construction, such as Figure 2 As shown, the virtual graph construction device specifically includes: a model acquisition module 210, a time slot determination module 220, a node determination module 230, a virtual edge determination module 240 and a virtual graph determination module 250.
[0120] The model acquisition module 210 is used to acquire a deterministic network resource model, wherein the deterministic network resource model includes: a physical node set and a physical link set, and the physical node set includes at least: a physical terminal node set;
[0121] The time slot determination module 220 is used to determine, in the deterministic network resource model, a target transmission time slot set in the downstream physical link that is allowed to forward the data packet transmitted in the current transmission time slot according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and the downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot, and the number of gated queues corresponding to the downstream physical link;
[0122] A node determination module 230, configured to determine a time slot virtual node set according to each target transmission time slot in the target transmission time slot set and a current transmission time slot, and determine a virtual terminal node set according to the physical terminal node set;
[0123] A virtual edge determination module 240, configured to determine a virtual edge set according to the time slot virtual node set, the physical terminal node set and the physical link set;
[0124] The virtual graph determination module 250 is used to construct a deterministic network virtual graph according to the time slot virtual node set, the virtual terminal node set and the virtual edge set.
[0125] Optionally, the time slot determination module is specifically used to:
[0126] Determine, according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time offset between the current physical link and a downstream physical link adjacent to the current link, the propagation delay of the current physical link, and the length of the current transmission time slot, a first transmission time slot in the downstream physical link for receiving a data packet transmitted in the current transmission time slot;
[0127] A target transmission time slot set in the downstream physical link that is allowed to forward data packets transmitted in the current transmission time slot is determined based on the first transmission time slot, the number of transmission time slots of the current physical link, and the number of gated queues corresponding to the downstream physical link.
[0128] Optionally, the virtual edge determination module is specifically used to:
[0129] Determine a first type of edge set according to the time slot virtual node set;
[0130] Determine a second type of edge set according to the virtual source terminal node in the virtual terminal node set and the physical link set;
[0131] Determine a third type of edge set according to the virtual destination terminal node in the virtual terminal node set and the physical link set;
[0132] A virtual edge set is determined according to the first-type edge set, the second-type edge set, and the third-type edge set.
[0133] Optionally, the virtual edge determination module is specifically used to:
[0134] Determine a time slot virtual node corresponding to a current transmission time slot and a time slot virtual node corresponding to each target transmission time slot in the time slot virtual node set;
[0135] Determine a first type of edge according to the time slot virtual node corresponding to the current transmission time slot and the time slot virtual node corresponding to each target transmission time slot;
[0136] Determining a target delay attribute of the first type of edge according to an initial delay attribute between a current transmission time slot and each target transmission time slot;
[0137] A first-type edge set is determined according to the first-type edges and target delay attributes of the first-type edges.
[0138] Optionally, the virtual edge determination module is specifically used to:
[0139] Determining the initial delay attribute according to the current transmission time slot, the target transmission time slot, the propagation delay of the current physical link, the length of the current transmission time slot, the target time offset, the first transmission time slot, and the number of transmission time slots of the current physical link;
[0140] The initial delay attribute is determined as a target delay attribute for the first type of edge.
[0141] Optionally, the virtual edge determination module is specifically used to:
[0142] Determine a third type of edge according to a virtual destination terminal node in the virtual terminal node set and a time slot virtual node corresponding to each transmission time slot on a physical link connected to the physical destination terminal node;
[0143] Determining a target delay attribute of the third type edge according to a propagation delay of a physical link connected to the physical destination terminal node;
[0144] A third type edge set is determined according to the third type edges and the target delay attributes of the third type edges.
[0145] Optionally, the node determination module is specifically used to:
[0146] Determine a time slot virtual node corresponding to the current transmission time slot according to the current transmission time slot, the bandwidth of the current physical link, and the length of the current transmission time slot;
[0147] Determine a time slot virtual node corresponding to each target transmission time slot according to each target transmission time slot, a bandwidth of a downstream physical link of the current physical link, and a length of the target transmission time slot;
[0148] A time slot virtual node set is determined according to the time slot virtual node corresponding to each target transmission time slot and the time slot virtual node corresponding to the current transmission time slot.
[0149] The above-mentioned product can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0150] Embodiment 3
[0151] Figure 3 : is a structural diagram of an electronic device in Embodiment 3 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0152] like Figure 3 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0153] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0154] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a virtual graph construction method.
[0155] In some embodiments, the virtual graph construction method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the virtual graph construction method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the virtual graph construction method in any other appropriate manner (e.g., by means of firmware).
[0156] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0157] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0158] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0159] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0160] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0161] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0162] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0163] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for constructing a virtual graph, characterized in that: include: Acquire a deterministic network resource model, wherein the deterministic network resource model includes: a physical node set and a physical link set, and the physical node set includes at least: a physical terminal node set; In the deterministic network resource model, a target transmission time slot set for allowing forwarding of a data packet transmitted in the current transmission time slot in the downstream physical link is determined according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and a downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot, and the number of gated queues corresponding to the downstream physical link; Determine a time slot virtual node set according to each target transmission time slot in the target transmission time slot set and the current transmission time slot, and determine a virtual terminal node set according to the physical terminal node set; Determine a virtual edge set according to the time slot virtual node set, the virtual terminal node set and the physical link set; A deterministic network virtual graph is constructed according to the time slot virtual node set, the virtual terminal node set and the virtual edge set.
2. The method according to claim 1, characterized in that: Determining a target transmission time slot set in the downstream physical link that is allowed to forward a data packet transmitted in the current transmission time slot according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and a downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot, and the number of gated queues corresponding to the downstream physical link, comprising: Determine, according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time offset between the current physical link and a downstream physical link adjacent to the current link, the propagation delay of the current physical link, and the length of the current transmission time slot, a first transmission time slot in the downstream physical link for receiving a data packet transmitted in the current transmission time slot; A target transmission time slot set in the downstream physical link that is allowed to forward data packets transmitted in the current transmission time slot is determined based on the first transmission time slot, the number of transmission time slots of the current physical link, and the number of gated queues corresponding to the downstream physical link.
3. The method according to claim 2, characterized in that Determining a virtual edge set according to the time slot virtual node set, the virtual terminal node set, and the physical link set includes: Determine a first type of edge set according to the time slot virtual node set; Determine a second type of edge set according to the virtual source terminal node in the virtual terminal node set and the physical link set; Determine a third type of edge set according to the virtual destination terminal node in the virtual terminal node set and the physical link set; A virtual edge set is determined according to the first-type edge set, the second-type edge set, and the third-type edge set.
4. The method according to claim 3, characterized in that Determining a first type of edge set according to the time slot virtual node set includes: Determine a time slot virtual node corresponding to a current transmission time slot and a time slot virtual node corresponding to each target transmission time slot in the time slot virtual node set; Determine a first type of edge according to the time slot virtual node corresponding to the current transmission time slot and the time slot virtual node corresponding to each target transmission time slot; Determining a target delay attribute of the first type of edge according to an initial delay attribute between a current transmission time slot and each target transmission time slot; A first-type edge set is determined according to the first-type edges and target delay attributes of the first-type edges.
5. The method according to claim 4, characterized in that Determining a target delay attribute of the first type of edge according to an initial delay attribute between a current transmission time slot and each target transmission time slot includes: Determining the initial delay attribute according to the current transmission time slot, the target transmission time slot, the propagation delay of the current physical link, the length of the current transmission time slot, the target time offset, the first transmission time slot, and the number of transmission time slots of the current physical link; The initial delay attribute is determined as a target delay attribute for the first type of edge.
6. The method according to claim 3, characterized in that Determining a third type of edge set according to the virtual destination terminal node in the virtual terminal node set and the physical link set includes: Determine a third type of edge according to a virtual destination terminal node in the virtual terminal node set and a time slot virtual node corresponding to each transmission time slot on a physical link connected to the physical destination terminal node; Determining a target delay attribute of the third type edge according to a propagation delay of a physical link connected to the physical destination terminal node; A third type edge set is determined according to the third type edges and the target delay attributes of the third type edges.
7. The method according to claim 1, characterized in that Determining a time slot virtual node set according to each target transmission time slot in the target transmission time slot set and the current transmission time slot includes: Determine a time slot virtual node corresponding to the current transmission time slot according to the current transmission time slot, the bandwidth of the current physical link, and the length of the current transmission time slot; Determine a time slot virtual node corresponding to each target transmission time slot according to each target transmission time slot, a bandwidth of a downstream physical link of the current physical link, and a length of the target transmission time slot; A time slot virtual node set is determined according to the time slot virtual node corresponding to each target transmission time slot and the time slot virtual node corresponding to the current transmission time slot.
8. A virtual graph construction device, characterized in that: include: A model acquisition module, used to acquire a deterministic network resource model, wherein the deterministic network resource model includes: a physical node set and a physical link set, and the physical node set includes at least: a physical terminal node set; A time slot determination module, configured to determine, in the deterministic network resource model, a target transmission time slot set in the downstream physical link that is allowed to forward a data packet transmitted in the current transmission time slot according to the number of transmission time slots of the current physical link, the current transmission time slot of the current physical link, the target time deviation between the current physical link and a downstream physical link adjacent to the current link, the propagation delay of the current physical link, the length of the current transmission time slot, and the number of gated queues corresponding to the downstream physical link; A node determination module, configured to determine a time slot virtual node set according to each target transmission time slot in the target transmission time slot set and a current transmission time slot, and determine a virtual terminal node set according to the physical terminal node set; A virtual edge determination module, configured to determine a virtual edge set according to the time slot virtual node set, the virtual terminal node set and the physical link set; The virtual graph determination module is used to construct a deterministic network virtual graph according to the time slot virtual node set, the virtual terminal node set and the virtual edge set.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the virtual graph construction method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the virtual graph construction method according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
Construction method of time slot resource expansion graph
CN113992259A
Graph node embedding method, system and equipment and storage medium
CN115796229A
Time-sensitive network traffic scheduling method and device
CN116599912A
Deterministic end-to-end slice traffic arrangement strategy based on edge graph attention
CN116980298A
Provisioning virtual optical networks
US20160234061A1
