Virtual network function deployment method and device based on 5GC and storage medium
By obtaining deployment requests and energy information for virtual network functions and selecting appropriate servers to deploy virtual network functions, the problem of large amount of non-renewable energy usage in 5G networks is solved, and communication stability and energy utilization efficiency are improved.
Patent Information
- Application Number
- CN202411207531.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-10
AI Technical Summary
The existing 5G network uses non-renewable energy in virtual network deployment, and due to the poor stability of renewable energy, it is easy to lead to communication interruptions and unstable data transmission.
By obtaining the deployment request for the virtual network function, obtaining the energy consumption information of the server to be selected and renewable energy supply information, determining the target server, and deploying the virtual network function to the server to optimize energy utilization.
It effectively reduces the use of non-renewable energy, improves the stability of communication and data transmission, and promotes the utilization of renewable energy and environmental sustainability.
Smart Images

Figure CN119110365A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of 5G technology, and in particular to a 5GC-based virtual network function deployment method and device and a storage medium. Background Art
[0002] In related technologies, with the urgency of mitigating climate change, reducing carbon emissions has become a key task for all sectors of society. The information and communications technology (ICT) industry is under tremendous pressure to reduce its carbon emissions, and the energy consumption of 5G networks, as a new generation of mobile communication technology, is of particular concern. The existing methods mainly rely on traditional functional methods to provide energy for servers deployed with virtual networks. This deployment method will greatly increase the use of non-renewable energy. In addition, due to the poor stability of renewable energy, it is easy to cause services running on servers using renewable energy to be prone to communication interruptions and unstable data transmission.
[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to propose a virtual network function deployment method, device and storage medium based on 5GC, which can effectively reduce the use of non-renewable energy and improve the stability of communication and data transmission.
[0005] To achieve the above object, an embodiment of the present application proposes a 5GC-based virtual network function deployment method, the method comprising the following steps:
[0006] Obtaining a deployment request for a first virtual network function, the deployment request including type information and first required resource information of the first virtual network function;
[0007] Acquire multiple servers to be selected according to the deployment request;
[0008] Obtaining energy consumption information and renewable energy supply information of the server to be selected;
[0009] Determine a target server from the plurality of servers to be selected according to the energy consumption information and the renewable energy supply information;
[0010] The first virtual network function is deployed to the target server.
[0011] In some embodiments, obtaining multiple servers to be selected according to the deployment request includes:
[0012] According to the deployment request, an available server is obtained from a plurality of servers as the candidate server.
[0013] In some embodiments, the obtaining of energy consumption information of the candidate server includes:
[0014] Obtaining the number and real-time traffic of second virtual network functions received by the candidate server within a first preset time period;
[0015] Obtaining a first energy consumption of a hardware device in the candidate server within the first preset time period;
[0016] Predict the second energy consumption of the selected server within a second preset time period according to the second virtual network function quantity, the real-time traffic or the first energy consumption.
[0017] In some embodiments, the obtaining the renewable energy supply information of the server to be selected includes:
[0018] Obtaining real-time wind speed information of the location of the candidate server;
[0019] The wind power generation power of the candidate server within the second preset time period is calculated according to the real-time wind speed information.
[0020] In some embodiments, the calculation formula of the wind power generation power is as follows:
[0021]
[0022] In the formula, P represents the wind power generation power; V represents the real-time wind speed; ρ represents the air density; Rη represents the radius of the generator blade; and represents the generator efficiency.
[0023] In some embodiments, determining a target server from a plurality of the candidate servers according to the energy consumption information and the renewable energy supply information includes:
[0024] Calculating remaining renewable energy function information according to the renewable energy supply information and the energy consumption information;
[0025] A target server is determined from the plurality of the candidate servers according to the remaining renewable energy function information and the first required resource information corresponding to each of the candidate servers.
[0026] In some embodiments, predicting the second energy consumption of the candidate server within a second preset time period according to the second virtual network function quantity, the real-time traffic, or the first energy consumption includes:
[0027] Calculate second required resource information according to the number of the second virtual network functions;
[0028] The second energy consumption of the candidate server within a second preset time period is predicted according to the second required resource information, the real-time traffic or the first energy consumption.
[0029] To achieve the above-mentioned purpose, another aspect of the embodiment of the present application provides a 5GC-based virtual network function deployment device, the device comprising:
[0030] A first module is used to obtain a deployment request for a first virtual network function, where the deployment request includes type information and first required resource information of the first virtual network function;
[0031] The second module is used to obtain multiple servers to be selected according to the deployment request;
[0032] The third module is used to obtain energy consumption information and renewable energy supply information of the server to be selected;
[0033] A fourth module is used to determine a target server from the plurality of candidate servers according to the energy consumption information and the renewable energy supply information;
[0034] The fifth module is used to deploy the first virtual network function to the target server.
[0035] To achieve the above object, another aspect of the embodiment of the present application provides a computer device, comprising:
[0036] at least one processor;
[0037] at least one memory for storing at least one program;
[0038] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.
[0039] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above method when executed by a processor.
[0040] The embodiments of the present application include at least the following beneficial effects: The present application provides a virtual network function deployment method, device and storage medium based on 5GC. After obtaining a deployment request including type information of a first virtual network function and first required resource information, the scheme obtains multiple servers to be selected, and obtains energy consumption information and renewable energy supply information of the servers to be selected. After determining a target server from the multiple servers to be selected based on the energy consumption information and renewable energy supply information, the first virtual network function is deployed to the target server, thereby making full use of the server powered by renewable energy to run the first virtual network function, thereby effectively reducing the use of non-renewable energy and improving the stability of communication and data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a flowchart of a 5GC-based virtual network function deployment method provided in an embodiment of the present application;
[0042] Figure 2 It is a schematic diagram of the VNF architecture provided by an embodiment of the present application;
[0043] Figure 3 It is an interactive schematic diagram of the VNF deployment process provided by an embodiment of the present application;
[0044] Figure 4 It is an application flow chart of the 5GC-based virtual network function deployment method provided in an embodiment of the present application;
[0045] Figure 5 It is a structural diagram of a virtual network function deployment device based on 5GC provided in an embodiment of the present application;
[0046] Figure 6 It is a schematic diagram of the hardware structure of the computer device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application, they are only examples of devices and methods consistent with some aspects of the embodiments of the present application.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0049] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations:
[0050] 5GC: 5G core network is the core of 5G mobile network. It establishes reliable and secure network connections for end users and provides access to their services. The core domain handles various basic functions in mobile networks, such as connectivity and mobility management, authentication and authorization, user data management and policy management. 5G core network functions are completely software-based and designed to be cloud-native, which means they are independent of the underlying cloud infrastructure, thus achieving higher deployment agility and flexibility.
[0051] NFV: The full name of NFV is Network Functions Virtualization, which means network function virtualization in Chinese. In the NFV architecture, NFVO implements global resource orchestration, cross-service orchestration, topology management and network fault management; the NFVM in the middle is the manager of network function virtualization, which implements the creation, modification, deletion, and monitoring of the entire life cycle and status of virtual network functions, as well as fault monitoring; VIM is the manager of basic equipment, which manages the network resources of the entire network and monitors the status of resources and fault indicator information.
[0052] VNF: The full English name is Virtual Network Function, which is interpreted as virtual network function in Chinese.
[0053] AMF: The full name of AMF is Access and Mobility Management Function, which is interpreted in Chinese as access and mobility management function network element. Its functions include connection management, reachability management, mobility management, access authorization, etc.
[0054] SMF: The full name of SMF is Session Management Function, which is interpreted as Session Management Function Network Element in Chinese. Its functions include session management, such as session establishment, modification and release, including channel maintenance between UPF and AN nodes.
[0055] UPF: The full name of UPF is User plane Function, which is interpreted as user plane functional network element in Chinese. Its functions include session point for interconnection between external PDU and data network, packet routing and forwarding, such as supporting uplink classifier to route business flows to data network instances.
[0056] OSS is a business support system, which is a software application used to support back-office activities.
[0057] The embodiments of the present application provide a 5GC-based virtual network function deployment method, device and storage medium. After obtaining a deployment request including type information of a first virtual network function and first required resource information, the present application obtains multiple candidate servers, and obtains energy consumption information and renewable energy supply information of the candidate servers. After determining a target server from the multiple candidate servers based on the energy consumption information and renewable energy supply information, the first virtual network function is deployed to the target server, thereby making full use of the server powered by renewable energy to run the first virtual network function, thereby effectively reducing the use of non-renewable energy and improving the stability of communication and data transmission.
[0058] The 5GC-based virtual network function deployment method provided in the embodiment of the present application relates to the field of 5G technology. The 5GC-based virtual network function deployment method provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements a 5GC-based virtual network function deployment method, etc., but is not limited to the above forms.
[0059] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0060] Figure 1 is an optional flowchart of a 5GC-based virtual network function deployment method provided in an embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S106.
[0061] Step S110: Obtain a deployment request for a first virtual network function, wherein the deployment request includes type information of the first virtual network function and first required resource information;
[0062] Step S120: obtaining multiple servers to be selected according to the deployment request;
[0063] Step S130: Obtain energy consumption information and renewable energy supply information of the server to be selected;
[0064] Step S140: determining a target server from the plurality of servers to be selected according to the energy consumption information and the renewable energy supply information;
[0065] Step S150: deploy the first virtual network function to the target server.
[0066] In the embodiment of the present application, the VNF architecture involved in this embodiment is as follows Figure 2 As shown. It can be understood that the first virtual network function is the virtual network function that needs to be deployed currently, and the second virtual network function is the virtual network function that has been deployed in the server. Specifically, during the deployment process, Figure 3 In the interaction scenario shown, when a deployment request for the first virtual network function sent by OSS is received, the dynamic deployment function of VNF is triggered to dynamically deploy the VNF.
[0067] In an embodiment of the present application, available servers can be obtained from a number of servers as candidate servers according to a deployment request, so that subsequent deployment processing can be performed by selecting from these available servers, thereby improving processing efficiency.
[0068] In an embodiment of the present application, after multiple servers are selected, the energy consumption information and renewable energy supply information of these servers are obtained. It can be understood that since the working process of the VNF will receive marketing information of factors such as the number of VNFs, real-time traffic, and time in the server to be selected, this embodiment obtains the number of second virtual network functions and real-time traffic received in the server to be selected in the first preset time period, and predicts the energy consumption of the server to be selected in the second preset time period based on the number of second virtual network functions and real-time traffic as the second energy consumption. Specifically, the second required resource information can be calculated according to the number of second virtual network functions, and the second energy consumption of the server to be selected in the second preset time period can be predicted according to the second required resource information and real-time traffic, that is, the energy consumption at the future moment is predicted. In addition, the first energy consumption of the hardware device in the server to be selected in the first preset time period can also be obtained, and the second energy consumption of the server to be selected in the second preset time period can be predicted based on the energy consumption. Then these predicted energy consumptions are sent to the NFVO.
[0069] At the same time, the embodiment of the present application can also obtain the renewable energy supply information of the selected server to adjust the deployment of NFV. Specifically, the present embodiment can obtain the real-time wind speed information of the location of the selected server through the weather forecast, and then predict the amount of energy provided by wind power in the future based on the real-time wind speed information. Due to the large granularity of the weather forecast, there may be a large difference in the wind speed corresponding to different areas of a city and different roof heights. Therefore, the present embodiment deploys wind sensors on the roof to detect the real-time wind speed information in real time through the wind sensors, and sends the real-time wind speed information to the data center of 5GC for storage, so that 5GC can use these data to calculate the wind power generation at each moment, and then predict the power changes at future moments through time series based on the changes in these powers. Specifically, the calculation formula for wind power generation is as follows:
[0070]
[0071] In the formula, P represents the wind power generation power; V represents the real-time wind speed; ρ represents the air density; Rη represents the radius of the generator blade; represents the generator efficiency, that is, the efficiency of converting wind energy into electrical energy through the generator: Generator efficiency = output power ÷ input power = (rated power × 0.95) ÷ (rated current × rated voltage × 0.95), and the rated power is marked on the motor nameplate. Among them, 0.95 is the motor efficiency correction factor. When there is no mark on the motor nameplate, it is generally defaulted to 0.95.
[0072] In the embodiment of the present application, after obtaining the renewable energy supply information and energy consumption information, the remaining renewable energy function information is calculated according to the renewable energy supply information and energy consumption information, and then the target server is determined from multiple candidate servers according to the remaining renewable energy function information and the first required resource information corresponding to each candidate server. It can be understood that if Figure 4 As shown, if renewable energy can meet the power demand at future times, that is, the electric energy generated by wind energy at future times is greater than the system power consumption at future times, the current deployment mode of VNF will not be adjusted; if renewable energy cannot meet the power demand at future times, that is, the electric energy generated by wind energy at future times is less than the system power consumption at future times, indicating that the power generation power in the future period is unstable or decreases, then renewable energy is insufficient, and the VNF deployment should be migrated to a server powered by traditional energy, and then migrated back to the original server after the renewable energy supply increases and stabilizes.
[0073] In summary, the method provided in the embodiment of the present application obtains external function data and internal consumption data to improve the dynamic orchestration capability of NFVO, thereby improving network efficiency, ensuring service continuity and stability, reducing carbon emissions of 5G networks, promoting the use of renewable energy, and promoting environmental sustainability and improvement. At the same time, renewable energy is used to improve network performance while reducing operating costs.
[0074] Reference Figure 5 , an embodiment of the present application provides a virtual network function deployment device based on 5GC, the device comprising:
[0075] A first module 510 is configured to obtain a deployment request for a first virtual network function, wherein the deployment request includes type information and first required resource information of the first virtual network function;
[0076] The second module 520 is used to obtain multiple servers to be selected according to the deployment request;
[0077] The third module 530 is used to obtain energy consumption information and renewable energy supply information of the server to be selected;
[0078] The fourth module 540 is used to determine a target server from a plurality of candidate servers according to the energy consumption information and the renewable energy supply information;
[0079] The fifth module 550 is used to deploy the first virtual network function to the target server.
[0080] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0081] The embodiment of the present application also provides a computer device, the computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned 5GC-based virtual network function deployment method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0082] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0083] See also Figure 6 , Figure 6 The hardware structure of a computer device according to another embodiment is shown, and the computer device includes:
[0084] The processor 610 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.
[0085] The memory 620 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 620 can store an operating system and other applications. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 620, and the processor 610 calls and executes the virtual network function deployment method based on 5GC in the embodiment of this application;
[0086] Input / output interface 630, used to implement information input and output;
[0087] Communication interface 640, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WI FI, Bluetooth, etc.);
[0088] bus 650 , which transmits information between the various components of the device (e.g., processor 610 , memory 620 , input / output interface 630 , and communication interface 640 );
[0089] The processor 610 , the memory 620 , the input / output interface 630 , and the communication interface 640 are connected to each other in communication within the device via a bus 650 .
[0090] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the above-mentioned 5GC-based virtual network function deployment method is implemented.
[0091] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0092] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor 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.
[0093] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0094] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0095] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0096] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0097] The terms "first", "second", "third", "fourth", etc. (if any) in the specification 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.
[0098] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0099] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above 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.
[0100] The units described above 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0101] 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.
[0102] 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 is essentially 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 multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. 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 programs.
[0103] The preferred embodiments of the present application are described above with reference to the accompanying drawings, but the scope of the rights of the present application is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present application should be within the scope of the rights of the present application.
Claims
1. A virtual network function deployment method based on 5GC, It is characterized in that The method comprises the following steps: Obtaining a deployment request for a first virtual network function, the deployment request including type information and first required resource information of the first virtual network function; Acquire multiple servers to be selected according to the deployment request; Obtaining energy consumption information and renewable energy supply information of the server to be selected; Determine a target server from the plurality of servers to be selected according to the energy consumption information and the renewable energy supply information; The first virtual network function is deployed to the target server.
2. The method according to claim 1, It is characterized in that The acquiring a plurality of servers to be selected according to the deployment request includes: According to the deployment request, an available server is obtained from a plurality of servers as the candidate server.
3. The method according to claim 1, It is characterized in that The obtaining of energy consumption information of the server to be selected includes: Obtaining the number and real-time traffic of second virtual network functions received by the candidate server within a first preset time period; Obtaining a first energy consumption of a hardware device in the candidate server within the first preset time period; Predict the second energy consumption of the selected server within a second preset time period according to the second virtual network function quantity, the real-time traffic or the first energy consumption.
4. The method according to claim 2, It is characterized in that The obtaining of renewable energy supply information of the server to be selected includes: Obtaining real-time wind speed information of the location of the candidate server; The wind power generation power of the candidate server within the second preset time period is calculated according to the real-time wind speed information.
5. The method according to claim 4, It is characterized in that The calculation formula of wind power generation power is as follows: In the formula, P represents the wind power generation power; V represents the real-time wind speed; ρ represents the air density; Rη represents the radius of the generator blade; and represents the generator efficiency.
6. The method according to claim 1, It is characterized in that The step of determining a target server from a plurality of the candidate servers according to the energy consumption information and the renewable energy supply information includes: Calculating remaining renewable energy function information according to the renewable energy supply information and the energy consumption information; A target server is determined from the plurality of the candidate servers according to the remaining renewable energy function information and the first required resource information corresponding to each of the candidate servers.
7. The method according to claim 3, It is characterized in that The predicting the second energy consumption of the candidate server within a second preset time period according to the second virtual network function quantity, the real-time traffic or the first energy consumption includes: Calculate second required resource information according to the number of the second virtual network functions; The second energy consumption of the candidate server within a second preset time period is predicted according to the second required resource information, the real-time traffic or the first energy consumption.
8. A virtual network function deployment device based on 5GC, It is characterized in that The device comprises: A first module is used to obtain a deployment request for a first virtual network function, where the deployment request includes type information and first required resource information of the first virtual network function; The second module is used to obtain multiple servers to be selected according to the deployment request; The third module is used to obtain energy consumption information and renewable energy supply information of the server to be selected; A fourth module is used to determine a target server from the plurality of candidate servers according to the energy consumption information and the renewable energy supply information; The fifth module is used to deploy the first virtual network function to the target server.
9. A computer device, It is characterized in that include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
