Method and device for releasing AI service

By realizing the release method of AI services in the communication system, the problem of untimely resource release after the AI ​​services is completed is solved, and the dynamic recycling and management of resources is realized, meeting the resource needs of a large number of AI services.

CN119449631APending Publication Date: 2025-02-14VIVO SOFTWARE TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310968237.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-02
Publication Date
2025-02-14

Smart Images

  • Figure CN119449631A_ABST
    Figure CN119449631A_ABST
Patent Text Reader

Abstract

The invention discloses an AI service release method and device, and belongs to the technical field of communication, and the AI service release method comprises the steps that a first device receives a first release request message sent by a second device, and the first release request message is used for requesting to release service resources associated with an AI service; the first device sends a first release response message to the second device, wherein the first release response message is used for indicating whether the service resources associated with the AI service are successfully released; the first device executes 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 a third device, wherein the second release request message is used for requesting to release AI resources allocated for the AI service; sending a third release request message to a fourth device, wherein the third release request message is used for requesting to release communication resources allocated for the AI service; and sending a fourth release request message to the third device, the fourth device or the fifth device, wherein the fourth release request message is used for requesting to release the service resources associated with the AI service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] 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

[0002] Artificial Intelligence (AI) is a technology that enables intelligent machines to think and judge similarly to humans through large amounts of data and model training. Its research includes robotics, speech recognition, image recognition, natural language, and other fields. With the continuous integration of computing and communications, AI, as one of the future mainstream technologies of computers, is increasingly favored by the communications field.

[0003] Current communication systems are usually designed with sessions as the unit. With the deepening of AI research, future communication systems are expected to introduce an architecture design based on AI services, that is, the communication system provides the required communication resources and computing resources for AI services. Due to the limited communication and computing resources, if the resources cannot be released in a timely and reasonable manner after the task is completed, this will bring great pressure to network resource management and cannot meet the needs of subsequent large-scale AI services. Therefore, how to release AI services is a problem that technicians in this field need to solve. Summary of the invention

[0004] 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.

[0005] In a first aspect, a method for releasing an AI service is provided, including:

[0006] 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;

[0007] 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;

[0008] The first device performs at least one of the following operations based on the first release request message:

[0009] Determine at least one of a third device, a fourth device, and a fifth device associated with the AI ​​service;

[0010] 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;

[0011] 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;

[0012] 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.

[0013] In a second aspect, a method for releasing an AI service is provided, including:

[0014] 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;

[0015] 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.

[0016] In a third aspect, a method for releasing an AI service is provided, including:

[0017] 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;

[0018] The third device sends a second release response message to the first device, to indicate whether the AI ​​resource is successfully released;

[0019] or,

[0020] 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;

[0021] 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.

[0022] In a fourth aspect, a method for releasing an AI service is provided, including:

[0023] 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;

[0024] 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;

[0025] or,

[0026] 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;

[0027] 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.

[0028] In a fifth aspect, a method for releasing an AI service is provided, including:

[0029] 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.

[0030] 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.

[0031] In a sixth aspect, a method for releasing an AI service is provided, including:

[0032] 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;

[0033] 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.

[0034] In a seventh aspect, a device for releasing an AI service is provided, including:

[0035] 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;

[0036] 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;

[0037] An execution module, configured to perform at least one of the following operations based on the first release request message:

[0038] Determine at least one of a third device, a fourth device, and a fifth device associated with the AI ​​service;

[0039] 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;

[0040] 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;

[0041] 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.

[0042] In an eighth aspect, a device for releasing an AI service is provided, including:

[0043] 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;

[0044] 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.

[0045] In a ninth aspect, a device for releasing an AI service is provided, including:

[0046] 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;

[0047] A sending module, configured to send a second release response message to the first device, to indicate whether the AI ​​resource is successfully released;

[0048] or,

[0049] 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 third device to release the service resources associated with the AI ​​service;

[0050] 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.

[0051] In a tenth aspect, a device for releasing an AI service is provided, including:

[0052] 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;

[0053] 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;

[0054] or,

[0055] 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;

[0056] 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.

[0057] In an eleventh aspect, a device for releasing an AI service is provided, including:

[0058] 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;

[0059] 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.

[0060] In a twelfth aspect, a device for releasing an AI service is provided, including:

[0061] 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;

[0062] 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.

[0063] 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 executed 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.

[0064] In a fourteenth aspect, a first device is provided, including a processor and a communication interface, wherein the communication interface is used to receive a first release request message sent by a second device, the first release request message is used to request the release of service resources associated with an artificial intelligence (AI) service; send 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; the processor is used to perform at least one of the following operations based on the first release request message:

[0065] Determine at least one of a third device, a fourth device, and a fifth device associated with the AI ​​service;

[0066] 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;

[0067] 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;

[0068] 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.

[0069] In the fifteenth aspect, a second device is provided, which includes 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 described in the second aspect are implemented.

[0070] 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 business 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 business resources associated with the AI ​​service are successfully released.

[0071] 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 executed 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.

[0072] In an eighteenth aspect, a third device is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a second release request message sent by a first device, wherein the second release request message is used to request the third device to release AI resources allocated for the AI ​​service; and 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, wherein the fourth release request message is used to request the third device to release service resources associated with the AI ​​service; and send a fourth release response message to the first device, wherein the fourth release response message is used to indicate whether the third device has successfully released the service resources associated with the AI ​​service.

[0073] 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 executed 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.

[0074] 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 successfully releases the service resources associated with the AI ​​service.

[0075] 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.

[0076] In the twenty-second aspect, a fifth device is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a fourth release request message sent by a first device, wherein the fourth release request message is used to request the fifth device to release the business resources associated with the AI ​​service; 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 ​​service.

[0077] 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.

[0078] In the twenty-fourth aspect, a seventh device is provided, comprising 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.

[0079] In the twenty-fifth aspect, 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 the first aspect are implemented, or the steps of the method described in the second aspect are implemented, or the steps of the method described in the third aspect are implemented, or the steps of the method described in the fourth aspect are implemented, or the steps of the method described in the fifth aspect are implemented, or the steps of the method described in the sixth aspect are implemented.

[0080] In the twenty-sixth aspect, 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 the first aspect, the first device can be used to execute the steps of the method described in the second aspect, the third device can be used to execute the steps of the method described in the third aspect, the fourth device can be used to execute the steps of the method described in the fourth aspect, the fifth device can be used to execute the steps of the method described in the fifth aspect, and the seventh device can be used to execute the steps of the method described in the sixth aspect.

[0081] In the twenty-seventh aspect, 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 a program or instructions to implement the method as described in the first aspect, or the method as described in the second aspect, or the method as described in the third aspect, or the method as described in the fourth aspect, or the method as described in the fifth aspect, or the method as described in the sixth aspect.

[0082] In the twenty-eighth aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a storage medium, and the program / program product is executed by at least one processor to implement the steps of the policy negotiation method as described in any one of the first to sixth aspects.

[0083] 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 with 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

[0084] Figure 1 is a schematic diagram of the architecture of a wireless communication system provided in an embodiment of the present application;

