Terminal policy updating method, terminal and communication device

By receiving DNAI indication information to update the terminal policy, the problem of inappropriate terminal routing selection policies in edge computing scenarios is solved, and dynamic policy updates and service quality improvement are achieved for terminals in different locations.

CN116567529BActive Publication Date: 2025-11-21VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210108177.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-28
Publication Date
2025-11-21
Estimated Expiration
2042-01-28

AI Technical Summary

Technical Problem

In existing technologies, the routing strategy of the terminal may not meet the current needs in edge computing scenarios, resulting in the terminal being unable to access the local server nearby, which affects the business experience.

Method used

By receiving the Data Network Access Identifier (DNAI) indication information, the terminal policy is obtained and updated, enabling the network-side equipment to dynamically allocate policies that adapt to changes in the terminal's location, ensuring that the terminal can match the appropriate PDU session in different locations or regions.

Benefits of technology

It enables dynamic updates of policies for terminals in different locations or regions, improving service experience and quality, and ensuring that terminals can access local servers as close as possible.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116567529B_ABST
    Figure CN116567529B_ABST
Patent Text Reader

Abstract

The application discloses a terminal policy updating method, a terminal and a communication device, and belongs to the technical field of communication. The terminal policy updating method of the application comprises the following steps: a first communication device receives first indication information sent by a second communication device, wherein the first indication information is used for indicating a data network access identifier (DNAI) corresponding to a current position of a terminal; the first communication device acquires a terminal policy corresponding to the DNAI according to the first indication information; and the first communication device sends the terminal policy corresponding to the DNAI to the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, specifically relating to a terminal policy update method, a terminal, and a communication device. Background Technology

[0002] The 3rd Generation Partnership Project (3GPP) protocol defines the concept of User Equipment (UE) Route Selection Policy (URSP). According to URSP rules, the UE can match the data flow of the application (APP) to a specific Protocol Data Unit (PDU) session.

[0003] In existing technologies, core network equipment sends URSP rules to the UE, and the UE uses the received URSP rules to process the APP's data flow. However, in some scenarios, such as edge computing, the previously allocated URSP rules may not meet the current requirements. Therefore, those skilled in the art urgently need to implement a terminal routing selection policy update scheme. Summary of the Invention

[0004] This application provides a terminal policy update method, a terminal, and a communication device, which can solve the problem of how to update the terminal routing selection policy.

[0005] Firstly, a terminal policy update method is provided, applied to a first communication device, the method comprising:

[0006] The first communication device receives a first indication information sent by the second communication device, wherein the first indication information is used to indicate the data network access identifier (DNAI) corresponding to the current location of the terminal.

[0007] The first communication device obtains the terminal policy corresponding to the DNAI based on the first indication information;

[0008] The first communication device sends the terminal policy corresponding to the DNAI to the terminal.

[0009] Secondly, a terminal policy update method is provided, applied to a terminal, the method comprising:

[0010] When the location of the terminal changes, the terminal receives the terminal policy corresponding to the data network access identifier (DNAI) sent by the first communication device, wherein the DNAI is the DNAI corresponding to the current location of the terminal;

[0011] The terminal processes the terminal's data stream based on the terminal strategy corresponding to the DNAI.

[0012] Thirdly, a terminal policy update method is provided, applied to a second communication device, the method comprising:

[0013] When the location of the terminal changes, the second communication device determines the data network access identifier (DNAI) corresponding to the terminal based on the current location of the terminal.

[0014] The second communication device sends a first indication message to the first communication device, the first indication message being used to indicate the DNAI corresponding to the terminal.

[0015] Fourthly, a terminal policy update device is provided, comprising:

[0016] The receiving module is configured to receive first indication information sent by the second communication device, wherein the first indication information is used to indicate the data network access identifier (DNAI) corresponding to the current location of the terminal.

[0017] The acquisition module is used to acquire the terminal policy corresponding to the DNAI based on the first indication information;

[0018] The sending module is used to send the terminal policy corresponding to the DNAI to the terminal.

[0019] Fifthly, a terminal policy update device is provided, comprising:

[0020] The receiving module is used to receive a terminal policy corresponding to a data network access identifier (DNAI) sent by a first communication device when the location of the terminal changes. The DNAI is the DNAI corresponding to the current location of the terminal.

[0021] The processing module is used to process the data stream of the terminal based on the terminal strategy corresponding to the DNAI.

[0022] Sixthly, a terminal policy update device is provided, comprising:

[0023] The processing module is used to determine the data network access identifier (DNAI) corresponding to the terminal based on the current location of the terminal when the terminal's location changes.

[0024] The sending module is used to send first indication information to the first communication device, wherein the first indication information is used to indicate the DNAI corresponding to the terminal.

[0025] In a seventh aspect, a first communication device is provided, the first communication device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the first aspect.

[0026] Eighthly, a first communication device is provided, including a processor and a communication interface, wherein the communication interface is configured to receive first indication information sent by a second communication device, the first indication information being used to indicate a data network access identifier (DNAI) corresponding to the current location of a terminal; send a terminal policy corresponding to the DNAI to the terminal; and the processor is configured to obtain the terminal policy corresponding to the DNAI based on the first indication information.

[0027] In a ninth aspect, a terminal is provided, the terminal including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the second aspect.

[0028] In a tenth aspect, a terminal is provided, including a processor and a communication interface, wherein the communication interface is used to receive a terminal policy corresponding to a Data Network Access Identifier (DNAI) sent by a first communication device when the location of the terminal changes, wherein the DNAI is the DNAI corresponding to the current location of the terminal; the processor is used to process the data stream of the terminal based on the terminal policy corresponding to the DNAI.

[0029] Eleventhly, a second communication device is provided, the second communication device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the third aspect.

[0030] In a twelfth aspect, a second communication device is provided, including a processor and a communication interface, wherein the processor is configured to determine a data network access identifier (DNAI) corresponding to the terminal based on the current location of the terminal when the location of the terminal changes; and the communication interface is configured to send first indication information to the first communication device, the first indication information being used to indicate the DNAI corresponding to the terminal.

[0031] In a thirteenth aspect, a communication system is provided, comprising: a terminal, a first communication device, and a second communication device, wherein the terminal is configured to perform the steps of the terminal policy update method as described in the second aspect, the first communication device is configured to perform the steps of the terminal policy update method as described in the first aspect, and the first and second communication devices are configured to perform the steps of the terminal policy update method as described in the third aspect.

[0032] In a fourteenth aspect, a readable storage medium is provided, on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect, the method described in the second aspect, or the method described in the third aspect.

[0033] In a fifteenth aspect, a chip is provided, the chip including a processor and a communication interface coupled to the processor, the processor being configured to run a program or instructions to implement the method as described in the first aspect, the method as described in the second aspect, or the method as described in the third aspect.

[0034] In a sixteenth aspect, a computer program / program product is provided, the computer program / program product being stored in a storage medium, the computer program / program product being executed by at least one processor to implement the steps of the terminal policy update method as described in any one of the first to third aspects.

[0035] In this embodiment, the first communication device receives first indication information sent by the second communication device. The first indication information is used to indicate the data network access identifier (DNAI) corresponding to the current location of the terminal. The first communication device obtains the terminal policy corresponding to the DNAI based on the first indication information. The first communication device sends the terminal policy corresponding to the DNAI to the terminal. The terminal can process the terminal's APP data stream based on the terminal policy corresponding to the DNAI. For different locations or regions of the terminal, the network-side device can dynamically allocate corresponding terminal policies to the terminal, which provides greater flexibility. Attached Figure Description

[0036] Figure 1 This is a structural diagram of a wireless communication system to which the embodiments of this application can be applied;

[0037] Figure 2 This is one of the flowcharts illustrating the terminal policy update method provided in the embodiments of this application;

[0038] Figure 3 This is one of the interactive flow diagrams of the terminal policy update method provided in the embodiments of this application;

[0039] Figure 4 This is the second interactive flowchart of the terminal policy update method provided in the embodiments of this application;

[0040] Figure 5 This is the third interactive flowchart of the terminal policy update method provided in the embodiments of this application;

[0041] Figure 6 This is the fourth interactive flowchart of the terminal policy update method provided in the embodiments of this application;

[0042] Figure 7 This is the fifth interactive flowchart of the terminal policy update method provided in the embodiments of this application;

