Virtual mapping method and device of computing power optical network and control equipment
By determining the size of the computing power in the optical network layer and converting it into a virtual network request, and using the reinforcement learning method to map physical resources, the problem of correlation between the computing power network and the optical network is solved, and the survivability and resource utilization of the computing power optical network are improved. .
Patent Information
- Application Number
- CN202310338693.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology lacks the technology to associate computing power networks with optical networks, and cannot fully combine computing power with existing resources to meet the computing power network's ability to deal with uncertain failures.
By determining the amount of computing power required for the requested computing power business, converting it into a virtual network request, and using reinforcement learning methods to map physical resources in the optical network layer, the linkage between the computing power network and the optical network is realized.
It realizes intelligent mapping between computing power network and optical network, reduces business blocking rate, and improves the survivability, resource utilization and user service quality of computing power optical network.
Smart Images

Figure CN118741352A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computing power optical network technology, and in particular to a virtual mapping method, device and control equipment of a computing power optical network. Background Art
[0002] The computing network is a new type of infrastructure that allocates and flexibly schedules computing resources on demand between the cloud, edge, and end. It usually includes at least three layers of architecture, such as the computing network infrastructure layer, the orchestration management layer, and the operation service layer. Almost all businesses require computing support, and computing resources are limited by physical resources. Therefore, it is necessary to build a computing network architecture and uniformly allocate and control computing power as a resource like water and electricity.
[0003] The computing power network system of the existing technology lacks the technology to associate the computing power network with the existing optical network or wireless network to achieve the full integration of computing power and existing resources and meet the computing power network's ability to cope with uncertain failures. Summary of the invention
[0004] The purpose of the technical solution of the present invention is to provide a virtual mapping method, device and control equipment of a computing power optical network, which are used to realize the association between the computing power network and the optical network.
[0005] One embodiment of the present invention provides a virtual mapping method of a computing power optical network, which includes:
[0006] Determine the amount of computing power required for the computing power service to be requested;
[0007] Determine, according to the computing power, a set of available resources for the computing power service to be requested in the optical network layer;
[0008] Convert the computing power service to be requested into at least one virtual network request; wherein each of the virtual network requests corresponds to a virtual network topology;
[0009] The physical resources to which the virtual network request is mapped are determined according to the available resource set and the virtual network topology.
[0010] Optionally, in the method, the step of determining the computing power required for the computing power service to be requested includes:
[0011] The computing power required by the computing power service to be requested is determined based on at least one of the storage space required to be occupied by the computing power service to be requested, the complexity of the service algorithm and the computing power of the computing power providing node.
[0012] Optionally, the method, wherein determining the computing power required for the computing power service to be requested according to at least one of the storage space required to be occupied by the computing power service to be requested, the complexity of the business algorithm and the computing power of the computing power provider, comprises:
[0013] According to the storage space required by the computing power service to be requested, the complexity of the business algorithm and the computing power of the computing power provider, the computing power required by the computing power service to be requested is determined by the following formula:
[0014]
[0015] Among them, C τ is the calculated value of the computing power; ε is the calculated value of the storage space required for the computing power service to be requested; σ is the evaluation value of the complexity of the service algorithm; δ is the evaluation value of the computing power of the computing power providing node.
[0016] Optionally, the method described above, wherein the virtual network topology includes a node set corresponding to the virtual network request, a link set corresponding to the virtual network request, computing power resources required by the nodes corresponding to the virtual network request, and a weight value of the link corresponding to the virtual network request.
[0017] Optionally, the method further comprises:
[0018] Determine the computing power resources C required by the node corresponding to the virtual network request according to the following formula τ :
[0019]
[0020] in, The computing power required for the i-th node in the node set corresponding to the virtual network request to execute the requested computing power service; k is the number of nodes included in the node set.
[0021] Optionally, the method further comprises:
[0022] The weight value of the link corresponding to the virtual network request is determined according to the following formula:
[0023]
[0024] in, represents the weight value of the lth edge in the virtual network topology of the sth virtual network request, D l is the length of the lth side, represents the bandwidth occupied by the i-th service on the l-th link, and μ1 is the model coefficient.
[0025] Optionally, the method described above, wherein the set of available resources includes a set of nodes in the optical network layer that can provide services for the computing power service to be requested, a set of links in the optical network layer that can provide services for the computing power service to be requested, the remaining computing power resources of the nodes in the optical network layer that can provide services for the computing power service to be requested, and the remaining carrying weight of the links in the optical network layer that can provide services for the computing power service to be requested.
[0026] Optionally, the method, wherein determining the physical resource to which the virtual network request is mapped according to the available resource set and the virtual network topology, comprises:
[0027] Select a node of the node set in the available resource set, map each node of the node set in the virtual network topology using an action set in a reinforcement learning method, and determine a node in the physical resource to which the virtual network requests to be mapped;
[0028] Select a link of the link set in the available resource set, map each link of the link set in the virtual network topology using the action set in the reinforcement learning method, and determine the link in the physical resource that the virtual network requests to be mapped; wherein the mapped link includes a working link and a protection link.
[0029] Optionally, in the method, after mapping a node of a node set in the virtual network topology and / or mapping a link of a link set in the virtual network topology, the method further comprises:
[0030] Updating the value function and the environment status information to obtain an updated value function and an updated environment status information; the environment status information includes a first topology set of unmapped virtual network requests, a second topology set of unmapped available resource sets, and a third topology set of mapped virtual network requests;
[0031] According to the updated value function and the updated environment status information, the next node of the node set in the virtual network topology is mapped, and / or the next link of the link set in the virtual network topology is mapped.
[0032] Optionally, in the method, updating the environmental status information includes:
[0033] Deleting the currently mapped node or link in the first topology set;
[0034] Marking currently mapped available resources in the second topology set;
[0035] The nodes or links that have completed the current mapping are added to the third topology set.
[0036] Optionally, in the method, after mapping a node of a node set in the virtual network topology and / or mapping a link of a link set in the virtual network topology, the method further comprises:
[0037] Update the remaining computing resources of the corresponding nodes of the node set in the available resource set and the remaining resources of the corresponding links of the link set in the available resource set.
[0038] Optionally, in the method, after mapping a link of the link set in the virtual network topology, the method further comprises:
[0039] Evaluate the survivability value function and reinforcement learning value function of the mapped link respectively to obtain evaluation values;
[0040] The survivability value function includes one or more of path failure recovery time, request acceptance rate and failure recovery rate.
[0041] Optionally, in the method, when the survivability value function includes the path failure recovery time, the following formula is used to evaluate the survivability value function of the mapped link:
[0042]
[0043] Among them, ξ τ It is expressed as the evaluation value of the path failure recovery time; τ w represents the time consumed when the working link is available, τ p Indicates the time consumed by using the protection link corresponding to the working link; Indicates the time when the remap work path is used. The time consumed by the k-th round of remapping.
[0044] Optionally, in the method, when the survivability value function includes a request acceptance rate, the following formula is used to evaluate the survivability value function of the mapped link:
[0045]
[0046] Among them, ξ μ It is expressed as the evaluation value of the request acceptance rate;
[0047] Represents a blocked virtual network request; Represents all virtual network requests.
[0048] Optionally, in the method, when the survivability value function includes a failure recovery rate, the following formula is used to evaluate the survivability value function of the mapped link:
[0049]
[0050] Among them, ξ r It is expressed as the evaluation value of the failure recovery rate;
[0051] represents the number of failures recovered within a finite time, is the total number of failures.
[0052] Optionally, the method, wherein evaluating the reinforcement learning value function comprises: evaluating the reinforcement learning value function using the following formula:
[0053] r=α1*(-λ1ξ τ +λ2ξ μ +λ3ξ r +βω)+α2*r δ ;
[0054] Among them, r is the evaluation value of the reinforcement learning value function; -λ1ξ τ +λ2ξ μ +λ3ξ r +βω represents the long-term survival benefit, λ1,λ2,λ3,β are the coefficients of the model, and ω is the resource utilization rate. δ For short-term survival benefits.
[0055] Optionally, the method further comprises:
[0056] The physical isolation degree DPhi between the working link and the protection link is calculated by the following formula:
[0057]
[0058] Among them, ε1, ε2, and ψ3 are weight parameters used for training. represents the area of the closed line graph between the working link and the protection link; Θ represents the number of intersections between the working link and the protection link in the same time and space, represents the number of common edges between the working link and the protection link; It is represented by a curve formed by connecting the coordinates of the working links in the representation space; It is represented as the curve formed by connecting the coordinates of the protection links in the representation space; ψ s Expressed as the lower limit of link integration; ψ d It is expressed as the upper limit of link integration.
[0059] Optionally, the method, wherein the physical resource to which the virtual network request is mapped is determined according to a preset rule;
[0060] The preset rules include at least one of the following:
[0061] The computing resources of the mapped physical node are greater than the resources required by the service node requested by the virtual network request;
[0062] The degree of the mapped physical node is greater than the degree of the service node requested by the virtual network request;
[0063] The mapped physical link has enough idle spectrum slots to provide services for the virtual network request.
[0064] One embodiment of the present invention further provides a virtual mapping device for a computing power optical network, which includes:
[0065] A first computing unit, used to determine the computing power required for the computing power service to be requested;
[0066] A second computing unit, configured to determine, according to the computing power size, a set of available resources for the computing power service to be requested in the optical network layer;
[0067] A third computing unit, configured to convert the computing power service to be requested into at least one virtual network request; wherein each of the virtual network requests corresponds to a virtual network topology;
[0068] The fourth computing unit is used to determine the physical resources mapped by the virtual network request according to the available resource set and the virtual network topology.
[0069] One embodiment of the present invention further provides a control device, which includes: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the virtual mapping method as described in any one of the above items when executed by the processor.
[0070] One embodiment of the present invention further provides a readable storage medium, wherein the readable storage medium stores a program, and when the program is executed by a processor, the steps in the virtual mapping method as described in any one of the above items are implemented.
[0071] At least one of the above technical solutions of the present invention has the following beneficial effects:
[0072] The virtual mapping method described in the embodiment of the present invention determines the physical resources corresponding to the virtual network request converted by the computing power service to be requested based on the available resource set of the computing power service to be requested in the optical network layer and the virtual network topology corresponding to the virtual network request converted by the computing power service to be requested, thereby linking the computing power network with the optical network, making full use of existing resources for planning and deployment, and realizing the intelligent mapping of the reinforcement learning model between the virtual network and the physical network, thereby achieving the effect of reducing the service blocking rate and improving the survivability of the computing power optical network, resource utilization and user service quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] Figure 1 A schematic diagram of a flow chart of a virtual mapping method according to an embodiment of the present invention;
[0074] Figure 2 A schematic diagram of a network architecture of one implementation of the method described in an embodiment of the present invention;
[0075] Figure 3 A schematic diagram of a mapping process using the method described in an embodiment of the present invention;
[0076] Figure 4 A schematic diagram of a network status of one implementation of the method described in an embodiment of the present invention;
[0077] Figure 5 It is a structural diagram of the virtual mapping device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0078] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0079] In order to realize the association between the computing power network and the optical network, an embodiment of the present invention provides a virtual mapping method of the computing power optical network. According to the available resource set of the computing power service to be requested in the optical network layer, and according to the virtual network topology corresponding to the virtual network request converted by the computing power service to be requested, the physical resources corresponding to the virtual network request converted by the computing power service to be requested are determined, thereby linking the computing power network with the optical network, making full use of the existing resources for planning and allocation, and realizing the intelligent mapping of the reinforcement learning model between the virtual network and the physical network, thereby achieving the effect of reducing the service blocking rate and improving the survivability, resource utilization and user service quality of the computing power optical network.
[0080] One embodiment of the present invention, as Figure 1 As shown, the method includes:
[0081] S110, determining the computing power required for the computing power service to be requested;
[0082] S120, determining a set of available resources in the optical network layer for the computing power service to be requested according to the computing power size;
[0083] S130, converting the computing power service to be requested into at least one virtual network request; wherein each of the virtual network requests corresponds to a virtual network topology;
[0084] S140: Determine the physical resources mapped by the virtual network request according to the available resource set and the virtual network topology.
[0085] In the embodiment of the present invention, the architecture of the system to which the virtual mapping method is applied is as follows: Figure 2 As shown, it can include an optical network layer, a computing power network layer, a virtual request layer and a control layer.
[0086] Among them, the optical network layer can include routers, optical switching nodes and optical fiber links. From the topological structure level, the optical network can be regarded as an undirected connected graph, in which each node can complete functions such as service acquisition, processing and forwarding, and the edges can provide bandwidth resources for service transmission.
[0087] The computing power network layer includes computing power abstraction module, computing power storage module and computing power scheduling module, etc. Each module can be composed of multiple computing power nodes, and computing power nodes are attached to nodes in the optical network. Among them, the computing power abstraction module abstracts computing power from physical devices, caches computing power to the computing power resource pool for storage, and then the computing power scheduling module receives the scheduling instructions issued by the control layer to schedule computing power.
[0088] The virtual request layer includes a virtual request abstraction module and a virtual request mapping module. The virtual request abstraction module is responsible for abstracting the business into a virtual network request. The virtual request mapping module is responsible for receiving and executing mapping commands and mapping the virtual request to the physical environment for execution.
[0089] The control layer includes an optical network control module and an intelligent processing module; optionally, the optical network control module is a software defined optical network (SDN) control unit; the intelligent processing module can be an intelligent mapping unit based on reinforcement learning, which is responsible for mapping corresponding physical resources for virtual network requests.
[0090] The virtual mapping method described in the embodiment of the present invention links the computing power network with the optical network based on the system architecture of the above-mentioned implementation structure.
[0091] Optionally, the control layer is combined with the computing power network layer to determine the computing power service to be requested, and the available resources of the computing power service to be requested in the optical network layer. Furthermore, the virtual request layer abstracts the virtual network request based on the computing power service to be requested, and the control layer receives the virtual network request. The intelligent processing module of the control layer can plan the nodes and links of the virtual network request, wherein the planning includes the mapping of nodes, the mapping of working links, and the mapping of protection links, etc. (that is, determining the virtual network topology corresponding to each virtual network request), and then the SDN controller of the control layer performs mapping in the mapping unit according to the virtual network request. Finally, the optical network layer schedules the corresponding resources in the computing power resource pool according to the received mapping for calculation until the service is completed for all virtual network requests, otherwise the above process is iterated.
[0092] In the embodiment of the present invention, the virtual mapping method includes three stages: computing power abstraction, request virtualization and intelligent mapping.
[0093] Among them, in the computing power abstraction stage, a mathematical model for measuring the computing power size is provided to determine the computing power size required for the computing power service to be requested. This is used to map the computing power size to be requested to the corresponding physical nodes and links based on the determined computing power size required for the computing power service to be requested and the abstracted remaining computing power of the entire network, and configure the protection path.
[0094] Optionally, in an embodiment of the present invention, in the computing power abstraction stage, the computing power required for the computing power service to be requested is determined based on at least one of the storage space occupied by the service, the complexity of the service algorithm, and the computing power of the computing power providing node.
[0095] Specifically, step S110, determining the computing power required for the computing power service to be requested, includes:
[0096] The computing power required by the computing power service to be requested is determined based on at least one of the storage space required to be occupied by the computing power service to be requested, the complexity of the service algorithm, and the computing power of the computing power providing node.
[0097] The step of determining the computing power required for the computing power service to be requested according to at least one of the storage space required to be occupied by the computing power service to be requested, the complexity of the business algorithm, and the computing power of the computing power provider includes:
[0098] According to the storage space required by the computing power service to be requested, the complexity of the business algorithm and the computing power of the computing power provider, the computing power required by the computing power service to be requested is determined using the following formula 1:
[0099] Formula 1:
[0100] Among them, C τis the calculated value of the computing power; ε is the calculated value of the storage space required for the computing power service to be requested; σ is the evaluation value of the complexity of the service algorithm; δ is the evaluation value of the computing power of the computing power providing node.
[0101] Optionally, the storage space required to be occupied by the computing power service to be requested refers to the storage resource overhead required to complete the computing power service to be requested, including the space occupied by the instruction set calculated by the computing power service to be requested and the space occupied by the data of the computing power service to be requested; the calculated value ε of the storage space required to be occupied by the computing power service to be requested can be specifically:
[0102] Formula 2: ε=ε data +ε order ;
[0103] Among them, ε data The space occupied by the data of the computing power service to be requested; order The space occupied by the instruction set calculated for the computing power service to be requested.
[0104] Optionally, ε, ε data and ε order The unit is bit.
[0105] Optionally, the complexity of the business algorithm is a quantitative indicator of the algorithm's time complexity and space complexity.
[0106] Among them, the evaluation value σ of the complexity of the business algorithm can be expressed as:
[0107] Formula 3:
[0108] Among them, (n) is the complexity of the business algorithm; the complexity of the business algorithm is expressed under the condition of polynomial n; k is the order of the highest power of the polynomial of the business algorithm.
[0109] In the embodiment of the present invention, the computing power of the computing power providing node refers to the computing performance of facilities with computing power, such as local computing units, edge servers or cloud servers; such as the performance of CPU, GPU, etc. Among them, the computing power of the computing power providing node can be considered from three dimensions, including the storage space size of the provider ε MAX , calculation rate And parallel computing capabilities As shown in the following formula 4
[0110] Formula 4:
[0111] Among them, δ is the computing power of the node providing computing power, in bps.
[0112] By adopting the above method, by calculating the storage space required for the computing power service to be requested, the complexity of the business algorithm and the computing power of the computing power providing node, the computing power required for the computing power service to be requested can be determined using Formula 1. From the perspective of the cost of the computing power provider providing computing power support to the demander, the calculated value of the computing power size is C τ , the calculation unit is time cost, that is, the consideration of computing power is similar to the form of time cost, and the potential computing cost is also considered at the same time.
[0113] By adopting the method described in the embodiment of the present invention, after abstracting the remaining computing power of the entire network, the computing power required for the computing power service to be requested can be determined based on the above-mentioned method, that is, according to at least one of the storage space required for the computing power service to be requested, the complexity of the service algorithm and the computing power of the computing power providing node, the computing power size and the available resource set of the computing power service to be requested in the optical network layer are determined, and the computing power service to be requested is converted into at least one virtual network request. According to the virtual network topology corresponding to the available resource set and the virtual network request, the control layer is called to perform resource mapping, and the computing power service to be requested is mapped to physical nodes and links. At the same time, a protection path is configured, and the computing power of the physical entity is called according to the mapping rules to serve the service. After completion, the above process is repeated to schedule computing power for other services.
[0114] Optionally, after abstracting computing power for a physical node, its remaining resources are cached in a computing power resource pool for simple storage to facilitate subsequent scheduling. In addition, the concepts of storage space, computing efficiency, etc. mentioned in the present invention are described from the perspective of units and are not limited to the type of computing tasks, the model of computing equipment, or the choice of storage method.
[0115] Furthermore, the virtual mapping method described in the embodiment of the present invention, through step S130, abstracts the computing power service to be requested into at least one virtual network request to achieve request virtualization.
[0116] Specifically, the virtual mapping method described in the embodiment of the present invention is adopted to construct a virtual network request for the computing power service to be requested by establishing a request virtualization model based on computing power, wherein the virtual network request includes a topology structure and computing power requirements.
[0117] Optionally, each virtual network request corresponds to a virtual network topology, and the virtual network topology includes a node set corresponding to the virtual network request, a link set corresponding to the virtual network request, computing power resources required by the node corresponding to the virtual network request, and a weight value of the link corresponding to the virtual network request.
[0118] The virtual network request established based on the above method corresponds to two levels: edge and node.
[0119] In one embodiment, the method further comprises:
[0120] Determine the computing power resources C required by the node corresponding to the virtual network request according to the following formula 5 τ :
[0121] Formula 5:
[0122] in, The computing power required for the i-th node in the node set corresponding to the virtual network request to execute the requested computing power service; k is the number of nodes included in the node set.
[0123] Specifically, the nodes in the virtual network topology are individuals that generate business needs, and k nodes constitute a node set, where C τ It is the computing power resources required by all k nodes in the virtual network topology.
[0124] The edges in the virtual network topology are link resources required for communication between nodes. The edges in the virtual network topology can also be called links, and the weights on the edges or links are communication costs such as the distance between nodes.
[0125] The communication cost of the edge in the virtual network topology mainly considers the distance between nodes in the optical network. In addition, the comprehensive cost of the edge can also be weighed according to the service characteristics, etc. In the embodiment of the present invention, the weight value of the link corresponding to the virtual network request is determined based on the size of the spectrum resources occupied by the service transmitted on the edge and the link length.
[0126] According to the above, in an embodiment of the present invention, optionally, the method further includes:
[0127] The weight value of the link corresponding to the virtual network request is determined according to the following formula 6:
[0128] Formula 6: in, represents the weight value of the lth edge in the virtual network topology of the sth virtual network request, D l is the length of the lth side, represents the bandwidth occupied by the i-th service on the l-th link, and μ1 is the model coefficient.
[0129] Optionally, bandwidth It is proportional to the size of the space occupied by the corresponding business computing power. The relationship between the two can be expressed as follows:
[0130] Formula 7:
[0131] Among them, β is the coefficient, The storage space occupied by the i-th service on the l-th link.
[0132] According to the above, using the virtual mapping method described in the embodiment of the present invention, the virtual network topology of the virtual network request is expressed as:
[0133] Among them, N s is the node set requested by the sth virtual network, E s The link set requested for the sth virtual network, The amount of computing power required to execute the sth virtual network request, The weight value of the lth edge in the virtual network topology requested by the sth virtual network.
[0134] By adopting the virtual mapping method described in the embodiment of the present invention, after the computing power abstraction and request virtualization process of the above steps S110 to S130, intelligent resource mapping is further performed according to the determined available resource set of the computing power service to be requested in the optical network layer and the virtual network topology corresponding to the virtual network request converted by the computing power service to be requested. Figure 2 As shown, intelligent resource mapping can be performed by using a reinforcement learning algorithm through the control layer in the computing power optical network. Among them, when performing intelligent resource mapping, the intelligent processing module of the control layer can be used to integrate data and map appropriate physical nodes and links to virtual nodes and virtual links. Optionally, the optical network control module in the control layer is responsible for controlling the unloading and calculation of each service according to the mapping rules. Among them, the optical network control module can be an SDN controller, which is used to achieve data and control separation, and is very suitable for application in this scenario.
[0135] In addition, in an embodiment of the present invention, a reinforcement learning algorithm is used for intelligent resource mapping, wherein the reinforcement learning algorithm is an interaction process between an intelligent agent and an environment, wherein the intelligent agent takes an action or makes a decision, and the environment gives a reward, and the intelligent agent is continuously trained, so that the reward value converges to a maximum value within a limited time.
[0136] Among them, by performing intelligent resource mapping through the reinforcement learning algorithm, the corresponding virtual network request can be mapped to the appropriate physical resource, and the mapping includes node mapping and edge mapping.
[0137] In an embodiment of the present invention, optionally, in step S120, when determining the available resource set for the computing power service to be requested in the optical network layer based on the computing power required for the computing power service to be requested, the determined available resource set includes a set of nodes in the optical network layer that can provide services for the computing power service to be requested, a set of links in the optical network layer that can provide services for the computing power service to be requested, the remaining computing power resources of the nodes in the optical network layer that can provide services for the computing power service to be requested, and the remaining carrying weight of the links in the optical network layer that can provide services for the computing power service to be requested.
[0138] Specifically, the available resource set can be expressed as: Among them, N p is the set of nodes in the optical network layer that can provide services for the requested computing power business. p is a set of links in the optical network layer that can provide services for the computing power service to be requested, The remaining computing resources of the nodes in the optical network layer that can provide services for the computing services to be requested. It is the remaining bearing weight of the link in the optical network layer that can provide services for the computing power business to be requested.
[0139] In the embodiment of the present invention, optionally, in step S140, determining the physical resource mapped by the virtual network request according to the available resource set and the virtual network topology includes:
[0140] Select a node of the node set in the available resource set, map each node of the node set in the virtual network topology using an action set in a reinforcement learning method, and determine a node in the physical resource to which the virtual network requests to be mapped;
[0141] Select a link of the link set in the available resource set, map each link of the link set in the virtual network topology using the action set in the reinforcement learning method, and determine the link in the physical resource that the virtual network requests to be mapped; wherein the mapped link includes a working link and a protection link.
[0142] Optionally, the action set in the above reinforcement learning method Includes elements such as action, environment and rewards.
[0143] Wherein, when selecting a node of the node set in the available resource set, mapping each node of the node set in the virtual network topology, and determining a node in the physical resource mapped by the virtual network request, traversing the virtual network request V s For all virtual nodes of the corresponding virtual network topology, for each index, the virtual node can select the physical resource G p (Available resource set G p), the virtual node is selected by using the action set in the reinforcement learning method For example, if there are n nodes in the virtual network topology, the available resource set G p There are m nodes in , then in each round of reinforcement learning, the action set At each step, it is a 1*m vector. The round in the reinforcement learning refers to the completion of the mapping of all nodes and edges for the virtual network request, where the mapping of each node is a step in the round. Similarly, the mapping of the edge is also a step in the round.
[0144] Optionally, the mapping of each node performed may include a mapping of working nodes and / or a mapping of protection nodes.
[0145] Optionally, the edge mapping performed may include mapping of working paths and / or mapping of protection paths. It is a two-tuple that maps the working path (working link) and the protection path (protection link) for the edge.
[0146] Optionally, using the method described in the embodiment of the present invention, after mapping a node of the node set in the virtual network topology and / or mapping a link of the link set in the virtual network topology, the method further includes:
[0147] Updating the value function and the environment status information to obtain an updated value function and an updated environment status information; the environment status information includes a first topology set of unmapped virtual network requests, a second topology set of unmapped available resource sets, and a third topology set of mapped virtual network requests;
[0148] According to the updated value function and the updated environment status information, the next node of the node set in the virtual network topology is mapped, and / or the next link of the link set in the virtual network topology is mapped.
[0149] Optionally, in the embodiment of the present invention, updating the environmental status information includes:
[0150] Deleting the currently mapped node or link in the first topology set;
[0151] Marking currently mapped available resources in the second topology set;
[0152] The nodes or links that have completed the current mapping are added to the third topology set.
[0153] By using the virtual mapping method described in the embodiment of the present invention, after mapping a node of the node set in the virtual network topology and / or mapping a link of the link set in the virtual network topology, the value function and the environmental status information are updated to obtain an updated value function and an updated environmental status information, which are used to map the next node of the node set in the virtual network topology and / or map the next link of the link set in the virtual network topology.
[0154] The environment state information can be expressed as a topology set. During the mapping process, the environment state information can include three topology sets:
[0155] The first topology set of unmapped virtual network requests, such as denoted as V s Waiting ;
[0156] The second topological set of unmapped available resource sets is represented as
[0157] The third topological set of completed mapping is represented as
[0158] After a node or link is mapped, it is necessary to s Waiting Delete the corresponding node or link in the second topology set; Mark the physical resource mapped to the node or link; add the corresponding mapped nodes or links to the third topology set, and iterate repeatedly until all actions in each round of reinforcement learning are completed.
[0159] In another implementation manner of the embodiment of the present invention, after mapping a node of a node set in the virtual network topology and / or mapping a link of a link set in the virtual network topology, the method further includes:
[0160] Update the remaining computing resources of the corresponding nodes of the node set in the available resource set and the remaining resources of the corresponding links of the link set in the available resource set.
[0161] In this implementation, the environment status information is expressed as a remaining resource set, including the remaining computing resources of the corresponding nodes of the node set in the available resource set and the remaining resources of the corresponding links of the link set in the available resource set, wherein the remaining resource set can be expressed as
[0162] With this implementation, when a node or link completes mapping, it needs to be updated in the remaining resource set, and each time the corresponding virtual network request is completed, the corresponding resource is released.
[0163] In addition, the virtual mapping method described in the embodiment of the present invention, when determining the physical resources mapped by the virtual network request, uses a reinforcement learning agent to adopt an asynchronous advantage actor-critic algorithm (A3C) to learn action and state value functions, and focuses on the survivability of the computing power network when considering the value function.
[0164] The survivability value function includes one or more of path failure recovery time, request acceptance rate and failure recovery rate.
[0165] Based on, in the method described in the embodiment of the present invention, after mapping a link of the link set in the virtual network topology, the method further includes:
[0166] Evaluate the survivability value function and reinforcement learning value function of the mapped link respectively to obtain evaluation values;
[0167] The survivability value function includes one or more of path failure recovery time, request acceptance rate and failure recovery rate.
[0168] Specifically, the path failure recovery time ξ τ It refers to the extra time cost consumed by taking the protection path or remapping when the working path fails.
[0169] Optionally, when the survivability value function includes the path failure recovery time, the following formula 8 is used to evaluate the survivability value function of the mapped link:
[0170] Formula 8:
[0171] Among them, ξ τ It is expressed as the evaluation value of the path failure recovery time; τ w represents the time consumed when the working link is available, τ p Indicates the time consumed by using the protection link corresponding to the working link; Indicates the time when the remap work path is used. The time consumed by the k-th round of remapping; and They are flag bits whose initialization values are 0.
[0172] Among them, when the working link is not faulty, set the flag When the working link fails, if the protection link is available, the flag is set. is 0. Where τ w represents the time consumed when the working link is available, τ pIndicates the time consumed by using the protection link corresponding to the working link. When the protection link is also unavailable, if remapping is adopted, a new set of <working, protection> paths is generated. =1, the corresponding recovery time is the time of using the link minus the time of normal operation of the original link plus the time of rerouting, where Indicates the time when the remap work path is used. The time consumed by the kth round of remapping. If the remapping still does not meet the requirements, it is necessary to remap again or discard the service.
[0173] Similarly, if the remapped protection link can work, then is 0 and is 1. When the values of all tags are 0, If it is 0, the recovery time tends to infinity and the request is blocked.
[0174] In the embodiment of the present invention, when the survivability value function includes the request acceptance rate, the following formula 9 is used to evaluate the survivability value function of the mapped link:
[0175] Formula 9:
[0176] Among them, ξ μ It is expressed as the evaluation value of the request acceptance rate;
[0177] Represented as the number of blocked virtual network requests; Represents the total number of virtual network requests.
[0178] In the embodiment of the present invention, when the survivability value function includes a failure recovery rate, the following formula 10 is used to evaluate the survivability value function of the mapped link:
[0179] Formula 10:
[0180] Among them, ξ r It is expressed as the evaluation value of the failure recovery rate;
[0181] represents the number of failures recovered within a finite time, is the total number of failures.
[0182] Specifically, the failure recovery rate ξ r It is used to indicate the recovery success rate of protecting resources and remapping when the original working link and node fail.
[0183] In the embodiment of the present invention, optionally, evaluating the reinforcement learning value function includes: using the following formula 11 to evaluate the reinforcement learning value function:
[0184] Formula 11: r = α1*(-λ1ξ τ +λ2ξ μ +λ3ξ r +βω)+α2*r δ ;
[0185] In the embodiment of the present invention, the reinforcement learning value function r is proposed for survivability considerations, wherein r is the evaluation value of the reinforcement learning value function; -λ1ξ τ +λ2ξ μ +λ3ξ r +βω represents the long-term survival benefit, λ1, λ2, λ3, β are the coefficients of the model, and ω is the resource utilization rate. α1, α2 are the coefficients, r δ For short-term survivability benefits, the availability is mainly considered for node mapping. Since node mapping is related to the next link mapping, more attention is paid to its exploration at the algorithm level. For link mapping, the physical isolation between the <working, protection> paths, the transmission delay of the working path, the consumption delay of the protection path, and the congestion of the link spectrum resources are mainly considered.
[0186] Alternatively, the short-term survival benefit r δ The function can be expressed by the following formula:
[0187] Formula 12:
[0188] Where χ is the node availability, which indicates the impact of the mapped node on subsequent links. is a parameter, DPhi is the physical isolation between the working link and the protection link, τ w is the transmission delay of the working link, τ p To protect the link consumption delay, when the corresponding mapping is node mapping, J0 is set to 1 and J1 is set to 0. Similarly, if the corresponding mapping is link mapping, J0 is set to 0 and J1 is set to 1.
[0189] Optionally, the method further comprises:
[0190] The physical isolation degree DPhi between the working link and the protection link is calculated by the following formula 13:
[0191] Formula 13:
[0192] Among them, ε1, ε2, and ε3 are weight parameters used for training. represents the area of the closed line graph between the working link and the protection link, which is used to approximately represent the relative distance; Θ represents the number of intersections in the same space and time between the working link and the protection link, represents the number of common edges between the working link and the protection link; It is represented by a curve formed by connecting the coordinates of the working links in the representation space; It is represented as the curve formed by connecting the coordinates of the protection links in the representation space; ψ s Expressed as the lower limit of link integration; ψ d It is expressed as the upper limit of link integration.
[0193] In the method described in the embodiment of the present invention, when reinforcement learning is used for resource mapping, the update gradient of the algorithm is calculated using the following formula 14:
[0194] Formula 14:
[0195] in, is the updated gradient of the algorithm; represents the probability of taking the corresponding mapping action in this state; n represents the number of neural networks used for calculation; is expressed as a function of that state; Represents the corresponding mapping action; T n is represented by the corresponding viewing time; It is expressed as a value function, and the specific calculation method is shown in Formula 11; is the action value function under the corresponding state at the moment.
[0196] Optionally, Update according to formula 11, where Determine according to formula 15:
[0197] Formula 15:
[0198] Among them, a represents action; A represents action set;. It is expressed as a state value function, and the specific calculation method is as shown in the following formula 10.
[0199] Optionally, Determined according to the following formula:
[0200] Formula 16:
[0201] Among them, U t The determination method of is shown in the following formula 17; S t Represented as a state table at time t; A t Represents the action at time t.
[0202] Specifically, U t Determined according to the following formula:
[0203] Formula 17: U t =r t +γr t+1 +γ 2 r t+2 +γ 3 r t+3 +…;
[0204] Where γ is the discount factor.
[0205] In the embodiment of the present invention, the virtual mapping method needs to meet resource constraints, including constraints on computing resources and spectrum resources. Specifically:
[0206] The computing resources of the mapped physical node should not be less than the resources required by the virtual requesting node;
[0207] The degree of the mapped physical node should be no less than the degree of the virtual request node;
[0208] The mapped physical links should have enough free spectrum slots to serve the virtual network requests.
[0209] The above constraints can be expressed by the following formula 18, where if the mapping action does not satisfy the constraints, the reward obtained by the agent is an unacceptable minimum value.
[0210] Formula 18:
[0211] Among them The operator represents the calculation of the degree of the node.
[0212] That is, specifically: in step S140, according to a preset rule, the physical resource to which the virtual network request is mapped is determined;
[0213] The preset rules include at least one of the following:
[0214] The computing resources of the mapped physical node are greater than the resources required by the service node requested by the virtual network request;
[0215] The degree of the mapped physical node is greater than the degree of the service node requested by the virtual network request;
[0216] The mapped physical link has enough idle spectrum slots to provide services for the virtual network request.
[0217] Based on the above description, Figure 3Taking the network architecture shown, the computing power resources are attached to the nodes of the optical network, the reinforcement learning agent in the intelligent processing unit of the control layer realizes mapping, and the SDN controller sends instructions to realize the intelligent mapping task of the virtual network request as an example to illustrate the specific implementation process of the virtual mapping method described in the embodiment of the present invention.
[0218] Using the virtual mapping method described in the embodiment of the present invention, combined with Figure 2 and 3 As shown in the figure, after the control layer obtains the computing power service to be requested, the external environment Environment clears the existing computing power resources of the network, determines the available resource set, and transmits the current state of the computing power resources to the intelligent agent; the agent receives the return of the decision in the previous state, the virtual network request corresponding to the computing power service to be requested, and the current network state, determines the decision to map the physical resources, and transmits the decision action to the SDN controller and Environment respectively. The SDN controller maps the physical resources for the virtual nodes and virtual links of the virtual network topology corresponding to the virtual network request one by one according to the decision of the intelligent agent, and releases the corresponding computing and storage resources after mapping.
[0219] Taking the computing service to be requested as video phone as an example, the node set of the computing service to be requested includes nodes A, B and C. Figure 4 As shown, each node forms a link connected to each other. In the virtual network topology, the degree of each node is 2, and the video phone service needs to occupy 10 spectrum slots and 3 computing resources.
[0220] according to Figure 4 In the physical resources of the optical network, the nodes in the available resource set include nodes 1 to 6, and the corresponding computing resources can be recorded as [20, 80, 100, 40, 40, 40], and the degrees of the nodes correspond to [1, 3, 4, 2, 2, 2]. The link set composed of each node includes edge L12, edge L23, edge L26, edge L34, edge L35, edge L36 and edge L45, a total of seven, which can be arranged and combined into different links. The maximum number of blank continuous spectrum slots remaining in the edge is [5, 20, 15, 25, 21, 18, 30].
[0221] According to the resource constraints that the virtual mapping method needs to meet, determine the available optical network physical resource set that meets the constraints for:
[0222]
[0223] Here, e(·) represents the set of links consisting of the edges in (·).
[0224] Among them, the unmapped virtual network request for:
[0225]
[0226] Here, LAB represents the set of links that can connect A and B. Similarly, LAC and LBC represent the set of links that connect A and C, and B and C, respectively.
[0227] According to the method of the embodiment of the present invention, the set of mapped The initial state is an empty set, and the vector As input vector X t , through the LSTM neural network, the historical information is filtered through the forget gate, and finally the output is h with better generalization t As the environment state vector The ψ refers to other information in the network, such as the degree of the node, etc., and n refers to the different intelligent agents performing learning.
[0228] The obtained environment state vector Input into the reinforcement learning agent (A3C), and perform the corresponding action at this moment. For the node, let the strategy π taken for node A be
[0229] π N =[0.35,0.25,0.05,0.15,0.20];
[0230] According to calculations, the probability of mapping to node 2 is the highest.
[0231] According to Formula 14, after adopting strategy π, the value function is updated using the gradient descent strategy as shown below:
[0232]
[0233] After updating and adjusting the parameters according to the above-mentioned gradient descent strategy, the next node is mapped.
[0234] Furthermore, after mapping node A to node 2, the environment status information will change, where Node 2 needs to be marked. Remove node A from {A->(2)} is added in , θ is the strategy of mapping nodes first and then links, and then repeat the above process of mapping node A to map nodes B and C. After completing the mapping of nodes, perform π actions in the available link set to perform corresponding link mapping.
[0235] Specifically, the link mapping includes the mapping of the working path and the protection path. The intelligent agent maps the working path and the protection path for the link at the same time. If the above node mapping is completed The elements in are {{A->(2)},B->(6),C->(5)}, then the set of candidate paths for link mapping A->B is Then the strategy π can be expressed as
[0236] π l =[(0.35,0.33),(0.45,0.23),(0.10,0.26),(0.10,0.18)];
[0237] It can be seen that the probability of the working path being mapped to the link {(2)→(3)→(6)} is the highest, and the probability of the protection path being mapped to {(2)→(6)} is the highest.
[0238] Furthermore, after mapping the link {A->B} in the virtual network request to the optical network physical link {(2)->(3)->(6)}, the environment status information will change. In the case where the links {(2)→(3)→(6)} and {(2)→(6)} are marked, Remove the {A->B} link from Add Mapping pairs, and update the consumed spectrum resources and computing power resources at the corresponding time. Then repeat the above mapping process of link {A->B} to map links {A->C} and {B->C}. After completing the mapping of working links and protection links, update the parameters according to the process of A3C algorithm to find a better π * , until the next virtual network request arrives, repeat the above process to perform intelligent virtual mapping for it.
[0239] By adopting the virtual mapping method described in the embodiment of the present invention, the existing network physical resources are fully utilized for planning and deployment, the computing power is defined by comprehensively considering the storage space occupied by the service, the complexity of the service algorithm and the computing power of the computing power provider, and a unified computing power quantification method is given, which provides a basis for resource planning and scheduling of the computing power network; in addition, by mapping appropriate physical resources for virtual network requests, appropriate mapping and remapping of working links and protection links are given in NP scenarios to improve the survivability, resource utilization and user service quality of the computing power optical network within a limited algorithm time; the reinforcement learning method of asynchronous actor commentator is applied to construct a neural network architecture, provide a full-range and multi-level intelligent mapping strategy, and have the ability to update in real time and carry large-capacity multi-access network requests.
[0240] At the level of constructing the value function in reinforcement learning, the long-term and short-term benefits of this mapping on the survivability of the computing power optical network are considered. The long-term benefits comprehensively consider the recovery time, request acceptance rate, fault recovery rate and resource utilization rate. The short-term benefits comprehensively consider the node availability and its impact on route selection, as well as the physical isolation and transmission delay between the working path and the protection path, so that the intelligent agent can more fully understand the performance of the computing power optical network in this state and more comprehensively guarantee the survivability requirements.
[0241] Another embodiment of the present invention further provides a virtual mapping device for a computing power optical network, such as Figure 5 As shown, including:
[0242] The first computing unit 510 is used to determine the computing power required by the computing power service to be requested;
[0243] A second calculation unit 520 is used to determine a set of available resources for the computing power service to be requested in the optical network layer according to the computing power size;
[0244] The third computing unit 530 is used to convert the computing power service to be requested into at least one virtual network request; wherein each of the virtual network requests corresponds to a virtual network topology;
[0245] The fourth calculation unit 540 is used to determine the physical resources mapped by the virtual network request according to the available resource set and the virtual network topology.
[0246] Optionally, in the virtual mapping device, the first computing unit 510 determines the computing power required for the computing power service to be requested, including:
[0247] The computing power required by the computing power service to be requested is determined based on at least one of the storage space required to be occupied by the computing power service to be requested, the complexity of the service algorithm and the computing power of the computing power providing node.
[0248] Optionally, in the virtual mapping device, the first computing unit 510 determines the computing power required for the computing power service to be requested according to at least one of the storage space required to be occupied by the computing power service to be requested, the complexity of the business algorithm, and the computing power of the computing power provider, including:
[0249] According to the storage space required by the computing power service to be requested, the complexity of the business algorithm and the computing power of the computing power provider, the computing power required by the computing power service to be requested is determined by the following formula:
[0250]
[0251] Among them, C τis the calculated value of the computing power; ε is the calculated value of the storage space required for the computing power service to be requested; σ is the evaluation value of the complexity of the service algorithm; δ is the evaluation value of the computing power of the computing power providing node.
[0252] Optionally, the virtual mapping device, wherein the virtual network topology includes a node set corresponding to the virtual network request, a link set corresponding to the virtual network request, computing power resources required by the nodes corresponding to the virtual network request, and a weight value of the link corresponding to the virtual network request.
[0253] Optionally, in the virtual mapping device, the third computing unit 530 is further configured to:
[0254] Determine the computing power resources C required by the node corresponding to the virtual network request according to the following formula τ :
[0255]
[0256] in, The computing power required for the i-th node in the node set corresponding to the virtual network request to execute the requested computing power service; k is the number of nodes included in the node set.
[0257] Optionally, in the virtual mapping device, the third computing unit 530 is further configured to:
[0258] The weight value of the link corresponding to the virtual network request is determined according to the following formula:
[0259]
[0260] in, represents the weight value of the lth edge in the virtual network topology of the sth virtual network request, D l is the length of the lth side, represents the bandwidth occupied by the i-th service on the l-th link, and μ1 is the model coefficient.
[0261] Optionally, the virtual mapping device, wherein the set of available resources includes a set of nodes in the optical network layer that can provide services for the computing power service to be requested, a set of links in the optical network layer that can provide services for the computing power service to be requested, the remaining computing power resources of the nodes in the optical network layer that can provide services for the computing power service to be requested, and the remaining carrying weight of the links in the optical network layer that can provide services for the computing power service to be requested.
[0262] Optionally, in the virtual mapping device, the fourth computing unit 540 determines the physical resources to be mapped by the virtual network request according to the available resource set and the virtual network topology, including:
[0263] Select a node of the node set in the available resource set, map each node of the node set in the virtual network topology using an action set in a reinforcement learning method, and determine a node in the physical resource to which the virtual network requests to be mapped;
[0264] Select a link of the link set in the available resource set, map each link of the link set in the virtual network topology using the action set in the reinforcement learning method, and determine the link in the physical resource that the virtual network requests to be mapped; wherein the mapped link includes a working link and a protection link.
[0265] Optionally, in the virtual mapping device, after mapping a node of a node set in the virtual network topology and / or mapping a link of a link set in the virtual network topology, the fourth computing unit 540 is further configured to:
[0266] Updating the value function and the environment status information to obtain an updated value function and an updated environment status information; the environment status information includes a first topology set of unmapped virtual network requests, a second topology set of unmapped available resource sets, and a third topology set of mapped virtual network requests;
[0267] According to the updated value function and the updated environment status information, the next node of the node set in the virtual network topology is mapped, and / or the next link of the link set in the virtual network topology is mapped.
[0268] Optionally, in the virtual mapping device, the fourth computing unit 540 updates the environment status information, including:
[0269] Deleting the currently mapped node or link in the first topology set;
[0270] Marking currently mapped available resources in the second topology set;
[0271] The nodes or links that have completed the current mapping are added to the third topology set.
[0272] Optionally, in the virtual mapping device, after mapping a node of a node set in the virtual network topology and / or mapping a link of a link set in the virtual network topology, the fourth computing unit 540 is further configured to:
[0273] Update the remaining computing resources of the corresponding nodes of the node set in the available resource set and the remaining resources of the corresponding links of the link set in the available resource set.
[0274] Optionally, in the virtual mapping device, after mapping a link of the link set in the virtual network topology, the fourth computing unit 540 is further configured to:
[0275] Evaluate the survivability value function and reinforcement learning value function of the mapped link respectively to obtain evaluation values;
[0276] The survivability value function includes one or more of path failure recovery time, request acceptance rate and failure recovery rate.
[0277] Optionally, in the virtual mapping device, when the survivability value function includes the path failure recovery time, the fourth calculation unit 540 uses the following formula to evaluate the survivability value function of the mapped link:
[0278]
[0279] Among them, ξ τ It is expressed as the evaluation value of the path failure recovery time; τ w represents the time consumed when the working link is available, τ p Indicates the time consumed by using the protection link corresponding to the working link; Indicates the time when the remap work path is used. The time consumed by the k-th round of remapping.
[0280] Optionally, in the virtual mapping device, when the survivability value function includes a request acceptance rate, the fourth calculation unit 540 uses the following formula to evaluate the survivability value function of the mapped link:
[0281]
[0282] Among them, ξ μ It is expressed as the evaluation value of the request acceptance rate;
[0283] Represents a blocked virtual network request; Represents all virtual network requests.
[0284] Optionally, in the virtual mapping device, when the survivability value function includes a failure recovery rate, the fourth calculation unit 540 uses the following formula to evaluate the survivability value function of the mapped link:
[0285]
[0286] Among them, ξ r It is expressed as the evaluation value of the failure recovery rate;
[0287] represents the number of failures recovered within a finite time, is the total number of failures.
[0288] Optionally, in the virtual mapping device, the fourth calculation unit 540 evaluates the reinforcement learning value function, including: using the following formula to evaluate the reinforcement learning value function:
[0289] r=α1*(-λ1ξ τ +λ2ξ μ +λ3ξ r +βω)+α2*r δ ;
[0290] Among them, r is the evaluation value of the reinforcement learning value function; -λ1ξ τ +λ2ξ μ +λ3ξ r +βω represents the long-term survival benefit, λ1,λ2,λ3,β are the coefficients of the model, and ω is the resource utilization rate. δ For short-term survival benefits.
[0291] Optionally, in the virtual mapping device, the fourth calculation unit 540 is further used for:
[0292] The physical isolation degree DPhi between the working link and the protection link is calculated by the following formula:
[0293]
[0294] Among them, ε1, ε2, and ε3 are weight parameters used for training. represents the area of the closed line graph between the working link and the protection link; Θ represents the number of intersections between the working link and the protection link in the same time and space, represents the number of common edges between the working link and the protection link; It is represented by a curve formed by connecting the coordinates of the working links in the representation space; It is represented as the curve formed by connecting the coordinates of the protection links in the representation space; ψ s Expressed as the lower limit of link integration; ψ d It is expressed as the upper limit of link integration.
[0295] Optionally, in the virtual mapping device, the fourth calculation unit 540 determines the physical resource to which the virtual network requests mapping according to a preset rule;
[0296] The preset rules include at least one of the following:
[0297] The computing resources of the mapped physical node are greater than the resources required by the service node requested by the virtual network request;
[0298] The degree of the mapped physical node is greater than the degree of the service node requested by the virtual network request;
[0299] The mapped physical link has enough idle spectrum slots to provide services for the virtual network request.
[0300] One embodiment of the present invention further provides a control device, which includes: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the virtual mapping method as described in any one of the above items when executed by the processor.
[0301] For the specific implementation manner of the processor of the control device executing the virtual mapping method, please refer to the above detailed description of the virtual mapping method, which will not be repeated here.
[0302] In addition, a specific embodiment of the present invention further provides a readable storage medium on which a computer program is stored, wherein the program, when executed by a processor, implements the steps in any one of the virtual mapping methods described above.
[0303] Specifically, the readable storage medium is applied to the above-mentioned control device. When applied to the control device, the execution steps in the corresponding virtual mapping method are as described in detail above and will not be repeated here.
[0304] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0305] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0306] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the sending and receiving methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.
[0307] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A virtual mapping method for a computing power optical network, characterized in that: include: Determine the amount of computing power required for the computing power service to be requested; Determine, according to the computing power, a set of available resources for the computing power service to be requested in the optical network layer; Convert the computing power service to be requested into at least one virtual network request; wherein each of the virtual network requests corresponds to a virtual network topology; The physical resources to which the virtual network request is mapped are determined according to the available resource set and the virtual network topology.
2. The method according to claim 1, characterized in that: The step of determining the computing power required for the computing power service to be requested includes: The computing power required by the computing power service to be requested is determined based on at least one of the storage space required to be occupied by the computing power service to be requested, the complexity of the service algorithm and the computing power of the computing power providing node.
3. The method according to claim 2, characterized in that Determining the computing power required for the computing power service to be requested according to at least one of the storage space required to be occupied by the computing power service to be requested, the complexity of the business algorithm, and the computing power of the computing power provider, including: According to the storage space required by the computing power service to be requested, the complexity of the business algorithm and the computing power of the computing power provider, the computing power required by the computing power service to be requested is determined by the following formula: Among them, C τ is the calculated value of the computing power; ε is the calculated value of the storage space required for the computing power service to be requested; σ is the evaluation value of the complexity of the service algorithm; δ is the evaluation value of the computing power of the computing power providing node.
4. The method according to claim 1, characterized in that: The virtual network topology includes a node set corresponding to the virtual network request, a link set corresponding to the virtual network request, computing resources required by the nodes corresponding to the virtual network request, and weight values of the links corresponding to the virtual network request.
5. The method according to claim 4, characterized in that The method further comprises: Determine the computing power resources C required by the node corresponding to the virtual network request according to the following formula τ : in, The computing power required for the i-th node in the node set corresponding to the virtual network request to execute the requested computing power service; k is the number of nodes included in the node set.
6. The method according to claim 4, characterized in that The method further comprises: The weight value of the link corresponding to the virtual network request is determined according to the following formula: in, represents the weight value of the lth edge in the virtual network topology of the sth virtual network request, D l is the length of the lth side, represents the bandwidth occupied by the i-th service on the l-th link, and μ1 is the model coefficient.
7. The method according to claim 1, characterized in that The set of available resources includes a set of nodes in the optical network layer that can provide services for the computing power service to be requested, a set of links in the optical network layer that can provide services for the computing power service to be requested, the remaining computing power resources of the nodes in the optical network layer that can provide services for the computing power service to be requested, and the remaining carrying weight of the links in the optical network layer that can provide services for the computing power service to be requested.
8. The method according to claim 4, characterized in that Determining the physical resource mapped by the virtual network request according to the available resource set and the virtual network topology includes: Select a node of the node set in the available resource set, map each node of the node set in the virtual network topology using an action set in a reinforcement learning method, and determine a node in the physical resource to which the virtual network requests to be mapped; Select a link of the link set in the available resource set, map each link of the link set in the virtual network topology using the action set in the reinforcement learning method, and determine the link in the physical resource that the virtual network requests to be mapped; wherein the mapped link includes a working link and a protection link.
9. The method according to claim 8, characterized in that After mapping a node of a node set in the virtual network topology and / or mapping a link of a link set in the virtual network topology, the method further includes: Updating the value function and the environment status information to obtain an updated value function and an updated environment status information; the environment status information includes a first topology set of unmapped virtual network requests, a second topology set of unmapped available resource sets, and a third topology set of mapped virtual network requests; According to the updated value function and the updated environment status information, the next node of the node set in the virtual network topology is mapped, and / or the next link of the link set in the virtual network topology is mapped.
10. The method according to claim 9, characterized in that Updates to the environment status information include: Deleting the currently mapped node or link in the first topology set; Marking currently mapped available resources in the second topology set; The nodes or links that have completed the current mapping are added to the third topology set.
11. The method according to claim 8, characterized in that After mapping a node of a node set in the virtual network topology and / or mapping a link of a link set in the virtual network topology, the method further includes: Update the remaining computing resources of the corresponding nodes of the node set in the available resource set and the remaining resources of the corresponding links of the link set in the available resource set.
12. The method according to claim 8, characterized in that After mapping a link of the link set in the virtual network topology, the method further includes: Evaluate the survivability value function and reinforcement learning value function of the mapped link respectively to obtain evaluation values; The survivability value function includes one or more of path failure recovery time, request acceptance rate and failure recovery rate.
13. The method according to claim 12, characterized in that: When the survivability value function includes the path failure recovery time, the following formula is used to evaluate the survivability value function of the mapped link: Among them, ξ τ It is expressed as the evaluation value of the path failure recovery time; τ w represents the time consumed when the working link is available, τ p Indicates the time consumed by using the protection link corresponding to the working link; Indicates the time when the remap work path is used. The time consumed by the k-th round of remapping.
14. The method according to claim 12, characterized in that When the survivability value function includes the request acceptance rate, the following formula is used to evaluate the survivability value function of the mapped link: Among them, ξ μ It is expressed as the evaluation value of the request acceptance rate; Represents a blocked virtual network request; Represents all virtual network requests.
15. The method according to claim 12, characterized in that When the survivability value function includes the failure recovery rate, the following formula is used to evaluate the survivability value function of the mapped link: Among them, ξ r It is expressed as the evaluation value of the failure recovery rate; represents the number of failures recovered within a finite time, is the total number of failures.
16. The method according to claim 12, characterized in that The reinforcement learning value function is evaluated, including: using the following formula to evaluate the reinforcement learning value function: r=α1*(-λ1ξ τ +λ2ξ μ +λ3ξ r +bω)+a2*r δ ; Among them, r is the evaluation value of the reinforcement learning value function; -λ1ξ τ +λ2ξ μ +λ3ξ r +βω represents the long-term survival benefit, λ1,λ2,λ3,β are the coefficients of the model, and ω is the resource utilization rate. δ For short-term survival benefits.
17. The method according to claim 8, characterized in that The method further comprises: The physical isolation degree DPhi between the working link and the protection link is calculated by the following formula: Among them, ε1, ε2, and ε3 are weight parameters used for training. represents the area of the closed line graph between the working link and the protection link; Θ represents the number of intersections between the working link and the protection link in the same time and space, represents the number of common edges between the working link and the protection link; It is represented by a curve formed by connecting the coordinates of the working links in the representation space; It is represented as the curve formed by connecting the coordinates of the protection links in the representation space; ψ s Expressed as the lower limit of link integration; ψ d It is expressed as the upper limit of link integration.
18. The method according to claim 1, characterized in that Determine the physical resource mapped by the virtual network request according to a preset rule; The preset rules include at least one of the following: The computing resources of the mapped physical node are greater than the resources required by the service node requested by the virtual network request; The degree of the mapped physical node is greater than the degree of the service node requested by the virtual network request; The mapped physical link has enough idle spectrum slots to provide services for the virtual network request.
19. A virtual mapping device for a computing power optical network, characterized in that: include: A first computing unit, used to determine the computing power required for the computing power service to be requested; A second computing unit, configured to determine, according to the computing power size, a set of available resources for the computing power service to be requested in the optical network layer; A third computing unit, configured to convert the computing power service to be requested into at least one virtual network request; wherein each of the virtual network requests corresponds to a virtual network topology; The fourth computing unit is used to determine the physical resources mapped by the virtual network request according to the available resource set and the virtual network topology.
20. A control device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the virtual mapping method according to any one of claims 1 to 18.
21. A readable storage medium, characterized in that: The readable storage medium stores a program, and when the program is executed by a processor, the steps in the virtual mapping method according to any one of claims 1 to 18 are implemented.