[0085] Figure 2 This is one of the flow charts of the method for releasing the AI ​​service provided in the embodiment of the present application;

[0086] Figure 3 This is one of the protocol stack diagrams of the AI ​​service release method provided in the embodiment of the present application;

[0087] Figure 4 This is one of the interactive schematic diagrams of the AI ​​service release method provided in the embodiment of the present application;

[0088] Figure 5 This is the second interactive schematic diagram of the AI ​​service release method provided in the embodiment of the present application;

[0089] Figure 6 This is the second protocol stack diagram of the AI ​​service release method provided in the embodiment of the present application;

[0090] Figure 7 This is the third protocol stack diagram of the AI ​​service release method provided in the embodiment of the present application;

[0091] Figure 8 This is the third interactive schematic diagram of the AI ​​service release method provided in the embodiment of the present application;

[0092] Fig. 9 This is the fourth protocol stack diagram of the AI ​​service release method provided in the embodiment of the present application;

[0093] Fig.10This is the fifth protocol stack diagram of the AI ​​service release method provided in the embodiment of the present application;

[0094] Fig.11 This is the fourth interactive schematic diagram of the AI ​​service release method provided in the embodiment of the present application;

[0095] Fig.12 This is the fifth interactive schematic diagram of the AI ​​service release method provided in the embodiment of the present application;

[0096] Fig.13 This is the second flow chart of the method for releasing the AI ​​service provided in the embodiment of the present application;

[0097] Fig.14a This is the third flow chart of the method for releasing the AI ​​service provided in the embodiment of the present application;

[0098] Fig.14b This is a fourth flowchart of the method for releasing an AI service provided in an embodiment of the present application;

[0099] Fig.15a This is the fifth flow chart of the method for releasing the AI ​​service provided in the embodiment of the present application;

[0100] Fig.15b This is the sixth flow chart of the method for releasing the AI ​​service provided in the embodiment of the present application;

[0101] Fig.16 This is the seventh flow chart of the method for releasing the AI ​​service provided in the embodiment of the present application;

[0102] Fig.17 This is the eighth flow chart of the method for releasing the AI ​​service provided in the embodiment of the present application;

[0103] Fig.18 This is one of the structural diagrams of the AI ​​service release device provided in the embodiment of the present application;

[0104] Fig.19 This is the second structural diagram of the AI ​​service release device provided in the embodiment of the present application;

[0105] Fig. 20 This is the third structural diagram of the AI ​​service release device provided in the embodiment of the present application;

[0106] Fig.21 This is the fourth structural diagram of the AI ​​service release device provided in the embodiment of the present application;

[0107] Fig. 22 This is the fifth structural diagram of the AI ​​service release device provided in the embodiment of the present application;

[0108] Fig.23 This is the sixth structural diagram of the AI ​​service release device provided in the embodiment of the present application;

[0109] Fig.24 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0110] Fig.25 is a schematic diagram of the structure of a terminal in an embodiment of the present application;

[0111] Fig.26 It is a schematic diagram of the structure of the network side device of an embodiment of the present application. DETAILED DESCRIPTION

[0112] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

[0113] The terms "first", "second", etc. of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way 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 one type, and the number of objects is not limited, for example, the first object can be one or more. In addition, "or" in the present application represents at least one of the connected objects. For example, "A or B" covers three schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0114] The term "indication" in this application can be 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, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.

[0115] 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 described technology 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 descriptions, but these technologies can also be applied to systems other than NR systems, such as the 6th generation (6 th Generation, 6G) communication system.

[0116] Figure 1A block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12. Among them, 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 (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR), a virtual reality (Virtual Reality, VR) device, a robot, a wearable device (Wearable Device), an aircraft (flight vehicle), a vehicle-mounted device (Vehicle User Equipment, VUE), a ship-mounted device, a pedestrian terminal (Pedestrian User Equipment, PUE), a smart home (home appliances with wireless communication functions, such as refrigerators, televisions, washing machines or furniture, etc.), a game console, a personal computer (Personal Computer, PC), a teller machine or a self-service machine and other terminal side devices. 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 referred to as 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 may be referred to as a Node B (NB), an evolved Node B (eNB), a next generation Node B (gNB), a New Radio Node B (NR Node B), an access point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a radio base station, a radio transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a Home Node B (HNB), a Home Evolved Node B, a 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 terms. It should be noted that in the embodiments 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.

