CN114675960A - Computing resource allocation method and device and nonvolatile storage medium - Google Patents

Computing resource allocation method and device and nonvolatile storage medium Download PDF

Info

Publication number
CN114675960A
CN114675960A CN202011552234.9A CN202011552234A CN114675960A CN 114675960 A CN114675960 A CN 114675960A CN 202011552234 A CN202011552234 A CN 202011552234A CN 114675960 A CN114675960 A CN 114675960A
Authority
CN
China
Prior art keywords
computing resource
computing
resources
resource
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011552234.9A
Other languages
Chinese (zh)
Inventor
杨光
吴鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202011552234.9A priority Critical patent/CN114675960A/en
Publication of CN114675960A publication Critical patent/CN114675960A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a computing resource allocation method and device and a nonvolatile storage medium. Wherein, the method comprises the following steps: acquiring first computing resource information available for an information communication equipment platform, wherein the information communication equipment platform comprises: a user plane functional entity in a mobile edge computing platform and a core network; acquiring the type and the amount of resources required to be used by a target application to obtain target computing resource information; determining a computing resource allocation strategy according to the first computing resource information and the target computing resource information, wherein the computing resource allocation strategy is used for indicating that computing resources are scheduled for the target application from the information communication equipment platform; and allocating the computing resources for the target application according to the computing resource allocation strategy. The method and the device solve the technical problem that the distribution and use efficiency of various computing resources in the ICT fusion equipment is low.

Description

