Method, apparatus, network element and medium for policy determination or resource allocation of computing task
By working together with policy control network elements, session management network elements, and computing power control network elements, the problem of the operator's network being unable to provide computing power resources was solved, enabling efficient allocation of computing tasks and utilization of resources for terminal devices, and saving equipment costs and electricity.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-10
- Publication Date
- 2026-04-07
AI Technical Summary
In existing technologies, operator networks can only provide data transmission channels and cannot provide computing resources for terminal devices or other network devices, resulting in terminal devices being unable to efficiently complete computing tasks.
Through the coordinated work of policy control network elements, session management network elements, and computing power control network elements, computing task requests are obtained and corresponding computing power and communication resources are allocated to ensure that the operator's network can allocate computing power and communication resources for the computing tasks of terminal devices.
This enables terminal devices to complete computing tasks without powerful computing capabilities, saving equipment costs and power consumption.
Smart Images

Figure CN115915289B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of communication, and particularly relates to a method and device for determining a strategy of a computing task or allocating resources, a network element and a medium. BACKGROUND
[0002] In related technologies, a packet data unit (PDU) session modification process of a user equipment (UE) includes the following steps: a server and a UE initiate a service establishment process to a policy control network element (PCF) due to a need for data transmission, so that the PCF triggers a PDU session modification process to a session management network element (SMF), the PDU session modification process may modify a quality of service (QoS) flow in the PDU session or establish a new QoS flow, and subsequently, the server can perform data transmission by using the corresponding QoS flow modified or newly established in the PDU session.
[0003] However, at present, an operator network can only provide a pipe for data transmission with a certain quality of service guarantee (the pipe is used for data transmission of a UE and a target node), but cannot provide computing power resources for terminal devices or other network devices, third-party devices, etc. SUMMARY
[0004] Embodiments of the present application provide a method and device for determining a strategy of a computing task or allocating resources, a network element and a medium, which can realize allocation of computing power resources.
[0005] In a first aspect, a method for determining a strategy of a computing task is provided, and the method includes: a policy control network element obtaining a computing task request from a server, the computing task request including computing task description information of a target computing task of a terminal device; the computing task request is used to request allocation of computing power resources for the target computing task; and the policy control network element determines a target quality of service (QoS) strategy for the target computing task based on the computing task description information, and the target QoS strategy includes a computing power QoS strategy.
[0006] In a second aspect, a method for allocating resources of a computing task is provided, and the method includes: a session management network element obtaining task information and a communication QoS strategy of a target computing task of a terminal device; and the session management network element allocates communication resources for the target computing task according to the task information and the communication QoS strategy.
[0007] In a third aspect, a method for resource allocation of a computing task is provided. The method comprises: a computing power control network element obtaining task information of a target computing task of a terminal device and a computing power QoS policy; and the computing power control network element allocating computing power resources for the target computing task according to the task information and the computing power QoS policy.
[0008] In a fourth aspect, a device for determining a policy of a computing task is provided. The device comprises: an obtaining module configured to obtain a computing task request from a server, the computing task request comprising computing task description information of a target computing task of a terminal device; the computing task request being used to request allocation of computing power resources for the target computing task; and a determining module configured to determine a target quality of service (QoS) policy for the target computing task based on the task information, the target QoS policy comprising a computing power QoS policy.
[0009] In a fifth aspect, a device for resource allocation of a computing task is provided. The device comprises: an obtaining module configured to obtain task information of a target computing task of a terminal device and a communication QoS policy; and an allocating module configured to allocate communication resources for the target computing task according to the task information and the communication QoS policy obtained by the obtaining module.
[0010] In a sixth aspect, a device for resource allocation of a computing task is provided. The device comprises: an obtaining module configured to obtain task information of a target computing task of a terminal device and a computing power QoS policy; and an allocating module configured to allocate computing power resources for the target computing task according to the task information and the computing power QoS policy obtained by the obtaining module.
[0011] In a seventh aspect, a policy control network element is provided. The terminal comprises a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the method according to the first aspect are implemented.
[0012] In an eighth aspect, a policy control network element is provided. The terminal comprises a processor and a communication interface. The processor is configured to obtain a computing task request from a server, the computing task request comprising computing task description information of a target computing task of a terminal device; the computing task request being used to request allocation of computing power resources for the target computing task; and to determine a target quality of service (QoS) policy for the target computing task based on the task information, the target QoS policy comprising a computing power QoS policy.
[0013] In a ninth aspect, a session management network element is provided, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
[0014] In a tenth aspect, a session management network element is provided, which includes a processor and a communication interface, wherein the processor is configured to obtain task information and a communication QoS policy of a target computing task of a terminal device, and to allocate a communication resource for the target computing task according to the task information and the communication QoS policy.
[0015] In an eleventh aspect, a computing power control network element is provided, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
[0016] In a twelfth aspect, a computing power control network element is provided, which includes a processor and a communication interface, wherein the processor is configured to obtain task information and a computing power QoS policy of a target computing task of a terminal device, and a distribution module configured to allocate a computing power resource for the target computing task according to the task information and the computing power QoS policy.
[0017] In a thirteenth aspect, a readable storage medium is provided, which stores a program or instructions, and the program or instructions, when executed by a processor, implement the steps of the method according to the first aspect, or the steps of the method according to the second aspect, or the steps of the method according to the third aspect.
[0018] In a fourteenth aspect, a chip is provided, which includes a processor and a communication interface, and the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to the first aspect, or the steps of the method according to the second aspect, or the steps of the method according to the third aspect.
[0019] In a fifteenth aspect, a computer program / program product is provided, which is stored in a non-volatile storage medium, and the program / program product is executed by at least one processor to implement the steps of the method according to the first aspect, or the steps of the method according to the second aspect, or the steps of the method according to the third aspect.
[0020] In the embodiment of the present application, after the policy control network element obtains the computing task request of the target computing task of the terminal device from the server, the target quality of service (QoS) policy of the target computing task can be allocated, and the target QoS policy includes the computing power QoS policy, so as to ensure that the operator network can allocate corresponding computing power resources and / or corresponding communication resources for the target computing task, so that the computing task related data of the terminal device can be transmitted to the computing power resources, and the computing result is fed back after being calculated by the computing power resources. In this way, the ordinary terminal device can complete the computing task without having to have strong computing power, saving the cost and power consumption of the terminal device. BRIEF DESCRIPTION OF DRAWINGS
[0021] Figure 1 is a possible communication system architecture provided by the embodiment of the present application;
[0022] Figure 2 is a flowchart of a computing task policy determination method provided by the embodiment of the present application;
[0023] Figure 3 is a flowchart of a computing task resource allocation method provided by the embodiment of the present application;
[0024] Figure 4 is a flowchart of a computing task resource allocation method provided by the embodiment of the present application;
[0025] Figure 5 is a flowchart of a computing task resource allocation method provided by the embodiment of the present application;
[0026] Figure 6 is a flowchart of a computing task resource allocation method provided by the embodiment of the present application;
[0027] Figure 7 is a flowchart of a computing task resource allocation method provided by the embodiment of the present application;
[0028] Figure 8 is a structure diagram of a computing task policy determination device provided by the embodiment of the present application;
[0029] Figure 9 is a structure diagram of a computing task resource allocation device provided by the embodiment of the present application;
[0030] Figure 10 is a structure diagram of a computing task resource allocation device provided by the embodiment of the present application;
[0031] Figure 11 is a structure diagram of a communication device provided by the embodiment of the present application;
[0032] Figure 12 A structural schematic diagram of a network side device provided by an embodiment of the present application is shown in FIG. 1. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.
[0034] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second" are generally of a kind, and are not limited to the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally represents an "or" relationship between the front and rear associated objects.
[0035] It is worth noting that the technologies described in the embodiments of the present application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technologies can be used in the above-mentioned systems and radio technologies, and also in other systems and radio technologies. The following description describes a New Radio (NR) system for example purposes, and NR terminology is used in most of the following description, but these technologies can also be applied to applications other than NR system applications, such as 6 thA communication system (e.g., a 6G) communication system.
[0036] Figure 1 A block diagram of a wireless communication system to which embodiments of the present application can be applied is shown. The wireless communication system includes a terminal device 11 and a network side device 12.
[0037] The terminal device 11 can be a UE, a mobile phone, a Tablet Personal Computer, a Laptop Computer, also known as a notebook computer, a Personal Digital Assistant (PDA), a palm computer, a netbook, an ultra-mobile personal computer (UMPC), a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, a vehicle-mounted device (VUE), a pedestrian terminal (PUE), a smart home (a home device with wireless communication function, such as a refrigerator, a television, a washing machine, or furniture, etc.), and the like. The wearable device includes a smart watch, a smart bracelet, a smart earphone, smart glasses, smart jewelry (a smart bracelet, a smart necklace, a smart ring, a smart necklace, a smart ankle bracelet, a smart ankle chain, etc.), a smart wristband, smart clothing, a game console, and the like. It should be noted that the specific type of the terminal device 11 is not limited in the embodiments of the present application.
[0038] The network side device 12 can include a policy control network element, a mobility management network element, a session management network element, and a computing power control network element.
[0039] For example, in a 5G system, the policy control network element can be a PCF, the mobility management network element can be an Access and Mobility Management Function (AMF), the session management network element can be a SMF, and the computing power control network element can be a network element capable of allocating computing power resources.
[0040] It should be noted that in other systems, the network elements can be network elements with the same function or type, but the specific names can be different from the above network element names, and the embodiments of the present application do not limit this.
[0041] It should be noted that the policy control network element in the embodiments of the present application can be independently deployed as an independent logical module, or can be a sub-function module in the session management network element, and the embodiments of the present application do not limit this. In addition, if the functions of the session management network element and the policy control network element are integrated in the same network element device, the steps of interaction between the session management network element and the policy control network element can be omitted or combined. For example, when the policy control network element sends a policy modification request to the session management network element, if the functions of the two are integrated in the same network element, this step can be omitted.
[0042] The network side device 12 can be a base station or a core network, wherein the base station can be referred to as a node B, an evolved node B, an access point, a base transceiver station (BTS), a radio base station, a radio transceiver, a basic service set (BSS), an extended service set (ESS), a node B, an evolved node B (eNB), a home node B, a home evolved node B, a WLAN access point, a WiFi node, a transmitting receiving point (TRP), or some other appropriate term in the art, as long as the same technical effect is achieved, and the base station is not limited to a specific technical term. It should be noted that in the embodiments of the present application, only the base station in the NR system is taken as an example, but the specific type of the base station is not limited.
[0043] The following is a glossary of some concepts and definitions contained in the present application, which is applicable to all embodiments of the present application.
[0044] 1. Service requirement of computing task (computing service).
[0045] It can be understood that the service requirement of the computing task is the demand of the computing service from the terminal device. The concept is similar to that the more accurate computing result is calculated in a shorter time.
[0046] For example, the service requirement of the computing task includes but is not limited to the following measurement information:
[0047] 1) Accuracy of computing service = computing credibility (platform computing credibility) * data transmission error rate. The success rate of computing service is used to represent the overall accuracy of the computing task.
[0048] 2) Time delay of computing service = computing time delay + transmission time delay. The time delay of computing service is used to represent the overall time delay required to complete the computing task.
[0049] For example, the network side can generate specific network requirements based on the service requirements of the computing task, wherein the network requirements include communication quality of service (QoS) requirements and computing power quality of service (QoS) requirements.
[0050] 2. Computing power QoS
[0051] For example, the computing power QoS includes, but is not limited to, at least one of the following dimensions of computing power quality:
[0052] i. Computing delay, used to represent the time required by the computing resource node to perform the task;
[0053] ii. Computing credibility, used to represent the accuracy of the computing of the computing resource node to the task.
[0054] 3. Communication QoS
[0055] For example, the communication QoS includes, but is not limited to, at least one of the following dimensions of communication transmission quality:
[0056] i. Transmission delay
[0057] ii. Bandwidth
[0058] iii. Bit error rate
[0059] For example, a computing session is a special session between a UE and a management control / computing resource node. The user plane data of the computing session is carried in a PDU session, i.e., transmitted to the computing resource node for operation using the channel of the PDU session. The computing session identification (ID) is used to identify the computing session, assigned by the UE and sent to the network when the computing session is established. The computing session ID and the PDU session ID are in a one-to-one binding relationship, and the binding relationship is determined by the UE and sent to the network when the computing session is established.
[0060] For example, the PDU session ID is the session management layer ID between the UE and the SMF.
[0061] For example, the correspondence between the computing session and the PDU session is as follows: there is a one-to-one correspondence between the computing session and the PDU session; there is a one-to-one correspondence between the computing session and the QoS flow / bearer.
[0062] It should be noted that the steps in the various embodiments of the present application are only illustrative and do not necessarily represent mandatory execution.
[0063] The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings and some embodiments and application scenarios.
[0064] The embodiment of the present application provides a method for determining a computing task strategy, as shown in the method is applied to a policy control network element, and the method comprises the following steps: Figure 2
[0065] Step 201: The policy control network element obtains a computing task request from a server.
[0066] Step 202: The policy control network element determines a target quality of service (QoS) strategy for a target computing task based on computing task description information of the target computing task.
[0067] In the embodiment of the present application, the computing task request comprises computing task description information of a target computing task of a terminal device; the computing task request is used to request allocation of computing power resources for the target computing task; and the target QoS strategy comprises a computing power QoS strategy.
[0068] In the embodiment of the present application, the terminal device can interact with a server through an application layer to exchange computing task requirements of the terminal device. For example, the interaction content comprises at least the computing task description information of the target computing task.
[0069] Optionally, in the embodiment of the present application, the computing task request is also used to request allocation of communication resources for the target computing task; at this time, the target QoS strategy further comprises a communication QoS strategy.
[0070] Optionally, in the embodiment of the present application, the computing task description information comprises at least one of the following: a type of the computing task, a purpose of the computing task, a service requirement of the computing task, an IP address of the computing task, and port number information corresponding to the computing task.
[0071] Optionally, in the embodiment of the present application, the server herein can be a third-party server or a network element on a network side, and the present application does not limit this.
[0072] Optionally, in the embodiment of the present application, the policy control network element needs to ensure that the sum of a delay in the allocated communication QoS strategy and a delay in the computing power QoS strategy does not exceed a delay of a service requirement of the target computing task requested by the terminal device. In addition, the policy control network element needs to ensure that the product of a data transmission accuracy (which can be 1-PER) in the allocated communication QoS strategy and a computing accuracy in the computing power QoS strategy is not lower than an accuracy in the service requirement of the target computing task requested by the terminal device.
[0073] Optionally, in the embodiments of the present application, the computing power QoS policy and / or the communication QoS policy described above can be directly sent to the policy control network element by the server, or can be determined by the policy control network element based on the service requirements of the target computing task after the policy control network element sends the service requirements of the target computing task to the server.
[0074] In one possible example, the service requirements of the computing task include at least one of the following: a computing task latency requirement (for example, the computing task latency is 10 ms), and a computing task accuracy requirement (for example, the computing task error rate is not more than 0.1%).
[0075] In another possible example, the step 202 can include:
[0076] Step 202a: The policy control network element decomposes the service requirements of the target computing task into computing power QoS requirements based on the computing task description information of the target computing task, and determines a computing power QoS policy for the target computing task according to the computing power QoS requirements.
[0077] Optionally, in the embodiments of the present application, the step 202 can include:
[0078] Step 202b: The policy control network element decomposes the service requirements of the computing task into computing power QoS requirements and communication QoS requirements based on the service requirements of the computing task in the computing task description information of the target computing task, and determines a computing power QoS policy for the target computing task according to the computing power QoS requirements and determines a communication QoS policy for the target computing task according to the communication QoS requirements.
[0079] Optionally, in the embodiments of the present application, after the step 202, the method for determining the policy of the computing task provided by the present application can further include the following step:
[0080] Step A1: The policy control network element sends the computing power QoS policy to the computing power control network element.
[0081] The computing power QoS policy is used to trigger the computing power control network element to allocate computing power resources for the target computing task according to the computing power QoS policy. That is, after receiving the computing power QoS policy, the computing power control network element can allocate computing power resources for the target computing task based on the computing power QoS policy.
[0082] For example, before the policy control network element sends the computing power QoS policy to the computing power control network element, the policy control network element can select a suitable computing power control network element to allocate computing power resources.
[0083] For example, the policy control network element can select the computing power control network element according to at least one of the following information:
[0084] target area;
[0085] relevant subscription information of the target computing task of the terminal device;
[0086] Data Network Name (DNN);
[0087] Single Network Slice Selection Assistance Information (S-NSSAI);
[0088] computing task description information of the target computing task.
[0089] For example, the target area can be an Area of interest (AOI). Further, the AOI can include a location where the terminal device is currently located, or specified area information provided by the server.
[0090] It should be noted that the policy control network element can determine a suitable computing power control network element according to its own configuration information in combination with the above-mentioned factors, or the policy control network element can send the above-mentioned reference factors to the NRF for querying the corresponding matching computing power control network element from the NRF. The selection manner of the specific network element is not limited in the embodiments of the present application.
[0091] For example, before selecting the computing power control network element, the policy control network element needs to request subscription data of the terminal device from a Unified Data Management (UDM) / Unified Data Repository (UDR) to verify whether the terminal device has relevant subscription information of the target computing task. If yes, subsequent processes (including selecting the computing power control network element) are performed. If not, the policy control network element rejects the request of the server.
[0092] Further, in the embodiments of the present application, the step A1 can include step A1a:
[0093] Step A1a: The policy control network element sends the computing power QoS policy to the computing power control network element through the session management network element.
[0094] Further, in the embodiments of the present application, after the step A1, the method for determining the policy of the computing task provided by the embodiments of the present application can further include the following steps:
[0095] Step A2: The policy control network element receives the network element information of the computing network element corresponding to the computing resource from the computing power control network element, and the network element information includes: network element identification information or network element address information.
[0096] For example, the network element identification information can be the Fully Qualified Domain Name (FQDN) information of the network element. The network element address information can be the IP address information of the network element.
[0097] Step A3: The policy control network element sends a computing task response to the server, and the computing task response includes the network element information of the computing network element corresponding to the computing resource.
[0098] For example, the computing task response can also include the computing power QoS policy and / or the communication QoS policy.
[0099] For example, the computing task response can also include the service quality value (such as the actual achievable delay value and / or the actual achieved computing preparation rate value) of the target computing task that can be achieved by the computing power QoS policy and / or the communication QoS policy evaluated by the policy control network element.
[0100] In this way, the server obtains the related information of the computing network element of the computing resource of the terminal device allocated by the network for the target computing task (for example, the IP address of the computing network element, the computing capability, and the service quality value that can be achieved, etc.). The server can subsequently send the above information to the terminal device through the application layer, so that the terminal device can send the computing task to the computing network element by using the information and the corresponding PDU tunnel, and the network computing resource can be used to calculate the target computing task.
[0101] Optionally, in the case where the policy control network element determines the communication QoS policy for the target computing task, the method for determining the policy of the computing task provided in the embodiment of the present application can further include the following steps:
[0102] Step A4: The policy control network element sends the communication QoS policy to the session management network element.
[0103] The communication QoS policy is used to trigger the session management network element to allocate the communication resource (that is, the transmission tunnel of the appropriate PDU session) for the target computing task according to the communication QoS policy.
[0104] For example, the policy control network element can query the session management network element (such as serving SMF) corresponding to the terminal device according to its historical record or to the UDM.
[0105] Further optionally, in the embodiments of the present application, the step A4 can comprise step A4a:
[0106] Step A4a: If the communication QoS policy is different from the current communication QoS policy corresponding to the terminal device, the policy control network element sends a policy modification request to the session management network element, and the policy modification request comprises the communication QoS policy.
[0107] In a possible example, the trigger condition for the policy control network element to send the policy modification request to the session management network element can be that the policy control network element determines that the current session management policy (e.g., SM policy) corresponding to the UE needs to be modified. That is, if the session management policy in the communication QoS policy determined by the policy control network element for the target computing task is different from the session management policy in the current communication QoS policy corresponding to the terminal device, in other words, if it is determined that the current PDU session of the terminal device does not meet the communication QoS policy, the policy control network element sends a policy modification request to the session management network element to request to modify the communication QoS policy.
[0108] In a possible example, the policy control network element receives a policy modification response from the session management network element, and the policy modification response is used to inform whether the modification of the communication QoS policy is successful.
[0109] In the method for determining the policy of the computing task provided in the embodiments of the present application, after the policy control network element obtains the computing task request of the target computing task of the terminal device from the server, the target QoS policy including the computing power QoS policy can be allocated for the target computing task, so as to ensure that the operator network can allocate corresponding computing power resources and / or corresponding communication resources for the target computing task, so that the computing task related data of the terminal device can be transmitted to the computing power resources and the computing result is fed back after being calculated by the computing power resources. In this way, the ordinary terminal device can complete the computing task without having to have strong computing power, saving the cost and power consumption of the terminal device.
[0110] The embodiments of the present application provide a method for allocating resources of a computing task, as shown in Figure 3 The method is applied to a session management network element, and the method provided in the embodiments of the present application comprises the following steps:
[0111] Step 301: The session management network element obtains the task information and the communication QoS policy of the target computing task of the terminal device.
[0112] Step 302: The session management network element allocates communication resources for the target computing task according to the task information and the communication QoS policy of the target computing task.
[0113] Optionally, in the embodiment of the present application, the task information of the target computing task includes at least one of the following: computing task identification information, packet data unit (PDU) session identification information associated with the computing task, requested type information corresponding to the PDU session, computing task description information, data network name (DNN), and S-NSSAI; wherein the computing task description information includes at least one of the following: type of the computing task, purpose of the computing task, service requirement of the computing task, IP address of the computing task, and port number information corresponding to the computing task.
[0114] For example, the computing task identification information can include a terminal device ID and a computing session ID, the PDU session identification information corresponding to the computing task can include a PDU session ID corresponding to the computing task, the S-NSSAI can be slice identification information corresponding to the computing task, and the DNN can be a data network name (such as an IP multimedia subsystem (IMS) DNN, an Internet DNN, etc.) corresponding to the computing task.
[0115] Optionally, in the embodiment of the present application, the service requirement of the computing task includes at least one of the following: latency requirement of the computing task and accuracy requirement of the computing task.
[0116] Optionally, in the embodiment of the present application, the step 302 can include the following steps:
[0117] Step 302a: The session management network element establishes a tunnel in the PDU session for the terminal device according to the task information of the target computing task and the communication QoS policy.
[0118] It can be understood that the session management network element can trigger a PDU session modification process based on the task information of the target computing task and the communication QoS policy, thereby establishing a tunnel in the PDU session for the terminal device. The tunnel in the PDU session is used to transmit data of the target computing task.
[0119] Optionally, in the embodiment of the present application, the step 301 can include the following steps
[0120] Step 301a: The session management network element obtains a policy modification request from the policy control network element, wherein the policy modification request includes the task information of the target computing task and the communication QoS policy.
[0121] Exemplarily, the policy modification request is used to trigger a QoS policy modification procedure, and the QoS policy modification procedure will subsequently trigger the session management network element to initiate a PDU session modification procedure to modify a certain QoS flow in the PDU session or newly establish a QoS flow, so as to ensure that the QoS flow can adapt to the QoS policy corresponding to the target computing task. For example, modifying the corresponding N4 session, which is the same as the N4 session modification procedure in the prior art. For example, establishing or modifying an N3 tunnel to trigger the establishment and modification procedure of a QoS flow, which is the same as the N3 tunnel establishment procedure or the modification procedure in the prior art.
[0122] Further optionally, in the embodiments of the present application, the resource allocation method for a computing task provided by the embodiments of the present application can include the following step B1:
[0123] Step B1: The session management network element sends a communication QoS policy request to the policy control network element, and the communication QoS policy request is used to request a communication QoS policy corresponding to the target computing task.
[0124] Further optionally, in the embodiments of the present application, the resource allocation method for a computing task provided by the embodiments of the present application can include the following step B2:
[0125] Step B2: The session management network element obtains the computing power QoS policy corresponding to the target computing task from the policy control network element; and the session management network element sends the computing power QoS policy to the computing power control network element, and the computing power QoS policy is used for the computing power control network element to allocate computing power resources for the target computing task.
[0126] Further optionally, in the embodiments of the present application, the session management network element can actively send the computing power QoS policy to the computing power control network element, or passively send the computing power QoS policy to the computing power control network element (that is, the computing power control network element passively sends the computing power QoS policy only when the computing power QoS policy request is received).
[0127] In a possible implementation manner, the resource allocation method for a computing task provided by the embodiments of the present application can include the following step B31:
[0128] Step B31: The session management network element selects the computing power control network element according to the first information.
[0129] The first information includes at least one of the following:
[0130] The target area (for details, refer to the foregoing description);
[0131] The related subscription information of the target computing task of the terminal device;
[0132] The DNN;
[0133] S-NSSAI;
[0134] The computing task description information of the target computing task.
[0135] For example, after the session management network element initiatively selects the computing power control network element according to the first information, the session management network element can send the computing power QoS policy to the computing power control network element.
[0136] In another possible implementation, the method for allocating resources of a computing task provided in the embodiment of the present application can include the following step B32.
[0137] Step B32: The session management network element receives a computing power QoS policy request from the computing power control network element, and the computing power QoS policy request is used to request the computing power QoS policy corresponding to the target computing task; and the session management network element sends the computing power QoS policy request to the policy control network element.
[0138] For example, after receiving the computing power QoS policy request, the session management network element forwards the computing power QoS policy request to the policy control network element, so that the policy control network element can allocate the corresponding computing power QoS policy for the computing power control network element.
[0139] Further optionally, in the embodiment of the present application, the method for allocating resources of a computing task provided in the embodiment of the present application can include the following step B4.
[0140] Step B4: The session management network element receives the network element information of the computing network element corresponding to the computing power resource sent by the computing power control network element, and the network element information includes: network element identification information or network element address information; and the session management network element sends the network element information to the policy control network element.
[0141] Optionally, in the embodiment of the present application, the method for allocating resources of a computing task provided in the embodiment of the present application can include the following step B5.
[0142] Step B5: The session management network element sends a PDU session modification instruction to the terminal device, and the PDU session modification instruction contains part or all of the information of the communication QoS policy.
[0143] Optionally, in the embodiment of the present application, the session management network element and the computing power control network element can interact with each other to notify the state information of their own resource allocation.
[0144] For example, the method for allocating resources of a computing task provided in the embodiment of the present application can include the following step B6.
[0145] Step B6: The session management network element sends the allocation state information of the communication resource to the computing power control network element; or the session management network element receives the allocation state information of the computing power resource from the computing power control network element.
[0146] For example, the allocation state information can indicate whether the corresponding computing resource or communication resource is allocated, and the type, quantity, and achievable QoS of the allocated resource.
[0147] In the resource allocation method for a computing task provided in the embodiments of the present application, after obtaining the task information and the communication QoS policy of the target computing task, the session management network element can allocate a communication resource for the target computing task based on the task information and the communication QoS policy of the target computing task. In this way, it is ensured that the operator network can allocate a corresponding communication resource for the target computing task, so that the computing task related data of the terminal device can be transmitted to the computing resource through the corresponding PDU tunnel, and the computing result is fed back after being calculated by the computing resource. In this way, the ordinary terminal device can complete the computing task without having to have strong computing capability, thereby saving the cost and power consumption of the terminal device.
[0148] The embodiments of the present application provide a resource allocation method for a computing task, as shown in Figure 4 The method is applied to a computing control network element, and the method provided in the embodiments of the present application includes the following steps:
[0149] Step 401: The computing control network element obtains the task information and the computing QoS policy of a target computing task of a terminal device.
[0150] Step 402: The computing control network element allocates a computing resource for the target computing task according to the task information and the computing QoS policy of the target computing task.
[0151] Optionally, in the embodiments of the present application, the computing QoS includes at least one of the following measurement dimensions: computing power, sample data volume, storage, computing delay, computing accuracy, and computing speed.
[0152] Optionally, in the embodiments of the present application, the task information of the target computing task includes at least one of the following: computing task identification information, PDU session identification information associated with the computing task, computing task description information, DNN, and S-NSSAI; and the computing task description information includes at least one of the following: the type of the computing task, the purpose of the computing task, the service requirement of the computing task, the IP address of the computing task, and the port number information corresponding to the computing task.
[0153] Optionally, in the embodiments of the present application, the service requirement of the computing task includes at least one of the following: the delay requirement of the computing task and the accuracy requirement of the computing task.
[0154] Optionally, in the embodiment of the present application, the computing resource includes at least one of the following: a computing resource and a storage resource. For example, at least 100 units of GPU resource are allocated for computing, and 100 units of storage resource are allocated for storage.
[0155] Optionally, in the embodiment of the present application, the step 402 can include the following steps:
[0156] Step 402a: The computing power control network element selects a computing network element according to the task information of the target computing task and the computing power QoS policy. The computing network element can provide the computing power resource corresponding to the target computing task.
[0157] It should be noted that the computing network element in the embodiment of the present application has computing function and storage function. The two functions can be deployed in the same network element, or can be independently deployed in different network elements, that is, the computing network element can include one network element, or can include multiple network elements.
[0158] It should be noted that the computing power control network element needs to ensure that the computing capability of the selected computing function network element meets the computing resource requirement in the computing power QoS policy (for example, at least 100 units of GPU resource, supporting a specific algorithm (such as Deep Neural Networks (DNN)))); and / or, the computing power control network element needs to ensure that the storage capability of the selected storage function network element meets the storage resource requirement in the computing power QoS policy (for example, 100 units of storage resource).
[0159] Optionally, in the embodiment of the present application, the step 401 can include the following steps:
[0160] Step 401a: The computing power control network element obtains the task information of the target computing task and the computing power QoS policy from the policy control network element; or,
[0161] Step 401b: The computing power control network element obtains the task information of the target computing task and the computing power QoS policy from the session management network element.
[0162] Further optionally, in the embodiment of the present application, the resource configuration method of the computing task provided by the embodiment of the present application can include the following step C1:
[0163] Step C1: The computing power control network element sends a computing power QoS policy request to the policy control network element, and the computing power QoS policy request is used to request the computing power QoS policy corresponding to the target computing task.
[0164] Optionally, in the embodiment of the present application, after the step 402, the resource configuration method of the computing task provided by the embodiment of the present application can include the following step C2:
[0165] Step C2: The computing power control network element sends a first computing task response to the session management network element or the policy control network element; wherein the first computing task response comprises network element information of the computing network element corresponding to the computing power resource, and the network element information comprises network element identifier information or network element address information.
[0166] For example, the identifier information of the computing network element is used for addressing the computing network element, which can be the FQDN of the network element. In this way, the terminal device can subsequently send data of the target computing task to the computing network element for calculation; or the network element address information can be the IP address of the network element, which is used as the destination IP address of the terminal device for sending the data of the target computing task, so as to ensure that the data of the target computing task can be transmitted to the computing network element for calculation.
[0167] For example, the first computing task response further comprises PDU session identifier information associated with the target computing task.
[0168] Optionally, in the embodiments of the present application, the session management network element and the computing power control network element can interact to allocate state information to inform each other of the state information of resource allocation.
[0169] For example, the resource configuration method of the computing task provided in the embodiments of the present application can comprise the following step C3:
[0170] Step C3: The computing power control network element sends allocation state information of the computing power resource to the session management network element; and / or the computing power control network element receives allocation state information of the communication resource from the session management network element.
[0171] For example, the allocation state information can indicate whether the corresponding computing power resource or communication resource is allocated, and the type, quantity and corresponding achievable QoS of the allocated resource.
[0172] In the resource allocation method of the computing task provided in the embodiments of the present application, after obtaining the task information of the target computing task and the computing power QoS policy, the computing power control network element can allocate the computing power resource for the target computing task based on the task information of the target computing task and the computing power QoS policy. In this way, the operator network can allocate the corresponding computing power resource for the target computing task, so that the computing task related data of the terminal device can be transmitted to the computing power resource, and the computing result is fed back after being calculated by the computing power resource. In this way, the ordinary terminal device can complete the computing task without having to have strong computing capability, thereby saving the cost and power consumption of the terminal device.
[0173] It should be noted that the technical terms and related explanations in each of the embodiments of the present application can be used in other embodiments.
[0174] It should be noted that in the technical solutions provided by the embodiments of the present application, the modification process of the associated PDU session is triggered by triggering the allocation of computing resource. Of course, the network side can trigger the modification of the PDU session (for example, triggering the modification of the PDU session in the case that the communication QoS has been met) or not trigger the modification of the PDU session (for example, triggering the establishment of a new dedicated QoS flow in the case that the communication QoS is not met). In an example, if the existing PDU session can already meet the data transmission requirements of the computing task, the PDU session modification process does not need to be triggered, that is, the session management network element also does not need to initiate the corresponding operation.
[0175] The technical solutions provided by the embodiments of the present application will be described below with several examples.
[0176] Among them, the following examples take the server as the AF, the policy control network element as the PCF, the mobility management network element as the AMF, the session management network element as the SMF, and the terminal device as the UE. It should be noted that the network element names in the following examples are only examples, and other network element names can also be used in actual applications, and the embodiments of the present application do not limit this.
[0177] Embodiment one:
[0178] For example, as shown in Figure 5 The technical solutions provided by the embodiments can be implemented by the following steps:
[0179] Step 1: The AF initiates a computing task request to the PCF, and the computing task request is used to request the network side to allocate corresponding computing resource for the target computing task of the UE.
[0180] For example, the computing task request includes at least one of the following information: the type of the computing task, the purpose of the computing task, the computing session identifier (the computing session is a session carrying the computing task description information of the target computing task), and the service requirement of the computing task (including the computing task delay requirement and / or the computing task accuracy requirement).
[0181] For example, the computing task request is also used to request the network side to allocate corresponding communication resource for the target computing task of the UE. Further, at this time, the computing task request includes the transmission requirement of the data flow corresponding to the target computing task, for example, the computing task request includes at least one of the following requirements: data transmission bandwidth requirement, data transmission delay requirement, data transmission packet loss rate requirement, etc.
[0182] Step 2: The PCF determines the communication QoS policy and the computing QoS policy corresponding to the target computing task according to the computing task request in step 1.
[0183] For example, the embodiment is implemented by the AF sending the service requirement of the whole target computing task to the PCF, and the PCF coordinating to determine the corresponding computing QoS policy and communication QoS policy according to the service requirement of the target computing task.
[0184] For example, the PCF needs to ensure that the sum of the latency in the allocated communication QoS policy and the latency of the computing QoS policy does not exceed the latency of the service requirement of the target computing task requested by the AF; in addition, the PCF needs to ensure that the product of the data transmission accuracy (which can be 1-PER) in the allocated communication QoS policy and the accuracy of the computing of the computing QoS policy is not lower than the accuracy in the service requirement of the target computing task requested by the AF. The contents of the communication transmission QoS policy and the computing QoS policy can refer to the foregoing description, and will not be described here again.
[0185] Optionally, after the above step 2, the embodiment can further include step 3a and / or step 3b:
[0186] Step 3a, the PCF queries the serving SMF corresponding to the UE, and sends a policy modification request to the serving SMF, so that the PCF can initiate a subsequent communication QoS policy modification process to the serving SMF.
[0187] For example, the PCF queries the serving SMF corresponding to the UE according to its own historical record or to the UDM.
[0188] Step 3b, the PCF selects a computing control network element according to the computing task request of step 1.
[0189] Optionally, after the above step 2, the embodiment can further include step 4a and step 5a:
[0190] Step 4a, the PCF sends a policy modification request to the SMF, and the policy modification request includes the task information of the target computing task and the communication QoS policy. The policy modification request is used to trigger a communication QoS policy modification process, and the communication QoS policy modification process will subsequently trigger the SMF to initiate a PDU session modification process to modify a certain QoS flow in the PDU session or to newly build a QoS flow, so as to ensure that the QoS flow can adapt to the QoS policy corresponding to the target computing task.
[0191] Step 5a, the SMF triggers a PDU session modification process according to the policy modification request.
[0192] Optionally, after the above step 2, the embodiment can further include step 4b and step 5b:
[0193] Step 4b, the PCF initiates a computing task request to the computing power control network element, and the computing task request contains the computing power QoS policy. For example, the computing task detailed information of the target computing task can also be included in the above request message.
[0194] Step 5b, the computing power control network element selects the allocation of the computing network element according to the computing power QoS policy.
[0195] Optionally, after the above step 2, the embodiment can further include steps 6a and 7a:
[0196] Steps 6a-7a, the SMF sends a PDU session modification instruction to the UE through the AMF.
[0197] Optionally, after the above step 2, the embodiment can further include step 6b:
[0198] Step 6b, the computing power control network element sends a computing task response to the PCF.
[0199] Step 8a, the SMF sends a policy modification response to the PCF, which is used to inform the PCF whether the communication QoS policy modification of step 4a is successful.
[0200] Step 9, the PCF sends a computing task response to the AF.
[0201] In summary, the overall scheme of the embodiment can include the following processes: the AF requests the PCF to allocate computing power resources due to the task demand of the target computing task of the UE; the PCF allocates the corresponding communication QoS policy and computing power QoS policy for the target computing task; then, the PCF initiates a PDU session modification process to the SMF, and initiates a computing power resource request process to the computing power control network element.
[0202] Embodiment two:
[0203] In combination with the above embodiment one, step 2 in embodiment one can be replaced by step 2a. Step 2a includes: the PCF obtains the communication QoS policy and computing power QoS policy corresponding to the target computing task from the computing task request in step 1.
[0204] That is, in the embodiment, the AF has coordinated the service requirements of the target computing task into computing power service requirements and communication transmission service requirements, and then the PCF determines the corresponding computing power QoS policy and communication QoS policy according to the computing power service requirements and the communication transmission service requirements.
[0205] Embodiment three:
[0206] In combination with the above embodiment one, the execution order is changed from the PCF to the two network elements to perform the corresponding scheme in parallel to the SMF to perform in series.
[0207] As shown in Figure 6 The technical solution provided by the embodiment can be implemented through the following steps.
[0208] Steps 1-2 are the same as steps 1-2 in Embodiment One.
[0209] Step S1 is similar to steps 4a and 5a in Embodiment One, and the difference is only in the content of the sending. Specifically, the PCF sends the communication QoS policy and the computing power QoS policy to the SMF.
[0210] Step S2 is performed by the SMF to execute the computing power control network element selection process, and the reference factors are the same as those in the process of selecting the computing power control network element by the PCF in Embodiment One, which will not be described here.
[0211] Step S3, the SMF sends a computing task request (including computing power QoS information) to the computing power control network element.
[0212] Step S4, the computing power control network element sends a computing task response to the SMF.
[0213] In combination with Figure 5 and Figure 6 The remaining steps can refer to the description in Embodiment One, and will not be described here to avoid repetition.
[0214] Embodiment Four:
[0215] This embodiment is opposite to Embodiment Three. In this embodiment, the PCF first initiates a computing task request (carrying the allocated computing power QoS policy and computing power QoS policy and SMF ID) to the computing power control network element, and then the computing power control network element triggers the SMF to perform the PDU session modification process according to the SMF ID, modifies or newly creates a QoS flow, and meets the communication QoS requirement.
[0216] As shown in Figure 7 The technical solution provided by the embodiment can be implemented through the following steps.
[0217] Steps 1-2 are the same as steps 1-2 in Embodiment One.
[0218] Step S1', the PCF performs the computing power control network element selection process (i.e., queries the computing power control network element corresponding to the UE), and the reference factors are the same as those in the process of selecting the computing power control network element by the PCF in Embodiment One, which will not be described here.
[0219] Step S2', the PCF sends a computing task request (carrying the allocated computing power QoS policy and computing power QoS policy and SMF ID) to the computing power control network element.
[0220] Step S3', the computing power control network element queries a serving SMF corresponding to the UE.
[0221] Step S4', the computing power control network element triggers the SMF to perform a modification process of a PDU session according to the SMF ID, modifies or newly creates a QoS flow, and meets a communication QoS requirement. That is, a computing task request is sent to the SMF, the computing task request containing a PDU session modification request and a communication QoS policy.
[0222] In combination Figure 5 and Figure 7 The remaining steps can refer to the description in Embodiment One, and will not be described here again to avoid repetition.
[0223] It should be noted that the execution subject of the computing task policy determination method provided in the embodiments of the present application can be a computing task policy determination apparatus, or a control module in the computing task policy determination apparatus for executing the computing task policy determination method. In the embodiments of the present application, the computing task policy determination apparatus executes the computing task policy determination method as an example to illustrate the computing task policy determination apparatus provided in the embodiments of the present application.
[0224] It should be noted that the execution subject of the computing task resource allocation method provided in the embodiments of the present application can be a computing task resource allocation apparatus, or a control module in the computing task resource allocation apparatus for executing the computing task resource allocation method. In the embodiments of the present application, the computing task resource allocation apparatus executes the computing task resource allocation method as an example to illustrate the computing task resource allocation apparatus provided in the embodiments of the present application.
[0225] The computing task policy determination apparatus provided in the embodiments of the present application, as shown in Figure 8 The apparatus 500 includes an acquisition module 501 and a determination module 502. The acquisition module 501 is configured to acquire a computing task request from a server, the computing task request including computing task description information of a target computing task of a terminal device; the computing task request is used to request allocation of computing power resources for the target computing task. The determination module 502 is configured to determine a target quality of service (QoS) policy for the target computing task based on the computing task description information, the target QoS policy including a computing power QoS policy.
[0226] Optionally, the computing task request is also used to request allocation of communication resources for the target computing task; and the target QoS policy further includes a communication QoS policy.
[0227] Optionally, the computing task description information comprises at least one of the following: a type of the computing task, a purpose of the computing task, a service requirement of the computing task, an IP address of the computing task, and port number information corresponding to the computing task.
[0228] Optionally, the service requirement of the computing task comprises at least one of the following: a latency requirement of the computing task, and an accuracy requirement of the computing task.
[0229] Optionally, the determining module 502 is specifically configured to decompose, based on the computing task description information, a service requirement of the target computing task into a computing power QoS requirement, and determine a computing power QoS strategy for the target computing task according to the computing power QoS requirement.
[0230] Optionally, the determining module 502 is specifically configured to decompose, based on the service requirement of the computing task in the computing task description information, the service requirement of the computing task into a computing power QoS requirement and a communication QoS requirement, determine a computing power QoS strategy for the target computing task according to the computing power QoS requirement, and determine a communication QoS strategy for the target computing task according to the communication QoS requirement.
[0231] Optionally, the apparatus further comprises a transmitting module, wherein the transmitting module 503 is configured to transmit the computing power QoS strategy to a computing power control network element, and wherein the computing power QoS strategy is used to trigger the computing power control network element to allocate computing power resources to the target computing task according to the computing power QoS strategy.
[0232] Optionally, the transmitting module is specifically configured to transmit the computing power QoS strategy to the computing power control network element via a session management network element.
[0233] Optionally, the transmitting module is further configured to receive, from the computing power control network element, network element information of a computing network element corresponding to the computing power resources, wherein the network element information comprises network element identification information or network element address information, and transmit, to the server, a computing task response comprising the network element information of the computing network element.
[0234] Optionally, the transmitting module is further configured to transmit the communication QoS strategy to a session management network element, and wherein the communication QoS strategy is used to trigger the session management network element to allocate communication resources to the target computing task according to the communication QoS strategy.
[0235] Optionally, the transmitting module is further configured to transmit, to the session management network element, a policy modification request comprising the communication QoS strategy, if the communication QoS strategy is different from a current communication QoS strategy corresponding to the terminal device.
[0236] In the device for determining a strategy of a computing task provided in the embodiments of the present application, after the device obtains a computing task request of a target computing task of a terminal device from a server, a target quality of service (QoS) strategy is allocated to the target computing task, the target QoS strategy including a computing power QoS strategy, so that the operator network can allocate corresponding computing power resources and / or corresponding communication resources to the target computing task, so that the computing task related data of the terminal device can be transmitted to the computing power resources and the computing result is fed back after being calculated by the computing power resources. In this way, the ordinary terminal device can complete the computing task without having to have strong computing power, saving the cost and power consumption of the terminal device.
[0237] The device for allocating resources of a computing task provided in the embodiments of the present application, as shown in Figure 9 The device 600 includes an obtaining module 601 and an allocating module 602, where: the obtaining module 601 is configured to obtain task information and a communication QoS strategy of a target computing task of a terminal device; and the allocating module 602 is configured to allocate a communication resource to the target computing task according to the task information and the communication QoS strategy.
[0238] Optionally, the allocating module 602 is configured to establish a tunnel in a PDU session for the terminal device according to the task information and the communication QoS strategy; and the tunnel in the PDU session is used to transmit data of the target computing task.
[0239] Optionally, the task information includes at least one of the following: computing task identification information, PDU session identification information associated with the computing task, computing task description information, a DNN, and S-NSSAI; and the computing task description information includes at least one of the following: a type of the computing task, a purpose of the computing task, a service requirement of the computing task, an IP address of the computing task, and port number information corresponding to the computing task.
[0240] Optionally, the service requirement of the computing task includes at least one of the following: a delay requirement of the computing task and an accuracy requirement of the computing task.
[0241] Optionally, the obtaining module 601 is specifically configured to obtain a policy modification request from a policy control network element, and the policy modification request includes the task information of the target computing task and the communication QoS strategy.
[0242] Optionally, the device further includes a transmitting module, where: the transmitting module is configured to send a communication QoS strategy request to the policy control network element, and the communication QoS strategy request is used to request a communication QoS strategy corresponding to the target computing task.
[0243] Optionally, the obtaining module 601 is configured to obtain the computing power QoS policy corresponding to the target computing task from the policy control network element; and send the computing power QoS policy to the computing power control network element, where the computing power QoS policy is used by the computing power control network element to allocate computing power resources for the target computing task.
[0244] Optionally, the apparatus further includes a selecting module, where: the selecting module is configured to select the computing power control network element according to first information; and the first information includes at least one of the following: a target area, subscription information corresponding to the target computing task, and the computing task description information.
[0245] Optionally, the transmission module is further configured to receive a computing power QoS policy request from the computing power control network element, where the computing power QoS policy request is used to request the computing power QoS policy corresponding to the target computing task; and send the computing power QoS policy request to the policy control network element.
[0246] Optionally, the transmission module is further configured to receive network element information of a computing network element corresponding to the computing power resources sent by the computing power control network element, where the network element information includes network element identifier information or network element address information; and send the network element information to the policy control network element.
[0247] Optionally, the transmission module is further configured to send a PDU session modification instruction to the terminal device, where the PDU session modification instruction includes part or all of the information of the communication QoS policy.
[0248] Optionally, the transmission module is further configured to send allocation state information of the communication resources to the computing power control network element; and / or, further configured to receive allocation state information of the computing power resources from the computing power control network element.
[0249] In the computing task resource allocation apparatus provided in the embodiments of the present application, after obtaining the task information and the communication QoS policy of the target computing task, the apparatus can allocate communication resources for the target computing task based on the task information and the communication QoS policy of the target computing task. In this way, it is ensured that the operator network can allocate corresponding communication resources for the target computing task, so that the computing task related data of the terminal device can be transmitted to the computing power resources through the corresponding PDU tunnel, and the computing result is fed back after being calculated by the computing power resources. In this way, the ordinary terminal device can complete the computing task without having to have strong computing power, thereby saving the cost and power consumption of the terminal device.
[0250] The embodiments of the present application provide a computing task resource allocation apparatus, which includes a receiving module, a determining module, a selecting module, a sending module, and a transmission module. Figure 10As shown, the apparatus 700 comprises an acquisition module 701 and an allocation module 702, wherein: the acquisition module 701 is configured to acquire task information of a target computing task of a terminal device and a computing power QoS policy; and the allocation module 702 is configured to allocate computing power resources for the target computing task according to the task information and the computing power QoS policy.
[0251] Optionally, the allocation module 702 is specifically configured to select a computing network element according to the task information and the computing power QoS policy; wherein the computing network element can provide computing power resources corresponding to the target computing task.
[0252] Optionally, the computing power resources comprise at least one of the following: a computing resource and a storage resource.
[0253] Optionally, the task information comprises at least one of the following: computing task identification information, packet data unit (PDU) session identification information associated with a computing task, computing task description information, a DNN, and an S-NSSAI; wherein the computing task description information comprises at least one of the following: a type of the computing task, a purpose of the computing task, a service requirement of the computing task, an IP address of the computing task, and port number information corresponding to the computing task.
[0254] Optionally, the service requirement of the computing task comprises at least one of the following: a latency requirement of the computing task and an accuracy requirement of the computing task.
[0255] Optionally, the acquisition module 701 is specifically configured to acquire the task information and the computing power QoS policy from a policy control network element; or acquire the task information and the computing power QoS policy from a session management network element.
[0256] Optionally, the apparatus further comprises a transmission module, wherein: the transmission module is configured to send a computing power QoS policy request to the policy control network element, the computing power QoS policy request being used to request a computing power QoS policy corresponding to the target computing task.
[0257] Optionally, the transmission module is further configured to send a first computing task response to the session management network element or the policy control network element; wherein the first computing task response comprises network element information of a computing network element corresponding to the computing power resources, and the network element information comprises network element identification information or network element address information.
[0258] Optionally, the first computing task response further comprises PDU session identification information associated with the target computing task.
[0259] Optionally, the transmission module is further configured to send allocation state information of the computing power resources to the session management network element; and / or further configured to receive allocation state information of a communication resource from the session management network element.
[0260] Optionally, the computing power QoS includes at least one of the following: computing power, sample data volume, storage, computing delay, computing accuracy, and computing speed.
[0261] In the resource allocation apparatus for a computing task provided in the embodiments of the present application, after obtaining the task information of the target computing task and the computing power QoS policy, the computing power resource can be allocated to the target computing task based on the task information of the target computing task and the computing power QoS policy. In this way, it is ensured that the operator network can allocate the corresponding computing power resource to the target computing task, so that the computing task related data of the terminal device can be transmitted to the computing power resource, and the computing result is fed back after being calculated by the computing power resource. In this way, the ordinary terminal device can complete the computing task without having to have strong computing power, thereby saving the cost and power consumption of the terminal device.
[0262] The resource allocation apparatus for a computing task or the policy determination apparatus for a computing task in the embodiments of the present application can be an apparatus, an apparatus with an operating system, or an electronic device, and can also be a component in a device, an integrated circuit, or a chip. The apparatus or the electronic device can be a network element, a node device, a server, a network attached storage (NAS), a personal computer (PC), and the like, and the embodiments of the present application are not limited specifically.
[0263] The resource allocation apparatus for a computing task or the policy determination apparatus for a computing task provided in the embodiments of the present application can implement the corresponding processes implemented in the method embodiments described above and achieve the same technical effects. To avoid repetition, details are not described herein.
[0264] Optionally, as shown in Figure 11 The embodiments of the present application also provide a communication device 800, which includes a processor 801, a memory 802, and a program or instruction stored in the memory 802 and executable on the processor 801. For example, when the communication device 800 is a network side device, the program or instruction is executed by the processor m01 to implement each process of the method embodiments described above and achieve the same technical effects. To avoid repetition, details are not described herein.
[0265] The embodiments of the present application also provide a network side device, which includes a processor and a communication interface. The network side device embodiment corresponds to the network side device method embodiment described above. Each implementation process and implementation manner of the method embodiment described above can be applied to the network side device embodiment and achieve the same technical effects.
[0266] In an example, the network-side device is a policy control network element, comprising a processor and a communication interface, wherein the processor is configured to obtain a computing task request from a server, the computing task request comprising computing task description information of a target computing task of a terminal device; the computing task request is used to request allocation of computing power resources for the target computing task; and the processor is further configured to determine a target quality of service (QoS) policy for the target computing task based on the task information, the target QoS policy comprising a computing power QoS policy.
[0267] In an example, the network-side device is a session management network element, comprising a processor and a communication interface, wherein the processor is configured to obtain task information and a communication QoS policy of a target computing task of a terminal device; and the processor is further configured to allocate communication resources for the target computing task according to the task information and the communication QoS policy.
[0268] In an example, the network-side device is a computing power control network element, comprising a processor and a communication interface, wherein the processor is configured to obtain task information and a computing power QoS policy of a target computing task of a terminal device; and a distribution module is configured to allocate computing power resources for the target computing task according to the task information and the computing power QoS policy.
[0269] Embodiments of the present application also provide a network-side device. As shown in Figure 12 , the network-side device of the embodiments of the present application comprises a processor 91, a transceiver 92, a memory 93, a network interface 94 and a bus interface. In Figure 12 , the bus architecture can comprise any number of interconnected buses and bridges, which link together various circuits represented by one or more processors represented by the processor 91 and the memory represented by the memory 93. The bus architecture can also link together various other circuits such as peripheral devices, voltage regulators and power management circuits, which are well known in the art, and therefore, will not be described further herein. The bus interface provides an interface. The transceiver 92 can be a plurality of elements, i.e. comprising a transmitter and a receiver, which provide units for communicating with various other devices on a transmission medium. The processor 91 is responsible for managing the bus architecture and general processing, and the memory 93 can store data used by the processor 91 when performing operations. In addition, the network-side device also comprises some functional modules which are not shown here and will not be described further herein.
[0270] Specifically, the network-side device further comprises instructions or programs stored on the memory 93 and executable on the processor 91, and the processor 91 invokes the instructions or programs in the memory 93 to perform Figure 8 or Figure 9 or Figure 10 the methods performed by the modules shown in the drawings and achieve the same technical effects. To avoid repetition, they will not be described here.
[0271] The embodiment of the present application further provides a readable storage medium, which stores a program or instructions, and each process of the method embodiment of the resource allocation method for a computing task or the strategy determination method for a computing task is implemented when the program or instructions are executed by a processor, and the same technical effects can be achieved. To avoid repetition, details are not described herein.
[0272] The processor is the processor in the terminal in the above-described embodiments. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0273] The embodiment of the present application further provides a chip, which includes a processor and a communication interface. The communication interface is coupled with the processor. The processor is configured to execute a program or instructions, and each process of the method embodiment of the resource allocation method for a computing task or the strategy determination method for a computing task is implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein.
[0274] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system chip, a system chip, a chip system or a system on chip, etc.
[0275] It should be noted that, in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the present application is not limited to the order of functions shown or discussed, but can also include functions performed in a substantially simultaneous manner or in the opposite order, for example, the described method can be performed in an order different from that described, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.
[0276] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, also can be through hardware, but many cases the former is the better embodiment. Based on such understanding, the technical solutions of the present application essentially or say the part of the contribution to the prior art can be embodied in the form of computer software product, the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disc, optical disc), including a number of instructions to make a terminal (may be a mobile phone, computer, server, air conditioner, or network equipment, etc.) executes the method described in various embodiments of the present application.
[0277] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, the above-mentioned specific embodiments are only illustrative, but not limited, those skilled in the art can make many forms without departing from the purpose of the present application and the scope protected by the claims under the inspiration of the present application, all belong to the protection of the present application.
Claims
1. A method for determining a strategy for a computational task, characterized in that, The method includes: The policy control network element obtains a computing task request from the server. The computing task request includes computing task description information of the target computing task of the terminal device. The computing task request is used to request the allocation of computing resources for the target computing task. The policy control network element determines a target Quality of Service (QoS) policy for the target computing task based on the computing task description information. The target QoS policy includes a computing power QoS policy, which is used to allocate computing power resources to the target computing task.
2. The method according to claim 1, characterized in that, The computing task request is also used to request the allocation of communication resources for the target computing task; The target QoS policy also includes a communication QoS policy.
3. The method according to claim 1, characterized in that, The computing task description information includes at least one of the following: the type of computing task, the purpose of the computing task, the business requirements of the computing task, the IP address of the computing task, and the port number information corresponding to the computing task.
4. The method according to claim 3, characterized in that, The business requirements for the computing task include at least one of the following: computing task latency requirements and computing task accuracy requirements.
5. The method according to claim 1, characterized in that, The policy control network element determines a target QoS policy for the target computing task based on the computing task description information, including: The policy control network element decomposes the service requirements of the target computing task into computing power QoS requirements based on the computing task description information. The strategy control network element determines the computing power QoS strategy for the target computing task based on the computing power QoS requirements.
6. The method according to claim 2, characterized in that, The policy control network element determines a target QoS policy for the target computing task based on the computing task description information, including: The policy control network element decomposes the service requirements of the computing task into computing power QoS requirements and communication QoS requirements based on the service requirements of the computing task in the computing task description information. The policy control network element determines the computing power QoS policy for the target computing task based on the computing power QoS requirements, and determines the communication QoS policy for the target computing task based on the communication QoS requirements.
7. The method according to claim 1, characterized in that, After the policy control network element determines the target QoS policy for the target computing task based on the computing task description information, the method further includes: The policy control network element sends the computing power QoS policy to the computing power control network element; The computing power QoS policy is used to trigger the computing power control network element to allocate computing power resources to the target computing task according to the computing power QoS policy.
8. The method according to claim 7, characterized in that, The policy control network element sends the computing power QoS policy to the computing power control network element, including: The policy control network element sends the computing power QoS policy to the computing power control network element through the session management network element.
9. The method according to claim 7, characterized in that, After the policy control network element sends the computing power QoS policy to the computing power control network element, the method further includes: The strategy control network element receives network element information of the computing network element corresponding to the computing power resource from the computing power control network element. The network element information includes: network element identification information or network element address information. The policy control network element sends a computing task response to the server, and the computing task response includes the network element information of the computing network element.
10. The method according to claim 2, characterized in that, The method further includes: The policy control network element sends the communication QoS policy to the session management network element; The communication QoS policy is used to trigger the session management network element to allocate communication resources to the target computing task according to the communication QoS policy.
11. The method according to claim 10, characterized in that, The policy control network element sends the communication QoS policy to the session management network element, including: If the communication QoS policy is different from the communication QoS policy currently corresponding to the terminal device, the policy control network element sends a policy modification request to the session management network element, and the policy modification request includes the communication QoS policy.
12. A strategy determination apparatus for a computational task, characterized in that, The device includes: The acquisition module is used to acquire a computing task request from the server. The computing task request includes computing task description information of the target computing task of the terminal device. The computing task request is used to request the allocation of computing resources for the target computing task. The determination module is used to determine a target Quality of Service (QoS) policy for the target computing task based on the computing task description information. The target QoS policy includes a computing power QoS policy, which is used to allocate computing power resources to the target computing task.
13. A strategy control network element, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the strategy determination method for the computing task as described in any one of claims 1 to 11.
14. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the strategy determination method for the computational task as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Resource charging method and system, AF and policy and charging function entity
CN110740430A