[0117] 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 (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), edge application service discovery function (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data storage (Unified Data Repository, UDR), home user server (Home Subscriber Server, HSS), centralized network configuration (CNC), network storage function (Network Repository Function, NRF), network exposure function (Network Exposure Function, NEF), local NEF (Local NEF, or L-NEF), binding support function (Binding Support Function, BSF), application function (Application 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 taken as an example for introduction, and the specific type of the core network device is not limited.

[0118] First, the nouns involved in the embodiments of the present application are introduced:

[0119] 1. There are two understandings about AI sessions and Packet Data Unit (PDU) sessions: One understanding is that AI sessions are carried on PDU sessions. From the data plane perspective: 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 at the same level as the N1 SM container can be created and passed to the AMF, and 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, PDU sessions are terminal->RAN->UPF, and AI sessions are terminal->RAN->AI resource node. In this way, UPF and AI resource nodes can be co-located in terms of deployment. In the following embodiments, the solution based on the previous understanding is mainly described. AI service data is carried on the AI ​​session. The AI ​​session is a special session between the terminal and the 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 by 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 and sent to the network when the AI ​​session is established. There is a many-to-one mapping relationship between the AI ​​session ID and the PDU session ID.

[0120] 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.

[0121] 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; AI resource release is further divided into AI bearer release.

[0122] It should be pointed out that, in order to distinguish different signaling, the AI ​​service resource release mentioned in Embodiments 3 / 4 / 5 can be understood as the release of AI service resources, including the release of communication resources and AI resources.

[0123] 3. Explanation of communication resources, AI resources, and business resources. Business resources are a collection of resources including communication resources, AI resources, policy resources, etc., and 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 a PDU session and an AI session. The former belongs to a session on the communication resource link, and the latter belongs to a session on the AI ​​resource link.

[0124] 4. Definitions of some network functions are shown in Table 1:

[0125] Table 1

[0126]

[0127]

[0128] 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.

[0129] The following is a detailed description of the AI ​​service release method provided in the embodiment of the present application through some embodiments and their application scenarios in conjunction with the accompanying drawings.

[0130] Please refer to Figure 2 The embodiment of the present application provides a method for releasing an AI service. The execution subject of the embodiment is a first device. The method for releasing an AI service includes:

[0131] 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.

[0132] Optionally, the second device is a terminal, or a network side device. The terminal is used to illustrate in the following example figure, 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 NEF.

[0133] The first device may be a NAS interface function.

[0134] Specifically, the second device sends a first release request message to the first device, requesting the release of service resources corresponding to the AI ​​service, such as service resources (including communication resources and AI resources) established for the AI ​​service.

[0135] 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.

[0136] Optionally, business resources include but are not limited to AI resources, communication resources, policy resources, etc.

[0137] Optionally, the AI ​​service release is triggered in at least one of the following cases:

[0138] When AI service ends, AF is triggered via PCF;

[0139] If the required quality of experience (QoE) cannot be met, PCF is triggered;

[0140] When the contract is changed or the contract becomes effective, UDM is triggered through AMF (NAS interface function) or SMF (communication management function);

[0141] During congestion control, SMF (communication management function) is triggered;

[0142] During congestion control, AMF (NAS interface function) is triggered;

[0143] The access network device (a form of base station) is triggered via AMF (NAS interface function) in at least one of the following situations: notification trigger when communication QoS cannot be met; congestion control;

[0144] The Over The Top (OTT) server is triggered by the 3GPP network when the AI ​​service ends. In this case, only AI resources are released, and no communication resources are released.

[0145] Step 102: 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;

[0146] 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.

[0147] Step 103: The first device performs at least one of the following operations based on the first release request message:

[0148] Determine at least one of a third device, a fourth device, and a fifth device associated with the AI ​​service;

[0149] 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;

[0150] 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;

[0151] 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.

[0152] 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 billing function.

[0153] 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 different devices as control nodes. For example, the first device, as a control node, is responsible for controlling the release of resources, sending a second release request message to the third device to request the release of AI resources, and sending 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;

[0154] When the first device does not act as a control node but only as a transmission node, and the third device, fourth device or fifth device acts as a control node, the first device needs to determine which device to send the release request message to, that is, determine at least one of the associated third device, fourth device and fifth device; the first device sends a fourth release request message to the third device, fourth device or fifth device, requesting the third device, fourth device or fifth device to release the service resources associated with the AI ​​service, that is, the third device, fourth device or fifth device controls the release of resources.

[0155] 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. The "sending a second release request message to the third device" can be executed first, and then the "sending a third release request message to the fourth device" can be executed, or the "sending a third release request message to the fourth device" can be executed first, and then the "sending a second release request message to the third device" can be executed; or, the "sending a second release request message to the third device" and the "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.

[0156] In the method of this embodiment, the first device receives a first release request message sent by the second device, which is used to request the release of business resources associated with the AI ​​service; the first device sends a first release response message to the second device, which is used to indicate 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: determines at least one of the third device, the fourth device and the fifth device associated with the AI ​​service; sends a second release request message to the third device, which is used to request the release of AI resources allocated for the AI ​​service; sends a third release request message to the fourth device, which is used to request the release of communication resources allocated for the AI ​​service; sends a fourth release request message to the third device, the fourth device or the fifth device, which is used to request the release of business resources associated with the AI ​​service, thereby realizing the release process of 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.

[0157] Optionally, the first release request message includes at least one of the following:

[0158] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0159] 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 NF ID, network element address, etc. 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, release reason;

[0160] 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.

[0161] Optionally, the fourth release request message includes at least one parameter in the first release request message.

[0162] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0163] 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;

[0164] 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;

[0165] 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;

[0166] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0167] 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;

[0168] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching.

[0169] Among them, the model contract association identifier in the AI ​​service information is also called model correlation ID, which is an identifier assigned by the model management unit and has 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 which a unique model can be found in 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 in a string of standardized IDs; the AI ​​service description indicates the type of AI service, such as reasoning service, training service, training service and reasoning service;

[0170] In one implementation, the PDU session type is used to indicate that the current PDU session is associated with an AI session, and is distinguished from PDU sessions related to some non-AI services.

[0171] In one implementation, the AI ​​session type is used to characterize a released AI session;

[0172] The comprehensive strategy identifier is, for example, an identifier of a comprehensive strategy including AI and communication.

[0173] The release reason is used to indicate the type of AI service resource release, including normal release, release due to switching, temporary release, etc.

[0174] Optionally, the release type includes, for example, at least one of the following: releasing only communication resources; releasing only AI resources; releasing all resources.

[0175] Exemplarily, the second device, for example, receives a release request message including a release requester identifier, and can determine the device that needs to release the AI ​​service based on the release requester identifier, and release the AI ​​service associated with the device corresponding to the release requester identifier, that is, release the service resources managed by the AI ​​service. For example, the second device receives a release request message including AI service information, and can determine the AI ​​service to be released based on the AI ​​service information, and then initiate the release process. For example, the second device receives a release request message including PDU session information, and can determine the AI ​​service associated with the PDU session information based on the PDU session information, and then initiate the release process. For example, the second device receives a release request message including policy information, and can determine the AI ​​service associated with the policy information based on the policy information, such as the AI ​​service to which the policy information applies, and then initiate the release process. For example, the second device receives a release request message including a release reason, and the release reason is, for example, temporary release, then the service resources of the AI ​​service are released, for example, after the corresponding resources or bearer are released, the locally stored context will be retained. For example, the second device receives a release request message including a release type, and the release type is, for example, only AI resources are released, then the AI ​​resources of the AI ​​service are released.

[0176] Optionally, the release request message implementation method includes at least one of the following:

[0177] A new message is added to release sessions / resources / bearers related to AI services. The released AI service-related resources include communication resources and AI resources.

[0178] For the 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.

[0179] It should be noted that for the 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.

[0180] It should be noted that there are two ways to understand the relationship between AI sessions and PDU sessions. One is that AI sessions are carried on PDU sessions, and the other is that AI sessions and PDU sessions 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 they are 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 release 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 that the recipient can understand that the AI-related resources are released, and further understand that: only when the PDU session type indicates an AI session, will the AI ​​session type be further carried 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, and 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 at the same time.

[0181] In addition, the NAS interface function can be understood as AMF.

[0182] The following are several ways to implement "partial release":

[0183] Implementation 1:

[0184] 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.

[0185] Implementation 2:

[0186] 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 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 "the third device sends a second release request message" and subsequent related steps are not executed, and only the content related to communication resources is released, including communication bearer and communication policy; when the release type is to release all resources, subsequent steps are executed normally to release AI resources and communication resources.

[0187] It should be noted that the above-mentioned partial release (including only releasing AI resources and only releasing communication resources) includes the situation that 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.

[0188] Optionally, in the case where the first release response message is used to indicate the 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.

[0189] 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.

[0190] Optionally, the method further comprises:

[0191] 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;

[0192] 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.

[0193] 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.

[0194] Optionally, the method further comprises:

[0195] 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;

[0196] 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.

[0197] Optionally, the method further comprises:

[0198] 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;

[0199] 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.

[0200] 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.

[0201] Specifically, a message related to releasing AI resources can be generated through a newly added AI management layer. The AI ​​management layer can be set below, above, or within the NAS-SM, which is not limited in the embodiments of the present application.

[0202] In the above implementation, the protocol stack is implemented in various ways with great flexibility.

[0203] For example, Figure 3 As shown, 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, which are used to trigger the allocation and release of AI resources.

[0204] 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);

[0205] That is, the message encapsulation method is to use the NAS message to carry the message related to releasing the AI ​​resource (for example, releasing the AI ​​resource message), and / or to carry the message related to releasing the communication resource (for example, releasing the communication resource message);

