Virtual network mapping method and apparatus, and electronic device

During the virtual network mapping request processing process, matching physical resources are determined from the physical network and mapping costs are calculated, and target mapping points are dynamically determined, which solves the problem of low resource utilization of underlying equipment and improves the efficiency and resource utilization of virtual network mapping.

CN119814569AActive Publication Date: 2025-04-11CHINA TELECOM CORP LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411999322.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-11
Estimated Expiration
2044-12-31

Smart Images

  • Figure CN119814569A_ABST
    Figure CN119814569A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual network mapping method and device and electronic equipment. The method comprises the steps that a virtual network mapping request used for virtual network resource deployment is received, and the virtual network mapping request comprises resource demand information of a virtual network; determining a first physical resource matched with the resource demand information from physical resources of the physical network; mapping cost corresponding to the first physical resource is determined, and the mapping cost is used for quantitatively representing the cost of mapping the virtual network to the first physical resource; determining a second physical resource from the first physical resources according to the mapping cost, and taking the second physical resource as a target mapping point of the virtual network; and mapping the virtual network to the target mapping point. According to the invention, the technical problem of low resource utilization rate of the underlying equipment in the virtual network mapping request processing process in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network technology, and in particular to a method, device and electronic device for virtual network mapping. Background Art

[0002] The implementation of cloud computing technology relies on virtualization technology. The construction of virtual networks mainly relies on the resources of the underlying physical network. In the process of processing virtual network mapping requests, the resource utilization rate of the underlying equipment is low.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a method, device and electronic device for virtual network mapping, so as to at least solve the technical problem of low resource utilization of underlying devices in the process of processing virtual network mapping requests in related technologies.

[0005] According to one aspect of an embodiment of the present application, a method for virtual network mapping is provided, including: receiving a virtual network mapping request for virtual network resource deployment, the virtual network mapping request including resource demand information of the virtual network; determining a first physical resource that matches the resource demand information from physical resources of the physical network; determining a mapping cost corresponding to the first physical resource, the mapping cost being used to quantify the cost of mapping the virtual network to the first physical resource; determining a second physical resource from the first physical resource based on the mapping cost, and using the second physical resource as a target mapping point of the virtual network; and mapping the virtual network to the target mapping point.

[0006] In some embodiments of the present application, determining a first physical resource that matches resource demand information from physical resources of a physical network includes: obtaining a multi-dimensional indicator contained in the resource demand information of a virtual network, the multi-dimensional indicator being used to reflect the size of resource demand of the virtual network; obtaining target resource information corresponding to the multi-dimensional indicators for all physical resources in the physical network from log data; calculating a first membership degree between the multi-dimensional indicator and the target resource information, the first membership degree being used to quantitatively represent the degree of match between the virtual network and the physical resources; and determining the physical resource corresponding to the first membership degree as the first physical resource when the first membership degree meets a preset condition.

[0007] In some embodiments of the present application, determining the mapping costs corresponding to the first physical resources respectively includes: determining the required resources of each virtual network node in the virtual network, the required resources including the required resources of the virtual network links connected to the virtual network nodes; determining the remaining resources of each physical network node in the first physical resources, the remaining resources including the remaining resources of the physical network links connected to the physical network nodes in the first physical resources; determining the mapping cost of each physical network node based on the required resources and the remaining resources.

[0008] In some embodiments of the present application, after determining the remaining resources of each physical network node in the first physical resources, it also includes: determining a weight coefficient corresponding to the physical network node, the weight coefficient is used to reflect the correlation between the physical network node and the first physical network node that has been mapped in the virtual network mapping request, and the weight coefficient is greater than one; using the weight coefficient to weight the remaining resources to obtain weighted remaining resources; updating the remaining resources to weighted remaining resources.

[0009] In some embodiments of the present application, the method further includes: when a physical network node in the physical network is determined as the second physical resource, increasing a weight coefficient of a second physical network node connected to the physical network node.

[0010] In some embodiments of the present application, the physical resources of the physical network are obtained in the following manner: determine the target physical network node from all physical network nodes in the physical network, the target physical network node is used to collect resource information of the target physical network node and resource information of the physical network nodes connected to the target physical network node, each physical network node corresponds to a unique target physical network node; obtain the resource information reported by the target physical network node respectively, and determine the physical resources based on the resource information.

[0011] In some embodiments of the present application, it also includes: the target physical network node collects first resource information of the physical network node connected to the target physical network node; the target physical network node compares the first resource information with the second resource information collected in the previous collection cycle to obtain a comparison result; when the comparison result indicates that the first resource information is the same as the second resource information, the target physical network node filters the first resource information from the reported resource information.

[0012] In some embodiments of the present application, determining the first physical resource that matches the resource demand information from the physical resources of the physical network includes: obtaining a portrait tag corresponding to the physical resource from a user portrait data table, the portrait tag being used to store information corresponding to different physical resources in the same format; and determining the first physical resource that matches the resource demand information based on the portrait tag.

[0013] In some embodiments of the present application, determining the first physical resource that matches the resource demand information based on the portrait tag includes: determining the second membership corresponding to the portrait tag and the resource demand information, respectively, and storing the second membership in a user portrait analysis result table, the second membership being used to quantitatively represent the degree of match between the virtual network and the physical resources; determining the first physical resource that matches the resource demand information from the user portrait analysis result table.

[0014] In some embodiments of the present application, after receiving a virtual network mapping request, it also includes: obtaining static attributes of the virtual network contained in the virtual network mapping request, the static attributes including inherent attributes of the virtual network node; traversing the physical network node tree to determine candidate physical network nodes that are consistent with the static attributes; and determining a first physical resource that matches the resource demand information from the candidate physical network nodes.