[0043] Figure 8 This is the sixth schematic diagram of the interaction flow of the terminal policy update method provided in the embodiments of this application;

[0044] Figure 9 This is the seventh interactive flowchart of the terminal policy update method provided in the embodiments of this application;

[0045] Figure 10 This is the eighth schematic diagram of the interaction flow of the terminal policy update method provided in the embodiments of this application;

[0046] Figure 11 This is a second flowchart illustrating the terminal policy update method provided in this application embodiment;

[0047] Figure 12 This is the third flowchart illustrating the terminal policy update method provided in this application embodiment;

[0048] Figure 13 This is one of the structural schematic diagrams of the terminal policy update device provided in the embodiments of this application.

[0049] Figure 14 This is a second schematic diagram of the terminal policy update device provided in the embodiments of this application;

[0050] Figure 15 This is the third schematic diagram of the terminal policy update device provided in the embodiments of this application;

[0051] Figure 16 This is a schematic diagram of the structure of the communication device provided in the embodiments of this application;

[0052] Figure 17 This is a schematic diagram of the hardware structure of the terminal provided in the embodiments of this application;

[0053] Figure 18 This is a schematic diagram of the network-side device according to an embodiment of this application. Detailed Implementation

[0054] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0055] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0056] It is worth noting that the technologies described in this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA), and other systems. The terms "system" and "network" in this application are often used interchangeably, and the described technologies can be used with the systems and radio technologies mentioned above, as well as with other systems and radio technologies. The following description describes New Radio (NR) systems for illustrative purposes, and NR terminology is used in most of the following description; however, these technologies can also be applied to applications beyond NR systems, such as 6th generation (6G) radio systems. th Generation 6G communication system.

[0057] Figure 1This diagram illustrates a block diagram of a wireless communication system applicable to embodiments of this application. The wireless communication system includes a terminal 11 and a network-side device 12. Terminal 11 can be a mobile phone, tablet computer, laptop computer (also known as a notebook computer), personal digital assistant (PDA), handheld computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, vehicle-mounted device (VUE), pedestrian terminal (PUE), smart home (home devices with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), game console, personal computer (PC), ATM, or self-service machine, etc. Wearable devices include: smartwatches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart chains, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. It should be noted that the specific type of terminal 11 is not limited in this embodiment. Network-side equipment 12 may include access network equipment or core network equipment. Access network equipment 12 may also be referred to as radio access network equipment, radio access network (RAN), radio access network function, or radio access network unit. Access network equipment 12 may include base stations, WLAN access points, or WiFi nodes, etc. Base stations may be referred to as Node B, evolved Node B (eNB), access point, base transceiver station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), home B node, home evolved B node, Transmitting Receiving Point (TRP), or any other suitable term in the field, as long as the same technical effect is achieved. The base station is not limited to specific technical terms. It should be noted that this application embodiment only uses a base station in an NR system as an example for description and does not limit the specific type of base station.

[0058] First, let's introduce the principles of URSP rules:

[0059] The terminal can match the app's traffic to a specific PDU session based on URSP rules. For example, when an application on the terminal wants to send traffic to the server, the app can send app traffic characteristics to the terminal. These traffic characteristics are varied, such as the destination IP address the traffic wants to be sent to, the fully qualified domain name (FQDN), etc. Then, the terminal uses the traffic descriptor in the URSP rules to match them one by one based on the app's traffic characteristics. The traffic descriptions / characteristics specified in URSP rules include the following:

[0060] Table 1

[0061]

[0062] For example, in the second item of Table 1, the app has traffic to send to a destination IP of 10.1.1.1 and a port of 80. Then, the terminal uses the traffic descriptors in its URSP rules to select and match traffic based on the application's traffic characteristics. If a URSP rule in the terminal happens to contain this traffic descriptor—for example, if the Trafficdescriptor contains a descriptor with a destination IP triplet of 10.1.1.1 and port of 80—then the app's traffic can be matched by this traffic descriptor, meaning this URSP rule can be used to match the traffic.

[0063] Then, after selecting the corresponding Traffic descriptor for the application's traffic, the RSD (Route Selection Descriptor) under the traffic descriptor is used to select a PDU session to send the application's traffic. The so-called RSD contains a series of PDU session parameters or PDU session attributes. These parameters or attributes correspond to a PDU session. Each application's traffic will be carried in a specific PDU session and sent to the server.

[0064] Generally, under a given traffic description, there are multiple Route Selection Descriptors (RSDs), each representing a set of attributes for a PDU session. For example, when APP traffic matches the traffic descriptor group with destination IP = 10.1.1.1 and port number = 80, this traffic descriptor group has the following two RSDs:

[0065] 1. RSD precedence = 1

[0066] Among them, S-NSSAI-a;

[0067] Non-3GPP Access;

[0068] 2. RSD precedence = 2

[0069] Among them, S-NSSAI-a;

[0070] 3GPP Access;

[0071] DNN = Internet;

[0072] SSC mode=3.

[0073] For example, if the characteristics of the PDU session corresponding to RSD1 are: S-NSSAI = S-NSSAI-a, using non-3GPP access, then the APP's traffic will be carried on the PDU session corresponding to RSD=1 or RSD=2 and sent to the server.

[0074] Edge computing is now widely used, and the strategies employed in these scenarios may differ from those of the overall network system. For example, in a game on the public internet, players access public servers. However, a community or user's local location might also have a local business server, known as an Edge Application Server (EAS). This edge server is closer to the terminal and provides better services and user experience. For players in this community, their terminals, located within that community's area, can access the EAS located on the local DN data network. Therefore, we can consider generating URSP rules corresponding to this area and sending them to the terminal when it moves within that DN. The user can then match game traffic to a local PDU session and connect to the EAS in that area. Essentially, the player's terminal in this area connects to the local EAS server using a local PDU session. Thus, as the example above shows, the design of URSP rules for a specific app's traffic can differ depending on the terminal's location. Therefore, in the method of this application embodiment, different DN configuration strategies can be considered, that is, each DN has a corresponding strategy, i.e., a per-DN strategy is configured. For terminals in different locations or regions, the strategy assigned to the terminal by the network-side device can change dynamically.

[0075] In addition, the URSP rules that network-side devices currently send to terminals, such as for a certain FQDN (for example: FQDN = APP2), give the terminal a great deal of autonomy to choose the RSD under the traffic descriptor that matches that FQDN.

[0076] Table 2

[0077]

[0078] For example, Table 2 shows the URSP rules sent by the network-side device to the terminal. Under the Traffic descriptor, the Application descriptor = APP2 is satisfied. If the application on the terminal sends traffic that satisfies applicationdescriptor = APP2, then the terminal can match the traffic using the two RSDs under this traffic descriptor. That is, it uses the rule (traffic descriptor) under Rule precedence = 2, and then selects a matching PDU session for this application traffic from either RSD = 1 or RSD = 2. However, this is entirely determined by the terminal itself; that is, whether to ultimately choose the PDU session described by RSD1 or RSD2 to carry the APP traffic is entirely under the terminal's control. If the terminal has other URSP rules (Traffic descriptors) that satisfy application descriptor = APP2, or if there are more types of RSDs, then the terminal has even greater autonomy.

[0079] Therefore, in this embodiment, for the case where application descriptor = APP2, the network can instruct or force the terminal to select the PDU session corresponding to RSD1 under rule precedence 2 to carry this application data stream. The advantages of this are twofold: firstly, it reduces the design of internal terminal logic; secondly, network-side devices and operators can better manage each PDU session and know which applications' traffic each PDU session carries.

[0080] The terminal policy update method provided in this application will be described in detail below with reference to the accompanying drawings and through some embodiments and application scenarios.

[0081] Figure 2 This is one of the flowcharts illustrating the terminal policy update method provided in this application embodiment. For example... Figure 2 , Figure 3 As shown, the method provided in this embodiment includes:

[0082] Step 101: The first communication device receives the first indication information sent by the second communication device. The first indication information is used to indicate the data network access identifier (DNAI) corresponding to the current location of the terminal.

[0083] Specifically, the first communication device and the second communication device can be network-side devices (such as core network devices). The first communication device can be, for example, an Access and Mobility Management Function (AMF) network element or a Policy Control Function (PCF) network element, and the second communication device can be, for example, a Session Management Function (SMF) network element.