[0206] The NAS-SM layer generates a communication resource release message, the AI ​​management layer generates an AI resource release message, and the NAS interface function determines whether to execute serially or in parallel, and the order of forwarding the communication resource release request message and the AI ​​resource release request message in serial.

[0207] For example, Figure 4 As shown, the terminal triggers, which is controlled by the NAS interface function, and the AI ​​resources and communication resources are released serially. In this embodiment, Figure 3 The protocol architecture shown, the method includes:

[0208] Step 1: The terminal sends an AI service release request message to the NAS interface function;

[0209] Step 2: The NAS interface function releases communication and AI resources;

[0210] Step 3: The NAS interface function sends an AI resource release request message a to the AI ​​service management function;

[0211] Step 4: The AI ​​service management function sends a release AI policy request message to the policy charging function;

[0212] Step 5: The AI ​​service management function sends a model release request message to the AI ​​model management function;

[0213] Step 6: The AI ​​service management function sends an AI resource release request message b to the AI ​​resource management function;

[0214] Step 7: The AI ​​resource management function sends a request to release the AI ​​bearer to the AI ​​resource node;

[0215] Step 8: The AI ​​resource management function sends an AI resource release response message b to the AI ​​service management function;

[0216] Step 9: The AI ​​service management function sends an AI resource release response message a to the NAS interface function;

[0217] Step 10: The NAS interface function sends a communication resource release request to the communication management function;

[0218] Step 11: The communication management function sends a communication policy release request to the policy charging function;

[0219] Step 12: The communication management function sends a communication bearer release request to the communication resource node;

[0220] Step 13: The communication management function sends a communication resource release response to the NAS interface function;

[0221] Step 14: The NAS interface function sends an AI service release response message to the terminal.

[0222] 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, and the release request message includes at least one of the following: a communication resource node address, PDU session information, and AI service information.

[0223] Optionally, the fourth device receives a release response message sent by the ninth device, which is used to indicate whether the communication bearer is successfully released;

[0224] 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, and the communication bearer is in use and cannot be released.

[0225] It should be noted that step 4 is optional. If no policy billing function assigns an AI policy to an 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.

[0226] It should be noted that step 11 is optional. If no policy billing function assigns a communication policy to the AI ​​service session when it is established, and it 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.

[0227] Optionally, the AI ​​policy release request in step 4 may be to dissolve the association, or to delete the AI ​​policy associated with the AI ​​service, which is not limited in this embodiment of the present application.

[0228] Optionally, the communication policy release request in step 11 may be to dissolve the association, or to delete the communication policy associated with the AI ​​service, which is not limited in this embodiment of the present application.

[0229] 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 item: release requester identifier, AI service identifier, AI service description, model contract association identifier, model identifier, and AI model management function address;

[0230] It should be noted that the model release here does not mean requesting the AI ​​model management function to completely delete a model. The release here is the change in the association state triggered by 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 later, a model may be re-bound, or the same model may be bound.

[0231] This step is optional and needs to be performed when at least one of the following conditions is met:

[0232] AI business information includes model identifiers, such as model ID, etc.

[0233] The AI ​​business information includes a model contract correlation identifier, such as a model correlation ID.

[0234] The AI ​​service information may be the AI ​​service information included in the model release request message.

[0235] 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.

[0236] 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 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.

[0237] 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.

[0238] For example, Figure 5 As shown, the terminal triggers, which is controlled by the NAS interface function, and AI resources and communication resources are released in parallel. Figure 3 The protocol stack shown, wherein the NAS interface function forwards the release communication resource message and the release AI resource message in parallel. The method comprises:

[0239] Step 1: The terminal sends an AI service release request message to the NAS interface function;

[0240] Step 2: The NAS interface function releases communication and AI resources;

[0241] Step 3a, the NAS interface function sends a communication resource release request message to the communication management function;

[0242] Step 3b: The NAS interface function sends an AI resource release request message a to the AI ​​service management function;

[0243] Step 4a, the communication management function sends a release communication policy request to the policy charging function;

[0244] Step 4b: The AI ​​service management function sends a request to release the AI ​​policy to the policy charging function;

[0245] Step 5: The AI ​​business management function sends a model release request to the AI ​​model management function;

[0246] Step 6: The communication management function sends a communication bearer release request to the communication resource node;

[0247] Step 7: The communication management function sends a communication resource release response message to the NAS interface function;

[0248] Step 8: The AI ​​service management function sends an AI resource release request message b to the AI ​​resource management function;

[0249] Step 9: The AI ​​resource management function sends a request to release the AI ​​bearer to the AI ​​resource node;

[0250] Step 10: The AI ​​resource management function sends an AI resource release response message b to the AI ​​service management function;

[0251] Step 11: The AI ​​service management function sends a resource release status notification message to the communication management function;

[0252] Step 12: The AI ​​service management function sends an AI resource release response message a to the NAS interface function;

[0253] Step 13: The NAS interface function sends an AI service release response message to the terminal.

[0254] Specifically, this embodiment and Figure 4 The difference between the embodiments shown is that the NAS interface function initiates the release of communication resources and the release of AI resources, which are parallel operations, while Figure 4 The embodiment shown is a serial operation (there is no mandatory requirement for the order of initiating the communication resource release and the AI ​​resource release);

[0255] Steps 3a, 4a, 6 and 7 belong to the release process of communication resources; steps 3b, 4b, 5, 8-10 and 12 belong to the release process of AI resources; the specific process can refer to the similar description in the above embodiment. This process supports releasing only AI resources or only communication resources.

[0256] Optionally, the embodiment includes step 11, in which the message is a status notification message, sent between the AI ​​service management function and the communication management function, Figure 5 In the example, the AI ​​service management function sends the message to the communication management function, but in the same way, the communication management function can send the message to the AI ​​service management function. The status notification message is used to notify the status of resource release. Figure 5 In the case shown, when 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 need to be maintained and not released.

[0257] Optionally, the status notification message includes at least one of the following:

[0258] 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;

[0259] The status indication is used to indicate whether the AI ​​resources or communication resources of the AI ​​service are successfully released.

[0260] Among them, the status indication indicates the release of AI resources or communication resources, including release success, release failure, release blocking, etc.;

[0261] Failure reasons include: AI resources do not exist, communication resources do not exist, resources are in use and cannot be released, etc.

[0262] 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 management function re-establishes the communication resources managed by the AI ​​service; 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.

[0263] Alternatively, if Figure 6 As shown in the figure, a new protocol layer, such as the AI ​​management layer, is added. The new protocol layer is below the existing NAS-SM layer.

[0264] The message encapsulation method is: NAS message (release AI resource message (release communication resource message));

[0265] That is, the message encapsulation method is to use a NAS message to carry the message related to releasing the AI ​​resource, and the message related to releasing the AI ​​resource includes the message related to releasing the communication resource;

[0266] 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.

[0267] like Figure 7 As shown, Figure 6 The difference between the protocol stack 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).

[0268] The message encapsulation method is: NAS message (AI resource release message);