[0015] According to another aspect of an embodiment of the present application, a system for virtual network mapping is also provided, including: a central management node, a physical network, and a virtual network, wherein the virtual network is connected to the central management node and is used to send a virtual network mapping request; the central management node is connected to the virtual network and is used to receive a virtual network mapping request for virtual network resource deployment, the virtual network mapping request including resource demand information of the virtual network; the physical network is connected to the central management node and is used to report resource information to the central management node; the central management node is also used to determine a first physical resource that matches the resource demand information from the physical resources of the physical network after receiving the resource information reported by the physical network; determine a mapping cost corresponding to the first physical resource, the mapping cost is used to quantify the cost of mapping the virtual network to the first physical resource; determine a second physical resource from the first physical resource based on the mapping cost, and use the second physical resource as the target mapping point of the virtual network; and map the virtual network to the target mapping point.

[0016] In some embodiments of the present application, the system also includes multiple detection agent nodes, wherein the detection agent node is connected to the central management node and is used to report to the central management node the resource information of the corresponding physical network node in the physical network collected by the detection agent node, and the physical network node in the physical network corresponds to only one detection agent node.

[0017] According to another aspect of an embodiment of the present application, a device for virtual network mapping is also provided, including: a receiving module, used to receive a virtual network mapping request for virtual network resource deployment, the virtual network mapping request including resource demand information of the virtual network; a determination module, used to determine a first physical resource matching the resource demand information from physical resources of the physical network; an execution module, used to determine a mapping cost corresponding to the first physical resource, the mapping cost being used to quantify the cost of mapping the virtual network to the first physical resource; a selection module, used to determine a second physical resource from the first physical resource based on the mapping cost, and use the second physical resource as a target mapping point of the virtual network; and a mapping module, used to map the virtual network to the target mapping point.

[0018] According to another aspect of the embodiments of the present application, an electronic device is provided, including: a memory and a processor, the memory being used to store program instructions; the processor being connected to the memory and being used to execute the method for implementing the above-mentioned virtual network mapping.

[0019] According to another aspect of the embodiments of the present application, a non-volatile storage medium is provided, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned virtual network mapping method by running the computer program.

[0020] According to another aspect of the embodiments of the present application, a computer program product is provided, including computer instructions, which implement the above-mentioned virtual network mapping method when executed by a processor.

[0021] In an embodiment of the present application, by receiving a virtual network mapping request and analyzing its resource demand information, the mapping point of the virtual network is determined in combination with the resource situation of the physical network, thereby achieving the purpose of dynamically mapping the virtual network according to the physical resource usage situation, thereby achieving the technical effect of improving the efficiency and resource utilization of the virtual network mapping and reducing the cost of the mapping process, and further solving the technical problem of low resource utilization of the underlying equipment in the process of processing the virtual network mapping request in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0023] Figure 1 It is a hardware structure block diagram of a computer terminal according to a method for virtual network mapping in an embodiment of the present application;

[0024] Figure 2 is a flow chart of a method for virtual network mapping according to an embodiment of the present application;

[0025] Figure 3 is a schematic diagram of a physical network node tree of a virtual network mapping method according to an embodiment of the present application;

[0026] Figure 4 is a structural diagram of a virtual network mapping system according to an embodiment of the present application;

[0027] Figure 5 It is a structural diagram of a virtual network mapping device according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application 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 interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] In order to better understand the embodiments of the present application, the technical terms involved in the embodiments of the present application are explained as follows:

[0031] Network virtualization: Building and running multiple independent virtual network environments on a single physical network infrastructure. Each virtual network environment has independent network resources to meet the needs of different network applications or services.

[0032] Virtual Network Node (VNN): A logical unit in a virtual network that represents virtualized computing resources, such as virtual machines or containers, and is used to host specific applications or services.

[0033] Virtual Network Link (VNL): A logical link in a virtual network that connects two or more virtual network nodes and is used to transmit data and enable communication between nodes.

[0034] Physical Network Node (PNN): In network infrastructure, a node that represents an actual physical device, such as a server, router, switch, etc., and is used to carry the computing, storage, and network functions of a virtual network node.

[0035] Physical Network Link (PNL): A connection channel between actual physical devices in a network infrastructure, such as cables and optical fibers, used to transmit data and enable communication between network nodes.

[0036] Central Management Node (CMN): In a virtualized network environment, a node responsible for coordinating and controlling the allocation of underlying physical network resources, monitoring network device status, and responding to virtual network mapping requests.

[0037] In a network virtualization environment, how to manage virtual networks will have an important impact on the efficiency of the entire network system. The core issue of virtual network management is how to quickly and reasonably allocate limited underlying device resources to each virtual network, including virtual resource identification, virtual resource detection, virtual network survivability assurance, and virtual network fault detection technologies to improve the resource utilization of underlying devices, so that the underlying network can carry more virtual networks, thereby increasing the operator's revenue. However, in the process of virtual network mapping request processing in related technologies, the resource utilization of underlying devices is low. In addition, most mapping algorithms rely on a centralized management mode, that is, a central management node is responsible for making mapping decisions. Since the actual demand for resources of virtual networks will continue to change with the changes in user needs, the operating status and resource occupancy of the underlying network devices are also dynamically changing. Therefore, in order to provide the necessary resource status information for mapping decisions, the central management node needs to perform real-time detection of the operating status and resource status of the underlying network devices. If all the underlying nodes report their status information directly to the central management node, the transmission path of the status information will be too long, causing the transmission of status information data packets to occupy too much bandwidth resources, and will also cause excessive load pressure on the central management node. It can be seen that the detection strategy adopted by the relevant technology also has the problem of inefficiency.

[0038] In order to solve the above technical problems, the embodiments of the present application provide corresponding solutions, which are described in detail below.

[0039] The method embodiment of the virtual network mapping provided in the embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a method for virtual network mapping. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions connected via a wired and / or wireless network. In addition, it may also include: a display, a keyboard, a cursor control device, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, and a BUS bus. Those skilled in the art can understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0040] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0041] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the method of virtual network mapping in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the above-mentioned method of virtual network mapping. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0042] The transmission module 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission module 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0043] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .

[0044] It should be noted that, in some optional embodiments, the above Figure 1 The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.