[0084] When a terminal's location changes, the data network (DN) accessed by that location may also change. Therefore, the address of the server accessed may change due to the change in the data network. If the terminal's policy is not updated and the old policy is still used, the terminal may not be able to enjoy the advantages of edge computing; for example, it may not be able to access a nearby local or edge server. After a DN change, the terminal policy can be updated to the new policy corresponding to the new DN that the terminal can access. Different terminal policies may handle the terminal's application data streams differently. The new terminal policy will allow applications within the terminal to match a local session and access a server within the nearest DN. The DN can be represented by a Data Network Access Identifier (DNAI).

[0085] For example, when DNAI=1, the terminal strategy is shown in Table 3 below:

[0086] Table 3

[0087]

[0088] For example, when DNAI=2, the terminal strategy is shown in Table 4 below:

[0089] Table 4

[0090]

[0091] The second communication device (such as a core network device) can select a suitable PDU Session Anchor (PSA) and User Plane Function (UPF) for the terminal based on its current location, and determine the corresponding DN and DNAI. Since the terminal is currently accessing a DN via a PSA, we generally consider this UE to be within the service range of a defined DN. Then, it sends a first indication message to the first communication device, indicating the DNAI corresponding to the terminal's current location. Based on this first indication message, the first communication device can obtain the corresponding terminal policy.

[0092] Step 102: The first communication device obtains the terminal policy corresponding to DNAI according to the first instruction information;

[0093] Specifically, the first communication device obtains the terminal policy corresponding to the DNAI indicated by the first indication information. Optionally, there may be different terminal policies based on each DNAI or each local DN.

[0094] For example, when the first communication device is AMF, it can trigger the acquisition of the terminal policy corresponding to the DNAI from PCF. When the first communication device is PCF, it can directly determine the terminal policy corresponding to the DNAI.

[0095] Optionally, different DNAI-related terminal strategies can be pre-configured or pre-defined.

[0096] Optionally, the terminal policy includes: Terminal Routing Policy (URSP).

[0097] Step 103: The first communication device sends the terminal policy corresponding to DNAI to the terminal.

[0098] Specifically, after obtaining the terminal policy corresponding to the DNAI, the first communication device sends it to the terminal, which can then process the APP data stream based on the terminal policy corresponding to the DNAI. For example, the terminal selects a corresponding PDU session for carrying the APP data stream according to the terminal policy corresponding to the DNAI. The parameters or attributes of this PDU session are specified by the corresponding terminal policy, as shown in Tables 3 and 4.

[0099] In this embodiment, the method involves a first communication device receiving first indication information sent by a second communication device. The first indication information indicates the data network access identifier (DNAI) corresponding to the current location of the terminal. The first communication device obtains the terminal policy corresponding to the DNAI based on the first indication information. The first communication device sends the terminal policy corresponding to the DNAI to the terminal. The terminal can process the terminal's APP data stream based on the terminal policy corresponding to the DNAI. For different locations or regions of the terminal, the network-side device can dynamically allocate corresponding terminal policies to the terminal, which provides greater flexibility and improves the service experience and quality of the terminal.

[0100] Optionally, such as Figure 4 , Figure 5 As shown, the first communication device subscribes to the DNAI change event corresponding to the terminal from the second communication device; the DNAI change event indicates that the DNAI corresponding to the terminal has changed;

[0101] The first indication information is received in the event of a DNAI change event.

[0102] Specifically, in a scenario where the first communication device is an AMF, the AMF subscribes to events from the SMF, specifically events indicating whether the DNAI has changed. The AMF triggers `Nsmf_EventExposure_Subscribe` to the SMF to subscribe to changes in the DNAI.

[0103] In a scenario where the first communication device is the PCF, the PCF subscribes to events from the SMF, specifically events indicating whether the DNAI has changed. The PCF triggers `Nsmf_EventExposure_Subscribe` to the SMF to subscribe to changes in the DNAI.

[0104] Optionally, the Unified Data Repository (UDR) can store endpoint policies in a per-DNAI manner, meaning each DNAI has a corresponding endpoint policy. For example, URSP rules can be stored using different DNAIs.

[0105] Optionally, the first communication device sends the terminal policy corresponding to the DNAI to the terminal via a downlink Non-Access-Stratum (NAS) message. Optionally, the downlink NAS message includes:

[0106] Registration accepts the Registration Accept message.

[0107] In the above implementation, by subscribing to DNAI change events, the terminal strategy can be updated in a timely manner, resulting in good real-time performance.

[0108] Because a new mechanism for triggering terminal policy issuance has been established, a new condition for triggering policy control requests has also been added, as shown in Table 5 below:

[0109] Table 5

[0110]

[0111] The change in DNAI necessitates an update to the terminal policy; therefore, the change in DNAI becomes a new trigger for the terminal policy update.

[0112] In one embodiment, such as Figure 4 As shown, when the first communication device is an AMF, step 102 can be implemented in the following way:

[0113] The first communication device sends a first request message to the third communication device according to the first instruction information. The first request message is used to request the terminal policy corresponding to the DNAI.

[0114] The first communication device receives the terminal policy corresponding to DNAI sent by the third communication device.

[0115] Specifically, such as Figure 4 As shown, the second communication device can be an SMF, and the AMF subscribes to the SMF's events, namely, events indicating whether DNAI has changed.

[0116] SMF uses the signaling Nsmf_EventExposure_Notify to send the first indication message, notifying AMF of the new DNAI after the terminal location has changed.

[0117] Based on the first instruction information, the AMF sends a first request message to a third communication device (e.g., PCF) to request the acquisition of the terminal policy corresponding to the DNAI. The first request message can be sent via signaling Npcf_UEPolicyControl_UpdateRequest or Npcf_UEPolicyControl_Create Request. The first request message includes the DNAI.

[0118] PCF determines the terminal policy corresponding to the DNAI and sends it to AMF, which then sends it to the terminal.

[0119] In the above embodiments, when the first communication device is AMF, the terminal policy corresponding to DNAI can be obtained through a third communication device, such as PCF, thereby realizing the update of the terminal policy.

[0120] In one embodiment, such as Figure 5 As shown, when the first communication device is a PCF, step 102 can be implemented in the following way:

[0121] The first communication device determines the terminal strategy corresponding to the DNAI based on the first instruction information;

[0122] Step 103 can be achieved in the following way:

[0123] The first communication device sends the terminal policy corresponding to the DNAI to the terminal through the fourth communication device.

[0124] Specifically, such as Figure 5 As shown, the second communication device can be an SMF (Software-Defined Component), and the PCF (Physical Component) subscribes to events of the SMF, specifically events indicating whether the DNAI (Depth Integer Identity) has changed. The PCF triggers `Nsmf_EventExposure_Subscribe` to the SMF to subscribe to changes in the DNAI.

[0125] SMF uses the signaling Nsmf_EventExposure_Notify to send the first indication information to PCF to notify the terminal of the DNAI after the change in terminal location.

[0126] Based on the first indication information, the PCF determines the terminal policy corresponding to the DNAI. For example, it obtains the stored terminal policy from the UDR, selects the terminal policy corresponding to the DNAI from the obtained terminal policies, and sends it to the terminal through a fourth communication device (e.g., AMF), for example, through a downlink NAS message.

[0127] Optionally, downlink NAS messages include:

[0128] Registration accepts the Registration Accept message.

[0129] In the above embodiments, when the first communication device is a PCF, the terminal policy corresponding to DNAI is determined directly through the PCF, thereby realizing the update of the terminal policy.

[0130] In one embodiment, when the terminal is in a roaming scenario, the first communication device is the first communication device of the roaming location where the terminal is located, and the second communication device is the second communication device of the roaming location.

[0131] The method includes:

[0132] The first communication device in the roaming area receives first indication information sent by the second communication device in the roaming area. The first indication information is used to indicate the data network access identifier (DNAI) corresponding to the current location of the terminal.

[0133] The first communication device in the roaming area obtains the terminal policy corresponding to the DNAI based on the first instruction information;

[0134] The first communication device in the roaming area sends the terminal policy corresponding to the DNAI to the terminal.

[0135] Specifically, the first communication device in the roaming location is, for example, an AMF or a V-PCF, and the second communication device in the roaming location is, for example, a V-SMF.