[0269] That is, the message encapsulation method is to use NAS messages to carry messages related to the release of AI resources, and communication resource release is initiated by default.

[0270] 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.

[0271] For example, Figure 8 As shown, the terminal is triggered and controlled by the AI ​​service management function to serially release AI resources and communication resources. Figure 6 and Figure 7 The protocol stack shown in the figure, at this time, the second device and the NAS interface function do not act as a control node, and only forward the AI ​​service release request message of the terminal or network device, and the method includes:

[0272] Step 1: The terminal sends an AI service release request message to the NAS interface function;

[0273] Step 2: The NAS interface function sends an AI service resource release request to the AI ​​service management function;

[0274] Step 3: The AI ​​service management function sends at least one of the release communication policy and the AI ​​policy to the policy charging function;

[0275] Step 4: The AI ​​business management function sends a model release request to the AI ​​model management function;

[0276] Step 5: The AI ​​service management function sends an AI resource release request message to the AI ​​resource management function;

[0277] Step 6: The AI ​​resource management function sends a request to release the AI ​​bearer to the AI ​​resource node;

[0278] Step 7: The AI ​​resource management function sends an AI resource release response message to the AI ​​service management function;

[0279] Step 8: The AI ​​service management function sends a communication resource release request message to the communication management function;

[0280] Step 9: The communication management function sends a communication bearer release request to the communication resource node;

[0281] Step 10: The communication management function sends a communication resource release response message to the AI ​​service management function;

[0282] Step 11: The AI ​​service management function sends an AI service resource release response message to the NAS interface function;

[0283] Step 12: The NAS interface function sends an AI service release response message to the terminal.

[0284] Specifically, this embodiment and Figure 4 The differences between the shown embodiments are:

[0285] 1) After receiving the AI ​​service release request message sent by the terminal, the NAS interface function first executes step 2 to send an AI service resource release request message to the AI ​​service management function, and the AI ​​service management function is responsible for the resource release task;

[0286] 2) After the AI ​​service management function successfully releases the AI ​​resources, it sends a message to the communication management function to release the communication session; of course, the AI ​​service management function can decide whether to execute steps 4-7 or steps 8-10 first, either in either order. Only when one party successfully releases will the release of the other party be triggered, otherwise the AI ​​service resource release response message will be directly replied to indicate that the release failed. If both parties successfully release, the AI ​​service resource release response message indicates that the release is successful.

[0287] 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.

[0288] Alternatively, if Fig. 9 As shown, 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, which are used to trigger the allocation and release of AI resources.

[0289] Message encapsulation mode: NAS message (communication resource release message (AI resource release message));

[0290] The message encapsulation method is to use a NAS message to carry the message related to releasing the communication resources, and the message related to releasing the communication resources includes a message related to releasing the AI ​​resources;

[0291] The NAS-SM layer generates a communication resource release message, and the AI ​​management layer generates an AI resource release message.

[0292] like Fig.10 As shown, the NAS-SM layer is enhanced. When the NAS-SM generates a release communication resource message, the message includes the AI ​​service description information, which is used to instruct the network to release the AI ​​resources.

[0293] Message encapsulation method: NAS message (communication resource release message [AI service description information]).

[0294] 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 AI service description information.

[0295] For example, Fig.11 As shown, the terminal triggers and is controlled by the communication management function to serially release AI resources and communication resources. At this time, the second device and the NAS interface function do not serve as control nodes, but only forward the AI ​​service release request message of the terminal or network device. The following can be used Figure 6 and Figure 7 The protocol stack shown, the method comprises:

[0296] Step 1: The terminal sends an AI service release request message to the NAS interface function;

[0297] Step 2: The NAS interface function sends an AI service resource release request to the communication management function;

[0298] Step 3: The communication management function sends at least one of the released communication policy and the AI ​​policy to the policy charging function;

[0299] Step 4: The communication management function sends a communication bearer release request to the communication resource node;

[0300] Step 5: The communication management function sends an AI resource release request message a to the AI ​​service management function.

[0301] Step 6: The AI ​​business management function sends a model release request to the AI ​​model management function.

[0302] Step 7: The AI ​​service management function sends an AI resource release request message b to the AI ​​resource management function.

[0303] Step 8: The AI ​​resource management function sends a request to release the AI ​​bearer to the AI ​​resource node;

[0304] Step 9: The AI ​​resource management function sends an AI resource release response message b to the AI ​​service management function;

[0305] Step 10: The AI ​​service management function sends an AI resource release response message a to the NAS interface function;

[0306] Step 11: The communication management function sends an AI service resource release response message to the NAS interface function.

[0307] Step 12: The NAS interface function sends an AI service release response message to the terminal.

[0308] Specifically, this embodiment and Figure 4 The differences between the shown embodiments are:

[0309] 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;

[0310] 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 to execute 4 or 5-10 first, either order. Only when one party successfully releases will the release of the other party be triggered, otherwise it will directly reply with an AI service resource release response message to indicate that the release failed. If both parties successfully release, the AI ​​service resource release response message indicates that the release is successful.

[0311] 3) If the release type is carried in step 1 and it is indicated that only AI resources are 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; or, if it is indicated that all resources are 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.

[0312] For example, Fig.12 As shown, the terminal is triggered and controlled by the policy charging function, and the AI ​​resources and communication resources are released serially. At this time, the second device and the NAS interface function do not serve as control nodes, but only forward the AI ​​service release request message of the terminal or network device. The method includes:

[0313] Step 1: The terminal sends an AI service release request message to the NAS interface function;

[0314] Step 2: The NAS interface function sends an AI service resource release request to the policy charging function;

[0315] Step 3: The policy charging function sends an AI resource release request message a to the AI ​​service management function.

[0316] Step 4: The AI ​​business management function sends a model release request to the AI ​​model management function.

[0317] Step 5: The AI ​​service management function sends an AI resource release request message b to the AI ​​resource management function.

[0318] Step 6: The AI ​​resource management function sends a request to release the AI ​​bearer to the AI ​​resource node;

[0319] Step 7: The AI ​​resource management function sends an AI resource release response message b to the AI ​​service management function;

[0320] Step 8: The AI ​​service management function sends an AI resource release response message a to the NAS interface function;

[0321] Step 9: The policy charging function sends a communication resource release request to the communication management function;

[0322] Step 10: The communication management function sends a communication bearer release request to the communication resource node;

[0323] Step 11: The communication management function sends a communication resource release response to the policy charging function;

[0324] Step 12: The policy charging function releases at least one of the communication policy and the AI ​​policy;

[0325] Step 13: The policy charging function sends an AI service resource release response message to the NAS interface function.

[0326] Step 14: The NAS interface function sends an AI service release response message to the terminal.

[0327] Specifically, this embodiment and Figure 4 The differences between the shown embodiments are:

[0328] 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, and the carried parameters include the parameters carried in step 1.

[0329] This process supports releasing only AI resources or only communication resources.