[0045] In the above-mentioned operating environment, an embodiment of the present application provides a method embodiment of a virtual network mapping. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0046] Figure 2 is a flowchart of a method for virtual network mapping according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0047] Step S202: receiving a virtual network mapping request for virtual network resource deployment, wherein the virtual network mapping request includes resource requirement information of the virtual network.

[0048] In the above step S202, the virtual network mapping request is a request sent from a service provider or user, and contains resource requirement information of the virtual network to allocate and configure the required resources on the physical network to deploy the virtual network. For example, the virtual network mapping request may contain the computing, storage and network resources required for the virtual network nodes and links, as well as any specific constraints or preferences (such as location, protocol stack type, etc.).

[0049] Resource requirement information refers to the specific parameters included in the virtual network mapping request, which describes the various resources required by the virtual network at runtime. Resource requirement information includes, but is not limited to, CPU requirements, memory requirements, storage requirements, bandwidth requirements, latency requirements, virtual environment type (such as VMware, Xen, KVM), operating system type, and possible security and QoS requirements. In some embodiments of the present application, the central management node receives the virtual network mapping request and identifies the resource requirement information of the virtual network, including the type, number, resource requirements of the virtual nodes, and bandwidth requirements of the virtual links.

[0050] In order to quickly screen out physical resources that meet the basic attributes, after receiving the virtual network mapping request, the following steps can also be performed: obtain the static attributes of the virtual network contained in the virtual network mapping request, the static attributes include the inherent attributes of the virtual network nodes; traverse the physical network node tree to determine the candidate physical network nodes that meet the static attributes; determine the first physical resource that matches the resource demand information from the candidate physical network nodes.

[0051] The static attributes of a virtual network refer to the inherent attributes of nodes in the virtual network, such as node type (server, router, host, etc.), virtual environment type (such as VMware, Xen, KVM), operating system type (such as Windows, Linux, Solaris), etc. Static attributes are usually fixed during the life cycle of a virtual network and are used to guide the mapping of physical network resources to ensure that the nodes of the virtual network can be correctly mapped to physical network nodes with corresponding attributes. In some embodiments of the present application, regular expressions or preset parsing algorithms can be used to extract key information of static attributes from a virtual network mapping request, such as automatically extracting static attribute data by identifying the description of the node type, virtual environment type, and operating system type in the request.

[0052] The physical network node tree is used to organize and represent the hierarchical relationship and static attributes of all nodes in the physical network. Each node represents a physical network node, and the structure of the tree reflects the logical relationship and attribute characteristics between nodes. Through the physical network node tree, candidate physical network nodes that meet the static attributes of the virtual network can be efficiently screened out, thereby accelerating the resource mapping process. In some embodiments of the present application, the static attributes of each physical network node can be compared with the static attribute requirements of the virtual network by means of attribute matching traversal, and physical network nodes that fully match or meet specific conditions can be screened out as candidate nodes; it can also be done by hierarchical traversal, starting from the root node, traversing according to the hierarchical structure, and preferentially checking the nodes closest to the static attributes in the virtual network request, thereby reducing the scope of traversal and improving search efficiency.

[0053] By traversing the physical network node tree, candidate physical network nodes satisfying the static attributes can be determined, and then the first physical resource matching the resource demand information is determined from the candidate physical network nodes (ie, executing step S204), thereby further improving the mapping efficiency.

[0054] Figure 3 is a schematic diagram of a physical network node tree of a virtual network mapping method according to an embodiment of the present application, such as Figure 3 As shown, matching physical network nodes can be filtered by node location, virtual environment, and operating system. Taking a bottom-level node (i.e., physical network node) as an example, its static attributes include: node type (server, router, host, etc.), deployment address, CPU performance, memory size, hard disk size, protocol stack type, virtual environment type (VMware, Xen, KVM, etc.), and operating system type (Windows, Linux, Solaris, etc.). Dynamic attributes include unoccupied CPU, memory, and hard disk resources. When searching for resources that meet the requirements, if you want to match static attributes, you can organize all network devices (i.e., physical network nodes) in a tree format. Each layer of the tree represents a static attribute, and each node on the tree records the value of one or more devices for this attribute. When searching for resources, you can query the required network devices by traversing the tree according to each attribute in the requirements. As shown Figure 3 As shown, if a virtual network node's requirement for the static property of a device is [node location = A; virtual environment = Xen; operating system = Linux], a device node that meets the requirement can be found by traversing the tree.

[0055] Step S204: determine a first physical resource that matches the resource demand information from the physical resources of the physical network.

[0056] In the above step S204, the first physical resource refers to a set of physical resources that are screened from the physical resources of the physical network and match the resource demand information. In some embodiments of the present application, multiple first physical resources can be constructed, and each first physical resource includes three parts: a physical network node, a physical network link, and a central management node (that is, constituting an underlying chain).

[0057] (1) Bottom-layer nodes (i.e., physical network nodes): Bottom-layer nodes not only have routing functions, but can also host virtual nodes and provide network services with the required computing and storage resources, including available CPU, memory, etc. Each bottom-layer node must detect and report the resource status of the node.

[0058] (2) Bottom-layer links (i.e., physical network links): Bottom-layer links are used to carry virtual links. A virtual link can be mapped to multiple bottom-layer links. The properties of bottom-layer links include bandwidth, latency, etc. The status of bottom-layer links can be detected by the bottom-layer nodes connected to them.

[0059] (3) Central management node: The central management node collects and maintains the resource status of all nodes and links in the underlying network. On the other hand, it is also responsible for receiving virtual network mapping requests submitted by resource service providers and formulating appropriate mapping strategies for mapping requests based on the underlying network resource status. The central management node can be deployed on a dedicated server or on one or more underlying nodes in the domain.