[0136] In scenarios where the primary communication device in the roaming location is AMF (and) Figure 4 The scenario shown is similar, and can be directly... Figure 4 In this system, the SMF and PCF are replaced with V-SMF and V-PCF respectively. The AMF in the roaming location subscribes to the DNAI change events of the SMF (i.e., V-SMF) in the roaming location. After receiving the first indication information sent by the V-SMF, the AMF in the roaming location obtains the terminal policy corresponding to the DNAI based on the first indication information. Specifically, the AMF in the roaming location sends a first request message to a third communication device (e.g., V-PCF) based on the first indication information to request the terminal policy corresponding to the DNAI. That is, the AMF in the roaming location notifies the V-PCF, and the V-PCF determines the terminal policy corresponding to the DNAI. For example, the V-PCF formulates a new URSP and sends it to the terminal through the AMF in the roaming location.

[0137] In scenarios where the primary communication device in the roaming location is V-PCF (and) Figure 4 The scenario shown is similar. In Figure 5, SMF and PCF can be directly replaced with V-SMF and V-PCF. V-PCF subscribes to the DNAI change event of V-SMF. After receiving the first indication information sent by V-SMF, V-PCF obtains the terminal policy corresponding to the DNAI based on the first indication information. Specifically, it can determine the terminal policy corresponding to the DNAI. For example, V-PCF formulates a new URSP and sends it to the terminal through the AMF of the roaming location.

[0138] In the above embodiments, in the roaming scenario, the first communication device can be the first communication device of the roaming location where the terminal is located, and the second communication device can be the second communication device of the roaming location. Through the interaction between the first communication device and the second communication device, the DNAI corresponding to the current location of the terminal is obtained, and the terminal policy is updated. That is, for the terminal in different locations or regions, the network side device can dynamically allocate the corresponding terminal policy to the terminal, so that the terminal has a better service experience.

[0139] In another embodiment, when the terminal is in a roaming scenario and the first communication device is the PCF (Public Security Function) of the roaming location, the first communication device sends a second request message to the PCF of the terminal's home location according to the first indication information. The second request message is used to request the terminal policy corresponding to the DNAI; or,

[0140] When the terminal is in a roaming scenario and the first communication device is the AMF of the roaming location, the first communication device sends a second request message to the PCF of the roaming location according to the first instruction information. The second request message is used to request the terminal policy corresponding to the DNAI. The terminal policy corresponding to the DNAI is obtained by the PCF of the roaming location through the PCF of the terminal's home location.

[0141] Specifically, such as Figure 6 As shown, when the first communication device is the PCF of the roaming location of the terminal, the V-PCF subscribes to the DNAI change events of the V-SMF. The DNAI change event indicates that the DNAI corresponding to the terminal has changed.

[0142] The V-SMF notifies the V-PCF that its current location has moved to the area corresponding to the new DNAI. The V-SMF then notifies the V-PCF of the new DNAI (the one for the roaming location). The V-PCF then sends a second request message to the PCF of the terminal's home location, i.e., the H-PCF, to notify the H-PCF of the new DNAI. The H-PCF then updates the terminal's terminal policy to the one corresponding to the DNAI. Optionally, the second request message can be sent via the signaling Npcf_UEPolicyControl_Update request, which includes the DNAI.

[0143] When the H-PCF receives the second request message, it can send a response message to the V-PCF, for example via the signaling Npcf_UEPolicyControl_Update Response, indicating that the H-PCF has received the policy update request. The H-PCF then determines the terminal policy corresponding to the DNAI and sends it to the V-PCF, for example via the signaling Npcf_UEPolicyControl_UpdateNotify, which contains the new terminal policy under the DNAI. Optionally, the V-PCF can send a response message to the H-PCF, for example via the signaling Npcf_UEPolicyControl_UpdateNotify Response, indicating that the new terminal policy under the DNAI has been received.

[0144] V-PCF sends the corresponding terminal policy to the terminal through the AMF in the roaming location.

[0145] When the first communication device is the AMF of the roaming location where the terminal is located, the AMF of the roaming location subscribes to the DNAI change events of the V-SMF.

[0146] The V-SMF notifies the terminal that its current location has moved to the area corresponding to the new DNAI. The V-SMF then notifies the AMF in the roaming area of ​​the new DNAI. The AMF in the roaming area then sends a second request message to the V-PCF. The V-PCF sends the second request message to the PCF in the terminal's home area, i.e., the H-PCF, to notify the H-PCF of the new DNAI. The H-PCF then updates the terminal's terminal policy to the terminal policy corresponding to the DNAI. Optionally, the second request message can be sent via the signaling Npcf_UEPolicyControl_Update request.

[0147] When H-PCF receives the second request message, it can send a response message to V-PCF, for example, via the signaling Npcf_UEPolicyControl_Update Response. H-PCF determines the terminal policy corresponding to the DNAI and sends it to V-PCF, for example, via the signaling Npcf_UEPolicyControl_UpdateNotify. This message contains the terminal policy under the new DNAI. Optionally, V-PCF can send a response message to H-PCF, for example, via the signaling Npcf_UEPolicyControl_UpdateNotify Response.

[0148] V-PCF sends the corresponding terminal policy to the terminal through the AMF in the roaming location.

[0149] In the above embodiments, in the roaming scenario, the first communication device can be the AMF or PCF of the roaming location where the terminal is located, and the second communication device is the second communication device of the roaming location. Through the interaction between the first communication device and the second communication device, the DNAI corresponding to the current location of the terminal is obtained, and the terminal policy corresponding to the DNAI is obtained through the PCF of the home location, so as to update the terminal policy. That is, for the terminal in different locations or regions, the network side device can dynamically allocate the corresponding terminal policy to the terminal, so that the terminal has a better service experience.

[0150] In one embodiment, such as Figure 7 As shown, the method also includes:

[0151] Step 104: The first communication device receives capability indication information sent by the terminal; the capability indication information is used to indicate that the terminal is able to process the data stream of the terminal application using the terminal policy indicated by the network-side device;

[0152] Step 105: The first communication device obtains the terminal policy of the terminal according to the capability indication information, and / or the terminal policy executed for at least one application (APP) data stream of the terminal.

[0153] Optionally, it may also include:

[0154] Step 106: The first communication device sends a second indication message to the terminal. The second indication message is used to indicate the terminal policy of the terminal and / or the terminal policy executed for each of the APP data streams of the terminal.

[0155] Specifically, such as Figure 7 As shown, the terminal sends capability indication information to the first communication device. Optionally, the capability indication information is carried in the UE policy container in the uplink NAS message sent by the terminal. Optionally, the terminal may carry the capability indication information when sending a registration request via the uplink NAS message. The uplink NAS message includes at least one of the following: a Registration Request message.

[0156] Capability indication information can be, for example, the capability indication information of the terminal itself, or the capability indication information of one or more apps on the terminal. This allows the terminal to forcibly use a specific terminal policy (i.e., forcibly use a traffic descriptor under a specific terminal policy, or an RSD under a specific traffic descriptor) for the app data flow on the terminal, based on instructions from the network-side device. This ensures that for a specific app data flow or service flow on the terminal, the network-side device specifies a specific terminal policy or a specific PDU session to carry it.

[0157] The first communication device obtains the terminal policy of the terminal according to the capability indication information, and / or the terminal policy executed for at least one application (APP) data stream of the terminal. Optionally, after obtaining the corresponding terminal policy, it can send a second indication information to the terminal, carrying the obtained terminal policy and / or the terminal policy executed for at least one application (APP) data stream of the terminal. Optionally, the second indication information is carried by the terminal policy container in the downlink NAS message.

[0158] Downlink NAS messages include: Registration Accept message.

[0159] At the same time, the first communication device instructs the terminal to use the corresponding terminal strategy to process the data stream of each APP for at least one APP through the second instruction information.

[0160] In one embodiment, such as Figure 8 As shown, when the first communication device is an AMF, step 105 can be implemented in the following way:

[0161] Step 105a: The first communication device sends a third request message to the third communication device according to the capability indication information. The third request message is used to request the terminal policy of the terminal and / or the terminal policy executed for each APP data stream of the terminal.

[0162] Step 105b: The first communication device receives the terminal policy for the terminal sent by the third communication device, and / or the terminal policy executed for each APP data stream of the terminal.

[0163] Specifically, such as Figure 9 As shown, the third communication device can be a PCF. The terminal sends capability indication information to the AMF to indicate that it can process the data stream of the terminal application according to the terminal policy indicated by the network-side device.