[0330] Steps 3-8 belong to the release process of AI resources; steps 9-11 belong to the release process of communication resources; the order of the two parts is acceptable and can be determined by the policy charging function. The release of the other party is triggered only when one party is successfully released, otherwise the AI ​​service resource release response message is directly replied to indicate that the release failed. In the case that both parties are successfully released, the policy charging function can optionally execute step 12 to release at least one of the communication policy and AI policy associated with the AI ​​service.

[0331] Please refer 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, and the method for releasing an AI service includes:

[0332] 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;

[0333] 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.

[0334] Optionally, the first release request message includes at least one of the following:

[0335] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0336] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0337] 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;

[0338] 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;

[0339] 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;

[0340] 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;

[0341] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0342] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;

[0343] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.

[0344] Optionally, in the case where the first release response message is used to indicate the 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.

[0345] 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.

[0346] 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.

[0347] 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 will not be repeated here.

[0348] Please refer to Fig.14a , 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, and the method for releasing an AI service includes:

[0349] 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.

[0350] Step 302a: The third device sends a second release response message to the first device, indicating whether the AI ​​resource is released successfully.

[0351] or,

[0352] 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.

[0353] 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.

[0354] 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.

[0355] Optionally, the fourth release request message includes at least one of the following:

[0356] Release requester identification, AI service information, PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0357] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0358] 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;

[0359] 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;

[0360] 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;

[0361] 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;

[0362] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0363] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;

[0364] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.

[0365] Optionally, the method further comprises:

[0366] The third device sends a fifth release request message to the fifth device, requesting to release the AI ​​policy associated with the AI ​​service;

[0367] 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.

[0368] Optionally, the method further comprises:

[0369] 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;

[0370] 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.

[0371] Optionally, the method further comprises:

[0372] 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.

[0373] Optionally, the method further comprises:

[0374] 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;

[0375] 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.

[0376] Optionally, the method further comprises:

[0377] 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.

[0378] Optionally, the third device sending a sixth release request message to the sixth device includes:

[0379] When a preset condition is met, the third device sends a sixth release request message to the sixth device;

[0380] The preset condition includes at least one of the following:

[0381] The sixth release request message includes a model identifier;

[0382] The sixth release request message includes a model contract association identifier;

[0383] The method further comprises:

[0384] 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.

[0385] Optionally, the method further comprises:

[0386] 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;

[0387] 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.

[0388] Optionally, the method further comprises:

[0389] 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;

[0390] 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.

[0391] Optionally, the method further comprises:

[0392] 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;

[0393] 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.

[0394] Optionally, the method further comprises:

[0395] 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;

[0396] 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.

[0397] Optionally, the method further comprises:

[0398] 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;

[0399] 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.

[0400] Optionally, when the second release response message is used to indicate a failure to release AI resources, 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.

[0401] Optionally, the method further comprises:

[0402] 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,

[0403] The status notification message includes at least one of the following:

[0404] 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;

[0405] The status indication is used to indicate whether the AI ​​resources or communication resources of the AI ​​service are successfully released.

[0406] Optionally, the method further comprises:

[0407] 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;

[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 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.

[0409] 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 will not be repeated here.

[0410] Please refer to Fig.15a , Fig.15b , an embodiment of the present application provides a method for releasing an AI service, the execution subject of this embodiment is a fourth device, and the method for releasing an AI service includes:

[0411] 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.

[0412] 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;

[0413] or,

[0414] 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.

[0415] Step 402b: 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.

[0416] 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.

[0417] Optionally, the fourth release request message includes at least one of the following:

[0418] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0419] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0420] 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;

[0421] 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;

[0422] 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;

[0423] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0424] 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;

[0425] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching.

[0426] Optionally, the method further comprises:

[0427] 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;

[0428] 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.

[0429] Optionally, the method further comprises:

[0430] 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;

[0431] 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.

[0432] Optionally, the method further comprises:

[0433] 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;

[0434] 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.

[0435] Optionally, the method further comprises:

[0436] 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;

[0437] The eleventh release request message includes at least one of the following: a release requester identifier, AI session information, and PDU session information.

[0438] Optionally, the method further comprises:

[0439] The fourth device receives an eleventh release response message sent by the third device, used to indicate whether the AI ​​resource is successfully released;

[0440] 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.

[0441] Optionally, the method further comprises:

[0442] The fourth device sends a third release response message to the first device, used to indicate whether the communication resource is successfully released;

[0443] 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.

[0444] Optionally, the method further comprises:

[0445] 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;

[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 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.

[0447] 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 will not be repeated here.

[0448] Please refer to Fig.16 The embodiment of the present application provides a method for releasing an AI service. The execution subject of the present embodiment is a fifth device. The method for releasing an AI service includes:

[0449] Step 501: 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.

[0450] Step 502: 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.

[0451] Optionally, the fourth release request message includes at least one of the following:

[0452] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0453] Optionally, the method further comprises:

[0454] 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;

[0455] The eleventh release request message includes at least one of the following: a release requester identifier, AI session information, and PDU session information.

[0456] Optionally, the method further comprises:

[0457] The fifth device receives an eleventh release response message sent by the third device, used to indicate whether the AI ​​resource is successfully released;

[0458] 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.

[0459] Optionally, the method further comprises:

[0460] The fifth device sends a fourteenth release request message to the fourth device, requesting to release the communication resources associated with the AI ​​service;

[0461] 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.

[0462] 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;

[0463] 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.

[0464] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0465] 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;

[0466] 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;

[0467] 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;

[0468] 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;

[0469] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0470] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;

[0471] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.

[0472] 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 will not be repeated here.

[0473] Please refer to Fig.17 The embodiment of the present application provides a method for releasing an AI service. The execution subject of the present embodiment is a fifth device. The method for releasing an AI service includes:

[0474] Step 601: 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;

[0475] 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.

[0476] 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, and the AI ​​resource is in use and cannot be released.

[0477] Optionally, the method further comprises:

[0478] 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;

[0479] The fifteenth release request message includes at least one of the following: an AI resource node address, AI session information, and AI service information.

[0480] Optionally, the method further comprises:

[0481] The seventh device receives a fifteenth release response message sent by the eighth device, used to indicate whether the AI ​​bearer is successfully released;

[0482] 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.

[0483] 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 will not be repeated here.

[0484] The AI ​​service release method provided in the embodiment of the present application may be executed by an AI service release device. The AI ​​service release method performed by an AI service release device is taken as an example to illustrate the AI ​​service release device provided in the embodiment of the present application.

[0485] Fig.18 is one of the structural diagrams of the AI ​​service release device provided in the embodiment of the present application, such as Fig.18 As shown, the release device of the AI ​​service includes:

[0486] The receiving module 110 is used to receive 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;

[0487] A sending module 120, 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;

[0488] The execution module 130 is configured to perform at least one of the following operations based on the first release request message:

[0489] Determine at least one of a third device, a fourth device, and a fifth device associated with the AI ​​service;

[0490] 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;

[0491] 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;

[0492] 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.

[0493] Optionally, the first release request message includes at least one of the following:

[0494] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0495] Optionally, in the case where the first release response message is used to indicate the 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.

[0496] 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;

[0497] 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.

[0498] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0499] 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;

[0500] 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;

[0501] 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;

[0502] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0503] 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;