[0060] By calculating the multi-dimensional indicators and the first membership degree, the matching degree between the physical resources and the virtual network requirements can be evaluated more accurately, so as to determine the first physical resource. Specifically: the multi-dimensional indicators contained in the resource requirement information of the virtual network are obtained, and the multi-dimensional indicators are used to reflect the resource requirement size of the virtual network; the target resource information corresponding to the multi-dimensional indicators of all physical resources in the physical network is obtained from the log data; the first membership degree between the multi-dimensional indicators and the target resource information is calculated, and the first membership degree is used to quantitatively represent the matching degree between the virtual network and the physical resources; when the first membership degree meets the preset conditions, the physical resource corresponding to the first membership degree is determined as the first physical resource.

[0061] The multi-dimensional index is a comprehensive description of the virtual network resource requirements, including but not limited to CPU requirements, memory requirements, storage requirements, bandwidth requirements, delay tolerance, etc., which are used to reflect the size of the virtual network's requirements for different resource categories. In some embodiments of the present application, the central management node can parse the virtual network mapping request to identify and extract the multi-dimensional indicators therein, such as CPU requirements, memory requirements, bandwidth requirements, etc.

[0062] The target resource information refers to the information extracted from the log data of the physical network, including the actual amount of resources of each physical resource (such as a node or link) in terms of multi-dimensional indicators, which is used to evaluate whether the physical resources can meet the needs of the virtual network. In some embodiments of the present application, the central management node can query its resource status database, extract the log data of all physical resources, and analyze the target resource information corresponding to the multi-dimensional indicators; it can also collect and report the status data of physical resources in real time through the detection agent deployed in the underlying network, including CPU usage, memory usage, bandwidth usage, etc. The central management node obtains this information directly from the detection agent.

[0063] The first membership degree is used to quantify the degree of match between the multi-dimensional index representing the virtual network and the target resource information of a specific physical resource in the physical network. The higher the first membership value, the better the match between the physical resource and the demand. In some embodiments of the present application, fuzzy logic or a membership degree calculation formula can be applied to compare the target resource information of each physical resource with the multi-dimensional index to calculate the first membership degree.

[0064] The preset condition refers to a defined threshold or standard for selecting the first physical resource. Only when the first membership degree meets or exceeds the preset condition can the physical resource be determined as the first physical resource. In some embodiments of the present application, the central management node can set a threshold as a preset condition. Only when the membership degree of a physical resource exceeds this threshold, it is considered as a candidate for the first physical resource. A grading or ranking mechanism can also be used to sort all physical resources according to the first membership degree, and select the physical resource with the highest ranking or reaching a certain score as the first physical resource to ensure that the selected physical resource is optimal or suboptimal in resource matching.

[0065] In some embodiments of the present application, the first degree of membership may be calculated in the following manner.

[0066] (1) Obtaining multi-dimensional indicators: First, it is necessary to determine the resource requirements of the virtual network, which includes multi-dimensional performance indicators such as CPU, memory, storage, bandwidth, and latency.

[0067] (2) Collection of physical resource information: The resource status information of each node or link is collected from the physical network and compared with the resource requirements of the virtual network.

[0068] (3) Calculation of the first membership degree: The membership degree of each dimension is calculated using the fuzzy logic method. The calculation formula is:

[0069]

[0070] Among them, μ i represents the membership degree of the i-th dimension, R i Represents the i-th dimension information of the physical resource, D i Represents the i-th dimension information of virtual network requirements, σ i Represents the tolerance threshold of the i-th dimension.

[0071] (4) Calculation of the comprehensive first membership degree: In some embodiments of the present application, the membership degrees of each dimension may be weighted averaged to obtain a comprehensive first membership degree, and the calculation formula is:

[0072]

[0073] Among them, FDM represents the comprehensive first membership degree, wi represents the weight of the i-th dimension, and n represents the total number of dimensions.

[0074] (5) Judgment of preset conditions: Set a threshold, such as FDM>0.8. Only when the comprehensive first membership of a physical resource exceeds this threshold, the resource is regarded as the first physical resource that highly matches the virtual network resource demand.

[0075] In a large-scale network environment, in order to simplify the collection and processing process of physical network resources, the physical resources of the physical network can be obtained in the following ways: determine the target physical network node from all physical network nodes in the physical network, the target physical network node is used to collect resource information of the target physical network node and the resource information of the physical network nodes connected to the target physical network node, and each physical network node corresponds to a unique target physical network node; obtain the resource information reported by the target physical network node respectively, and determine the physical resources based on the resource information.

[0076] The target physical network node refers to a node selected in the network as a node for monitoring and reporting resource information. The target physical network node not only reports its own resource information, but also collects and reports the resource information of other physical network nodes directly connected to it, thereby reducing the communication burden of the central management node and simplifying the data processing process. In some embodiments of the present application, the central management node can select nodes that are evenly distributed in the network and have short communication paths as target physical network nodes based on the network topology and communication burden. For example, the optimal target node set can be determined based on the physical distance between physical network nodes and the load of the communication link using graph theory algorithms (such as Dijkstra algorithm, Kruskal algorithm, etc.) to ensure the efficiency of resource information collection and reporting.

[0077] Resource information includes information such as CPU utilization, memory usage, storage capacity, bandwidth usage, link delay, etc. in the current state of the physical network node, which is used to evaluate the available resources of each node in the physical network and their matching degree with the virtual network resource requirements. In some embodiments of the present application, the target physical network node can adjust the reporting frequency of resource information according to the changes in its own resource status. For example, if the resource usage of the node is relatively stable, the reporting frequency is reduced; conversely, if the resource usage fluctuates greatly, the reporting frequency is increased to ensure that the central management node can obtain timely updates on the network status and make accurate resource allocation decisions.

[0078] It should be noted that in addition to using physical network nodes to report resource information to the central management node, detection agent nodes can also be set up to collect resource information of physical network nodes in the physical network. The target physical network node is just one implementation method of the detection agent node. The detection agent node can also be other nodes other than the physical network node.