Computing resource allocation method and device and nonvolatile storage medium
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for allocating computing resources and a non-volatile storage medium.
Background
In a 5G to C large network, a UPF (User Plane Function) in a 5G (5G core network) belongs to a CT (Communication Technology) device, and mainly completes functions of data forwarding, QoS (Quality of Service) execution, packet header detection, charging, and the like of a User Plane, and is generally deployed in a centralized large area of regional provinces together with a control Plane of the 5 GC; an MEP (Mobile Edge Platform, Mobile Edge computing Platform) belongs to an IT (Information Technology, internet Technology) infrastructure, and various applications sensitive to time delay and data security are developed and provided on the MEP, and are generally deployed to a city machine room and relatively close to a user. However, in the 5G private network, since the UPF in the 5GC sinks to the user park, the MEP may also be deployed in the park as a user-built private cloud, and both may become integrated ICT fusion equipment in terms of implementation, and only complete the respective CT and IT functions respectively.
How to accurately and efficiently use various computing and storage resources is important for any CT or IT equipment, however, UPF + MEP is a novel ICT fusion product, and when the UPF + MEP is deployed locally as integrated equipment, the flexibility of resource use is not as high as that when the UPF + MEP is deployed in a cloud, so that how to realize efficient sharing of processing resources becomes a difficult problem.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a computing resource allocation method, a computing resource allocation device and a nonvolatile storage medium, so as to at least solve the technical problem that the allocation and use efficiency of various computing resources in ICT fusion equipment is not high.
According to an aspect of an embodiment of the present application, a method for allocating computing resources is provided, including: acquiring first computing resource information available for an information communication equipment platform, wherein the information communication equipment platform comprises: a user plane functional entity in a mobile edge computing platform and a core network; acquiring the type and the amount of resources required to be used by a target application to obtain target computing resource information; determining a computing resource allocation policy according to the first computing resource information and the target computing resource information, wherein the computing resource allocation policy is used for indicating that computing resources are scheduled for the target application from the information communication equipment platform; and performing computing resource allocation for the target application according to the computing resource allocation strategy.
According to another aspect of the embodiments of the present application, there is provided another method for allocating computing resources, including: a session management functional entity in a core network determines computing resource marking information, wherein the computing resource marking information is used for indicating the type and the amount of computing resources required by a target application to use a mobile edge computing platform; adding the computing resource marking information into an interface message between a session management functional entity and a user plane functional entity; and sending the interface message to a user plane functional entity, wherein the user plane functional entity acquires the computing resource marking information and sends the computing resource marking information to a computing resource scheduling module, and the computing resource scheduling module performs computing resource allocation for the target application according to the computing resource marking information.
According to another aspect of the embodiments of the present application, there is provided another method for allocating computing resources, including: a user plane functional entity in a core network receives an interface message from a session management functional entity, wherein the interface message carries computing resource marking information, and the computing resource marking information is used for indicating the type and the amount of computing resources required by a target application to use a mobile edge computing platform; and the user plane functional entity acquires the computing resource marking information from the interface message and sends the computing resource marking information to a computing resource scheduling module, wherein the computing resource scheduling module performs computing resource allocation for the target application according to the computing resource marking information.
According to another aspect of the embodiments of the present application, there is also provided a computing resource allocating apparatus, including: the first obtaining module is configured to obtain first computing resource information available to an information communication device platform, where the information communication device platform includes: a user plane functional entity in a mobile edge computing platform and a core network; the second acquisition module is used for acquiring the resource type and the resource amount required to be used by the target application to obtain target computing resource information; a determining module, configured to determine a computing resource allocation policy according to the first computing resource information and the target computing resource information, where the computing resource allocation policy is used to instruct that computing resources are scheduled for the target application from the information communication device platform; and the execution module is used for allocating the computing resources for the target application according to the computing resource allocation strategy.
According to another aspect of the embodiments of the present application, a non-volatile storage medium is further provided, where the non-volatile storage medium includes a stored program, and when the program runs, a device in which the non-volatile storage medium is located is controlled to execute any one of the above-mentioned computing resource allocating methods.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a processor and a memory, the memory coupled to the processor for providing instructions to the processor to process the following process steps: acquiring first computing resource information available for an information communication equipment platform, wherein the information communication equipment platform comprises: a user plane functional entity in a mobile edge computing platform and a core network; acquiring the type and the amount of resources required to be used by a target application to obtain target computing resource information; determining a computing resource allocation policy according to the first computing resource information and the target computing resource information, wherein the computing resource allocation policy is used for indicating allocation of computing resources for the target application from the first computing resources; and performing computing resource allocation for the target application according to the computing resource allocation strategy.
In the embodiment of the application, by expanding the interface message between the session management functional entity and the user plane functional entity in the core network, the type and the amount of the computing resources required by the target application for using the mobile edge computing platform are added to the application identification field, so that the resource information used by the user plane functional entity and the mobile edge computing platform can be acquired within a certain time length; after the information is obtained, unified scheduling can be performed on the computing resources of the ICT fusion equipment: the method comprises the steps of firstly, uniformly distributing the same resources (such as CPU) used by a user plane functional entity and a mobile edge computing platform, improving the use efficiency, and then allocating other heterogeneous resources in the mobile edge computing platform, thereby solving the technical problem of low distribution and use efficiency of various computing resources in ICT fusion equipment.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a computer terminal according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for allocating computing resources according to an embodiment of the present application;
FIG. 3a is a diagram of an application identification field before expansion according to an embodiment of the present application;
FIG. 3b is a diagram of an extended application identification field according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating another method for allocating computing resources according to an embodiment of the present application;
FIG. 5 is a flow chart illustrating another method for allocating computing resources according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of an apparatus for allocating computing resources according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, some terms or terms appearing in the description of the embodiments of the present application are applicable to the following explanations:
MEP (moving edge computing platform): the cloud server platform running at the edge of the mobile network and running specific tasks can provide services required by IT of telecommunication users and cloud computing functions nearby by utilizing the wireless access network, so that a telecommunication-level service environment with high performance, low delay and high bandwidth is created, the rapid downloading of various contents, services and applications in the network is accelerated, and consumers can enjoy uninterrupted high-quality network experience.
UPF (user plane function) is a user plane network element in a core network and is responsible for routing and forwarding user data packets, data interaction with an external data network DN, QoS (quality of service) processing of a user plane, flow control rule implementation (such as gating, redirection and flow diversion), and the like.
SMF (Session Management Function): SMF is a functional unit of 5G service-based architecture, which is mainly responsible for interacting with a separate data plane, creating, updating, and deleting PDU (protocol data unit) sessions, and managing a session environment with UPF.
The UPF and SMF are connected through an N4 interface, the N4 session management flow is used for controlling the function of the UPF, and the process comprises the following steps: n4 session establishment procedure, N4 session modification procedure and N4 session release procedure, all initiated by SMF; the SMF may create, update, and delete N4 session context in UPF, where N4 session context is identified by N4 session ID, and N4 session context is generated by SMF and UPF, respectively, to store parameters related to N4 session, including N4 session ID, all PDRs (Packet Detection Rules), URRs (Usage Reporting Rules), QER (QoS Enforcement Rules), and FAR (Forwarding Action Rules) for the N4 session.
Example 1
In accordance with an embodiment of the present application, there is provided an embodiment of a computing resource deployment method, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system, such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that described herein.
The method provided by the embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device, and fig. 1 shows a hardware structure block diagram of a computer terminal (or a mobile device) for implementing the method for allocating computing resources. As shown in fig. 1, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission module 106 for communication functions. Besides, the method can also comprise the following steps: a display, 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, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be generally referred to herein as "data processing circuitry," which may be embodied in whole or in part as software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the computing resource allocation method in the embodiment of the present application, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the vulnerability detection method of the application program. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission module 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In an alternative embodiment, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
In the foregoing operating environment, the present application provides a method for allocating computing resources, as shown in fig. 2, the method includes steps S202 to S208, where:
step S202, obtaining first computing resource information available for an information communication equipment platform, wherein the information communication equipment platform comprises: MEP and UPF entities in the core network.
In an optional embodiment of the present application, in order to fully utilize computing resources, the MEP and the UPF entity in the core network are integrally deployed to form an integrated ICT fusion device, that is, an information communication device platform in the embodiment of the present application, and then a computing resource scheduling module performs unified scheduling and allocation on all computing resources.
Specifically, it is required to determine an available first computing resource amount from all computing resources of the information communication device platform, where the available first computing resource amount may be 100% or any proportion of all computing resources, and then obtain first computing resource information, where the available first computing resource of the information communication device platform is of multiple types: for example, CPU resources, GPU resources, FPGA (Field-Programmable Gate Array) resources, AISC (Application Specific interleaved Circuit) resources, and the like, obtain the resource amount of each type of available computing resource, so as to be subsequently allocated for a target Application.
Step S204, acquiring the resource type and the resource amount needed by the target application to obtain the target computing resource information.
When a target application makes a service request, it needs to determine which types of computing resources and corresponding resource amounts need to be used by the target application to obtain target computing resource information, so as to more efficiently and reasonably allocate the computing resources. In an optional embodiment of the present application, the target computing resource information is obtained by obtaining a second amount of computing resources required by the target application to use the UPF entity and a third amount of computing resources required by the target application to use the MEP.
Specifically, the second computing resource includes a fixed resource, that is, a fixed type of computing resource required by the target application to use the UPF entity, and typically, the type of computing resource mainly used by the UPF entity is a CPU resource.
The third computing resources comprise fixed resources and heterogeneous resources, wherein the fixed resources are computing resources of fixed types required by the target application to use the MEP, and the heterogeneous resources are computing resources of different types required by the target application to use the MEP. Generally, the resources used by MEPs are more diverse, for example, application logic generally uses CPU resources, rendering and reasoning uses GPU resources, some hardware accelerators may also use resources such as FPGA or AISC, and these determined types of computing resources are fixed resources; the heterogeneous resources are not of a fixed type and can correspond to a plurality of different types of computing resources, for example, CPU resources or GPU resources can be used during encoding and decoding, and the heterogeneous resources are used.
In an optional embodiment of the present application, before obtaining the third amount of computing resources required by the target application to use the MEP, application identification information of the target application needs to be obtained, where the application identification information includes an application identification of the target application, and a type and an amount of computing resources required by the target application to use the MEP.
In the core network, the SMF entity and the UPF entity are connected through an N4 interface, and applications that may need to use MEPs for calculation in the following are labeled by expanding an application identification field (application ID) in an N4 interface message (note that some applications are only forwarded through UPF and edge calculation processing is not performed, that is, the applications only use UPF to consume calculation resources, and the MEPs do not occupy calculation resources); and marking the resources which are possibly used by the application, wherein the used resources comprise CPU resources, GPU resources and the like.
An optional process of expanding the Application Identifier field is shown in fig. 3a and 3b, where fig. 3a is an original Application Identifier field, and the Application Identifier is an Application Identifier, and fig. 3b is a new Application Identifier field obtained by adding tagging information MEP usage type Identifier/MEP usage Identifier (which is the same information) to the original Application Identifier field, where the tagging information is used to indicate the type and amount of resources required by the MEP used by the target Application, and specifically, a mapping relation table between the tagging information and the usage of the resources may be established, and the type and amount of resources required by the MEP used by the target Application may be obtained according to the tagging information.
After the SMF entity sends the interface message to the UPF entity, the calculation resource scheduling module may obtain, from the UPF entity, a second calculation resource amount required by the target application to use the UPF entity and a third calculation resource amount required by the target application to use the MEP, that is, the target calculation resource information.
Step S206, determining a computing resource allocation strategy according to the first computing resource information and the target computing resource information, wherein the computing resource allocation strategy is used for indicating that computing resources are scheduled for the target application from the information communication equipment platform.
Step S208, allocating the computing resources for the target application according to the computing resource allocation strategy.
In an optional embodiment of the present application, the process of determining the computing resource allocation policy includes: determining a target fixed resource amount required by the target application according to the second computing resource amount and the fixed resource amount in the third computing resource; allocating fixed resources corresponding to the target fixed resource amount to the target application from the first computing resources; calculating the residual available resource amount of the first computing resource after allocating the fixed resource of the target fixed resource amount to the target application; and determining a target heterogeneous resource amount allocated to the target application according to the remaining available resource amount of the first computing resource and the heterogeneous resource amount in the third computing resource.
Specifically, after obtaining target computing resource information required by the target application, the computing resource scheduling module schedules and allocates computing resources for the target application from first computing resources available to the information communication device platform. Since the fixed resources are not schedulable, the target application is first allocated the required target fixed resource amount, which is the sum of the fixed resources required by the target application to use the UPF and the fixed resources required by the target application to use the MEP. For example, when an application uses UPF, the amount of CPU resources required to be occupied by the logic function is n1, when an MEP is used, the amount of CPU resources required to be occupied by the logic function is n2, the amount of GPU resources required to be occupied by the image processing function is n3, the amount of resources required to be occupied by the codec function is n4, where n1, n2, and n3 are all fixed resources, the computing resource scheduling module allocates the CPU resources of n1+ n2 and the GPU resources of n3 to the target application from the first computing resources.
After distributing the corresponding target fixed resource amount for the target application, calculating the remaining available resource amount in the first computing resource; and determining the heterogeneous resource amount distributed for the target application from the remaining available resource amount of the first computing resource according to the target heterogeneous resource amount required by the target application.
In an optional embodiment of the present application, when determining the target heterogeneous resource amount allocated to the target application, the computing resource type and the resource amount of each computing resource type in the heterogeneous resources used by the target application are determined by determining the target heterogeneous resource amount required by the target application, and the remaining computing resource type and the corresponding resource amount of the first computing resource, and the corresponding computing resource is allocated to the target application according to the computing resource type and the resource amount of each computing resource type in the heterogeneous resources. Determining a target heterogeneous resource amount required by a target application, and a computing resource type and a corresponding resource amount of a first computing resource
Specifically, after the target heterogeneous resource amount required by the target application is determined, which type of heterogeneous resource is specifically allocated to the target application may be determined according to the resource amount of each type of resource in the remaining computing resources in the first computing resource. For example, the amount of resources that an application needs to occupy using the MEP codec function is n4, and at this time, if the remaining CPU resources in the first computing resource are more and the GPU resources are less, the CPU resources of n4 may be allocated to the target application; if the remaining GPU resources are large and the CPU resources are small in the first computing resources, the target application may be allocated n4 GPU resources, or naturally, the target application may be allocated n5 GPU resources and n6 GPU resources, where n5+ n6 is n 4.
It should be noted that the type and the resource amount of the heterogeneous resource allocated to the target application are not fixed after allocation, but may be adjusted at any time according to the remaining resource amount in the first computing resource and then allocated again.
In the embodiment of the application, first computing resource information available for an information communication equipment platform is obtained; acquiring target computing resource information required to be used by a target application; determining a computing resource allocation strategy according to the first computing resource information and the target computing resource information; and allocating the computing resources for the target application according to the computing resource allocation strategy. The method comprises the steps of expanding interface information between an SMF entity and an UPF entity in a core network, adding a computing resource type and a resource amount required by indicating a target application to use an MEP in an application identification field, and accordingly obtaining resource information used by the UPF entity and the MEP within a certain time, uniformly scheduling computing resources of ICT fusion equipment, improving the utilization efficiency of the computing resources, and further solving the technical problem that the distribution and utilization efficiency of various computing resources in the ICT fusion equipment are not high.
Example 2
There is also provided, in accordance with an embodiment of the present application, another embodiment of a method for deploying computing resources, in which the steps illustrated in the flowcharts of the figures may be implemented in a computer system, such as a set of computer-executable instructions, and in which, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than the order illustrated.
The method for allocating computing resources provided in the embodiment of the present application may also be operated in the operating environment of the computer terminal 10 provided in embodiment 1, as shown in fig. 4, the method for allocating computing resources includes steps S402 to S406, where:
step S402, the SMF entity in the core network determines the calculation resource marking information, and the calculation resource marking information is used for indicating the calculation resource type and resource amount required by the target application to use the MEP.
In the core network, the SMF entity and the UPF entity are connected through an N4 interface. In an optional embodiment of the present application, by expanding an application identification field in the N4 interface message, an application that may be subsequently calculated using MEPs may be labeled; and annotate the computing resource types and resource amounts that the application may use.
Step S404, adding the computing resource marking information into the interface message between the SMF entity and the UPF entity.
In an optional embodiment of the present application, the computing resource tagging information is added to an application identifier field of an interface message, as shown in fig. 3a and 3b, where fig. 3a is an original application identifier field, and fig. 3b is a new application identifier field obtained by adding tagging information on the basis of the original application identifier field, where the tagging information is used to indicate a computing resource type and a resource amount required by a target application for using an MEP, and specifically, a mapping relationship table between the tagging information and a resource usage condition may be established, and the computing resource type and the resource amount required by the target application for using the MEP may be obtained according to the tagging information.
Step S406, the interface message is sent to the UPF entity, wherein the UPF entity obtains the computing resource marking information and sends the computing resource marking information to the computing resource scheduling module, and the computing resource scheduling module performs computing resource allocation for the target application according to the computing resource marking information.
In an optional embodiment of the present application, after the SMF entity sends the interface message to the UPF entity, the UPF entity sends the obtained computing resource label information to the computing resource scheduling module, the computing resource scheduling module obtains the computing resource required by the target application to use the UPF entity and the computing resource required to use the MEP, obtains the target computing resource information, determines a computing resource allocation policy in combination with the first computing resource information available to the information communication device platform, and allocates the computing resource for the target application according to the computing resource allocation policy.
In the embodiment of the application, interface messages between the SMF entity and the UPF entity in the core network are expanded, and the type and the amount of the computing resources required by the target application for using the MEP are added to the application identification field, so that the resource information used by the UPF entity and the MEP can be acquired within a certain time, the computing resources of the ICT fusion device can be uniformly scheduled, the utilization efficiency of the computing resources is improved, and the technical problem that the distribution and utilization efficiency of various computing resources in the ICT fusion device are not high is solved.
Example 3
There is also provided, in accordance with an embodiment of the present application, another embodiment of a method for computing resource deployment, where the steps illustrated in the flowchart of the figure are executable by a computer system, such as a set of computer-executable instructions, and where a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be executed out of order from that shown.
The method for allocating computing resources provided in the embodiment of the present application may also be operated in the operating environment of the computer terminal 10 provided in embodiment 1, as shown in fig. 5, the method for allocating computing resources includes steps S502 to S504, where:
step S502, a UPF entity in a core network receives an interface message from an SMF entity, wherein the interface message carries computing resource marking information, and the computing resource marking information is used for indicating the type and the amount of computing resources required by a target application to use MEP.
Step S504, the UPF entity obtains the computing resource marking information from the interface message and sends the computing resource marking information to the computing resource scheduling module, wherein the computing resource scheduling module allocates the computing resource for the target application according to the computing resource marking information.
In the core network, the SMF entity and the UPF entity are connected through an N4 interface. In an optional embodiment of the present application, by expanding an application identification field in an N4 interface message, adding computing resource marking information, marking a computing resource type and a resource amount required by a target application for using an MEP; the UPF entity obtains the calculation resource marking information from the interface information from the SMF entity and sends the calculation resource marking information to the calculation resource scheduling module, the calculation resource scheduling module obtains the calculation resource required by the target application for using the UPF entity and the calculation resource required by the target application for using the MEP to obtain target calculation resource information, then the calculation resource allocation strategy is determined by combining the first calculation resource information available for the information communication equipment platform, and calculation resource allocation is carried out on the target application according to the calculation resource allocation strategy.
In the embodiment of the application, the interface message between the SMF entity and the UPF entity in the core network is expanded, and the type and the amount of the computing resources required by the target application to use the MEP are added to the application identifier field, so that the resource information used by the UPF entity and the MEP can be acquired within a certain time, the computing resources of the ICT fusion device can be uniformly scheduled, the utilization efficiency of the computing resources is improved, and the technical problem that the allocation and utilization efficiency of various computing resources in the ICT fusion device are not high is solved.
Example 4
According to an embodiment of the present application, there is also provided a computing resource allocating device for implementing the computing resource allocating method, as shown in fig. 6, the device at least includes: a first obtaining module 60, a second obtaining module 62, a determining module 64, and an executing module 66, wherein:
a first obtaining module 60, configured to obtain first computing resource information available for an information communication device platform, where the information communication device platform includes: MEP and UPF entities in the core network.
In an optional embodiment of the present application, the MEP and the UPF entity in the core network are integrally deployed to form an integrated ICT fusion device, that is, an information communication device platform, and first computing resource information is obtained by obtaining a total amount of all available first computing resources of the information communication device platform, where the available first computing resources of the information communication device platform are of multiple types: such as CPU resources, GPU resources, FPGA resources, AISC resources, etc., to obtain the total amount of each type of computing resource for subsequent deployment for the target application.
The second obtaining module 62 is configured to obtain a resource type and a resource amount that need to be used by the target application, so as to obtain target computing resource information.
In an optional embodiment of the present application, it is required to determine what types of computing resources and corresponding resource amounts need to be used by the target application, including a fixed resource amount required by the target application to use the UPF entity and a fixed resource amount and a heterogeneous resource amount required by the target application to use the MEP, to obtain the target computing resource information. Before acquiring the amount of computing resources required by the target application to use the MEP, application identification information of the target application needs to be acquired, wherein the application identification information includes an application identification of the target application, and a type and an amount of computing resources required by the target application to use the MEP.
A determining module 64, configured to determine a computing resource allocation policy according to the first computing resource information and the target computing resource information, where the computing resource allocation policy is used to instruct to schedule computing resources for the target application from the information communication device platform.
And the execution module 66 is configured to allocate the computing resources for the target application according to the computing resource allocation policy.
In an optional embodiment of the present application, a target fixed resource amount required by a target application is determined first, and a fixed resource corresponding to the target fixed resource amount is allocated to the target application; and then determining the computing resource type of the heterogeneous resources allocated to the target application and the resource amount of each computing resource type according to the resource amount of each type of resource in the rest computing resources in the first computing resources.
It should be noted that, each module in the computing resource allocation device provided in the embodiment of the present application corresponds to each step of the computing resource allocation method in embodiment 1 one to one, and a specific implementation process may refer to the content in embodiment 1, which is not described in detail herein.
Example 5
According to an embodiment of the present application, there is also provided an electronic device, as shown in fig. 7, including a processor 70 and a memory 72, wherein:
the memory 72 is coupled to the processor 70 for providing instructions to the processor 70 to process the following process steps:
acquiring first computing resource information available for an information communication equipment platform, wherein the information communication equipment platform comprises: UPF entities in the MEP and core networks; acquiring the type and the amount of resources required to be used by a target application to obtain target computing resource information; determining a computing resource allocation strategy according to the first computing resource information and the target computing resource information, wherein the computing resource allocation strategy is used for indicating that computing resources are scheduled for the target application from the information communication equipment platform; and allocating the computing resources for the target application according to the computing resource allocation strategy.
It should be noted that the electronic device provided in the embodiment of the present application is mainly used for implementing the method for allocating computing resources in embodiment 1, and specific implementation processes may refer to the contents in embodiment 1, and are not described in detail herein.
Example 6
According to the embodiment of the application, a nonvolatile storage medium is further provided, and the nonvolatile storage medium includes a stored program, wherein when the program runs, a device where the nonvolatile storage medium is located is controlled to execute the above method for allocating computing resources.
Optionally, the apparatus in which the non-volatile storage medium is controlled when the program is running executes the following steps: acquiring first computing resource information available for an information communication equipment platform, wherein the information communication equipment platform comprises: UPF entities in the MEP and core networks; acquiring the type and the amount of resources required to be used by a target application to obtain target computing resource information; determining a computing resource allocation strategy according to the first computing resource information and the target computing resource information, wherein the computing resource allocation strategy is used for indicating that computing resources are scheduled for the target application from the information communication equipment platform; and allocating the computing resources for the target application according to the computing resource allocation strategy.
Optionally, the apparatus in which the non-volatile storage medium is controlled when the program is running executes the following steps: an SMF entity in a core network acquires computing resource marking information, wherein the computing resource marking information is used for indicating the type and the amount of computing resources required by a target application to use MEP; adding the computing resource marking information into an interface message between the SMF entity and the UPF entity; and sending the interface message to a UPF entity, wherein the UPF entity acquires the calculation resource marking information and sends the calculation resource marking information to a calculation resource scheduling module, and the calculation resource scheduling module allocates calculation resources for the target application according to the calculation resource marking information.
Optionally, the apparatus in which the non-volatile storage medium is controlled when the program is running executes the following steps: a UPF entity in a core network receives an interface message from an SMF entity, wherein the interface message carries computing resource marking information, and the computing resource marking information is used for indicating the type and the amount of computing resources required by a target application to use MEP; and the UPF entity acquires the computing resource marking information from the interface message and sends the computing resource marking information to the computing resource scheduling module, wherein the computing resource scheduling module allocates computing resources for the target application according to the computing resource marking information.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (12)

