Ai service releasing method and device
By realizing the release methods and equipment of AI services in the communication system, the problem of untimely resource release after the AI service is completed is solved, and the flexible recycling and management of resources is realized, meeting the resource needs of a large number of AI services.
Patent Information
- Application Number
- PCT/CN2024/108533
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-02
- Filing Date
- 2024-07-30
- Publication Date
- 2025-02-06
AI Technical Summary
The current communication system cannot release communication resources and computing resources in a timely and reasonable manner after the AI service is completed, resulting in great pressure on network resource management and cannot meet the needs of a large number of subsequent AI services.
A method and device for releasing AI services are provided, and by receiving a releasing request message, determining an associated device, and sending a releasing request message to release AI resources, communication resources and service resources.
It realizes the flexible release process of AI services, dynamically recycles resources, meets the resource needs of a large number of AI services, and reduces the pressure on network resource management.
Smart Images

Figure CN2024108533_06022025_PF_FP_ABST
Abstract
Description
Method and equipment for releasing AI services
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese Patent Application No. 202310968237.8 filed in China on August 2, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application belongs to the field of communication technology, and specifically relates to a method and device for releasing an AI service. Background Art
[0004] Artificial Intelligence (AI) is a field that enables intelligent machines to think and make decisions similar to humans through extensive data and model training. Its research encompasses robotics, speech recognition, image recognition, and natural language processing. With the continuous convergence of computing and communications, AI, as one of the future mainstream computing technologies, is increasingly favored by the communications sector.
[0005] Current communication systems are typically designed around sessions. With the advancement of AI research, future communication systems are expected to adopt architectures designed around AI services. This means that the communication system will provide the necessary communication and computing resources for AI services. Due to limited communication and computing resources, failure to release them promptly and appropriately after a task completes places significant pressure on network resource management, hindering the ability to meet the demands of subsequent large-scale AI services. Therefore, how to release AI services remains a challenge for those skilled in the art.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a method and device for releasing an AI service, which can solve the problem of how to release an AI service.
[0008] First, a method for releasing an AI service is provided, including:
[0009] The first device receives a first release request message sent by the second device, where the first release request message is used to request the release of service resources associated with the artificial intelligence (AI) service;
[0010] The first device sends a first release response message to the second device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released;
[0011] The first device performs at least one of the following operations based on the first release request message:
[0012] Determining at least one of a third device, a fourth device, and a fifth device associated with the AI service;
[0013] Sending a second release request message to a third device, where the second release request message is used to request the release of AI resources allocated for the AI service;
[0014] Sending a third release request message to the fourth device, where the third release request message is used to request the release of communication resources allocated for the AI service;
[0015] Send a fourth release request message to the third device, the fourth device, or the fifth device, where the fourth release request message is used to request the third device, the fourth device, or the fifth device to release the service resources associated with the AI service.
[0016] Secondly, a method for releasing AI services is provided, including:
[0017] The second device sends a first release request message to the first device, where the first release request message is used to request the release of service resources associated with the AI service;
[0018] The second device receives a first release response message sent by the first device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released.
[0019] Thirdly, a method for releasing AI services is provided, including:
[0020] The third device receives a second release request message sent by the first device, where the second release request message is used to request the third device to release the AI resources allocated for the AI service;
[0021] The third device sends a second release response message to the first device, indicating whether the AI resource is successfully released;
[0022] or,
[0023] The third device receives a fourth release request message sent by the first device, where the fourth release request message is used to request the third device to release service resources associated with the AI service;
[0024] The third device sends a fourth release response message to the first device, where the fourth release response message is used to indicate whether the third device successfully releases the service resources associated with the AI service.
[0025] Fourthly, a method for releasing AI services is provided, including:
[0026] The fourth device receives a third release request message sent by the first device, where the third release request message is used by the fourth device to release communication resources allocated for the AI service;
[0027] The fourth device sends a third release response message to the first device, where the third release response message is used to indicate whether the communication resource is successfully released;
[0028] or,
[0029] The fourth device receives a fourth release request message sent by the first device, where the fourth release request message is used to request the fourth device to release service resources associated with the AI service;
[0030] The fourth device sends a fourth release response message to the first device, where the fourth release response message is used to indicate whether the fourth device successfully releases the service resources associated with the AI service.
[0031] Fifthly, a method for releasing AI services is provided, including:
[0032] The fifth device receives a fourth release request message sent by the first device, where the fourth release request message is used to request the fifth device to release the service resources associated with the AI service.
[0033] The fifth device sends a fourth release response message to the first device, where the fourth release response message is used to indicate whether the fifth device successfully releases the service resources associated with the AI service.
[0034] In a sixth aspect, a method for releasing an AI service is provided, including:
[0035] The seventh device receives a seventh release request message sent by the third device, where the seventh release request message is used to request the release of AI resources allocated for the AI service, and the seventh release request message includes at least one of the following: an AI resource management function address, AI session information, and AI service information;
[0036] The seventh device sends a seventh release response message to the third device, where the seventh release response message is used to indicate whether the AI resource is successfully released.
[0037] In a seventh aspect, a device for releasing an AI service is provided, including:
[0038] A receiving module, configured to receive a first release request message sent by a second device, where the first release request message is used to request the release of service resources associated with an artificial intelligence (AI) service;
[0039] a sending module, configured to send a first release response message to the second device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released;
[0040] an execution module, configured to perform at least one of the following operations based on the first release request message:
[0041] Determining at least one of a third device, a fourth device, and a fifth device associated with the AI service;
[0042] Sending a second release request message to a third device, where the second release request message is used to request the release of AI resources allocated for the AI service;
[0043] Sending a third release request message to the fourth device, where the third release request message is used to request the release of communication resources allocated for the AI service;
[0044] Send a fourth release request message to the third device, the fourth device, or the fifth device, where the fourth release request message is used to request the third device, the fourth device, or the fifth device to release the service resources associated with the AI service.
[0045] In an eighth aspect, a device for releasing an AI service is provided, including:
[0046] a sending module, configured to send a first release request message to the first device, where the first release request message is used to request the release of service resources associated with the AI service;
[0047] A receiving module is used to receive a first release response message sent by the first device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released.
[0048] In a ninth aspect, a device for releasing an AI service is provided, including:
[0049] a receiving module, configured to receive a second release request message sent by the first device, where the second release request message is used to request the third device to release AI resources allocated for the AI service;
[0050] a sending module, configured to send a second release response message to the first device, indicating whether the AI resource is successfully released;
[0051] or,
[0052] The receiving module is configured to receive a fourth release request message sent by the first device, where the fourth release request message is used to request the third device to release service resources associated with the AI service;
[0053] The sending module is configured to send a fourth release response message to the first device, where the fourth release response message is used to indicate whether the third device has successfully released the service resources associated with the AI service.
[0054] In a tenth aspect, a device for releasing an AI service is provided, including:
[0055] a receiving module, configured to receive a third release request message sent by the first device, where the third release request message is used by the fourth device to release communication resources allocated for the AI service;
[0056] a sending module, configured to send a third release response message to the first device, where the third release response message is used to indicate whether the communication resource is successfully released;
[0057] or,
[0058] The receiving module is configured to receive a fourth release request message sent by the first device, where the fourth release request message is used to request the fourth device to release service resources associated with the AI service;
[0059] The sending module is used to send a fourth release response message to the first device, where the fourth release response message is used to indicate whether the fourth device successfully releases the service resources associated with the AI service.
[0060] In an eleventh aspect, a device for releasing an AI service is provided, including:
[0061] a receiving module, configured to receive a fourth release request message sent by the first device, where the fourth release request message is used to request the fifth device to release service resources associated with the AI service;
[0062] A sending module is used to send a fourth release response message to the first device, where the fourth release response message is used to indicate whether the fifth device successfully releases the service resources associated with the AI service.
[0063] In a twelfth aspect, a device for releasing an AI service is provided, including:
[0064] a receiving module, configured to receive a seventh release request message sent by a third device, where the seventh release request message is used to request the release of AI resources allocated for the AI service, and the seventh release request message includes at least one of the following: an AI resource management function address, AI session information, and AI service information;
[0065] A sending module is configured to send a seventh release response message to the third device, where the seventh release response message is used to indicate whether the AI resource is successfully released.
[0066] In the thirteenth aspect, a first device is provided, which includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.
[0067] In a fourteenth aspect, a first device is provided, including a processor and a communication interface, wherein the communication interface is configured to receive a first release request message sent by a second device, the first release request message being used to request the release of service resources associated with an artificial intelligence (AI) service; and send a first release response message to the second device, the first release response message being used to indicate whether the service resources associated with the AI service are successfully released; and the processor being configured to perform at least one of the following operations based on the first release request message:
[0068] Determining at least one of a third device, a fourth device, and a fifth device associated with the AI service;
[0069] Sending a second release request message to a third device, where the second release request message is used to request the release of AI resources allocated for the AI service;
[0070] Sending a third release request message to the fourth device, where the third release request message is used to request the release of communication resources allocated for the AI service;
[0071] Send a fourth release request message to the third device, the fourth device, or the fifth device, where the fourth release request message is used to request the third device, the fourth device, or the fifth device to release the service resources associated with the AI service.
[0072] In the fifteenth aspect, a second device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the second aspect are implemented.
[0073] In the sixteenth aspect, a second device is provided, including a processor and a communication interface, wherein the communication interface is used to send a first release request message to a first device, wherein the first release request message is used to request the release of service resources associated with the AI service; and receive a first release response message sent by the first device, wherein the first release response message is used to indicate whether the service resources associated with the AI service are successfully released.
[0074] In the seventeenth aspect, a third device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the third aspect are implemented.
[0075] In aspect 18, a third device is provided, including a processor and a communication interface, wherein the communication interface is used to receive a second release request message sent by the first device, the second release request message is used to request the third device to release the AI resources allocated for the AI service; send a second release response message to the first device to indicate whether the AI resources are successfully released; or, the communication interface is used to receive a fourth release request message sent by the first device, the fourth release request message is used to request the third device to release the service resources associated with the AI service; send a fourth release response message to the first device, the fourth release response message is used to indicate whether the third device has successfully released the service resources associated with the AI service.
[0076] In the nineteenth aspect, a fourth device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the fourth aspect are implemented.
[0077] In the twentieth aspect, a fourth device is provided, including a processor and a communication interface, wherein the communication interface is used to receive a third release request message sent by the first device, and the third release request message is used by the fourth device to release the communication resources allocated for the AI service; send a third release response message to the first device, and the third release response message is used to indicate whether the communication resources are successfully released; or, the communication interface is used to receive a fourth release request message sent by the first device, and the fourth release request message is used to request the fourth device to release the service resources associated with the AI service; send a fourth release response message to the first device, and the fourth release response message is used to indicate whether the fourth device has successfully released the service resources associated with the AI service.
[0078] In the twenty-first aspect, a fifth device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the fifth aspect are implemented.
[0079] In the twenty-second aspect, a fifth device is provided, including a processor and a communication interface, wherein the communication interface is used to receive a fourth release request message sent by the first device, wherein the fourth release request message is used to request the fifth device to release the business resources associated with the AI business; and send a fourth release response message to the first device, wherein the fourth release response message is used to indicate whether the fifth device successfully releases the business resources associated with the AI business.
[0080] In the twenty-third aspect, a seventh device is provided, wherein the fifth device includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the sixth aspect are implemented.
[0081] In the twenty-fourth aspect, a seventh device is provided, including a processor and a communication interface, wherein the communication interface is used to receive a seventh release request message sent by a third device, the seventh release request message is used to request the release of AI resources allocated for the AI service, and the seventh release request message includes at least one of the following: an AI resource management function address, AI session information, and AI service information; and send a seventh release response message to the third device, the seventh release response message being used to indicate whether the AI resources are successfully released.
[0082] In aspect 25, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in aspect 1 are implemented, or the steps of the method described in aspect 2 are implemented, or the steps of the method described in aspect 3 are implemented, or the steps of the method described in aspect 4 are implemented, or the steps of the method described in aspect 5 are implemented, or the steps of the method described in aspect 6 are implemented.
[0083] In aspect 26, a wireless communication system is provided, including: a second device, a first device, a third device, a fourth device, a fifth device and a seventh device, wherein the second device can be used to execute the steps of the method described in aspect 1, the first device can be used to execute the steps of the method described in aspect 2, the third device can be used to execute the steps of the method described in aspect 3, the fourth device can be used to execute the steps of the method described in aspect 4, the fifth device can be used to execute the steps of the method described in aspect 5, and the seventh device can be used to execute the steps of the method described in aspect 6.
[0084] In aspect twenty-seven, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method described in aspect one, or the method described in aspect two, or the method described in aspect three, or the method described in aspect four, or the method described in aspect five, or the method described in aspect six.
[0085] In aspect 28, a computer program / program product is provided, which is stored in a storage medium and executed by at least one processor to implement the steps of the policy negotiation method as described in any one of aspects 1 to 6.
[0086] In an embodiment of the present application, a first device receives a first release request message sent by a second device, requesting the release of business resources associated with the AI service; the first device sends a first release response message to the second device, indicating whether the business resources associated with the AI service are successfully released; the first device performs at least one of the following operations based on the first release request message: determining at least one of a third device, a fourth device, and a fifth device associated with the AI service; sending a second release request message to the third device, requesting the release of AI resources allocated for the AI service; sending a third release request message to the fourth device, requesting the release of communication resources allocated for the AI service; sending a fourth release request message to the third device, the fourth device, or the fifth device, requesting the release of business resources associated with the AI service, thereby implementing a release process for the AI service, having greater flexibility, and being able to help dynamically recycle resources to meet the resource requirements of a large number of AI services. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] FIG1 is a schematic diagram of the architecture of a wireless communication system provided in an embodiment of the present application;
[0088] FIG2 is a flow chart of a method for releasing an AI service according to an embodiment of the present application;
[0089] FIG3 is a schematic diagram of a protocol stack of a method for releasing an AI service according to an embodiment of the present application;
[0090] FIG4 is one of the interactive schematic diagrams of the method for releasing an AI service provided in an embodiment of the present application;
[0091] FIG5 is a second interactive diagram of the method for releasing an AI service provided in an embodiment of the present application;
[0092] FIG6 is a second protocol stack diagram of the AI service release method provided in an embodiment of the present application;
[0093] FIG7 is a third protocol stack diagram of the AI service release method provided in an embodiment of the present application;
[0094] FIG8 is a third interactive diagram of the method for releasing an AI service provided in an embodiment of the present application;
[0095] FIG9 is a fourth protocol stack diagram of the AI service release method provided in an embodiment of the present application;
[0096] FIG10 is a fifth protocol stack diagram of the AI service release method provided in an embodiment of the present application;
[0097] FIG11 is a fourth interactive diagram of the method for releasing an AI service provided in an embodiment of the present application;
[0098] FIG12 is a fifth interactive diagram of the method for releasing an AI service provided in an embodiment of the present application;
[0099] FIG13 is a second flow chart of a method for releasing an AI service according to an embodiment of the present application;
[0100] FIG14a is a third flow chart of a method for releasing an AI service according to an embodiment of the present application;
[0101] FIG14b is a fourth flow chart of a method for releasing an AI service according to an embodiment of the present application;
[0102] FIG15a is a fifth flow chart of a method for releasing an AI service according to an embodiment of the present application;
[0103] FIG15b is a sixth flow chart of a method for releasing an AI service according to an embodiment of the present application;
[0104] FIG16 is a seventh flow chart of a method for releasing an AI service according to an embodiment of the present application;
[0105] FIG17 is a flowchart of an eighth method for releasing an AI service according to an embodiment of the present application;
[0106] FIG18 is a schematic diagram of a structure of a device for releasing an AI service according to an embodiment of the present application;
[0107] FIG19 is a second structural diagram of the device for releasing an AI service according to an embodiment of the present application;
[0108] FIG20 is a third structural diagram of the device for releasing an AI service provided in an embodiment of the present application;
[0109] FIG21 is a fourth structural diagram of the device for releasing an AI service provided in an embodiment of the present application;
[0110] FIG22 is a fifth structural diagram of the device for releasing an AI service provided in an embodiment of the present application;
[0111] FIG23 is a sixth structural diagram of the device for releasing an AI service provided in an embodiment of the present application;
[0112] FIG24 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0113] FIG25 is a schematic structural diagram of a terminal according to an embodiment of the present application;
[0114] Figure 26 is a structural diagram of the network side device of an embodiment of the present application. DETAILED DESCRIPTION
[0115] The following will be combined with the accompanying drawings in the embodiments of this application to clearly describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0116] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, 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 do not limit the number of objects, for example, the first object can be one or more. In addition, "or" in this application represents at least one of the connected objects. For example, "A or B" covers three options, namely, Option 1: including A but not including B; Option 2: including B but not including A; Option 3: including both A and B. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0117] The term "indication" in this application can be either a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, the operation to be performed, or the requested result, etc. in the instruction sent; an indirect indication can be understood as the receiver determining the corresponding information based on the instruction sent by the sender, or making a judgment and determining the operation to be performed or the requested result, etc. based on the judgment result.
[0118] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the technology described can be used for the systems and radio technologies mentioned above, as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following description, but these technologies can also be applied to systems other than NR systems, such as 6th generation (6G) systems. th Generation, 6G) communication system.
[0119] FIG1 shows a block diagram of a wireless communication system applicable to an embodiment of the present application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), 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), a virtual reality (VR) device, a robot, a wearable device (Wearable Device), an aircraft (flight vehicle), a vehicle user equipment (VUE), a ship-borne device, a pedestrian user equipment (PUE), a smart home (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), a game console, a personal computer (PC), a teller machine (ATM), or a self-service machine, etc. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be called a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (Wireless Local Area Network, WLAN) access point (Access Point, AP) or a wireless fidelity (Wireless Fidelity, WiFi) node, etc.Among them, the base station can be referred to as Node B (NB), Evolved Node B (eNB), the next generation Node B (gNB), New Radio Node B (NR Node B), access point, Relay Base Station (RBS), Serving Base Station (SBS), Base Transceiver Station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B (HNB), Home Evolved Node B (home evolved Node B), Transmission Reception Point (TRP) or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.
[0120] The core network equipment may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (MME), access mobility management function (AMF), session management function (SMF), user plane function (UPF), policy control function (PCF), policy and charging rules function unit (PCRF), edge application service discovery function (EASDF), unified data management (UDM), unified data repository (UDR), home user server (HSS), centralized network configuration (CNC), network storage function (NRF), network exposure function (NEF), local NEF (L-NEF), binding support function (BSF), application function ( Function, AF), policy charging function, NAS interface function, communication management function, A service management function, AI management function, AI resource management function, AI model management function, AI resource node, communication resource node, etc. It should be noted that in the embodiment of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited.
[0121] First, the nouns involved in the embodiments of this application are introduced:
[0122] 1. There are two understandings of AI sessions and Packet Data Unit (PDU) sessions: one is that AI sessions are carried on PDU sessions. From the data plane perspective, the AI session is carried out in the order of terminal->RAN->UPF (PDU session here)->AI resource node. From the control plane perspective, when establishing an AI session, the AI session establishment request can be placed in the N1 SM container, or a new container of the same level as the N1 SM container can be created and passed to the AMF, which is then sent to the service management function to establish the AI session. Another understanding is that AI sessions and PDU sessions are independent. From the user plane perspective, the PDU session is carried out in the order of terminal->RAN->UPF, and the AI session is carried out in the order of terminal->RAN->AI resource node. In this way, the UPF and AI resource node can be co-located in terms of deployment. The following embodiments mainly describe a solution based on the previous understanding. AI service data is carried on an AI session. An AI session is a special session between a terminal and an AI resource node. The AI session uses the Data Radio Bearer (DRB) of the PDU session for transmission. That is, the user plane data of the AI session is transmitted to the AI resource node for processing using the transmission channel of the existing PDU session. The AI session ID is used to identify the AI session. It is allocated by the terminal when the AI session is established and sent to the network. There is a many-to-one mapping relationship between the AI session ID and the PDU session ID.
[0123] Optionally, in the case where the AI session and the PDU session are independent, the establishment of the AI session is similar to the establishment of a new PDU session, and the AI session is a session that guarantees the QoS of the AI service.
[0124] 2. In the following embodiments, AI service release is the most macroscopic concept; AI service release is divided into communication resource release and AI resource release; communication resource release is further divided into communication bearer release; and AI resource release is further divided into AI bearer release.
[0125] It should be noted that, in order to distinguish different signaling, the AI service resource release mentioned in Examples 3 / 4 / 5 can be understood as the release of AI service resources, including the release of communication resources and AI resources.
[0126] 3. Explanation of communication resources, AI resources, and business resources. Business resources are a collection of resources including communication resources, AI resources, policy resources, and other resources. They are a general term for various resources that provide reliable guarantee links for a certain service. Communication resources are a collection of resources provided by the existing 3GPP to terminals or third parties for communication services, including but not limited to communication links, allocated and scheduled frequency bands, memory of base stations or network elements, signaling forwarding scheduling time and other resources. AI resources are a collection of resources to ensure AI services, including but not limited to the computing power of high-performance computing machines (CPU / GPU, etc.), storage capacity for large amounts of training data, etc. Mapped to the actual link, it can be understood as PDU sessions and AI sessions. The former belongs to the session on the communication resource link, and the latter belongs to the session on the AI resource link.
[0127] 4. Definitions of some network functions are shown in Table 1:
[0128] Table 1
[0129] It should be noted that the AI business management function, AI model management function and AI resource management function can be the same network element and be jointly set up; or the AI business management function and AI resource management function can be the same network element and be jointly set up.
[0130] The following describes in detail the method for releasing the AI service provided in the embodiment of the present application through some embodiments and their application scenarios in conjunction with the accompanying drawings.
[0131] Referring to FIG. 2 , an embodiment of the present application provides a method for releasing an AI service. The execution subject of this embodiment is a first device. The method for releasing an AI service includes:
[0132] Step 101: A first device receives a first release request message sent by a second device, where the first release request message is used to request the release of service resources associated with an artificial intelligence (AI) service.
[0133] Optionally, the second device is a terminal, or a network side device. In the following example figure, a terminal is used for illustration, and the terminal can be replaced by a network side device. The network side device includes at least one of the following: a policy charging function PCF, an access and mobility management function AMF, a session management function SMF, an application server, and a NEF.
[0134] The first device may be a NAS interface function.
[0135] Specifically, the second device sends a first release request message to the first device, requesting to release the service resources corresponding to the AI service, such as the service resources established for the AI service (including communication resources and AI resources).
[0136] AI resources may refer to resources used for AI services, such as resources used for AI sessions, and communication resources may refer to resources used for PDU sessions.
[0137] Optionally, business resources include but are not limited to AI resources, communication resources, policy resources, etc.
[0138] Optionally, the AI service release is triggered in at least one of the following situations:
[0139] When the AI service ends, AF is triggered by PCF;
[0140] If the quality of experience (QoE) requirement is not met, PCF is triggered.
[0141] When the contract is changed or the contract becomes effective, the UDM is triggered through the AMF (NAS interface function) or SMF (communication management function);
[0142] During congestion control, SMF (communication management function) is triggered;
[0143] During congestion control, AMF (NAS interface function) is triggered;
[0144] The access network device (one form is a base station) is triggered via the AMF (NAS interface function) in at least one of the following situations: notification trigger when communication QoS cannot be met; congestion control;
[0145] The Over The Top (OTT) server is triggered through the 3GPP network when the AI service ends. In this case, only AI resources are released, and no communication resources are released.
[0146] Step 102: The first device sends a first release response message to the second device. The first release response message is used to indicate whether the service resources associated with the AI service are successfully released.
[0147] Specifically, the first device sends a first release response message corresponding to the first release request message to the second device, so as to notify the second device whether the service resources associated with the AI service are successfully released.
[0148] Step 103: The first device performs at least one of the following operations based on the first release request message:
[0149] Determine at least one of a third device, a fourth device, and a fifth device associated with the AI service;
[0150] Sending a second release request message to a third device, where the second release request message is used to request the release of the AI resources allocated for the AI service;
[0151] Sending a third release request message to the fourth device, where the third release request message is used to request the release of communication resources allocated for the AI service;
[0152] Send a fourth release request message to the third device, the fourth device, or the fifth device, where the fourth release request message is used to request the third device, the fourth device, or the fifth device to release the service resources associated with the AI service.
[0153] Specifically, the third device is, for example, an AI service management function, the fourth device is, for example, a communication management function, and the fifth device is, for example, a policy charging function.
[0154] Specifically, the first device, as a device that directly interacts with the second device, is responsible for transmitting the first release request message of the second device at the request of a different device as a control node. For example, the first device, as a control node, is responsible for controlling the release of resources, sends a second release request message to the third device to request the release of AI resources, and sends a third release request message to the fourth device to request the release of communication resources. Before sending the release request message, it is necessary to determine to which device the release request message needs to be sent, that is, to determine the associated AI service management function and communication management function.
[0155] When the first device does not serve as a control node but only as a transmission node, and the third device, fourth device, or fifth device serves as a control node, the first device needs to determine to which device the release request message is sent, that is, determine at least one of the associated third, fourth, and fifth devices; the first device sends a fourth release request message to the third, fourth, or fifth device, requesting the third, fourth, or fifth device to release service resources associated with the AI service, that is, the third device, fourth, or fifth device controls the release of resources.
[0156] It should be noted that if both "sending a second release request message to the third device" and "sending a third release request message to the fourth device" need to be executed, there is no necessary order for the two messages. "Sending a second release request message to the third device" can be executed first, and then "sending a third release request message to the fourth device" can be executed, or "sending a third release request message to the fourth device" can be executed first, and then "sending a second release request message to the third device" can be executed; or, "sending a second release request message to the third device" and "sending a third release request message to the fourth device" can also be executed in parallel; the order of release and serial or parallel execution are determined by the first device.
[0157] In the method of this embodiment, a first device receives a first release request message sent by a second device, requesting the release of service resources associated with the AI service; the first device sends a first release response message to the second device, indicating whether the service resources associated with the AI service are successfully released; the first device performs at least one of the following operations based on the first release request message: determining at least one of a third device, a fourth device, and a fifth device associated with the AI service; sending a second release request message to the third device, requesting the release of AI resources allocated for the AI service; sending a third release request message to the fourth device, requesting the release of communication resources allocated for the AI service; sending a fourth release request message to the third device, the fourth device, or the fifth device, requesting the release of service resources associated with the AI service, thereby implementing a release process for the AI service with greater flexibility and being able to help dynamically recycle resources to meet the resource requirements of a large number of AI services.
[0158] Optionally, the first release request message includes at least one of the following:
[0159] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0160] Among them, when the second device (terminal or NF) is a terminal, the release requester identifier is a terminal identifier, such as a subscription permanent identifier (SUPI), a globally unique temporary UE identity (GUTI), etc.; when the second device is any network element in the aforementioned network side device, the release requester identifier is a network device identifier, such as an NF ID, a network element address, etc. Optionally, the second release request message includes at least one of the following: a release requester identifier, AI service information, PDU session information, AI session information, an AI service management function address, policy information, and a release reason;
[0161] The third release request message includes at least one of the following: release requester identifier, AI service information, PDU session information, AI session information, network identification information, communication management function address, policy information, and release reason.
[0162] Optionally, the fourth release request message includes at least one parameter in the first release request message.
[0163] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0164] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0165] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0166] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0167] The network identification information includes at least one of the following: slice identification, data network name DNN;
[0168] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0169] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching.
[0170] Among them, the model contract association identifier in the AI service information is also called the model correlation ID. It is an identifier assigned by the model management unit to indicate a contract or association relationship with a certain model, which can be understood as a subscription ID. The model identifier is a globally unique or locally unique identifier ID assigned by the model management unit to a certain model. With this identifier, a unique model can be found within 3GPP or PLMN. The AI service identifier is used to indicate what kind of AI service this is, such as image recognition, speech recognition, environment reconstruction, etc., and can be expressed as a string of standardized IDs. The AI service description indicates the type of AI service, such as inference service, training service, or training service and inference service.
[0171] In one implementation, the PDU session type is used to indicate that the current PDU session is associated with an AI session, to distinguish it from PDU sessions related to some non-AI services.
[0172] In one embodiment, the AI session type is used to characterize the released AI session;
[0173] The comprehensive strategy identifier is, for example, an identifier of a comprehensive strategy including AI and communication.
[0174] The release reason indicates the type of AI service resource release, including normal release, release due to handover, and temporary release.
[0175] Optionally, the release type includes, for example, at least one of the following: releasing only communication resources; releasing only AI resources; releasing all resources.
[0176] For example, if a second device receives a release request message including a release requester identifier, it may determine the device for which the AI service needs to be released based on the release requester identifier and release the AI service associated with the device corresponding to the release requester identifier, thereby releasing the service resources managed by the AI service. If a second device receives a release request message including AI service information, it may determine the AI service to be released based on the AI service information and initiate a release procedure. If a second device receives a release request message including PDU session information, it may determine the AI service associated with the PDU session information based on the PDU session information and initiate a release procedure. If a second device receives a release request message including policy information, it may determine the AI service associated with the policy information, such as the AI service to which the policy information applies, based on the policy information and initiate a release procedure. If a second device receives a release request message including a release reason, such as temporary release, it may release the service resources for the AI service. For example, after releasing the corresponding resources or bearer, it may retain the locally stored context. If a second device receives a release request message including a release type, such as release of AI resources only, it may release the AI resources for the AI service.
[0177] Optionally, the release request message implementation method includes at least one of the following:
[0178] A new message is added to release sessions, resources, and bearers related to AI services. The released AI service-related resources include communication resources and AI resources.
[0179] For an existing PDU session release request, the PDU session type needs to be set to "AI session" and the AI session type needs to be set to "Release AI session" in the release request message to instruct the network to release the PDU session and the associated AI session.
[0180] It should be noted that for temporary release in the release reason, in subsequent operations, when the network element releases the corresponding resources or bearers, the locally stored context will be retained, and the resource configuration and bearer configuration can be referenced or reused when the same AI service is established subsequently; if it is a non-temporary release (including normal release, release due to switching, etc.), the locally retained context will be directly deleted, and it will need to be re-established when the same AI service is established subsequently.
[0181] It should be noted that there are two ways to understand the relationship between AI sessions and PDU sessions. One is that the AI session is carried on top of the PDU session, and the other is that the AI session and the PDU session are independent of each other. The former, that is, when the data plane transmits AI service data, the AI data is carried on the data plane resources from UE to UPF. The two are tightly coupled when established and released. The PDU session type can be set to "AI session" (here it is understood as a PDU session attribute, and the PDU session is associated with the AI session), and the AI session type is set to "Release AI session" to realize the release of resources (first, the PDU session type is associated with the AI session, which is different from some PDU sessions that currently only support communication. Secondly, the AI session type indicates a release operation, so the recipient can understand it as releasing the AI-related resources. It can be further understood that: only when the PDU session type indicates an AI session, will it further carry the AI session type to indicate an establishment operation, a modification operation, or a release operation.). The release of the latter should be independent of each other, that is, when the release request message only contains AI session information, the network side executes the release of AI resources; when the request message only contains PDU session information, the network side executes the release of communication resources. The two are decoupled from each other and do not need to be released in the same message. Of course, the latter still requests the network side to release in one request message.
[0182] In addition, the NAS interface function can be understood as AMF.
[0183] The following are several ways to implement "partial release":
[0184] Implementation method 1:
[0185] If the release request message only contains AI service information but does not contain AI session information and PDU session information, the NAS interface function can find the AI session and PDU session information associated with the AI service, and both "sending a second release request message to the third device" and "sending a third release request message to the fourth device" need to be executed; if the release request message only contains AI session information, the NAS interface function only needs to send the second release request message to release the associated AI resources; if the release request message only contains PDU session information, the NAS interface function only needs to send the third release request message to release the associated communication resources.
[0186] Implementation 2:
[0187] When the release type is to release only AI resources, only "sending a second release request message to the third device" and subsequent related steps are executed, and "sending a third release request message to the fourth device" and subsequent related steps are not executed, and only the content related to the AI resources is released, including AI bearer and AI policy; when the release type is to release only communication resources, only "sending a third release request message to the fourth device" and related steps are executed, and "sending a second release request message by the third device" and subsequent related steps are not executed, and only the content related to the communication resources is released, including communication bearer and communication policy; when the release type is to release all resources, the subsequent steps are executed normally to release AI resources and communication resources.
[0188] It should be noted that the above-mentioned partial release (including only releasing AI resources and only releasing communication resources) includes the situation where one PDU session can support the service flows of multiple AI sessions, that is, there are multiple QoS flows in the PDU session, which can support multiple different AI services. One AI service is carried out on one AI session. When an AI service ends, the PDU session can release / modify the corresponding QoS flow, and the AI session carried on it is also released, which is the partial release here. At this time, the communication resources are not released, only the AI resources are released.
[0189] Optionally, in the case where the first release response message is used to indicate a failure to release the service resources associated with the AI service, the first release response message includes a first cause value, and the first cause value includes at least one of the following: the AI service does not exist, the AI service is in use and cannot be released, the communication resource release fails, and the AI resource release fails.
[0190] Specifically, if the first device does not find the associated communication management function and AI service management function, or the current network does not support the AI service information requested by the second device, it directly sends a first release response message to reject the request of the second device, indicating that the resources associated with the requested AI service cannot be released. The first reason value includes: AI service resources do not exist, AI session does not exist, communication resources do not exist, and AI service does not exist.
[0191] Optionally, the method further includes:
[0192] The first device receives a second release response message sent by the third device, indicating whether the AI resource is successfully released;
[0193] When the second release response message is used to indicate a failure to release the AI resource, the second release response includes a second cause value; the second cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0194] Optionally, when the second release response message is used to indicate a successful release, the first device sends a third release request message to the fourth device to further release communication resources; otherwise, the first device directly replies to the first release response message and indicates a release failure.
[0195] Optionally, the method further includes:
[0196] The first device receives a third release response message sent by the fourth device, which is used to indicate whether the communication resource is successfully released;
[0197] In the case where the third release response message is used to indicate a failure in releasing communication resources, the third release response message includes a third cause value, and the third cause value includes at least one of the following: the communication resource does not exist, and the communication resource is in use and cannot be released.
[0198] Optionally, the method further includes:
[0199] The first device receives a fourth release response message sent by the third device, the fourth device, or the fifth device, indicating whether the service resources associated with the AI service are successfully released;
[0200] In the case where the fourth release response message is used to indicate a failure to release service resources, the fourth release response message includes a fourth cause value, and the fourth cause value includes at least one of the following: AI service does not exist, communication resource release fails, AI resource release fails, and AI service is in use and cannot be released.
[0201] Optionally, the protocol stack of the second device includes at least one of the following: an AI management layer, non-access layer session management NAS-SM, and non-access layer message management NAS-MM; the AI management layer is used to generate messages related to releasing AI resources, and the NAS-SM is used to generate messages related to releasing communication resources.
[0202] Specifically, messages related to releasing AI resources can be generated through the newly added AI management layer. The AI management layer can be set below, above, or within the NAS-SM, and the embodiments of the present application are not limited to this.
[0203] In the above implementations, the protocol stack can be implemented in various ways and has great flexibility.
[0204] Exemplarily, as shown in FIG3 , a new protocol layer, such as an AI management layer, is responsible for generating AI service messages, such as an AI service establishment message and an AI service release message, to trigger the allocation and release of AI resources.
[0205] Message encapsulation mode: NAS message (communication resource release message, AI resource release message) (communication resource release message and AI resource release message are in a parallel relationship);
[0206] That is, the message encapsulation method is to use a NAS message to carry the message related to releasing AI resources (for example, a release AI resource message) and / or to carry the message related to releasing communication resources (for example, a release communication resource message);
[0207] The NAS-SM layer generates a communication resource release message, and the AI management layer generates an AI resource release message. The NAS interface function determines whether to execute the messages serially or in parallel, and in which order to forward the communication resource release request message and the AI resource release request message in the serial case.
[0208] For example, as shown in FIG4 , the terminal triggers, controlled by the NAS interface function, to serially release AI resources and communication resources. In this embodiment, the protocol architecture shown in FIG3 may be adopted. The method includes:
[0209] Step 1: The terminal sends an AI service release request message to the NAS interface function;
[0210] Step 2: The NAS interface function releases communication and AI resources;
[0211] Step 3: The NAS interface function sends an AI resource release request message a to the AI service management function.
[0212] Step 4: The AI service management function sends a release AI policy request message to the policy charging function.
[0213] Step 5: The AI business management function sends a model release request message to the AI model management function;
[0214] Step 6: The AI service management function sends an AI resource release request message b to the AI resource management function.
[0215] Step 7: The AI resource management function sends a request to release the AI bearer to the AI resource node.
[0216] Step 8: The AI resource management function sends an AI resource release response message b to the AI service management function.
[0217] Step 9: The AI service management function sends an AI resource release response message a to the NAS interface function.
[0218] Step 10: The NAS interface function sends a communication resource release request to the communication management function;
[0219] Step 11: The communication management function sends a release communication policy request to the policy charging function;
[0220] Step 12: The communication management function sends a communication bearer release request to the communication resource node;
[0221] Step 13: The communication management function sends a communication resource release response to the NAS interface function.
[0222] Step 14: The NAS interface function sends an AI service release response message to the terminal.
[0223] Optionally, the fourth device sends a release request message to a ninth device (such as a communication resource node) to request the release of the communication bearer allocated for the AI service. The release request message includes at least one of the following: a communication resource node address, PDU session information, and AI service information.
[0224] Optionally, the fourth device receives a release response message sent by the ninth device, indicating whether the communication bearer is successfully released;
[0225] In the case where the release response message is used to indicate a failure in releasing the communication bearer, the release response message includes a cause value, for example, at least one of the following: the communication bearer does not exist, the communication bearer is in use and cannot be released.
[0226] It should be noted that step 4 is optional. If no policy billing function assigns an AI policy to the AI service session when it is established, and it is locally configured by the AI management function, then in this embodiment, when the AI policy is released, the AI service management function locally releases the corresponding AI policy from the policy context associated with the terminal.
[0227] It should be noted that step 11 is optional. If no policy charging function assigns a communication policy to the AI service session when establishing the session, and the communication policy is locally configured by the communication management function, then in this embodiment, when the communication policy is released, the communication management function locally releases the corresponding communication policy from the policy context associated with the UE.
[0228] Optionally, the AI policy release request in step 4 may be to disassociate or to delete the AI policy associated with the AI service, which is not limited in this embodiment of the present application.
[0229] Optionally, the communication policy release request in step 11 may be to disassociate, or to delete the communication policy associated with the AI service, which is not limited in this embodiment of the present application.
[0230] Optionally, the AI service management function sends a model release request message to the AI model management function to release the association status between the model and the AI service, or to release the association status between the model and the user. The model release message includes at least one of the following: release requester identifier, AI service identifier, AI service description, model contract association identifier, model identifier, and AI model management function address;
[0231] It should be noted that model release here does not mean requesting the AI model management function to completely delete a model. The release here is triggered by the change in association status due to the termination of the AI service. That is, the terminal or the AI service is no longer a consumer of the model, which is a change in the binding relationship (disassociation). When a new AI service is triggered, a new model may be bound, or the same model may be bound.
[0232] This step is optional and must be performed when at least one of the following conditions is met:
[0233] AI business information includes model identifiers, such as model IDs;
[0234] AI business information includes model contract association identifiers, such as model correlation ID.
[0235] The AI service information may be the AI service information included in the model release request message.
[0236] Optionally, the AI model management function sends a model release response message to the AI business management function to reply whether the model associated with the AI business is successfully released.
[0237] Optionally, in step 6, the AI service management function sends an AI resource release request message b to the AI resource management function, requesting the release of the AI resources established for the AI service, including computing resources, storage resources, and AI link resources (i.e., AI bearers) reserved for the AI service.
[0238] The AI resource release request message b includes at least one of the following: an AI resource management function address, AI session information, and AI service information.
[0239] For example, as shown in FIG5 , the terminal triggers and controls the NAS interface function to release AI resources and communication resources in parallel. The protocol stack shown in FIG3 may be used, wherein the NAS interface function forwards the release communication resource message and the release AI resource message in parallel. The method includes:
[0240] Step 1: The terminal sends an AI service release request message to the NAS interface function;
[0241] Step 2: The NAS interface function releases communication and AI resources;
[0242] Step 3a: The NAS interface function sends a communication resource release request message to the communication management function;
[0243] Step 3b: The NAS interface function sends an AI resource release request message a to the AI service management function.
[0244] Step 4a: The communication management function sends a release communication policy request to the policy charging function;
[0245] Step 4b: The AI service management function sends a request to release the AI policy to the policy charging function.
[0246] Step 5: The AI business management function sends a model release request to the AI model management function;
[0247] Step 6: The communication management function sends a communication bearer release request to the communication resource node;
[0248] Step 7: The communication management function sends a communication resource release response message to the NAS interface function.
[0249] Step 8: The AI service management function sends an AI resource release request message b to the AI resource management function.
[0250] Step 9: The AI resource management function sends a request to release the AI bearer to the AI resource node.
[0251] Step 10: The AI resource management function sends an AI resource release response message b to the AI service management function.
[0252] Step 11: The AI service management function sends a resource release status notification message to the communication management function.
[0253] Step 12: The AI service management function sends an AI resource release response message a to the NAS interface function.
[0254] Step 13: The NAS interface function sends an AI service release response message to the terminal.
[0255] Specifically, the difference between this embodiment and the embodiment shown in FIG4 is that the NAS interface function initiates the release of communication resources and the release of AI resources, which are parallel operations, while the embodiment shown in FIG4 is a serial operation (there is no mandatory requirement for the order of initiating the release of communication resources and the release of AI resources);
[0256] Steps 3a, 4a, 6, and 7 are part of the communication resource release process; steps 3b, 4b, 5, 8-10, and 12 are part of the AI resource release process. For details, refer to the similar descriptions in the previous embodiments. This process supports releasing only AI resources or only communication resources.
[0257] Optionally, this embodiment includes step 11. The message in step 11 is a status notification message sent between the AI service management function and the communication management function. In Figure 5 , the message is sent from the AI service management function to the communication management function, but similarly, the message can be sent from the communication management function to the AI service management function. The status notification message is used to notify the status of resource release. In the scenario shown in Figure 5 , if the AI service management function fails to release the AI resources, it notifies the communication management function that the communication resources associated with the current AI service should be maintained and not released.
[0258] Optionally, the status notification message includes at least one of the following:
[0259] Release requester identifier, AI service management function address, communication management function address, PDU session information, AI session information, AI service information, status indication, failure reason;
[0260] The status indication is used to indicate whether the AI resources or communication resources of the AI service are successfully released.
[0261] Among them, the status indication indicates the release of AI resources or communication resources, including release success, release failure, release blocking, etc.
[0262] Failure reasons include: AI resources do not exist, communication resources do not exist, resources are in use and cannot be released, etc.
[0263] For example, after receiving the resource release status notification message (this message may occur before or after step 6), if the communication resources have been released (step 6 has occurred), the communication resources managed by the AI service are re-established; otherwise (step 6 has not occurred), there is no need to execute step 6, and the release failure is directly indicated in the response message of step 7, and the reason value is consistent with the reason value of the received resource release status notification.
[0264] Optionally, as shown in Figure 6, a new protocol layer, such as an AI management layer, is added. The new protocol layer is located below the existing NAS-SM layer.
[0265] The message encapsulation method is: NAS message (release AI resource message (release communication resource message));
[0266] That is, the message encapsulation method is to use a NAS message to carry the message related to releasing AI resources, and the message related to releasing AI resources includes the message related to releasing communication resources;
[0267] The NAS-SM layer is used to generate messages related to releasing communication resources, and the AI management layer is used to generate messages related to releasing AI resources.
[0268] As shown in FIG7 , the difference from the protocol stack in FIG6 is that the AI service management function generates a communication resource release message and sends it to the communication management function (interaction between network elements).
[0269] The message encapsulation method is: NAS message (AI resource release message);
[0270] That is, the message encapsulation method is to use NAS messages to carry messages related to releasing AI resources, and communication resource release is initiated by default.
[0271] The AI service management function generates a communication resource release message, and the AI management layer of the terminal or network device generates an AI resource release message.
[0272] Exemplarily, as shown in FIG8 , the terminal triggers and controls the AI service management function to serially release AI resources and communication resources. The protocol stack shown in FIG6 and FIG7 may be used. In this case, the second device and the NAS interface function do not serve as control nodes and only forward the AI service release request message of the terminal or network device. The method includes:
[0273] Step 1: The terminal sends an AI service release request message to the NAS interface function;
[0274] Step 2: The NAS interface function sends an AI service resource release request to the AI service management function.
[0275] Step 3: The AI service management function sends at least one of the released communication policy and the AI policy to the policy charging function.
[0276] Step 4: The AI business management function sends a model release request to the AI model management function;
[0277] Step 5: The AI service management function sends an AI resource release request message to the AI resource management function.
[0278] Step 6: The AI resource management function sends a request to release the AI bearer to the AI resource node.
[0279] Step 7: The AI resource management function sends an AI resource release response message to the AI service management function.
[0280] Step 8: The AI service management function sends a communication resource release request message to the communication management function;
[0281] Step 9: The communication management function sends a communication bearer release request to the communication resource node;
[0282] Step 10: The communication management function sends a communication resource release response message to the AI service management function.
[0283] Step 11: The AI service management function sends an AI service resource release response message to the NAS interface function.
[0284] Step 12: The NAS interface function sends an AI service release response message to the terminal.
[0285] Specifically, the difference between this embodiment and the embodiment shown in FIG4 is that:
[0286] 1) After receiving the AI service release request message sent by the terminal, the NAS interface function first executes step 2 and sends an AI service resource release request message to the AI service management function. The AI service management function is responsible for the resource release task;
[0287] 2) After successfully releasing the AI resources, the AI service management function sends a message to the communication management function to release the communication session. Of course, the AI service management function can decide whether to perform steps 4-7 or steps 8-10 first, either order. Only if one party successfully releases the resources will the other party's release be triggered. Otherwise, the AI service resource release response message will be directly sent to indicate the release failure. If both parties successfully release the resources, the AI service resource release response message indicates the release success.
[0288] 3) If the release type is carried in step 1 and it indicates that only communication resources are to be released, the specified communication resources are released, for example, the AI service management function sends a request message for releasing communication resources to the communication resource management function, or, if it indicates that all resource session information is to be released, all resources are released, for example, the AI service management function sends a request message for releasing communication resources to the communication resource management function, and the AI service management function sends a request message for releasing AI resources to the AI resource management function.
[0289] Optionally, as shown in FIG9 , a new protocol layer, such as an AI management layer, is added to generate AI service messages, such as an AI service establishment message and an AI service release message, to trigger the allocation and release of AI resources.
[0290] Message encapsulation mode: NAS message (communication resource release message (AI resource release message));
[0291] The message encapsulation method is to use a NAS message to carry the message related to releasing communication resources, and the message related to releasing communication resources includes a message related to releasing AI resources;
[0292] The NAS-SM layer generates a message for releasing communication resources, and the AI management layer generates a message for releasing AI resources.
[0293] As shown in Figure 10, the NAS-SM layer is enhanced. When the NAS-SM generates a release communication resource message, it includes AI service description information to instruct the network to release AI resources.
[0294] Message encapsulation method: NAS message (communication resource release message [AI service description information]).
[0295] The message encapsulation method is to use the NAS message to carry the message related to releasing the communication resources, and the message related to releasing the communication resources includes AI service description information.
[0296] Exemplarily, as shown in FIG11 , the terminal triggers and is controlled by the communication management function to serially release AI resources and communication resources. In this case, the second device and the NAS interface function do not act as control nodes and only forward the AI service release request message of the terminal or network device. The protocol stack shown in FIG6 and FIG7 may be used. The method includes:
[0297] Step 1: The terminal sends an AI service release request message to the NAS interface function;
[0298] Step 2: The NAS interface function sends an AI service resource release request to the communication management function.
[0299] Step 3: The communication management function sends at least one of the released communication policy and the AI policy to the policy charging function;
[0300] Step 4: The communication management function sends a communication bearer release request to the communication resource node;
[0301] Step 5: The communication management function sends an AI resource release request message a to the AI service management function.
[0302] Step 6: The AI business management function sends a model release request to the AI model management function.
[0303] Step 7: The AI service management function sends an AI resource release request message b to the AI resource management function.
[0304] Step 8: The AI resource management function sends a request to release the AI bearer to the AI resource node.
[0305] Step 9: The AI resource management function sends an AI resource release response message b to the AI service management function.
[0306] Step 10: The AI service management function sends an AI resource release response message a to the NAS interface function.
[0307] Step 11: The communication management function sends an AI service resource release response message to the NAS interface function.
[0308] Step 12: The NAS interface function sends an AI service release response message to the terminal.
[0309] Specifically, the difference between this embodiment and the embodiment shown in FIG4 is that:
[0310] 1) After receiving the AI service release request message sent by the terminal, the NAS interface function first executes step 2 and sends an AI service resource release message to the communication management function, which is responsible for the resource release task;
[0311] 2) After successfully releasing the communication resources, the communication management function sends a message to the AI service management function to release the AI resources. Of course, the communication management function can decide whether to execute step 4 or steps 5-10 first, either order. Only if one party successfully releases the resources will the other party trigger the release. Otherwise, the communication management function directly responds with an AI service resource release response message, indicating that the release failed. If both parties successfully release the resources, the AI service resource release response message indicates that the release was successful.
[0312] 3) If the release type is carried in step 1 and it indicates that only AI resources are to be released, the specified AI session information is released or all resources are released. For example, the communication management function sends an AI resource release request message to the AI service management function. Alternatively, if it indicates that all resources are to be released, all resources are released, the communication management function sends an AI resource release request message to the AI service management function, and the communication management function sends a communication bearer release request message to the communication resource node.
[0313] Exemplarily, as shown in FIG12 , the terminal triggers, and the policy charging function is controlled to serially release AI resources and communication resources. At this time, the second device and the NAS interface function do not act as control nodes, but only forward the AI service release request message of the terminal or network device. The method includes:
[0314] Step 1: The terminal sends an AI service release request message to the NAS interface function;
[0315] Step 2: The NAS interface function sends an AI service resource release request to the policy charging function.
[0316] Step 3: The policy charging function sends an AI resource release request message a to the AI service management function.
[0317] Step 4: The AI business management function sends a model release request to the AI model management function.
[0318] Step 5: The AI service management function sends an AI resource release request message b to the AI resource management function.
[0319] Step 6: The AI resource management function sends a request to release the AI bearer to the AI resource node.
[0320] Step 7: The AI resource management function sends an AI resource release response message b to the AI service management function.
[0321] Step 8: The AI service management function sends an AI resource release response message a to the NAS interface function.
[0322] Step 9: The policy charging function sends a communication resource release request to the communication management function;
[0323] Step 10: The communication management function sends a communication bearer release request to the communication resource node;
[0324] Step 11: The communication management function sends a communication resource release response to the policy charging function.
[0325] Step 12: The policy charging function releases at least one of the communication policy and the AI policy.
[0326] Step 13: The policy charging function sends an AI service resource release response message to the NAS interface function.
[0327] Step 14: The NAS interface function sends an AI service release response message to the terminal.
[0328] Specifically, the difference between this embodiment and the embodiment shown in FIG4 is that:
[0329] After receiving the AI service release message sent by the terminal, the NAS interface function sends an AI service resource release message to the policy charging function, carrying parameters including the parameters carried in step 1.
[0330] This process supports releasing only AI resources or only communication resources.
[0331] Steps 3-8 are part of the AI resource release process; steps 9-11 are part of the communication resource release process. The order of these two steps is arbitrary and can be determined by the policy charging function. Only if one release is successful will the other release be triggered. Otherwise, the policy charging function directly responds with an AI service resource release response message, indicating that the release failed. If both releases are successful, the policy charging function optionally executes step 12 to release at least one of the AI service-associated communication policy and AI policy.
[0332] Referring to FIG. 13 , an embodiment of the present application provides a method for releasing an AI service. The execution subject of this embodiment is a second device. The method for releasing an AI service includes:
[0333] Step 201: The second device sends a first release request message to the first device, where the first release request message is used to request the release of service resources associated with the AI service.
[0334] Step 202: The second device receives a first release response message sent by the first device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released.
[0335] Optionally, the first release request message includes at least one of the following:
[0336] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0337] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0338] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0339] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0340] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0341] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0342] The network identification information includes at least one of the following: a slice identifier, a data network name DNN;
[0343] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;
[0344] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.
[0345] Optionally, in the case where the first release response message is used to indicate a failure to release the service resources associated with the AI service, the first release response message includes a first cause value, and the first cause value includes at least one of the following: the AI service does not exist, the AI service is in use and cannot be released, the communication resource release fails, and the AI resource release fails.
[0346] Optionally, the protocol stack of the second device includes at least one of the following: an AI management layer, non-access layer session management NAS-SM, and non-access layer message management NAS-MM; the AI management layer is used to generate messages related to releasing AI resources, and the NAS-SM is used to generate messages related to releasing communication resources.
[0347] Optionally, the second device is a terminal, or a network side device, and the network side device includes at least one of the following: a policy charging function PCF, an access and mobility management function AMF, a session management function SMF, an application server, and a NEF.
[0348] The specific implementation process and technical effects of the method of this embodiment are the same as those in the first device side method embodiment. For details, please refer to the detailed introduction in the first device side embodiment, and no further details will be given here.
[0349] Referring to FIG. 14a and FIG. 14b , an embodiment of the present application provides a method for releasing an AI service. The execution subject of this embodiment is a third device. The method for releasing an AI service includes:
[0350] Step 301a: The third device receives a second release request message sent by the first device, where the second release request message is used to request the third device to release AI resources allocated for the AI service.
[0351] Step 302a: The third device sends a second release response message to the first device, indicating whether the AI resource is successfully released.
[0352] or,
[0353] Step 301b: The third device receives a fourth release request message sent by the first device, where the fourth release request message is used to request the third device to release service resources associated with the AI service.
[0354] Step 302b: The third device sends a fourth release response message to the first device, where the fourth release response message is used to indicate whether the third device successfully releases the service resources associated with the AI service.
[0355] Optionally, the second release request message includes at least one of the following: release requester identifier, AI service information, PDU session information, AI session information, AI service management function address, policy information, and release reason.
[0356] Optionally, the fourth release request message includes at least one of the following:
[0357] Release requester identification, AI service information, PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0358] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0359] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0360] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0361] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0362] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0363] The network identification information includes at least one of the following: a slice identifier, a data network name DNN;
[0364] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;
[0365] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.
[0366] Optionally, the method further includes:
[0367] The third device sends a fifth release request message to the fifth device, requesting to release the AI policy associated with the AI service;
[0368] The fifth release request message includes at least one of the following: a release requester identifier, an AI policy identifier, AI session information, a network resource identifier, a PDU session information, an AI service information, a release reason, and policy information.
[0369] Optionally, the method further includes:
[0370] The third device receives a fifth release response message sent by the fifth device, where the fifth release response message is used to indicate whether the AI policy associated with the AI service is successfully released;
[0371] In a case where the fifth release response message is used to indicate a failure in releasing the AI policy associated with the AI service, the fifth release response message includes a fifth cause value, and the fifth cause value includes at least one of the following: the AI policy does not exist, or the AI policy is in use and cannot be released.
[0372] Optionally, the method further includes:
[0373] The third device removes the association between the release requester and the AI policy from the local context of the third device based on the AI policy associated with the AI service and the release requester identifier associated with the AI policy.
[0374] Optionally, the method further includes:
[0375] The third device sends a sixth release request message to the sixth device, requesting to release the association status between the model and the AI service, or to release the association status between the model and the user;
[0376] The sixth release request message includes at least one of the following: release requester identifier, AI service identifier, AI service description, model contract association identifier, model identifier, and AI model management function address.
[0377] Optionally, the method further includes:
[0378] The third device sends a seventh release request message to the seventh device, where the seventh release request message is used to request the release of AI resources allocated for the AI service, and the seventh release request message includes at least one of the following: an AI resource management function address, AI session information, and AI service information.
[0379] Optionally, the third device sending a sixth release request message to the sixth device includes:
[0380] When a preset condition is met, the third device sends a sixth release request message to the sixth device;
[0381] The preset conditions include at least one of the following:
[0382] The sixth release request message includes a model identifier;
[0383] The sixth release request message includes the model contract association identifier;
[0384] The method further comprises:
[0385] The third device receives a sixth release response message sent by the sixth device, which is used to indicate whether the association state corresponding to the model is successfully released.
[0386] Optionally, the method further includes:
[0387] The third device receives a seventh release response message sent by the seventh device, indicating whether the AI resource is successfully released;
[0388] In the case where the seventh release response message is used to indicate a failure to release the AI resource, the seventh release response message includes a seventh cause value, and the seventh cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0389] Optionally, the method further includes:
[0390] When the third device receives the fourth release request message sent by the first device, the third device sends a ninth release request message to the fifth device, where the ninth release request message is used to request the release of the AI policy and / or communication policy associated with the AI service.
[0391] The ninth release request message includes at least one of the following: a release requester identifier, an AI policy identifier, a communication policy identifier, AI session information, PDU session information, a network resource identifier, AI service information, a release reason, and policy information.
[0392] Optionally, the method further includes:
[0393] The third device receives a ninth release response message sent by the fifth device, where the ninth release response message is used to indicate whether the AI policy and / or the communication policy is successfully released;
[0394] In the case where the ninth release response message is used to indicate a failure to release the AI policy and / or the communication policy, the ninth release response message includes an eighth cause value, and the eighth cause value includes at least one of the following: the AI policy does not exist, the AI policy is in use and cannot be released, the communication policy does not exist, and the communication policy is in use and cannot be released.
[0395] Optionally, the method further includes:
[0396] When the third device receives the fourth release request message sent by the first device, the third device sends an eighth release request message to the fourth device, requesting to release the communication resources allocated for the AI service;
[0397] The eighth release request message includes at least one of the following: release requester identification, PDU session information, AI session information, AI service information, network identification information, communication management function address, release reason, and policy information.
[0398] Optionally, the method further includes:
[0399] The third device receives an eighth release response message sent by the fourth device, which is used to indicate whether the communication resource is successfully released;
[0400] In the case where the eighth release response message is used to indicate a failure in releasing communication resources, the eighth release response message includes an eighth cause value, and the eighth cause value includes at least one of the following: the communication resource does not exist, and the communication resource is in use and cannot be released.
[0401] Optionally, when the second release response message is used to indicate a failure to release the AI resource, the second release response message includes a second cause value; the second cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0402] Optionally, the method further includes:
[0403] In a case where the third device receives the second release request message sent by the first device, the third device receives a status notification message sent by the fourth device, where the status notification message is used to notify the resource release status.
[0404] The status notification message includes at least one of the following:
[0405] Release requester identifier, AI service management function address, communication management function address, PDU session information, AI session information, AI service information, status indication, failure reason;
[0406] The status indication is used to indicate whether the AI resources or communication resources of the AI service are successfully released.
[0407] Optionally, the method further includes:
[0408] When the third device receives the fourth release request message sent by the first device, and the release type is used to indicate the release of communication resources, the third device sends the eighth release request message to the fourth device;
[0409] When the third device receives the fourth release request message sent by the first device and the release type is used to indicate the release of all resources, the third device sends the seventh release request message to the seventh device, and / or the third device sends the eighth release request message to the fourth device.
[0410] The specific implementation process and technical effects of the method of this embodiment are the same as those in the first device side method embodiment. For details, please refer to the detailed introduction in the first device side embodiment, and no further details will be given here.
[0411] Referring to FIG. 15a and FIG. 15b , an embodiment of the present application provides a method for releasing an AI service. The embodiment is performed by a fourth device. The method for releasing the AI service includes:
[0412] Step 401a: The fourth device receives a third release request message sent by the first device, where the third release request message is used by the fourth device to release communication resources allocated for the AI service.
[0413] Step 402a: The fourth device sends a third release response message to the first device, where the third release response message is used to indicate whether the communication resource is successfully released.
[0414] or,
[0415] Step 401b: The fourth device receives a fourth release request message sent by the first device, where the fourth release request message is used to request the fourth device to release service resources associated with the AI service.
[0416] Step 402b: The fourth device sends a fourth release response message to the first device. The fourth release response message is used to indicate whether the fourth device successfully releases the service resources associated with the AI service.
[0417] Optionally, the third release request message includes at least one of the following: release requester identifier, AI service information, PDU session information, AI session information, network identification information, communication management function address, policy information, and release reason.
[0418] Optionally, the fourth release request message includes at least one of the following:
[0419] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0420] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0421] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0422] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0423] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0424] The network identification information includes at least one of the following: a slice identifier, a data network name DNN;
[0425] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0426] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching.
[0427] Optionally, the method further includes:
[0428] When the fourth device receives the third release request message sent by the first device, the fourth device sends a tenth release request message to the fifth device, requesting to release the communication policy associated with the AI service;
[0429] The tenth release request message includes at least one of the following: a release requester identifier, a communication policy identifier, PDU session information, a network resource identifier, AI session information, AI service information, a release reason, and policy information.
[0430] Optionally, the method further includes:
[0431] The fourth device receives a tenth release response message sent by the fifth device, which is used to indicate whether the communication policy associated with the AI service is successfully released;
[0432] In the case where the tenth release response message is used to indicate a failure in releasing the communication policy, the tenth release response message includes a tenth cause value, and the tenth cause value includes at least one of the following: the communication policy does not exist, and the communication policy is in use and cannot be released.
[0433] Optionally, the method further includes:
[0434] When the fourth device receives the fourth release request message sent by the first device, the fourth device sends a twelfth release request message to the fifth device, where the twelfth release request message is used to request the release of the AI policy and / or communication policy associated with the AI service;
[0435] The twelfth release request message includes at least one of the following: a release requester identifier, a communication policy identifier, an AI policy identifier, PDU session information, AI session information, a network resource identifier, AI service information, a release reason, and policy information.
[0436] Optionally, the method further includes:
[0437] When the fourth device receives the fourth release request message sent by the first device, the fourth device sends an eleventh release request message to the third device, requesting to release the AI resources allocated for the AI service;
[0438] The eleventh release request message includes at least one of the following: release requester identifier, AI session information, and PDU session information.
[0439] Optionally, the method further includes:
[0440] The fourth device receives an eleventh release response message sent by the third device, indicating whether the AI resource is successfully released;
[0441] In the case where the eleventh release response message is used to indicate a failure to release the AI resource, the eleventh release response includes an eleventh cause value; the eleventh cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0442] Optionally, the method further includes:
[0443] The fourth device sends a third release response message to the first device, used to indicate whether the communication resource is successfully released;
[0444] In the case where the third release response message is used to indicate a failure in releasing communication resources, the third release response message includes a third cause value, and the third cause value includes at least one of the following: the communication resource does not exist, and the communication resource is in use and cannot be released.
[0445] Optionally, the method further includes:
[0446] When the fourth device receives the fourth release request message sent by the first device, and the release type is used to indicate the release of AI resources, the fourth device sends the eleventh release request message to the third device;
[0447] When the fourth device receives the fourth release request message sent by the first device, and the release type is used to indicate the release of all resources, the fourth device sends the thirteenth release request message to the ninth device, and / or the fourth device sends the eleventh release request message to the third device; the thirteenth release request is used to request the release of the communication bearer associated with the AI service.
[0448] The specific implementation process and technical effects of the method of this embodiment are the same as those in the first device side method embodiment. For details, please refer to the detailed introduction in the first device side embodiment, and no further details will be given here.
[0449] Referring to FIG. 16 , an embodiment of the present application provides a method for releasing an AI service. The embodiment is performed by a fifth device. The method for releasing an AI service includes:
[0450] Step 501: The fifth device receives a fourth release request message sent by the first device. The fourth release request message is used to request the fifth device to release service resources associated with the AI service.
[0451] Step 502: The fifth device sends a fourth release response message to the first device. The fourth release response message is used to indicate whether the fifth device successfully releases the service resources associated with the AI service.
[0452] Optionally, the fourth release request message includes at least one of the following:
[0453] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0454] Optionally, the method further includes:
[0455] The fifth device sends an eleventh release request message to the third device, requesting to release the AI resources allocated for the AI service;
[0456] The eleventh release request message includes at least one of the following: release requester identifier, AI session information, and PDU session information.
[0457] Optionally, the method further includes:
[0458] The fifth device receives an eleventh release response message sent by the third device, indicating whether the AI resource is successfully released;
[0459] In the case where the eleventh release response message is used to indicate a failure to release the AI resource, the eleventh release response message includes an eleventh cause value; the eleventh cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0460] Optionally, the method further includes:
[0461] The fifth device sends a fourteenth release request message to the fourth device, requesting to release communication resources associated with the AI service;
[0462] The fourteenth release request message includes at least one of the following: release requester identification, PDU session information, AI session information, AI service information, network identification information, communication management function address, release reason, and policy information.
[0463] Optionally, the fifth device receives a fourteenth release response message sent by the fourth device, which is used to indicate whether the communication resource is successfully released;
[0464] In the case where the fourteenth release response message is used to indicate a failure in releasing communication resources, the fourteenth release response message includes a fourteenth cause value, and the fourteenth cause value includes at least one of the following: the communication resource does not exist, or the communication resource is in use and cannot be released.
[0465] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0466] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0467] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0468] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0469] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0470] The network identification information includes at least one of the following: a slice identifier, a data network name DNN;
[0471] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;
[0472] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.
[0473] The specific implementation process and technical effects of the method of this embodiment are the same as those in the first device side method embodiment. For details, please refer to the detailed introduction in the first device side embodiment, and no further details will be given here.
[0474] Referring to FIG. 17 , an embodiment of the present application provides a method for releasing an AI service. The embodiment is performed by a fifth device. The method for releasing an AI service includes:
[0475] Step 601: A seventh device receives a seventh release request message sent by a third device. The seventh release request message is used to request the release of AI resources allocated for an AI service. The seventh release request message includes at least one of the following: an AI resource management function address, AI session information, and AI service information.
[0476] Step 602: The seventh device sends a seventh release response message to the third device, where the seventh release response message is used to indicate whether the AI resource is successfully released.
[0477] Optionally, when the seventh release response message is used to indicate a failure to release the AI resource, the seventh release response message includes a seventh cause value, and the seventh cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0478] Optionally, the method further includes:
[0479] The seventh device sends a fifteenth release request message to the eighth device, requesting to release the AI bearer associated with the AI service;
[0480] The fifteenth release request message includes at least one of the following: an AI resource node address, AI session information, and AI service information.
[0481] Optionally, the method further includes:
[0482] The seventh device receives a fifteenth release response message sent by the eighth device, which is used to indicate whether the AI bearer is successfully released;
[0483] In the case where the fifteenth release response message is used to indicate a failure to release the AI bearer, the fifteenth release response message includes a fifteenth cause value; the fifteenth cause value includes at least one of the following: the AI bearer does not exist, or the AI bearer is in use and cannot be released.
[0484] The specific implementation process and technical effects of the method of this embodiment are the same as those in the first device side method embodiment. For details, please refer to the detailed introduction in the first device side embodiment, and no further details will be given here.
[0485] The AI service release method provided in the embodiment of the present application can be executed by an AI service release device. In the embodiment of the present application, the AI service release method performed by the AI service release device is used as an example to illustrate the AI service release device provided in the embodiment of the present application.
[0486] FIG18 is a schematic diagram of a structure of a device for releasing an AI service according to an embodiment of the present application. As shown in FIG18 , the device for releasing an AI service includes:
[0487] A receiving module 110 is configured to receive a first release request message sent by a second device, where the first release request message is used to request the release of service resources associated with an artificial intelligence (AI) service;
[0488] A sending module 120 is configured to send a first release response message to the second device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released;
[0489] The execution module 130 is configured to perform at least one of the following operations based on the first release request message:
[0490] Determining at least one of a third device, a fourth device, and a fifth device associated with the AI service;
[0491] Sending a second release request message to a third device, where the second release request message is used to request the release of AI resources allocated for the AI service;
[0492] Sending a third release request message to the fourth device, where the third release request message is used to request the release of communication resources allocated for the AI service;
[0493] Send a fourth release request message to the third device, the fourth device, or the fifth device, where the fourth release request message is used to request the third device, the fourth device, or the fifth device to release the service resources associated with the AI service.
[0494] Optionally, the first release request message includes at least one of the following:
[0495] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0496] Optionally, in the case where the first release response message is used to indicate a failure to release the service resources associated with the AI service, the first release response message includes a first cause value, and the first cause value includes at least one of the following: the AI service does not exist, the AI service is in use and cannot be released, the communication resource release fails, and the AI resource release fails.
[0497] Optionally, the second release request message includes at least one of the following: release requester identifier, AI service information, PDU session information, AI session information, AI service management function address, policy information, and release reason;
[0498] The third release request message includes at least one of the following: release requester identifier, AI service information, PDU session information, AI session information, network identification information, communication management function address, policy information, and release reason.
[0499] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0500] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0501] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0502] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0503] The network identification information includes at least one of the following: slice identification, data network name DNN;
[0504] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0505] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching.
[0506] Optionally, the fourth release request message includes at least one parameter in the first release request message.
[0507] Optionally, in the case where the first release response message is used to indicate a failure to release the service resources associated with the AI service, the first release response message includes a first cause value, and the first cause value includes at least one of the following: the AI service does not exist, the AI service is in use and cannot be released, the communication resource release fails, and the AI resource release fails.
[0508] Optionally, the receiving module 110 is further configured to:
[0509] receiving a second release response message sent by the third device, indicating whether the AI resource is successfully released;
[0510] When the second release response message is used to indicate a failure to release the AI resource, the second release response includes a second cause value; the second cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0511] Optionally, the receiving module 110 is further configured to:
[0512] receiving a third release response message sent by the fourth device, which is used to indicate whether the communication resource is successfully released;
[0513] In the case where the third release response message is used to indicate a failure in releasing communication resources, the third release response message includes a third cause value, and the third cause value includes at least one of the following: the communication resource does not exist, and the communication resource is in use and cannot be released.
[0514] Optionally, the receiving module 110 is further configured to:
[0515] receiving a fourth release response message sent by the third device, the fourth device, or the fifth device, indicating whether the service resources associated with the AI service are successfully released;
[0516] In the case where the fourth release response message is used to indicate a failure to release service resources, the fourth release response message includes a fourth cause value, and the fourth cause value includes at least one of the following: AI service does not exist, communication resource release fails, AI resource release fails, and AI service is in use and cannot be released.
[0517] Optionally, the protocol stack of the second device includes at least one of the following: an AI management layer, non-access layer session management NAS-SM, and non-access layer message management NAS-MM; the AI management layer is used to generate messages related to releasing AI resources, and the NAS-SM is used to generate messages related to releasing communication resources.
[0518] Optionally, the second device is a terminal, or a network side device, and the network side device includes at least one of the following: a policy charging function PCF, an access and mobility management function AMF, a session management function SMF, an application server, and a NEF.
[0519] The device of this embodiment can be used to execute the method of any embodiment in the aforementioned first device side method embodiment. Its specific implementation process and technical effects are the same as those in the first device side method embodiment. For details, please refer to the detailed introduction in the first device side embodiment, which will not be repeated here.
[0520] FIG19 is a second structural diagram of the device for releasing an AI service provided in an embodiment of the present application. As shown in FIG19 , the device for releasing an AI service includes:
[0521] A sending module 210 is configured to send a first release request message to a first device, where the first release request message is used to request the release of service resources associated with the AI service;
[0522] The receiving module 220 is configured to receive a first release response message sent by the first device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released.
[0523] Optionally, the first release request message includes at least one of the following:
[0524] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0525] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0526] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0527] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0528] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0529] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0530] The network identification information includes at least one of the following: a slice identifier, a data network name DNN;
[0531] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;
[0532] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.
[0533] Optionally, in the case where the first release response message is used to indicate a failure to release the service resources associated with the AI service, the first release response message includes a first cause value, and the first cause value includes at least one of the following: the AI service does not exist, the AI service is in use and cannot be released, the communication resource release fails, and the AI resource release fails.
[0534] Optionally, the protocol stack of the second device includes at least one of the following: an AI management layer, non-access layer session management NAS-SM, and non-access layer message management NAS-MM; the AI management layer is used to generate messages related to releasing AI resources, and the NAS-SM is used to generate messages related to releasing communication resources.
[0535] Optionally, the second device is a terminal, or a network side device, and the network side device includes at least one of the following: a policy charging function PCF, an access and mobility management function AMF, a session management function SMF, an application server, and a NEF.
[0536] The device of this embodiment can be used to execute the method of any embodiment of the aforementioned second device side method embodiment. Its specific implementation process and technical effects are the same as those in the second device side method embodiment. For details, please refer to the detailed introduction in the second device side embodiment, which will not be repeated here.
[0537] FIG20 is a third structural diagram of the device for releasing an AI service provided in an embodiment of the present application. As shown in FIG20 , the device for releasing an AI service includes:
[0538] A receiving module 310 is configured to receive a second release request message sent by the first device, where the second release request message is used to request the third device to release AI resources allocated for the AI service;
[0539] A sending module 320 is configured to send a second release response message to the first device, indicating whether the AI resource is successfully released;
[0540] or,
[0541] The receiving module 310 is configured to receive a fourth release request message sent by the first device, where the fourth release request message is used to request the third device to release service resources associated with the AI service;
[0542] The sending module 320 is configured to send a fourth release response message to the first device, where the fourth release response message is used to indicate whether the third device has successfully released the service resources associated with the AI service.
[0543] Optionally, the second release request message includes at least one of the following: release requester identifier, AI service information, PDU session information, AI session information, AI service management function address, policy information, and release reason.
[0544] Optionally, the fourth release request message includes at least one of the following:
[0545] Release requester identification, AI service information, PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0546] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0547] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0548] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0549] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0550] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0551] The network identification information includes at least one of the following: a slice identifier, a data network name DNN;
[0552] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;
[0553] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.
[0554] Optionally, the sending module 320 is further configured to:
[0555] Sending a fifth release request message to a fifth device, requesting to release the AI policy associated with the AI service;
[0556] The fifth release request message includes at least one of the following: a release requester identifier, an AI policy identifier, AI session information, a network resource identifier, a PDU session information, an AI service information, a release reason, and policy information.
[0557] Optionally, the receiving module 310 is further configured to:
[0558] receiving a fifth release response message sent by the fifth device, where the fifth release response message is used to indicate whether the AI policy associated with the AI service is successfully released;
[0559] In a case where the fifth release response message is used to indicate a failure in releasing the AI policy associated with the AI service, the fifth release response message includes a fifth cause value, and the fifth cause value includes at least one of the following: the AI policy does not exist, or the AI policy is in use and cannot be released.
[0560] Optionally, the device further comprises:
[0561] A processing module is configured to, by the third device, based on the AI policy associated with the AI service and the release requester identifier associated with the AI policy, remove the association between the release requester and the AI policy from the local context of the third device.
[0562] Optionally, the sending module 320 is further configured to:
[0563] Sending a sixth release request message to a sixth device, requesting to release the association status between the model and the AI service, or to release the association status between the model and the user;
[0564] The sixth release request message includes at least one of the following: release requester identifier, AI service identifier, AI service description, model contract association identifier, model identifier, and AI model management function address.
[0565] Optionally, the sending module 320 is further configured to:
[0566] A seventh release request message is sent to a seventh device, where the seventh release request message is used to request the release of AI resources allocated for the AI service, and the seventh release request message includes at least one of the following: an AI resource management function address, AI session information, and AI service information.
[0567] Optionally, the sending module 320 is specifically configured to:
[0568] When a preset condition is met, the third device sends a sixth release request message to the sixth device;
[0569] The preset conditions include at least one of the following:
[0570] The sixth release request message includes a model identifier;
[0571] The sixth release request message includes the model contract association identifier;
[0572] Optionally, the receiving module 310 is further configured to:
[0573] Receive a sixth release response message sent by the sixth device, which is used to indicate whether the association state corresponding to the model is successfully released.
[0574] Optionally, the receiving module 310 is further configured to:
[0575] receiving a seventh release response message sent by the seventh device, indicating whether the AI resource is successfully released;
[0576] In the case where the seventh release response message is used to indicate a failure to release the AI resource, the seventh release response message includes a seventh cause value, and the seventh cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0577] Optionally, the sending module 320 is specifically configured to:
[0578] Upon receiving the fourth release request message sent by the first device, sending a ninth release request message to the fifth device, where the ninth release request message is used to request the release of the AI policy and / or communication policy associated with the AI service;
[0579] The ninth release request message includes at least one of the following: a release requester identifier, an AI policy identifier, a communication policy identifier, AI session information, PDU session information, a network resource identifier, AI service information, a release reason, and policy information.
[0580] Optionally, the receiving module 310 is further configured to:
[0581] receiving a ninth release response message sent by the fifth device, where the ninth release response message is used to indicate whether the AI policy and / or the communication policy is successfully released;
[0582] In the case where the ninth release response message is used to indicate a failure to release the AI policy and / or the communication policy, the ninth release response message includes an eighth cause value, and the eighth cause value includes at least one of the following: the AI policy does not exist, the AI policy is in use and cannot be released, the communication policy does not exist, and the communication policy is in use and cannot be released.
[0583] Optionally, the sending module 320 is further configured to:
[0584] Upon receiving the fourth release request message sent by the first device, sending an eighth release request message to the fourth device to request the release of communication resources allocated for the AI service;
[0585] The eighth release request message includes at least one of the following: release requester identification, PDU session information, AI session information, AI service information, network identification information, communication management function address, release reason, and policy information.
[0586] Optionally, the receiving module 310 is further configured to:
[0587] receiving an eighth release response message sent by the fourth device, which is used to indicate whether the communication resource is successfully released;
[0588] In the case where the eighth release response message is used to indicate a failure in releasing communication resources, the eighth release response message includes an eighth cause value, and the eighth cause value includes at least one of the following: the communication resource does not exist, and the communication resource is in use and cannot be released.
[0589] Optionally, when the second release response message is used to indicate a failure to release the AI resource, the second release response message includes a second cause value; the second cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0590] Optionally, the receiving module 310 is further configured to:
[0591] In case of receiving the second release request message sent by the first device, receiving a status notification message sent by the fourth device, where the status notification message is used to notify the status of resource release,
[0592] The status notification message includes at least one of the following:
[0593] Release requester identifier, AI service management function address, communication management function address, PDU session information, AI session information, AI service information, status indication, failure reason;
[0594] The status indication is used to indicate whether the AI resources or communication resources of the AI service are successfully released.
[0595] Optionally, the sending module 320 is further configured to:
[0596] Upon receiving the fourth release request message sent by the first device, and in a case where the release type is used to indicate releasing communication resources, sending the eighth release request message to the fourth device;
[0597] Upon receiving the fourth release request message sent by the first device and the release type is used to indicate the release of all resources, the seventh release request message is sent to the seventh device, and / or the third device sends the eighth release request message to the fourth device.
[0598] The device of this embodiment can be used to execute the method of any one of the embodiments in the aforementioned third device-side method embodiment. Its specific implementation process and technical effects are the same as those in the third device-side method embodiment. For details, please refer to the detailed introduction in the third device-side embodiment, which will not be repeated here.
[0599] FIG21 is a fourth structural diagram of the device for releasing an AI service provided in an embodiment of the present application. As shown in FIG21 , the device for releasing an AI service includes:
[0600] The receiving module 410 is configured to receive a third release request message sent by the first device, where the third release request message is used by the fourth device to release communication resources allocated for the AI service;
[0601] A sending module 420 is configured to send a third release response message to the first device, where the third release response message is used to indicate whether the communication resource is successfully released;
[0602] or,
[0603] The receiving module 410 is configured to receive a fourth release request message sent by the first device, where the fourth release request message is used to request the fourth device to release service resources associated with the AI service;
[0604] The sending module 420 is configured to send a fourth release response message to the first device, where the fourth release response message is used to indicate whether the fourth device has successfully released the service resources associated with the AI service.
[0605] Optionally, the third release request message includes at least one of the following: release requester identifier, AI service information, PDU session information, AI session information, network identification information, communication management function address, policy information, and release reason.
[0606] Optionally, the fourth release request message includes at least one of the following:
[0607] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0608] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0609] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0610] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0611] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0612] The network identification information includes at least one of the following: a slice identifier, a data network name DNN;
[0613] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0614] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching.
[0615] Optionally, the sending module 420 is further configured to:
[0616] Upon receiving the third release request message sent by the first device, sending a tenth release request message to the fifth device to request release of the communication policy associated with the AI service;
[0617] The tenth release request message includes at least one of the following: a release requester identifier, a communication policy identifier, PDU session information, a network resource identifier, AI session information, AI service information, a release reason, and policy information.
[0618] Optionally, the receiving module 410 is further configured to:
[0619] receiving a tenth release response message sent by the fifth device, indicating whether the communication policy associated with the AI service is successfully released;
[0620] In the case where the tenth release response message is used to indicate a failure in releasing the communication policy, the tenth release response message includes a tenth cause value, and the tenth cause value includes at least one of the following: the communication policy does not exist, and the communication policy is in use and cannot be released.
[0621] Optionally, the sending module 420 is further configured to:
[0622] Upon receiving the fourth release request message sent by the first device, sending a twelfth release request message to the fifth device, where the twelfth release request message is used to request release of the AI policy and / or communication policy associated with the AI service;
[0623] The twelfth release request message includes at least one of the following: a release requester identifier, a communication policy identifier, an AI policy identifier, PDU session information, AI session information, a network resource identifier, AI service information, a release reason, and policy information.
[0624] Optionally, the receiving module 410 is further configured to:
[0625] Upon receiving the fourth release request message sent by the first device, sending an eleventh release request message to the third device to request the release of the AI resources allocated for the AI service;
[0626] The eleventh release request message includes at least one of the following: release requester identifier, AI session information, and PDU session information.
[0627] Optionally, the receiving module 410 is further configured to:
[0628] receiving an eleventh release response message sent by the third device, indicating whether the AI resource is successfully released;
[0629] In the case where the eleventh release response message is used to indicate a failure to release the AI resource, the eleventh release response includes an eleventh cause value; the eleventh cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0630] Optionally, the sending module 420 is further configured to:
[0631] Sending a third release response message to the first device, used to indicate whether the communication resources are successfully released;
[0632] In the case where the third release response message is used to indicate a failure in releasing communication resources, the third release response message includes a third cause value, and the third cause value includes at least one of the following: the communication resource does not exist, and the communication resource is in use and cannot be released.
[0633] Optionally, the sending module 420 is further configured to:
[0634] Upon receiving the fourth release request message sent by the first device, and in a case where the release type indicates releasing the AI resource, sending the eleventh release request message to the third device;
[0635] Upon receiving the fourth release request message sent by the first device, and the release type is used to indicate the release of all resources, the thirteenth release request message is sent to the ninth device, and / or the fourth device sends the eleventh release request message to the third device; the thirteenth release request is used to request the release of the communication bearer associated with the AI service.
[0636] The device of this embodiment can be used to execute the method of any embodiment of the aforementioned fourth device-side method embodiment. Its specific implementation process and technical effects are the same as those in the fourth device-side method embodiment. For details, please refer to the detailed introduction in the fourth device-side embodiment, which will not be repeated here.
[0637] FIG22 is a fifth structural diagram of the device for releasing an AI service provided in an embodiment of the present application. As shown in FIG22 , the device for releasing an AI service includes:
[0638] A receiving module 510 is configured to receive a fourth release request message sent by the first device, where the fourth release request message is used to request the fifth device to release service resources associated with the AI service;
[0639] The sending module 520 is configured to send a fourth release response message to the first device, where the fourth release response message is used to indicate whether the fifth device has successfully released the service resources associated with the AI service.
[0640] Optionally, the fourth release request message includes at least one of the following:
[0641] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0642] Optionally, the sending module 520 is further configured to:
[0643] Sending an eleventh release request message to the third device, requesting to release the AI resources allocated for the AI service;
[0644] The eleventh release request message includes at least one of the following: release requester identifier, AI session information, and PDU session information.
[0645] Optionally, the receiving module 510 is further configured to:
[0646] receiving an eleventh release response message sent by the third device, indicating whether the AI resource is successfully released;
[0647] In the case where the eleventh release response message is used to indicate a failure to release the AI resource, the eleventh release response message includes an eleventh cause value; the eleventh cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0648] Optionally, the sending module 520 is further configured to:
[0649] Sending a fourteenth release request message to the fourth device, requesting to release communication resources associated with the AI service;
[0650] The fourteenth release request message includes at least one of the following: release requester identification, PDU session information, AI session information, AI service information, network identification information, communication management function address, release reason, and policy information.
[0651] Optionally, the receiving module 510 is further configured to:
[0652] receiving a fourteenth release response message sent by the fourth device, used to indicate whether the communication resource is successfully released;
[0653] In the case where the fourteenth release response message is used to indicate a failure in releasing communication resources, the fourteenth release response message includes a fourteenth cause value, and the fourteenth cause value includes at least one of the following: the communication resource does not exist, or the communication resource is in use and cannot be released.
[0654] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0655] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0656] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0657] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0658] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0659] The network identification information includes at least one of the following: a slice identifier, a data network name DNN;
[0660] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;
[0661] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.
[0662] The device of this embodiment can be used to execute the method of any one of the embodiments in the aforementioned fifth device-side method embodiment. Its specific implementation process and technical effects are the same as those in the fifth device-side method embodiment. For details, please refer to the detailed introduction in the fifth device-side embodiment, which will not be repeated here.
[0663] FIG23 is a sixth structural diagram of the device for releasing an AI service according to an embodiment of the present application. As shown in FIG23 , the device for releasing an AI service includes:
[0664] A receiving module 710 is configured to receive a seventh release request message sent by a third device, where the seventh release request message is used to request the release of AI resources allocated for the AI service, and the seventh release request message includes at least one of the following: an AI resource management function address, AI session information, and AI service information;
[0665] The sending module 720 is configured to send a seventh release response message to the third device, where the seventh release response message is used to indicate whether the AI resource is successfully released.
[0666] Optionally, when the seventh release response message is used to indicate a failure to release the AI resource, the seventh release response message includes a seventh cause value, and the seventh cause value includes at least one of the following: the AI resource does not exist, or the AI resource is in use and cannot be released.
[0667] Optionally, the sending module 720 is further configured to:
[0668] Sending a fifteenth release request message to the eighth device, requesting to release the AI bearer associated with the AI service;
[0669] The fifteenth release request message includes at least one of the following: an AI resource node address, AI session information, and AI service information.
[0670] Optionally, the receiving module 710 is further configured to:
[0671] receiving a fifteenth release response message sent by the eighth device, used to indicate whether the AI bearer is successfully released;
[0672] In the case where the fifteenth release response message is used to indicate a failure to release the AI bearer, the fifteenth release response message includes a fifteenth cause value; the fifteenth cause value includes at least one of the following: the AI bearer does not exist, or the AI bearer is in use and cannot be released.
[0673] The device of this embodiment can be used to execute the method of any one of the embodiments in the aforementioned seventh device-side method embodiment. Its specific implementation process and technical effects are the same as those in the seventh device-side method embodiment. For details, please refer to the detailed introduction in the seventh device-side embodiment, which will not be repeated here.
[0674] The release device of the AI service in the embodiment of the present application can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or other device other than a terminal. For example, the terminal can include but is not limited to the type of terminal 11 listed above, and other devices can be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.
[0675] The AI service release device provided in the embodiment of the present application can implement the various processes implemented in the method embodiments of Figures 2 to 17 and achieve the same technical effects. To avoid repetition, they will not be described here.
[0676] As shown in Figure 24, an embodiment of the present application further provides a communication device 2400, including a processor 2401 and a memory 2402, wherein the memory 2402 stores a program or instruction that can be run on the processor 2401. For example, when the communication device 2400 is a terminal, the program or instruction is executed by the processor 2401 to implement the various steps of the above-mentioned AI service release method embodiment, and can achieve the same technical effect. When the communication device 2400 is a network side device, the program or instruction is executed by the processor 2401 to implement the various steps of the above-mentioned AI service release method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0677] The present application also provides a terminal including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps of the method embodiment shown in FIG13 . This terminal embodiment corresponds to the aforementioned terminal-side method embodiment, and each implementation process and implementation method of the aforementioned method embodiment are applicable to this terminal embodiment and can achieve the same technical effects. Specifically, FIG25 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of the present application.
[0678] The terminal 2500 includes but is not limited to: a radio frequency unit 2501, a network module 2502, an audio output unit 2503, an input unit 2504, a sensor 2505, a display unit 2506, a user input unit 2507, an interface unit 2508, a memory 2509 and at least some of the components of the processor 2510.
[0679] Those skilled in the art will appreciate that the terminal 2500 may also include a power supply (such as a battery) to power various components. The power supply may be logically connected to the processor 2510 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The terminal structure shown in FIG25 does not limit the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be described in detail here.
[0680] It should be understood that in an embodiment of the present application, the input unit 2504 may include a graphics processing unit (GPU) 25041 and a microphone 25042, and the graphics processor 25041 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 2506 may include a display panel 25061, and the display panel 25061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 2507 includes a touch panel 25071 and at least one of other input devices 25072. The touch panel 25071 is also called a touch screen. The touch panel 25071 may include two parts: a touch detection device and a touch controller. Other input devices 25072 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 repeated here.
[0681] In the embodiment of the present application, after receiving downlink data from a network-side device, the RF unit 2501 may transmit the data to the processor 2510 for processing. Furthermore, the RF unit 2501 may send uplink data to the network-side device. Typically, the RF unit 2501 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like.
[0682] The memory 2509 can be used to store software programs or instructions and various data. The memory 2509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 2509 may include a volatile memory or 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. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 2509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0683] Processor 2510 may include one or more processing units. Optionally, processor 2510 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 2510.
[0684] The radio frequency unit 2501 is configured to send a first release request message to the first device, where the first release request message is used to request the release of service resources associated with the AI service;
[0685] The radio frequency unit 2501 is further used to receive a first release response message sent by a first device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released.
[0686] Optionally, the first release request message includes at least one of the following:
[0687] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
[0688] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;
[0689] The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier;
[0690] The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address;
[0691] The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address;
[0692] The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address;
[0693] The network identification information includes at least one of the following: a slice identifier, a data network name DNN;
[0694] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;
[0695] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.
[0696] Optionally, in the case where the first release response message is used to indicate a failure to release the service resources associated with the AI service, the first release response message includes a first cause value, and the first cause value includes at least one of the following: the AI service does not exist, the AI service is in use and cannot be released, the communication resource release fails, and the AI resource release fails.
[0697] Optionally, the protocol stack of the second device includes at least one of the following: an AI management layer, non-access layer session management NAS-SM, and non-access layer message management NAS-MM; the AI management layer is used to generate messages related to releasing AI resources, and the NAS-SM is used to generate messages related to releasing communication resources.
[0698] It can be understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the method embodiment and achieve the same or corresponding technical effects. To avoid repetition, it will not be repeated here.
[0699] The present application also provides a network-side device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps of the method embodiments shown in Figures 2 to 17. This network-side device embodiment corresponds to the aforementioned network-side device method embodiment, and each implementation process and implementation method of the aforementioned method embodiment is applicable to this network-side device embodiment and can achieve the same technical effects.
[0700] Specifically, the embodiment of the present application further provides a network side device. As shown in FIG26 , the network side device 2600 includes: a processor 2601, a network interface 2602, and a memory 2603. The network interface 2602 is, for example, a common public radio interface (CPRI).
[0701] Specifically, the network side device 2600 of the embodiment of the present application also includes: instructions or programs stored in the memory 2603 and executable on the processor 2601. The processor 2601 calls the instructions or programs in the memory 2603 to execute the methods executed by the modules shown in Figures 18-23 and achieve the same technical effect. To avoid repetition, they will not be elaborated here.
[0702] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by the processor, the various processes of the above-mentioned AI service release method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0703] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. In some examples, the readable storage medium may be a non-transitory readable storage medium.
[0704] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned AI service release method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0705] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0706] The embodiment of the present application further provides a computer program / program product, which is stored in a storage medium and is executed by at least one processor to implement the various processes of the above-mentioned AI service release method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here.
[0707] An embodiment of the present application also provides a communication system, including: a second device, a first device, a third device, a fourth device, a fifth device, and a seventh device, wherein the second device can be used to execute the steps of the AI service release method as described above, the first device can be used to execute the steps of the AI service release method as described above, the third device can be used to execute the steps of the AI service release method as described above, the fourth device can be used to execute the steps of the AI service release method as described above, the fifth device can be used to execute the steps of the AI service release method as described above, and the seventh device can be used to execute the steps of the AI service release method as described above.
[0708] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the 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 the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0709] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general-purpose hardware platform, or of course, by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.) and includes a number of instructions for enabling a terminal or network-side device to execute the methods described in each embodiment of the present application.
[0710] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of this application and the scope of protection of the claims. These implementation methods are all within the protection of this application.
Claims
1. A method for releasing an AI service, comprising: The first device receives a first release request message sent by the second device, where the first release request message is used to request the release of service resources associated with the artificial intelligence AI service; The first device sends a first release response message to the second device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released; The first device performs at least one of the following operations based on the first release request message: Determine at least one of a third device, a fourth device, and a fifth device associated with the AI service; Sending a second release request message to the third device, where the second release request message is used to request the release of the AI resources allocated for the AI service; Sending a third release request message to the fourth device, where the third release request message is used to request the release of communication resources allocated for the AI service; A fourth release request message is sent to the third device, the fourth device or the fifth device, where the fourth release request message is used to request the third device, the fourth device or the fifth device to release the service resources associated with the AI service.
2. The method according to claim 1, wherein: The first release request message includes at least one of the following: Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
3. The method according to claim 1 or 2, wherein: In the case where the first release response message is used to indicate a failure in releasing service resources associated with the AI service, the first release response message includes a first cause value, and the first cause value includes at least one of the following: the AI service does not exist, the AI service is in use and cannot be released, the communication resource release fails, and the AI resource release fails.
4. The method according to any one of claims 1 to 3, wherein: The second release request message includes at least one of the following: release requester identifier, AI service information, PDU session information, AI session information, AI service management function address, policy information, and release reason; The third release request message includes at least one of the following: release requester identification, AI service information, PDU session information, AI session information, network identification information, communication management function address, policy information, and release reason.
5. The method according to any one of claims 2 to 4, wherein: The release requester identifier includes at least one of the following: a terminal identifier, a network device identifier; The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier; The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address; The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address; The network identification information includes at least one of the following: a slice identification, a data network name DNN; The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address; The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching.
6. The method according to any one of claims 1 to 5, wherein: The fourth release request message includes at least one parameter in the first release request message.
7. The method according to any one of claims 1 to 6, wherein: In the case where the first release response message is used to indicate a failure in releasing service resources associated with the AI service, the first release response message includes a first cause value, and the first cause value includes at least one of the following: the AI service does not exist, the AI service is in use and cannot be released, the communication resource release fails, and the AI resource release fails.
8. The method according to any one of claims 1 to 7, wherein: The method further comprises: The first device receives a second release response message sent by the third device, which is used to indicate whether the AI resource is successfully released; In the case where the second release response message is used to indicate a failure to release the AI resource, the second release response includes a second cause value; the second cause value includes at least one of the following: the AI resource does not exist, and the AI resource is in use and cannot be released.
9. The method according to any one of claims 1 to 8, wherein: The method further comprises: The first device receives a third release response message sent by the fourth device, indicating whether the release is successful. Release communication resources; In the case where the third release response message is used to indicate a failure in releasing communication resources, the third release response message includes a third cause value, and the third cause value includes at least one of the following: the communication resource does not exist, and the communication resource is in use and cannot be released.
10. The method according to any one of claims 1 to 9, wherein: The method further comprises: The first device receives a fourth release response message sent by the third device, the fourth device or the fifth device, which is used to indicate whether the service resources associated with the AI service are successfully released; In the case where the fourth release response message is used to indicate a failure to release service resources, the fourth release response message includes a fourth cause value, and the fourth cause value includes at least one of the following: the AI service does not exist, the communication resource release fails, the AI resource release fails, and the AI service is in use and cannot be released.
11. The method according to any one of claims 1 to 10, wherein: The protocol stack of the second device includes at least one of the following: an AI management layer, a non-access layer session management NAS-SM and a non-access layer message management NAS-MM; the AI management layer is used to generate messages related to releasing AI resources, and the NAS-SM is used to generate messages related to releasing communication resources.
12. The method according to any one of claims 1 to 11, wherein: The second device is a terminal, or a network side device, and the network side device includes at least one of the following: a policy charging function PCF, an access and mobility management function AMF, a session management function SMF, an application server, and a NEF.
13. A method for releasing an AI service, comprising: The second device sends a first release request message to the first device, where the first release request message is used to request the release of service resources associated with the AI service; The second device receives a first release response message sent by the first device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released.
14. The method according to claim 13, wherein: The first release request message includes at least one of the following: Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
15. The method according to claim 14, wherein: The release requester identifier includes at least one of the following: a terminal identifier, a network device identifier; The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier; The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address; The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address; The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address; The network identification information includes at least one of the following: a slice identification, a data network name DNN; The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching; The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.
16. The method according to any one of claims 13 to 15, wherein: In the case where the first release response message is used to indicate a failure in releasing service resources associated with the AI service, the first release response message includes a first cause value, and the first cause value includes at least one of the following: the AI service does not exist, the AI service is in use and cannot be released, the communication resource release fails, and the AI resource release fails.
17. The method according to any one of claims 13 to 16, wherein: The protocol stack of the second device includes at least one of the following: an AI management layer, a non-access layer session management NAS-SM and a non-access layer message management NAS-MM; the AI management layer is used to generate messages related to releasing AI resources, and the NAS-SM is used to generate messages related to releasing communication resources.
18. The method according to any one of claims 13 to 17, wherein: The second device is a terminal, or a network side device, and the network side device includes at least one of the following: a policy charging function PCF, an access and mobility management function AMF, a session management function SMF, an application server, and a NEF.
19. A method for releasing an AI service, comprising: The third device receives the second release request message sent by the first device, and the second release request message is used to request Requesting the third device to release AI resources allocated for the AI service; The third device sends a second release response message to the first device, to indicate whether the AI resource is successfully released; or, The third device receives a fourth release request message sent by the first device, where the fourth release request message is used to request the third device to release the service resources associated with the AI service; The third device sends a fourth release response message to the first device, where the fourth release response message is used to indicate whether the third device successfully releases the service resources associated with the AI service.
20. The method according to claim 19, wherein: The second release request message includes at least one of the following: release requester identifier, AI service information, PDU session information, AI session information, AI service management function address, policy information, and release reason.
21. The method according to claim 19 or 20, wherein: The fourth release request message includes at least one of the following: Release requester identification, AI service information, PDU session information, AI session information, policy information, network identification information, release reason, release type.
22. The method according to claim 20 or 21, wherein: The release requester identifier includes at least one of the following: a terminal identifier, a network device identifier; The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier; The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address; The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address; The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address; The network identification information includes at least one of the following: a slice identification, a data network name DNN; The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching; The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.
23. The method according to any one of claims 19 to 22, wherein: The method further comprises: The third device sends a fifth release request message to the fifth device, requesting to release the AI policy associated with the AI service; The fifth release request message includes at least one of the following: a release requester identifier, an AI policy identifier, an AI session information, a network resource identifier, a PDU session information, an AI service information, a release reason, and a policy information.
24. The method according to claim 23, wherein: The method further comprises: The third device receives a fifth release response message sent by the fifth device, where the fifth release response message is used to indicate whether the AI policy associated with the AI service is successfully released; In the case where the fifth release response message is used to indicate a failure in releasing the AI policy associated with the AI service, the fifth release response message includes a fifth cause value, and the fifth cause value includes at least one of the following: the AI policy does not exist, and the AI policy is in use and cannot be released.
25. The method according to any one of claims 19 to 22, wherein: The method further comprises: The third device releases the association between the release requester and the AI policy from the local context of the third device based on the AI policy associated with the AI service and the release requester identifier associated with the AI policy.
26. The method according to any one of claims 19 to 25, wherein: The method further comprises: The third device sends a sixth release request message to the sixth device, requesting to release the association status between the model and the AI service, or to release the association status between the model and the user; The sixth release request message includes at least one of the following: release requester identifier, AI service identifier, AI service description, model contract association identifier, model identifier, and AI model management function address.
27. The method according to any one of claims 19 to 26, wherein: The method further comprises: The third device sends a seventh release request message to the seventh device, where the seventh release request message is used to request the release of AI resources allocated for the AI service, and the seventh release request message includes at least one of the following: an AI resource management function address, AI session information, and AI service information.
28. The method according to claim 26, wherein: The third device sending a sixth release request message to the sixth device includes: When a preset condition is met, the third device sends a sixth release request message to the sixth device; The preset condition includes at least one of the following: The sixth release request message includes a model identifier; The sixth release request message includes a model contract association identifier; The method further comprises: The third device receives a sixth release response message sent by the sixth device, which is used to indicate whether the association state corresponding to the model is successfully released.
29. The method according to claim 27, wherein: The method further comprises: The third device receives a seventh release response message sent by the seventh device, which is used to indicate whether the AI resource is successfully released; In the case where the seventh release response message is used to indicate a failure in releasing the AI resource, the seventh release response message includes a seventh cause value, and the seventh cause value includes at least one of the following: the AI resource does not exist, and the AI resource is in use and cannot be released.
30. The method according to any one of claims 19 to 22, wherein: The method further comprises: When the third device receives the fourth release request message sent by the first device, the third device sends a ninth release request message to the fifth device, where the ninth release request message is used to request the release of the AI policy and / or communication policy associated with the AI service; The ninth release request message includes at least one of the following: a release requester identifier, an AI policy identifier, a communication policy identifier, an AI session information, a PDU session information, a network resource identifier, an AI service information, a release reason, and policy information.
31. The method according to claim 30, wherein: The method further comprises: The third device receives a ninth release response message sent by the fifth device, where the ninth release response message is used to indicate whether the AI policy and / or the communication policy is successfully released; In the case where the ninth release response message is used to indicate a failure to release the AI policy and / or the communication policy, the ninth release response message includes an eighth cause value, and the eighth cause value includes at least one of the following: the AI policy does not exist, the AI policy is in use and cannot be released, the communication policy does not exist, and the communication policy is in use and cannot be released.
32. The method according to any one of claims 19 to 31, wherein: The method further comprises: When the third device receives the fourth release request message sent by the first device, the third device sends an eighth release request message to the fourth device to request the release of communication resources allocated for the AI service; The eighth release request message includes at least one of the following: release requester identification, PDU session information, AI session information, AI service information, network identification information, communication management function address, release reason, and policy information.
33. The method of claim 32, wherein: The method further comprises: The third device receives an eighth release response message sent by the fourth device, which is used to indicate whether the communication resource is successfully released; In the case where the eighth release response message is used to indicate a failure in releasing communication resources, the eighth release response message includes an eighth cause value, and the eighth cause value includes at least one of the following: the communication resource does not exist, and the communication resource is in use and cannot be released.
34. The method according to any one of claims 19 to 33, wherein: In the case where the second release response message is used to indicate a failure to release the AI resource, the second release response message includes a second cause value; the second cause value includes at least one of the following: the AI resource does not exist, and the AI resource is in use and cannot be released.
35. The method according to any one of claims 19 to 29, wherein: The method further comprises: In a case where the third device receives the second release request message sent by the first device, the third device receives a status notification message sent by the fourth device, where the status notification message is used to notify a status of resource release, The status notification message includes at least one of the following: Release requester identifier, AI service management function address, communication management function address, PDU session information, AI session information, AI service information, status indication, and failure reason; The status indication is used to indicate whether the AI resources or communication resources of the AI service are successfully released.
36. The method according to any one of claims 19 to 35, wherein: The method further comprises: When the third device receives the fourth release request message sent by the first device, and the release type is used to indicate the release of communication resources, the third device sends the eighth release request message to the fourth device. Put request message; When the third device receives the fourth release request message sent by the first device and the release type is used to indicate the release of all resources, the third device sends the seventh release request message to the seventh device, and / or the third device sends the eighth release request message to the fourth device.
37. A method for releasing an AI service, comprising: The fourth device receives a third release request message sent by the first device, where the third release request message is used by the fourth device to release communication resources allocated for the AI service; The fourth device sends a third release response message to the first device, where the third release response message is used to indicate whether the communication resource is successfully released; or, The fourth device receives a fourth release request message sent by the first device, where the fourth release request message is used to request the fourth device to release service resources associated with the AI service; The fourth device sends a fourth release response message to the first device, where the fourth release response message is used to indicate whether the fourth device successfully releases the service resources associated with the AI service.
38. The method of claim 37, wherein: The third release request message includes at least one of the following: release requester identification, AI service information, PDU session information, AI session information, network identification information, communication management function address, policy information, and release reason.
39. The method according to claim 37 or 38, wherein: The fourth release request message includes at least one of the following: Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
40. The method according to claim 38 or 39, wherein: The release requester identifier includes at least one of the following: a terminal identifier, a network device identifier; The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier; The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address; The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address; The network identification information includes at least one of the following: a slice identification, a data network name DNN; The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address; The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching.
41. The method according to any one of claims 37 to 40, wherein: The method further comprises: When the fourth device receives the third release request message sent by the first device, the fourth device sends a tenth release request message to the fifth device, requesting to release the communication policy associated with the AI service; The tenth release request message includes at least one of the following: a release requester identifier, a communication policy identifier, a PDU session information, a network resource identifier, an AI session information, an AI service information, a release reason, and policy information.
42. The method according to claim 41, wherein: The method further comprises: The fourth device receives a tenth release response message sent by the fifth device, which is used to indicate whether the communication policy associated with the AI service is successfully released; In the case where the tenth release response message is used to indicate a failure in releasing the communication policy, the tenth release response message includes a tenth cause value, and the tenth cause value includes at least one of the following: the communication policy does not exist, and the communication policy is in use and cannot be released.
43. The method according to any one of claims 37 to 42, wherein: The method further comprises: When the fourth device receives the fourth release request message sent by the first device, the fourth device sends a twelfth release request message to the fifth device, where the twelfth release request message is used to request the release of the AI policy and / or communication policy associated with the AI service; The twelfth release request message includes at least one of the following: a release requester identifier, a communication policy identifier, an AI policy identifier, a PDU session information, an AI session information, a network resource identifier, an AI service information, a release reason, and policy information.
44. The method according to any one of claims 37 to 43, wherein: The method further comprises: When the fourth device receives the fourth release request message sent by the first device, the fourth device sends an eleventh release request message to the third device, requesting to release the AI resources allocated for the AI service; The eleventh release request message includes at least one of the following: a release requester identifier, AI session information, and PDU session information.
45. The method of claim 44, wherein: The method further comprises: The fourth device receives an eleventh release response message sent by the third device, used to indicate whether the AI resource is successfully released; In the case where the eleventh release response message is used to indicate a failure to release the AI resource, the eleventh release response includes an eleventh cause value; the eleventh cause value includes at least one of the following: the AI resource does not exist, and the AI resource is in use and cannot be released.
46. The method according to any one of claims 37 to 45, wherein: The method further comprises: The fourth device sends a third release response message to the first device, used to indicate whether the communication resource is successfully released; In the case where the third release response message is used to indicate a failure in releasing communication resources, the third release response message includes a third cause value, and the third cause value includes at least one of the following: the communication resource does not exist, and the communication resource is in use and cannot be released.
47. The method according to any one of claims 37 to 46, wherein: The method further comprises: When the fourth device receives the fourth release request message sent by the first device, and the release type is used to indicate the release of AI resources, the fourth device sends the eleventh release request message to the third device; When the fourth device receives the fourth release request message sent by the first device, and the release type is used to indicate the release of all resources, the fourth device sends a thirteenth release request message to the ninth device, and / or the fourth device sends the eleventh release request message to the third device; the thirteenth release request is used to request the release of the communication bearer associated with the AI service.
48. A method for releasing an AI service, comprising: The fifth device receives a fourth release request message sent by the first device, where the fourth release request message is used to request the fifth device to release service resources associated with the AI service; The fifth device sends a fourth release response message to the first device, where the fourth release response message is used to indicate whether the fifth device successfully releases the service resources associated with the AI service.
49. The method of claim 48, wherein: The fourth release request message includes at least one of the following: Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.
50. The method of claim 48 or 49, wherein: The method further comprises: The fifth device sends an eleventh release request message to the third device, for requesting to release the AI resources allocated for the AI service; The eleventh release request message includes at least one of the following: a release requester identifier, AI session information, and PDU session information.
51. The method of claim 50, wherein: The method further comprises: The fifth device receives an eleventh release response message sent by the third device, used to indicate whether the AI resource is successfully released; In the case where the eleventh release response message is used to indicate a failure to release the AI resource, the eleventh release response message includes an eleventh cause value; the eleventh cause value includes at least one of the following: the AI resource does not exist, and the AI resource is in use and cannot be released.
52. The method according to any one of claims 48 to 51, wherein: The method further comprises: The fifth device sends a fourteenth release request message to the fourth device, requesting to release the communication resources associated with the AI service; The fourteenth release request message includes at least one of the following: release requester identification, PDU session information, AI session information, AI service information, network identification information, communication management function address, release reason, and policy information.
53. The method of claim 52, wherein: The method further comprises: The fifth device receives a fourteenth release response message sent by the fourth device, used to indicate whether the communication resource is successfully released; In the case where the fourteenth release response message is used to indicate a failure in releasing communication resources, the fourteenth release response message includes a fourteenth cause value, and the fourteenth cause value includes at least one of the following: the communication resource does not exist, and the communication resource is in use and cannot be released.
54. The method according to any one of claims 49 to 53, wherein: The release requester identifier includes at least one of the following: a terminal identifier, a network device identifier; The AI service information includes at least one of the following: an AI service identifier, an AI service description, a model contract association identifier, and a model identifier; The PDU session information includes at least one of the following: a PDU session identifier, a PDU session type, a communication resource identifier, and a communication resource node address; The AI session information includes at least one of the following: an AI session identifier, an AI session type, an AI resource identifier, and an AI resource node address; The policy information includes at least one of the following: an AI policy identifier, a communication policy identifier, a comprehensive policy identifier, and a policy charging function address; The network identification information includes at least one of the following: a slice identification, a data network name DNN; The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching; The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.
55. A method for releasing an AI service, comprising: The seventh device receives a seventh release request message sent by the third device, where the seventh release request message is used to request the release of AI resources allocated for the AI service, and the seventh release request message includes at least one of the following: an AI resource management function address, AI session information, and AI service information; The seventh device sends a seventh release response message to the third device, where the seventh release response message is used to indicate whether the AI resource is successfully released.
56. The method of claim 55, wherein: In the case where the seventh release response message is used to indicate a failure in releasing the AI resource, the seventh release response message includes a seventh cause value, and the seventh cause value includes at least one of the following: the AI resource does not exist, and the AI resource is in use and cannot be released.
57. The method of claim 55 or 56, wherein: The method further comprises: The seventh device sends a fifteenth release request message to the eighth device, for requesting to release the AI bearer associated with the AI service; The fifteenth release request message includes at least one of the following: an AI resource node address, AI session information, and AI service information.
58. The method of claim 57, wherein: The method further comprises: The seventh device receives a fifteenth release response message sent by the eighth device, used to indicate whether the AI bearer is successfully released; In the case where the fifteenth release response message is used to indicate a failure to release the AI bearer, the fifteenth release response message includes a fifteenth cause value; the fifteenth cause value includes at least one of the following: the AI bearer does not exist, and the AI bearer is in use and cannot be released.
59. A device for releasing an AI service, comprising: A receiving module, configured to receive a first release request message sent by a second device, where the first release request message is used to request the release of service resources associated with an artificial intelligence (AI) service; A sending module, configured to send a first release response message to the second device, where the first release response message is used to indicate whether the service resources associated with the AI service are successfully released; An execution module, configured to perform at least one of the following operations based on the first release request message: Determine at least one of a third device, a fourth device, and a fifth device associated with the AI service; Sending a second release request message to a third device, where the second release request message is used to request the release of the AI resources allocated for the AI service; Sending a third release request message to a fourth device, where the third release request message is used to request the release of communication resources allocated for the AI service; Send a fourth release request message to the third device, the fourth device or the fifth device, where the fourth release request message is used to request the third device, the fourth device or the fifth device to release the service resources associated with the AI service.
60. A device for releasing an AI service, comprising: A sending module, configured to send a first release request message to the first device, where the first release request message is used to request the release of service resources associated with the AI service; A receiving module is configured to receive a first release response message sent by the first device, wherein the first release response message The message is used to indicate whether the service resources associated with the AI service are released successfully.
61. A device for releasing an AI service, comprising: A receiving module, configured to receive a second release request message sent by the first device, where the second release request message is used to request the third device to release the AI resources allocated for the AI service; A sending module, configured to send a second release response message to the first device, to indicate whether the AI resource is successfully released; or, The receiving module is configured to receive a fourth release request message sent by the first device, where the fourth release request message is used to request the third device to release the service resources associated with the AI service; The sending module is used to send a fourth release response message to the first device, where the fourth release response message is used to indicate whether the third device successfully releases the service resources associated with the AI service.
62. A device for releasing an AI service, comprising: A receiving module, configured to receive a third release request message sent by the first device, where the third release request message is used by the fourth device to release communication resources allocated for the AI service; A sending module, used to send a third release response message to the first device, where the third release response message is used to indicate whether the communication resource is successfully released; or, The receiving module is used to receive a fourth release request message sent by the first device, where the fourth release request message is used to request the fourth device to release service resources associated with the AI service; The sending module is used to send a fourth release response message to the first device, where the fourth release response message is used to indicate whether the fourth device successfully releases the service resources associated with the AI service.
63. A device for releasing an AI service, comprising: A receiving module, configured to receive a fourth release request message sent by the first device, where the fourth release request message is used to request the fifth device to release the service resources associated with the AI service; A sending module is used to send a fourth release response message to the first device, where the fourth release response message is used to indicate whether the fifth device successfully releases the service resources associated with the AI service.
64. A device for releasing an AI service, comprising: A receiving module, configured to receive a seventh release request message sent by a third device, wherein the seventh release request message is used to request the release of AI resources allocated for the AI service, and the seventh release request message includes at least one of the following: an AI resource management function address, AI session information, and AI service information; A sending module is used to send a seventh release response message to the third device, where the seventh release response message is used to indicate whether the AI resource is successfully released.
65. A first device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be executed on the processor, and when the program or instruction is executed by the processor, the steps of the method for releasing the AI service as described in any one of claims 1 to 12 are implemented.
66. A second device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be executed on the processor, and when the program or instruction is executed by the processor, the steps of the method for releasing the AI service as described in any one of claims 13 to 18 are implemented.
67. A third device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be executed on the processor, and when the program or instruction is executed by the processor, the steps of the method for releasing the AI service as described in any one of claims 19 to 36 are implemented.
68. A fourth device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be executed on the processor, and when the program or instruction is executed by the processor, the steps of the method for releasing the AI service as described in any one of claims 37 to 47 are implemented.
69. A fifth device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be executed on the processor, and when the program or instruction is executed by the processor, the steps of the method for releasing the AI service as described in any one of claims 48 to 54 are implemented.
70. A seventh device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be executed on the processor, and when the program or instruction is executed by the processor, the steps of the method for releasing the AI service as described in any one of claims 55 to 58 are implemented.
71. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the method for releasing an AI service as described in any one of claims 1 to 12, or implements the steps of the method for releasing an AI service as described in any one of claims 13 to 18, or implements the steps of the method for releasing an AI service as described in any one of claims 19 to 36, or implements the steps of the method for releasing an AI service as described in any one of claims 37 to 47, or implements the steps of the method for releasing an AI service as described in any one of claims 48 to 54, or implements the steps of the method for releasing an AI service as described in any one of claims 55 to 58.
72. A computer program product, wherein the computer program product is stored in a storage medium, and the computer program product is executed by at least one processor to implement the method for releasing the AI service as described in any one of claims 1 to 12, or the method for releasing the AI service as described in any one of claims 13 to 18, or the method for releasing the AI service as described in any one of claims 19 to 36, or the method for releasing the AI service as described in any one of claims 37 to 47, or the method for releasing the AI service as described in any one of claims 48 to 54, or the method for releasing the AI service as described in any one of claims 55 to 58.
73. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method for releasing the AI service as described in any one of claims 1 to 12, or the method for releasing the AI service as described in any one of claims 13 to 18, or the method for releasing the AI service as described in any one of claims 19 to 36, or the method for releasing the AI service as described in any one of claims 37 to 47, or the method for releasing the AI service as described in any one of claims 48 to 54, or the method for releasing the AI service as described in any one of claims 55 to 58.
Citation Information
Patent Citations
Method and device for scheduling artificial intelligence platform resources and computer readable storage medium
CN113051054A
Ai intelligentialization based on signaling interaction
US20230066178A1
Method for creating artificial intelligence session, and apparatus therefor
WO2023115487A1
Session release method and apparatus, and storage medium
WO2023130436A1