[0079] After setting some bottom-level nodes as detection agents, the remaining bottom-level nodes will report their own resource status and the status of their surrounding links to the detection agent, which will then summarize and filter them and report them to the central management node. It can be seen that the purpose of setting up a detection agent is to shorten the transmission path length of the bottom-level node status information and reduce the time and bandwidth overhead required for status reporting. The deployment plan of the detection agent will have a great impact on the efficiency of the entire detection system.

[0080] In order to reduce unnecessary reporting of resource information and reduce network communication load, the following steps can also be performed: the target physical network node collects first resource information of the physical network node connected to the target physical network node; the target physical network node compares the first resource information with the second resource information collected in the previous collection cycle to obtain a comparison result; when the comparison result indicates that the first resource information is the same as the second resource information, the target physical network node filters the first resource information from the reported resource information.

[0081] The first resource information refers to the resource status information of the physical network nodes directly connected to the target physical network node collected during the current collection cycle, which is used to update the central management node's understanding of the network status and ensure that resource allocation decisions are based on the latest network conditions. In some embodiments of the present application, the target physical network node periodically initiates a resource status query, sends a resource information collection request to the physical network nodes connected to it, and collects the real-time CPU utilization, memory usage, bandwidth usage, latency and other resource status data of each node. For example, the target physical network node can send a resource status request to a neighboring node every 5 minutes to obtain the latest first resource information.

[0082] The second resource information refers to the resource status information corresponding to the first resource information collected by the target physical network node in the previous collection cycle. In some embodiments of the present application, the target physical network node maintains a resource status cache to store the second resource information of the previous collection cycle. After receiving the first resource information, the target node compares and analyzes the new and old resource information through an algorithm, such as calculating the difference, the rate of change, etc., to determine whether the resource status has changed. If the change is small or there is no change, the comparison result will indicate that the resource status is stable.

[0083] If the comparison result shows that the first resource information is the same as the second resource information or the change is within a predetermined threshold, the target physical network node will not report this information. For example, if the change in CPU utilization is less than 1% and the change in memory usage is less than 50MB, the first resource information is considered duplicate and will not be reported.

[0084] In some embodiments of the present application, user portrait information can also be used to optimize the resource matching process. Specifically: obtain the portrait tag corresponding to the physical resource from the user portrait data table, and the portrait tag is used to store the information corresponding to different physical resources in the same format; determine the first physical resource that matches the resource demand information based on the portrait tag.

[0085] The user portrait data table is a database table that stores user portrait tag information about physical resources, and is used to store various attributes and historical usage data of physical resources. These tag information can help the central management node to more accurately understand the characteristics of physical resources and user needs. In some embodiments of the present application, the central management node or detection agent (such as the target physical network node) queries the user portrait data table and extracts the corresponding portrait tag based on the identifier of the physical resource (such as IP address, device ID, etc.). For example, for physical resource N, the central management node can obtain N's geographic location, CPU performance level, memory size, bandwidth capacity, delay range, storage type, historical load conditions and other portrait tags by querying the data table.

[0086] A portrait tag refers to a series of keywords or metadata that describe the characteristics of a physical resource, which may include the location, performance, availability, historical usage patterns, etc. of the physical resource. Through the portrait tag, the central management node can store and query the information of the physical resource in a unified format, which is convenient for rapid screening and comparison when matching resources. In some embodiments of the present application, a fuzzy matching algorithm can be used to compare the resource demand information of the virtual network with the portrait tag of the physical resource. The central management node fuzzily matches the physical resource tags in the user portrait data table based on the types and quantities of resources such as CPU, memory, bandwidth, etc. required by the virtual network, as well as special requirements for location and latency. For example, if the virtual network request is located in a specific geographic area and requires low latency, the central management node will give priority to physical resources that are geographically close and whose historical loads show low latency characteristics as the first physical resource.

[0087] In order to further refine the decision-making process of resource matching, the first physical resource can also be determined in the following ways: determine the second membership corresponding to the portrait label and the resource demand information respectively, and store the second membership in the user portrait analysis result table, and the second membership is used to quantify the degree of matching between the virtual network and the physical resources; determine the first physical resource that matches the resource demand information from the user portrait analysis result table.

[0088] The user portrait analysis result table stores a database table of user portrait tags of physical resources and their corresponding second membership. As the basis for the central management node to make decisions, the user portrait analysis result table enables the system to quickly find and determine the first physical resource that matches the virtual network resource requirements, avoiding a full network search of all physical resources. In some embodiments of the present application, fuzzy logic can be used to calculate the second membership, and the central management node calculates the second membership using a fuzzy logic model based on the resource demand information of the virtual network and the portrait tags of the physical resources. For example, if the virtual network requires a physical resource with a location in the northeast region, a bandwidth greater than 1Gbps, and a delay less than 20ms, the central management node can perform fuzzy logic matching on these requirements with the portrait tags of the physical resource such as the geographical location, bandwidth, and delay, calculate the second membership, and store it in the user portrait analysis result table. It should be noted that the calculation of the second membership can refer to the calculation formula of the first membership.

[0089] Step S206: determine a mapping cost corresponding to the first physical resource, where the mapping cost is used to quantify the cost of mapping the virtual network to the first physical resource.

[0090] In the above step S206, the mapping cost is a cost indicator involved in mapping the virtual network to a specific physical resource, and is used to quantify the impact of the mapping operation on network performance, resource utilization, latency, bandwidth consumption, etc.

[0091] In order to ensure the economy and feasibility of the virtual network mapping decision, the mapping costs corresponding to the first physical resources can be determined in the following ways: determine the required resources of each virtual network node in the virtual network, the required resources include the required resources of the virtual network links connected to the virtual network nodes; determine the remaining resources of each physical network node in the first physical resources, the remaining resources include the remaining resources of the physical network links connected to the physical network nodes in the first physical resources; determine the mapping cost of each physical network node based on the required resources and the remaining resources.