[0504] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching.

[0505] Optionally, the fourth release request message includes at least one parameter in the first release request message.

[0506] Optionally, in the case where the first release response message is used to indicate the 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.

[0507] Optionally, the receiving module 110 is further configured to:

[0508] receiving a second release response message sent by the third device, used to indicate whether the AI ​​resource is successfully released;

[0509] 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.

[0510] Optionally, the receiving module 110 is further configured to:

[0511] receiving a third release response message sent by the fourth device, used to indicate whether the communication resource is successfully released;

[0512] 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.

[0513] Optionally, the receiving module 110 is further configured to:

[0514] receiving 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;

[0515] 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.

[0516] 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.

[0517] 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.

[0518] The device of this embodiment can be used to execute the method of any one of the embodiments 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.

[0519] Fig.19 This is a second structural diagram of the AI ​​service release device provided in the embodiment of the present application, such as Fig.19 As shown, the release device of the AI ​​service includes:

[0520] 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;

[0521] The receiving module 220 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.

[0522] Optionally, the first release request message includes at least one of the following:

[0523] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0524] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0525] 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;

[0526] 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;

[0527] 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;

[0528] 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;

[0529] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0530] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;

[0531] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.

[0532] Optionally, in the case where the first release response message is used to indicate the 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.

[0533] 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.

[0534] 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.

[0535] The device of this embodiment can be used to execute the method of any one of the embodiments in 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.

[0536] Fig. 20 This is a third structural diagram of the AI ​​service release device provided in the embodiment of the present application, such as Fig. 20 As shown, the release device of the AI ​​service includes:

[0537] The 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 the AI ​​resources allocated for the AI ​​service;

[0538] A sending module 320, configured to send a second release response message to the first device, to indicate whether the AI ​​resource is successfully released;

[0539] or,

[0540] 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 the service resources associated with the AI ​​service;

[0541] The sending module 320 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.

[0542] 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.

[0543] Optionally, the fourth release request message includes at least one of the following:

[0544] Release requester identification, AI service information, PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0545] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0546] 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;

[0547] 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;

[0548] 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;

[0549] 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;

[0550] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0551] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;

[0552] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.

[0553] Optionally, the sending module 320 is further configured to:

[0554] Sending a fifth release request message to a fifth device, used to request to release the AI ​​policy associated with the AI ​​service;

[0555] 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.

[0556] Optionally, the receiving module 310 is further configured to:

[0557] 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;

[0558] 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.

[0559] Optionally, the device further comprises:

[0560] A processing module is used for the third device to release 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.

[0561] Optionally, the sending module 320 is further configured to:

[0562] 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;

[0563] 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.

[0564] Optionally, the sending module 320 is further configured to:

[0565] 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.

[0566] Optionally, the sending module 320 is specifically configured to:

[0567] When a preset condition is met, the third device sends a sixth release request message to the sixth device;

[0568] The preset condition includes at least one of the following:

[0569] The sixth release request message includes a model identifier;

[0570] The sixth release request message includes a model contract association identifier;

[0571] Optionally, the receiving module 310 is further configured to:

[0572] 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.

[0573] Optionally, the receiving module 310 is further configured to:

[0574] receiving a seventh release response message sent by the seventh device, used to indicate whether the AI ​​resource is successfully released;

[0575] 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.

[0576] Optionally, the sending module 320 is specifically configured to:

[0577] When 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;

[0578] 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.

[0579] Optionally, the receiving module 310 is further configured to:

[0580] 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;

[0581] 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.

[0582] Optionally, the sending module 320 is further configured to:

[0583] When 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;

[0584] 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.

[0585] Optionally, the receiving module 310 is further configured to:

[0586] receiving an eighth release response message sent by the fourth device, used to indicate whether the communication resource is successfully released;

[0587] 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.

[0588] Optionally, when the second release response message is used to indicate a failure to release AI resources, 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.

[0589] Optionally, the receiving module 310 is further configured to:

[0590] In case of receiving the second release request message sent by the first device, receiving a status notification message sent by the fourth device, wherein the status notification message is used to notify the status of resource release,

[0591] The status notification message includes at least one of the following:

[0592] 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;

[0593] The status indication is used to indicate whether the AI ​​resources or communication resources of the AI ​​service are successfully released.

[0594] Optionally, the sending module 320 is further configured to:

[0595] When receiving the fourth release request message sent by the first device and the release type is used to indicate releasing communication resources, sending the eighth release request message to the fourth device;

[0596] 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.

[0597] 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.

[0598] Fig.21 This is a fourth structural diagram of the AI ​​service release device provided in the embodiment of the present application, such as Fig.21 As shown, the release device of the AI ​​service includes:

[0599] 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;

[0600] A sending module 420 is 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;

[0601] or,

[0602] The receiving module 410 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;

[0603] The sending module 420 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.

[0604] 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.

[0605] Optionally, the fourth release request message includes at least one of the following:

[0606] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0607] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0608] 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;

[0609] 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;

[0610] 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;

[0611] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0612] 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;

[0613] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching.

[0614] Optionally, the sending module 420 is further configured to:

[0615] When receiving the third release request message sent by the first device, sending a tenth release request message to the fifth device to request to release the communication policy associated with the AI ​​service;

[0616] 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.

[0617] Optionally, the receiving module 410 is further configured to:

[0618] receiving 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;

[0619] 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.

[0620] Optionally, the sending module 420 is further configured to:

[0621] When 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 to release the AI ​​policy and / or communication policy associated with the AI ​​service;

[0622] 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.

[0623] Optionally, the receiving module 410 is further configured to:

[0624] When 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;

[0625] The eleventh release request message includes at least one of the following: a release requester identifier, AI session information, and PDU session information.

[0626] Optionally, the receiving module 410 is further configured to:

[0627] receiving an eleventh release response message sent by the third device, used to indicate whether the AI ​​resource is successfully released;

[0628] 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.

[0629] Optionally, the sending module 420 is further configured to:

[0630] Sending a third release response message to the first device, used to indicate whether the communication resources are successfully released;

[0631] 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.

[0632] Optionally, the sending module 420 is further configured to:

[0633] When receiving the fourth release request message sent by the first device, and the release type is used to indicate the release of AI resources, sending the eleventh release request message to the third device;

[0634] 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.

[0635] The device of this embodiment can be used to execute the method of any one of the embodiments in 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.

[0636] Fig. 22 This is a fifth structural diagram of the AI ​​service release device provided in the embodiment of the present application, such as Fig. 22 As shown, the release device of the AI ​​service includes:

[0637] The 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 the service resources associated with the AI ​​service;

[0638] The sending module 520 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.

[0639] Optionally, the fourth release request message includes at least one of the following:

[0640] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0641] Optionally, the sending module 520 is further configured to:

[0642] Sending an eleventh release request message to the third device, used to request to release the AI ​​resources allocated for the AI ​​service;

[0643] The eleventh release request message includes at least one of the following: a release requester identifier, AI session information, and PDU session information.

[0644] Optionally, the receiving module 510 is further configured to:

[0645] receiving an eleventh release response message sent by the third device, used to indicate whether the AI ​​resource is successfully released;

[0646] 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.

[0647] Optionally, the sending module 520 is further configured to:

[0648] Sending a fourteenth release request message to the fourth device, used to request the release of communication resources associated with the AI ​​service;

[0649] 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.

[0650] Optionally, the receiving module 510 is further configured to:

[0651] receiving a fourteenth release response message sent by the fourth device, used to indicate whether the communication resource is successfully released;

[0652] 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.

[0653] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0654] 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;

[0655] 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;

[0656] 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;

[0657] 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;

[0658] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0659] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;

[0660] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.

[0661] 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.

[0662] Fig.23 This is a sixth structural diagram of the AI ​​service release device provided in the embodiment of the present application, such as Fig.23 As shown, the release device of the AI ​​service includes:

[0663] The 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;

[0664] The sending module 720 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.

[0665] 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, and the AI ​​resource is in use and cannot be released.

[0666] Optionally, the sending module 720 is further configured to:

[0667] Sending a fifteenth release request message to the eighth device, used to request to release the AI ​​bearer associated with the AI ​​service;

[0668] The fifteenth release request message includes at least one of the following: an AI resource node address, AI session information, and AI service information.

[0669] Optionally, the receiving module 710 is further configured to:

[0670] receiving a fifteenth release response message sent by the eighth device, used to indicate whether the AI ​​bearer is successfully released;

[0671] 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.

[0672] 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.

[0673] The release device of the AI ​​service in the embodiment of the present application may 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 a chip. The electronic device may be a terminal, or may be a device other than a terminal. Exemplarily, the terminal may include but is not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.

[0674] The AI ​​service release device provided in the embodiment of the present application can achieve Figures 2 to 17 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0675] like Fig.24 As shown, the embodiment of the present application further provides a communication device 2400, including a processor 2401 and a memory 2402, and 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.

[0676] The embodiment of 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 used to run a program or instruction to implement the following Fig.13 The steps in the method embodiment shown. This terminal embodiment corresponds to the above-mentioned terminal side method embodiment, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this terminal embodiment and can achieve the same technical effect. Specifically, Fig.25 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0677] 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.

[0678] Those skilled in the art will appreciate that the terminal 2500 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 2510 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.25 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0679] It should be understood that in the 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.

[0680] In the embodiment of the present application, after receiving downlink data from the network side device, the RF unit 2501 can transmit the data to the processor 2510 for processing; in addition, the RF unit 2501 can send uplink data to the network side device. Generally, the RF unit 2501 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0681] 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, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), 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. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory 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.

[0682] The processor 2510 may include one or more processing units; optionally, the processor 2510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 2510.

[0683] 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;

[0684] 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.

[0685] Optionally, the first release request message includes at least one of the following:

[0686] Release requester identification, AI service information, packet data unit PDU session information, AI session information, policy information, network identification information, release reason, release type.

[0687] Optionally, the release requester identifier includes at least one of the following: a terminal identifier, a network device identifier;

[0688] 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;

[0689] 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;

[0690] 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;

[0691] 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;

[0692] The network identification information includes at least one of the following: a slice identification, a data network name DNN;

[0693] The release reason includes at least one of the following: normal release, temporary release, and release due to business resource switching;

[0694] The release type includes at least one of the following: release of communication resources, release of AI resources, and release of all resources.

[0695] Optionally, in the case where the first release response message is used to indicate the 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.

[0696] 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.

[0697] 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 effect. To avoid repetition, it will not be repeated here.

[0698] The embodiment of 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 used to run a program or instruction to implement the following Figure 2-Figure 17 The steps of the method embodiment shown. This network side device embodiment corresponds to the above network side device method embodiment, and each implementation process and implementation mode of the above method embodiment can be applied to this network side device embodiment and can achieve the same technical effect.

[0699] Specifically, the embodiment of the present application also provides a network side device. Fig.26 As shown, 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).

[0700] Specifically, the network side device 2600 of the embodiment of the present application further includes: instructions or programs stored in the memory 2603 and executable on the processor 2601, and the processor 2601 calls the instructions or programs in the memory 2603 to execute Figure 18-23 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0701] The 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, each process of the above-mentioned AI service release method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0702] 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-transient readable storage medium.

[0703] 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 a program or instruction to implement each process 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.

[0704] 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.

[0705] 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 will not be repeated here.

[0706] 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.

[0707] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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 one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment 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 reverse 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.

[0708] Through the description of the above implementation methods, 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 hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or a network-side device to execute the methods described in each embodiment of the present application.

[0709] 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 the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.

Claims

1. A method for releasing an AI service, characterized in that: include: 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, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: The method further comprises: 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; 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: include: 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: include: 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; 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, characterized in that 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that 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, characterized in that: 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 according to claim 32, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that: 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; 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, characterized in that: include: 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 according to claim 37, characterized in that 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that 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, characterized in that: 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, characterized in that 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 according to claim 44, characterized in that 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, characterized in that 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, characterized in that 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, characterized in that: include: 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 according to claim 48, characterized in that 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 according to claim 48 or 49, characterized in that 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 according to claim 50, characterized in that 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, characterized in that 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 according to claim 52, characterized in that 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, characterized in that 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, characterized in that: include: 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 according to claim 55, characterized in that 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 according to claim 55 or 56, characterized in that 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 according to claim 57, characterized in that 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, characterized in that: include: 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, characterized in that: include: 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 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.

61. A device for releasing an AI service, characterized in that: include: 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, characterized in that: include: 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, characterized in that: include: 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, characterized in that: include: 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, characterized in that: It includes a processor and a memory, 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 for releasing the AI ​​service according to any one of claims 1 to 12 are implemented.

66. A second device, characterized in that: It includes a processor and a memory, 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 for releasing the AI ​​service as described in any one of claims 13 to 18 are implemented.

67. A third device, characterized in that: It includes a processor and a memory, 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 for releasing the AI ​​service as described in any one of claims 19 to 36 are implemented.

68. A fourth device, characterized in that: It includes a processor and a memory, 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 for releasing the AI ​​service as described in any one of claims 37 to 47 are implemented.

69. A fifth device, characterized in that: It includes a processor and a memory, 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 for releasing the AI ​​service as described in any one of claims 48 to 54 are implemented.

70. A seventh device, characterized in that: It includes a processor and a memory, 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 for releasing the AI ​​service as described in any one of claims 55 to 58 are implemented.

71. A readable storage medium, characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, it implements the method for releasing the AI ​​service as described in any one of claims 1 to 12, or implements the steps of the method for releasing the AI ​​service as described in any one of claims 13 to 18, or implements the steps of the method for releasing the AI ​​service as described in any one of claims 19 to 36, or implements the steps of the method for releasing the AI ​​service as described in any one of claims 37 to 47, or implements the steps of the method for releasing the AI ​​service as described in any one of claims 48 to 54, or implements the steps of the method for releasing the AI ​​service as described in any one of claims 55 to 58.

Citation Information

Cited By

  • Ai service releasing method and device

    EP4757267A1