[0164] The AMF requests the PCF to generate a terminal policy for the terminal, for example, by sending a third request message via the signaling Npcf_UEPolicyControlCreate Request, which includes DNAI. The PCF replies with a response message, for example, via the Npcf_UEPolicyControlCreate Response signaling. The third request message sent by the AMF may carry capability indication information.

[0165] Based on the third request message, the PCF determines the terminal policy. Optionally, the PCF obtains the terminal policy from the UDR (e.g., by sending Nudr_DM_Query signaling to obtain terminal policy data and control information; the UDR can respond via Nudr_DM_Response signaling, which includes the DNAI, i.e., obtaining the terminal policy under a certain DNAI). Based on the terminal policy obtained from the UDR, the PCF determines the current terminal policy and / or the terminal policy to be executed for at least one APP data stream of the terminal. The PCF then sends the obtained terminal policy to the AMF, either via the signaling Namf_Communication_N1N2Message Transfer, and the AMF sends it to the terminal. Simultaneously, the PCF instructs that the corresponding terminal policy be used to process the data stream of each of the at least one APPs; that is, the AMF instructs the terminal via the second instruction information to use the corresponding terminal policy to process the data stream of each of the at least one APPs.

[0166] Optionally, after the APP data stream arrives, the characteristics of the APP data stream can be sent to the terminal or the terminal operating system (OS). The terminal or the terminal OS can ensure that the APP data stream is matched to the PDU session specified by the terminal policy corresponding to the APP data stream, according to the instructions of the network-side device (the PDU session can be one that the terminal has already established, or one that the terminal has established according to the terminal policy specified by the network-side device).

[0167] After receiving the data stream from the APP, the terminal or terminal OS selects the corresponding PDU session to carry the data stream of the APP according to a certain terminal policy (RSD under the specified traffic descriptor) specified by the network-side device.

[0168] The session parameters or session attributes of the selected PDU session are specified by the terminal policy indicated by the network-side device, that is, they are completely consistent with the PDU session parameters or attributes described under the RSD of the terminal policy indicated by the network-side device.

[0169] At this time, the terminal can only use the terminal policy specified by the network-side device, and cannot select other terminal policies or violate the instructions and requirements of the network-side device.

[0170] For example, when the data stream from an app arrives at the terminal, and its application descriptor is APP1, the PCF has already informed the terminal that when application descriptor = APP1, it must use the traffic descriptor under rule precedence = 2: the description of application descriptor = APP1, and it must use the RSD with RSD precedence = 1 under this traffic descriptor. That is, the part shown in yellow in the diagram below, the terminal cannot arbitrarily choose the RSD with RSD precedence = 2, as shown in the first row of the second column of Table 3.

[0171] If a PDU session exists that meets the parameters of the PDU session described in the RSD, then the data stream of the APP can be carried through that PDU session; if no PDU session meets the requirements, the terminal can use the PDU session parameters in RSD precedence=1 to create a new PDU session and use the new PDU session to carry the data stream of the APP.

[0172] In another embodiment, such as Figure 9 , Figure 10 As shown, when the first communication device is a PCF, step 105 can be implemented in the following way:

[0173] The first communication device determines the terminal policy of the terminal and / or the terminal policy to be executed for each APP data stream of the terminal based on the capability indication information.

[0174] Alternatively, step 106 can be implemented in the following way:

[0175] The first communication device sends the second instruction information to the terminal through the fourth communication device.

[0176] Specifically, the fourth communication device can be an AMF, and the terminal sends capability indication information to the PCF to indicate that it can process the data stream of the terminal application according to the terminal policy indicated by the network-side device.

[0177] The PCF determines the terminal policy based on the capability indication information. Optionally, the PCF obtains the terminal policy from the UDR, determines the current terminal policy based on the terminal policy obtained from the UDR, and / or the terminal policy to be executed for at least one APP data stream of the terminal. The PCF then sends the obtained terminal policy to the AMF. This can be done through the PCF signaling `Namf_Communication_N1N2Message Transfer`, and then through the AMF to the terminal. Simultaneously, the PCF instructs that the corresponding terminal policy be used to process the data stream of each of the at least one APP. That is, the AMF instructs the terminal, through a second indication information, to use the corresponding terminal policy to process the data stream of each of the at least one APP.

[0178] The above implementation can ensure that the terminal policy indicated by the terminal network side device is processed and the data stream of the APP in the terminal is processed, and the implementation complexity of the terminal is low.

[0179] Figure 11 This is a second schematic flowchart of the terminal policy update method provided in this application embodiment. For example... Figure 11 As shown, the method provided in this embodiment includes:

[0180] Step 201: When the location of the terminal changes, the terminal receives the terminal policy corresponding to the data network access identifier (DNAI) sent by the first communication device. The DNAI is the DNAI corresponding to the current location of the terminal.

[0181] Step 202: The terminal processes the terminal's data stream based on the terminal policy corresponding to DNAI.

[0182] Optionally, the terminal processes the terminal's data stream based on the terminal policy corresponding to the DNAI, including:

[0183] The terminal determines the PDU session corresponding to the application data stream of the terminal based on the terminal policy corresponding to the DNAI; the PDU session is used to carry the application data stream of the terminal.

[0184] Optionally, the method further includes:

[0185] The terminal sends capability indication information to the first communication device. The capability indication information is used to indicate that the terminal can use the terminal policy indicated by the network-side device to process the data stream of the terminal application APP.

[0186] Optionally, the method further includes:

[0187] The terminal receives a second indication information sent by the first communication device. The second indication information is used to indicate the terminal policy of the terminal and / or the terminal policy executed for each of the APP data streams of the terminal.

[0188] Optionally, the method further includes:

[0189] The terminal processes the data streams of each APP based on the terminal strategy executed for each APP data stream of the terminal.

[0190] Optionally, the terminal processes the data streams of each APP based on a terminal policy executed for each APP data stream on the terminal, including:

[0191] For any of the aforementioned apps, the terminal determines a target PDU session corresponding to the terminal policy executed for the app's data stream. This target PDU session carries the app's data stream. The parameters of the target PDU session are specified by the terminal policy executed for the app's data stream. That is, the parameters of the target PDU session match the PDU session parameters in the terminal policy executed for the app's data stream.

[0192] Optionally, the terminal determines the target PDU session corresponding to the terminal policy executed by the APP data stream, including:

[0193] If the target PDU session exists, the terminal will use the target PDU session as the PDU session corresponding to the data stream of the APP;

[0194] If the target PDU session does not exist, the terminal creates a new PDU session corresponding to the data stream of the APP.

[0195] Optionally, the terminal policy includes: a terminal routing policy (URSP);

[0196] The parameters of the target PDU session match the PDU session parameters described by the routing descriptor RSD in the terminal policy executed by the APP data stream.

[0197] The method in this embodiment is similar in its specific implementation process and technical effects to the method embodiment on the first communication device side. For details, please refer to the detailed description in the method embodiment on the first communication device side, which will not be repeated here.

[0198] Figure 12 This is the third flowchart illustrating the terminal policy update method provided in this application embodiment. Figure 12 As shown, the method provided in this embodiment includes:

[0199] Step 301: When the location of the terminal changes, the second communication device determines the data network access identifier (DNAI) corresponding to the terminal based on the current location of the terminal.

[0200] Step 302: The second communication device sends a first indication message to the first communication device. The first indication message is used to indicate the DNAI corresponding to the terminal.

[0201] Optionally, the second communication device receives a subscription request from the first communication device, the subscription request being used to request subscription to a DNAI change event corresponding to the terminal; the DNAI change event indicates that the DNAI corresponding to the terminal has changed;

[0202] The first indication information is sent in the event of a change in the DNAI corresponding to the terminal.

[0203] Optionally, the terminal policy includes: a terminal routing policy (URSP).

[0204] The terminal policy update method provided in this application can be executed by a terminal policy update device. This application uses the example of a terminal policy update device executing the terminal policy update method to illustrate the terminal policy update device provided in this application.

[0205] Figure 13 This is one of the structural schematic diagrams of the terminal policy update device provided in the embodiments of this application. For example... Figure 13 As shown, the terminal policy update device provided in this embodiment includes:

[0206] The receiving module 210 is used to receive first indication information sent by the second communication device, wherein the first indication information is used to indicate the data network access identifier (DNAI) corresponding to the current location of the terminal.

[0207] The acquisition module 220 is used to acquire the terminal policy corresponding to the DNAI based on the first indication information;