[0092] Demand resources refer to the resources required for each virtual network node in the virtual network to operate normally and meet its functions, including but not limited to CPU, memory, storage, and bandwidth. The determination of demand resources helps to evaluate the resource requirements of the virtual network for the physical network. In some embodiments of the present application, historical data analysis can be used to predict demand resources. The central management node can predict the demand resources of future virtual network nodes based on the operation data of historical virtual networks. For example, by analyzing the resource usage of virtual network nodes over a period of time in the past, a prediction model can be established, the current traffic and user activity of the virtual network can be input, and the future demand resource estimates of each node can be output.

[0093] In some embodiments of the present application, the required resources of the virtual network node can be calculated by the following formula:

[0094]

[0095] Among them, CPU (n v ) represents virtual network node n v CPU resource constraints; L(n v ) represents the virtual network node n v A collection of virtual network links that have connections; v Represents any virtual network link in the virtual network link set; BW(l v ) represents and virtual network node n v The bandwidth constraints on the connected virtual network links; RR(n v ) represents the virtual network node n in the same virtual network request v demand resources.

[0096] Remaining resources refer to the resources that are not currently occupied by each physical network node in the physical network, including CPU, memory, storage, bandwidth, etc. In some embodiments of the present application, the remaining resources can be determined by real-time monitoring of the resource usage of the physical network nodes. The physical network nodes need to regularly report their current resource occupancy to the central management node through the detection agent, including CPU usage, memory occupancy, storage space, and bandwidth. The central management node calculates the remaining resources of each physical network node based on these real-time data.

[0097] In some embodiments of the present application, the remaining resources of the physical network node can be calculated by the following formula:

[0098]

[0099] Among them, CPU (n s ) represents the physical network node n s The remaining CPU resources; L(n s ) represents the physical network node n s The set of underlying physical network links connected; s Represents any physical network link in the physical network link set; BW(l s ) represents and physical network node n s Directly connected physical link s The remaining bandwidth resources of AR(n s ) represents the physical network node n s The remaining resources reflect its connection capacity and mapping capacity.

[0100] Mapping cost refers to the quantitative representation cost calculated based on the comparison of required resources and remaining resources and / or performance impact and resource consumption in the process of mapping virtual network nodes to physical network nodes. In some embodiments of the present application, the mapping cost may include virtual resource costs and physical resource costs. For virtual resource costs, after determining the resource requirements (RR) of each virtual network node and the virtual network link connected to it in the virtual network, the resource cost that the virtual network will consume if successfully mapped on the underlying chain (i.e., the first physical resource) can be calculated based on these required resources. For physical resource costs, after calculating the remaining resources (AR) of the physical network node, the cost of mapping to the physical node can be evaluated based on the required resources of the virtual network node. The final mapping cost is the combined result of the virtual resource cost and the physical resource cost. For example, the two costs can be combined by weighted summation, and the weights can be dynamically adjusted according to the relative importance of resource types and network performance indicators.

[0101] After determining the remaining resources of each physical network node in the first physical resource, the following steps can also be performed: determine the weight coefficient corresponding to the physical network node, the weight coefficient is used to reflect the correlation between the physical network node and the first physical network node that has been mapped in the virtual network mapping request, and the weight coefficient is greater than one; use the weight coefficient to weight the remaining resources to obtain weighted remaining resources; update the remaining resources to weighted remaining resources.

[0102] The weight coefficient is used to reflect the correlation between the physical network node and the mapped physical network node, as well as their potential impact on subsequent virtual network mapping requests. A weight coefficient greater than 1 means that the physical network node adjacent to the mapped node has a higher priority in resource allocation. In some embodiments of the present application, the determination of the weight coefficient can be based on the following factors:

[0103] (1) Physical distance: The closer the physical network node is to the mapped node, the higher its weight coefficient is, which means that the system tends to select neighboring nodes for mapping to reduce network latency and improve link utilization.

[0104] (2) Resource relevance: If a physical network node is similar to an already mapped node in terms of resource type and capability, its weight coefficient will increase accordingly, which helps ensure the continuity and consistency of virtual network resources.

[0105] (3) Historical usage patterns: The system can analyze historical data, such as the node’s usage frequency, failure rate, etc., to determine the weight coefficient. Nodes that are frequently used and operate stably will be given higher weights to optimize resource allocation and improve network stability.

[0106] There are many models to choose from for determining the weight coefficient, such as exponential model, fractional model, increasing function, decreasing function, etc. The specific model to be selected depends on the specific mapping environment. Through the weight coefficient, when a physical network node has become a target mapping point, the physical network node connected to it has a greater probability of being selected as the target mapping point by the subsequent virtual network node, thereby ensuring that the output result of the node mapping is a series of physical nodes with compact features, which will greatly simplify the complexity of the subsequent link mapping.

[0107] In some embodiments of the present application, the weighted remaining resources of the physical network nodes may be calculated by the following formula:

[0108]

[0109] Among them, WAR (n s ) represents the physical network node n s weighted remaining resources; Corr represents the weight coefficient, which is a parameter used to represent the correlation between the physical network node and the physical network nodes that have been mapped in the same virtual network request, and Corr>1; AR represents the remaining resources of the physical network node (the calculation of AR can refer to the calculation formula of the remaining resources of the physical network node mentioned above).

[0110] When a physical network node in the physical network is determined as the second physical resource, the weight coefficient of the second physical network node connected to the physical network node is increased. In some embodiments of the present application, the central management node can calculate the physical distance or network distance between the physical network node (the node that has been mapped as the crop target point) and the second physical network node as a proximity indicator, and adjust the weight coefficient according to the proximity. For example, the higher the proximity, the greater the weight coefficient.

[0111] Step S208: determining a second physical resource from the first physical resource according to the mapping cost, and using the second physical resource as a target mapping point of the virtual network.

[0112] In the above step S208, the physical network node with the lowest cost can be selected from the first physical resource as the second physical resource. The system compares the mapping costs of different physical network nodes and selects the node with the lowest cost for mapping to achieve the goal of optimal resource utilization and minimal performance impact.

[0113] Step S210, mapping the virtual network to a target mapping point.

