Policy determination method, apparatus, device, and readable storage medium
Patent Information
- Application Number
- CN202610782931.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-02
- Publication Date
- 2026-08-18
AI Technical Summary
[0004]本申请实施例提供一种策略确定方法、装置、设备及可读存储介质,解决无法选择合适的UPF的问题
[0036] In a seventh aspect, embodiments of this application provide a computer program product, including computer instructions that, when executed by a processor, implement the steps of the policy determination method as described in the first aspect, and the steps of the policy determination method as described in the second aspect.
Smart Images

Figure CN122602306A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, specifically relating to a strategy determination method, apparatus, device, and readable storage medium. Background Technology
[0002] The 5G architecture consists of a Session Management Function (SMF), a User Plane Function (UPF), a Policy Control Function (PCF), and a User Equipment (UE). In related technologies, the SMF can select the UPF based on the Tracking Area Code (TAC) currently in which the UE (or terminal device) is located.
[0003] However, selecting a UPF based on TAC requires significant modifications to the wireless network. Specifically, this necessitates replanning the TAC allocation, adjusting the TAC configuration of base stations, and updating the mapping relationships in the 5G core network. This approach involves substantial changes to the wireless network, resulting in high implementation costs, a long development cycle, and a lack of flexibility. Once deployed, the binding relationship between TAC and UPF is difficult to adjust dynamically. Therefore, it is impossible to select a suitable UPF. Summary of the Invention
[0004] This application provides a strategy determination method, apparatus, device, and readable storage medium to solve the problem of being unable to select a suitable UPF.
[0005] Firstly, a strategy determination method is provided, applied to a first network element, including:
[0006] When the second network element detects a change in the location of the terminal device, the first network element receives a first request sent by the second network element, the first request including: the ID of the serving cell where the terminal device is located;
[0007] The first network element determines the first location of the terminal device through the first request;
[0008] When the first location is at the target location, the first network element determines the target policy corresponding to the first location. The target policy is used to determine the third network element corresponding to the first location. The third network element is used to determine the packet forwarding and processing during the session.
[0009] Optionally, the first network element determines the target policy corresponding to the first location, including:
[0010] The first network element obtains the NR cell list;
[0011] If the NR cell list includes the serving cell, the first network element determines the target policy corresponding to the serving cell through the NR cell list.
[0012] Optionally, the first request further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located;
[0013] After the first network element determines the first location of the terminal device through the first request, the method further includes:
[0014] If the location area corresponding to the tracking area code is not in the target location area and the NR cell list does not include the serving cell, the first network element sends first information to the second network element. The first information is used to trigger the second network element to send a second request to the first network element when the second network element detects that the location of the terminal device has changed.
[0015] The first network element receives the second request and determines the target strategy corresponding to the changed location of the terminal device based on the second request.
[0016] Optionally, the first request further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located;
[0017] After the first network element determines the first location of the terminal device through the first request, the method further includes:
[0018] If the location area corresponding to the tracking area code is in the target location area, but the NR cell list does not include the serving cell, the first network element sends second information to the second network element. The second information is used to trigger the second network element to send a third request to the first network element when the second network element detects a change in the location of the terminal device.
[0019] The first network element receives the third request and determines the target strategy corresponding to the changed location of the terminal device based on the third request.
[0020] Secondly, a strategy determination method is provided, applied to a second network element, including:
[0021] When the location of the terminal device changes, the second network element receives third information sent by the terminal device, the third information including the ID of the serving cell where the terminal device is located;
[0022] The second network element sends a first request to the first network element, the first request including the ID of the serving cell where the terminal device is located.
[0023] Optionally, the third information further includes: a tracking area code, which is used to determine the location area of the terminal device;
[0024] After the second network element receives the third information sent by the terminal device, the method further includes:
[0025] If the location area corresponding to the tracking area code is not in the target location area and the NR cell list does not include the serving cell, the second network element receives the first information sent by the first network element.
[0026] When the second network element detects a change in the location of the terminal device, the second network element sends a second request to the first network element based on the first information.
[0027] Thirdly, a strategy determination device is provided, applied to a first network element, comprising:
[0028] The first receiving module is configured to receive a first request sent by the second network element when the second network element detects a change in the location of the terminal device. The first request includes the ID of the serving cell where the terminal device is located.
[0029] The first determining module is used to determine the first location of the terminal device based on the first request;
[0030] The second determining module is used to determine the target policy corresponding to the first location when the first location is located at the target location. The target policy is used to determine the third network element corresponding to the first location. The third network element is used to determine the data packet forwarding and processing during the session.
[0031] Fourthly, a strategy determination device is provided, applied to a second network element, comprising:
[0032] The first receiving module is configured to receive third information sent by the terminal device when the location of the terminal device changes, wherein the third information includes the ID of the serving cell where the terminal device is located;
[0033] The first sending module is used to send a first request to a first network element, wherein the first request includes the ID of the serving cell where the terminal device is located.
[0034] Fifthly, embodiments of this application provide an electronic device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, it implements the steps of the policy determination method as described in the first aspect, and the steps of the policy determination method as described in the second aspect.
[0035] In a sixth aspect, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the policy determination method as described in the first aspect and the steps of the policy determination method as described in the second aspect.
[0036] In a seventh aspect, embodiments of this application provide a computer program product, including computer instructions that, when executed by a processor, implement the steps of the policy determination method as described in the first aspect, and the steps of the policy determination method as described in the second aspect.
[0037] In this embodiment, when the second network element detects a change in the location of the terminal device, the first network element can receive a first request sent by the second network element. The first request includes the ID of the serving cell where the terminal device is located. The first network element can determine the location of the terminal device through the first request. If the location is at a target location, the first network element determines the target policy corresponding to that location, and then determines the third network element through the target policy. In this process, the first network element determines the ID of the serving cell where the terminal device is located through the first request, and determines the corresponding policy based on the ID of the serving cell, so as to accurately determine the appropriate network element for packet forwarding and processing during the session. Attached Figure Description
[0038] Figure 1 A schematic diagram of a strategy determination architecture provided for embodiments of this application;
[0039] Figure 2 A schematic diagram illustrating another strategy for determining the architecture provided for embodiments of this application;
[0040] Figure 3 A schematic flowchart of a strategy determination method provided for an embodiment of this application;
[0041] Figure 4 A timing diagram illustrating a strategy determination method provided for an embodiment of this application;
[0042] Figure 5 A schematic flowchart of another strategy determination method provided for an embodiment of this application;
[0043] Figure 6A timing diagram illustrating another strategy determination method provided for embodiments of this application;
[0044] Figure 7 A schematic flowchart of another strategy determination method provided for an embodiment of this application;
[0045] Figure 8 A schematic diagram of a strategy determination device provided for an embodiment of this application;
[0046] Figure 9 A schematic diagram of another strategy determination device provided for embodiments of this application;
[0047] Figure 10 A schematic diagram of an electronic device structure provided for an embodiment of this application. Detailed Implementation
[0048] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0049] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and are not used to describe a specified order or sequence. It should be understood that such use of data can be interchanged 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" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0050] 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. However, the following description describes New Radio (NR) systems for illustrative purposes, and NR terminology is used in most of the following description. These technologies can also be applied to applications beyond NR systems, such as 6th generation (6G) radio systems. th Generation 6G communication system.
[0051] The architecture of this application can be as follows: Figure 1 As shown, it consists of a base station, Access and Mobility Management Function (AMF), UPF, SMF, and PCF. In some scenarios, the first network element in this application can be the PCF, used to run the policy determination method of this application to determine a suitable policy, wherein the policy is used to determine a suitable UPF. The third network element in this application can be the UPF. The SMF is used to determine the corresponding UPF according to the policy issued by the PCF, so as to carry and reconstruct the services of the terminal equipment through the UPF. The second network element can be the UPF.
[0052] In some embodiments, such as Figure 2 As shown, the policy determination method of this application can also be deployed on electronic devices other than PCF. SMF sends the serving cell ID to PCF, PCF sends the serving cell ID to electronic device, electronic device sends the policy corresponding to the serving cell ID to PCF, and PCF sends the policy to SMF.
[0053] The serving cell ID, also known as the gNodeb Cell ID, is the user-registered radio cell number, encoded using the standard NCGI (NR Cell Global Identifier). The NCGI (NR Cell Global Identifier) is a globally unique identifier for an NR cell, consisting of the PLMN identifier (PLMN ID) and the NR cell identifier (NCI: NR Cell Identity). The NCI has a fixed length of 36 bits.
[0054] Policies can also be represented by network element instance identifiers, namely UPF NF instance IDs. The network element instance identifier adopts the standard UUID version 4 format (RFC 4122). The UPF NF instance ID consists of 128 bits, represented by 32 hexadecimal numbers, and divided into 5 segments by "-", for example: time-low "-", time-mid "-", time-high-and-version "-", clock-seq-and-reserved clock-seq-low "-", and node.
[0055] As can be seen from the above, the strategy determination method of this application can be deployed on electronic devices other than the first network element, the second network element, and the third network element, or it can be directly deployed on the first network element, with the same effect and process. The following description uses the strategy determination method of this application deployed on the first network element as an example.
[0056] Next, we will proceed through... Figure 3 The method for determining the strategy in this application will be explained in detail.
[0057] Step 301: When the second network element detects a change in the location of the terminal device, the first network element receives a first request sent by the second network element, the first request including: the ID of the serving cell where the terminal device is located.
[0058] In this embodiment, the second network element can detect the location of the terminal device in real time. When the location of the terminal device changes, the second network element can send a first request to the first network element to determine the policy corresponding to the serving cell by using the ID of the serving cell carried in the first request.
[0059] Step 302: The first network element determines the first location of the terminal device through the first request.
[0060] In this embodiment, the first network element can determine which serving cell the terminal device is currently in by using the ID of the serving cell, that is, determine the location of the terminal device.
[0061] Step 303: When the first location is located at the target location, the first network element determines the target policy corresponding to the first location. The target policy is used to determine the third network element corresponding to the first location. The third network element is used to determine the packet forwarding and processing during the session.
[0062] In some embodiments, the first network element determines the target policy corresponding to the first location, including:
[0063] The first network element obtains the NR cell list;
[0064] If the NR cell list includes the serving cell, the first network element determines the target policy corresponding to the serving cell through the NR cell list.
[0065] In this embodiment, before the first network element determines the target policy corresponding to the first location, the user can preset the mapping relationship between the serving cell, the serving cell ID, and the policy to obtain an NR cell list. The user can also set priorities and mutual exclusion relationships between various policies. If a serving cell ID can correspond to multiple policies, the policy with the highest priority is selected as the final policy.
[0066] As described in steps 301-303 above, when the second network element detects a change in the location of the terminal device, the first network element can receive a first request sent by the second network element. The first request includes the ID of the serving cell where the terminal device is located. The first network element can determine the location of the terminal device through the first request. If the location is at a target location, the first network element determines the target policy corresponding to that location, and then uses the target policy to determine the third network element. In this process, the first network element determines the ID of the serving cell where the terminal device is located through the first request, and determines the corresponding policy based on the ID of the serving cell, thereby accurately determining the appropriate network element for packet forwarding and processing during the session.
[0067] The following is through Figure 4 This describes the process after the first network element determines the target policy corresponding to the location of the terminal device.
[0068] Step 401: The first network element sends the target policy to the second network element.
[0069] In some embodiments, the target policy is used to determine the third network element corresponding to the location of the terminal device. The target policy can be represented as UPF NF instance ID, that is, the ID of the third network element corresponding to the location of the terminal device.
[0070] Step 402: The second network element receives the target policy and releases the original session bearer corresponding to the terminal equipment according to the 3GPP specification marking process.
[0071] Step 403: The terminal device triggers a service request and initiates a session establishment request to the second network element.
[0072] Step 404: The second network element selects the third network element based on the target strategy.
[0073] In some embodiments, the target policy may include the IDs of one or more third network elements. The second network element may select one of the third network element IDs according to the principle of load sharing to rebuild the bearer of the session.
[0074] Understandably, steps 401-404 are the process by which the first network element determines the target policy, and the second network element performs session bearer reconstruction based on the third network element corresponding to the target policy.
[0075] In some embodiments, assuming that during the session bearer reconstruction process by the second network element through the third network element corresponding to the policy, if the bearer reconstruction fails, the second network element selects a new UPF according to the default TAC, Data Network Name (DNN), or slicing rules to reconstruct the bearer. The reasons for the bearer reconstruction failure may include: the third network element corresponding to the policy not responding within a preset time, or the third network element's retries exceeding a preset number, etc.
[0076] Next, we will proceed through... Figure 5 The process of determining the strategy in this application will be explained.
[0077] Step 501: The user maintains the interface on the first network element and manages the NR cell list through this interface, such as performing operations like querying, adding, deleting, and adjusting.
[0078] Step 502: The first network element receives the first request, which includes: mobile station international subscriber directory number (MSISDN) and the ID of the serving cell.
[0079] Step 503: The first network element determines whether the ID of the serving cell is in the NR cell list. If the ID of the serving cell is not in the NR cell list, the first network element sends a policy empty message to the second network element. If the ID of the serving cell is in the NR cell list, the first network element sends the corresponding policy to the second network element.
[0080] Next, we will proceed through... Figure 6 This application provides a more detailed explanation of the strategy determination and load-bearing reconstruction process.
[0081] Step 601: The terminal device sends a bearer activation request to the second network element.
[0082] Step 602: The second network element receives the bearer activation request and sends a first request to the first network element. The first request includes the ID and TAC of the serving cell where the terminal device is located.
[0083] Step 603: The first network element receives the first request. If the terminal device is one that does not execute the policy determination method, the subsequent steps are executed according to the standard bearer establishment procedure. If the terminal device is one that executes the policy determination method, the first network element determines whether the terminal device is within the target location area using TAC. If not, the first network element sends the first information to the second network element. If the second network element detects a change in the location of the terminal device, it triggers the second network element to send a second request to the first network element. The second request is used to determine the ID of the serving cell where the terminal device is currently located.
[0084] Optionally, the first request further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located;
[0085] After the first network element determines the first location of the terminal device through the first request, the method further includes:
[0086] If the location area corresponding to the tracking area code is not in the target location area and the NR cell list does not include the serving cell, the first network element sends first information to the second network element. The first information is used to trigger the second network element to send a second request to the first network element when the second network element detects that the location of the terminal device has changed.
[0087] The first network element receives the second request and determines the target strategy corresponding to the changed location of the terminal device based on the second request.
[0088] In this embodiment, TAC can represent the province where the terminal device is located. If the policy determination method is not executed for the province where the terminal device is located, the first network element sends second information to the second network element, causing the second network element to send a third request to the first network element if it detects a change in the location of the terminal device. If the policy determination method is executed for the province where the terminal device is located, and the serving cell ID of the terminal device is currently in the NR cell list, the first network element determines the target policy corresponding to the first location.
[0089] Among them, terminal devices can broadcast the current TAC and the ID of the serving cell through the base station.
[0090] Step 604: The second network element receives the fourth information sent by the terminal device. The fourth information includes the ID and TAC of the serving cell where the terminal device is located.
[0091] Step 605: The second network element sends a second request to the first network element. The second request includes the ID and TAC of the serving cell where the terminal device is located.
[0092] Step 606: The second network element receives the second request. If the terminal device is within the target location area, the first network element determines whether the ID of the serving cell is in the NR cell list. If not, the first network element sends the second information to the second network element. If the second network element detects that the location of the terminal device has changed, it triggers the second network element to send a third request to the first network element. The third request is used to determine the ID of the serving cell where the terminal device is currently located.
[0093] Optionally, the first request further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located;
[0094] After the first network element determines the first location of the terminal device through the first request, the method further includes:
[0095] If the location area corresponding to the tracking area code is in the target location area, but the NR cell list does not include the serving cell, the first network element sends second information to the second network element. The second information is used to trigger the second network element to send a third request to the first network element when the second network element detects a change in the location of the terminal device.
[0096] The first network element receives the third request and determines the target strategy corresponding to the changed location of the terminal device based on the third request.
[0097] In this embodiment, the second network element can detect the location of the terminal device in real time and report the serving cell ID and TAC of the terminal device to the first network element. If the serving cell ID belongs to the NR cell list and the TAC is in the target location area, the corresponding policy is determined. If the TAC is in the target location area, but the serving cell ID does not belong to the NR cell list, the first network element sends information to the second network element, enabling the second network element to continuously and in real time report the location.
[0098] Step 607: The second network element receives the fifth information sent by the terminal. The fifth information includes the ID and TAC of the serving cell where the terminal device is located.
[0099] Step 608: The second network element sends a third request to the first network element. The third request includes the ID and TAC of the serving cell where the terminal device is located.
[0100] Step 609: The second network element receives the third request. If the ID of the serving cell belongs to the NR cell list and the TAC is in the target location area, it determines the corresponding policy and sends the policy to the second network element.
[0101] Next, we will proceed through... Figure 7 From the perspective of the second network element, the strategy determination method of this application will be explained.
[0102] Step 701: When the location of the terminal device changes, the second network element receives third information sent by the terminal device, the third information including the ID of the serving cell where the terminal device is located.
[0103] Step 702: The second network element sends a first request to the first network element, the first request including the ID of the serving cell where the terminal device is located.
[0104] Understandably, in this embodiment, the second network element can report the location of the terminal device to the first network element in real time, so that the second network element can determine a suitable strategy for the terminal device and select a suitable third network element through the strategy, thereby saving network node hops and reducing communication latency.
[0105] In some embodiments, the third information further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located;
[0106] After the second network element receives the third information sent by the terminal device, the method further includes:
[0107] If the location area corresponding to the tracking area code is not in the target location area and the NR cell list does not include the serving cell, the second network element receives the first information sent by the first network element.
[0108] When the second network element detects a change in the location of the terminal device, the second network element sends a second request to the first network element based on the first information.
[0109] In this embodiment, the second network element can report the location of the terminal device to the first network element in real time, so that the second network element can determine a suitable strategy for the terminal device and select a suitable third network element through the strategy, thereby saving network node hops and reducing communication latency.
[0110] Please refer to Figure 8 , Figure 8 This is a schematic diagram of a policy determination device 800 according to an embodiment of this application. The policy determination device 800 is applied to a first network element and includes:
[0111] The first receiving module 801 is configured to receive a first request sent by the second network element when the second network element detects a change in the location of the terminal device. The first request includes the ID of the serving cell where the terminal device is located.
[0112] The first determining module 802 is used to determine the first location of the terminal device through the first request;
[0113] The second determining module 803 is used to determine the target policy corresponding to the first location when the first location is located at the target location. The target policy is used to determine the third network element corresponding to the first location. The third network element is used to determine the data packet forwarding and processing during the session.
[0114] Optionally, the second determining module 803 may further include:
[0115] The acquisition unit is used by the first network element to acquire the NR cell list;
[0116] The determining unit is configured to, when the NR cell list includes the serving cell, determine the target policy corresponding to the serving cell through the NR cell list.
[0117] Optionally, the first request further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located, and the policy determination device 800 further includes:
[0118] The first sending module is configured to send first information to the second network element when the location area corresponding to the tracking area code is not in the target location area and the NR cell list does not include the serving cell. The first information is used to trigger the second network element to send a second request to the first network element when the second network element detects that the location of the terminal device has changed.
[0119] The second receiving module is used by the first network element to receive the second request and determine the target strategy corresponding to the changed location of the terminal device based on the second request.
[0120] Optionally, the first request further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located, and the policy determination device 800 further includes:
[0121] The second sending module is used to send second information to the second network element when the location area corresponding to the tracking area code is in the target location area, but the NR cell list does not include the serving cell. The second information is used to trigger the second network element to send a third request to the first network element when the second network element detects a change in the location of the terminal device.
[0122] The third receiving module is used by the first network element to receive the third request and determine the target strategy corresponding to the changed location of the terminal device based on the third request.
[0123] The strategy determination device 800 provided in this application embodiment can perform the above-described... Figure 3 The method embodiments shown are similar in principle and technical effect, and will not be described again here.
[0124] Please refer to Figure 9 , Figure 9 This is a schematic diagram of another policy determination device in an embodiment of this application. The policy determination device 900 is applied to a second network element and includes:
[0125] The first receiving module 901 is used to receive third information sent by the terminal device when the location of the terminal device changes, the third information including the ID of the serving cell where the terminal device is located;
[0126] The first sending module 902 is used to send a first request to the first network element, wherein the first request includes the ID of the serving cell where the terminal device is located.
[0127] Optionally, the third information further includes: a tracking area code, the tracking area code being used to determine the location area of the terminal device; the policy determination device 900 further includes:
[0128] The second receiving module is configured to receive first information sent by the first network element when the location area corresponding to the tracking area code is not in the target location area and the NR cell list does not include the serving cell.
[0129] The second sending module is used to send a second request to the first network element based on the first information when the second network element detects a change in the location of the terminal device.
[0130] The strategy determination device 900 provided in this application embodiment can perform the above-described... Figure 7 The method embodiments shown are similar in principle and technical effect, and will not be described again here.
[0131] This application also provides an electronic device. Since the principle by which this electronic device solves the problem is similar to the strategy determination method in the embodiments of this application, the implementation of this electronic device can be found elsewhere. Figure 3 The implementation of the method shown will not be repeated here. Figure 10 As shown, the electronic device according to an embodiment of this application includes: a processor 1010, configured to read a program from a memory 1020 and execute the following processes:
[0132] When the second network element detects a change in the location of the terminal device, the first network element receives a first request sent by the second network element, the first request including: the ID of the serving cell where the terminal device is located;
[0133] The first network element determines the first location of the terminal device through the first request;
[0134] When the first location is at the target location, the first network element determines the target policy corresponding to the first location. The target policy is used to determine the third network element corresponding to the first location. The third network element is used to determine the packet forwarding and processing during the session.
[0135] Optionally, the processor 1010 is also configured to read the program in the memory 1020 and perform the following steps: the first network element determines the target policy corresponding to the first location, including:
[0136] The first network element obtains the NR cell list;
[0137] If the NR cell list includes the serving cell, the first network element determines the target policy corresponding to the serving cell through the NR cell list.
[0138] Optionally, the first request further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located; the processor 1010 is also used to read the program in the memory 1020 and perform the following steps:
[0139] After the first network element determines the first location of the terminal device through the first request, the method further includes:
[0140] If the location area corresponding to the tracking area code is not in the target location area and the NR cell list does not include the serving cell, the first network element sends first information to the second network element. The first information is used to trigger the second network element to send a second request to the first network element when the second network element detects that the location of the terminal device has changed.
[0141] The first network element receives the second request and determines the target strategy corresponding to the changed location of the terminal device based on the second request.
[0142] Optionally, the first request further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located; the processor 1010 is also used to read the program in the memory 1020 and perform the following steps:
[0143] After the first network element determines the first location of the terminal device through the first request, the method further includes:
[0144] If the location area corresponding to the tracking area code is in the target location area, but the NR cell list does not include the serving cell, the first network element sends second information to the second network element. The second information is used to trigger the second network element to send a third request to the first network element when the second network element detects a change in the location of the terminal device.
[0145] The first network element receives the third request and determines the target strategy corresponding to the changed location of the terminal device based on the third request.
[0146] Among them, Figure 10 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 1010 and memory represented by memory 1020 together. The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides the interface.
[0147] The electronic device provided in this application embodiment can perform the above-described functions. Figure 3 The method embodiments shown are similar in principle and technical effect, and will not be described again here.
[0148] This application also provides a computer-readable storage medium storing a computer program. When executed by a processor, this computer program implements the various processes of the above-described strategy determination method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0149] This application also provides a computer program product, including computer instructions. When executed by a processor, these computer instructions implement the various processes of the above-described strategy determination method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0150] 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 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.
[0151] 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 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.
[0152] 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 strategy determination method, characterized in that, Applied to the first network element, including: When the second network element detects a change in the location of the terminal device, the first network element receives a first request sent by the second network element, the first request including: the ID of the serving cell where the terminal device is located; The first network element determines the first location of the terminal device through the first request; When the first location is at the target location, the first network element determines the target policy corresponding to the first location. The target policy is used to determine the third network element corresponding to the first location. The third network element is used to determine the packet forwarding and processing during the session.
2. The method according to claim 1, characterized in that, The first network element determines the target policy corresponding to the first location, including: The first network element obtains the NR cell list; If the NR cell list includes the serving cell, the first network element determines the target policy corresponding to the serving cell through the NR cell list.
3. The method according to claim 2, characterized in that, The first request further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located; After the first network element determines the first location of the terminal device through the first request, the method further includes: If the location area corresponding to the tracking area code is not in the target location area and the NR cell list does not include the serving cell, the first network element sends first information to the second network element. The first information is used to trigger the second network element to send a second request to the first network element when the second network element detects that the location of the terminal device has changed. The first network element receives the second request and determines the target strategy corresponding to the changed location of the terminal device based on the second request.
4. The method according to claim 2, characterized in that, The first request further includes: a tracking area code, the tracking area code being used to determine the location area where the terminal device is located; After the first network element determines the first location of the terminal device through the first request, the method further includes: If the location area corresponding to the tracking area code is in the target location area, but the NR cell list does not include the serving cell, the first network element sends second information to the second network element. The second information is used to trigger the second network element to send a third request to the first network element when the second network element detects a change in the location of the terminal device. The first network element receives the third request and determines the target strategy corresponding to the changed location of the terminal device based on the third request.
5. A strategy determination method, characterized in that, Applied to the second network element, including: When the location of the terminal device changes, the second network element receives third information sent by the terminal device, the third information including the ID of the serving cell where the terminal device is located; The second network element sends a first request to the first network element, the first request including the ID of the serving cell where the terminal device is located.
6. The method according to claim 5, characterized in that, The third information also includes: a tracking area code, which is used to determine the location area of the terminal device; After the second network element receives the third information sent by the terminal device, the method further includes: If the location area corresponding to the tracking area code is not in the target location area and the NR cell list does not include the serving cell, the second network element receives the first information sent by the first network element. When the second network element detects a change in the location of the terminal device, the second network element sends a second request to the first network element based on the first information.
7. A strategy determination apparatus, characterized in that, Applied to the first network element, including: The first receiving module is configured to receive a first request sent by the second network element when the second network element detects a change in the location of the terminal device. The first request includes the ID of the serving cell where the terminal device is located. The first determining module is used to determine the first location of the terminal device based on the first request; The second determining module is used to determine the target policy corresponding to the first location when the first location is located at the target location. The target policy is used to determine the third network element corresponding to the first location. The third network element is used to determine the data packet forwarding and processing during the session.
8. A strategy determination device, characterized in that, Applied to the second network element, including: The first receiving module is configured to receive third information sent by the terminal device when the location of the terminal device changes, wherein the third information includes the ID of the serving cell where the terminal device is located; The first sending module is used to send a first request to a first network element, wherein the first request includes the ID of the serving cell where the terminal device is located.
9. An electronic device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the strategy determination method as claimed in any one of claims 1 to 4, and the steps of the strategy determination method as claimed in any one of claims 5 to 6.
10. A computer-readable storage medium for storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps in the strategy determination method as described in any one of claims 1 to 4, and the steps in the strategy determination method as described in any one of claims 5 to 6.