[0208] The sending module 230 is used to send the terminal policy corresponding to the DNAI to the terminal.

[0209] Optionally, when the first communication device is an AMF, the transmitting module 230 is further configured to:

[0210] According to the first indication information, a first request message is sent to the third communication device, the first request message being used to request the acquisition of the terminal policy corresponding to the DNAI;

[0211] The acquisition module 220 is specifically used for:

[0212] Receive the terminal policy corresponding to the DNAI sent by the third communication device.

[0213] Optionally, when the first communication device is a PCF, the acquisition module 220 is specifically used for:

[0214] The first communication device determines the terminal strategy corresponding to the DNAI based on the first indication information;

[0215] The sending module 230 is specifically used for:

[0216] The terminal policy corresponding to the DNAI is sent to the terminal through the fourth communication device.

[0217] Optionally, the sending module 230 is specifically used for:

[0218] The terminal policy corresponding to the DNAI is sent to the terminal via a downlink NAS message.

[0219] Optionally, when the terminal is in a roaming scenario, the first communication device is the first communication device of the roaming location where the terminal is located, and the second communication device is the second communication device of the roaming location.

[0220] Optionally, the sending module 230 is specifically used for:

[0221] When the terminal is in a roaming scenario and the first communication device is the PCF of the roaming location of the terminal, a second request message is sent to the PCF of the terminal's home location according to the first indication information. The second request message is used to request the terminal policy corresponding to the DNAI.

[0222] The acquisition module 220 is specifically used for:

[0223] Receive the terminal policy corresponding to the DNAI sent by the PCF of the home location; or,

[0224] When the terminal is in a roaming scenario and the first communication device is the AMF of the roaming location of the terminal, the first communication device sends a second request message to the PCF of the roaming location according to the first indication information. The second request message is used to request to obtain the terminal policy corresponding to the DNAI. The terminal policy corresponding to the DNAI is obtained by the PCF of the roaming location through the PCF of the terminal's home location.

[0225] The acquisition module 220 is specifically used for:

[0226] Receive the terminal policy corresponding to the DNAI sent by the PCF of the roaming location.

[0227] Optionally, the receiving module 210 is further configured to:

[0228] The terminal receives capability indication information; the capability indication information is used to indicate that the terminal can process the data stream of the terminal application using the terminal policy indicated by the network-side device.

[0229] The acquisition module 220 is further configured to:

[0230] Based on the capability indication information, obtain the terminal policy of the terminal, and / or the terminal policy executed for at least one application (APP) data stream of the terminal.

[0231] Optionally, the sending module 230 is further configured to:

[0232] Send a second indication message to the terminal, the second indication message being used to indicate the terminal policy of the terminal and / or the terminal policy to be executed for each of the APP data streams of the terminal.

[0233] Optionally, when the first communication device is an AMF, the sending module 230 is further configured to: send a third request message to the third communication device according to the capability indication information, wherein the third request message is used to request the acquisition of the terminal policy of the terminal and / or the terminal policy executed for each APP data stream of the terminal;

[0234] The acquisition module 220 is specifically used for:

[0235] Receive the terminal policy of the terminal sent by the third communication device, and / or the terminal policy executed for each APP data stream of the terminal.

[0236] Optionally, when the first communication device is a PCF, the acquisition module 220 is specifically used for:

[0237] Based on the capability indication information, determine the terminal policy of the terminal and / or the terminal policy to be executed for each APP data stream of the terminal;

[0238] Optionally, the sending module 230 is specifically used for:

[0239] The second instruction information is sent to the terminal via a fourth communication device.

[0240] Optionally, the capability indication information is carried in the terminal policy container in the uplink NAS message sent by the terminal.

[0241] The second indication information is carried through the terminal policy container in the downlink NAS message.

[0242] Optionally, it also includes:

[0243] The processing module is configured to subscribe to DNAI change events corresponding to the terminal from the second communication device; the DNAI change event indicates that the DNAI corresponding to the terminal has changed;

[0244] The first indication information is received in the event of the DNAI change.

[0245] Optionally, the terminal policy includes: a terminal routing policy (URSP).

[0246] The apparatus of this embodiment can be used to execute the method of any of the embodiments of the first communication device side method described above. Its specific implementation process and technical effects are similar to those of the first communication device side method embodiment. For details, please refer to the detailed description in the first communication device side method embodiment, which will not be repeated here.

[0247] Figure 14 This is a second schematic diagram of the terminal policy update device provided in the embodiments of this application. Figure 14 As shown, the terminal policy update device provided in this embodiment includes:

[0248] The receiving module 310 is configured to receive a terminal policy corresponding to a data network access identifier (DNAI) sent by a first communication device when the location of the terminal changes, wherein the DNAI is the DNAI corresponding to the current location of the terminal.

[0249] The processing module 320 is used to process the data stream of the terminal based on the terminal strategy corresponding to the DNAI.

[0250] Optionally, the processing module 320 is specifically used for:

[0251] The terminal determines the PDU session corresponding to the application data stream of the terminal based on the terminal policy corresponding to the DNAI; the PDU session is used to carry the application data stream of the terminal.

[0252] Optionally, it also includes:

[0253] The sending module is used to send capability indication information to the first communication device. The capability indication information is used to indicate that the terminal can process the data stream of the terminal application APP using the terminal policy indicated by the network-side device.

[0254] Optionally, the receiving module 310 is further configured to receive second indication information sent by the first communication device, the second indication information being used to indicate the terminal policy of the terminal and / or the terminal policy executed for each of the APP data streams of the terminal.

[0255] Optionally, the processing module 320 is further configured to:

[0256] The data streams of each APP are processed based on the terminal policy executed for each APP data stream of the terminal.

[0257] Optionally, the processing module 320 is specifically used for:

[0258] For any of the aforementioned apps, the terminal determines a target PDU session corresponding to the terminal policy executed for the app's data stream. This target PDU session carries the app's data stream. The parameters of the target PDU session are specified by the terminal policy executed for the app's data stream. That is, the parameters of the target PDU session match the PDU session parameters in the terminal policy executed for the app's data stream.

[0259] Optionally, the processing module 320 is specifically used for:

[0260] If the target PDU session exists, the terminal will use the target PDU session as the PDU session corresponding to the data stream of the APP;

[0261] If the target PDU session does not exist, the terminal creates a new PDU session corresponding to the data stream of the APP.

[0262] Optionally, the terminal policy includes: a terminal routing policy (URSP);

[0263] The parameters of the target PDU session match the PDU session parameters described by the routing descriptor RSD in the terminal policy executed by the APP data stream.

[0264] The apparatus of this embodiment can be used to execute the method of any of the aforementioned terminal-side method embodiments. Its specific implementation process and technical effects are similar to those of the terminal-side method embodiments. For details, please refer to the detailed description in the terminal-side method embodiments, which will not be repeated here.

[0265] Figure 15 This is the third structural schematic diagram of the terminal policy update device provided in the embodiments of this application. Figure 15 As shown, the terminal policy update device provided in this embodiment includes:

[0266] The processing module is used to determine the data network access identifier (DNAI) corresponding to the terminal based on the current location of the terminal when the terminal's location changes.

[0267] The sending module is used to send first indication information to the first communication device, wherein the first indication information is used to indicate the DNAI corresponding to the terminal.

[0268] Optionally, it also includes:

[0269] The receiving module is configured to receive a subscription request from the first communication device, wherein the subscription request is used to request subscription to a DNAI change event corresponding to the terminal; the DNAI change event indicates that the DNAI corresponding to the terminal has changed.

[0270] The first indication information is sent in the event of a change in the DNAI corresponding to the terminal.

[0271] Optionally, the terminal policy includes: a terminal routing policy (URSP).

[0272] The apparatus of this embodiment can be used to execute the method of any of the embodiments of the aforementioned second communication device side method embodiments. Its specific implementation process and technical effects are similar to those of the second communication device side method embodiments. For details, please refer to the detailed description in the second communication device side method embodiments, which will not be repeated here.

[0273] The terminal policy update device in this application embodiment can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices besides a terminal. For example, the terminal can include, but is not limited to, the type of terminal 11 listed above; other devices can be servers, network attached storage (NAS), etc., and this application embodiment does not specifically limit the type.

[0274] The terminal policy update device provided in this application embodiment can achieve... Figures 2 to 12The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.