[0114] In the above step S210, after completing the resource evaluation and cost analysis, the central management node or detection agent has determined the second physical resource as the target mapping point, and these resources are most matched with the node and link requirements of the virtual network. In some embodiments of the present application, the central management node or detection agent maps the nodes in the virtual network to the physical network nodes at the target mapping point to ensure that the computing and storage requirements of the virtual nodes are met. This mapping process can adopt a variety of algorithms, such as a greedy-based mapping algorithm, a genetic algorithm-based mapping algorithm, etc. The selection of a specific algorithm depends on the network scale, resource distribution, and performance requirements.

[0115] After the node mapping is completed, the system maps the links in the virtual network to the physical network links at the target mapping point to ensure that the link's bandwidth, latency and other performance indicators meet the requirements of the virtual network. Link mapping can use path calculation algorithms, such as the shortest path algorithm and multi-path load balancing algorithm, to achieve optimal network performance and resource utilization.

[0116] After completing the mapping of nodes and links, the system automatically configures physical network resources, including allocating computing resources, setting network parameters (such as QoS), starting the virtualization environment, etc., to ensure that the virtual network can run seamlessly at the target mapping point.

[0117] Through step S210, the virtual network is successfully deployed on the target mapping point, realizing the physical layer bearing of the virtual network resources, and providing stable and efficient services for users.

[0118] Through the above steps S202 to S210, by receiving the virtual network mapping request and analyzing its resource demand information, the mapping point of the virtual network is determined in combination with the resource situation of the physical network, thereby achieving the purpose of dynamically mapping the virtual network according to the physical resource usage, thereby achieving the technical effect of improving the efficiency and resource utilization of the virtual network mapping and reducing the cost of the mapping process, and further solving the technical problem of low resource utilization of the underlying equipment in the process of processing the virtual network mapping request in the related technology.

[0119] Figure 4 is a structural diagram of a virtual network mapping system according to an embodiment of the present application, such as Figure 4As shown, the system for virtual network mapping may include: a central management node, a physical network, and a virtual network (VN1, VN2, VN3), wherein the virtual network is connected to the central management node and is used to send a virtual network mapping request; the central management node is connected to the virtual network and is used to receive a virtual network mapping request for virtual network resource deployment, and the virtual network mapping request includes resource demand information of the virtual network; the physical network is connected to the central management node and is used to report resource information to the central management node; the central management node is also used to determine a first physical resource that matches the resource demand information from the physical resources of the physical network after receiving the resource information reported by the physical network; determine the mapping costs corresponding to the first physical resources, respectively, and the mapping costs are used to quantify the cost of mapping the virtual network to the first physical resource; determine a second physical resource from the first physical resource based on the mapping cost, and use the second physical resource as the target mapping point of the virtual network; and map the virtual network to the target mapping point. In addition, the system also includes multiple detection agent nodes, among which the detection agent node is connected to the central management node and is used to report to the central management node the resource information of the corresponding physical network node in the physical network collected by the detection agent node. The physical network node in the physical network corresponds to only one detection agent node.

[0120] Figure 5 is a structural diagram of a virtual network mapping device according to an embodiment of the present application, such as Figure 5 As shown, the device comprises:

[0121] A receiving module 502 is used to receive a virtual network mapping request for virtual network resource deployment, wherein the virtual network mapping request includes resource demand information of the virtual network;

[0122] A determination module 504, configured to determine a first physical resource matching the resource requirement information from physical resources of the physical network;

[0123] An execution module 506 is used to determine mapping costs corresponding to the first physical resources respectively, where the mapping costs are used to quantify the cost of mapping the virtual network to the first physical resources;

[0124] A selection module 508, configured to determine a second physical resource from the first physical resource according to the mapping cost, and use the second physical resource as a target mapping point of the virtual network;

[0125] The mapping module 510 is used to map the virtual network to a target mapping point.

[0126] It should be noted that Figure 5 The virtual network mapping device shown is used to perform Figure 2 The virtual network mapping method shown is therefore Figure 2The explanations in the virtual network mapping method also apply to Figure 5 The device for virtual network mapping shown will not be described in detail here.

[0127] An embodiment of the present application also provides an electronic device, which includes a memory and a processor, wherein the memory is used to store program instructions; the processor is connected to the memory and is used to execute the steps of the method for implementing the virtual network mapping in each embodiment of the present application.

[0128] For example, the processor performs the following functions by executing program instructions stored in the memory:

[0129] Receive a virtual network mapping request for virtual network resource deployment, the virtual network mapping request including resource demand information of the virtual network; determine a first physical resource matching the resource demand information from physical resources of the physical network; determine mapping costs corresponding to the first physical resources, the mapping costs being used to quantify the cost of mapping the virtual network to the first physical resource; determine a second physical resource from the first physical resource based on the mapping cost, and use the second physical resource as a target mapping point of the virtual network; and map the virtual network to the target mapping point.

[0130] An embodiment of the present application further provides a non-volatile storage medium, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the steps of the virtual network mapping method in each embodiment of the present application by running the computer program.

[0131] An embodiment of the present application further provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the virtual network mapping method in each embodiment of the present application.

[0132] An embodiment of the present application further provides a computer program, which, when executed by a processor, implements the steps of the virtual network mapping method in each embodiment of the present application.

[0133] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0134] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0135] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, 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 units or modules, which can be electrical or other forms.

[0136] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0137] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically 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 software functional units.

[0138] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0139] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for virtual network mapping, characterized in that: include: Receiving a virtual network mapping request for virtual network resource deployment, wherein the virtual network mapping request includes resource demand information of the virtual network; Determine a first physical resource matching the resource requirement information from physical resources of the physical network; Determine a mapping cost corresponding to the first physical resource, wherein the mapping cost is used to quantify a cost of mapping the virtual network to the first physical resource; determining a second physical resource from the first physical resource according to the mapping cost, and using the second physical resource as a target mapping point of the virtual network; The virtual network is mapped to the target mapping point.