1. A method for allocating computing resources, comprising:
acquiring first computing resource information available for an information communication equipment platform, wherein the information communication equipment platform comprises: a user plane functional entity in a mobile edge computing platform and a core network;
acquiring the type and the amount of resources required to be used by a target application to obtain target computing resource information;
determining a computing resource allocation policy according to the first computing resource information and the target computing resource information, wherein the computing resource allocation policy is used for indicating that computing resources are scheduled for the target application from the information communication equipment platform;
and performing computing resource allocation for the target application according to the computing resource allocation strategy.
2. The method of claim 1, wherein obtaining information on a first computing resource available to an information communication device platform comprises:
determining a first computing resource amount available from all computing resources of an information communication equipment platform to obtain the first computing resource information, wherein the first computing resource comprises one or more of the following: CPU resources, GPU resources, field programmable gate array resources and application specific integrated circuit resources.
3. The method of claim 1, wherein obtaining the type and amount of resources needed by the target application to obtain the target computing resource information comprises:
acquiring a second computing resource amount required by the target application to use the user plane functional entity, wherein the second computing resource comprises a fixed resource; wherein the fixed resource is a fixed type of computing resource required by the target application to use the user plane functional entity;
acquiring a third computing resource amount required by the target application to use the mobile edge computing platform, wherein the third computing resource comprises a fixed resource and a heterogeneous resource; wherein the fixed resources are fixed types of computing resources required by the target application to use the mobile edge computing platform, and the heterogeneous resources are different types of computing resources required by the target application to use the mobile edge computing platform;
taking the second amount of computing resources and the third amount of computing resources as the target computing resource information.
4. The method of claim 3, wherein prior to obtaining a third amount of computing resources required by the target application to use the mobile edge computing platform, the method further comprises:
and acquiring application identification information of the target application, wherein the application identification information comprises an application identification of the target application, and a computing resource type and a resource amount required by the target application to use the mobile edge computing platform.
5. The method of claim 3, wherein determining a computing resource allocation policy based on the first computing resource information and the target computing resource information comprises:
determining a target fixed resource amount required by the target application according to the second computing resource amount and the fixed resource amount in the third computing resource;
allocating fixed resources corresponding to the target fixed resource amount from the first computing resources to the target application;
calculating a remaining available resource amount of the first computing resource after allocating the fixed resource of a target fixed resource amount to the target application;
and determining a target heterogeneous resource amount allocated to the target application according to the remaining available resource amount of the first computing resource and the heterogeneous resource amount in the third computing resource.
6. The method of claim 5, wherein determining a target amount of heterogeneous resources allocated for the target application based on the remaining amount of available resources of the first computing resource and the amount of heterogeneous resources in the third computing resource comprises:
determining the target heterogeneous resource amount required by the target application, and the type and the corresponding resource amount of the remaining computing resource of the first computing resource;
determining the computing resource types and the resource amount of each computing resource type in the heterogeneous resources used by the target application, and allocating corresponding computing resources to the target application according to the computing resource types and the resource amount of each computing resource type in the heterogeneous resources.
7. A method for allocating computing resources, comprising:
a session management functional entity in a core network determines computing resource marking information, wherein the computing resource marking information is used for indicating the type and the amount of computing resources required by a target application to use a mobile edge computing platform;
adding the computing resource marking information into an interface message between a session management functional entity and a user plane functional entity;
and sending the interface message to a user plane functional entity, wherein the user plane functional entity acquires the computing resource marking information and sends the computing resource marking information to a computing resource scheduling module, and the computing resource scheduling module performs computing resource allocation for the target application according to the computing resource marking information.
8. The method of claim 7, wherein adding the computing resource annotation information in an interface message between a session management function entity and the user plane function entity comprises:
and adding the computing resource marking information into an application identification field of the interface message.
9. A method for allocating computing resources, comprising:
a user plane functional entity in a core network receives an interface message from a session management functional entity, wherein the interface message carries computing resource marking information, and the computing resource marking information is used for indicating the type and the amount of computing resources required by a target application to use a mobile edge computing platform;
and the user plane functional entity acquires the computing resource marking information from the interface message and sends the computing resource marking information to a computing resource scheduling module, wherein the computing resource scheduling module performs computing resource allocation for the target application according to the computing resource marking information.
10. A computing resource allocation apparatus, comprising:
a first obtaining module, configured to obtain first computing resource information available to an information communication device platform, where the information communication device platform includes: a user plane functional entity in a mobile edge computing platform and a core network;
the second acquisition module is used for acquiring the resource type and the resource amount required to be used by the target application to obtain target computing resource information;
a determining module, configured to determine a computing resource allocation policy according to the first computing resource information and the target computing resource information, where the computing resource allocation policy is used to instruct that computing resources are scheduled for the target application from the information communication device platform;
and the execution module is used for allocating the computing resources for the target application according to the computing resource allocation strategy.
11. A non-volatile storage medium, comprising a stored program, wherein when the program runs, a device in which the non-volatile storage medium is located is controlled to execute the method for allocating computing resources according to any one of claims 1 to 9.
12. An electronic device, comprising:
a processor; and
a memory coupled to the processor for providing instructions to the processor for processing the following processing steps:
acquiring first computing resource information available for an information communication equipment platform, wherein the information communication equipment platform comprises: a user plane functional entity in a mobile edge computing platform and a core network; acquiring the type and the amount of resources required to be used by a target application to obtain target computing resource information; determining a computing resource allocation policy according to the first computing resource information and the target computing resource information, wherein the computing resource allocation policy is used for indicating allocation of computing resources for the target application from the first computing resources; and performing computing resource allocation for the target application according to the computing resource allocation strategy.
CN202011552234.9A 2020-12-24 2020-12-24 Computing resource allocation method and device and nonvolatile storage medium Pending CN114675960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011552234.9A CN114675960A (en) 2020-12-24 2020-12-24 Computing resource allocation method and device and nonvolatile storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011552234.9A CN114675960A (en) 2020-12-24 2020-12-24 Computing resource allocation method and device and nonvolatile storage medium

