US-12627616-B2 - Policy determining or resource allocation method for computing service and network element
Abstract
A policy determining or resource allocation method includes obtaining, by a policy control network element and a computing service request from a server. The computing service request includes computing service description information of a target computing service of a terminal device, and the computing service request is used for requesting allocation of computing power resources for the target computing service; and determining, by the policy control network element, a target QoS policy for the target computing service based on the computing service description information. The target QoS policy includes a computing power QoS policy.
Inventors
- Weiwei CHONG
- Yanchao KANG
- Xiaobo Wu
Assignees
- VIVO MOBILE COMMUNICATION CO., LTD.
Dates
- Publication Date
- 20260512
- Application Date
- 20240209
- Priority Date
- 20210810
Claims (17)
- 1 . A policy determining method for a computing service, wherein the method comprises: obtaining, by a policy control network element, a computing service request from a server, wherein the computing service request includes computing service description information of a target computing service of a terminal device, and the computing service request is used for requesting allocation of computing power resources and communication resources for the target computing service; determining, by the policy control network element, a target quality of service (QoS) policy for the target computing service based on the computing service description information, wherein the target QoS policy comprises a computing power QoS policy and a communication QoS policy; and sending, by the policy control network element, service information and the communication QoS policy for the target computing service of the terminal device to a session management network element, and sending, by the policy control network element, the service information and the computing power QoS policy for the target computing service of the terminal device to a computing power control network element; wherein the communication QoS policy is used to trigger the session management network element to allocate the communication resources for the target computing service based on the communication QoS policy; and the computing power QoS policy is used to trigger the computing power control network element to allocate the computing power resources for the target computing service based on the computing power QoS policy.
- 2 . The method according to claim 1 , wherein the computing service description information comprises at least one of the following: a type of the computing service, an aim of the computing service, a service requirement of the computing service, an IP address of the computing service, or port number information corresponding to the computing service.
- 3 . The method according to claim 1 , wherein the determining, by the policy control network element, a target QoS policy for the target computing service based on the computing service description information comprises: obtaining, by the policy control network element, a computing power QoS requirement by breaking down a service requirement of the target computing service based on the computing service description information; and determining, by the policy control network element, the computing power QoS policy for the target computing service based on the computing power QoS requirement.
- 4 . The method according to claim 1 , wherein the determining, by the policy control network element, a target QoS policy for the target computing service based on the computing service description information comprises: obtaining, by the policy control network element, a computing power QoS requirement and a communication QoS requirement by breaking down a service requirement of the computing service based on the service requirement of the computing service in the computing service description information; and determining, by the policy control network element, the computing power QoS policy for the target computing service based on the computing power QoS requirement and the communication QoS policy for the target computing service based on the communication QoS requirement.
- 5 . The method according to claim 1 , wherein after sending, by the policy control network element, the computing power QoS policy to the computing power control network element, the method further comprises: receiving, by the policy control network element from the computing power control network element, network element information of a computing network element corresponding to the computing power resources, wherein the network element information comprises network element identifier information or network element address information; and sending, by the policy control network element, a computing service response to the server, wherein the computing service response includes the network element information of the computing network element.
- 6 . The method according to claim 1 , wherein sending, by the policy control network element, the communication QoS policy to the session management network element comprises: in a case that the communication QoS policy is different from a current communication QoS policy corresponding to the terminal device, sending, by the policy control network element, a policy modification request to the session management network element, wherein the policy modification request includes the communication QoS policy.
- 7 . A resource allocation method for a computing service, wherein the method comprises: obtaining, by a session management network element, service information and a communication quality of service (QoS) policy for a target computing service of a terminal device from a policy control network element; and allocating, by the session management network element, communication resources for the target computing service based on the service information and the communication QoS policy; wherein the communication QoS policy is used to trigger the session management network element to allocate the communication resources for the target computing service based on the communication QoS policy; wherein the method further comprises: obtaining, by the session management network element, a computing power QoS policy corresponding to the target computing service from the policy control network element; and sending, by the session management network element, the service information and the computing power QoS policy to a computing power control network element, wherein the computing power QoS policy is used to trigger the computing power control network element to allocate computing power resources for the target computing service based on the computing power QoS policy.
- 8 . The method according to claim 7 , wherein the allocating, by the session management network element, communication resources for the target computing service based on the service information and the communication QoS policy comprises: establishing, by the session management network element, a tunnel for a packet data unit (PDU) session of the terminal device based on the service information and the communication QoS policy; wherein the tunnel for the PDU session is used for transmitting data of the target computing service.
- 9 . The method according to claim 7 , wherein the service information comprises at least one of the following: computing service identification information, PDU session identifier information associated with the computing service, computing service description information, a data network name (DNN), or single network slice selection assistance information (S-NSSAI); wherein the computing service description information comprises at least one of the following: a type of the computing service, an aim of the computing service, a service requirement of the computing service, an IP address of the computing service, or port number information corresponding to the computing service.
- 10 . The method according to claim 7 , wherein the obtaining, by a session management network element, service information and a communication QoS policy for a target computing service of a terminal device from a policy control network element comprises: obtaining, by the session management network element, a policy modification request from the policy control network element, wherein the policy modification request includes the service information and the communication QoS policy for the target computing service.
- 11 . A resource allocation method for a computing service, wherein the method comprises: obtaining, by a computing power control network element, service information and a computing power quality of service (QoS) policy for a target computing service of a terminal device from a policy control network element or a session management network element; and allocating, by the computing power control network element, computing power resources for the target computing service based on the service information and the computing power QoS policy; wherein the computing power QoS policy is used to trigger the computing power control network element to allocate the computing power resources for the target computing service based on the computing power QoS policy; wherein the session management network element is used to obtain the computing power QoS policy and a communication QoS policy from the policy control network element, and the communication QoS policy is used to trigger the session management network element to allocate communication resources for the target computing service based on the communication QoS policy.
- 12 . The method according to claim 11 , wherein the allocating, by the computing power control network element, computing power resources for the target computing service based on the service information and the computing power QoS policy comprises: selecting, by the computing power control network element, a computing network element based on the service information and the computing power QoS policy; wherein the computing network element is capable of providing the computing power resources for the target computing service.
- 13 . The method according to claim 11 , wherein the obtaining, by a computing power control network element, service information and a computing power QoS policy for a target computing service of a terminal device from a policy control network element or a session management network element comprises: obtaining, by the computing power control network element from the policy control network element, the service information and the computing power QoS policy; or obtaining, by the computing power control network element, the service information and the computing power QoS policy from the session management network element.
- 14 . The method according to claim 11 , wherein after the allocating, by the computing power control network element, computing power resources for the target computing service based on the service information and the computing power QoS policy, the method further comprises: sending, by the computing power control network element, a first computing service response to the session management network element or the policy control network element; wherein the first computing service response includes network element information of a computing network element corresponding to the computing power resources, and the network element information comprises network element identifier information or network element address information.
- 15 . A policy control network element, comprising a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein when the program or instructions are executed by the processor, the steps of the policy determining method for a computing service according to claim 1 .
- 16 . A session management network element, comprising a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein when the program or instructions are executed by the processor, the steps of the resource allocation method for a computing service according to claim 7 .
- 17 . A computing power control network element, comprising a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein when the program or instructions are executed by the processor, the steps of the resource allocation method for a computing service according to claim 11 .
Description
CROSS-REFERENCES TO RELATED APPLICATIONS This application is a Bypass Continuation Application of International Patent Application No. PCT/CN2022/111187, filed Aug. 9, 2022, and claims priority to Chinese Patent Application No. 202110914787.2, filed Aug. 10, 2021, the disclosures of which are hereby incorporated by reference in their entireties. BACKGROUND OF THE INVENTION Field of the Invention Embodiments of this application relate to the field of communications technologies, and in particular, to a policy determining or resource allocation method for a computing service and a network element. Description of Related Art A packet data unit (PDU) session modification procedure of user equipment (UE) includes the following steps: When data transmission is required between a server and a UE, a service establishment procedure is initiated to a policy control network element (PCF), so that the PCF triggers a PDU session modification procedure with a session management network element (SMF); during the PDU session modification procedure, a quality of service (QOS) flow (QOS flow) in the PDU session may be modified or a new QoS flow may be established; and subsequently, the server may transmit data based on the modified QoS flow or the new corresponding QoS flow for the PDU session. However, currently, operator networks can provide only data transmission pipelines (for data transmission between UEs and target nodes) with a quality of service guarantee but cannot provide open computing power resources for terminal devices, other network devices, third-party devices, and the like. SUMMARY OF THE INVENTION Embodiments of this application provide a policy determining or resource allocation method and apparatus for a computing service, a network element, and a medium. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a possible architecture of a communications system according to an embodiment of this application; FIG. 2 is a schematic flowchart of a policy determining method for a computing service according to an embodiment of this application; FIG. 3 is a first schematic flowchart of a resource allocation method for a computing service according to an embodiment of this application; FIG. 4 is a second schematic flowchart of a resource allocation method for a computing service according to an embodiment of this application; FIG. 5 is a third schematic flowchart of a resource allocation method for a computing service according to an embodiment of this application; FIG. 6 is a fourth schematic flowchart of a resource allocation method for a computing service according to an embodiment of this application; FIG. 7 is a fifth schematic flowchart of a resource allocation method for a computing service according to an embodiment of this application; FIG. 8 is a schematic structural diagram of a policy determining apparatus for a computing service according to an embodiment of this application; FIG. 9 is a first schematic structural diagram of a resource allocation apparatus for a computing service according to an embodiment of this application; FIG. 10 is a second schematic structural diagram of a resource allocation apparatus for a computing service according to an embodiment of this application; FIG. 11 is a schematic structural diagram of a communications device according to an embodiment of this application; and FIG. 12 is a schematic structural diagram of a network-side device according to an embodiment of this application. DESCRIPTION OF THE INVENTION The following clearly describes the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Apparently, the described embodiments are some but not all of the embodiments of this application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of this application shall fall within the protection scope of this application. The terms “first”, “second”, and the like in this specification and claims of this application are used to distinguish between similar objects rather than to describe a specific order or sequence. It should be understood that terms used in this way are interchangeable in appropriate circumstances so that the embodiments of this application can be implemented in other orders than the order illustrated or described herein. In addition, “first” and “second” are usually used to distinguish objects of a same type, and do not restrict a quantity of objects. For example, there may be one or a plurality of first objects. In addition, “and/or” in the specification and claims represents at least one of connected objects, and the character “/” generally indicates that the associated objects have an “or” relationship. It should be noted that the technologies described in the embodiments of this application are not limited to long term evolution (LTE)/LTE-Advanced (LTE-A) systems, and may also be used in other wireless