Resource Allocation Method, Device, Network Element and Medium for Computing Tasks
Through the network elements that work together to allocate computing power and communication resources, the problem that the operator network cannot provide computing power resources is solved, and the computing task allocation and resource optimization of terminal equipment is realized, and the computing burden and energy consumption of terminal equipment is reduced.
Patent Information
- Application Number
- CN202110914916.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-10
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2041-08-10
Smart Images

Figure CN115706733B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technologies, and particularly relates to a method, apparatus, network element, and medium for resource allocation of computing tasks. Background Art
[0002] In the related art, a User Equipment (UE) initiates a Packet Data Unit (PDU) session establishment process to the network side (for example, sends to a Session Management Function (SMF) via an Access and Mobility Management Function (AMF)) due to the need for data transmission. Among them, the terminal device will allocate a PDU session ID and report it to the network side. Specifically, in the PDU session establishment process, the SMF will allocate corresponding transmission resources for the PDU session of the terminal device (including selecting a User Plane Function (UPF) and triggering the establishment of a user plane tunnel), so that the terminal device can use the user plane tunnel corresponding to the established PDU session for data transmission.
[0003] However, currently, the operator network can only provide a data transmission pipeline with certain service quality guarantees (this pipeline is used for data transmission between the terminal device and the target node), but does not provide the opening of computing resources for the terminal device. Summary of the Invention
[0004] Embodiments of this application provide a method, apparatus, network element, and medium for resource allocation of computing tasks, which can achieve computing power allocation.
[0005] In a first aspect, a method for resource allocation of computing tasks is provided. The method includes: a computing power control network element obtains a first computing task request; wherein, the first computing task request is used to request the allocation of computing power resources for a target computing task of a user equipment terminal device; the first computing task request includes task information of the target computing task; the computing power control network element allocates computing power resources for the target computing task according to the task information.
[0006] In a second aspect, a method for resource allocation of computing tasks is provided. The method includes: a session management network element obtains a second computing task request; wherein, the second computing task request is used to request the allocation of communication resources for a target computing task of a terminal device; the second computing task request includes task information of the target computing task; the session management network element allocates communication resources for the target computing task according to the task information.
[0007] According to a third aspect, a method for allocating computing task resources over a network is provided, the method comprising: a mobility management network element obtains a third computing task request, the third computing task request comprising task information of a target computing task of a user equipment terminal device; the mobility management network element sends a first computing task request to a computing power control network element, the first computing task request being used to request allocation of computing power resources and / or communication resources for the target computing task; and / or the mobility management network element sends a second computing task request to a session management network element, the second computing power task request being used to request allocation of communication resources and / or computing power resources for the target computing task.
[0008] In a fourth aspect, a method for allocating computing task resources over a network is provided, the method comprising: a policy control network element obtains a target quality of service (QoS) policy request; the target QoS policy request is used to request the policy control network element to generate a target QoS policy corresponding to the target computing task; the target QoS policy request includes task information of the target computing task; the policy control network element generates a target QoS policy corresponding to the target computing task based on the task information; wherein the target QoS policy includes at least one of the following: computing power QoS policy, communication QoS policy.
[0009] In a fifth aspect, a method for allocating target computing task resources through a network is provided, the method comprising: a terminal device initiates a computing task request to a network side device; wherein the computing task request is used to request allocation of communication resources and / or computing power resources for the target computing task of the terminal device; the computing task request includes task information of the target computing task; the terminal device obtains a computing task response from the network side device, the computing task response including: network element information of a computing network element corresponding to the computing power resources allocated to the target computing task, and / or communication resource information allocated to the target computing task.
[0010] In a sixth aspect, a resource allocation device for a computing task is provided, the device comprising: an acquisition module for acquiring a first computing task request; wherein the first computing task request is used to request allocation of computing power resources for a target computing task of a user device terminal device; the first computing task request includes task information of the target computing task; an allocation module for allocating computing power resources to the target computing task according to the task information.
[0011] In a seventh aspect, a resource allocation device for computing tasks is provided. The device includes an acquisition module configured to acquire a second computing task request. The second computing task request is used to request the allocation of communication resources for a target computing task of a terminal device. The second computing task request includes task information of the target computing task. An allocation module is configured to allocate communication resources for the target computing task according to the task information.
[0012] In an eighth aspect, a device for a network to allocate computing task resources is provided. The device includes an acquisition module that acquires a third computing task request, where the third computing task request includes task information of a target computing task of a user equipment terminal device. A sending module is configured to send a first computing task request to a computing power control network element, where the first computing task request is used to request the allocation of computing power resources and / or communication resources for the target computing task; and / or, send a second computing task request to a session management network element, where the second computing task request is used to request the allocation of communication resources and / or computing power resources for the target computing task.
[0013] In a ninth aspect, a device for a network to allocate computing task resources is provided. The device includes an acquisition module configured to acquire a target QoS policy request. The target QoS policy request is used to request the policy control network element to generate a target QoS policy corresponding to the target computing task. The target QoS policy request includes task information of the target computing task. A generation module is configured to generate a target QoS policy corresponding to the target computing task according to the task information. The target QoS policy includes at least one of the following: a computing power QoS policy, a communication QoS policy.
[0014] In a tenth aspect, a device for a network to allocate computing task resources is provided. The device includes a sending module configured to initiate a computing task request to a network-side device. The computing task request is used to request the allocation of communication resources and / or computing power resources for a target computing task of the terminal device. The computing task request includes task information of the target computing task. An acquisition module is configured to acquire a computing task response from the network-side device. The computing task response includes: network element information of a computing network element corresponding to the computing power resources allocated for the target computing task, and / or, communication resource information allocated for the target computing task.
[0015] In an eleventh aspect, a computing power control network element is provided. The terminal includes 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 described in the first aspect are implemented.
[0016] In a twelfth aspect, a computing power control network element is provided, including a processor and a communication interface. The processor is configured to obtain a first computing task request, where the first computing task request is used to request allocation of computing power resources for a target computing task of a user equipment (terminal device), the first computing task request includes task information of the target computing task, and is further configured to allocate computing power resources for the target computing task according to the task information.
[0017] In a thirteenth aspect, a session management network element is provided. The terminal includes 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 described in the second aspect are implemented.
[0018] In a fourteenth aspect, a session management network element is provided, including a processor and a communication interface. The processor is configured to obtain a second computing task request, where the second computing task request is used to request allocation of communication resources for a target computing task of a terminal device, the second computing task request includes task information of the target computing task, and is further configured to allocate communication resources for the target computing task according to the task information.
[0019] In a fifteenth aspect, a mobility management network element is provided. The terminal includes 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 described in the third aspect are implemented.
[0020] In a sixteenth aspect, a mobility management network element is provided, including a processor and a communication interface. The processor is configured to obtain a third computing task request, where the third computing task request includes task information of a target computing task of a user equipment (terminal device); the communication interface is configured to send a first computing task request to the computing power control network element, where the first computing task request is used to request allocation of computing power resources and / or communication resources for the target computing task; and / or is configured to send a second computing task request to the session management network element, where the second computing task request is used to request allocation of communication resources and / or computing power resources for the target computing task.
[0021] In a seventeenth aspect, a policy control network element is provided. The terminal includes 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 described in the fourth aspect are implemented.
[0022] In an eighteenth aspect, a policy control network element is provided, including a processor and a communication interface. The processor is configured to obtain a target QoS policy request, which is used to request the policy control network element to generate a target QoS policy corresponding to the target computing task. The target QoS policy request includes task information of the target computing task. The processor is further configured to generate a target QoS policy corresponding to the target computing task according to the task information. The target QoS policy includes at least one of the following: a computing power QoS policy and a communication QoS policy.
[0023] In a nineteenth aspect, a terminal device is provided. The terminal includes 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 described in the fifth aspect are implemented.
[0024] In a twentieth aspect, a terminal device is provided, including a processor and a communication interface. The communication interface is configured to initiate a computing task request to a network-side device. The computing task request is used to request allocation of communication resources and / or computing power resources for a target computing task of the terminal device. The computing task request includes task information of the target computing task. The communication interface is configured to obtain a computing task response from the network-side device. The computing task response includes: network element information of a computing network element corresponding to the computing power resources allocated for the target computing task, and / or communication resource information allocated for the target computing task.
[0025] In a twenty-first aspect, a readable storage medium is provided. A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, the steps of the method described in any one of the first aspect to the fifth aspect are implemented.
[0026] In a twenty-second aspect, a chip is provided. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to run a program or instruction to implement the method described in any one of the first aspect to the fifth aspect.
[0027] In a twenty-third aspect, a computer program / program product is provided. The computer program / program product is stored in a non-volatile storage medium. The program / program product is executed by at least one processor to implement the steps of the method described in any one of the first aspect to the fifth aspect.
[0028] In the embodiments of the present application, it can be ensured that the operator network can allocate corresponding computing power resources and / or corresponding communication resources for the target computing tasks of the terminal device, so that the relevant data of the computing tasks of the terminal device can be transmitted to the computing power resources (such as computing network elements), and the computing results are fed back after being calculated by the computing power resources. In this way, ordinary terminal devices can complete computing tasks without having to have very strong computing capabilities, saving the costs and power consumption of the terminal devices, etc. Description of the Drawings
[0029] Figure 1 is a schematic diagram of a possible communication system architecture provided by an embodiment of the present application;
[0030] Figure 2 is one of the schematic flowcharts of a method for resource allocation of a computing task provided by an embodiment of the present application;
[0031] Figure 3 is another schematic flowchart of a method for resource allocation of a computing task provided by an embodiment of the present application;
[0032] Figure 4 is yet another schematic flowchart of a method for resource allocation of a computing task provided by an embodiment of the present application;
[0033] Figure 5 is still another schematic flowchart of a method for resource allocation of a computing task provided by an embodiment of the present application;
[0034] Figure 6 is one of the schematic structural diagrams of a device for resource allocation of a computing task provided by an embodiment of the present application;
[0035] Figure 7 is another schematic structural diagram of a device for resource allocation of a computing task provided by an embodiment of the present application;
[0036] Figure 8 is yet another schematic structural diagram of a device for resource allocation of a computing task provided by an embodiment of the present application;
[0037] Figure 9 is still another schematic structural diagram of a device for resource allocation of a computing task provided by an embodiment of the present application;
[0038] Figure 10 is one of the schematic structural diagrams of a device for resource allocation of a computing task provided by an embodiment of the present application;
[0039] Figure 11 is another schematic structural diagram of a device for resource allocation of a computing task provided by an embodiment of the present application;
[0040] Figure 12It is the third structural schematic diagram of a resource allocation device for a computing task provided by an embodiment of the present application;
[0041] Figure 13 It is the fourth structural schematic diagram of a resource allocation device for a computing task provided by an embodiment of the present application;
[0042] Figure 14 It is the fifth structural schematic diagram of a resource allocation device for a computing task provided by an embodiment of the present application;
[0043] Figure 15 It is the structural schematic diagram of a communication device provided by an embodiment of the present application;
[0044] Figure 16 It is the structural schematic diagram of a terminal provided by an embodiment of the present application;
[0045] Figure 17 It is the structural schematic diagram of a network-side device provided by an embodiment of the present application. Detailed implementation manners
[0046] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.
[0047] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such terms can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the related objects before and after are in an "or" relationship.
[0048] It should be noted that the technology described in the embodiments of the present application is not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, and 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 technology can be used not only in the above-mentioned systems and radio technologies, but also in other systems and radio technologies. The following description describes the New Radio (NR) system for illustrative purposes, and the NR term is used in most of the following descriptions, but these technologies can also be applied to applications other than NR system applications, such as the 6th Generation (6 th Generation, 6G) communication system.
[0049] Figure 1The 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 11 and a network-side device 12. Among them, the terminal 11 can be a UE, a mobile phone, a tablet personal computer, a laptop computer or a notebook computer, a personal digital assistant (PDA), a handheld 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 (home devices with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.). The wearable device includes: smart watches, smart bracelets, smart earphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart ankle chains, etc.), smart wristbands, smart clothing, game consoles, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiments of the present application.
[0050] Exemplarily, the above network-side device 12 may include at least one of the following: a policy control network element, a mobility management network element, a session management network element, and a computing power control network element.
[0051] Exemplarily, in a 5G system, the above policy control network element may be a policy control function (PCF); the above mobility management network element may be an AMF; the above session management network element may be an SMF; the above computing power control network element may be a network element capable of allocating computing power resources. It should be noted that in other systems, the above network elements may be network elements with the same function or type, but the specific names may be different from the above network element names, and the embodiments of the present application do not limit this. It should be noted that the policy control network element in the embodiments of the present application may be independently deployed as an independent logical module, or may be a sub-function module in the session management network element, and the embodiments of the present application do not limit this.
[0052] 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 merged. For example, the step of the session management network element sending a communication QoS policy request to the policy control network element can be omitted.
[0053] Exemplarily, the network - side device 12 may be a base station or a core network. Among them, the base station may be referred to as Node B, evolved Node B, access point, Base Transceiver Station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), B - node, evolved B - node (eNB), home B - node, home evolved B - node, WLAN access point, WiFi node, Transmitting Receiving Point (TRP), or some other suitable term in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiments of this 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.
[0054] It should be noted that the steps in the embodiments of this application are only illustrative and do not necessarily represent mandatory execution.
[0055] The following will explain the technical terms involved in the technical solutions provided in the embodiments of this application.
[0056] 1. Service requirements of computing tasks (computing service).
[0057] It can be understood that the service requirements of computing tasks come from the computing task requirements of the terminal device. The concept is similar to calculating a more accurate calculation result in a shorter time.
[0058] Exemplarily, the service requirements of the above - mentioned computing tasks include, but are not limited to, the following measurement information:
[0059] 1) Success rate of computing tasks = computing credibility (platform computing credibility) * data transmission error rate. Among them, the success rate of computing tasks is used to characterize the overall accuracy of computing tasks.
[0060] 2) Latency of computing tasks = computing latency + transmission latency. Among them, the latency of computing tasks is used to characterize the overall latency required to complete computing tasks.
[0061] Exemplarily, the network - side can generate specific network requirements based on the service requirements of the computing tasks. Among them, the network requirements include communication Quality of Service (QoS) requirements and computing power Quality of Service (QoS) requirements.
[0062] 2. Computing power QoS
[0063] Exemplarily, computing QoS includes, but is not limited to, at least one of the following measurement dimensions of computing quality:
[0064] i. Computing latency, which is used to characterize the time required for a computing resource node to compute a task;
[0065] ii. Computing credibility, which is used to characterize the accuracy of the computing of a computing resource node for a task.
[0066] 3. Communication QoS
[0067] Exemplarily, communication QoS includes, but is not limited to, at least one of the following measurement dimensions of communication transmission quality:
[0068] i. Transmission latency
[0069] ii. Bandwidth;
[0070] iii. Bit error rate.
[0071] Exemplarily, a computing session is a special session between a UE and a computing control / computing resource node. The user plane data transmission of the computing session is carried in a Packet Data Unit (PDU) session, that is, it is transmitted to the computing resource node through the channel of the PDU session for operation. The computing session identifier ID is used to identify the computing session, which is allocated by the UE and sent to the network when the computing session is established. There is a one-to-one binding relationship between the computing session ID and the PDU session ID. After the UE determines the binding relationship, it is sent to the network when the computing session is established.
[0072] Exemplarily, the PDU session ID is the session management layer ID between the UE and the SMF.
[0073] Exemplarily, 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.
[0074] Next, in conjunction with the accompanying drawings, through some embodiments and their application scenarios, the resource allocation method for computing tasks provided by the embodiments of the present application will be described in detail.
[0075] The embodiments of the present application provide a resource allocation method for computing tasks, which is applied to a computing control network element, such as Figure 2 as shown, the method includes the following steps 101 and 102:
[0076] Step 101: The computing control network element obtains a first computing task request.
[0077] Among them, the above first computing task request is used to request the allocation of computing power resources for the target computing task of the user equipment UE. The above first computing task request includes the task information of the target computing task.
[0078] It should be noted that the specific implementation form of the above first computing task request can be: a computing session establishment request message, or a computing power request message, or a PDU session establishment request. That is, the above cell content can be included in the above several message names.
[0079] It should be noted that the computing session establishment request message and the computing power request message can be new message types, which are used to request the network to allocate corresponding computing power resources for the computing task; among them, relevant PDU session information (such as PDU session ID, etc.) can be carried, which is used to inform the network that while allocating computing power resources, it is also necessary to allocate corresponding PDU session resources for transmitting the data of the computing task.
[0080] It should be noted that the PDU session establishment request is optimized and enhanced based on the existing message flow, which is used to request the network to allocate PDU session resources for transmitting the data of the computing task. At the same time, the computing task information is carried in the PDU session establishment request, which is used to request the network to allocate computing power resources at the same time.
[0081] Optionally, in the embodiments of the present application, the above task information includes at least one of the following: computing task identification information, packet data unit PDU session identification information corresponding to the computing task, requested type information corresponding to the PDU session, computing task description information, data network name (Data Network Name, DNN), single network slice selection assistance information (Single Network Slice Selection Assistance Information, S-NSSAI); among them, the PDU session request type information is used to indicate that the PDU session is a session for transmitting computing task-related data.
[0082] Exemplarily, the above computing task identification information may include the terminal device ID and the computing session ID, and the packet data unit PDU session identification information corresponding to the above computing task may include: the PDU session ID corresponding to the computing task, and the above S-NSSAI may be the slice identification information corresponding to the computing task.
[0083] Exemplarily, the above-mentioned 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 requirements of the computing task, the IP address of the computing task, and the port number information corresponding to the computing task.
[0084] Exemplarily, the above-mentioned service requirements of the computing task include at least one of the following: the latency requirement of the computing task (e.g., the computing task latency is 10 ms), and the accuracy requirement of the computing task (e.g., the error rate of the computing task does not exceed 0.1%).
[0085] In this way, the computing power control network element can obtain the relevant data (i.e., task information) of the target computing task of the terminal device from the first computing task request, so as to generate network requirements according to the task information in the subsequent process, so that the network can generate a resource allocation policy that meets the network requirements, and then allocate corresponding computing power resources for the computing task of the terminal device to complete the computing task.
[0086] Step 102: The computing power control network element allocates computing power resources for the target computing task according to the task information.
[0087] In the embodiment of the present application, the above-mentioned computing power resources include at least one of the following: computing resources and storage resources. For example, at least 100 units of GPU resources are allocated for the calculation of the target computing task, and 100 units of storage resources are allocated for storage.
[0088] Optionally, in the embodiment of the present application, the above-mentioned step 102 may include the following step 102a:
[0089] Step 102a: The computing power control network element selects a computing network element according to the task information.
[0090] Among them, the above-mentioned computing network element can provide the computing power resources corresponding to the target computing task.
[0091] Exemplarily, the computing power control network element makes an allocation selection of the computing network element according to the task information of the target computing task. It should be noted that the above-mentioned computing network element has computing functions and storage functions. These two functions can be co-deployed in the same network element or independently deployed in different network elements, that is, the above-mentioned computing network element can include one network element or multiple network elements.
[0092] It should be noted that the computing power control network element needs to ensure that the computing power of the selected computing function network element can meet the computing resource requirements in the computing power QoS policy (e.g., at least 100 units of GPU resources, supporting a specific algorithm (e.g., Deep Neural Networks (DNN))); and / or, the computing power control network element needs to ensure that the storage capacity of the selected storage function network element can meet the storage resource requirements in the computing power QoS policy (e.g., 100 units of storage resources).
[0093] Exemplarily, the computing power control network element combines the computing power QoS policy configured by itself, and selects a suitable computing network element according to the service requirements of the target computing task in the task information of the target computing task, so as to ensure that the computing delay for the computing network element to complete the corresponding target computing task is not higher than the delay requirement in the service requirements, and / or to ensure that the accuracy of the computing network element to complete the target computing task is not lower than the accuracy requirement in the service requirements.
[0094] Optionally, in the embodiment of the present application, the resource allocation method for the computing task provided by the embodiment of the present application further includes the following step 103:
[0095] Step 103: The computing power control network element obtains the computing power QoS policy corresponding to the target computing task.
[0096] Exemplarily, the above computing power QoS policy meets the computing power QoS requirements of the target computing task.
[0097] Exemplarily, the above computing power QoS policy includes at least one of the following measurement dimensions: computing power, sample data volume, storage, computing delay, computing accuracy rate, computing speed.
[0098] Further, in combination with the above step 103, the above step 102 may include the following step 102a:
[0099] Step 102a: The computing power control network element allocates computing power resources for the target computing task according to the task information of the target computing task and the computing power QoS policy.
[0100] Exemplarily, the computing power control network element may select a suitable computing network element according to the computing power QoS policy.
[0101] Further optionally, in the embodiment of the present application, the process for the computing power control network element to obtain the computing power QoS policy corresponding to the target computing task can be implemented through two implementation manners:
[0102] In the first possible implementation manner (requesting the computing power QoS policy from the policy control network element):
[0103] Exemplarily, the above step 103 may include the following steps 103a1 and 103a2:
[0104] Step 103a1: 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.
[0105] Step 103a2: The computing power control network element obtains the computing power QoS policy from the policy control network element.
[0106] Exemplarily, the computing power control network element sends a computing power QoS policy request to the policy control network element to request the computing power QoS policy for the target computing task. For example, the computing power control network element sends a computing policy request message to the policy control network element to request the dynamic policy applicable to the target computing task, and the dynamic policy includes the computing power QoS policy.
[0107] Exemplarily, the computing power QoS policy request includes information such as computing task identification information, DNN, S-NSSAI, etc. Further, the computing task identification information includes: terminal device ID, computing session ID. Further, the computing power QoS policy request further includes at least one of the following information: associated PDU session ID, service requirements of the computing task.
[0108] Exemplarily, step 103a1 above may include: the computing power control network element sends a computing power QoS policy request to the policy control network element through the session management network element. Correspondingly, step 103a2 may include: the computing power control network element obtains the computing power QoS policy from the policy control network element through the session management network element.
[0109] In the second possible implementation manner (actively generating the computing power QoS policy by itself):
[0110] Exemplarily, step 103 above may include the following step 103b1:
[0111] Step 103b1: The computing power control network element determines the computing power QoS policy corresponding to the target computing task according to the service requirements of the computing task included in the task information of the target computing task.
[0112] Exemplarily, if the dynamic PCC is not deployed, the determination of the computing power QoS policy may be based on the task information of the computing task and determined by the computing power control network element according to the internal configuration policy.
[0113] Optionally, in the embodiment of the present application, step 101 above may include the following step 101a:
[0114] Step 101a: The computing power control network element obtains a first computing task request from the first device.
[0115] Wherein, the above first device includes any one of the following: mobility management network element, session management network element, or access network device.
[0116] Exemplarily, the computing power control network element may obtain a first computing task request corresponding to the target of the terminal device from the RAN (i.e., access network or base station). It should be noted that the computing power control network element can directly open an interface with the base station, and the terminal device can directly access the computing power control network element through the base station.
[0117] Optionally, in the embodiments of the present application, after step 101, the resource allocation method for computing tasks provided by the embodiments of the present application further includes the following step 104:
[0118] Step 104: The computing power control network element sends a first computing task response to the terminal device.
[0119] Among them, the above-mentioned first computing task response includes the network element information of the computing network element corresponding to the computing power resource, and the network element information includes: network element identification information or network element address information. Exemplarily, the above-mentioned network element identification information is used to address the computing network element, and can be the fully qualified domain name (FQDN) of the network element, etc.; the network element address information can be the IP address information of the network element.
[0120] Exemplarily, the above-mentioned network element address information may include the IP address corresponding to the computing network element selected by the computing power control network element for the target computing task of the terminal device, and the IP address of the computing network element is used as the destination IP address for the terminal device to send computing task data upstream, so as to ensure that the computing task data can be transmitted to the computing network element for computing.
[0121] Exemplarily, the computing power control network element sends a corresponding first computing task response to the user equipment to notify the terminal device that the computing task request has been accepted by the network.
[0122] Exemplarily, the above-mentioned first computing task response further includes: associated PDU session identification information. The above-mentioned PDU session identification information may include PDU session ID.
[0123] Further optionally, in the embodiments of the present application, the process of step 104 may include the following step 104a:
[0124] Step 104a: The computing power control network element sends the first computing task response to the terminal device through the first device.
[0125] Among them, the above-mentioned first device includes any one of the following: a mobility management network element, a session management network element, or an access network device.
[0126] Optionally, in the embodiments of the present application, the session management network element and the computing power control network element may interact with each other to notify each other of the status information of their own resource allocation.
[0127] Exemplarily, the resource request method for computing tasks provided by the embodiments of the present application further includes the following step 105:
[0128] Step 105: The computing power control network element sends the allocation status information of the computing power resources to the session management network element; and / or, the computing power control network element receives the allocation status information of the communication resources from the session management network element.
[0129] Exemplarily, the above allocation status information may indicate whether the corresponding computing power resources or communication resources are allocated, as well as the allocated resource types, quantities, and the corresponding achievable QoS, etc.
[0130] Exemplarily, the session management network element may notify the computing power control network element of the UPF it selects, so that the computing power control network element can calculate the data transmission delay between each computing network element under it and the UPF, enabling the computing power control network element to estimate the remaining space for calculating the delay, and finally facilitating its selection of a computing network element that can meet the remaining delay requirements.
[0131] For example, taking the session management network element as the SMF. The SMF notifies the computing network element that it has selected UPF1, and the corresponding RAN and CN delays are 2ms and 3ms respectively. There are three available computing network elements under the computing power control network element, and the transmission delays of the above three available computing network elements and UPF1 are 1ms, 2ms, and 3ms respectively. And the delays for the above three computing network elements to complete the target computing task are 3ms, 5ms, and 8ms. Therefore, the corresponding total delays are 9ms, 12ms, and 16ms. If the total delay requirement in the service requirement of the computing task is 10ms, then the computing power control network element will select the first computing network element to carry the subsequent computing task.
[0132] It should be noted that the above example takes the session management network element notifying the computing power control network element of the UPF it selects and the corresponding information as an example. Similarly, the method for the computing power control network element to notify the SMF of the computing network element it selects is similar.
[0133] In the resource allocation method for computing tasks provided in the embodiments of the present application, the computing power control network element may obtain a first computing task request, and allocate computing power resources for the target computing task of the terminal device according to the task information of the target computing task included in the first computing task request. In this way, ordinary terminal devices can complete computing tasks without necessarily having strong computing capabilities, saving the costs and power consumption of the terminal devices, etc.
[0134] The embodiments of the present application provide a resource allocation method for computing tasks, which is applied to a session management network element (SMF), as Figure 3 shown, this method includes the following steps 201 and 202:
[0135] Step 201: The session management network element obtains a second computing task request.
[0136] Among them, the above second computing task request is used to request to allocate communication resources for the target computing task of the terminal device; the above second computing task request includes the task information of the target computing task.
[0137] Optionally, in the embodiments of the present application, the above second computing task request message may be a session establishment request message.
[0138] Optionally, in the embodiments of the present application, the above task information includes at least one of the following: computing task identification information, packet data unit (PDU) session identification information corresponding to the computing task, requested type information corresponding to the PDU session, and computing task description information. Among them, the requested type information corresponding to the PDU session is used to indicate that the PDU session is a session for transmitting computing task-related data.
[0139] Exemplarily, the above computing task identification information may include the terminal device ID and the PDU session ID, and the packet data unit (PDU) session identification information corresponding to the above computing task may include: the PDU session ID corresponding to the computing task.
[0140] Exemplarily, the above 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 requirements of the computing task, the IP address of the computing task, and the port number information corresponding to the computing task.
[0141] Optionally, the second computing task request message may further include: DNN, S-NSSAI.
[0142] Step 202: The session management network element allocates communication resources for the target computing task according to the task information.
[0143] Optionally, in the embodiments of the present application, the process of the above step 202 may include the following step 202a:
[0144] Step 202a: The session management network element establishes a tunnel in the packet data unit (PDU) session for the terminal device according to the task information.
[0145] Among them, the tunnel in the above PDU session is used to transmit data of the target computing task.
[0146] Exemplarily, the session management network element may perform UPF selection or reselection, and establish or modify the corresponding N4 session and N3 tunnel. Subsequently, the data of the computing task is transmitted on the user plane tunnel. Further, the above user plane tunnel may include an air interface user plane tunnel and an N3 tunnel.
[0147] It should be noted that for the establishment or modification of the corresponding N4 session and N3 tunnel, the N4 session and N3 tunnel establishment or modification processes in related technologies can be specifically referred to.
[0148] Optionally, in the embodiments of the present application, the resource allocation method for computing tasks provided in the embodiments of the present application further includes the following step 203:
[0149] Step 203: The session management network element obtains the communication QoS policy for the target computing task.
[0150] In one example, the session management network element obtains the communication QoS policy fed back by the policy control network element. Further, the session management network element obtains the SM policy fed back by the policy control network element, where the SM policy includes the communication QoS policy corresponding to the target computing task.
[0151] In another example, the session management network element can determine the communication QoS policy for the target computing task by itself according to the service requirements of the target computing task. Further, the session management network element can combine the SM policy configured by itself and determine the communication QoS policy for the target computing task according to the service requirements of the target computing task.
[0152] Exemplarily, after obtaining the communication QoS policy for the target computing task, the session management network element can perform UPF selection or reselection according to the communication QoS policy, and establish or modify the corresponding N4 session and N3 tunnel.
[0153] Further, in combination with the above step 203, the process of the above step 202 can include the following step 202b:
[0154] Step 202b: 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.
[0155] Exemplarily, the session management network element performs UPF selection or reselection according to the communication QoS policy, and establishes or modifies the corresponding N4 session and N3 tunnel for the terminal device.
[0156] Further optionally, in the embodiments of the present application, the process of the above step 203 can include the following step 203a and step 203b:
[0157] Step 203a: The session management network element sends a communication QoS policy request to the policy control network element.
[0158] Wherein, the above communication QoS policy request is used to request the policy control network element to generate the communication QoS policy corresponding to the target computing task.
[0159] Step 203b: The session management network element obtains the communication QoS policy from the policy control network element.
[0160] Exemplarily, the session management network element may send the above communication QoS policy request to the policy control network element to request the communication QoS policy applicable to the target computing task.
[0161] Exemplarily, the above communication QoS policy request includes information such as the terminal device ID, PDU session ID, DNN, S-NSSAI, etc. Further, the message further includes at least one of the following information: the associated computing session ID, the service requirements of the computing task.
[0162] Exemplarily, the session management network element may send the service requirements of the target computing task and the computing power QoS policy to the policy control network element. The policy control network element determines the finally allocated communication QoS policy based on the two, and then sends the determined communication QoS policy to the session management network element.
[0163] Optionally, in the embodiments of the present application, the resource allocation method for the computing task provided in the embodiments of the present application further includes the following steps 204a to 204d:
[0164] Step 204a: The session management network element receives a computing power QoS policy request from the computing power control network element.
[0165] Wherein, the computing power QoS policy request is used to request the computing power QoS policy corresponding to the target computing task.
[0166] Step 204b: The session management network element sends a computing power QoS policy request to the policy control network element.
[0167] Step 204c: The session management network element obtains the computing power QoS policy from the policy control network element.
[0168] Step 204d: The session management network element sends the computing power QoS policy to the computing power control network element.
[0169] Exemplarily, the computing power QoS policy request includes information such as the terminal device ID, PDU session ID, DNN, S-NSSAI, etc. Further, the message further includes at least one of the following information: the associated computing session ID, the service requirements of the computing task, the identifier or address information of the computing power control network element.
[0170] Optionally, in the embodiments of the present application, the above task information includes the service requirements of the target computing task. Exemplarily, the above step 203 may include the following step 203c:
[0171] Step 203c: The session management network element determines the communication QoS policy corresponding to the target computing task according to the service requirements of the target computing task.
[0172] Exemplarily, the above communication QoS policy can also be statically configured in the session management network element.
[0173] Further, the above step 203c may include the following step 203c1:
[0174] Step 203c1: The session management network element determines the communication QoS policy corresponding to the target computing task according to the service requirements of the target computing task and the computing power QoS policy corresponding to the target computing task.
[0175] Exemplarily, the determination of the computing power QoS policy is determined by the computing power control network element according to the internal configuration policy and notified to the session management network element through the interaction information between the session management network element and the computing power control network element. The SMF calculates and obtains the communication QoS according to the internal configuration policy and the computing power QoS policy.
[0176] For example, if the service requirement of the target computing task requires that the total computing delay is less than 20 ms, and the computing delay of the computing network element reflected in the computing power QoS information is 5 ms, then the total data transmission delay (the delay from the UE to the computing network element) in the communication QoS calculated by the SMF shall not exceed 15 ms.
[0177] For another example, if the service requirement of the target computing task requires that the total computing accuracy is greater than 96%, and the computing accuracy of the computing network element reflected in the computing power QoS information is 98%, then the PER in the communication QoS calculated by the SMF shall not be higher than 2.04%.
[0178] It should be noted that other QoS metrics are calculated in a similar way. As in the prior art, among the communication QoS metrics generated by the SMF, some need to be sent to the UE as QoS policies, some need to be sent to the RAN as QoS profiles, and some need to be sent to the UPF as QoS enforcement for execution.
[0179] Optionally, in the embodiments of the present application, the above step 201 may include the following step 201a:
[0180] Step 201a: The session management network element obtains a second computing task request from the mobility management network element.
[0181] Exemplarily, compared with the mobility management network element in the related art forwarding the PDU session establishment request initiated by the terminal device to the session management network element. In the embodiments of the present application, if the message sent by the terminal device is not the PDU session establishment request, but a computing session establishment request message or a computing power request message, here the mobility management network element needs to filter out the PDU session information therein (such as, PDU session ID, etc.), and actively trigger a PDU session establishment request to the session management network element, which may include the PDU session ID and the terminal device ID.
[0182] Optionally, the above second computing task request may further include at least one of the following information: the requested type information corresponding to the PDU session, the associated computing session ID, the computing task type, the purpose of the computing task, the target computing task service requirements, DNN, slice identification information, etc., where the requested type information corresponding to the PDU session indicates that the PDU session is a session for transmitting the target computing task data.
[0183] Optionally, in the embodiments of the present application, the resource allocation method for the computing task provided in the embodiments of the present application further includes the following step 205:
[0184] Step 205: The session management network element sends a second computing task response to the terminal device.
[0185] Wherein, the above second computing task response includes partial information or all information of the communication QoS corresponding to the target computing task.
[0186] Exemplarily, the second computing task response includes the IP address of the computing network element selected by the computing power control network element for the target computing task of the terminal device, and the IP address of the computing network element is used as the destination IP address for the terminal device to upload the task data of the target computing task, so as to ensure that the task data of the target computing task can be transmitted to the computing network element for calculation.
[0187] Exemplarily, the session management network element sends a second computing task response to the terminal device to notify the terminal device that the computing task request has been accepted by the network.
[0188] It should be noted that the second computing task response includes the IP address information allocated by the SMF / UPF for the target computing task, and the IP address is used as the source IP address for the terminal device to upload the target computing task data subsequently.
[0189] Exemplarily, the process of step 205 may include the following steps 205a and 205b:
[0190] Step 205a: The session management network element sends a second computing task response to the mobility management network element. Among them, the second computing task response is used to notify the mobility management network element that the computing power session establishment is completed.
[0191] Step 205b: The mobility management network element sends a second computing task response to the terminal device. Among them, the second computing task response is used to notify the terminal device that the computing task request has been accepted by the network.
[0192] Optionally, in the embodiments of the present application, the resource allocation method for computing tasks provided in the embodiments of the present application further includes the following step 206:
[0193] Step 206: The session management network element sends a first computing task request to the computing power control network element based on the second computing task request.
[0194] Among them, the first computing task request is used to request the computing power control network element to allocate computing power resources for the target computing task.
[0195] Exemplarily, the second computing task request carries a computing power QoS policy. Further, the second computing task request may also carry an associated computing session ID. The computing session ID may be generated by the terminal device and sent to the session management network element; or, it may also be generated by the session management network element for the target computing task of the terminal device.
[0196] Optionally, in the embodiments of the present application, the session management network element and the computing power control network element may interact with each other on the allocation status information to notify each other of the status information of their own resource allocation.
[0197] Exemplarily, after the process of step 202, the resource allocation method for computing tasks provided in the embodiments of the present application further includes the following step 207:
[0198] Step 207: The session management network element sends the allocation status information of communication resources to the computing power control network element; and / or, the session management network element receives the allocation status information of computing power resources from the computing power control network element.
[0199] It should be noted that the above allocation status information can be referred to the previous description and will not be elaborated here.
[0200] In the resource allocation method for computing tasks provided by the embodiments of the present application, the session management network element can obtain a second computing task request, and allocate communication resources for the target computing task of the terminal device according to the task information of the target computing task included in the second computing task request, which can ensure that the operator network can allocate corresponding communication resources for the target computing task of the terminal device, so that the relevant data of the computing task of the terminal device can be transmitted to the computing resources (such as computing network elements), and the computing result is fed back after being computed by the computing resources. In this way, ordinary terminal devices can complete computing tasks without having to have very strong computing capabilities, saving the costs and power consumption of the terminal devices, etc.
[0201] The embodiments of the present application provide a resource allocation method for computing tasks, which is applied to a mobility management network element, such as Figure 4 As shown, the method includes the following steps 301 and 302:
[0202] Step 301: The mobility management network element obtains a third computing task request.
[0203] Among them, the above-mentioned third computing task request includes the task information of the target computing task of the terminal device.
[0204] Optionally, in the embodiments of the present application, the task information includes at least one of the following: computing task identification information, packet data unit PDU session identification information corresponding to the computing task, computing task description information, DNN, S-NSSAI; among them, the PDU session request type information is used to indicate that the PDU session is a session for transmitting computing task-related data.
[0205] Among them, the computing task description information includes at least one of the following: type of the computing task, purpose of the computing task, service requirements of the computing task, IP address of the computing task, port number information corresponding to the computing task.
[0206] Optionally, in the embodiments of the present application, the above-mentioned third computing task request may be a request message initiated by the terminal device to the mobility management network element, and this message is used to request the network to allocate corresponding computing resources for its computing task.
[0207] Exemplarily, the third computing task request includes at least one of the following information: computing task type, purpose, computing session identification, PDU session ID, service requirements of the computing task (computing task error rate, and / or, computing task latency (i.e., computing success rate and end-to-end roundtrip). Further, the message may also include the DNN corresponding to the computing task, slice identification (such as S-NSSAI) information, PDU session type, where the PDU session type is used to indicate that the PDU session is a session for transmitting computing task-related data.
[0208] Exemplarily, the specific implementation form of the third computing task request may be: a computing session establishment request message, or a computing power request message, or a PDU session establishment request. That is, the above message names may include the above-mentioned cell content.
[0209] Step 302: The mobility management network element sends a first computing task request to the computing power control network element.
[0210] Among them, the above first computing task request is used to request the allocation of computing power resources and / or communication resources for the target computing task;
[0211] And / or, the mobility management network element sends a second computing task request to the session management network element, and the second computing power task request is used to request the allocation of communication resources and / or computing power resources for the target computing task.
[0212] In a possible implementation manner, the mobility management network element may first send a second computing task request to the session management network element to request the allocation of communication resources for the target computing task, and then send a first computing task request to the computing power control network element to request it to allocate corresponding computing power resources for the target computing task of the terminal device.
[0213] In another possible implementation manner, the mobility management network element may first send a first target computing task request to the computing power control network element to request it to allocate corresponding computing power resources for the target computing task of the terminal device, and then send a second computing task request to the session management network element to request the allocation of communication resources for the target computing task.
[0214] In yet another possible implementation manner, the mobility management network element may separately send a first target computing task request to the computing power control network element and a second computing task request to the session management network element.
[0215] Optionally, in the embodiments of the present application, the resource request method for the computing task provided in the embodiments of the present application further includes the following step 303:
[0216] Step 303: The mobility management network element selects a target device according to the third computing task request.
[0217] Among them, the above target device includes any one of the following: a session management network element, a computing power control network element.
[0218] Exemplarily, the mobility management network element may select the session management network element according to the obtained third request task request.
[0219] It should be noted that this step method is basically similar to the existing method for a mobility management network element to select a session management network element for a PDU session of a terminal device. The difference is only that, preferably, the mobility management network element can consider the support ability of the session management network element for the PDU session related to the computing task, and select a session management network element that supports the computing task PDU session.
[0220] Exemplarily, the mobility management network element can select a computing power control network element according to the obtained third computing task request.
[0221] Exemplarily, before the mobility management network element selects the computing power control network element, the mobility management network element needs to request the subscription data of the terminal device from the Unified Data Management (UDM) / Unified Data Repository (UDR) function to verify whether the terminal device has the subscription information related to the computing task. If so, the subsequent processes are carried out, including selecting the computing power control network element; if not, the mobility management network element rejects the request of the terminal device.
[0222] It should be noted that the order of the mobility management network element to select the session management network element and the computing power control network element according to the third task request message can be arbitrary, and the present application does not make any limitation on this.
[0223] Further optionally, in the embodiment of the present application, the process of step 303 may include the following step 303a:
[0224] Step 303a: The mobility management network element selects the target device according to the first information included in the third task request.
[0225] Wherein, the above first information includes at least one of the following: Area of interest (AOI) (such as the location where the UE is currently located, or the specified area information provided by the server), the subscription information corresponding to the target computing task of the terminal device, and the computing task description information.
[0226] Exemplarily, the above first information may further include at least one of the following: Exemplarily, the mobility management network element can select the computing power control network element according to at least one of the following information:
[0227] Target area;
[0228] The subscription information related to the target computing task of the terminal device;
[0229] DNN;
[0230] S-NSSAI;
[0231] Computing task description information of the target computing task.
[0232] Exemplarily, the above target area may be an area of interest (AOI); further, the above AOI may include: the location where the terminal device is currently located, or the specified area information provided by the server.
[0233] Referring to the above considerations, the mobility management network element may select a suitable computing power control network element according to its own configuration information; or, the mobility management network element may send the above reference factors to the NRF for querying the corresponding matching computing power control network element from the NRF.
[0234] Further optionally, in the embodiments of the present application, if the above target device is a session management network element, the session management network element supports establishing a PDU session for the target computing task; or,
[0235] If the above target device is a computing power control network element, the computing power control network element supports selecting a computing network element for the target computing task, and the computing network element can provide the computing power resources corresponding to the target computing task.
[0236] Optionally, in the embodiments of the present application, the resource allocation method for the computing task provided in the embodiments of the present application further includes the following step 304:
[0237] Step 304: The mobility management network element sends a third computing task response to the terminal device.
[0238] Wherein, the above third computing task response includes: network element information of the computing network element corresponding to the computing power resources and / or communication resource information (such as, resource identifier corresponding to the communication resource).
[0239] Exemplarily, the above third computing task response includes partial information or all information of the communication QoS corresponding to the target computing task.
[0240] Exemplarily, the above third computing task response may include at least one of the following information: the IP address of the computing network element selected for the computing task (i.e., the target computing task) of the terminal device of the computing power control network element, and the IP address information allocated by the session management network element / UPF for the PDU session of the terminal device.
[0241] Wherein, the IP address of the computing network element is used as the destination IP address for the terminal device to send computing task data uplink, so as to ensure that the computing task data can be transmitted to the computing network element for computing; the IP address of the terminal device is used as the source IP address for the terminal device to send computing task data uplink subsequently.
[0242] Exemplarily, after obtaining the above third computing task response, the mobility management network element may send a response message to the terminal device to notify the terminal device that the computing task request has been accepted by the network.
[0243] Further optionally, in the embodiments of the present application, the third computing task response further includes: computing task identification information, and / or, PDU session identification information corresponding to the associated computing task.
[0244] Exemplarily, the above computing task identification information may include the terminal device ID and the computing session ID, and the above PDU session identification information may include: the corresponding PDU session ID, and the above S-NSSAI may be the slice identification information corresponding to the computing task.
[0245] Optionally, in the embodiments of the present application, the process of step 302 may include the following step 302a:
[0246] Step 302a: The mobility management network element sends a PDU session establishment request to the session management network element.
[0247] Exemplarily, the above PDU session establishment request is used to request it to allocate corresponding communication resources for the target computing task of the terminal device.
[0248] Optionally, in the embodiments of the present application, the above first computing task request is a request sent by the mobility management network element to the computing power control network element at the first moment, and the above second computing task request is a request sent by the mobility management network element to the session management network element at the second moment; where the first moment is a moment after the second moment, or, the first moment is a moment before the second moment.
[0249] In a possible implementation manner, the mobility management network element first sends a first task request to the computing power control network element and receives the first task request response sent by the computing power control network element, and then, the mobility management network element sends a second task request to the session management network element.
[0250] In another possible implementation manner, the mobility management network element first sends a second task request to the session management network element and receives the second task request response sent by the session management network element, and then sends a first task request to the computing power control network element.
[0251] It should be noted that the order of the first computing task request and the second computing task request can be arbitrary, and the embodiments of the present application do not make any limitations thereto.
[0252] In the resource allocation method for computing tasks provided by the embodiments of the present application, the mobility management network element can obtain a third computing task request, and based on the task information of the target computing task included in the third computing task request, request the computing power control network element to allocate computing power resources for the target computing task, and request the session management network element to allocate communication resources for the target computing task. Thus, it can be ensured that the operator network can allocate corresponding communication resources for the target computing task of the terminal device, so that the relevant data of the computing task of the terminal device can be transmitted to the computing power resources (such as, computing network elements), and the computing result is fed back after being computed by the computing power resources. In this way, ordinary terminal devices can complete computing tasks without having to have very strong computing capabilities, saving the costs and power consumption of the terminal devices, etc.
[0253] The embodiments of the present application provide a resource allocation method for computing tasks, which is applied to a policy control network element, such as Figure 5 shown, the method includes the following steps 401 and 402:
[0254] Step 401: The policy control network element obtains a target QoS policy request.
[0255] Step 402: The policy control network element generates a target QoS policy corresponding to the target computing task according to the task information.
[0256] Among them, the above target QoS policy request is used to request the policy control network element to generate a target QoS policy corresponding to the target computing task; the target QoS policy request includes the task information of the target computing task; the above target QoS policy includes at least one of the following: computing power QoS policy, communication QoS policy.
[0257] Exemplarily, the above target QoS policy request can be a computing policy request message sent by the computing power control network element or the session management network element, used to request the dynamic policy applicable to the computing session. Further, the dynamic policy includes: computing policy and SM policy. Among them, the computing policy includes the computing power QoS policy; the SM policy includes the communication QoS policy.
[0258] Exemplarily, the policy control network element needs to ensure that the sum of the delay in the allocated communication QoS policy and the delay in the computing power QoS policy does not exceed the delay required for the service of the target computing task requested by the terminal device. In addition, the policy control network element needs to ensure that the data transmission accuracy rate (which can be 1 - PER) in the allocated communication QoS policy multiplied by the computing accuracy rate of the computing power QoS policy is not lower than the accuracy rate required for the service of the target computing task requested by the terminal device.
[0259] Optionally, in the embodiments of the present application, the above-mentioned target QoS policy request includes a communication QoS policy request and / or a computing power QoS policy request. Among them, the communication QoS policy request is used to request the policy control network element to generate a communication QoS policy corresponding to the target computing task; the computing power QoS policy request is used to request the policy control network element to generate a computing power QoS policy corresponding to the target computing task.
[0260] Optionally, in the embodiments of the present application, the task information includes at least one of the following: computing task identification information, PDU session identifier corresponding to the computing task, computing task description information, DNN, S-NSSAI. Among them, the above-mentioned computing task description information includes at least one of the following: type of the computing task, purpose of the computing task, service requirements of the computing task, IP address of the computing task, port number information corresponding to the computing task.
[0261] Optionally, in the embodiments of the present application, the policy control network element may generate a communication QoS policy corresponding to the target computing task according to the communication QoS policy request, and the policy control network element may generate a computing power QoS policy corresponding to the target computing task according to the computing power QoS policy request.
[0262] Optionally, in the embodiments of the present application, the policy control network element needs to ensure that the sum of the delay in the allocated communication QoS policy and the delay in the computing power QoS policy does not exceed the delay required for the service of the target computing task requested by the terminal device. In addition, the policy control network element needs to ensure that the data transmission accuracy rate (which can be 1 - PER) in the allocated communication QoS policy multiplied by the computing accuracy rate of the computing power QoS policy is not lower than the accuracy rate required for the service of the target computing task requested by the terminal device.
[0263] Optionally, in the embodiments of the present application, step 401 may include the following step 401a:
[0264] Step 401a: The policy control network element obtains a target QoS policy request from the session management network element; or, the policy control network element obtains a target QoS policy request from the computing power control network element.
[0265] Exemplarily, the policy control network element may obtain a target QoS policy request from any one of the session management network element and the computing power control network element; or, obtain a target QoS policy request from the session management network element and the computing power control network element respectively.
[0266] Optionally, in the embodiments of the present application, step 402 may include the following step 402a:
[0267] Step 402a: The policy control network element generates a target QoS policy according to the service requirements of the target computing task.
[0268] Further optionally, in the embodiment of the present application, the process of the above step 402 may include the following step 402b:
[0269] Step 402b: The policy control network element generates a delay policy in the target QoS policy according to the delay requirement of the business requirements of the target computing task; and / or, the policy control network element generates a calculation accuracy policy in the target QoS policy according to the calculation readiness requirement of the business requirements of the target computing task.
[0270] Optionally, in the embodiment of the present application, the resource allocation method for computing tasks provided in the embodiment of the present application further includes the following step 404:
[0271] Step 404: The policy control network element sends the target QoS policy to the session management network element; and / or the policy control network element sends the target QoS policy to the computing power control network element.
[0272] Exemplarily, the policy control network element may send the target QoS policy to the computing power control network element respectively, or send the target QoS policy to one of the session management network element and the computing power control network element.
[0273] In the resource allocation method for computing tasks provided by the embodiment of the present application, the policy control network element can obtain a target QoS policy request, and generate a target QoS policy corresponding to the target computing task according to the task information of the target computing task included in the target QoS policy request; wherein the target QoS policy includes at least one of the following: computing power QoS policy, communication QoS policy, so as to ensure that the operator network can allocate corresponding communication resources for the target computing task of the terminal device, so that the relevant data of the computing task of the terminal device can be transmitted to the computing power resources (such as computing network elements), and the computing power resources can calculate on behalf of the computing task and then feedback the calculation results. In this way, ordinary terminal devices can complete computing tasks without having to have strong computing power, saving the cost and power consumption of terminal devices.
[0274] The present application embodiment provides a method for allocating computing task resources, which is applied to a terminal device, such as Figure 6 As shown, the method includes the following steps 501 and 502:
[0275] Step 501: The terminal device initiates a computing task request to the network side device.
[0276] The computing task request is used to request the allocation of communication resources and / or computing resources for the target computing task of the terminal device; the computing task request includes task information of the target computing task. Exemplarily, the computing task request may be the third computing task request received by the mobility management network element.
[0277] Optionally, in an embodiment of the present application, the task information includes at least one of the following: computing task identification information, packet data unit PDU session identification information corresponding to the computing task, request type (requested type) information corresponding to the PDU session, computing task description information, DNN, S-NSSAI. Among them, 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.
[0278] Step 502: The terminal device obtains a computing task response from the network side device.
[0279] Among them, the above-mentioned computing task response includes: network element information of the computing network element corresponding to the computing power resources allocated to the target computing task, and / or communication resource information allocated to the target computing task.
[0280] It should be noted that the above network element information and communication resource information can refer to the description in the previous text and will not be repeated here.
[0281] Optionally, in the embodiment of the present application, the process of step 501 above may include the following step 501a:
[0282] Step 501a: The terminal device initiates a computing task request to the target device.
[0283] Among them, the above-mentioned target device includes at least one of the following: a mobility management network element, a session management network element, and a computing power control network element.
[0284] Exemplarily, the computing task request includes at least one of the following information: computing task type, purpose, computing session identifier, PDU session ID, business requirements of the computing task (computing task error rate, and / or, computing task delay. Furthermore, the request message may also include the DNN corresponding to the computing task, slice identifier (such as S-NSSAI) information, and PDU session type, where the PDU session type is used to indicate that the PDU session is a session for transmitting computing task related data.
[0285] Exemplarily, the request message may be implemented in the form of: computing session establishment request message, computing power request message, or PDU session establishment request. That is, the above message names may include the above information element content.
[0286] Further optionally, in the embodiment of the present application, the resource request method for the computing task provided in the embodiment of the present application further includes the following step 503:
[0287] Step 503: When the target device is a session management network element, the above calculation task request is a PDU session establishment request.
[0288] Exemplarily, the terminal device may send a calculation task request to the session management network element to request communication resources corresponding to the target calculation task.
[0289] In the resource allocation method for calculation tasks provided by the embodiments of the present application, the terminal device may initiate a calculation task request (including the task information of the target calculation task) to the network-side device to request allocation of communication resources and / or computing power resources for the target calculation task, and obtain a calculation task response from the network-side device. The calculation task response includes: network element information of the calculation network element corresponding to the computing power resources allocated for the target calculation task of the terminal device, and / or communication resource information allocated for the target calculation task of the terminal device. Thereby, it can be ensured that the operator network can allocate corresponding communication resources for the target calculation task of the terminal device, so that the relevant data of the calculation task of the terminal device can be transmitted to the computing power resources (such as, calculation network elements), and the calculation result is fed back after being calculated by the computing power resources. In this way, ordinary terminal devices can complete calculation tasks without having to have strong computing capabilities, saving the cost and power consumption of the terminal devices, etc.
[0290] It should be noted that in the technical solution provided by the embodiments of the present application, the modification process of the associated PDU session is mainly triggered by triggering the allocation of computing power resources. Of course, the network side may trigger the modification of the PDU session (such as, triggering the modification of the PDU session when the communication QoS has been satisfied) or not trigger the modification of the PDU session (such as, triggering the establishment of a new dedicated QoS flow when the communication QoS is not satisfied). In one example, if the existing PDU session can already meet the data transmission requirements of the calculation task, there is no need to trigger the PDU session modification process, that is, the session management network element does not need to initiate corresponding operations either.
[0291] The following will illustrate the technical solution provided by the embodiments of the present application with several examples.
[0292] Among them, the following examples are described by taking the server as AF, the policy control network element as PCF, the mobility management network element as AMF, the session management network element as SMF, and the terminal device as UE as examples. It should be noted that the network element names in the following examples are only examples, and in actual applications, other network element names may also be used, and the embodiments of the present application do not limit this.
[0293] Example 1:
[0294] Exemplarily, as Figure 7 shown, the technical solution provided by this embodiment can be specifically implemented through the following steps:
[0295] Step 1: The UE sends a third computing task request to the network AMF, which is used to request the network to allocate corresponding computing power resources for its computing task.
[0296] Exemplarily, the third 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 identification information, the PDU session ID, the service requirements of the computing task (including the target computing task accuracy requirement and / or the target computing task latency requirement). Further, the third computing task request may also include the DNN corresponding to the computing task, the slice identification (S-NSSAI) information, and the requested type information corresponding to the PDU session, where the PDU session type is used to indicate that the PDU session is a session for transmitting data related to the target computing task.
[0297] Exemplarily, the specific implementation form of the third request message may be: a computing session establishment request message, or a computing power request message, or a PDU session establishment request. That is, the above message names may include the above cell content.
[0298] Optionally, after the above Step 1, this embodiment may further include Step 2a and / or Step 2b:
[0299] Step 2a: The AMF selects an SMF according to the third computing task request sent by the UE.
[0300] It should be noted that the implementation manner of this Step 2a is basically similar to the method in the related art for the AMF to select an SMF for the PDU session of the UE. The difference is only that the AMF can consider the support ability of the SMF for the PDU session related to the computing task and select an SMF that supports the computing task PDU session.
[0301] Step 2b: The AMF selects a computing power control network element according to the third computing task request sent by the UE.
[0302] Optionally, after the above Step 2, this embodiment may further include Step 3a and / or Step 3b:
[0303] Step 3a: The AMF sends a second computing task request to the SMF.
[0304] Exemplarily, the above second computing task request may be a PDU session establishment request message.
[0305] It should be noted that, similar to the prior art, the AMF forwards the PDU session establishment request initiated by the UE to the SMF. The difference is only that if the UE does not send a PDU session establishment request, but a computing session establishment request message or a computing power request message, the AMF needs to filter out the PDU session information (such as the PDU session ID, etc.) therein and trigger a PDU session establishment request to the SMF by itself, which may include the PDU session ID and the UE ID.
[0306] Step 3b: The AMF sends a first computing task request to the computing power control network element to request it to allocate corresponding computing power resources for the target computing task of the UE.
[0307] Exemplarily, the first computing task request includes the UE ID and the computing session ID. Further, the first computing task request may further include at least one of the following information: the associated PDU session ID, the description information of the computing task, the DNN, the slice identification information, etc.
[0308] Optionally, if the network adopts a dynamic PCC architecture, that is, the PCF allocates dynamic PCC policies, after the above step 3, this embodiment may further include step 4a and / or step 4b:
[0309] Step 4a: The SMF sends a communication QoS policy request to the PCF to request the communication QoS policy applicable to the PDU session.
[0310] Step 4b: The computing power control network element sends a computing power QoS policy request to the PCF to request the computing power QoS policy applicable to the computing session.
[0311] Step 5: The PCF generates the communication QoS policy and the computing power QoS policy corresponding to the target computing task according to the above step 4a and / or 4b.
[0312] Exemplarily, the PCF needs to ensure that the sum of the delay in the allocated communication QoS policy and the delay in the computing power QoS policy does not exceed the delay required by the service of the target computing task requested by the UE.
[0313] Exemplarily, the PCF needs to ensure that the data transmission accuracy rate (which can be 1 - PER) in the allocated communication QoS policy multiplied by the computing accuracy rate of the computing power QoS policy is not lower than the accuracy rate required by the service of the target computing task requested by the UE.
[0314] Optionally, after the above step 5, this embodiment may further include the following step 6a and / or step 6b:
[0315] Step 6a: The PCF feeds back the communication QoS policy to the SMF.
[0316] Step 6b: The PCF feeds back the computing power QoS policy to the computing power control network element.
[0317] Optionally, in combination with the above step 6a and step 6b, this embodiment may further include the following step 7a and step 7b:
[0318] Step 7a: The SMF selects or reselects a UPF according to the communication QoS policy, and establishes or modifies the corresponding N4 session and N3 tunnel.
[0319] Step 7b: The computing power control network element performs allocation and selection of computing network elements according to the computing power QoS policy.
[0320] Optionally, this embodiment may further include the following step 8:
[0321] Step 8: Information interaction is performed between the SMF and the computing power control network element to notify the other party of the status information of its own resource allocation.
[0322] It should be noted that the above example takes the SMF notifying the computing power control network element of the selected UPF and corresponding information as an example. On the contrary, the method for the computing power control network element to notify the SMF of the selected computing network element is similar.
[0323] Optionally, after the above step 8, this embodiment may further include the following step 9a and step 9b:
[0324] Step 9a: The SMF sends a second computing task response to the AMF to notify the AMF that the PDU session establishment is completed.
[0325] Exemplarily, the second computing task response may be a PDU session establishment response message.
[0326] Exemplarily, the PDU session establishment response message includes the IP address information allocated by the SMF / UPF for this PDU session of the UE, and this UE IP address is used as the source IP address for the UE to send the computing task data of the target computing task uplink subsequently.
[0327] Step 9b: The computing power control network element sends a first computing task response to the AMF to notify the AMF that the computing power session establishment is completed.
[0328] Exemplarily, the first computing task response may be a computing power session establishment response. Further, the computing power session establishment response message includes the IP address corresponding to the computing network element selected by the computing power control network element for the target computing task of the UE. The IP address of this computing network element is used as the destination IP address for the UE to send the target computing task data uplink, ensuring that the target computing task data can be transmitted to this computing network element for computing.
[0329] Optionally, after the above steps 9a and 9b, this embodiment may further include the following step 10:
[0330] Step 10, the AMF sends a third computing task response to the UE, which is used to notify the UE that the target computing task request has been accepted by the network.
[0331] Among them, in one implementation, the above third computing task response includes two IP addresses in steps 9a and 9b (that is, the IP address corresponding to the computing network element and the IP address information allocated for the PDU session).
[0332] It should be noted that the newly introduced computing power control function network element, as a logical function, can be implemented as an independently deployed entity or a sub-function module on the SMF. If it is co-located with the SMF, steps 3a and 3b can preferably be merged into one step. Similarly, steps 4a and 4b, steps 6a and 6b, and steps 9a and 9b can be merged respectively. Step 8 can be omitted.
[0333] Embodiment 2
[0334] If dynamic PCC is not deployed, there may be another embodiment as follows.
[0335] Exemplarily, in this embodiment, the interaction actions between the above steps 4-6 and the PCF can be omitted and replaced by the internal execution actions of the computing power control network element or the session management network element in the following two implementation manners, and other steps remain basically unchanged.
[0336] Exemplarily, the determination of the computing power QoS policy is determined by the computing power control network element according to the internal configuration policy and sent to the SMF through the interaction information between the SMF and the computing power control network element. The SMF then calculates and obtains the communication QoS according to the internal configuration policy and the computing power QoS.
[0337] Exemplarily, the determination of the communication QoS is determined by the SMF according to the internal configuration policy and sent to the computing power control network element through the interaction information between the SMF and the computing power control network element. The computing power control network element then calculates and obtains the computing power QoS according to the internal configuration policy and the communication QoS.
[0338] For the remaining steps, reference can be specifically made to the above Embodiment 1, and details will not be elaborated here.
[0339] Embodiment 3:
[0340] Combined with the above Embodiment 1, as Figure 8 shown, the technical solution provided in this embodiment can be specifically implemented through the following steps:
[0341] Step 1: The same as Step 1 of Embodiment 1.
[0342] Step 2a: The same as Step 2a of Embodiment 1.
[0343] Step 2b: The same as Step 2b of Embodiment 1.
[0344] Step 3: The same as Step 3b of Embodiment 1.
[0345] Step 4: The computing power control network element allocates corresponding computing network elements and corresponding computing power QoS resources according to the first computing task request in Step 3.
[0346] Exemplarily, as shown in the above Step 4a and Step 4b, if the network deploys a dynamic PCC architecture, the computing power control network element requests the computing power QoS policy from the PCF, where the first computing task request contains the relevant information of the target computing task, and is used to request the PCF to allocate a suitable computing policy for the target computing task (including the computing power QoS policy, refer to Step 4b of Embodiment 1). In this implementation manner, the computing power control network element selects the computing network element in combination with the computing power QoS policy, ensuring that the computing delay for the computing network element to complete the corresponding target computing task is not higher than the delay requirement in the computing power QoS policy, and / or ensuring that the accuracy of the computing network element to complete the target computing task is not lower than the computing accuracy requirement in the computing power QoS policy.
[0347] Step 5: The same as Step 9b of Embodiment 1, the computing power control network element sends a first computing task response to the AMF.
[0348] Exemplarily, the first computing task response includes the IP address of the allocated computing network element and the computing power QoS information allocated by the computing power control network element for the UE's target computing task (see the specific description above).
[0349] Step 6: After receiving the first computing task response, the AMF sends a second computing task request to the SMF.
[0350] Exemplarily, the same as Embodiment 1, the second computing task request can be a PDU session establishment request message, and the second computing task request contains the PDU session ID and the UE ID.
[0351] Exemplarily, the second computing task request contains the computing network element information (IP address, identification information, FQDN, etc.) allocated by the computing power control network element.
[0352] Exemplarily, the second computing task request includes the computing power QoS policy allocated by the computing power control network element.
[0353] Step 7: The SMF selects or reselects a UPF according to the second computing task request and allocates corresponding communication QoS resources.
[0354] Exemplarily, the SMF calculates the communication QoS policy according to the task requirements of the target computing task in the second computing task request and the computing power QoS policy sent by the AMF in step 6. It should be noted that other QoS metrics can be implemented with reference to related technologies. For example, among the communication QoS metrics generated by the SMF, some need to be sent to the UE as the QoS policy, some need to be sent to the RAN as the QoS profile, and some need to be sent to the UPF as the QoS enforcement for execution.
[0355] Exemplarily, the SMF calculates the communication QoS policy by itself. Alternatively, the SMF transfers the task requirements of the target computing task and the computing power QoS policy to the PCF, and the PCF determines the finally allocated communication QoS policy based on both of them, and then sends it to the SMF to generate the finally executed communication QoS information (including the communication QoS policy to be sent to the UE, the QoS profile to be sent to the RAN, and the QoS enforcement to be sent to the UPF).
[0356] Step 8: The SMF sends a second computing task response to the AMF.
[0357] Refer to step 9a of Embodiment 1.
[0358] Step 9: The AMF sends a second computing task response to the UE.
[0359] It should be noted that in another embodiment, it is also possible for the AMF to first send a second computing task request to the SMF, the SMF to send a second computing task response to the AMF, and then the AMF to send a first computing task request to the computing power control network element.
[0360] Embodiment 4:
[0361] Combined with Embodiment 1 above, as Figure 9 shown, the technical solution provided in this embodiment can be specifically implemented through the following steps:
[0362] Step 1: The UE sends a third computing task request to the AMF.
[0363] It should be noted that this step can specifically refer to step 1 of Embodiment 1.
[0364] Optionally, the second computing task request includes task information of the target computing task.
[0365] Step 2: The AMF selects the SMF corresponding to the third computing task request.
[0366] It should be noted that for this step, specifically refer to step 2 of Embodiment 1.
[0367] Step 3: The AMF forwards the third computing task request to the SMF.
[0368] It should be noted that for this step, specifically refer to Embodiment 1.
[0369] Step 4: Optionally, the SMF selects a computing power control network element for the target computing task according to the third computing task request.
[0370] Exemplarily, the SMF selects a computing power control network element for the target computing task according to the task information of the target computing task included in the third computing task request.
[0371] Optionally, in the scenario where a dynamic PCC architecture is deployed in the network, this embodiment further includes the following steps, that is, the SMF interacts with the PCF to execute steps 5-7. Otherwise, steps 5-7 are completed inside the SMF.
[0372] Step 5: The SMF sends a target policy request to the PCF, for requesting the target QoS policy applicable to the overall target computing task.
[0373] Step 6: The PCF generates a communication QoS policy and a computing power QoS policy corresponding to the target computing task.
[0374] Specifically refer to step 5 of Embodiment 1.
[0375] Step 7: The PCF feeds back the target QoS policy corresponding to the allocated target computing task to the SMF.
[0376] Step 8: The SMF selects or reselects a UPF according to the communication QoS policy, and establishes or modifies the corresponding N4 session and N3 tunnel.
[0377] Specifically refer to step 7a of Embodiment 1.
[0378] Step 9A: The SMF initiates a computing power QoS policy request to the selected computing power control network element.
[0379] Exemplarily, the computing power QoS policy generated by the PCF in step 6 is carried in the above computing power QoS policy request.
[0380] Exemplarily, the above computing QoS policy request may also carry computing session ID information. This computing session ID information may be generated by the UE and sent to the SMF through steps 1 and 3; or, it may also be generated by the SMF itself for the UE's target computing task.
[0381] In another implementation, this step 9A may be replaced by the following manner of 9B:
[0382] Step 9B, the PCF sends the computing QoS policy to the computing control network element.
[0383] Exemplarily, before this, the PCF may address and send the computing control network element for this computing QoS policy through the identifier or address information of the computing control network element carried in step 5, or the PCF itself initiates a network element query to the NRF according to the task information of the target computing to discover a suitable computing control network element, and then sends the computing QoS policy generated by itself for the target computing task to it.
[0384] Step 10, the computing control network element performs allocation and selection of computing network elements according to the computing QoS policy.
[0385] Refer to step 7b of Embodiment 1.
[0386] Step 11, the computing control network element sends the allocation status to the SMF, for informing the SMF that the computing resources have been allocated.
[0387] Exemplarily, the above allocation status information includes the IP address or identifier information of the allocated computing network element, etc.
[0388] Step 12, the SMF forwards the third computing task response to the UE through the AMF, for informing the UE that the PDU session establishment is completed.
[0389] Exemplarily, the above third computing task response includes the IP address allocated by the SMF / UPF for the UE's PDU session (used as the source address for the UE to send data related to the target computing task later) and the IP address or identifier information of the computing network element of the computing network element (used as the destination address for the UE to send data related to the target computing task).
[0390] Embodiment 5
[0391] Combined with the above Embodiment 1, the technical solution provided in this embodiment can be specifically implemented through the following steps:
[0392] Step 1, the UE sends a third computing task request to the AMF.
[0393] It should be noted that this step can specifically refer to step 1 of Embodiment 1.
[0394] Optionally, the third computing task request includes task information of the target computing task.
[0395] Step 2: AMF selects the computing power control network element corresponding to the third computing task request.
[0396] Step 3: AMF sends a third computing task request to the computing power control network element.
[0397] Step 4: The computing power control network element selects an SMF for the target computing task according to the third computing task request.
[0398] Exemplarily, the computing power control network element selects an SMF for the target computing task based on the task information of the target computing task included in the third computing task request.
[0399] Step 5: The computing power control network element sends a target policy request to the PCF to request a target QoS policy applicable to the target computing task as a whole.
[0400] Step 6: PCF generates the communication QoS policy and computing power QoS policy corresponding to the target computing task.
[0401] For details, refer to step 5 of Example 1.
[0402] Step 7: PCF feeds back the target QoS policy corresponding to the assigned target computing task to the computing power control network element.
[0403] Step 8: The computing power control network element selects and allocates computing network elements according to the computing power QoS policy.
[0404] Step 9a: The computing power control network element initiates a communication QoS policy request to the selected SMF.
[0405] For example, the communication QoS policy request carries the communication QoS policy generated by the PCF.
[0406] For example, the communication QoS policy request may also carry computing session ID information.
[0407] In another implementation, step 9a may be replaced by the following step 9b:
[0408] Step 9b: PCF sends the communication QoS policy to SMF.
[0409] Step 10: SMF selects or reselects UPF according to the communication QoS policy, and establishes or modifies the corresponding N4session and N3 tunnel.
[0410] Step 11: SMF sends the allocation status to the computing power control network element to inform the computing power control network element that the communication resource allocation is completed.
[0411] Exemplarily, the above allocation status information includes the resource identifier corresponding to the allocated communication resource.
[0412] Step 12: The computing power control network element forwards the third computing task response to the UE via the AMF, for notifying the UE that the communication resource allocation is completed.
[0413] In the resource allocation method for computing tasks provided in the embodiments of the present application, it can be ensured that the operator network can allocate corresponding computing power resources and / or corresponding communication resources for the target computing tasks of the terminal device, so that the data related to the target computing tasks of the terminal device can be transmitted to the computing power resources, and the computing results are fed back after being computed by the computing power resources. In this way, ordinary terminal devices can complete the target computing tasks without necessarily having strong computing capabilities, saving the costs and power consumption of the terminal devices, etc.
[0414] It should be noted that for the resource allocation method for computing tasks provided in the embodiments of the present application, the execution subject can be a resource allocation device for computing tasks, or a control module in the resource allocation device for computing tasks that executes the resource allocation method for computing tasks. In the embodiments of the present application, the resource allocation method for computing tasks is taken as an example of being executed by the resource allocation device for computing tasks to illustrate the resource allocation device for computing tasks provided in the embodiments of the present application.
[0415] The embodiments of the present application provide a resource allocation device 600 for computing tasks, as Figure 10 shown. The device 600 includes an acquisition module 601 and an allocation module 602:
[0416] Among them, the acquisition module 601 is used to acquire a first computing task request; wherein, the first computing task request is used to request the allocation of computing power resources for the target computing task of the terminal device; the first computing task request includes the task information of the target computing task; the allocation module 602 is used to allocate computing power resources for the target computing task according to the task information.
[0417] Optionally, in the embodiments of the present application, the allocation module 602 is specifically used to select a computing network element according to the task information; wherein, the computing network element can provide the computing power resources corresponding to the target computing task.
[0418] Optionally, in the embodiments of the present application, the computing power resources include at least one of the following: computing resources and storage resources.
[0419] Optionally, in the embodiments of the present application, the task information includes at least one of the following: computing task identification information, packet data unit (PDU) session identification information corresponding to the computing task, computing task description information, DNN, S-NSSAI; wherein, the target computing task description information includes at least one of the following: the type of the target computing task, the purpose of the target computing task, the service requirements of the target computing task, the IP address of the target computing task, and the port number information corresponding to the target computing task.
[0420] Optionally, in the embodiments of the present application, the obtaining module 601 is further configured to obtain the computing power QoS policy corresponding to the target computing task.
[0421] Optionally, in the embodiments of the present application, the allocating module 602 is specifically configured to allocate computing power resources for the target computing task according to the task information and the computing power QoS policy.
[0422] Optionally, in the embodiments of the present application, the apparatus further includes: a sending module 603, configured to send a computing power QoS policy request to a policy control network element; the computing power QoS policy request is used to request the computing power QoS policy corresponding to the target computing task; the obtaining module is specifically configured to obtain the computing power QoS policy from the policy control network element.
[0423] Optionally, in the embodiments of the present application, the sending module 603 is specifically configured to send a computing power QoS policy request to the policy control network element through a session management network element; the obtaining module 601 is specifically configured to obtain the computing power QoS policy from the policy control network element through the session management network element.
[0424] Optionally, in the embodiments of the present application, the obtaining module 601 is specifically configured to determine the computing power QoS policy corresponding to the target computing task according to the service requirements of the computing task included in the task information of the target computing task.
[0425] Optionally, in the embodiments of the present application, the obtaining module 601 is specifically configured to obtain a first computing task request from a first device; wherein the first device includes any one of the following: a mobility management network element, a session management network element, or an access network device.
[0426] Optionally, in the embodiments of the present application, the sending module 603 is further configured to send a first computing task response to a terminal device; wherein the first computing task response includes the network element information of the computing network element corresponding to the computing power resource, and the network element information includes: network element identification information or network element address information.
[0427] Optionally, in the embodiments of the present application, the first computing task response further includes: associated PDU session identification information.
[0428] Optionally, in the embodiments of the present application, the sending module 603 is specifically configured to send the first computing task response to the terminal device through a first device; wherein, the first device includes any one of the following: a mobility management network element, a session management network element, or an access network device.
[0429] Optionally, in the embodiments of the present application, the sending module 603 is further configured to send the allocation status information of the computing power resources to the session management network element; or, receive the allocation status information of the communication resources from the session management network element.
[0430] Optionally, in the embodiments of the present application, the service requirements of the computing task include at least one of the following: the latency requirement of the computing task, the accuracy requirement of the computing task.
[0431] Optionally, in the embodiments of the present application, the computing power QoS corresponding to the computing power QoS policy includes at least one of the following: computing power, sample data volume, storage, computing latency, computing accuracy rate, computing speed.
[0432] In the computing task resource allocation device provided in the embodiments of the present application, the device can obtain a first computing task request, and allocate computing power resources for the target computing task of the terminal device according to the task information of the target computing task included in the first computing task request. In this way, ordinary terminal devices can complete computing tasks without necessarily having strong computing capabilities, saving the cost and power consumption of terminal devices, etc.
[0433] The embodiments of the present application provide a computing task resource allocation device 700, as Figure 11 shown, the device 700 includes an obtaining module 701 and an allocating module 702:
[0434] Wherein, the obtaining module 701 is configured to obtain a second computing task request; wherein, the second computing task request is used to request the allocation of communication resources for the target computing task of the terminal device; the second computing task request includes the task information of the target computing task; the allocating module 702 is configured to allocate communication resources for the target computing task according to the task information.
[0435] Optionally, in the embodiments of the present application, the allocating module 702 is specifically configured to establish a tunnel in the packet data unit PDU session for the terminal device according to the task information; wherein, the tunnel in the PDU session is used to transmit the data of the target computing task.
[0436] Optionally, in the embodiments of the present application, the task information includes at least one of the following: computing task identification information, packet data unit (PDU) session identification information corresponding to the computing task, computing task description information, DNN, 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 requirements of the computing task, IP address of the computing task.
[0437] Optionally, in the embodiments of the present application, the obtaining module 701 is further configured to obtain the communication QoS policy of the target computing task.
[0438] Optionally, in the embodiments of the present application, the allocation module 702 is further configured to allocate communication resources for the target computing task according to the task information and the communication QoS policy of the target computing task.
[0439] Optionally, in the embodiments of the present application, the apparatus further includes a sending module 703: the sending module 703 is configured to send a communication QoS policy request to a policy control network element; the communication QoS policy request is used to request the policy control network element to generate a communication QoS policy corresponding to the target computing task; the obtaining module 701 is specifically configured to obtain the communication QoS policy from the policy control network element.
[0440] Optionally, in the embodiments of the present application, the apparatus further includes a receiving module 704; the receiving module is configured to receive a computing power QoS policy request from a computing power control network element, and the computing power QoS policy request is used to request the computing power QoS requirements corresponding to the target computing task; the sending module 703 is further configured to send the computing power QoS policy request to the policy control network element; the obtaining module is further configured to obtain the computing power QoS policy from the policy control network element; the sending module 703 is further configured to send the computing power QoS policy to the computing power control network element.
[0441] Optionally, in the embodiments of the present application, the task information includes the service requirements of the target computing task; the obtaining module 701 is specifically configured to determine the communication QoS policy corresponding to the target computing task according to the service requirements of the target computing task.
[0442] Optionally, in the embodiments of the present application, the obtaining module 701 is specifically configured to determine the communication QoS policy corresponding to the target computing task according to the service requirements of the target computing task and the computing power QoS policy corresponding to the target computing task.
[0443] Optionally, in the embodiment of the present application, the obtaining module 701 is specifically configured to obtain the second computing task request from a mobility management network element, where the second computing task request includes a packet data unit (PDU) session establishment request.
[0444] Optionally, in the embodiment of the present application, the sending module 703 is further configured to send a second computing task response to the terminal device, where the second computing task response includes partial or all information of the communication QoS corresponding to the target computing task.
[0445] Optionally, in the embodiment of the present application, the sending module 703 is further configured to send a first computing task request to a computing power control network element based on the second computing task request; where the first computing task request is used to request the computing power control network element to allocate computing power resources for the target computing task.
[0446] Optionally, in the embodiment of the present application, the sending module 703 is further configured to send the allocation status of the communication resources to the computing power control network element; or, the receiving module 704 is further configured to receive the allocation status of the computing power resources from the computing power control network element.
[0447] In the resource allocation device for computing tasks provided in the embodiment of the present application, the device can obtain a second computing task request, and allocate communication resources for the target computing task of the terminal device according to the task information of the target computing task included in the second computing task request, which can ensure that the operator network can allocate corresponding communication resources for the target computing task of the terminal device, so that the relevant data of the computing task of the terminal device can be transmitted to computing power resources (such as computing network elements), and the computing result can be fed back after being calculated by the computing power resources. In this way, ordinary terminal devices can complete computing tasks without having to have very strong computing capabilities, saving the cost and power consumption of the terminal devices, etc.
[0448] The embodiment of the present application provides a resource allocation device 800 for computing tasks, as Figure 12 shown, the device 800 includes an obtaining module 801 and an allocation module 802:
[0449] Wherein, the obtaining module 801 is configured to obtain a third computing task request, where the third computing task request includes the task information of the target computing task of the terminal device; the sending module 802 is configured to send a first computing task request to a computing power control network element, where the first computing task request is used to request to allocate computing power resources and / or communication resources for the target computing task; and / or, send a second computing task request to a session management network element, where the second computing task request is used to request to allocate communication resources and / or computing power resources for the target computing task.
[0450] Optionally, in the embodiments of the present application, the task information includes at least one of the following: computing task identification information, packet data unit (PDU) session identification information corresponding to the computing task, computing task description information, DNN, 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 requirements of the computing task, IP address of the computing task, port number information corresponding to the computing task.
[0451] Optionally, in the embodiments of the present application, the apparatus further includes a selection module 803, wherein the selection module 803 is configured to select a target device according to the third computing task request; wherein the target device includes any one of the following: a session management network element, a computing power control network element.
[0452] Optionally, in the embodiments of the present application, the selection module 803 is specifically configured to select the target device according to the first information included in the third task request; wherein the first information includes at least one of the following: target area, subscription information corresponding to the target computing task of the terminal device, the computing task description information.
[0453] Optionally, in the embodiments of the present application, if the target device is a session management network element, the session management network element supports establishing a PDU session for the target computing task; or, if the target device is a computing power control network element, the computing power control network element supports selecting a computing network element for the target computing task, and the computing network element can provide computing power resources corresponding to the target computing task.
[0454] Optionally, in the embodiments of the present application, the apparatus further includes a sending module 804, and the sending module 804 is configured to send a third computing task response to the terminal device; wherein the third computing task response includes: network element information and / or communication resource information of the computing network element corresponding to the computing power resources.
[0455] Optionally, in the embodiments of the present application, the third computing task response further includes: computing task identification information, and / or, PDU session identification information corresponding to the associated computing task.
[0456] Optionally, in the embodiments of the present application, the sending module 804 is specifically configured to send a PDU session establishment request to the session management network element.
[0457] In the resource allocation device for computing tasks provided by an embodiment of the present application, the device can obtain a third computing task request, and based on the task information of the target computing task included in the third computing task request, request the computing power control network element to allocate computing power resources for the target computing task, and request the session management network element to allocate communication resources for the target computing task, so as to ensure that the operator network can allocate corresponding communication resources for the target computing task of the terminal device, so that the relevant data of the computing task of the terminal device can be transmitted to the computing power resources (such as, computing network elements), and the computing result is fed back after being calculated by the computing power resources. In this way, ordinary terminal devices can complete computing tasks without having to have strong computing capabilities, saving the costs and power consumption of the terminal devices, etc.
[0458] An embodiment of the present application provides a resource allocation device 900 for computing tasks, as Figure 13 shown. The device 900 includes an acquisition module 901 and a generation module 902:
[0459] Among them, the acquisition module 901 is used to obtain a target QoS policy request; the target QoS policy request is used to request the policy control network element to generate a target QoS policy corresponding to the target computing task; the target QoS policy request includes the task information of the target computing task; the generation module 902 is used to generate a target QoS policy corresponding to the target computing task according to the task information; among them, the target QoS policy includes at least one of the following: computing power QoS policy, communication QoS policy.
[0460] Optionally, in an embodiment of the present application, the target QoS policy request includes a communication QoS policy request and / or a computing power QoS policy request; the communication QoS policy request is used to request the policy control network element to generate a communication QoS policy corresponding to the target computing task; the computing power QoS policy request is used to request the policy control network element to generate a computing power QoS policy corresponding to the target computing task.
[0461] Optionally, in an embodiment of the present application, the task information includes at least one of the following: computing task identification information, PDU session identifier corresponding to the computing task, computing task description information, DNN, S-NSSAI.
[0462] Optionally, in an embodiment of the present application, the acquisition module 901 is specifically used to obtain the target QoS policy request from the session management network element; and / or obtain the target QoS policy request from the computing power control network element.
[0463] Optionally, in an embodiment of the present application, the generation module 902 is specifically used to generate the target QoS policy according to the service requirements of the target computing task.
[0464] Optionally, in the embodiment of the present application, the generating module is specifically configured to generate a delay policy in the target QoS policy according to the delay requirement of the service requirement of the target computing task; and / or generate a computing accuracy policy in the target QoS policy according to the computing preparation rate requirement of the service requirement of the target computing task.
[0465] Optionally, in the embodiment of the present application, the device further includes a sending module 903, and the sending module 903 is configured to send the target QoS policy to a session management network element; and / or send the target QoS policy to the computing power control network element.
[0466] In the resource allocation device for computing tasks provided in the embodiment of the present application, the device can obtain a target QoS policy request, and generate a target QoS policy corresponding to the target computing task according to the task information of the target computing task included in the target QoS policy request; wherein, the target QoS policy includes at least one of the following: a computing power QoS policy, a communication QoS policy, so that it can be ensured that the operator network can allocate corresponding communication resources for the target computing task of the terminal device, so that the relevant data of the computing task of the terminal device can be transmitted to the computing power resources (such as, computing network elements), and the computing result is fed back after being calculated by the computing power resources. In this way, ordinary terminal devices can complete computing tasks without having very strong computing capabilities, saving the costs and power consumption of the terminal devices, etc.
[0467] The embodiment of the present application provides a resource allocation device 1000 for computing tasks, as Figure 14 shown, the device 1000 includes a sending module 1001 and an obtaining module 1002:
[0468] The sending module 1001 is configured to initiate a computing task request to a network-side device; wherein, the computing task request is used to request to allocate communication resources and / or computing power resources for the target computing task of the terminal device; the computing task request includes the task information of the target computing task.
[0469] The obtaining module 1002 is configured to obtain a computing task response from the network-side device, and the computing task response includes: network element information of a computing network element corresponding to the computing power resources allocated for the target computing task, and / or communication resource information allocated for the target computing task.
[0470] Optionally, in the embodiments of the present application, the sending module 1001 is further configured to initiate a computing task request to a network-side device; wherein, the computing task request is used to request the allocation of communication resources and / or computing power resources for the target computing task of the terminal device; the computing task request includes the task information of the target computing task; the obtaining module 1002 is configured to obtain a computing task response from the network-side device, and the computing task response includes: the network element information of the computing network element corresponding to the computing power resource allocated for the target computing task, and / or, the communication resource information allocated for the target computing task.
[0471] Optionally, in the embodiments of the present application, the task information includes at least one of the following: computing task identification information, PDU session identification information corresponding to the computing task, computing task description information, DNN, S-NSSAI; wherein, 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 requirements of the computing task, the IP address of the computing task, the port number information corresponding to the computing task.
[0472] Optionally, in the embodiments of the present application, the sending module 1001 is specifically configured to initiate a computing task request to a target device in the network; wherein, the target device includes at least one of the following: a mobility management network element, a session management network element, a computing power control network element.
[0473] Optionally, in the embodiments of the present application, when the target device is a session management network element, the computing task request is a PDU session establishment request.
[0474] In the resource allocation device for computing tasks provided by the embodiments of the present application, the device can initiate a computing task request (including the task information of the target computing task) to a network-side device to request the allocation of communication resources and / or computing power resources for the target computing task, and obtain a computing task response from the network-side device. The computing task response includes: the network element information of the computing network element corresponding to the computing power resource allocated for the target computing task of the terminal device, and / or, the communication resource information allocated for the target computing task of the terminal device. Thus, it can be ensured that the operator network can allocate corresponding communication resources for the target computing task of the terminal device, so that the relevant data of the computing task of the terminal device can be transmitted to the computing power resource (such as, a computing network element), and the computing result is fed back after being computed by the computing power resource (computing network element). In this way, ordinary terminal devices can complete computing tasks without having to have very strong computing capabilities, saving the cost and power consumption of the terminal devices, etc.
[0475] The resource allocation device for computing tasks in the embodiments of the present application may be a device, a device with an operating system, or an electronic device, or a component, an integrated circuit, or a chip in a terminal. The device or electronic device may be a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminal may include, but is not limited to, the types of the terminal 11 listed above, and the non-mobile terminal may be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.
[0476] The resource allocation device for computing tasks provided in the embodiments of the present application can implement each process implemented in the above method embodiments and achieve the same technical effects. To avoid repetition, details are not described herein again.
[0477] Optionally, as Figure 15 shown, the embodiments of the present application further provide a communication device 2000, including a processor 2001, a memory 2002, and a program or instruction stored on the memory 2002 and executable on the processor 2001. For example, when the communication device 2000 is a terminal, when the program or instruction is executed by the processor 2001, each process of the above method embodiment for resource allocation of computing tasks is implemented and the same technical effects can be achieved. When the communication device 2000 is a network-side device, when the program or instruction is executed by the processor 2001, each process of the above method embodiment for resource allocation of computing tasks is implemented and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
[0478] The embodiments of the present application further provide a terminal device, including a processor and a communication interface. The processor is used to send a computing task request to a network-side device; wherein, the computing task request is used to request to allocate communication resources and / or computing power resources for a target computing task of the terminal device; the computing task request includes task information of the target computing task; the communication interface is used to obtain a computing task response from the network-side device, and the computing task response includes: network element information of a computing network element corresponding to the computing power resources allocated for the target computing task, and / or, communication resource information allocated for the target computing task.
[0479] Specifically, Figure 16 FIG. is a schematic diagram of the hardware structure of a terminal device for implementing the embodiments of the present application.
[0480] The terminal 100 includes, but is not limited to, at least some components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
[0481] Those skilled in the art can understand that the terminal 100 may further include a power source (such as a battery) for supplying power to each component. The power source may be logically connected to the processor 110 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 16 The terminal structure shown does not limit the terminal. The terminal may include more or fewer components than shown in the figure, or combine some components, or have different component arrangements, which will not be elaborated here.
[0482] It should be understood that in the embodiments of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processing unit 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. The other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here.
[0483] In the embodiments of the present application, after receiving the downlink data from the network-side device, the radio frequency unit 101 processes it for the processor 110; in addition, it sends the uplink data to the network-side device. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc.
[0484] The memory 109 can be used to store software programs or instructions as well as various data. The memory 109 may mainly include a program or instruction storage area and a data storage area. Among them, the program or instruction storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 109 may include a high-speed random access memory and may also include a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. For example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0485] The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor. Among them, the application processor mainly processes an operating system, a user interface, and application programs or instructions, etc., and the modem processor mainly processes wireless communication, such as a baseband processor. It can be understood that the above-mentioned modem processor may not be integrated into the processor 110 either.
[0486] Among them, the radio frequency unit 101 is used to initiate a computing task request to a network-side device; among them, the computing task request is used to request the allocation of communication resources and / or computing power resources for the target computing task of the terminal device; the computing task request includes the task information of the target computing task; the radio frequency unit 101 is also used to obtain a computing task response from the network-side device, and the computing task response includes: the network element information of the computing network element corresponding to the computing power resources allocated for the target computing task, and / or, the communication resource information allocated for the target computing task.
[0487] Optionally, in the embodiments of the present application, the task information includes at least one of the following: computing task identification information, PDU session identification information corresponding to the computing task, computing task description information, DNN, S-NSSAI; among them, 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 requirements of the computing task, the IP address of the computing task, the port number information corresponding to the computing task.
[0488] Optionally, in the embodiments of the present application, the radio frequency unit 101 is specifically used to initiate a computing task request to a target device in the network; among them, the target device includes at least one of the following: a mobility management network element, a session management network element, a computing power control network element.
[0489] Optionally, in the embodiments of the present application, when the target device is a session management network element, the computing task request is a PDU session establishment request.
[0490] In the terminal device provided in the embodiments of the present application, the terminal device may initiate a computing task request (including the task information of the target computing task) to the network-side device, so as to request the allocation of communication resources and / or computing power resources for the target computing task, and obtain a computing task response from the network-side device. The computing task response includes: the network element information of the computing network element corresponding to the computing power resources allocated for the target computing task of the terminal device, and / or, the communication resource information allocated for the target computing task of the terminal device. Thereby, it can be ensured that the operator network can allocate corresponding communication resources for the target computing task of the terminal device, so that the relevant data of the computing task of the terminal device can be transmitted to the computing power resources (such as, computing network elements), and the computing result is fed back after being calculated by the computing power resources. In this way, ordinary terminal devices can complete computing tasks without having very strong computing capabilities, saving the cost and power consumption of the terminal devices, etc.
[0491] The embodiments of the present application further provide a network-side device, including a processor and a communication interface. The embodiments of this network-side device correspond to the method embodiments of the above network-side device. Each implementation process and implementation manner of the above method embodiments can be applied to the embodiments of this network-side device and can achieve the same technical effects.
[0492] In an example, the network-side device is a computing power control network element, including a processor and a communication interface. Among them, the processor is used to obtain a first computing task request; the first computing task request is used to request the allocation of computing power resources for the target computing task of the user equipment terminal device; the first computing task request includes the task information of the target computing task; and it is also used to allocate computing power resources for the target computing task according to the task information.
[0493] In an example, the network-side device is a session management network element, including a processor and a communication interface. Among them, the processor is used to obtain a second computing task request; the second computing task request is used to request the allocation of communication resources for the target computing task of the terminal device; the second computing task request includes the task information of the target computing task; and it is also used to allocate communication resources for the target computing task according to the task information.
[0494] In one example, the network-side device is a mobility management network element, including a processor and a communication interface. The processor is configured to obtain a third computing task request, where the third computing task request includes task information of a target computing task of a user equipment (terminal device); the communication interface is configured to send a first computing task request to a computing power control network element, where the first computing task request is used to request allocation of computing power resources and / or communication resources for the target computing task; and / or, to send a second computing task request to a session management network element, where the second computing task request is used to request allocation of communication resources and / or computing power resources for the target computing task.
[0495] In a seventeenth aspect, a policy control network element is provided, including a processor and a communication interface. The processor is configured to obtain a target QoS policy request; the target QoS policy request is used to request the policy control network element to generate a target QoS policy corresponding to the target computing task; the target QoS policy request includes the task information of the target computing task; and is further configured to generate a target QoS policy corresponding to the target computing task according to the task information. The target QoS policy includes at least one of the following: a computing power QoS policy, a communication QoS policy.
[0496] An embodiment of the present application further provides a network-side device 901. As Figure 17 shown, the network-side device according to the embodiment of the present invention includes: a processor 91, a transceiver 92, a memory 93, a network interface 94, and a bus interface. In Figure 17 this case, the bus architecture may include any number of interconnected buses and bridges, specifically, various circuits represented by one or more processors represented by the processor 91 and a memory represented by the memory 93 are linked together. 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 thus will not be further described herein. The bus interface provides an interface. The transceiver 92 may be multiple elements, that is, including a transmitter and a receiver, and provides a unit 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 may store data used by the processor 91 when performing operations. In addition, the network-side device further includes some functional modules not shown, which will not be elaborated here.
[0497] Specifically, the network-side device further includes: instructions or programs stored on the memory 93 and executable on the processor 91. The processor 91 calls the instructions or programs in the memory 93 to execute Figure 10 or Figure 11 or Figure 13 or Figure 14 the methods executed by the modules shown, and achieve the same technical effects. To avoid repetition, they will not be elaborated here.
[0498] The embodiments of the present application further provide a readable storage medium. A program or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the resource allocation method in the above-mentioned method embodiments of the computing task is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described herein again.
[0499] Wherein, the processor is the processor in the terminal described in the above 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 disc, etc.
[0500] The embodiments of the present application further provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run a program or instructions to implement each process of the resource allocation method in the above-mentioned method embodiments of the computing task, and the same technical effect can be achieved. To avoid repetition, details are not described herein again.
[0501] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system chip, a chip system, or a system-on-chip, etc.
[0502] It should be noted that in this document, the term "comprising", "including" or any other variation thereof is intended to cover a non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising a..." does not exclude the presence of additional identical elements in the process, method, article or device comprising such element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.
[0503] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present application.
[0504] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.
Claims
1. A resource allocation method for computing tasks, characterized in that, The method includes: The session management network element obtains a second computing task request; wherein, the second computing task request is used to request to allocate communication resources for a target computing task of a terminal device; the second computing task request includes task information of the target computing task; The session management network element allocates communication resources for the target computing task according to the task information; The method further includes: The session management network element obtains a communication Quality of Service (QoS) policy for the target computing task; The session management network element allocating communication resources for the target computing task according to the task information includes: 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.
2. The method according to claim 1, characterized in that, The session management network element allocating communication resources for the target computing task according to the task information includes: The session management network element establishes a tunnel in a Packet Data Unit (PDU) session for the terminal device according to the task information; Wherein, the tunnel in the PDU session is used to transmit data of the target computing task.
3. The method according to claim 1, characterized in that The task information includes at least one of the following: computing task identification information, PDU session identification information corresponding to the computing task, computing task description information, DNN, 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 requirements of the computing task, IP address of the computing task.
4. The method according to claim 1, characterized in that, The session management network element obtaining the communication QoS policy for the target computing task includes: The session management network element sends a communication QoS policy request to a policy control network element; the communication QoS policy request is used to request the policy control network element to generate a communication QoS policy corresponding to the target computing task; The session management network element obtains the communication QoS policy from the policy control network element.
5. The method according to claim 1, characterized in that, The method further includes: The session management network element receives a computing power QoS policy request from a computing power control network element, and the computing power QoS policy request is used to request computing power QoS requirements corresponding to the target computing task; The session management network element sends the computing power QoS policy request to the policy control network element; The session management network element obtains the computing power QoS policy from the policy control network element; The session management network element sends the computing power QoS policy to the computing power control network element.
6. The method according to claim 1, characterized in that, The task information includes service requirements of the target computing task; The session management network element obtaining the communication QoS policy for the target computing task includes: The session management network element determines a communication QoS policy corresponding to the target computing task according to the service requirements of the target computing task.
7. The method according to claim 6, characterized in that, The session management network element determining a communication QoS policy corresponding to the target computing task according to the service requirements of the target computing task includes: The session management network element determines a communication QoS policy corresponding to the target computing task according to the service requirements of the target computing task and the computing power QoS policy corresponding to the target computing task.
8. The method according to claim 1, wherein The session management network element obtaining the second computing task request includes: The session management network element obtains the second computing task request from the mobility management network element, and the second computing task request includes a packet data unit (PDU) session establishment request.
9. The method according to claim 1, wherein The method further includes: The session management network element sends a second computing task response to the terminal device, and the second computing task response includes partial or all information of the communication QoS corresponding to the target computing task.
10. The method according to claim 1, characterized in that The method further includes: The session management network element sends a first computing task request to the computing power control network element based on the second computing task request; wherein, the first computing task request is used to request the computing power control network element to allocate computing power resources for the target computing task.
11. The method according to claim 1, wherein After the session management network element allocates communication resources for the target computing task according to the task information, the method further includes: The session management network element sends the allocation status of the communication resources to the computing power control network element; or, The session management network element receives the allocation status of the computing power resources from the computing power control network element.
12. A resource allocation method for computing tasks, characterized in that, The method includes: The computing power control network element obtains a first computing task request; wherein, the first computing task request is used to request the allocation of computing power resources for the target computing task of the terminal device; the first computing task request includes the task information of the target computing task; The computing power control network element allocates computing power resources for the target computing task according to the task information; The method further includes: The computing power control network element receives the allocation status information of the communication resources from the session management network element; The method further includes: The computing power control network element obtains the computing power QoS policy corresponding to the target computing task; The computing power control network element allocating computing power resources for the target computing task according to the task information includes: The computing power control network element allocates computing power resources for the target computing task according to the task information and the computing power QoS policy.
13. The method according to claim 12, characterized in that, The computing power control network element allocating computing power resources for the target computing task according to the task information includes: The computing power control network element selects a computing network element according to the task information; wherein, the computing network element can provide the computing power resources corresponding to the target computing task.
14. The method according to claim 12, wherein The computing power resources include at least one of the following: computing resources and storage resources.
15. The method according to claim 12, wherein The task information includes at least one of the following: computing task identification information, PDU session identification information corresponding to the computing task, computing task description information, data network name (DNN), single network slice selection assistance information (S-NSSAI); wherein, the target computing task description information includes at least one of the following: the type of the target computing task, the purpose of the target computing task, the service requirements of the target computing task, the IP address of the target computing task, and the port number information corresponding to the target computing task.
16. The method according to claim 12, characterized in that, The computing power control network element obtaining the computing power QoS policy corresponding to the target computing task includes: The computing power control network element sends a computing power QoS policy request to the policy control network element; the computing power QoS policy request is used to request the computing power QoS policy corresponding to the target computing task; The computing power control network element obtains the computing power QoS policy from the policy control network element.
17. The method according to claim 16, wherein The computing power control network element sends a computing power QoS policy to the policy control network element, including: The computing power control network element sends a computing power QoS policy request to the policy control network element through the session management network element; The computing power control network element obtains the computing power QoS policy from the policy control network element, including: The computing power control network element obtains the computing power QoS policy from the policy control network element through the session management network element.
18. The method according to claim 16, wherein The computing power control network element obtains the computing power QoS policy corresponding to the target computing task, including: The computing power control network element determines the computing power QoS policy corresponding to the target computing task according to the service requirements of the computing task included in the task information of the target computing task.
19. The method according to claim 12, wherein The computing power control network element obtains a computing task request, including: The computing power control network element obtains a first computing task request from a first device; Wherein, the first device includes any one of the following: a mobility management network element, a session management network element, or an access network device.
20. The method according to claim 12, characterized in that, After the computing power control network element allocates computing power resources for the target computing task according to the task information, the method further includes: The computing power control network element sends a first computing task response to the terminal device; Wherein, the first computing task response includes the network element information of the computing network element corresponding to the computing power resources, and the network element information includes: network element identification information or network element address information.
21. The method according to claim 20, wherein The first computing task response further includes: associated PDU session identification information.
22. The method according to claim 20, wherein The computing power control network element sends a first computing task response to the terminal device, including: The computing power control network element sends the first computing task response to the terminal device through the first device; Wherein, the first device includes any one of the following: a mobility management network element, a session management network element, or an access network device.
23. The method according to claim 12, characterized in that, The method further includes: The computing power control network element sends the allocation status information of the computing power resources to the session management network element.
24. The method according to any one of claims 12 to 23, characterized in that The service requirements of the computing task include at least one of the following: the latency requirement of the computing task, the accuracy requirement of the computing task.
25. The method according to any one of claims 12, characterized in that The computing power QoS corresponding to the computing power QoS policy includes at least one of the following: computing power, sample data volume, storage, computing latency, computing accuracy rate, computing speed.
26. A method for a network to allocate computing task resources, characterized in that, The method includes: The mobility management network element obtains a third computing task request, and the third computing task request includes the task information of the target computing task of the terminal device; The mobility management network element sends a first computing task request to the computing power control network element, and the first computing task request is used to request the allocation of computing power resources and / or communication resources for the target computing task; And / or, The mobility management network element sends a second computing task request to the session management network element, and the second computing task request is used to request the allocation of communication resources and / or computing power resources for the target computing task; the second computing task request is used for the session management network element to allocate communication resources for the target computing task according to the task information and the communication QoS policy of the target computing task.
27. The method according to claim 26, characterized in that, The task information includes at least one of the following: computing task identification information, packet data unit (PDU) session identification information corresponding to the computing task, computing task description information, DNN, S-NSSAI; Among them, the computing task description information includes at least one of the following: type of the computing task, purpose of the computing task, service requirements of the computing task, IP address of the computing task, port number information corresponding to the computing task.
28. The method according to claim 26, wherein The method further includes: The mobility management network element selects a target device according to the third computing task request; Among them, the target device includes any one of the following: the session management network element, the computing power control network element.
29. The method according to claim 28, wherein The mobility management network element selects the target device according to the third computing task request, including: The mobility management network element selects the target device according to the first information included in the third computing task request; Among them, the first information includes at least one of the following: target area, subscription information corresponding to the target computing task of the terminal device, computing task description information.
30. The method according to claim 28 or 29, characterized in that If the target device is the session management network element, the session management network element supports establishing a PDU session for the target computing task; Or, If the target device is the computing power control network element, the computing power control network element supports selecting a computing network element for the target computing task, and the computing network element can provide computing power resources corresponding to the target computing task.
31. The method according to claim 26, wherein The method further includes: The mobility management network element sends a third computing task response to the terminal device; Among them, the third computing task response includes: network element information and / or communication resource information of the computing network element corresponding to the computing power resource.
32. The method according to claim 31, wherein The third computing task response further includes: computing task identification information, and / or, PDU session identification information corresponding to the associated computing task.
33. The method according to claim 26, wherein The mobility management network element sends a second computing task request to the session management network element, including: The mobility management network element sends a PDU session establishment request to the session management network element.
34. A method for a network to allocate computing task resources, characterized in that, The method includes: The policy control network element obtains a target QoS policy request; the target QoS policy request is used to request the policy control network element to generate a target QoS policy corresponding to the target computing task; the target QoS policy request includes the task information of the target computing task; The policy control network element generates a target QoS policy corresponding to the target computing task according to the task information; Among them, the target QoS policy includes: computing power QoS policy and communication QoS policy, or communication QoS policy.
35. The method according to claim 34, characterized in that, The target QoS policy request includes a communication QoS policy request and / or a computing power QoS policy request; the communication QoS policy request is used to request the policy control network element to generate a communication QoS policy corresponding to the target computing task; The computing power QoS policy request is used to request the policy control network element to generate a computing power QoS policy corresponding to the target computing task.
36. The method according to claim 34, wherein The task information includes at least one of the following: computing task identification information, a PDU session identifier corresponding to the computing task, computing task description information, DNN, and S-NSSAI.
37. The method according to claim 34, wherein The policy control network element obtains a target QoS policy request, including: The policy control network element obtains the target QoS policy request from the session management network element; and / or, The policy control network element obtains the target QoS policy request from the computing power control network element.
38. The method according to claim 34, characterized in that, The policy control network element generates a target QoS policy corresponding to the target computing task according to the task information, including: The policy control network element generates the target QoS policy according to the service requirements of the target computing task.
39. The method according to claim 38, wherein The policy control network element generates a target QoS policy corresponding to the target computing task according to the task information, including: The policy control network element generates a delay policy in the target QoS policy according to the delay requirement of the service requirement of the target computing task; and / or, The policy control network element generates a calculation accuracy rate policy in the target QoS policy according to a calculation readiness rate requirement of a service requirement of the target calculation task.
40. The method according to claim 34, characterized in that, The method further comprises: The policy control network element sends the target QoS policy to the session management network element; and / or, The policy control network element sends the target QoS policy to the computing power control network element.
41. A method for a network to allocate computing task resources, characterized in that, The method comprises: The terminal device initiates a computing task request to the network side device; wherein the computing task request is used to request the allocation of communication resources and / or computing power resources for the target computing task of the terminal device; the computing task request includes the task information of the target computing task; the computing task request is used for the session management network element to allocate communication resources to the target computing task according to the task information and the communication QoS policy of the target computing task; The terminal device obtains a computing task response from the network side device, and the computing task response includes: network element information of the computing network element corresponding to the computing power resources allocated to the target computing task and communication resource information allocated to the target computing task, or communication resource information allocated to the target computing task.
42. The method according to claim 41, wherein The task information includes at least one of the following: computing task identification information, PDU session identification information corresponding to the computing task, computing task description information, DNN, S-NSSAI; 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.
43. The method according to claim 41, wherein The terminal device initiates a computing task request to the network side device, including: The terminal device initiates a computing task request to a target device in the network; The target device includes at least one of the following: Mobility management network element, the session management network element, and computing power control network element.
44. The method according to claim 42, wherein The method further comprises: When the target device is the session management network element, the computing task request is a PDU session establishment request.
45. A resource allocation device for a computing task, characterized in that, The device comprises: An obtaining module, configured to obtain a second computing task request; wherein, the second computing task request is used to request the allocation of communication resources for a target computing task of a terminal device; the second computing task request includes task information of the target computing task; An allocation module, configured to allocate communication resources for the target computing task according to the task information; The obtaining module is further configured to obtain a communication QoS policy of the target computing task; The allocation module is specifically configured to allocate communication resources for the target computing task according to the task information and the communication QoS policy of the target computing task.
46. A resource allocation device for a computing task, characterized in that, The apparatus includes: An obtaining module, configured to obtain a first computing task request; wherein, the first computing task request is used to request the allocation of computing power resources for a target computing task of a terminal device; the first computing task request includes task information of the target computing task; An allocation module, configured to allocate computing power resources for the target computing task according to the task information; A receiving module, configured to receive allocation status information of communication resources from a session management network element; The obtaining module is further configured to obtain a computing power QoS policy corresponding to the target computing task; The allocation module is specifically configured to allocate computing power resources for the target computing task according to the task information and the computing power QoS policy.
47. A device for allocating computing task resources in a network, characterized in that, The apparatus includes: An obtaining module, configured to obtain a third computing task request, where the third computing task request includes task information of a target computing task of a terminal device; A sending module, configured to send a first computing task request to a computing power control network element, where the first computing task request is used to request the allocation of computing power resources and / or communication resources for the target computing task; and / or, send a second computing task request to a session management network element, where the second computing task request is used to request the allocation of communication resources and / or computing power resources for the target computing task; the second computing task request is used for the session management network element to allocate communication resources for the target computing task according to the task information and the communication QoS policy of the target computing task.
48. A device for allocating computing task resources in a network, characterized in that, The apparatus includes: An obtaining module, configured to obtain a target QoS policy request; the target QoS policy request is used to request a policy control network element to generate a target QoS policy corresponding to a target computing task; the target QoS policy request includes task information of the target computing task; A generating module, configured to generate a target QoS policy corresponding to the target computing task according to the task information; wherein, the target QoS policy includes at least one of the following: a computing power QoS policy and a communication QoS policy, or a communication QoS policy.
49. A device for allocating computing task resources in a network, characterized in that, The apparatus includes: A sending module, configured to initiate a computing task request to a network-side device; wherein, the computing task request is used to request the allocation of communication resources and / or computing power resources for a target computing task of a terminal device; the computing task request includes task information of the target computing task; the computing task request is used for the session management network element to allocate communication resources for the target computing task according to the task information and the communication QoS policy of the target computing task. An acquisition module, configured to acquire a computing task response from the network-side device, where the computing task response includes: network element information of a computing network element corresponding to computing power resources allocated for the target computing task and communication resource information allocated for the target computing task, or communication resource information allocated for the target computing task.
50. A session management network element, characterized in that, It includes 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, it implements the steps of the resource allocation method for the computing task according to any one of claims 1 to 11.
51. A computing power control network element, characterized in that, It includes 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, it implements the steps of the resource allocation method for the computing task according to any one of claims 12 to 25.
52. A policy control network element, characterized in that, It includes 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, it implements the steps of the resource allocation method for the computing task according to any one of claims 34 to 40.
53. A terminal device, characterized in that, It includes 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, it implements the steps of the resource allocation method for the computing task according to any one of claims 41 to 44.
Citation Information
Patent Citations
User plane function configuration method, device and equipment
CN110830282A
Service distribution method and device
CN111866162A
UPF determination method and device
CN113115332A