Communication method and apparatus
By using the session management network element to determine and release unrelated channel resources at the end of a task, the problem of N19 channel not being released in a timely manner in the flow-granular dynamic group is solved, thus improving the resource utilization efficiency of the communication system.
Patent Information
- Application Number
- CN202510669782.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2026-11-24
AI Technical Summary
After the flow-granular dynamic group finishes executing its task, the relevant N19 channels cannot be released in a timely manner, resulting in resource consumption and reduced efficiency.
When a task ends, the session management network element identifies channel resources that are associated with the task but not with other tasks, and releases these resources. It instructs the user plane network element to release the resources via a message, thus avoiding redundant processes.
This allows for the timely release of relevant channel resources after a task is completed, avoiding resource occupation and improving communication efficiency.
Smart Images

Figure CN123164590A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more particularly to a communication method and apparatus. Background Technology
[0002] Currently, the flow-granular dynamic group construction scheme based on 5G virtual network groups has achieved requirements such as task-based group members, task-based temporary intra-group communication, and quality of service (QoS) assurance for service data. Specifically, flow-granular dynamic groups build groups based on tasks and disband groups after the tasks are completed, and intra-group communication can be achieved based on N19 forwarding.
[0003] Currently, the problem that needs to be solved is how to release the relevant N19 channels after the task executed by the flow-granular dynamic group is completed. Summary of the Invention
[0004] This application provides a communication method and apparatus to synchronously release the relevant N19 channel after the task executed by the flow granular dynamic group is completed.
[0005] To achieve the above objectives, this application adopts the following technical solution:
[0006] In a first aspect, a communication method is provided, applied to a session management network element. The method includes: when a first task executed by a first terminal ends and the first terminal is still executing at least one task, determining a first channel resource, wherein the first channel resource is a channel resource associated with the first task and not associated with any of the at least one task; sending a first message to a first user plane network element, wherein the first message instructs the first user plane network element to release the first channel resource, and the first user plane network element serves the first terminal.
[0007] Therefore, the session management network element can determine and release the first channel resource that is associated with the first task but not with any of the at least one task when the first task of the first terminal ends and at least one task is still being executed. It can be understood that the first channel resource is a channel resource without service transmission. Therefore, this method enables the session management network element to respond to the end of the task being executed by the terminal, trigger the session modification process, determine the channel resource without transmission requirements and release it, avoid resource occupation and improve communication efficiency.
[0008] In one possible design, before determining the first channel resource, the first aspect of the method further includes: in response to the completion of the first task executed by the first terminal, the session management network element determines whether the first terminal is still executing at least one task other than the first task; thus, the session management network element can determine whether the first terminal is still executing at least one task after the completion of the first task executed by the first terminal, and perform the operation of determining the first channel resource; or, the session management network element can determine whether the first terminal is not executing at least one task after the completion of the first task executed by the first terminal, and then perform the session release procedure, thus avoiding redundancy in the process.
[0009] In one possible design, the first aspect of the method further includes: receiving a second message from the first terminal, or receiving a second message from the group management network element, wherein the second message indicates that the first task executed by the first terminal has ended. That is, either the first terminal or the group management network element (such as AI-MF) can trigger the session management network element to determine whether the first terminal is still performing at least one task. Optionally, the first terminal can also determine whether it is still performing at least one task based on the number of tasks it is still performing, and directly instruct the session management network element to enter the session modification process. If the first terminal is not performing at least one task, the session management network element is triggered to execute the session release process, avoiding redundancy in the process.
[0010] Optionally, the second message includes an index of the first Quality of Service (QoS) flow and / or an identifier of the first task, whereby the first QoS flow carries the data of the first task. The index of the first QoS flow is used to trigger / instruct the session management network element to release the first QoS flow and implicitly indicate the end of the first task. Optionally, if the first task is not established based on QoS granularity, the identifier of the first task is carried to explicitly indicate the end of the first task, so that the session management network element can respond to the end of the first task while the first terminal is still executing at least one task, by entering a session modification process to determine the first channel resources.
[0011] In one possible design, determining the first channel resource includes: identifying a first channel resource associated with a first packet detection rule / forwarding action rule (PDR / FAR) and not associated with at least one second packet detection rule / forwarding action rule; wherein the first packet detection rule / forwarding action rule is a packet configured by the session management network element for detecting and forwarding packets of a first task arriving at the first user plane network element, and at least one second packet detection rule / forwarding action rule is a packet configured by the session management network element for detecting and forwarding packets of at least one task arriving at the first user plane network element. In other words, the packet detection rule / forwarding action rule is associated with a task, thus the first channel resource can be determined based on whether or not it is associated with a related packet detection rule / forwarding action rule.
[0012] Optionally, the first message includes information indicating the first channel resource. For example, the session management network element indicates the first traffic endpoint information cell to the first user plane network element through the first message, including the ID of the first channel resource, to instruct the first user plane network element to remove the first traffic endpoint information cell or release the first channel resource.
[0013] In a second aspect, a communication method is provided, applied to a first user plane network element, the method comprising: receiving a first message from a session management network element, the first message being used to trigger the first user plane network element to determine a channel resource that needs to be released, the first user plane network element serving a first terminal; responding to the first message, determining a first channel resource, the first channel resource being a channel resource associated with a first task and not associated with at least one task, the terminal executing the first task including the first terminal, the first terminal also executing at least one task.
[0014] Therefore, the first user plane network element can also respond to the first message from the session management network element, identify the first channel resource associated with the first task but not associated with at least one task, and release the first channel resource. The first message indicates that the first task of the first terminal has ended. It can be understood that the first channel resource is a channel resource without service transmission. Therefore, this method enables the first user plane network element to respond to messages from the session management network element, identify channel resources with no transmission requirements, and release them, avoiding resource occupation and improving communication efficiency.
[0015] In one possible design, the first user plane network element responds to the first message by determining a first channel resource, including: in response to the first message, determining a first channel resource that is associated with a first packet detection rule / forwarding behavior rule and is not associated with at least one second packet detection rule / forwarding behavior rule; wherein the first packet detection rule / forwarding behavior rule is a packet configured by the session management network element for detecting and forwarding packets of a first task arriving at the first user plane network element, and at least one second packet detection rule / forwarding behavior rule is a packet configured by the session management network element for detecting and forwarding packets of at least one task arriving at the first user plane network element. That is, the packet detection rule / forwarding behavior rule is associated with a task, thereby determining the first channel resource based on whether or not a related packet detection rule / forwarding behavior rule is associated.
[0016] Optionally, the first message includes an identifier for the first task. It should be understood that the identifier for the first task is used to trigger the first user plane network element to determine the first channel resource.
[0017] In one possible design, after determining the first channel resource, the second aspect of the method further includes: sending a second message to the session management network element, the second message including information indicating the first channel resource. That is, information aligning the first channel resource between the first user plane network element and the session management network element.
[0018] Optionally, the second aspect of the method further includes: releasing the first channel resource in response to a third message sent by the session management network element, wherein the third message includes information indicating the release of the first channel resource. That is, the first user plane network element can reuse existing messages / steps to release the first channel resource during the session modification process, avoiding the addition of redundant messages or operations.
[0019] Thirdly, a communication method is provided for use in a session management network element. The method includes: determining that the first terminal is still executing at least one task when the first task executed by the first terminal has ended; and sending a first message to a first user plane network element in response to the first terminal still executing at least one task. The first message is used to trigger the first user plane network element to determine the channel resources that need to be released, and the first user plane network element serves the first terminal.
[0020] In one possible design, the first message includes an identifier for the first task.
[0021] Therefore, the session management network element can determine whether to perform the action of determining the first channel resource based on the number of tasks still being executed by the first terminal. If the first terminal is not executing at least one task, the session release process can be executed to avoid redundancy in the process.
[0022] Fourthly, a communication method is provided, applied to a first terminal or a chip of the first terminal, the method comprising: determining, when the first task executed by the first terminal has ended, that the first terminal is still executing at least one task; in response to the first terminal still executing at least one task, sending a first message to a session management network element, the first message being used to request the session management network element or a first user plane network element to determine the channel resources that the first user plane network element needs to release, the first user plane network element serving the first terminal.
[0023] In one possible design, the first message includes an identifier for the first task.
[0024] Therefore, it can be seen that the first terminal can determine whether to perform the action of determining the first channel resource based on the number of tasks it is still executing. If the first terminal is not executing at least one task, it can execute the session release process to avoid redundancy in the process.
[0025] Fifthly, a communication method is provided, applied to a session management network element. The method includes: in response to a request to establish a first task, determining a first channel resource uniquely associated with the first task, wherein the first channel resource is a resource used for communication between a first user plane network element and a second user plane network element, the first user plane network element is a network element serving a first terminal, the second user plane network element is a network element serving a second terminal, and the terminal executing the first task includes the first terminal and the second terminal; and generating a signal element for indicating the first channel resource.
[0026] Therefore, when creating a task, the session management network element determines the channel resource uniquely associated with the task and generates a cell to indicate that channel resource. In other words, the session management network element can create cells indicating channel resources at the task level. Thus, when the task is released after completion, all cells associated with the task can be removed simultaneously, i.e., all channels associated with the task are released, without waiting for the release of the last session associated with the task. This solves the problem of asynchronous release between task dynamic group release and related resource release, avoids resource occupation, and improves communication efficiency.
[0027] In one possible design, the fifth aspect further includes sending a first message to both the first and second user plane network elements, the first message indicating the creation of a cell for indicating second channel resources. This achieves information alignment between the session management network element and the user plane network element.
[0028] A sixth aspect provides a communication device comprising a module for performing the method described in any one of the first to fifth aspects.
[0029] In one possible design, the communication device described in the sixth aspect may further include a transceiver. This transceiver may be a transceiver circuit or an interface circuit. The transceiver can be used for communication between the communication device described in the sixth aspect and other communication devices.
[0030] In one possible design, the communication device described in the sixth aspect may further include a memory. This memory may be integrated with the processor or disposed separately. The memory may be used to store instructions relating to the methods described in any of the first to fifth aspects.
[0031] In the embodiments of this application, the communication device described in the sixth aspect may be a network device, or a chip (system) or other component or assembly disposed in the network device, or a device containing the network device.
[0032] It is understood that the technical effects of the device described in the sixth aspect can also be referred to the relevant descriptions of the methods in any of the first to fifth aspects mentioned above, and will not be repeated here.
[0033] A seventh aspect provides a communication device. The communication device includes a processor coupled to a memory, the processor being configured to execute instructions stored in the memory such that the communication device performs the method described in any one of the first to fifth aspects.
[0034] In one possible design, the communication device described in the seventh aspect may further include a transceiver. This transceiver may be a transceiver circuit or an interface circuit. The transceiver can be used for communication between the communication device described in the seventh aspect and other communication devices.
[0035] In the embodiments of this application, the communication device described in the seventh aspect may be a network device described in any one of the first to fifth aspects, or a chip (system) or other component or assembly disposed in the network device, or a device containing the network device.
[0036] Furthermore, the technical effects of the communication device described in the seventh aspect can be referred to the technical effects of the method described in any one of the first or second aspects, and will not be repeated here.
[0037] Eighthly, a communication device is provided, comprising: a processor and a memory; the memory being used to store instructions that, when executed by the processor, cause the communication device to perform the method as described in any one of the first to fifth aspects.
[0038] In one possible design, the communication device described in the eighth aspect may further include a transceiver. This transceiver may be a transceiver circuit or an interface circuit. The transceiver can be used by the communication device described in the eighth aspect to communicate with other communication devices.
[0039] In the embodiments of this application, the communication device described in the eighth aspect may be a network device described in any one of the first to fifth aspects, or a chip (system) or other component or assembly disposed in the network device, or a device containing the network device.
[0040] Furthermore, the technical effects of the communication device described in the eighth aspect can be referred to the technical effects of the method described in any one of the first to fifth aspects, and will not be repeated here.
[0041] Ninth aspect, a chip is provided, the chip comprising: a controller and an interface circuit, wherein the controller is configured to interact with other devices via the interface circuit to perform the method as described in any one of the first to fifth aspects.
[0042] A tenth aspect provides a communication system. The communication system includes a first manager for performing the methods described in the first, third, or fifth aspect; a second manager for performing the methods described in the second aspect; and a third manager for performing the methods described in the fourth aspect.
[0043] Eleventhly, a computer-readable storage medium is provided, the computer-readable storage medium including storage of a computer program or instructions that, when the computer program or instructions are run, cause the method described in any one of the first to fifth aspects to be performed.
[0044] In a twelfth aspect, a computer program product is provided, comprising a computer program or instructions that, when run, cause the method described in any one of the first to fifth aspects to be performed. Attached Figure Description
[0045] Figure 1 This is a schematic diagram of the architecture of a 5G system;
[0046] Figure 2 A flowchart illustrating the process of building a VN Group network;
[0047] Figure 3 A schematic diagram illustrating the process of UE triggering session updates under a flow-granular dynamic group;
[0048] Figure 4 This is a schematic diagram of a flow-granular dynamic group communication based on N19 forwarding;
[0049] Figure 5 This is a schematic diagram of the architecture of the communication system provided in the embodiments of this application;
[0050] Figure 6 Flowchart of the communication method provided in the embodiments of this application Figure 1 ;
[0051] Figure 7 Flowchart of the communication method provided in the embodiments of this application Figure 2 ;
[0052] Figure 8 Flowchart of the communication method provided in the embodiments of this application Figure 3 ;
[0053] Figure 9 Flowchart of the communication method provided in the embodiments of this application Figure 4 ;
[0054] Figure 10 Flowchart of the communication method provided in the embodiments of this application Figure 5 ;
[0055] Figure 11 Schematic diagram of the communication device provided in the embodiments of this application Figure 1 ;
[0056] Figure 12 Schematic diagram of the communication device provided in the embodiments of this application Figure 2 . Detailed Implementation
[0057] The technical solutions of this application embodiment can be applied to various communication systems, such as Wi-Fi systems, vehicle-to-everything (V2X) communication systems, device-to-device (D2D) communication systems, vehicle-to-everything (V2X) communication systems, fourth-generation (4G) mobile communication systems, such as long-term evolution (LTE) systems, worldwide interoperability for microwave access (WiMAX) communication systems, fifth-generation (5G) mobile communication systems, such as new radio (NR) systems, and future communication systems.
[0058] For ease of understanding, the technical terms used in this application will be introduced below.
[0059] 1. The fifth-generation (5G) mobile communication system (5G system, 5GS), abbreviated as 5G system:
[0060] Figure 1 This is a schematic diagram of the 5GS architecture. Figure 1As shown, 5GS includes: access network (AN) and core network (CN), and may also include: terminals.
[0061] The aforementioned terminal can be a terminal with transceiver capabilities, or a chip or chip system that can be installed on the terminal. This terminal can also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station (MS), mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent, or user apparatus. The terminals in the embodiments of this application may be mobile phones, cellular phones, smartphones, tablets, wireless data cards, personal digital assistants (PDAs), wireless modems, handsets, laptop computers, machine-type communication (MTC) terminals, computers with wireless transceiver capabilities, virtual reality (VR) terminals, augmented reality (AR) terminals, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical care, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, vehicle-mounted terminals, roadside units (RSUs) with terminal functions, etc. The terminal of this application may also be an on-board module, on-board unit, on-board component, on-board chip or on-board unit that is built into a vehicle as one or more components or units.
[0062] The aforementioned AN is used to implement access-related functions, providing network access capabilities for authorized users and determining transmission links of different quality levels to transmit user data based on user level, service requirements, etc. The AN forwards control signals and user data between the terminal and the CN. The AN may include access network equipment, also known as radio access network (RAN) equipment.
[0063] Terminal devices and access network devices communicate with each other using some kind of air interface technology (such as NR or LTE). Terminal devices can also communicate with each other using some kind of air interface technology (such as NR or LTE).
[0064] The Network Center (CN) is primarily responsible for maintaining the subscription data of the mobile network and providing terminals with functions such as session management, mobility management, policy management, and security authentication. The CN mainly includes all or some of the following functions: access and mobility management (AMF), session management (SMF), user plane function (UPF), AI-Management Function (AI-MF), authentication server function (AUSF), network slice selection function (NSSF), network exposure function (NEF), network repository function (NRF), policy control function (PCF), unified data management (UDM), unified data repository (UDR), network data analytics function (NWDAF), analytics data repository function (ADRF), and application function (AF).
[0065] like Figure 1 As shown, the UE accesses the 5G network through the RAN device. The UE communicates with the AMF through the N1 interface (N1 for short); the RAN communicates with the AMF through the N2 interface (N2 for short); the RAN communicates with the UPF through the N3 interface (N3 for short); the SMF communicates with the UPF through the N4 interface (N4 for short); and the UPF accesses the data network (DN) through the N6 interface (N6 for short). Furthermore, Figure 1The control plane functions shown, such as AUSF, AMF, SMF, NSSF, NEF, NRF, PCF, UDM, UDR, or AF, interact using service-oriented interfaces. For example, the service-oriented interface provided by AUSF is Nausf; AMF is Namf; SMF is Nsmf; NSSF is Nnssf; NEF is Nnef; NRF is Nnrf; PCF is Npcf; UDM is Nudm; UDR is Nudr; NWDAF is Nnwdaf; ADRF is Nadrf; and AF is Naf.
[0066] RAN equipment can be a device that provides access to terminals. For example, RAN equipment may include: access network equipment in future mobile communication systems, such as base stations, or in future mobile communication systems, the network equipment may have other naming conventions, all of which are covered within the protection scope of the embodiments of this application, and this application does not limit them in any way. Alternatively, RAN equipment may also include 5G, such as gNB in a new radio (NR) system, or one or a group of antenna panels (including multiple antenna panels) of a base station in 5G, or it may be a network node constituting a gNB, transmission and reception point (TRP) or transmission point (TP) or transmission measurement function (TMF), such as a building base band unit (BBU), or a centralized unit (CU) or distributed unit (DU), an RSU with base station functions, or a wired access gateway, or the core network of 5G. Alternatively, RAN equipment may also include access points (APs) in wireless fidelity (WiFi) systems, wireless relay nodes, wireless backhaul nodes, various forms of macro base stations, micro base stations (also known as small stations), relay stations, access points, wearable devices, vehicle-mounted equipment, and so on.
[0067] The AMF (Automatic Mobility Management) is primarily used for mobility management in mobile networks. This includes tasks such as user location updates, user network registration, and user handover. The AMF handles signaling processing, including functions such as access control, mobility management, attach and detach, and gateway selection. When an AMF network element provides services to a session in a terminal device, it provides control plane storage resources for that session to store the session identifier and the associated SMF network element identifier.
[0068] SMF is primarily used for session management in mobile networks. This includes session establishment, modification, and release. Specific functions include assigning Internet Protocol (IP) addresses to users, selecting a UPF (User Packet Forwarder) to provide packet forwarding, UPF redirection, IP address allocation, bearer establishment, modification, and release, and QoS control.
[0069] The User-Defined Processing (UPP) is primarily responsible for user data processing (forwarding, receiving, billing, etc.). For example, the UPF can receive user data from a data network (DN) and forward it to the terminal through access network equipment. The UPF can also receive user data from the terminal through access network equipment and forward it to the DN. The DN refers to the operator's network that provides data transmission services to users. Examples include Internet Protocol (IP) multimedia services (IMS) and the Internet. The DN can be an external network of the operator or a network controlled by the operator, used to provide service to the terminal. In a Protocol Data Unit (PDU) session, the UPF directly connected to the DN via N6 is also called the Protocol Data Unit Session Anchor (PSA). The transmission resources and scheduling functions that provide services to the terminal equipment in the UPF are managed and controlled by the Service Provider Function (SMF).
[0070] AI-MF is used for group management, such as creating and releasing groups. In future communication systems, AI-MF may still be AI-MF, or it may be named Group Management Function, or it may have other names; this application does not limit this.
[0071] AUSF is primarily used to perform security authentication for terminals.
[0072] The PCF primarily supports providing a unified policy framework to control network behavior, delivering policy rules to control-layer network functions, and acquiring user subscription information related to policy decisions. The PCF can provide policies to the AMF and SMF, such as Quality of Service (QoS) policies and slice selection policies.
[0073] NSSF is primarily used to select network slices for terminals.
[0074] NEF is primarily used to support the opening of capabilities and events.
[0075] UDM is primarily used to store user data, such as contract data and authentication / authorization data.
[0076] UDR is primarily used to store structured data, including contract data, policy data, externally exposed structured data, and application-related data.
[0077] AF primarily supports interaction with CN to provide services, such as influencing data routing decisions, policy control functions, or providing third-party services to the network side.
[0078] NRF is primarily used to receive NF discovery requests from NF instances and provide information about the (discovered) NF instances to the requesting NF instance; it also maintains NF configuration files for available NF instances and their supported services.
[0079] NWDAF is primarily used to obtain statistical information, metrics, and events from 5G network functions; to perform machine learning modeling on streaming data; and to develop AI / ML models based on the obtained statistical data.
[0080] ADRF is primarily used for storing and retrieving collected data and analysis, and also for storing AI / ML models.
[0081] It is understood that the functions mentioned in the embodiments of this application can also refer to functional network elements or functional entities. For example, UPF can be referred to as UPF network element, AMF can be referred to as AMF network element, SMF can be referred to as SMF network element, PCF can be referred to as PCF network element, and so on, without limitation.
[0082] 2. Protocol Data Unit Session (PDU session):
[0083] A PDU session refers to the communication process between a terminal (such as a UE) and a data network (such as a DN). Once a PDU session is established, a data transmission channel is established between the UE and the DN. The PDU session stores important information related to billing, such as user plane data routing, QoS, billing, slicing, and rate.
[0084] PDU session establishment is generally initiated by the terminal. In some special cases, the network can also page the terminal, causing the terminal to receive the page, respond, and then initiate the session establishment process. There are no restrictions on this. Both the terminal and the network can initiate PDU session updates / modifications to modify relevant information or resources of the PDU session; the terminal or the network can also initiate PDU session releases to release all resources associated with the session.
[0085] 3. 5G Virtual Network Group (VN Group) Mechanism:
[0086] 5G VN Group is a virtualization networking technology in 5G systems that allows the network to divide multiple terminal devices (such as UE or IoT devices) into logically independent communication groups, enabling efficient communication and resource isolation within the group and providing QoS guarantees for service data.
[0087] like Figure 2 As shown, Figure 2 This is a flowchart illustrating the process of creating a VN Group network. Specifically, it includes the following steps:
[0088] S201, AF (or administrator user) requests NEF to add or delete a group.
[0089] The request includes the group's external ID, a list of UE identifiers (such as a list of generic public subscription identifiers, GPSI), the requester ID, and authentication information. The list of UE identifiers is used to identify UEs within the group.
[0090] S202, NEF records AF's request, enabling authentication of the request.
[0091] Specifically, this could involve the operator authorizing or allowing the request.
[0092] S203, NEF requests UDM to add or remove groups.
[0093] Specifically, with operator authentication or permission, the NEF may use UDM service operations to request the UDM to add or remove a group that has a list of UE identifiers (such as a GPSI list).
[0094] S204, UDM creates or deletes a group record via UDR.
[0095] Specifically, UDM uses the UDR service to create or delete a group from the group record.
[0096] S205, UDM adds or removes groups identified by the UE identifier via UDR.
[0097] The UE identifier can be an external identifier (such as GPSI) or an internal identifier (such as a subscription permanent identifier (SUPI)).
[0098] It should be understood that S205 is the operation of UDM to add or remove the group associated with each UE within the group.
[0099] Currently, the formation of 5G VN Groups is not based on dynamic event creation, resulting in poor flexibility. Therefore, a flow-granular dynamic grouping scheme is introduced, enabling the network to dynamically create groups based on tasks / events and release groups after the tasks / events are completed.
[0100] 4. Flow particle size dynamic group:
[0101] Flow-granular dynamic groups are a flow-granular group communication method developed based on 5G VN group technology. They enable groups to be created dynamically at the QoS flow level based on tasks / events, and also to manage members and control QoS within the group under the operator's management.
[0102] like Figure 3 As shown, Figure 3 This diagram illustrates the process of a UE triggering a session update under a flow-granular dynamic group. Specifically, the process includes:
[0103] S301, AF sends an intent to AI-MF via NEF.
[0104] This intent reflects the needs of the terminal. For example, a map application on the terminal might request traffic information for a road segment from the network.
[0105] It should be understood that S301 is an optional step.
[0106] S302, AI-MF and UDM interact to generate tasks, and determine the measurement information, accuracy, and UE filtering conditions (region, terminal capabilities, subscription, etc.) corresponding to the task.
[0107] S303, AI-MF determines AMF based on the mission area.
[0108] S304, AI-MF sends a task release signaling to AMF, and AMF receives the task release signaling from AI-MF accordingly.
[0109] The task release signaling includes information such as task identifier, area information, and task content. The task content includes measurement information (which may be a semantic task) and accuracy information.
[0110] S305, AMF sends a task release signaling to RAN.
[0111] This task release signaling can be the same as the task release signaling in S304, carrying the same content.
[0112] S306, RAN broadcasts the task to UE.
[0113] The broadcast content includes task identifiers, area information, task content, etc. The task content includes measurement information (which may be semantic tasks), accuracy, and other information.
[0114] S307a, the UE selects an established session identifier to perform a task based on the data network name / single network slice selection assistance information (DNN / S-NSSAI), triggering the session update process.
[0115] S307b, the UE initiates a session modification request.
[0116] The session modification request includes: confirmation of task execution, task identifier, session identifier, and DNN / S-NSSAI.
[0117] S307c, AMF sends a group session modification request to AI-MF.
[0118] Group session modification requests include: confirmation of task execution, task identifier, session identifier, DNN / S-NSSAI, and SUPI.
[0119] S308, AI-MF (within the set time) updates the list of participants in the task based on the UE performing the task.
[0120] S309, AI-MF sends a task resource scheduling modification request to SMF.
[0121] The task resource scheduling modification request includes the SUPI list, session identifier, task identifier, and temporary QoS requirements.
[0122] The task scheduling resources sent by AI-MF to SMF can be UE-level, with parameters including SUPIs; or group-level. When the task scheduling resources are group-level, AI-MF needs to compile a list of UEs within a set time period and send group-level task scheduling resources to SMF, with parameters including a list of SUPIs.
[0123] S310a, SMF performs local policy updates.
[0124] Specifically, SMF can update local policies based on QoS requirements.
[0125] S310b, the SMF sends a Session Management Policy Control Update (Npcf_SMPolicyControl_Update) message to the PCF.
[0126] Specifically, the message includes QoS requirements.
[0127] S310c, the PCF sends a Session Management Policy Control Update Response (Npcf_SMPolicyControl_Update Reponse) message to the SMF.
[0128] Based on the QoS requirements sent by the SMF, the PCF reissues the policy control and charging (PCC) rules.
[0129] It should be understood that S310a-S310c is the process by which the SMF and PCF interact to initiate the modification of the SM policy association and obtain the QoS configuration, and these are optional steps.
[0130] S311, SMF generates network instances at the QoS flow identifier (QFI) granularity and configures packet detection rule / forwarding action rule (PDR / FAR).
[0131] The network instance includes a task identifier and / or group ID, such as [Network Instance<——>QFI+UEIP]. Furthermore, the SMF configures the PDR / FAR based on the same task identifier. The network instance parameters for each QFI granularity have the same values.
[0132] S312a, SMF sends an N4 session establishment / modification request to UPF.
[0133] N4 session establishment / modification requests include PDRs, FARs, and QoS enforcement rules (QER).
[0134] S312b, UPF sends an N4 session establishment / modification response to SMF.
[0135] S313, SMF sends a task resource scheduling modification response to AI-MF.
[0136] S314, AI-MF sends a group session modification response to AMF.
[0137] The group session modification response includes N1 session management storage (SM container) information, including QoS rules and packet filter settings, and N2 session management information, including QFI(s) and QoS profile(s).
[0138] S315, AMF sends an N2 message to RAN.
[0139] Specifically, this includes N2 session management information received by the AMF from the SMF, as well as non-access stratum (NAS) messages (including PDU session identifiers and N1 session management storage information (including protocol data unit (PDU) session modification commands)).
[0140] S316, (R)AN and UE exchange specific signaling.
[0141] This signaling exchange is related to the information received by (R)AN from SMF. If N1 session management storage information is received in step S315, the N1 session management storage information (including PDU session modification request / response) is forwarded to the UE.
[0142] S317, (R)AN sends an N2 message to AMF.
[0143] Specifically, the N2 message is used to confirm the N2 PDU session request, which includes core network channel information (ANtunnel Info).
[0144] S318a, AMF sends a PDU session update context request (Nsmf_PDUSession_UpdateSMContext Request) to SMF.
[0145] Specifically, the AMF forwards the N2 SM information received from the (R)AN and the user location information received from the AN to the SMF.
[0146] S318b, the SMF sends a PDU session update context response (Nsmf_PDUSession_UpdateSMContext Response) to the AMF.
[0147] S319a, SMF initiates N4 session modification procedure to UPF.
[0148] S319b, the UPF provides the SMF with an N4 session modification response.
[0149] The following example illustrates in detail the communication process between members of the flow granularity group.
[0150] See Figure 4 , Figure 4 This is a schematic diagram illustrating communication implemented by a flow-granular dynamic group based on N19 forwarding. For example... Figure 4 As shown in (a), groups are created based on task granularity. For example, group 1 is created based on task 1, group 2 is created based on task 2, and group 3 is created based on task 3. Terminals executing task 1 include UE1, UE2, UE3, and UE4; terminals executing task 2 include UE2 and UE4; and terminals executing task 3 include UE1 and UE2. Furthermore, the task granularity is smaller than the session granularity. For example, UE1 joins groups 1 and 2, and executes tasks 1 and 2 based on QFI1 and QFI2 of PDU session 1, respectively; UE2 joins groups 1, 2, and 3, and executes tasks 1, 2, and 3 based on QFI1, QFI2, and QFI3 of PDU session 2, respectively; UE3 joins group 1, and executes task 1 based on QFI1 of PDU session 3; UE4 joins groups 1 and 3, and executes tasks 1 and 3 based on QFI1 and QFI3 of PDU session 4, respectively. The Quality of Service Flow Identifier (QFI) is used to uniquely identify a QoS flow within a PDU session.
[0151] Combination Figure 4In (b), the solid line trajectory represents the traffic of Task 1 being broadcast between groups consisting of PDU session 1-QFI1, PDU session 2-QFI1, PDU session 3-QFI1, and PDU session 4-QFI1; the dashed line trajectory represents the traffic of Task 2 being broadcast between groups consisting of PDU session 1-QFI2 and PDU session 2-QFI2; and the dotted-dash line trajectory represents the traffic of Task 3 being broadcast between groups consisting of PDU session 2-QFI3 and PDU session 4-QFI3. Furthermore, UE1, UE2, UE3, and UE4 are connected to the network via (R)AN. (R)AN is connected to the UPF corresponding to each UE via channel N3. Further, UPF1 corresponding to UE1, UPF2 corresponding to UE2, UPF3 corresponding to UE3, and UPF4 corresponding to UE4 communicate with each other via channel N19; that is, channel N19 is used for communication between UPFs.
[0152] Currently, when a task ends and the task-related group is disbanded, the N19 channel is released at the session level. This means that an N19 channel associated with a session is released only after the last session associated with that group is released. Therefore, the N19 channel associated with the group (or task) can only be released after the last session associated with that group is released. In practical applications, it has been found that since a UE may execute different tasks in parallel, the temporary group communication session established for that UE may involve group communication for multiple tasks. As explained above, temporary groups are created at the task level, and the task level is smaller than the session level. Therefore, the group communication level is smaller than the session level. This means that after a task ends and the associated group is released, the session may not be released, resulting in the N19 channel associated with that task also not being released.
[0153] Still with Figure 4 The following scenario illustrates the situation: Assuming Task 1 has ended, UE1 initiates a session modification procedure to release QFI1, but retains QFI2 to continue executing Task 2; that is, PDU session 1 is not released. UE2 initiates a session modification procedure to release QFI1, but retains QFI2 and QFI3 to continue executing Tasks 2 and 3; that is, PDU session 2 is not released. UE4 initiates a session modification procedure to release QFI1, but retains QFI3 to continue executing Task 3; that is, PDU session 4 is not released. UE3, since it only executes Task 1, initiates a session release procedure to release PDU session 3. After PDU session 3 is released, UPF3 corresponding to UE3 will release its N19 channel with other UPFs, such as... Figure 4The dashed line in (c) is shown in the diagram.
[0154] At this point, UE1 and UE2 are still jointly executing Task 2, and UE2 and UE4 are still jointly executing Task 4. It is evident that after the group for Task 1 is disbanded, there is no longer a need for task communication between UE1 and UE4. However, because UE1 and UE4 retain their respective sessions, the N19 channel between UPF1 and UPF4 cannot be released (e.g., Figure 4 (As shown by the dotted line in (c)), the N19 channel resource is occupied, resulting in resource waste.
[0155] Therefore, how to ensure that the relevant N19 channel is released synchronously after the terminal finishes executing the task is an urgent problem to be solved.
[0156] To address the aforementioned technical problems, the embodiments of this application propose the following technical solutions.
[0157] The technical solutions in this application will now be described with reference to the accompanying drawings.
[0158] In the embodiments of this application, "instruction" can include direct and indirect instructions, as well as explicit and implicit instructions. The information indicated by a certain piece of information is called the information to be instructed. In the specific implementation process, there are many ways to instruct the information to be instructed, such as, but not limited to, directly instructing the information to be instructed, such as the information to be instructed itself or its index. It can also indirectly instruct the information to be instructed by instructing other information, where there is a relationship between the other information and the information to be instructed. It can also instruct only a part of the information to be instructed, while the other parts are known or pre-agreed upon. For example, the instruction of specific information can be achieved by using a pre-agreed (e.g., protocol-defined) arrangement of various pieces of information, thereby reducing instruction overhead to some extent. At the same time, common parts of various pieces of information can be identified and uniformly indicated to reduce the instruction overhead caused by individually indicating the same information.
[0159] Furthermore, the specific indication method can also be any existing indication method, such as, but not limited to, the above-mentioned indication methods and their various combinations. Specific details of various indication methods can be found in existing technologies, and will not be repeated here. As described above, for example, when multiple pieces of information of the same type need to be indicated, the indication methods for different pieces of information may differ. In the specific implementation process, the required indication method can be selected according to specific needs. This application embodiment does not limit the selected indication method; therefore, the indication methods involved in this application embodiment should be understood to cover various methods that enable the party to be indicated to obtain the information to be indicated.
[0160] It should be understood that the information to be indicated can be sent as a whole or divided into multiple sub-information messages sent separately, and the sending period and / or timing of these sub-information messages can be the same or different. The specific sending method is not limited in this application embodiment. The sending period and / or timing of these sub-information messages can be predefined, for example, according to a protocol, or configured by the sending device by sending configuration information to the receiving device.
[0161] In this application, "sending information" can be understood as one device sending information to another device, or it can also be understood as one logical module within a device sending information to another logical module. For example, "network device sending information" can be understood as a network device sending information to another device (such as a terminal or other network device), or it can be understood as a network service producer in a network device sending information to a network service consumer in a network device.
[0162] In this application, "receiving information" can be understood as one device receiving information from another device, or it can also be understood as a logical module within a device receiving information from another logical module. For example, "network device receiving information" can be understood as a network device receiving information from another device (such as a terminal or other network device), or it can be understood as a network service producer in a network device receiving information from a network service consumer in a network device.
[0163] In this application, phrases such as "sending information to... (e.g., a terminal)" or related illustrations in the accompanying drawings can be understood as indicating that the destination of the information is a terminal. This can include sending information directly or indirectly to a terminal. Similarly, phrases such as "receiving information from... (e.g., a terminal)," "receiving information from... (e.g., a terminal)," or "receiving information sent by (e.g., a terminal)," or related illustrations in the accompanying drawings, can be understood as indicating that the source of the information is a terminal. This can include receiving information directly or indirectly from a terminal. Information may undergo necessary processing between the source and destination, such as format changes, but the destination can understand the valid information from the source. Similar expressions in this application can be interpreted similarly and will not be elaborated further here.
[0164] "Predefined" or "pre-configured" can be achieved by pre-saving corresponding codes, tables, or other means that can be used to indicate relevant information in the device. This application does not limit the specific implementation method. "Saving" can refer to saving in one or more memories. These memories can be separate installations or integrated into the encoder, decoder, processor, or communication device. Alternatively, some memories can be separately installed, while others are integrated into the decoder, processor, or communication device. The type of memory can be any form of storage medium, and this application does not limit this.
[0165] The “protocol” mentioned in the embodiments of this application may refer to a protocol family in the field of communication, a standard protocol with a similar protocol family frame structure, or a related protocol applied to future communication systems. The embodiments of this application do not specifically limit this.
[0166] In the embodiments of this application, descriptions such as "when," "under the circumstances," "if," and "if" all refer to the device making corresponding processing under certain objective circumstances, and are not limited to a specific time. They do not require the device to make a judgment action during implementation, nor do they imply any other limitations.
[0167] In the description of the embodiments of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in the embodiments of this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of the embodiments of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. Additionally, to facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or order of execution, and that "first," "second," etc., are not necessarily different. Furthermore, in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for ease of understanding.
[0168] The network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0169] To facilitate understanding of the embodiments of this application, a communication system will be used as an example to describe in detail the communication system applicable to the embodiments of this application.
[0170] like Figure 6 As shown, Figure 6 This is a schematic diagram of the architecture of a communication system, which may include a terminal (such as a UE) and a network (such as an AN). The network further includes session management network elements (such as a SMF) and user plane network elements (such as a UPF).
[0171] In this communication system, if the first task executed by the first terminal ends, the session management network element or the first user plane network element in the network can determine the first channel resource that is associated with the first task but not associated with any of the first tasks, based on the fact that the first terminal is still executing at least one task, and release the first channel resource. It can be understood that the first channel resource is a channel resource without service transmission. Therefore, the channel resource without transmission requirements can be released synchronously after the task executed by the terminal ends, avoiding resource occupation and improving communication efficiency.
[0172] Alternatively, in this communication system, when creating a task, the session management network element determines the channel resource uniquely associated with the task and generates a cell to indicate that channel resource. In other words, the session management network element can create cells indicating channel resources at the task level. Therefore, when the task is released after completion, all cells associated with the task can be removed simultaneously, i.e., all channels associated with the task are released, without waiting for the release of the last session associated with the task. This solves the problem of asynchronous release of task dynamic groups and related resources, avoids resource occupation, and improves communication efficiency.
[0173] The communication method and apparatus of this application embodiments will be further described below with reference to the accompanying drawings. The interaction process between various network elements / devices in the above-described communication system will be specifically described below through method embodiments. The communication method provided in this application embodiments can be applied to the above-described communication system and specifically applied to various scenarios mentioned in the above-described communication system, which will be described in detail below.
[0174] Figure 7 Flowchart of the communication method provided in the embodiments of this application Figure 1 This communication method is applicable to the aforementioned communication system and mainly involves the interaction between the first terminal, the session management network element, and the first user plane network element, wherein the first user plane network element serves the first terminal.
[0175] Specifically, this method can be executed by the session management network element or by the first user plane network element, such as... Figure 7 As shown, the specific process is as follows:
[0176] S701, when the first task executed by the first terminal ends and the first terminal is still executing at least one task, a first channel resource is determined. The first channel resource is a channel resource that is associated with the first task but is not associated with any of the at least one task.
[0177] The first task differs from any of the at least one tasks, and the terminal performing the first task or at least one task may also include other terminals. For example, in a smart transportation scenario, the first terminal may be an intelligent driving vehicle, and other terminals may include other intelligent driving vehicles or the driver's mobile phone, etc. The first task may be negotiating driving information between the vehicle and other intelligent driving vehicles, and one of the at least one tasks may be sharing media data between the vehicle and the driver's mobile phone.
[0178] In one possible implementation, the first terminal can determine whether it is still executing at least one task based on the number of tasks it has executed in response to the completion of the first task. For example, if the first task has ended and the release process of the first task has not been performed, the first terminal obtains the number of tasks it is still executing. If the number of tasks is greater than or equal to 2, it is determined that the first terminal is still executing at least one task. Alternatively, if the first task has ended and the release of the first task has been completed, the first terminal obtains the number of tasks it is still executing. If the number of tasks is greater than or equal to 1, it is determined that the first terminal is still executing at least one task.
[0179] In another possible implementation, the session management network element can also respond to the information indicating the end of the first task executed by the first terminal, and determine whether the first terminal is still executing at least one task based on the number of tasks executed by the first terminal. The specific implementation method can be referred to the implementation method of the first terminal, and will not be repeated here. In this implementation method, the session management network element can receive information about the end of the first task executed by the first terminal from the first terminal or from a group management function (such as AI-MF). For example, the session management network element receives a PDU session modification / update request message sent from the first terminal, which carries information indicating the QoS flow corresponding to the first task. Optionally, the message may also carry an identifier of the first task. Another example is that the session management network element receives a task resource scheduling message sent from a group management function, which carries information indicating the end of the first task executed by the first terminal. The specific implementation is not limited.
[0180] In other words, the first terminal may determine that its first task has ended while it is still executing at least one task, triggering the session management network element or the first user plane network element to determine the first channel resource. Alternatively, the session management network element may determine that the first task executed by the first terminal has ended while the first terminal is still executing at least one task, triggering itself or the first user plane network element to determine the first channel resource. The specific implementation is not limited.
[0181] The following section explains how the session management network element or the first user plane network element determines the first channel resource.
[0182] The first channel resource is the channel resource associated with the first user plane network element corresponding to the first terminal, and it is used to enable communication between the first user plane network element and the user plane network elements corresponding to the other terminals. For example, the first channel resource is the N19 channel resource.
[0183] First, let me briefly explain how to understand the channel resources associated with the task.
[0184] It should be understood that the network can create / release corresponding groups at the task level. Multiple terminals executing a task belong to a group created based on that task, and the user plane network elements corresponding to these multiple terminals transmit task data based on N19 channel resources. Therefore, channel resources associated with a task can be understood as channel resources where task data transmission occurs, while channel resources not associated with a task can be understood as channel resources where task data transmission does not occur.
[0185] For example, suppose the members (terminals) executing Task 1 include UE1, UE2, UE3, and UE4. UPF1 serves UE1, UPF2 serves UE2, UPF3 serves UE3, and UPF4 serves UE4. Furthermore, there exists N19#1 for communication between UPF1 and UPF2, N19#2 for communication between UPF1 and UPF3, and N19#3 for communication between UPF1 and UPF4. The N19 resources of other UPFs are similar and will not be elaborated further. It is evident that N19#1, N19#2, and N19#3 are channel resources associated with UPF1 and Task 1. Further, suppose the members executing Task 2 include UE1 and UE2. It is clear that N19#1 is also associated with Task 2, while N19#2 and N19#3 are not associated with either Task 2 or Task 3.
[0186] In the example above, N19#2 and N19#3 are channel resources associated with task 1 performed by UE1, but not with task 2 performed by UE1.
[0187] Therefore, the session management network element or the first user plane network element can determine the first channel resource from at least one channel resource associated with the first user plane network element based on the first task and at least one other task.
[0188] In one possible implementation, the association between a task and a channel resource can be determined based on the granularity of task creation and the association between the traffic endpoint information cell. The traffic endpoint information cell includes the identifier of the channel resource. It should be understood that the granularity of task creation is smaller than the granularity of the session.
[0189] For example, if a task is created at the terminal IP address level (where the terminal IP address granularity is smaller than the session granularity), the association between the task and channel resources can be determined based on the relationship between the terminal IP address corresponding to the task and the traffic endpoint. Similarly, if a task is created at the QoS or QFI flow level (where the QoS or QFI flow granularity is smaller than the session granularity), the association between the task and channel resources can be determined based on the relationship between the QFI flow corresponding to the task and the traffic endpoint, or based on the relationship between the packet inspection rule / forwarding action rule (PDR / FAR) corresponding to the QoS and the traffic endpoint.
[0190] The following example, using tasks created at the granularity of QoS or QFI streams, illustrates how to determine the first channel resources based on the first task and at least one other task.
[0191] As mentioned above Figure 4 For example, the terminals executing Task 1 include UE1, UE2, UE3, and UE4; the terminals executing Task 2 include UE1 and UE2; and the terminals executing Task 3 include UE2 and UE4. UPF1 serves UE1, UPF2 serves UE2, UPF3 serves UE3, and UPF4 serves UE4.
[0192] Taking UE1 as an example, when UE1 executes both Task 1 and Task 2 simultaneously, the session management network element can generate a QoS-granular PDR / FAR for UE1's PDU session 1. As shown in Table 1 below, PDR / FAR1 corresponds to QFI1 in UE1's PDU session 1, and PDR / FAR2 corresponds to QFI2 in UE1's PDU session 1. Further, let traffic endpoint 1 include the identifiers of the channel resources used by UPF1 and UPF2 when UE1 communicates with UE2 in PDU session 1 and UE2 in PDU session 2 regarding Task 1 and Task 2; traffic endpoint 2 includes the identifiers of the channel resources used by UPF1 and UPF3 when UE1 communicates with UE3 in PDU session 1 and UE3 in PDU session 3 regarding Task 1; and traffic endpoint 3 includes the identifiers of the channel resources used by UPF1 and UPF4 when UE1 communicates with UE4 in PDU session 1 and UE4 in PDU session 4 regarding Task 1.
[0193] Therefore, for UE1, the relationship between its PDR / FAR and traffic endpoint information cells can be seen in Table 1 below.
[0194] Table 1
[0195] Task 1 Task 2 QFI1 QFI2 PDR / FAR1 PDR / FAR2 traffic endpoint1(UPF1-UPF2) traffic endpoint1(UPF1-UPF2) traffic endpoint2(UPF1-UPF3) traffic endpoint3 (UPF1-UPF4)
[0196] If UE1 finishes executing Task 1, the PDR / FAR1 of Task 1 corresponding to PDU session 1+QFI1 will be released. Furthermore, for other members involved in Task 1, UE3 only executes Task 1. Therefore, after Task 1 ends, UE3 will initiate a session release procedure, releasing all N19 channels on UPF3 corresponding to UE3, meaning traffic endpoint 2 will be removed. However, since UE1 still needs to execute Task 2, the PDR / FAR2 of Task 2 corresponding to PDU session 1+QFI2 is not released, and traffic endpoint 1 is still associated with PDR / FAR2. Traffic endpoint 3 is a traffic endpoint information cell unrelated to PDR / FAR2 of PDU session 1+QFI2. In other words, the channel resources between UPF1 and UPF4 indicated by traffic endpoint 3 are channel resources unrelated to Task 2, which UE1 is still executing.
[0197] It should be understood that the above description is for the case where Task 1 of UE1 has finished executing. The case where other UEs or other tasks have finished executing can refer to this example without limitation. In summary, referring to this implementation, it is possible to determine the first channel resource (such as the channel resource indicated by traffic endpoint 3) based on the first task (such as Task 1) executed by the first terminal (such as UE1) and at least one task still being executed (such as Task 2).
[0198] In summary, when the first task executed by the first terminal ends, the first terminal or the session management network element can determine that the first terminal is still executing at least one task, and trigger the session management network element or the first user plane network element to determine the first channel resource. The specific determination logic can be referred to the above description, and will not be repeated here.
[0199] It should be understood that in this embodiment, the term "task" can also be replaced with terms such as "business" or "service," and the term "channel resource" can also be replaced with terms such as "N19 channel," "N19 tunnel," or "N19," without any specific limitations.
[0200] S702, release the first channel resources.
[0201] In one possible implementation, the first channel resource can be released by removing the traffic endpoint information cell corresponding to the first channel resource.
[0202] The following is based on Figure 7 The different execution subjects of the methods shown will be further explained in detail in steps S701-S702.
[0203] Case 1: This method is executed by the session management network element.
[0204] In one possible implementation, the session management network element can receive a second message from the first terminal or from a group management function (such as AI-MF), the second message indicating that the first task performed by the first terminal has ended.
[0205] For example, the second message may be a PDU session modification / update request, which is sent by the first terminal to the session management network element through the Access and Mobility Management Function (AMF). The second message carries an index of the first Quality of Service (QoS) stream to indicate the end of the first task and cause the session management network element to release the first QoS stream, wherein the first QoS stream is used to carry the data of the first task.
[0206] For example, the second message may also be a task resource scheduling message, which is sent by the group management function to the session management network element, carrying information indicating that the first task executed by the first terminal has ended.
[0207] Next, the session management network element responds to the second message to determine whether the first terminal is still executing at least one task other than the first task. Then, the session management network element responds to the first task being executed by the first terminal ending and the first terminal is still executing at least one task, and determines the first channel resource. For specific implementation details, please refer to the relevant description in S701, which will not be repeated here.
[0208] In one possible implementation, the session management network element can also receive a third message from the first terminal. This third message indicates that the first task performed by the first terminal has ended, but the first terminal is still performing at least one task. For example, the third message can reuse the second message described above, adding an identifier carrying the first task to trigger the session management network element to respond to the third message and determine the first channel resource. Alternatively, the third message can be a newly defined message, without restriction. In this implementation, the method by which the session management network element determines the first channel resource can also be referred to the relevant description in S701, and will not be repeated here.
[0209] After the session management network element determines the first channel resource, it can send a first message to the first user plane network element. The first message instructs the first user plane network element to release the first channel resource. The first message includes information indicating the first channel resource. For example, the first message can be a session modification request or other newly defined message. The information indicating the first channel resource can be the identifier of the first traffic endpoint information element, which includes the identifier of the first channel resource.
[0210] Case 2: This method is executed by the first user plane network element.
[0211] In one possible implementation, the first user plane network element can receive a first message from the session management network element. This first message triggers the first user plane network element to determine which channel resources need to be released. For example, the first message can be a session modification request or other newly defined message, carrying an identifier of a first task to indicate that the first task being performed by the first terminal has ended, and that the first terminal is still performing at least one task. Furthermore, in response to the first message, the first user plane network element determines the first channel resource. Specific implementation details can be found in the relevant description in S701, and will not be repeated here.
[0212] In this context, it should be understood that the way the session management network element determines that the task being performed by the first terminal has ended, while the first terminal is still performing at least one task, can be referred to the relevant content of Case 1. That is, this information can be determined by the session management network element itself, or it can be determined by the first terminal and instructed to the session management network element, without any restriction.
[0213] Next, after the first user plane network element determines the first channel resource, it can send a second message to the session management network element. This second message includes information indicating the first channel resource; for example, it could be a session modification response or another newly defined message, carrying information indicating a first traffic endpoint cell, where the first traffic endpoint cell includes an identifier of the first channel resource. In other words, the session management network element can obtain information about the first traffic endpoint cell to be removed or the first channel resource to be released, and reuse existing messages to instruct the first user plane network element to remove the first traffic endpoint cell. For example, during a subsequent session modification process, the session management network element can instruct the first user plane network element to release the first channel resource or remove the first traffic endpoint cell via a session modification message.
[0214] It should be noted that Case 1 and Case 2 are two different implementation methods. That is, unless otherwise specified, the terms involved in each case are not related to each other. For example, "first message" in Case 1 and "first message" in Case 2 refer to different messages. Other descriptions are similar and will not be repeated.
[0215] In summary, in this embodiment, when the first task executed by the first terminal ends, the session management network element in the network can determine the first channel resource that is associated with the first task but not associated with any of the first tasks, based on the fact that the first terminal is still executing at least one task, and release the first channel resource. Alternatively, the session management network element can instruct the user plane network element to determine and release the first channel resource based on the fact that the first terminal is still executing at least one task. It can be understood that the first channel resource is a channel resource without service transmission. Therefore, this allows for the synchronous release of channel resources without transmission requirements after the terminal finishes executing its task, avoiding resource occupation and improving communication efficiency.
[0216] Figure 8 Flowchart of the communication method provided in the embodiments of this application Figure 2 This communication method is applicable to the aforementioned communication system and mainly involves the interaction between the session management network element and the first user plane network element, wherein the first user plane network element serves the first terminal.
[0217] S801, in response to the request to establish the first task, the session management network element determines the first channel resource uniquely associated with the first task and generates a signal element to indicate the first channel resource.
[0218] For example, the session management network element can receive a request from a group management function (such as AI-MF) to establish a first task, such as receiving a task resource scheduling modification request sent by AI-MF, which instructs the establishment of a first task for a first terminal. The request may include the identifier of the first task, the session identifier, the identifier of the first terminal (or a list of identifiers of terminals related to the first task), and the QoS requirements of the first task, so that the task resource scheduling modification request establishes the first task according to the instruction.
[0219] In one possible implementation, the first channel resource is uniquely associated with the first task. This can refer to the association between the first channel resource (or the information cell indicating the first channel resource) and the PDR / FAR configured for the first task. If the task is created at the granularity of QoS or QFI stream, it can also refer to the association between the first channel resource (or the information cell indicating the first channel resource) and the QFI stream of the first task. This embodiment does not limit the specific implementation of the association between channel resources and tasks.
[0220] For example, the first channel resource is the N19 channel resource.
[0221] For example, the cell indicating the first channel resource can be a first traffic endpoint cell, which includes the identifier of the first channel resource.
[0222] In other words, in response to the request to establish the first task, the session management network element can obtain the list of terminals executing the first task, thereby determining the channel resources that the first terminal (or the corresponding first user plane network element) needs to establish with other terminals (or other corresponding user plane network elements) executing the first task, and realizing the generation of information elements for the first channel resources or for indicating the first channel resources at the task granularity.
[0223] For example, suppose UE1 initiates a request to establish Task 1, and the group members (terminals) executing Task 1 include UE1, UE2, UE3, and UE4. UPF1 serves UE1, UPF2 serves UE2, UPF3 serves UE3, and UPF4 serves UE4. Furthermore, UE1 also initiates a request to establish Task 2, and the group members (terminals) executing Task 2 include UE1 and UE2. Then, the session management network element can generate task-level PDR / FAR and task-level traffic endpoints for these requests, respectively, and store them in the session management network element in the form of Table 2.
[0224] Specifically, traffic endpoint 1-1 includes the ID N19#1 used for communication between UE1 and UE2 (i.e., UPF1 and UPF2) in Task 1; traffic endpoint 2 includes the ID N19#2 used for communication between UE1 and UE3 (i.e., UPF1 and UPF3) in Task 1; traffic endpoint 3 includes the ID N19#2 used for communication between UE1 and UE4 (i.e., UPF1 and UPF3) in Task 1; and traffic endpoint 1-2 includes the ID N19#2 used for communication between UE1 and UE2 (i.e., UPF1 and UPF2) in Task 2. It should be understood that traffic endpoint 1-1 is only one possible name; other names with distinguishing significance are also possible, and this embodiment does not impose any limitations.
[0225] Table 2
[0226] Task 1 Task 2 PDR / FAR1 PDR / FAR2 traffic endpoint1-1(UPF1-UPF2) traffic endpoints 1-2 (UPF1-UPF2) traffic endpoint2(UPF1-UPF3) traffic endpoint3 (UPF1-UPF4)
[0227] S802, the session management network element sends a first message to the first user plane network element, and correspondingly, the first user plane network element receives the first message from the session management network element.
[0228] The first message includes cells indicating the resources of the first channel.
[0229] As can be seen from S801-S802, in this embodiment, when the session management network element creates a task, it can generate information cells for indicating channel resources based on the task granularity. Thus, when the task is released after it ends, all information cells related to the task can be removed at the same time, that is, all channels related to the task are released without waiting for the release of the last session related to the task. This solves the problem of asynchronous release of task dynamic groups and related resources, and avoids resource occupation.
[0230] The above combination Figures 6-7 The overall flow of the communication method provided in the embodiments of this application is introduced below. Figures 8-10 This paper describes the process of the communication method provided in the embodiments of this application in a specific scenario.
[0231] Figure 8 Flowchart of the communication method provided in the embodiments of this application Figure 3 This communication method is applicable to the aforementioned communication system and mainly involves the interaction between the UE (such as the first terminal), SMF (such as the session management network element), and UPF (such as the first user plane network element). For example, the session management network element can determine the first channel resource when the first task executed by the first terminal ends, but the first terminal is still executing at least one task. The first channel resource is a channel resource associated with the first task but not associated with any of the at least one task, and instructs the first user plane network element to release the first channel resource.
[0232] Specifically, such as Figure 8 As shown, the flow of this communication method is as follows:
[0233] S801a, after the first task performed by the UE is completed, the UE determines to trigger a PDU session modification request or a PDU session release request.
[0234] Specifically, the UE determines whether to trigger a PDU session modification request or a PDU session release request based on whether it is still performing at least one task different from the first task. For example, if the UE is still performing at least one task, a PDU session modification request is triggered, and the subsequent steps continue. If the UE is not performing at least one task, a PDU session release request is triggered, and the session release process is initiated.
[0235] In S801b, the UE sends a PDU session modification request to the AMF. Correspondingly, the AMF receives the PDU session modification request from the UE.
[0236] Specifically, the UE sends a NAS message to the AMF, which includes: an N1 session management container (N1 SM Container), which includes the requested QoS, etc. Optionally, it also includes a task identifier (such as the identifier of the first task).
[0237] In S801c, the AMF sends a PDU session modification request (Nsmf_PDUsession_UpdateSMContext) to the SMF. Correspondingly, the SMF receives the PDU session modification request from the AMF.
[0238] The PDU session modification request includes: the UE identifier (e.g., SUPI), the SM context identifier (SM ContextID), and the N1 SM Container. Optionally, it may also include the task identifier (e.g., the identifier of the first task).
[0239] It should be understood that steps S801a-S801c can also refer to the relevant description in step S601 above, where the first terminal determines that its first task has ended and it is still executing at least one task, in order to trigger the session management network element or the first user plane network element to determine the first channel resource.
[0240] It should be understood that steps S801a-S801c are optional steps.
[0241] In step S801d, AI-MF sends a task resource scheduling message to SMF. Correspondingly, SMF receives the task resource scheduling message from AI-MF.
[0242] AI-MF can be a group-managed network element or an AI-managed network element. The task resource scheduling message indicates that the UE's first task has ended.
[0243] S801e, based on the completion of the first task performed by the UE, the SMF determines whether to initiate a PDU session modification request or a PDU session release request.
[0244] Specifically, the SMF determines whether to initiate a PDU session modification request or a PDU session release request based on whether the UE is still performing at least one task different from the first task. For example, if the UE is still performing at least one task, the SMF initiates a PDU session modification request and continues the subsequent steps. If the UE is not performing at least one task, the SMF initiates a PDU session release request.
[0245] The specific implementation of steps S801d-S801e can refer to the relevant description in step S601 above, where the session management network element determines that the first task it is executing has ended, and at least one task is still being executed, to trigger the session management network element or the first user plane network element to determine the first channel resource, which will not be repeated here.
[0246] It should be understood that steps S801d-S801e are optional. Specifically, either steps S801a-S801c or steps S801d-S801e can be implemented.
[0247] S802, SMF releases QFI, then SMF determines N19 channel resources that are associated with the first task and are not associated with at least one task that the UE is still executing.
[0248] Specifically, the N19 channel resource in S802 can refer to the first channel resource in S601-S602, and its determination method can also refer to the relevant descriptions in S601-S602 above, which will not be repeated here.
[0249] S803a, the SMF sends an N4 session modification request (N4 PDU session modification request) to the UPF. Correspondingly, the UPF receives the N4 session modification request from the SMF.
[0250] Specifically, the N4 session modification request includes information to remove the TrafficEndpoint IE, where the TrafficEndpoint IE includes the ID of the N19 channel resource determined in S802. In other words, the SMF releases the N19 channel resource by removing the relevant TrafficEndpoint IE through the group-level N4 session modification request UPF.
[0251] In S803b, the UPF sends an N4 session modification response (N4 PDU session modification response) to the SMF. Correspondingly, the SMF receives the N4 session modification response from the UPF.
[0252] S804a, the SMF sends a PDU session management context update response (Nsmf_PDUSession_UpdateSMContext Response) to the AMF. Correspondingly, the AMF receives the PDU session management context update response from the SMF.
[0253] It should be understood that S804a corresponds to the situation where the UE triggers a session modification request (i.e., executes S801a-S801c). The message includes N2 session management information, such as PDU session ID, QFI(s), QoS Profile(s)), N1 SM container(PDUSession Modification Command(PDU Session ID, QoS rule(s)) and other related parameters.
[0254] In S804b, the SMF sends an N1 / N2 message transfer message (Namf_Communication_N1N2MessageTransfer) to the AMF. Correspondingly, the AMF receives the N1 / N2 message transfer message from the SMF.
[0255] It should be understood that S804b corresponds to the situation where the SMF triggers a session modification request (i.e., executing S801d-S801e), and the message includes relevant parameters such as N1SM container (QoS rule [Packet filter set]) and N2SM information (QFI(s), QoS profile(s)).
[0256] S805, AMF sends an N2 message to RAN.
[0257] S806, (R)AN and UE exchange specific signaling.
[0258] S807, (R)AN sends an N2 message to AMF.
[0259] S808a, AMF sends a PDU session update context request (Nsmf_PDUSession_UpdateSMContext Request) to SMF.
[0260] S808b, the SMF sends a PDU session update context response (Nsmf_PDUSession_UpdateSMContext Response) to the AMF.
[0261] S809a, SMF initiates N4 session modification procedure to UPF.
[0262] In S809b, the UPF provides the SMF with an N4 session modification response.
[0263] It should be understood that S805-S809b can be referred to the relevant explanations of S315-S319b above, and will not be repeated here.
[0264] Figure 9 Flowchart of the communication method provided in the embodiments of this application Figure 4This communication method is applicable to the aforementioned communication system and mainly involves the interaction between the UE (such as the first terminal), SMF (such as the session management network element), and UPF (such as the first user plane network element). For example, the session management network element can trigger the first user plane network element to determine the first channel resource when the first task executed by the first terminal ends, but the first terminal is still executing at least one task. The first channel resource is a channel resource associated with the first task but not associated with any of the at least one task, and then releases the first channel resource.
[0265] Specifically, such as Figure 9 As shown, the flow of this communication method is as follows:
[0266] S901a, after the first task performed by the UE is completed, the UE determines to trigger a PDU session modification request or a PDU session release request.
[0267] S901b, the UE sends a PDU session modification request to the AMF. Correspondingly, the AMF receives the PDU session modification request from the UE.
[0268] S901c, the AMF sends a PDU session modification request (Nsmf_PDUsession_UpdateSMContext) to the SMF. Correspondingly, the SMF receives the PDU session modification request from the AMF.
[0269] S901d, AI-MF sends a task resource scheduling message to SMF. Correspondingly, SMF receives the task resource scheduling message from AI-MF.
[0270] S901e, the SMF determines whether to initiate a PDU session modification request or a PDU session release request based on the completion of the first task performed by the UE.
[0271] The specific implementation methods of steps S901a-S901e can be referred to the specific implementation methods of steps S801a-S801e above, and will not be repeated here.
[0272] It should be understood that steps S901a-S901c or steps S901d-S901e are optional steps, and either one can be implemented.
[0273] S902a, the SMF sends an N4 session modification request (N4 PDU session modification request) to the UPF. Correspondingly, the UPF receives the N4 session modification request from the SMF.
[0274] The request includes the identifier of the first task and information for releasing the QFI (such as Remove PDR / FAR / QER..IE).
[0275] S902b, UPF identifies N19 channel resources that are associated with the first task and are not associated with at least one task that the UE is still executing.
[0276] Specifically, the N19 channel resource in S902b can be referenced from the first channel resource in S601-S602, and its determination method can also refer to the relevant descriptions in S601-S602 above, which will not be repeated here.
[0277] In S902c, the UPF sends an N4 session modification response (N4 PDU session modification response) to the SMF. Correspondingly, the SMF receives the N4 session modification response from the UPF.
[0278] The response includes information about the traffic endpoint cell corresponding to the channel resource determined in S902b (UpdateTraffic Endpoint IE [indicate N19 Tunnel Removal]). Optionally, it may also include TrafficEndpoint IE indicating N19 Tunnel Removal.
[0279] S903a, the SMF sends a PDU session management context update response (Nsmf_PDUSession_UpdateSMContext Response) to the AMF. Correspondingly, the AMF receives the PDU session management context update response from the SMF.
[0280] S903b, the SMF sends an N1 / N2 message transfer message (Namf_Communication_N1N2MessageTransfer) to the AMF. Correspondingly, the AMF receives the N1 / N2 message transfer message from the SMF.
[0281] S904, AMF sends an N2 message to RAN.
[0282] S905, (R)AN and UE exchange specific signaling.
[0283] S906, (R)AN sends an N2 message to AMF.
[0284] S907a, AMF sends a PDU session update context request (Nsmf_PDUSession_UpdateSMContext Request) to SMF.
[0285] S907b, the SMF sends a PDU session update context response (Nsmf_PDUSession_UpdateSMContext Response) to the AMF.
[0286] S908a, SMF initiates N4 session modification procedure to UPF.
[0287] In S908b, the UPF provides the SMF with an N4 session modification response.
[0288] It should be understood that S903a-S908b can be referred to the relevant explanations of S804a-S809b above, and will not be repeated here.
[0289] Figure 10 Flowchart of the communication method provided in the embodiments of this application Figure 5 This communication method is applicable to the aforementioned communication system and mainly involves the interaction between the UE (such as the first terminal), SMF (such as the session management network element), and UPF (such as the first user plane network element). For example, in response to a request to establish a first task, the SMF determines the first channel resource uniquely associated with the first task, generates a cell to indicate the first channel resource, and instructs the UPF to indicate the cell.
[0290] Specifically, such as Figure 10 As shown, the flow of this communication method is as follows:
[0291] S1001, AF sends an intent to AI-MF via NEF.
[0292] S1002, AI-MF and UDM interactive generation task.
[0293] S1003, AI-MF determines AMF based on the mission area.
[0294] S1004, AI-MF sends a task release signaling to AMF, and AMF receives the task release signaling from AI-MF accordingly.
[0295] S1005, AMF sends a task release signaling to RAN.
[0296] S1006, RAN broadcasts the task to UE.
[0297] S1007a, the UE triggers the session update procedure.
[0298] S1007b, the UE initiates a session modification request.
[0299] S1007c, AMF sends a group session modification request to AI-MF.
[0300] S1008, AI-MF updates the list of members participating in the mission.
[0301] S1009, AI-MF sends a task resource scheduling modification request to SMF.
[0302] S1010a, SMF performs local policy updates.
[0303] S1010b, SMF sends a Session Management Policy Control Update (Npcf_SMPolicyControl_Update) message to PCF.
[0304] S1010c, PCF sends a Session Management Policy Control Update Response (Npcf_SMPolicyControl_Update Reponse) message to SMF.
[0305] It should be understood that S1001-S1010c can all refer to the content of S301-S310c mentioned above, and will not be repeated here.
[0306] S1011, SMF generates network instances at the QoS flow identifier (QFI) granularity and traffic endpoint information cells at the task granularity, and configures packet detection rule / forwarding action rule (PDR / FAR).
[0307] In this process, the traffic endpoint IE is created at the task granularity, and the task in this step is created at the QFI granularity. That is, the traffic endpoint IE can be created at the QFI granularity and carries the channel resource identifier. Then, the SMF configures the PDR / FAR to associate the QFI-granularity traffic endpoint IE. Therefore, when the task ends and the associated QFI is released, the corresponding PDR / FAR IE and traffic endpoint IE can be removed.
[0308] Specifically, please refer to the contents described in S701-S702 above, which will not be repeated here.
[0309] S1012a, SMF sends an N4 session establishment / modification request to UPF.
[0310] The N4 session establishment / modification request includes create traffic endpoint (IE), PDRs, FARs, and QoS enforcement rules (QER).
[0311] S1012b, UPF sends an N4 session establishment / modification response to SMF.
[0312] S1013, SMF sends a task resource scheduling modification response to AI-MF.
[0313] S1014, AI-MF sends a group session modification response to AMF.
[0314] S1015, AMF sends an N2 message to RAN.
[0315] S1016, (R)AN and UE exchange specific signaling.
[0316] S1017, (R)AN sends an N2 message to AMF.
[0317] S1018a, AMF sends a PDU session update context request (Nsmf_PDUSession_UpdateSMContext Request) to SMF.
[0318] S1018b, SMF sends a PDU session update context response (Nsmf_PDUSession_UpdateSMContext Response) to AMF.
[0319] S1019a, SMF initiates N4 session modification procedure to UPF.
[0320] In S1019b, the UPF provides the SMF with an N4 session modification response.
[0321] It should be understood that the implementation methods of S1012b-S1019b can refer to S312b-S319b, and will not be repeated here.
[0322] The above combination Figures 6-10 The communication method provided in the embodiments of this application is described in detail below. Figures 11-12 This document describes in detail the communication apparatus used to perform the communication method provided in the embodiments of this application.
[0323] Figure 11 This is a schematic diagram of the structure of the communication device provided in the embodiments of this application. Figure 1 For example, such as Figure 11 As shown, the communication device 1100 includes a transceiver module 1101 and a processing module 1102. For ease of explanation, Figure 11 Only the main components of the communication device are shown.
[0324] The communication device 1100 can be applied to the above. Figures 6-10 The communication method is used to implement the corresponding functions. For example, the transceiver module 1101 can be used to implement the above. Figures 6-10 The sending and receiving functions in the communication method can be implemented by the processing module 1102. Figures 6-10 The communication methods include functions other than sending and receiving.
[0325] Optionally, the transceiver module 1101 may include a transmitting module ( Figure 11 (not shown in the image) and receiving module ( Figure 11 (Not shown in the diagram). The transmitting module is used to implement the transmitting function of the communication device 1100, and the receiving module is used to implement the receiving function of the communication device 1100.
[0326] Optionally, the communication device 1100 may also include a storage module. Figure 11 (Not shown in the image), the storage module stores programs or instructions. When the processing module 1101 executes the program or instructions, the communication device 1100 can perform the aforementioned... Figures 6-10 The functions in the method shown.
[0327] It is understood that the communication device 1100 may be a network device, or a chip (system) or other component or assembly that can be set in the network device, or a device that includes the network device. This application does not limit this.
[0328] Furthermore, the technical effects of the communication device 1100 can be referenced from the technical effects of the communication method described above, and will not be repeated here.
[0329] Figure 12 Schematic diagram of the communication device provided in the embodiments of this application Figure 2 For example, the communication device can be a terminal, or a chip (system) or other component or assembly that can be set in the terminal. Figure 12As shown, the communication device 1200 may include a processor 1201. Optionally, the communication device 1200 may also include a memory 1202 and / or a transceiver 1203. The processor 1201 is coupled to the memory 1202 and the transceiver 1203, for example, they may be connected via a communication bus.
[0330] The following is combined with Figure 12 A detailed description of each component of the communication device 1200 is provided below:
[0331] The processor 1201 is the control center of the communication device 1200. It can be a single processor or a collective term for multiple processing elements. For example, the processor 1201 can be one or more central processing units (CPUs), application-specific integrated circuits (ASICs), or one or more integrated circuits configured to implement the embodiments of this application, such as one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs).
[0332] Optionally, the processor 1201 can perform various functions of the communication device 1200, such as the functions described above, by running or executing software programs stored in the memory 1202 and calling data stored in the memory 1202. Figures 6-10 The communication method shown.
[0333] In a specific implementation, as one example, the processor 1201 may include one or more CPUs, for example... Figure 12 CPU0 and CPU1 are shown in the diagram.
[0334] In a specific implementation, as one example, the communication device 1200 may also include multiple processors, for example... Figure 12 The processors 1201 and 1204 are shown. Each of these processors can be a single-core processor (CPU) or a multi-core processor (CPU). Here, "processor" can refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).
[0335] The memory 1202 is used to store the software program that executes the solution of this application, and is controlled by the processor 1201 to execute it. The specific implementation method can be referred to the above method embodiment, and will not be repeated here.
[0336] Optionally, the memory 1202 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory 1202 may be integrated with the processor 1201 or exist independently, and may be connected via the interface circuit of the communication device 1200. Figure 12 (Not shown in the image) is coupled to the processor 1201, and this embodiment does not specifically limit this.
[0337] Transceiver 1203 is used for communication with other communication devices. For example, if communication device 1200 is a terminal, transceiver 1203 can be used to communicate with a network device or with another terminal device. As another example, if communication device 1200 is a network device, transceiver 1203 can be used to communicate with a terminal or with another network device.
[0338] Optionally, transceiver 1203 may include a receiver and a transmitter. Figure 12 (Not shown separately). The receiver is used to implement the receiving function, and the transmitter is used to implement the sending function.
[0339] Optionally, the transceiver 1203 can be integrated with the processor 1201, or it can exist independently and be connected via the interface circuit of the communication device 1200. Figure 12 (Not shown in the image) is coupled to the processor 1201, and this embodiment does not specifically limit this.
[0340] Understandable Figure 12 The structure of the communication device 1200 shown does not constitute a limitation on the communication device. Actual communication devices may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0341] Furthermore, the technical effects of the communication device 1200 can be referred to the technical effects of the method described in the above method embodiments, and will not be repeated here.
[0342] It should be understood that the processor in the embodiments of this application can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0343] It should also be understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0344] The above embodiments can be implemented, in whole or in part, by software, hardware (such as circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.
[0345] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0346] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0347] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0348] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0349] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0350] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0351] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0352] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A communication method, characterized in that, Applied to a session management network element, the method includes: When the first task executed by the first terminal ends, and the first terminal is still executing at least one task, a first channel resource is determined. The first channel resource is a channel resource that is associated with the first task but is not associated with any of the at least one task. A first message is sent to the first user plane network element, the first message instructing the first user plane network element to release the first channel resource, and the first user plane network element serves the first terminal.
2. The method according to claim 1, characterized in that, Before determining the first channel resource, the method further includes: In response to the completion of the first task executed by the first terminal, it is determined whether the first terminal is still executing at least one task other than the first task; The determination of the first channel resource includes: When the first task executed by the first terminal ends and it is determined that the first terminal is still executing at least one task, the first channel resource is determined.
3. The method according to claim 2, characterized in that, The method further includes: The system receives a second message from the first terminal or from a group management network element, wherein the second message indicates that the first task performed by the first terminal has ended.
4. The method according to claim 2 or 3, characterized in that, The second message includes an index of a first quality of service stream and / or an identifier of the first task, the first quality of service stream being used to carry the data of the first task.
5. The method according to any one of claims 1-4, characterized in that, The determination of the first channel resource includes: Identify the first channel resource that is associated with the first packet detection rule / forwarding behavior rule and is not associated with at least one second packet detection rule / forwarding behavior rule; Wherein, the first PDR / FAR is used to detect and forward data packets of the first task arriving at the first user plane network element, and the at least one second PDR / FAR is used to detect and forward data packets of the at least one task arriving at the first user plane network element.
6. The method according to any one of claims 1-5, characterized in that, The first message includes information indicating the first channel resource.
7. A communication method, characterized in that, Applied to a session management network element, the method includes: If the first task executed by the first terminal has ended, it is determined that the first terminal is still executing at least one task. In response to the fact that the first terminal is still performing at least one task, a first message is sent to the first user plane network element. The first message is used to trigger the first user plane network element to determine the channel resources that need to be released. The first user plane network element serves the first terminal.
8. The method according to claim 7, characterized in that, The first message includes the identifier of the first task.
9. A communication method, characterized in that, Applied to a first user plane network element, the method includes: The first message is received from the session management network element. The first message is used to trigger the first user plane network element to determine the channel resources that need to be released. The first user plane network element serves the first terminal. In response to the first message, a first channel resource is determined. The first channel resource is a channel resource associated with the first task but not associated with at least one task. The terminal executing the first task includes the first terminal, and the first terminal also executes the at least one task.
10. The method according to claim 9, characterized in that, The step of determining the first channel resource in response to the first message includes: In response to the first message, identify the first channel resource that is associated with the first packet detection rule / forwarding behavior rule and is not associated with at least one second packet detection rule / forwarding behavior rule; The first packet detection rule / forwarding behavior rule is used to detect and forward data packets of the first task arriving at the first user plane network element, and the at least one second packet detection rule / forwarding behavior rule is used to detect and forward data packets of the at least one task arriving at the first user plane network element.
11. The method according to claim 9 or 10, characterized in that, The first message includes the identifier of the first task.
12. The method according to any one of claims 9-11, characterized in that, After determining the first channel resource, the method further includes: A second message is sent to the session management network element, the second message including information indicating the first channel resources.
13. The method according to claim 12, characterized in that, The method further includes: In response to a third message sent by the session management network element, the first channel resource is released, the third message including information indicating the release of the first channel resource.
14. A communication method, characterized in that, Applied to a session management network element, the method includes: In response to the request to establish a first task, a first channel resource uniquely associated with the first task is determined. The first channel resource is a resource used for communication between a first user plane network element and a second user plane network element. The first user plane network element is a network element serving a first terminal, and the second user plane network element is a network element serving a second terminal. The terminal executing the first task includes the first terminal and the second terminal. Generate a cell to indicate the resource of the first channel.
15. The method according to claim 14, characterized in that, The method further includes: A first message is sent to the first user plane network element and the second user plane network element, the first message indicating the creation of the information element used to indicate the second channel resource.
16. A communication method, characterized in that, The method, applied to a first terminal or a chip of a first terminal, includes: If the first task executed by the first terminal has ended, it is determined that the first terminal is still executing at least one task. In response to the fact that the first terminal is still performing at least one task, a first message is sent to the session management network element. The first message is used to request the session management network element or the first user plane network element to determine the channel resources that the first user plane network element needs to release. The first user plane network element serves the first terminal.
17. The method according to claim 16, characterized in that, The first message includes the identifier of the first task.
18. A communication device, characterized in that, The apparatus includes a module for performing the method as described in any one of claims 1-6, 7-8, 9-13, or 16-17.
19. A communication device, characterized in that, The communication device includes a processor and a memory; the memory is used to store computer instructions, which, when executed by the processor, cause the communication device to perform the method as described in any one of claims 1-6, 7-8, 9-13, or 16-17.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program or instructions that, when executed, cause the method as described in any one of claims 1-6, 7-8, 9-13, or 16-17 to be performed.
21. A computer program product, characterized in that, Includes a computer program or instructions that, when executed, cause the method as described in any one of claims 1-6, 7-8, 9-13, or 16-17 to be performed.