[0275] Optional, such as Figure 16 As shown in the illustration, this application also provides a communication device 1500, including a processor 1501 and a memory 1502. The memory 1502 stores programs or instructions that can run on the processor 1501. For example, when the communication device 1500 is a terminal, the program or instructions executed by the processor 1501 implement the various steps of the terminal policy update method embodiment described above, and achieve the same technical effect. When the communication device 1500 is a network-side device, the program or instructions executed by the processor 1501 implement the various steps of the terminal policy update method embodiment described above, and achieve the same technical effect. To avoid repetition, further details are omitted here.

[0276] This application embodiment also provides a terminal, including a processor and a communication interface. The communication interface is used to receive a terminal policy corresponding to a Data Network Access Identifier (DNAI) sent by a first communication device when the location of the terminal changes. The DNAI is the DNAI corresponding to the current location of the terminal. The processor is used to process the terminal's data stream based on the terminal policy corresponding to the DNAI. This terminal embodiment corresponds to the above-described terminal-side method embodiment. All implementation processes and methods of the above method embodiments can be applied to this terminal embodiment and achieve the same technical effect. Specifically, Figure 17 A schematic diagram of the hardware structure of a terminal to implement an embodiment of this application.

[0277] The terminal 1000 includes, but is not limited to, at least some of the following components: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.

[0278] Those skilled in the art will understand that the terminal 1000 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1010 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 17 The terminal structure shown does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0279] It should be understood that, in this embodiment, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042. The GPU 10041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here.

[0280] In this embodiment, the radio frequency unit 1001 receives downlink data from the network-side device and transmits it to the processor 1010 for processing. Additionally, the radio frequency unit 1001 can send uplink data to the network-side device. Typically, the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, and a duplexer.

[0281] The memory 1009 can be used to store software programs or instructions and various data. The memory 1009 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first program or instruction storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback function, image playback function, etc.). Furthermore, the memory 1009 may include volatile memory or non-volatile memory, or both. It may include high-speed random access memory and may also include non-volatile memory, wherein the non-volatile memory may 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. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1009 in this embodiment includes, but is not limited to, these and any other suitable types of memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.

[0282] Processor 1010 may include one or more processing units; optionally, processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications or instructions, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1010.

[0283] The radio frequency unit 1001 is used to receive the terminal policy corresponding to the data network access identifier (DNAI) sent by the first communication device when the location of the terminal changes. The DNAI is the DNAI corresponding to the current location of the terminal.

[0284] Processor 1010 is used to process the data stream of the terminal based on the terminal policy corresponding to the DNAI.

[0285] In the above embodiments, when the location of the terminal changes, the first communication device receives a first indication information sent by the second communication device. The first indication information is used to indicate the data network access identifier (DNAI) corresponding to the current location of the terminal. The first communication device obtains the terminal policy corresponding to the DNAI based on the first indication information. The first communication device sends the terminal policy corresponding to the DNAI to the terminal. The terminal can process the terminal's APP data stream based on the terminal policy corresponding to the DNAI. For the terminal in different locations or regions, the network-side device can dynamically allocate corresponding terminal policies to the terminal, which is more flexible and makes the terminal's service experience and quality better.

[0286] Optionally, the processor 1010 is specifically used for:

[0287] The terminal determines the PDU session corresponding to the application data stream of the terminal based on the terminal policy corresponding to the DNAI; the PDU session is used to carry the application data stream of the terminal.

[0288] Optionally, the radio frequency unit 1001 is further configured to send capability indication information to the first communication device, the capability indication information being used to indicate that the terminal is able to process the data stream of the terminal application APP using the terminal policy indicated by the network side device;

[0289] Optionally, the radio frequency unit 1001 is further configured to receive second indication information sent by the first communication device, the second indication information being used to indicate the terminal policy of the terminal and / or the terminal policy executed for each of the APP data streams of the terminal.

[0290] The above implementation can ensure that the terminal policy indicated by the terminal network side device is processed and the data stream of the APP in the terminal is processed, and the implementation complexity of the terminal is low.

[0291] Optionally, the processor 1010 is further configured to:

[0292] The data streams of each APP are processed based on the terminal policy executed for each APP data stream of the terminal.

[0293] Optionally, the processor 1010 is specifically used for:

[0294] For any of the aforementioned apps, the terminal determines a target PDU session corresponding to the terminal policy executed for the app's data stream. This target PDU session carries the app's data stream. The parameters of the target PDU session are specified by the terminal policy executed for the app's data stream. That is, the parameters of the target PDU session match the PDU session parameters in the terminal policy executed for the app's data stream.

[0295] Optionally, the processor 1010 is specifically used for:

[0296] If the target PDU session exists, the terminal will use the target PDU session as the PDU session corresponding to the data stream of the APP;

[0297] If the target PDU session does not exist, the terminal creates a new PDU session corresponding to the data stream of the APP.

[0298] Optionally, the terminal policy includes: a terminal routing policy (URSP);

[0299] The parameters of the target PDU session match the PDU session parameters described by the routing descriptor RSD in the terminal policy executed by the APP data stream.

[0300] This application embodiment also provides a first communication device, including a processor and a communication interface. The communication interface is used to receive first indication information sent by a second communication device, the first indication information being used to indicate the Data Network Access Identifier (DNAI) corresponding to the current location of the terminal; send a terminal policy corresponding to the DNAI to the terminal; the processor is used to obtain the terminal policy corresponding to the DNAI according to the first indication information. This first communication device embodiment corresponds to the above-described first communication device method embodiment. All implementation processes and methods of the above method embodiments can be applied to this first communication device embodiment and can achieve the same technical effects.

[0301] This application also provides a second communication device, including a processor and a communication interface. The processor is used to determine the Data Network Access Identifier (DNAI) corresponding to the terminal based on the current location of the terminal when the terminal's location changes. The communication interface is used to send first indication information to the first communication device, the first indication information indicating the DNAI corresponding to the terminal. This second communication device embodiment corresponds to the above-described second communication device method embodiment. All implementation processes and methods of the above method embodiments can be applied to this second communication device embodiment and achieve the same technical effects.

[0302] Specifically, embodiments of this application also provide a network-side device. For example... Figure 18 As shown, the network-side device 700 includes a processor 701, a network interface 702, and a memory 703. The network interface 702 is, for example, a common public radio interface (CPRI).

[0303] Specifically, the network-side device 700 in this application embodiment further includes: instructions or programs stored in memory 703 and executable on processor 701, wherein processor 701 calls the instructions or programs in memory 703 to execute. Figure 13 Alternatively, the methods executed by each module shown in Figure 15 can achieve the same technical effect. To avoid repetition, they will not be described in detail here.

[0304] Both the first communication device and the second communication device can be implemented through this network-side device embodiment.

[0305] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described terminal policy update method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0306] The processor is the processor in the terminal described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0307] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described terminal policy update method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0308] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0309] This application also provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described terminal policy update method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0310] This application also provides a communication system, including: a terminal, a first communication device, and a second communication device. The terminal can be used to execute the steps of the terminal policy update method described above, and the first and second communication devices can be used to execute the steps of the terminal policy update method described above.

[0311] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0312] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0313] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A terminal policy update method, characterized in that, include: The first communication device receives a first indication information sent by the second communication device. The first indication information is used to indicate the data network access identifier (DNAI) corresponding to the current location of the terminal. The first communication device obtains the terminal policy corresponding to DNAI based on the first indication information; The first communication device sends the terminal policy corresponding to the DNAI to the terminal; The terminal strategy includes: Terminal Routing Selection Policy (URSP).

2. The terminal policy update method according to claim 1, characterized in that, When the first communication device is an AMF, the first communication device obtains the terminal policy corresponding to the DNAI according to the first indication information, including: The first communication device sends a first request message to the third communication device according to the first indication information. The first request message is used to request the acquisition of the terminal policy corresponding to the DNAI. The first communication device receives the terminal policy corresponding to the DNAI sent by the third communication device.

3. The terminal policy update method according to claim 1, characterized in that, When the first communication device is a PCF, the first communication device obtains the terminal policy corresponding to the DNAI according to the first indication information, including: The first communication device determines the terminal strategy corresponding to the DNAI based on the first indication information; The first communication device sends the terminal policy corresponding to the DNAI to the terminal, including: The first communication device sends the terminal policy corresponding to the DNAI to the terminal through the fourth communication device.