Publications (1)

Publication Number Publication Date
CN114675960A true CN114675960A (en) 2022-06-28

Family

ID=82070104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011552234.9A Pending CN114675960A (en) 2020-12-24 2020-12-24 Computing resource allocation method and device and nonvolatile storage medium

Country Status (1)

Country Link
CN (1) CN114675960A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116456496A (en) * 2023-06-15 2023-07-18 阿里巴巴(中国)有限公司 Resource scheduling method, storage medium and electronic equipment
WO2024012295A1 (en) * 2022-07-14 2024-01-18 抖音视界有限公司 Video transmission method, apparatus, and system, device, and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024012295A1 (en) * 2022-07-14 2024-01-18 抖音视界有限公司 Video transmission method, apparatus, and system, device, and medium
CN116456496A (en) * 2023-06-15 2023-07-18 阿里巴巴(中国)有限公司 Resource scheduling method, storage medium and electronic equipment
CN116456496B (en) * 2023-06-15 2023-11-14 阿里巴巴(中国)有限公司 Resource scheduling method, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US10075540B2 (en) Network function virtualization (NFV) hardware trust in data communication systems
CN109845303B (en) Management method and management unit for network slices
US20200228405A1 (en) Network slice management method and apparatus
CN109417719B (en) Network resource management method, device and system
CN105979007B (en) Method and device for accelerating resource processing and network function virtualization system
CN109906585B (en) Network slice management method, management unit and system
US10924966B2 (en) Management method, management unit, and system
US12063594B2 (en) Method, device, and system for deploying network slice
US20220116865A1 (en) Information configuration method and management unit
US20140379928A1 (en) Method for implementing network using distributed virtual switch, apparatus for performing the same, and network system based on distributed virtual switch
EP3735043A1 (en) Network slice deployment method and apparatus
CN109803281A (en) Management method, equipment and the system of network service
CN114675960A (en) Computing resource allocation method and device and nonvolatile storage medium
CN110856052A (en) Flexe implementation method and device supporting multiple granularities and electronic equipment
US10972534B2 (en) Efficient un-allocation of cloud resources
WO2019100924A1 (en) Network performance guarantee method and device
CN106792923A (en) A kind of method and device for configuring qos policy
CN112752352B (en) Method and equipment for determining I-SMF (intermediate session management function)
CN114143903A (en) Method, device, equipment and medium for configuring network slice PDU session
CN115915289A (en) Method, device, network element and medium for determining strategy or allocating resources of computing task
CN113630339A (en) Flow forwarding method and device, electronic equipment and storage medium
CN115884273A (en) Network slice resource management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination