Resource management method and device, related equipment and storage medium
By dividing the accelerator into multiple regions in a wireless cloud scenario and reporting available resource information, the problem of low accelerator resource utilization is solved, and the rational utilization and efficient deployment of accelerator resources are achieved.
Patent Information
- Application Number
- CN202311295803.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-08
- Publication Date
- 2025-04-08
AI Technical Summary
In wireless cloud scenarios, the resource utilization rate of the accelerator is low because the orchestration network element cannot obtain relevant information from each area of the accelerator, resulting in the inability to deploy services on demand.
By dividing the accelerator into multiple regions in the server and reporting the available resource information of each region to the first network function, the first network function then sends corresponding resource information to the second network function based on the information, so that the second network function can apply for accelerator resources as needed.
The rational utilization of accelerator resources is realized, the resource utilization rate of the accelerator is improved, and resource waste is avoided.
Smart Images

Figure CN119788520A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a resource management method, apparatus, related equipment and storage medium. Background Art
[0002] In the related technology, in the wireless cloud scenario, the accelerator can be identified and called by the virtual machine or container, and can be managed by the cloud platform; the orchestration network element can use the resources of the accelerator to deploy services, but there is a problem of low resource utilization of the accelerator. Summary of the invention
[0003] To solve related technical problems, the embodiments of the present application provide a resource management method, apparatus, related equipment and storage medium.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application provides a resource management method, which is applied to a server. The method includes:
[0006] Reporting first information to the first network function; wherein,
[0007] The first information is used to indicate available resources in each area of the accelerator in the server, and the available resources of the accelerator are used for the second network function to request deployment of the service.
[0008] In the above solution, the first information includes at least one of the following:
[0009] second information, where the second information is used to indicate the computing power and / or processing power and / or available resources that each area of the accelerator can provide;
[0010] third information, where the third information is used to indicate functions and / or images deployable in each region of the accelerator;
[0011] Fourth information, where the fourth information is used to indicate functions and / or images that can be deployed by the accelerator;
[0012] A first identifier, wherein the first identifier is used to indicate whether the accelerator can be divided into different areas;
[0013] A first number, wherein the first number represents the number of regions into which the accelerator can be divided;
[0014] a second identifier, wherein the second identifier represents an identifier of a region of the accelerator;
[0015] A third identifier, wherein the third identifier is used to indicate whether the area of the accelerator is available;
[0016] A fourth identifier, where the fourth identifier is used to indicate an identifier of an image that has been used in the area of the accelerator;
[0017] The fifth information is used to indicate a function implemented by the image used in the area of the accelerator.
[0018] In the above solution, the first network function includes at least one of the following:
[0019] Cloud platform;
[0020] Open cloud platform (O-Cloud, Open Cloud) for open radio access network (O-RAN);
[0021] Virtualized Infrastructure Manager (VIM);
[0022] Container Infrastructure Manager (CIM).
[0023] In the above solution, the second network function includes at least one of the following:
[0024] Service Management and Orchestration (SMO);
[0025] Virtualized Network Function Manager (VNFM);
[0026] Cloud-native Network Function Manager (CNFM);
[0027] Network Functions Virtualization Orchestrator (NFVO);
[0028] Mobile Edge Orchestrator (MEO).
[0029] The embodiment of the present application also provides a resource management method, which is applied to a first network function, and the method includes:
[0030] Receiving first information reported by the server;
[0031] Sending sixth information to the second network function according to the first information; wherein,
[0032] The first information is used to indicate the available resources of each area of the accelerator in the server; the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the sixth information is used for the second network function to request deployment of the service.
[0033] In the above scheme, the method further includes:
[0034] receiving a first request sent by the second network function; wherein the first request is used to request deployment of a first service and carries seventh information, and the seventh information is used to indicate resource requirements and / or service requirements of the first service;
[0035] Determine resources for deploying an accelerator for the first service according to the first information or the sixth information and the seventh information.
[0036] In the above solution, the sixth information includes at least one of the following:
[0037] First information;
[0038] Eighth information, where the eighth information is used to indicate a service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function;
[0039] Ninth information, the ninth information is used to indicate the size or specification of resources used by functions and / or images that can be deployed in each area of the accelerator in the server managed by the first network function.
[0040] In the above solution, sending the sixth information to the second network function according to the first information includes at least one of the following:
[0041] periodically sending sixth information to the second network function according to the first information;
[0042] When at least one of the following is met, sixth information is sent to the second network function according to the first information:
[0043] The resources of the server's accelerator have changed;
[0044] A second request of the second network function is received, where the second request is used to request to obtain sixth information.
[0045] The embodiment of the present application also provides a resource management method, which is applied to the second network function, and the method includes:
[0046] receiving sixth information sent by the first network function; wherein,
[0047] The sixth information is sent based on the received first information, and is used to indicate the available resources of each area of the accelerator in the server managed by the first network function, and / or is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function; the sixth information is used for the second network function to request deployment of the service; the first information is used to indicate the available resources of each area of the accelerator in the server.
[0048] In the above scheme, the method further includes:
[0049] According to the sixth information, a first request is sent to the first network function; wherein the first request is used to request deployment of a first service and carries seventh information, and the seventh information is used to indicate resource requirements and / or service requirements of the first service.
[0050] In the above solution, the number of the first network functions is greater than or equal to N, where N is a positive integer; and sending the first request to the first network function according to the sixth information includes:
[0051] Determine, according to the sixth information sent by the N first network functions, the first network function corresponding to the accelerator that meets the set condition;
[0052] Sending a first request to a determined first network function; wherein,
[0053] The setting conditions include at least one of the following:
[0054] The available resources of the accelerator meet the resource requirements of the first service;
[0055] The service type deployable in the accelerator is the same as the service type of the first service;
[0056] The functions deployable in the accelerator are the same as part or all of the functions corresponding to the first service;
[0057] The images deployable in the accelerator are the same as part or all of the images corresponding to the first business.
[0058] The embodiment of the present application also provides a resource management device, including:
[0059] A first sending unit, configured to report first information to a first network function;
[0060] The first information is used to indicate available resources in each area of the accelerator in the server, and the available resources of the accelerator are used for the second network function to request deployment of the service.
[0061] The embodiment of the present application also provides a resource management device, including:
[0062] A first receiving unit, configured to receive first information reported by a server;
[0063] The second sending unit is used to send sixth information to the second network function according to the first information; wherein,
[0064] The first information is used to indicate the available resources of each area of the accelerator in the server; the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the sixth information is used for the second network function to request deployment of the service.
[0065] The embodiment of the present application also provides a resource management device, including:
[0066] The second receiving unit is used to receive the sixth information sent by the first network function; wherein,
[0067] The sixth information is sent based on the received first information, and is used to indicate the available resources of each area of the accelerator in the server managed by the first network function, and / or is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function; the sixth information is used for the second network function to request the deployment of the service; the first information is used to indicate the available resources of each area of the accelerator in the server.
[0068] The embodiment of the present application further provides a server, comprising: a first processor and a first communication interface; wherein,
[0069] The first communication interface is used to report first information to the first network function; wherein,
[0070] The first information is used to indicate available resources in each area of the accelerator in the server, and the available resources of the accelerator are used for the second network function to request deployment of the service.
[0071] The embodiment of the present application further provides a first network function, including: a second processor and a second communication interface; wherein,
[0072] The second communication interface is used to receive the first information reported by the server, and to send the sixth information to the second network function according to the first information; wherein,
[0073] The first information is used to indicate the available resources of each area of the accelerator in the server; the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the sixth information is used for the second network function to request deployment of the service.
[0074] The embodiment of the present application further provides a second network function, including: a third processor and a third communication interface; wherein,
[0075] The third communication interface is used to receive the sixth information sent by the first network function; wherein,
[0076] The sixth information is sent based on the received first information, and is used to indicate the available resources of each area of the accelerator in the server managed by the first network function, and / or is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function; the sixth information is used for the second network function to request deployment of the service; the first information is used to indicate the available resources of each area of the accelerator in the server.
[0077] The embodiment of the present application further provides a communication device, wherein the network device includes a server or a first network function or a second network function, and the network device includes a processor and a memory for storing a computer program that can be run on the processor.
[0078] When the processor is used to run the computer program, it executes the steps of the method described in any one of the above-mentioned server sides, or executes the steps of the method described in any one of the above-mentioned first network function sides, or executes the steps of the method described in any one of the above-mentioned second network function sides.
[0079] An embodiment of the present application also provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method described in any one of the above-mentioned server sides are implemented, or the steps of the method described in any one of the above-mentioned first network function sides are implemented, or the steps of the method described in any one of the above-mentioned second network function sides are implemented.
[0080] In the resource management method, apparatus, related equipment and storage medium provided in the embodiment of the present application, the server reports first information to the first network function, the first information is used to indicate the available resources of each area of the accelerator in the server; the first network function receives the first information reported by the server, and sends sixth information to the second network function according to the first information, the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the second network function receives the sixth information sent by the first network function, and the sixth information is used for the second network function to request the deployment of services. In the above scheme, the accelerator in the server is divided into multiple areas, the server reports the available resources of each area of the accelerator in the server to the first network function, and the first network function reports the available resources of each area of the accelerator in the server managed by the first network function to the second network function, and / or, the service type and / or function and / or image that can be deployed in each area, so that the second network function can apply for the accelerator deployment service that can meet the service requirements and / or resource requirements according to the information reported by the first network function, so as to reasonably use the resources of the acceleration and improve the resource utilization rate of the accelerator. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 This is an example diagram of the O-RAN high-level architecture in the related art;
[0082] Figure 2 A schematic diagram of a resource management method implementation process of an embodiment of the present application;
[0083] Figure 3 A schematic diagram of a resource management method implementation process of an embodiment of the present application;
[0084] Figure 4 A schematic diagram of a resource management method implementation process of an embodiment of the present application;
[0085] Figure 5 This is a schematic diagram of the interactive process of the resource management method of the application embodiment of this application;
[0086] Figure 6 This is a schematic diagram of the structure of a resource management device according to an embodiment of the present application;
[0087] Figure 7 This is a schematic diagram of the structure of a resource management device according to an embodiment of the present application;
[0088] Figure 8 This is a schematic diagram of the structure of a resource management device according to an embodiment of the present application;
[0089] Fig. 9 This is a schematic diagram of the server structure of the embodiment of the present application;
[0090] Fig.10 This is a schematic diagram of the first network function structure of an embodiment of the present application;
[0091] Fig.11 This is a schematic diagram of the second network function structure of an embodiment of the present application. DETAILED DESCRIPTION
[0092] Figure 1 An example of O-RAN high-level architecture is given, such as Figure 1 As shown, the non-real-time RAN Intelligent Controller (Non-RT RIC) is deployed in the SMO framework; the near-real-time RAN Intelligent Controller (Near-RT RIC) can realize near-real-time wireless data collection, and provide near-real-time wireless resource control and optimization to the base station based on the collected wireless data; O-RU is the O-RAN network function. Among them, SMO is responsible for the management of the RAN domain, and SMO mainly refers to the SMO service that supports RAN; SMO communicates with the O-Cloud of the O-RAN virtual network function through the O2 interface. O-Cloud is the operating platform of O-RAN, and O-Cloud is also called an open cloud platform or an open cloud infrastructure platform; the O2 interface is mainly used to manage the resources and loads of the O-Cloud infrastructure platform. The functions performed by the O2 interface for resource management in the current O-RAN architecture mainly include:
[0093] O-Cloud infrastructure discovery and management;
[0094] The O-Cloud infrastructure scales inwards and outwards;
[0095] Creation, deletion and allocation of O-Cloud infrastructure resources;
[0096] Expand or reduce the capacity of the allocated O-Cloud infrastructure resources.
[0097] In the prior art, an accelerator, such as a field-programmable gate array (FPGA), can be divided into multiple independent areas, each of which can deploy different functions; the relevant information of each area of the accelerator is stored in the accelerator and will not be reported to the cloud platform and the upper-layer orchestration network element (such as SMO). The orchestration network element cannot obtain the relevant information of each area of the accelerator. The orchestration network element can currently only deploy services based on the occupation of the entire accelerator resources, and cannot deploy services on demand based on the remaining accelerator resources. As a result, accelerator resources cannot be fully utilized in the cloud network, and the resource utilization rate of the accelerator is low.
[0098] In the wireless cloud scenario, the accelerator can be identified and called by a virtual machine or container, and the accelerator is managed by the cloud platform. Currently, the relevant information of each area of the accelerator exists in the accelerator, and is not reported to the cloud platform and the upper-layer orchestration network element (such as SMO). The orchestration network element can only deploy services through the resources of the entire accelerator card, and deploy services on demand if the remaining accelerator resources cannot be used.
[0099] Based on this, in various embodiments of the present application, the server reports first information to the first network function, the first information is used to indicate the available resources of each area of the accelerator in the server; the first network function receives the first information reported by the server, and sends sixth information to the second network function according to the first information, the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the second network function receives the sixth information sent by the first network function; the sixth information is used for the second network function to request the deployment of services. In the above scheme, the accelerator in the server is divided into multiple areas, the server reports the available resources of each area of the accelerator in the server to the first network function, and the first network function reports the available resources of each area of the accelerator in the server managed by the first network function to the second network function, and / or, the service type and / or function and / or image that can be deployed in each area, so that the second network function can apply for the accelerator deployment service that can meet the service requirements and / or resource requirements according to the information reported by the first network function, so as to reasonably use the resources of the acceleration and improve the resource utilization of the accelerator.
[0100] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0101] The embodiment of the present application provides a resource management method, which is applied to a server, and at least one accelerator is deployed in the server. Figure 2 As shown, the method includes:
[0102] Step 201: Report first information to a first network function.
[0103] The first information is used to indicate available resources in each area of the accelerator in the server, and the available resources of the accelerator are used for the second network function to request deployment of services.
[0104] Here, an accelerator is also called an accelerator or an acceleration card; an accelerator is a hardware accelerator, including an FPGA. The resources of an accelerator can be logically divided into at least two areas, and there is a corresponding relationship between the resources of the accelerator and the hardware structure of the accelerator. For example, each area corresponds to the computing resources, cache resources, etc. of the accelerator.
[0105] The first information may indicate the initial available resources of each area of the accelerator, or may indicate the updated available resources of each area of the accelerator. For example, when accessing the first network function, the server may report the first information to the first network function, and the first information indicates the initial available resources of each area of the accelerator to ensure the accuracy and effectiveness of the available resources obtained by the first network function. For another example, the server may actively report the updated first information when the resources of the accelerator change. Of course, the server may also actively report the first information periodically, and at this time, the first information is used for the initial available resources of each area of the accelerator, or indicates the updated available resources of each area of the accelerator. The server may also report the first information after receiving the resource acquisition request sent by the first network function.
[0106] It should be noted that the area of the accelerator can be pre-divided before leaving the factory, or divided according to actual needs after leaving the factory, or the resources of the accelerator can be divided according to the set division rules. There can be a corresponding relationship between the server and the first network function. For example, one first network function corresponds to managing at least one server, and the number of accelerators deployed in the same server can be one or at least two. At least two servers managed by the same first network function can form a server cluster.
[0107] In order to facilitate the first network function to learn the resource status of each accelerator in the server, in one embodiment, the first information includes at least one of the following:
[0108] second information, where the second information is used to indicate the computing power and / or processing power and / or available resources that each area of the accelerator can provide;
[0109] third information, where the third information is used to indicate functions and / or images deployable in each region of the accelerator;
[0110] Fourth information, where the fourth information is used to indicate functions and / or images that can be deployed by the accelerator;
[0111] A first identifier, wherein the first identifier is used to indicate whether the accelerator can be divided into different areas;
[0112] A first number, wherein the first number represents the number of regions into which the accelerator can be divided;
[0113] a second identifier, wherein the second identifier represents an identifier of a region of the accelerator;
[0114] A third identifier, wherein the third identifier is used to indicate whether the area of the accelerator is available;
[0115] A fourth identifier, where the fourth identifier is used to indicate an identifier of an image that has been used in the area of the accelerator;
[0116] The fifth information is used to indicate a function implemented by the image used in the area of the accelerator.
[0117] Here, in the case where the first information includes the second information and the second identifier, the second information may also include the computing power and / or processing power and / or available resources that each region of the accelerator can provide, and the second identifier includes the identifier of each region of the accelerator. In the case where the first information does not include the second identifier, the second information may be a first relationship, and the first relationship includes the identifier of each region of the accelerator, and the corresponding relationship between the computing power and / or processing power and / or available resources that each region can provide.
[0118] In the case where the first information includes the third information and the second identifier, the third information may include the corresponding relationship between the functions and / or images that can be deployed in each area. In the case where the first information does not include the second identifier, the third information may be the second relationship, which includes the identifier of each area of the accelerator and the corresponding relationship between the functions and / or images that can be deployed in each area.
[0119] When the first network function successfully deploys any service using the available resources of the accelerator, the first information may be reported in full reporting mode or in differential reporting mode. When the first information is reported in full reporting mode, the reported first information may include all the above contents; when the first information is reported in differential reporting mode, the reported first information includes the above-mentioned changed contents, for example, the third identifier, the fourth identifier and the fifth information corresponding to each area of each accelerator. Of course, the first information may also include at least one of the second information, the third information and the fourth information.
[0120] In actual application, the first information reported for the first time may include the contents of Table 1 and Table 2, and the first information reported non-for the first time may include the contents of Table 3. Table 1 shows the information of each accelerator, Table 2 shows the relevant information of each area in the same accelerator, and Table 3 shows the status information of a region of the accelerator reported when the first network function successfully deploys any service using the available resources of the accelerator.
[0121] Table 1
[0122] Accelerator Information illustrate The fourth message The fourth information indicates the functions and / or images that the accelerator can deploy First logo The first flag is used to indicate whether the accelerator can be divided into different areas First quantity The first quantity represents the number of regions that the accelerator can be divided into
[0123] Table 2
[0124]
[0125] It should be noted that, when only one accelerator is deployed in the server, the identifier of the accelerator may not be included in Table 2; or, when the second identifier is a unique identifier, the second identifiers of different accelerators are different, and the second identifiers of different regions of the same accelerator are also different. In this case, the identifier of the accelerator may not be included in Table 2. The number of Table 2 for the same accelerator corresponds to the first number in Table 1.
[0126] Table 3
[0127]
[0128] Among them, the number of Table 3 for the same accelerator corresponds to the first number in Table 1.
[0129] In order to diversify application scenarios, in one embodiment, the first network function includes at least one of the following:
[0130] Cloud platform;
[0131] O-Cloud for O-RAN;
[0132] VIM;
[0133] CIM.
[0134] Here, in the wireless cloud scenario, the first network function can be any one or more combinations of cloud platform, O-Cloud, VIM, and CIM.
[0135] In order to diversify application scenarios, in one embodiment, the second network function includes at least one of the following:
[0136] SMO;
[0137] VNFM;
[0138] CNFM;
[0139] NFVO;
[0140] MEO.
[0141] Here, in the wireless cloud scenario, the second network function can be any one or more combinations of SMO, VNFM, CNFM, NFVO, and MEO.
[0142] Correspondingly, the embodiment of the present application also provides a resource management method, which is applied to the first network function, such as Figure 3 As shown, the method includes:
[0143] Step 301: Receive first information reported by a server.
[0144] The first information is used to indicate available resources of each area of the accelerator in the server.
[0145] Here, the first network function may receive first information reported by each server managed by the first network function.
[0146] Step 302: Send sixth information to the second network function according to the first information.
[0147] Among them, the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the sixth information is used for the second network function to request deployment of the service.
[0148] Here, the first network function determines the sixth information according to the first information reported by the server, and sends the sixth information to the second network function. There is a corresponding relationship between the first information and the sixth information, and the corresponding relationship can be one-to-one or many-to-one.
[0149] For example, considering that a first network function can manage multiple servers, and multiple servers form a cluster, the first network function manages the resources of this cluster, such as the central processing unit (CPU), hard disk, memory, network, etc.; therefore, a first network function can receive first information reported by multiple servers, and then the first network function can send multiple sixth information according to the multiple first information. At this time, one first information corresponds to one sixth information; the first network function can also send one sixth information according to multiple first information. At this time, multiple first information corresponds to one sixth information.
[0150] The available resources of each area of the accelerator in the server indicated by the sixth information can be understood as the remaining resources of each area of the accelerator, or can be understood as the size or specification of the resources used by the functions or images that can be deployed in each area of the accelerator. For example, the entire accelerator can deploy the functions corresponding to 4 cells of 1 base station. If the sum of the available resources of each area of the accelerator is the resources of half an accelerator, then the sixth information can be used to indicate that the accelerator can deploy the functions corresponding to 2 cells or less of 1 base station.
[0151] The sixth information may indicate the functions that can be deployed in each area of the accelerator in the server, which may include at least one of the following: protocol stack physical layer function, low-density parity-check code (LDPC) function, forward error correction (FEC) function, and Fourier transform function.
[0152] In order to facilitate the second network function to determine an accelerator that can meet the relevant requirements of the service to be deployed, in one embodiment, the sixth information includes at least one of the following:
[0153] First information;
[0154] Eighth information, where the eighth information is used to indicate a service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function;
[0155] Ninth information, the ninth information is used to indicate the size or specification of resources used by functions and / or images that can be deployed in each area of the accelerator in the server managed by the first network function.
[0156] In actual application, the sixth information includes the eighth information and the ninth information, and the sixth information can be reported in the form of a table. Table 4 shows the service types, functions, images, etc. that can be deployed in each area of the accelerator in the server managed by the first network function.
[0157] Table 4
[0158]
[0159] In one embodiment, sending the sixth information to the second network function according to the first information includes at least one of the following:
[0160] periodically sending sixth information to the second network function according to the first information;
[0161] When at least one of the following is met, sixth information is sent to the second network function according to the first information:
[0162] The resources of the server's accelerator have changed;
[0163] A second request of the second network function is received, where the second request is used to request to obtain sixth information.
[0164] Here, the sixth information may be actively reported by the first network function to the second network function, or may be actively collected by the second network function.
[0165] For example, the first network function periodically sends the sixth information to the second network function, and / or, upon detecting that the resources of the accelerator of the server have changed or receiving the updated first information, actively sends the sixth information to the second network. The first network function may also send the sixth information to the second network function upon receiving the second request for the second network function to obtain the sixth information.
[0166] In this embodiment, the first network function actively reports the sixth information, and the second network function actively collects the sixth information, so that the second network function can obtain the latest available resources of each area of the accelerator in the server, so that the second network function can apply for accelerator resources for deploying services based on the latest available resources of each area of the accelerator, reasonably arrange the accelerator resources, improve the utilization rate of the accelerator resources, and avoid repeated application for occupied accelerator resources.
[0167] In order to implement service deployment of the second network function, in one embodiment, the method further includes:
[0168] receiving a first request sent by the second network function; wherein the first request is used to request deployment of a first service and carries seventh information, and the seventh information is used to indicate resource requirements and / or service requirements of the first service;
[0169] Determine resources for deploying an accelerator for the first service according to the first information or the sixth information and the seventh information.
[0170] Here, when the seventh information is used to indicate the resource requirements of the first service, the first network function can determine the resources for deploying the accelerator of the first service based on the first information and the seventh information; or, when the sixth information is used to indicate the available resources of each area of the accelerator in the server, the resources for deploying the accelerator of the first service can also be determined based on the sixth information and the seventh information. Specifically, the first network function can determine the area and corresponding accelerator where the available resources that can meet the resource requirements of the first service are located based on the first information or the sixth information, thereby obtaining the resources for deploying the accelerator of the first service, and deploy the first service in the determined accelerator using the available resources of the determined area.
[0171] In the case where the seventh information is used to indicate the service requirements of the first service, and the sixth information is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server, the resources of the accelerator for deploying the first service can be determined based on the sixth information and the seventh information. Specifically, the first network function can determine the area and the corresponding accelerator that can meet the service requirements of the first service based on the sixth information, and deploy the first service in the determined accelerator using the available resources of the determined area.
[0172] It should be noted that the resource demand of the first service may be all or part of the resources of at least one accelerator. The resources of the accelerator used to deploy the first service determined by the first network function may be the available resources of one area in one accelerator, or the available resources of multiple areas in one accelerator, or the available resources of multiple areas in multiple accelerators; the available resources may include some basic function modules and some programmable modules of the accelerator.
[0173] The embodiment of the present application also provides a resource management method, which is applied to a second network function, such as Figure 4 As shown, the method includes:
[0174] Step 401: Receive sixth information sent by a first network function.
[0175] The sixth information is sent according to the received first information, and is used to indicate the available resources of each area of the accelerator in the server managed by the first network function, and / or is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function; the sixth information is used for the second network function to request the deployment of the service; the first information is used to indicate the available resources of each area of the accelerator in the server.
[0176] In one embodiment, the method further comprises:
[0177] According to the sixth information, a first request is sent to the first network function; wherein the first request is used to request deployment of a first service and carries seventh information, and the seventh information is used to indicate resource requirements and / or service requirements of the first service.
[0178] Here, when the sixth information is received, an accelerator on which the first service can be deployed is determined according to the sixth information and the seventh information, and a first request is sent to a first network function corresponding to a server to which the accelerator belongs.
[0179] For example, the first service may be a base station system, and some software of the base station system, such as the protocol physical layer (PHY) function, will run on an accelerator. Therefore, the second network function needs to request accelerator resources from the first network function; the second network function can select an accelerator that meets the service requirements and / or resource requirements of the first service based on the received sixth information, and send a first request to the first network function corresponding to the server to which the accelerator belongs, requesting the deployment of the first service.
[0180] It should be noted that, when part or all of the areas of an accelerator can meet the resource requirements and / or business requirements of the first business, the second network device sends a first request to the first network function corresponding to the accelerator; when part or all of the areas of multiple accelerators jointly meet the resource requirements and / or business requirements of the first business, the second network device sends a first request to the first network function corresponding to each of the multiple accelerators.
[0181] The sixth information includes at least one of the following:
[0182] First information;
[0183] Eighth information, the eighth information is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function;
[0184] Ninth information, the ninth information is used to indicate the size or specifications of resources used by functions and / or images that can be deployed in each area of the accelerator in the server managed by the first network function.
[0185] The first information includes at least one of the following:
[0186] second information, where the second information is used to indicate the computing power and / or processing power and / or available resources that each area of the accelerator can provide;
[0187] third information, where the third information is used to indicate functions and / or images deployable in each region of the accelerator;
[0188] Fourth information, where the fourth information is used to indicate functions and / or images that can be deployed by the accelerator;
[0189] A first identifier, wherein the first identifier is used to indicate whether the accelerator can be divided into different areas;
[0190] A first number, wherein the first number represents the number of regions into which the accelerator can be divided;
[0191] a second identifier, wherein the second identifier represents an identifier of a region of the accelerator;
[0192] A third identifier, wherein the third identifier is used to indicate whether the area of the accelerator is available;
[0193] A fourth identifier, where the fourth identifier is used to indicate an identifier of an image that has been used in the area of the accelerator;
[0194] The fifth information is used to indicate a function implemented by the image used in the area of the accelerator.
[0195] In one embodiment, the number of the first network functions is greater than or equal to N, where N is a positive integer; and sending the first request to the first network function according to the sixth information includes:
[0196] Determine, according to the sixth information sent by the N first network functions, the first network function corresponding to the accelerator that meets the set condition;
[0197] Sending a first request to a determined first network function; wherein,
[0198] The setting conditions include at least one of the following:
[0199] The available resources of the accelerator meet the resource requirements of the first service;
[0200] The service type deployable in the accelerator is the same as the service type of the first service;
[0201] The functions deployable in the accelerator are the same as part or all of the functions corresponding to the first service;
[0202] The images deployable in the accelerator are the same as part or all of the images corresponding to the first business.
[0203] Here, the second network function may determine the first network function corresponding to the accelerator that meets the set conditions according to the resource requirements and / or service requirements of the first service and according to the sixth information sent by each first network function. If all accelerators in all servers managed by a first network function do not meet the set conditions, the second network function determines whether there is an accelerator that meets the set conditions in the server managed by the first network function according to the sixth information sent by another first network function, until an accelerator that can meet the resource requirements and / or service requirements of the first service is determined to deploy the first service.
[0204] The accelerator that meets the set conditions may be one or more. The multiple accelerators may be located in the same server or distributed in multiple servers managed by the first network function.
[0205] In the case where there is only one accelerator that meets the set conditions, it is characterized that one accelerator can meet the business requirements and / or resource requirements of the first business, that is, the available resources of the accelerator meet the resource requirements of the first business, the business type deployable in the accelerator is the same as the business type of the first business, the functions deployable in the accelerator are the same as all functions corresponding to the first business, and the images deployable in the accelerator are the same as all images corresponding to the first business.
[0206] In the case where there are multiple accelerators that meet the set conditions, it indicates that the multiple accelerators jointly meet the business requirements and / or resource requirements of the first business. At this time, the business type deployable in one accelerator is the same as the business type of the first business; the function deployable in one accelerator is the same as part of the functions corresponding to the first business, and all functions deployable in multiple accelerators are the same as the functions corresponding to the first business; the image deployable in one accelerator is the same as part of the images corresponding to the first business, and all images deployable in multiple accelerators are the same as all images corresponding to the first business.
[0207] The present application is further described in detail below in conjunction with application examples.
[0208] like Figure 5 As shown, the resource management method includes:
[0209] Step 1: The server reports first information to the first network function.
[0210] Here, when the server accesses the first network function, the server can collect resource information of each accelerator in the server, identify whether each accelerator can be divided into multiple areas, and generate first information based on the available resources of each area of each accelerator in the server, and report the first information to the first network function.
[0211] In actual application, the first information may include the contents of the aforementioned Table 1 and Table 2. The server may be a node with an accelerator deployed, the first network function may be O-Cloud, and the second network function may be SMO.
[0212] The first information includes at least one of the following:
[0213] second information, where the second information is used to indicate the computing power and / or processing power and / or available resources that each area of the accelerator can provide;
[0214] third information, where the third information is used to indicate functions and / or images deployable in each region of the accelerator;
[0215] Fourth information, where the fourth information is used to indicate functions and / or images that can be deployed by the accelerator;
[0216] A first identifier, wherein the first identifier is used to indicate whether the accelerator can be divided into different areas;
[0217] A first number, wherein the first number represents the number of regions into which the accelerator can be divided;
[0218] a second identifier, wherein the second identifier represents an identifier of a region of the accelerator;
[0219] A third identifier, wherein the third identifier is used to indicate whether the area of the accelerator is available;
[0220] A fourth identifier, where the fourth identifier is used to indicate an identifier of an image that has been used in the area of the accelerator;
[0221] The fifth information is used to indicate a function implemented by the image used in the area of the accelerator.
[0222] Step 2: The first network function receives the first information, and sends the sixth information to the second network function according to the first information.
[0223] Here, for the specific implementation process of step 2, please refer to the relevant description above, which will not be repeated here.
[0224] The sixth information includes at least one of the following:
[0225] First information;
[0226] Eighth information, the eighth information is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function;
[0227] Ninth information, the ninth information is used to indicate the size or specifications of resources used by functions and / or images that can be deployed in each area of the accelerator in the server managed by the first network function.
[0228] Step 3: The second network function receives the sixth information, and sends a first request to the first network function according to the sixth information; the first request is used to request deployment of the first service and carries the seventh information.
[0229] Here, the second network function receives the sixth information sent by each first network function, and searches for an accelerator that meets the service requirements and / or resource requirements of the first service based on the received sixth information; when an accelerator that meets the service requirements and / or resource requirements of the first service is found, the first network function corresponding to the server to which the found accelerator belongs is determined based on the correspondence between the accelerator, the server, and the first network function, and a first request is sent to the determined first network function to request the deployment of the first service. The correspondence between the accelerator, the server, and the first network function can be preconfigured in the second network function, or can be determined based on the sixth information.
[0230] In one embodiment, the number of first network functions is greater than or equal to N, where N is a positive integer; sending a first request to the first network function according to the sixth information includes:
[0231] Determine, according to the sixth information sent by the N first network functions, the first network function corresponding to the accelerator that meets the set condition;
[0232] Sending a first request to a determined first network function; wherein,
[0233] The setting conditions include at least one of the following:
[0234] The available resources of the accelerator meet the resource requirements of the first service;
[0235] The service type deployable in the accelerator is the same as the service type of the first service;
[0236] The functions deployable in the accelerator are the same as part or all of the functions corresponding to the first service;
[0237] The images deployable in the accelerator are the same as part or all of the images corresponding to the first business.
[0238] It should be noted that the second network function can determine whether the available resources in each area of each accelerator in each server managed by the first network function can meet the resource requirements and / or business requirements of the first business based on the sixth information reported by any first network device; if the available resources in any area of any accelerator in any server managed by the first network function can meet the resource requirements and / or business requirements of the first business, then the second network function sends the first business to the first network function; if the available resources in all areas of all accelerators in all servers managed by the first network function do not meet the resource requirements and / or business requirements of the new business, then the second network function searches for an accelerator in the accelerators in other servers managed by the first network function that can deploy the first business.
[0239] Step 4: The first network function receives the first request, and determines resources for deploying an accelerator for the first service based on the first information or the sixth information and the seventh information.
[0240] Here, the first network function receives the first request, parses the first request, and obtains the seventh information; the resources for deploying the accelerator for the first service can be determined based on the first information and the seventh information; the resources for deploying the accelerator for the first service can also be determined based on the sixth information and the seventh information, and the first service can be deployed in an area of the accelerator that can meet the resource requirements and / or service requirements of the first service using the available resources in the area. Please refer to the above description for the specific implementation process, which will not be repeated here.
[0241] Step 5: The first network function deploys the first service using resources of the determined accelerator.
[0242] Here, the first network function can determine the area and corresponding accelerator where available resources that can meet the resource requirements of the first service are located based on the first information or the sixth information, and determine the server to which the accelerator belongs, and deploy the first service in the corresponding accelerator in the corresponding server using the available resources in the determined area.
[0243] The first network function can determine, based on the sixth information, an area and a corresponding accelerator that can meet the business needs of the first business, and determine the server to which the accelerator belongs, and deploy the first business in the corresponding accelerator in the corresponding server using available resources in the determined area.
[0244] Step 6: The server reports the updated first information.
[0245] Here, the updated first information may be the content of Table 2 and / or Table 3. The specific reporting method refers to the above related description, which will not be repeated here.
[0246] After executing step 6, step 2 to step 6 may be executed again to deploy a new first service.
[0247] In order to implement the method on the server side of the embodiment of the present application, the embodiment of the present application also provides a resource management device, which is set on the server, such as Figure 6 As shown, the device comprises:
[0248] The first sending unit 601 is configured to report first information to a first network function.
[0249] The first information is used to indicate available resources in each area of the accelerator in the server, and the available resources of the accelerator are used for the second network function to request deployment of services.
[0250] In one embodiment, the first information includes at least one of the following:
[0251] second information, where the second information is used to indicate the computing power and / or processing power and / or available resources that each area of the accelerator can provide;
[0252] third information, where the third information is used to indicate functions and / or images deployable in each region of the accelerator;
[0253] Fourth information, where the fourth information is used to indicate functions and / or images that can be deployed by the accelerator;
[0254] A first identifier, wherein the first identifier is used to indicate whether the accelerator can be divided into different areas;
[0255] A first number, wherein the first number represents the number of regions into which the accelerator can be divided;
[0256] a second identifier, wherein the second identifier represents an identifier of a region of the accelerator;
[0257] A third identifier, wherein the third identifier is used to indicate whether the area of the accelerator is available;
[0258] A fourth identifier, where the fourth identifier is used to indicate an identifier of an image that has been used in the area of the accelerator;
[0259] The fifth information is used to indicate a function implemented by the image used in the area of the accelerator.
[0260] In one embodiment, the first network function includes at least one of the following:
[0261] Cloud platform;
[0262] O-Cloud for O-RAN;
[0263] VIM;
[0264] CIM.
[0265] In one embodiment, the second network function includes at least one of the following:
[0266] SMO;
[0267] VNFM;
[0268] CNFM;
[0269] NFVO;
[0270] MEO.
[0271] In actual application, the first sending unit 601 can be implemented by a processor in the resource management device in combination with a communication interface.
[0272] In order to implement the method on the first network function side of the embodiment of the present application, the embodiment of the present application also provides a resource management device, which is arranged on the first network function, such as Figure 7 As shown, the device comprises:
[0273] The first receiving unit 701 is used to receive first information reported by the server;
[0274] The second sending unit 702 is configured to send sixth information to the second network function according to the first information.
[0275] Among them, the first information is used to indicate the available resources of each area of the accelerator in the server; the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the sixth information is used for the second network function to request deployment of the service.
[0276] In one embodiment, the device further comprises:
[0277] a third receiving unit, configured to receive a first request sent by the second network function; wherein the first request is used to request deployment of a first service and carries seventh information, and the seventh information is used to indicate resource requirements and / or service requirements of the first service;
[0278] The first determining unit determines resources for deploying an accelerator for the first service according to the first information or the sixth information and the seventh information.
[0279] In one embodiment, the sixth information includes at least one of the following:
[0280] First information;
[0281] Eighth information, where the eighth information is used to indicate a service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function;
[0282] Ninth information, the ninth information is used to indicate the size or specification of resources used by functions and / or images that can be deployed in each area of the accelerator in the server managed by the first network function.
[0283] In one embodiment, the second sending unit 702 is specifically configured to periodically send sixth information to the second network function according to the first information; and / or send the sixth information to the second network function according to the first information when at least one of the following conditions is met:
[0284] The resources of the server's accelerator have changed;
[0285] A second request of the second network function is received, where the second request is used to request to obtain sixth information.
[0286] In practical applications, the first receiving unit 701, the second sending unit 702 and the third receiving unit can be implemented by a processor in the resource management device in combination with a communication interface, and the first determining unit can be implemented by a processor in the resource management device.
[0287] In order to implement the method on the second network function side of the embodiment of the present application, the embodiment of the present application also provides a resource management device, which is arranged on the second network function, such as Figure 8 As shown, the device comprises:
[0288] The second receiving unit 801 is configured to receive sixth information sent by the first network function.
[0289] The sixth information is sent according to the received first information, and is used to indicate the available resources of each area of the accelerator in the server managed by the first network function, and / or is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function; the sixth information is used for the second network function to request the deployment of the service; the first information is used to indicate the available resources of each area of the accelerator in the server.
[0290] In one embodiment, the device further comprises:
[0291] The third sending unit is used to send a first request to the first network function according to the sixth information; wherein the first request is used to request deployment of the first service and carries the seventh information, and the seventh information is used to indicate the resource requirements and / or service requirements of the first service.
[0292] In one embodiment, the number of the first network functions is greater than or equal to N, where N is a positive integer; the device further includes:
[0293] A second determining unit, configured to determine, according to the sixth information sent by the N first network functions, a first network function corresponding to the accelerator that meets the set condition;
[0294] The third sending unit is specifically configured to send a first request to the first network function determined by the determining unit; wherein,
[0295] The setting conditions include at least one of the following:
[0296] The available resources of the accelerator meet the resource requirements of the first service;
[0297] The service type deployable in the accelerator is the same as the service type of the first service;
[0298] The functions deployable in the accelerator are the same as part or all of the functions corresponding to the first service;
[0299] The images deployable in the accelerator are the same as part or all of the images corresponding to the first business.
[0300] In practical applications, the second receiving unit 801 and the third sending unit can be implemented by a processor in the resource management device in combination with a communication interface, and the second determining unit can be implemented by a processor in the resource management device.
[0301] It should be noted that: the above embodiment provides a resource management device that only uses the division of the above program modules as an example to illustrate when performing resource management. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the resource management device and resource management method embodiment provided in the above embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0302] Based on the hardware implementation of the above program modules, and in order to implement the method on the server side of the embodiment of the present application, the embodiment of the present application also provides a server, such as Fig. 9 As shown, the server 900 includes:
[0303] The first communication interface 901 can exchange information with other network nodes;
[0304] The first processor 902 is connected to the first communication interface 901 to implement information interaction with other network nodes, and is used to execute the method provided by the technical solution of the above server side when running a computer program.
[0305] The first memory 903 is used to store a computer program that can be run on the first processor 902 .
[0306] Specifically, the first communication interface 901 is used to report first information to the first network function; wherein the first information is used to indicate the available resources of each area of the accelerator in the server, and the available resources of the accelerator are used for the second network function to request deployment of services.
[0307] In one embodiment, the first information includes at least one of the following:
[0308] second information, where the second information is used to indicate the computing power and / or processing power and / or available resources that each area of the accelerator can provide;
[0309] third information, where the third information is used to indicate functions and / or images deployable in each region of the accelerator;
[0310] Fourth information, where the fourth information is used to indicate functions and / or images that can be deployed by the accelerator;
[0311] A first identifier, wherein the first identifier is used to indicate whether the accelerator can be divided into different areas;
[0312] A first number, wherein the first number represents the number of regions into which the accelerator can be divided;
[0313] a second identifier, wherein the second identifier represents an identifier of a region of the accelerator;
[0314] A third identifier, wherein the third identifier is used to indicate whether the area of the accelerator is available;
[0315] A fourth identifier, where the fourth identifier is used to indicate an identifier of an image that has been used in the area of the accelerator;
[0316] The fifth information is used to indicate a function implemented by the image used in the area of the accelerator.
[0317] In one embodiment, the first network function includes at least one of the following:
[0318] Cloud platform;
[0319] O-Cloud for O-RAN;
[0320] VIM;
[0321] CIM.
[0322] In one embodiment, the second network function includes at least one of the following:
[0323] SMO;
[0324] VNFM;
[0325] CNFM;
[0326] NFVO;
[0327] MEO.
[0328] It should be noted that the specific processing process of the first processor 902 and the first communication interface 901 can be understood by referring to the above method.
[0329] Of course, in actual application, the various components in the server 900 are coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig. 9 Various buses are labeled as bus system 904.
[0330] The first memory 903 in the embodiment of the present application is used to store various types of data to support the operation of the server 900. Examples of such data include: any computer program used to operate on the server 900.
[0331] The method disclosed in the above embodiment of the present application can be applied to the first processor 902, or implemented by the first processor 902. The first processor 902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the first processor 902. The above-mentioned first processor 902 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 902 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 903, and the first processor 902 reads the information in the first memory 903 and completes the steps of the above method in combination with its hardware.
[0332] In an exemplary embodiment, the server 900 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.
[0333] Based on the hardware implementation of the above program module, and in order to implement the method of the first network function side of the embodiment of the present application, the embodiment of the present application also provides a first network function, such as Fig.10 As shown, the first network function 1000 includes:
[0334] The second communication interface 1001 can exchange information with other network nodes;
[0335] The second processor 1002 is connected to the second communication interface 1001 to implement information interaction with other network nodes, and is used to execute the method provided by the technical solution of the first network function side when running a computer program.
[0336] The second memory 1003 is used to store a computer program that can be run on the second processor 1002 .
[0337] Specifically, the second communication interface 1001 is used to receive first information reported by the server; and to send sixth information to the second network function according to the first information;
[0338] Among them, the first information is used to indicate the available resources of each area of the accelerator in the server; the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the sixth information is used for the second network function to request deployment of the service.
[0339] In one embodiment, the second communication interface 1001 is further used to receive a first request sent by the second network function; wherein the first request is used to request deployment of a first service and carries seventh information, and the seventh information is used to indicate resource requirements and / or service requirements of the first service;
[0340] The processor 1002 is further configured to determine resources for deploying an accelerator for the first service according to the first information or the sixth information and the seventh information.
[0341] In one embodiment, the sixth information includes at least one of the following:
[0342] First information;
[0343] Eighth information, where the eighth information is used to indicate a service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function;
[0344] Ninth information, the ninth information is used to indicate the size or specification of resources used by functions and / or images that can be deployed in each area of the accelerator in the server managed by the first network function.
[0345] In one embodiment, the communication interface 1001 is specifically configured to periodically send sixth information to the second network function according to the first information; and / or, send the sixth information to the second network function according to the first information when at least one of the following conditions is met:
[0346] The resources of the server's accelerator have changed;
[0347] A second request of the second network function is received, where the second request is used to request to obtain sixth information.
[0348] It should be noted that the specific processing process of the second processor 1002 and the second communication interface 1001 can be understood by referring to the above method.
[0349] Of course, in actual application, the various components in the first network function 1000 are coupled together through the bus system 1004. It can be understood that the bus system 1004 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig.10 Various buses are labeled as bus system 1004 .
[0350] The second memory 1003 in the embodiment of the present application is used to store various types of data to support the operation of the first network function 1000. Examples of such data include: any computer program used to operate on the first network function 1000.
[0351] The method disclosed in the above embodiment of the present application can be applied to the second processor 1002, or implemented by the second processor 1002. The second processor 1002 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 1002. The above-mentioned second processor 1002 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 1002 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 1003, and the second processor 1002 reads the information in the second memory 1003 and completes the steps of the above method in combination with its hardware.
[0352] In an exemplary embodiment, the first network function 1000 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned method.
[0353] Based on the hardware implementation of the above program module, and in order to implement the method of the second network function side of the embodiment of the present application, the embodiment of the present application also provides a second network function, such as Fig.11 As shown, the second network function 1100 includes:
[0354] The third communication interface 1101 can exchange information with other network nodes;
[0355] The third processor 1102 is connected to the third communication interface 1101 to implement information interaction with other network nodes, and is used to execute the method provided by the technical solution of the second network function side when running a computer program.
[0356] The third memory 1103 is used to store computer programs that can be run on the third processor 1102 .
[0357] Specifically, the third communication interface 1101 is used to receive the sixth information sent by the first network function;
[0358] The sixth information is sent according to the received first information, and is used to indicate the available resources of each area of the accelerator in the server managed by the first network function, and / or is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function; the sixth information is used for the second network function to request the deployment of the service; the first information is used to indicate the available resources of each area of the accelerator in the server.
[0359] In one embodiment, the third communication interface 1101 is also used to send a first request to the first network function based on the sixth information; wherein the first request is used to request deployment of the first service and carries the seventh information, and the seventh information is used to indicate the resource requirements and / or service requirements of the first service.
[0360] In one embodiment, the number of the first network functions is greater than or equal to N, where N is a positive integer; the processor 1102 is configured to determine, according to the sixth information sent by the N first network functions, the first network function corresponding to the accelerator that meets the set condition;
[0361] The third communication interface 1101 is specifically configured to send a first request to the first network function determined by the processor 1102; wherein:
[0362] The setting conditions include at least one of the following:
[0363] The available resources of the accelerator meet the resource requirements of the first service;
[0364] The service type deployable in the accelerator is the same as the service type of the first service;
[0365] The functions deployable in the accelerator are the same as part or all of the functions corresponding to the first service;
[0366] The images deployable in the accelerator are the same as part or all of the images corresponding to the first business.
[0367] It should be noted that the specific processing process of the third processor 1102 and the third communication interface 1101 can be understood by referring to the above method.
[0368] Of course, in actual application, the various components in the second network function 1100 are coupled together through the bus system 1104. It can be understood that the bus system 1104 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1104 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.11 Various buses are labeled as bus system 1104 .
[0369] The third memory 1103 in the embodiment of the present application is used to store various types of data to support the operation of the second network function 1100. Examples of such data include: any computer program used to operate on the second network function 1100.
[0370] The method disclosed in the above embodiment of the present application can be applied to the third processor 1102, or implemented by the third processor 1102. The third processor 1102 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the third processor 1102. The above-mentioned third processor 1102 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The third processor 1102 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the third memory 1103, and the third processor 1102 reads the information in the third memory 1103 and completes the steps of the above method in combination with its hardware.
[0371] In an exemplary embodiment, the second network function 1100 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
[0372] It can be understood that the memory (first memory 903, second memory 1003 and third memory 1103) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache.By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The memory described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memory.
[0373] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 903 storing a computer program, and the computer program can be executed by the first processor 902 of the server 900 to complete the steps of the aforementioned server-side method. For example, a second memory 1003 storing a computer program can be executed by the second processor 1002 of the first network function 1000 to complete the steps of the aforementioned first network function side method. For example, a third memory 1103 storing a computer program can be executed by the third processor 1102 of the third network function 1100 to complete the steps of the aforementioned first network function side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.
[0374] It should be noted that “first”, “second”, etc. are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0375] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one of" or "at least one item" herein represents any combination of at least two of any one or more of a plurality of items. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
[0376] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0377] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A resource management method, characterized in that: Applied to a server, the method comprises: Reporting first information to the first network function; wherein, The first information is used to indicate available resources in each area of the accelerator in the server, and the available resources of the accelerator are used for the second network function to request deployment of the service.
2. The method according to claim 1, characterized in that The first information includes at least one of the following: second information, where the second information is used to indicate the computing power and / or processing power and / or available resources that each area of the accelerator can provide; third information, where the third information is used to indicate functions and / or images deployable in each region of the accelerator; Fourth information, where the fourth information is used to indicate functions and / or images that can be deployed by the accelerator; A first identifier, wherein the first identifier is used to indicate whether the accelerator can be divided into different areas; A first number, wherein the first number represents the number of regions into which the accelerator can be divided; a second identifier, wherein the second identifier represents an identifier of a region of the accelerator; A third identifier, wherein the third identifier is used to indicate whether the area of the accelerator is available; A fourth identifier, where the fourth identifier is used to indicate an identifier of an image that has been used in the area of the accelerator; The fifth information is used to indicate a function implemented by the image used in the area of the accelerator.
3. The method according to claim 1, characterized in that The first network function includes at least one of the following: Cloud platform; O-Cloud, the open cloud platform for open wireless networks (O-RAN); Virtualized Infrastructure Manager VIM; Container Infrastructure Management CIM.
4. The method according to claim 1, characterized in that The second network function includes at least one of the following: Service Management and Orchestration SMO; Virtualized Network Function Module Manager VNFM; Cloud Native Network Function Manager CNFM; Network Function Virtualization Orchestrator NFVO; Mobile Edge Orchestrator MEO.
5. A resource management method, characterized in that: Applied to a first network function, the method comprises: Receiving first information reported by the server; Sending sixth information to the second network function according to the first information; wherein, The first information is used to indicate the available resources of each area of the accelerator in the server; the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the sixth information is used for the second network function to request deployment of the service.
6. The method according to claim 5, characterized in that The method further comprises: receiving a first request sent by the second network function; wherein the first request is used to request deployment of a first service and carries seventh information, and the seventh information is used to indicate resource requirements and / or service requirements of the first service; Determine resources for deploying an accelerator for the first service according to the first information or the sixth information and the seventh information.
7. The method according to claim 5, characterized in that The sixth information includes at least one of the following: First information; Eighth information, where the eighth information is used to indicate a service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function; Ninth information, the ninth information is used to indicate the size or specification of resources used by functions and / or images that can be deployed in each area of the accelerator in the server managed by the first network function.
8. The method according to claim 5, characterized in that The sending the sixth information to the second network function according to the first information includes at least one of the following: periodically sending sixth information to the second network function according to the first information; When at least one of the following is met, sixth information is sent to the second network function according to the first information: The resources of the server's accelerator have changed; A second request of the second network function is received, where the second request is used to request to obtain sixth information.
9. A resource management method, characterized in that: Applied to the second network function, the method comprises: receiving sixth information sent by the first network function; wherein, The sixth information is sent based on the received first information, and is used to indicate the available resources of each area of the accelerator in the server managed by the first network function, and / or is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function; the sixth information is used for the second network function to request deployment of the service; the first information is used to indicate the available resources of each area of the accelerator in the server.
10. The method according to claim 9, characterized in that The method further comprises: According to the sixth information, a first request is sent to the first network function; wherein the first request is used to request deployment of a first service and carries seventh information, and the seventh information is used to indicate resource requirements and / or service requirements of the first service.
11. The method according to claim 10, characterized in that The number of the first network functions is greater than or equal to N, where N is a positive integer; and sending a first request to the first network function according to the sixth information includes: Determine, according to the sixth information sent by the N first network functions, the first network function corresponding to the accelerator that meets the set condition; Sending a first request to a determined first network function; wherein, The setting conditions include at least one of the following: The available resources of the accelerator meet the resource requirements of the first service; The service type deployable in the accelerator is the same as the service type of the first service; The functions deployable in the accelerator are the same as part or all of the functions corresponding to the first service; The images deployable in the accelerator are the same as part or all of the images corresponding to the first business.
12. A resource management device, characterized in that: include: The first sending unit is configured to report first information to the first network function; wherein, The first information is used to indicate available resources in each area of the accelerator in the server, and the available resources of the accelerator are used for the second network function to request deployment of the service.
13. A resource management device, characterized in that: include: A first receiving unit, configured to receive first information reported by a server; The second sending unit is used to send sixth information to the second network function according to the first information; wherein, The first information is used to indicate the available resources of each area of the accelerator in the server; the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the sixth information is used for the second network function to request deployment of the service.
14. A resource management device, characterized in that: include: The second receiving unit is used to receive the sixth information sent by the first network function; wherein, The sixth information is sent based on the received first information, and is used to indicate the available resources of each area of the accelerator in the server managed by the first network function, and / or is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function; the sixth information is used for the second network function to request the deployment of the service; the first information is used to indicate the available resources of each area of the accelerator in the server.
15. A server, characterized in that: include: A first processor and a first communication interface; wherein, The first communication interface is used to report first information to the first network function; wherein, The first information is used to indicate available resources in each area of the accelerator in the server, and the available resources of the accelerator are used for the second network function to request deployment of the service.
16. A first network function, characterized in that: include: A second processor and a second communication interface; wherein, The second communication interface is used to receive the first information reported by the server, and to send the sixth information to the second network function according to the first information; wherein, The first information is used to indicate the available resources of each area of the accelerator in the server; the sixth information is used to indicate the available resources of each area of the accelerator in the server, and / or, to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server; the sixth information is used for the second network function to request deployment of the service.
17. A second network function, characterized in that: include: A third processor and a third communication interface; wherein, The third communication interface is used to receive the sixth information sent by the first network function; wherein, The sixth information is sent based on the received first information, and is used to indicate the available resources of each area of the accelerator in the server managed by the first network function, and / or is used to indicate the service type and / or function and / or image that can be deployed in each area of the accelerator in the server managed by the first network function; the sixth information is used for the second network function to request deployment of the service; the first information is used to indicate the available resources of each area of the accelerator in the server.
18. A communication device, characterized in that: The network device comprises a server or a first network function or a second network function, the network device comprises a processor and a memory for storing a computer program executable on the processor, When the processor is used to run the computer program, it executes the steps of the method described in any one of claims 1 to 4, or executes the steps of the method described in any one of claims 5 to 8, or executes the steps of the method described in any one of claims 9 to 11.
19. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 4 are implemented, or the steps of the method described in any one of claims 9 to 11 are implemented, or the steps of the method described in any one of claims 9 to 11 are implemented.