4. The terminal policy update method according to any one of claims 1-3, characterized in that, The first communication device sends the terminal policy corresponding to the DNAI to the terminal, including: The first communication device sends the terminal policy corresponding to the DNAI to the terminal via a downlink NAS message.

5. The terminal policy update method according to any one of claims 1-3, characterized in that, When the terminal is in a roaming scenario, the first communication device is the first communication device of the roaming location where the terminal is located, and the second communication device is the second communication device of the roaming location.

6. The terminal policy update method according to any one of claims 1-3, characterized in that, The first communication device obtains the terminal policy corresponding to the DNAI according to the first indication information, including: When the terminal is in a roaming scenario and the first communication device is the PCF of the roaming location of the terminal, the first communication device sends a second request message to the PCF of the terminal's home location according to the first indication information. The second request message is used to request to obtain the terminal policy corresponding to the DNAI. The first communication device receives the terminal policy corresponding to the DNAI sent by the PCF of the home location; or, When the terminal is in a roaming scenario and the first communication device is the AMF of the roaming location of the terminal, the first communication device sends a second request message to the PCF of the roaming location according to the first indication information. The second request message is used to request to obtain the terminal policy corresponding to the DNAI. The terminal policy corresponding to the DNAI is obtained by the PCF of the roaming location through the PCF of the terminal's home location. The first communication device receives the terminal policy corresponding to the DNAI sent by the PCF of the roaming location.

7. The terminal policy update method according to any one of claims 1-3, characterized in that, The method further includes: The first communication device receives capability indication information sent by the terminal; the capability indication information is used to indicate that the terminal can process the data stream of the terminal application using the terminal policy indicated by the network-side device; The first communication device obtains the terminal policy of the terminal based on the capability indication information, and / or the terminal policy executed for at least one application (APP) data stream of the terminal.

8. The terminal policy update method according to claim 7, characterized in that, The method further includes: The first communication device sends a second indication information to the terminal, the second indication information being used to indicate the terminal policy of the terminal and / or the terminal policy to be executed for each of the APP data streams of the terminal.

9. The terminal policy update method according to claim 7 or 8, characterized in that, The first communication device obtains the terminal policy of the terminal based on the capability indication information, and / or the terminal policy executed for at least one application (APP) data stream of the terminal, including: When the first communication device is an AMF, the first communication device sends a third request message to the third communication device according to the capability indication information. The third request message is used to request the terminal policy of the terminal and / or the terminal policy executed for each APP data stream of the terminal. The first communication device receives the terminal policy of the terminal sent by the third communication device, and / or the terminal policy executed for each APP data stream of the terminal.

10. The terminal policy update method according to claim 7 or 8, characterized in that, The first communication device obtains the terminal policy of the terminal based on the capability indication information, and / or the terminal policy executed for at least one application (APP) data stream of the terminal, including: When the first communication device is a PCF, the first communication device determines the terminal policy of the terminal and / or the terminal policy to be executed for each APP data stream of the terminal according to the capability indication information.

11. The terminal policy update method according to claim 8, characterized in that, When the first communication device is a PCF, the first communication device sends a second indication message to the terminal, including: The first communication device sends the second instruction information to the terminal through the fourth communication device.

12. The terminal policy update method according to claim 8, characterized in that, The capability indication information is carried in the terminal policy container in the uplink NAS message sent by the terminal; The second indication information is carried in the terminal policy container in the downlink NAS message.

13. The terminal policy update method according to any one of claims 1-3, characterized in that, The method further includes: The first communication device subscribes to the DNAI change event corresponding to the terminal from the second communication device; the DNAI change event indicates that the DNAI corresponding to the terminal has changed; The first indication information is received in the event of the DNAI change.

14. A terminal policy update method, characterized in that, include: When the location of the terminal changes, the terminal receives the terminal policy corresponding to the data network access identifier (DNAI) sent by the first communication device, wherein the DNAI is the DNAI corresponding to the current location of the terminal; The terminal processes the terminal's data stream based on the terminal strategy corresponding to the DNAI; The terminal strategy includes: Terminal Routing Selection Policy (URSP).

15. The terminal policy update method according to claim 14, characterized in that, The terminal processes the terminal's data stream based on the terminal policy corresponding to the DNAI, including: The terminal determines the PDU session corresponding to the application data stream of the terminal based on the terminal policy corresponding to the DNAI; the PDU session is used to carry the application data stream of the terminal.

16. The terminal policy update method according to claim 14 or 15, characterized in that, The method further includes: The terminal sends capability indication information to the first communication device. The capability indication information is used to indicate that the terminal can use the terminal policy indicated by the network-side device to process the data stream of the terminal application (APP).

17. The terminal policy update method according to claim 16, characterized in that, The method further includes: The terminal receives a second indication information sent by the first communication device. The second indication information is used to indicate the terminal policy of the terminal and / or the terminal policy executed for each of the APP data streams of the terminal.

18. The terminal policy update method according to claim 17, characterized in that, The method further includes: The terminal processes the data streams of each APP based on the terminal strategy executed for each APP data stream of the terminal.

19. The terminal policy update method according to claim 18, characterized in that, The terminal processes the data streams of each APP based on a terminal policy executed for each APP data stream on the terminal, including: For any of the aforementioned APPs, the terminal determines the target PDU session corresponding to the terminal policy executed for the APP data stream. The target PDU session is used to carry the APP data stream. The parameters of the target PDU session are specified by the terminal policy executed for the APP data stream.

20. The terminal policy update method according to claim 19, characterized in that, The terminal determines the target PDU session corresponding to the terminal policy executed by the APP data stream, including: If the target PDU session exists, the terminal will use the target PDU session as the PDU session corresponding to the APP data stream; If the target PDU session does not exist, the terminal creates a new PDU session corresponding to the APP data stream.

21. The terminal policy update method according to claim 19 or 20, characterized in that, The parameters of the target PDU session match the PDU session parameters described by the routing descriptor RSD in the terminal policy executed by the APP data stream.

22. A terminal policy update method, characterized in that, include: When the location of the terminal changes, the second communication device determines the data network access identifier (DNAI) corresponding to the terminal based on the current location of the terminal. The second communication device sends a first indication message to the first communication device, the first indication message being used to indicate the DNAI corresponding to the terminal; The terminal strategy includes: Terminal Routing Selection Policy (URSP).

23. The terminal policy update method according to claim 22, characterized in that, The method further includes: The second communication device receives a subscription request from the first communication device, the subscription request being used to request subscription to a DNAI change event corresponding to the terminal; the DNAI change event indicates that the DNAI corresponding to the terminal has changed; The first indication information is sent in the event of a change in the DNAI corresponding to the terminal.

24. A terminal policy update device, characterized in that, include: The receiving module is configured to receive first indication information sent by the second communication device, wherein the first indication information is used to indicate the data network access identifier (DNAI) corresponding to the current location of the terminal. The acquisition module is used to acquire the terminal policy corresponding to the DNAI based on the first indication information; The sending module is used to send the terminal policy corresponding to the DNAI to the terminal; The terminal strategy includes: Terminal Routing Selection Policy (URSP).

25. A terminal policy update device, characterized in that, include: The receiving module is used to receive a terminal policy corresponding to a data network access identifier (DNAI) sent by a first communication device when the location of the terminal changes. The DNAI is the DNAI corresponding to the current location of the terminal. The processing module is used to process the data stream of the terminal based on the terminal strategy corresponding to the DNAI; The terminal strategy includes: Terminal Routing Selection Policy (URSP).

26. A terminal policy update device, characterized in that, include: The processing module is used to determine the data network access identifier (DNAI) corresponding to the terminal based on the current location of the terminal when the terminal's location changes. A sending module is configured to send first indication information to a first communication device, wherein the first indication information is used to indicate the DNAI corresponding to the terminal; The terminal strategy includes: Terminal Routing Selection Policy (URSP).

27. A first communication device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the terminal policy update method as described in any one of claims 1 to 13.

28. A terminal, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the terminal policy update method as described in any one of claims 14 to 21.

29. A second communication device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the terminal policy update method as described in any one of claims 22 to 23.

30. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions, which, when executed by a processor, implement the terminal policy update method as described in any one of claims 1-13, the terminal policy update method as described in any one of claims 14-21, or the steps of the terminal policy update method as described in any one of claims 22-23.

Citation Information

Patent Citations

  • Service configuration method, communication device, and communication system

    WO2021057794A1