2. The method according to claim 1, characterized in that: Determining a first physical resource matching the resource requirement information from physical resources of the physical network includes: Acquire a multi-dimensional index included in the resource demand information of the virtual network, wherein the multi-dimensional index is used to reflect the size of the resource demand of the virtual network; Acquire target resource information corresponding to the multi-dimensional indicators respectively for all physical resources in the physical network from the log data; Calculating a first membership degree between the multi-dimensional index and the target resource information, wherein the first membership degree is used to quantitatively represent the matching degree between the virtual network and the physical resource; When the first membership degree satisfies a preset condition, a physical resource corresponding to the first membership degree is determined as the first physical resource.

3. The method according to claim 1, characterized in that: Determining mapping costs respectively corresponding to the first physical resources includes: Determining the required resources of each virtual network node in the virtual network, wherein the required resources include the required resources of the virtual network link connected to the virtual network node; Determine remaining resources of each physical network node in the first physical resource, wherein the remaining resources include remaining resources of a physical network link in the first physical resource connected to the physical network node; A mapping cost of each physical network node is determined according to the required resources and the remaining resources.

4. The method according to claim 3, characterized in that After determining the remaining resources of each physical network node in the first physical resource, the method further includes: Determine a weight coefficient corresponding to the physical network node, wherein the weight coefficient is used to reflect the correlation between the physical network node and the first physical network node that has been mapped in the virtual network mapping request, and the weight coefficient is greater than one; weighting the remaining resources by using the weight coefficient to obtain weighted remaining resources; The remaining resources are updated to the weighted remaining resources.

5. The method according to claim 1, characterized in that: The method further comprises: When a physical network node in the physical network is determined as the second physical resource, a weight coefficient of a second physical network node connected to the physical network node is increased.

6. The method according to claim 1, characterized in that The physical resources of the physical network are obtained in the following ways: Determine a target physical network node from all physical network nodes in the physical network, wherein the target physical network node is used to collect resource information of the target physical network node and resource information of physical network nodes connected to the target physical network node, and each physical network node corresponds to only one target physical network node; Obtain resource information reported by the target physical network nodes respectively, and determine the physical resources according to the resource information.

7. The method according to claim 6, characterized in that The method further comprises: The target physical network node collects first resource information of a physical network node connected to the target physical network node; The target physical network node compares the first resource information with the second resource information collected in the previous collection cycle to obtain a comparison result; The target physical network node filters the first resource information from the reported resource information when the comparison result indicates that the first resource information is the same as the second resource information.

8. The method according to claim 1, characterized in that: Determining a first physical resource matching the resource requirement information from physical resources of the physical network includes: Obtaining a portrait tag corresponding to the physical resource from the user portrait data table, wherein the portrait tag is used to store information corresponding to different physical resources in the same format; A first physical resource matching the resource requirement information is determined based on the portrait tag.

9. The method according to claim 8, characterized in that Determining a first physical resource matching the resource requirement information according to the portrait tag includes: Determine a second membership degree corresponding to the portrait tag and the resource demand information respectively, and store the second membership degree in a user portrait analysis result table, wherein the second membership degree is used to quantitatively represent the matching degree between the virtual network and the physical resource; Determine a first physical resource that matches the resource demand information from the user portrait analysis result table.

10. The method according to claim 1, characterized in that After receiving the virtual network mapping request, the method further includes: Acquire static attributes of the virtual network included in the virtual network mapping request, wherein the static attributes include inherent attributes of the virtual network node; Traversing the physical network node tree to determine candidate physical network nodes that conform to the static attributes; A first physical resource matching the resource requirement information is determined from the candidate physical network nodes.

11. A virtual network mapping system, characterized in that: include: Central management node, physical network, virtual network, among which, The virtual network is connected to the central management node and is used to send a virtual network mapping request; The central management node is connected to the virtual network and is used to receive a virtual network mapping request for virtual network resource deployment, wherein the virtual network mapping request includes resource demand information of the virtual network; The physical network is connected to the central management node and is used to report resource information to the central management node; The central management node is further used to determine, after receiving the resource information reported by the physical network, a first physical resource that matches the resource demand information from the physical resources of the physical network; determine a mapping cost corresponding to the first physical resource, wherein the mapping cost is used to quantify the cost of mapping the virtual network to the first physical resource; determine a second physical resource from the first physical resource based on the mapping cost, and use the second physical resource as a target mapping point of the virtual network; and map the virtual network to the target mapping point.

12. The system according to claim 11, characterized in that It also includes multiple detection agent nodes, among which, The detection proxy node is connected to the central management node and is used to report to the central management node the resource information of the corresponding physical network node in the physical network collected by the detection proxy node, wherein the physical network node in the physical network corresponds to only one detection proxy node.

13. A virtual network mapping device, characterized in that: include: A receiving module, configured to receive a virtual network mapping request for virtual network resource deployment, wherein the virtual network mapping request includes resource demand information of the virtual network; A determination module, configured to determine a first physical resource matching the resource requirement information from physical resources of the physical network; an execution module, configured to determine a mapping cost corresponding to the first physical resource, wherein the mapping cost is used to quantify a cost of mapping the virtual network to the first physical resource; A selection module, configured to determine a second physical resource from the first physical resource according to the mapping cost, and use the second physical resource as a target mapping point of the virtual network; A mapping module is used to map the virtual network to the target mapping point.

14. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store program instructions; the processor is connected to the memory and is used to execute the method for implementing the virtual network mapping described in any one of claims 1 to 10.

15. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the method for virtual network mapping described in any one of claims 1 to 10 by running the computer program.

16. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the method for virtual network mapping described in any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Virtualized resource scheduling method and system

    CN102546379A

  • Efficient energy-saving virtual network node mapping model and algorithm

    CN104821906A

  • Method for realizing large-scale virtual network node repeated mapping

    CN108809699A

  • Virtual network mapping method and device, and storage medium

    CN109660376A

  • Virtual network mapping method and device

    CN111182037A