Service offloading method, electronic device and computer-readable storage medium
By passing DNN replacement policy information between the policy control network element PCF and the session management network element SMF and triggering PFCP session update, the problem of the inability to update DNN online in the existing technology to achieve service shunt is solved, and dynamic DNN replacement for online sessions is realized, which improves user experience and system performance.
Patent Information
- Application Number
- PCT/CN2024/108859
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-30
- Filing Date
- 2024-07-31
- Publication Date
- 2025-05-08
AI Technical Summary
The existing service shunt function based on DNN replacement needs to be reactivated after the DNN replacement is completed, and the service shunt cannot be achieved by updating the DNN online, which seriously affects the user's business experience.
By obtaining the policy control network element PCF in response to the notification request response of the contracted shunt service notification, it carries the first selected DNN replacement policy information, and sends a PDU session context update request to the session management network element SMF to trigger the SMF to select the UPF corresponding to the first selected DNN to initiate a PFCP session, and completes the DNN replacement policy of the contracted shunt service.
The dynamic DNN replacement of online sessions is realized, which avoids the signaling impact caused by user re-activation, improves the user's business experience, and effectively reduces the system load.
Smart Images

Figure CN2024108859_08052025_PF_FP_ABST
Abstract
Description
Business diversion method, electronic device and computer-readable storage medium
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 202311434858.4 filed on October 30, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of communication technology, and in particular to a service offloading method, an electronic device, and a computer-readable storage medium. Background Art
[0004] With the increasing adoption of 5G (5th-Generation Mobile Communication Technology), local traffic diversion services are offering improved user experiences (e.g., free local data traffic). In one exemplary traffic diversion scenario, operators hope to trigger traffic diversion by scanning a QR code, facilitating the push of service information or advertising. The 3rd Generation Partnership Project (3GPP) standard defines a DNN (Data Network Name) replacement mechanism, and operators hope to support local traffic diversion through DNN replacement.
[0005] However, the current service diversion function based on DNN replacement requires reactivation of the PDU (Protocol Data Unit) session after the DNN replacement is completed. The service diversion function cannot be achieved by updating the DNN online, which seriously affects the user's service experience.
[0006] Summary of the Invention
[0007] The main purpose of this application is to provide a service offloading method, an electronic device and a computer-readable storage medium.
[0008] To achieve the above-mentioned purpose, the present application provides a service offloading method, which is applied to the access and mobility management network element AMF, including: obtaining a notification request response sent by the policy control network element PCF in response to the contract offloading service notification, wherein the notification request response carries the first selected DNN replacement policy information, and the first selected DNN replacement policy information includes the first selected DNN for replacing the requested DNN; according to the notification request response, sending a first PDU session context update request to the session management network element SMF, wherein the first PDU session context update request carries the first PDU session policy information; wherein the first PDU session context update request is used to trigger the SMF to select the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement strategy of the contract offloading service.
[0009] In addition, to achieve the above-mentioned purpose, the present application also provides a service offloading method, which is applied to the session management network element SMF, including: obtaining a first PDU session context update request sent by the access and mobility management network element AMF, wherein the first PDU session context update request carries a request DNN and a first selected DNN to replace the request DNN; according to the PDU session context update request, establishing a replacement mapping relationship between the request DNN and the first selected DNN, and after establishing the replacement mapping relationship, selecting the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement strategy for the contracted offload service.
[0010] In addition, to achieve the above-mentioned purpose, the present application also provides a service diversion method, including: when the policy control network element PCF obtains the contract diversion service notification, the PCF responds to the contract diversion service notification to make a first-selected DNN replacement decision to obtain the first-selected DNN replacement policy information, wherein the first-selected DNN replacement policy information includes the first-selected DNN for replacing the requested DNN; the PCF sends a notification request response to the access and mobility management network element AMF, wherein the notification request response carries the first-selected DNN replacement policy information; the AMF sends a first PDU session context update request to the session management network element SMF in response to the notification request response, wherein the first PDU session context update request carries the first PDU session policy information; the SMF responds to the first PDU session policy information to establish a replacement mapping relationship between the requested DNN and the first selected DNN, and after establishing the replacement mapping relationship, selects the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement strategy of the contract diversion service.
[0011] In addition, to achieve the above-mentioned purpose, the present application also provides an access and mobility management network element, including: a memory, a processor, and a service diversion program stored on the memory and runnable on the processor, and when the service diversion program is executed by the processor, it implements the service diversion method as described above.
[0012] In addition, to achieve the above-mentioned purpose, the present application also provides a session management network element, including: a memory, a processor, and a service diversion program stored on the memory and runnable on the processor, and when the service diversion program is executed by the processor, it implements the service diversion method as described above.
[0013] In addition, to achieve the above-mentioned purpose, the present application also provides an electronic device, comprising: a memory, a processor, and a business diversion program stored on the memory and runnable on the processor, wherein the business diversion program implements the business diversion method as described above when executed by the processor.
[0014] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a business diversion program is stored. When the business diversion program is executed by a processor, the business diversion method as described above is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0016] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the following briefly introduces the drawings required for use in the embodiment or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0017] FIG1 is a flow chart of a first embodiment of a service offloading method of the present application;
[0018] FIG2 is a flow chart of a second embodiment of the service offloading method of the present application;
[0019] FIG3 is a schematic diagram of a network architecture based on a service-oriented interface proposed by 3GPP;
[0020] FIG4 is a schematic diagram of a process for implementing service diversion through DNN replacement in related art;
[0021] FIG5 is a flow chart of dynamic DNN replacement triggered by the subscription diversion service in an embodiment of the present application;
[0022] FIG6 is a flowchart of dynamic DNN replacement triggered by movement within the offload service application area in an embodiment of the present application;
[0023] FIG7 is a flowchart of dynamic DNN replacement triggered by moving out of the offload service application area in an embodiment of the present application;
[0024] FIG8 is a schematic diagram of the device structure of the hardware operating environment involved in the electronic device in this embodiment.
[0025] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0026] To make the above-mentioned purposes, features, and advantages of the present application more clearly understood, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.
[0027] Please refer to FIG3 , which is a schematic diagram of a network architecture based on a service-oriented interface proposed by 3GPP, wherein:
[0028] The Policy Control Function (PCF) is responsible for QoS (Quality of Service), billing, and access mobility policy control.
[0029] Access and Mobility Management Function (AMF): A core network control plane entity responsible for user mobility management, access authentication, and authorization. It also communicates user policies between the UE and the PCF.
[0030] The Session Management Function (SMF) supports the establishment, modification, and release of 3GPP and Non-3GPP sessions, is responsible for the allocation and management of UE IP addresses, and uniformly controls the implementation and termination of policies.
[0031] Application Functions (AFs), such as the server-side programs of various applications, can request policy authorization from the PCF for specific service flows. AFs establish N5 sessions with the PCF and provide the PCF with the service information and policy requirements (QoS, routing, etc.) required for policy authorization.
[0032] User Plane Function (UPF) is used for packet routing and forwarding, service detection, usage accumulation and reporting, as well as data packet transmission, replication and QoS assurance.
[0033] The Network Function Repository Function (NRF) is used to receive registration information of service providers so that service users can discover service providers.
[0034] With the promotion of 5G applications, local offload services have brought an improved experience to end users (such as free local traffic, etc.), but merchants also hope to add more business opportunities based on this service. Therefore, merchants hope that users can trigger service offload by scanning the code to facilitate their service push and advertisement insertion. The current process and usage of service offload through DNN replacement are shown in Figure 4. However, there are still the following defects: (1) During the DNN replacement process, the PDU session needs to be reactivated, affecting the user experience; (2) There is no means to dynamically update the DNN for online PDU sessions.
[0035] The embodiment of the present application is optimized based on the above-mentioned defects. The technical solution of the present application is to obtain the notification request response sent by the policy control network element PCF in response to the contract diversion service notification, wherein the notification request response carries the first-selected DNN replacement policy information, and the first-selected DNN replacement policy information includes the first-selected DNN for replacing the requested DNN, so that after the PCF perceives that the user uses the diversion service, it makes a decision based on user data information such as user location information, slice selection information and the user's contracted package information, and sends the ReplaceDNN policy (i.e., the first-selected DNN replacement policy information) to the AMF, carrying SelectedDNN (i.e., the first-selected DNN), and then the embodiment of the present application also sends the first PDU session uplink and downlink to the session management network element SMF based on the notification request response. The first PDU session context update request carries the first PDU session policy information, so that the AMF executes the ReplaceDNN logic according to the configuration to update the user's DNN information. The AMF initiates a PDU session context update process (i.e., the first PDU session context update request) to the corresponding SMF through the N11 interface, carrying SelectedDNN, wherein the first PDU session context update request is used to trigger the SMF to select the UPF corresponding to the first selected DNN to initiate a PFCP session, so that the DNN can be dynamically replaced online for users using the diversion service, avoiding user deactivation and reactivation affecting the user experience, and the user does not need to reactivate to use the diversion service; after the user moves outside the non-business travel diversion area, the SMF initiates a session update to cancel the relevant diversion policy.
[0036] That is, the current service diversion function based on DNN replacement requires reactivation of the PDU (Protocol Data Unit) session after the DNN replacement is completed. The service diversion function cannot be achieved by updating the DNN online, which seriously affects the user's service experience.
[0037] Example 1
[0038] Based on this, please refer to Figure 1. This embodiment provides a service diversion method, which is applied to the access and mobility management network element AMF, including: step S10, obtaining the notification request response sent by the policy control network element PCF in response to the contract diversion service notification, wherein the notification request response carries the first-selected DNN replacement policy information, and the first-selected DNN replacement policy information includes the first-selected DNN for replacing the requested DNN; the business scenarios in which the service diversion method of the embodiment of the present application is applied include popular scenic spot crowd guidance, virtual tourism, portable tour guides, large-scale shopping mall advertising promotion, transportation hub cloud games, AR (Augmented Reality, augmented reality) / VR (Virtual Reality, virtual reality) and other applications.
[0039] In this embodiment, the first selected DNN replacement strategy information includes a first selected DNN that replaces the request DNN.
[0040] After step S10, execute step S20, and send a first PDU session context update request to the session management network element SMF according to the notification request response, wherein the first PDU session context update request carries the first PDU session policy information; wherein the first PDU session context update request is used to trigger the SMF to select the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement strategy of the contracted diversion service.
[0041] In this embodiment, the first PDU session context update request carries first PDU session policy information.
[0042] Exemplarily, the step of sending a first PDU session context update request to the session management network element SMF according to the notification request response includes: step A10, configuring the first PDU session policy information according to the notification request response, wherein the first PDU session policy information is to replace the current session DNN from the request DNN to the first selected DNN; step A20, after configuring the first PDU session policy information, sending the first PDU session context update request to the session management network element SMF.
[0043] The embodiment of the present application involves modifying the protocol session management service standard specification. When the AMF receives the ReplaceDNN policy (i.e., the first selected DNN replacement policy information) issued by the PCF, it executes the ReplaceDNN logic according to the local configuration, and at the same time initiates the PDU (Protocol Data Unit) session context update process (i.e., the above-mentioned first PDU session context update request) to the SMF, carrying the SelectedDNN information (i.e., the first selected DNN). The SMF finds the UPF based on the SelectedDNN, TAI (Tracking Area Identity) and corresponding rules and initiates the modification of the PFCP session to establish a diversion strategy, thereby meeting various business application requirements.
[0044] The present application proposes a service offloading method, an electronic device and a computer-readable storage medium. In the service offloading method, the technical solution of the embodiment of the present application is to obtain a notification request response sent by a policy control network element PCF in response to a contracted offload service notification, wherein the notification request response carries first-selected DNN replacement policy information, and the first-selected DNN replacement policy information includes a first-selected DNN for replacing the requested DNN, so that after the PCF perceives that the user uses the offload service, it makes a decision based on user data information such as user location information, slice selection information and the user's contracted package information, and sends a ReplaceDNN policy (i.e., the first-selected DNN replacement policy information) to the AMF, carrying SelectedDNN (i.e., the first-selected DNN). Then, the embodiment of the present application also sends a first PDU session context update request to the session management network element SMF based on the notification request response, wherein the first PDU session context update request carries the first PDU session policy information, so that the AMF executes ReplaceDNN according to the configuration. NN logic, updates the user's DNN information, and AMF initiates a PDU session context update process (i.e., the first PDU session context update request) to the corresponding SMF through the N11 interface, carrying SelectedDNN, wherein the first PDU session context update request is used to trigger SMF to select the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement strategy for the contracted diversion service, so that SMF establishes an association between the original DNN and SelectedDNN, finds the corresponding UPF according to SelectedDNN and user data information, and initiates the modification of the PFCP session to establish a diversion strategy, thereby realizing dynamic DNN replacement of online sessions to achieve service diversion. During the implementation process, there is no need to kick users offline, reducing the signaling impact on core network elements such as wireless, AMF and SMF, effectively reducing the system load, and at the same time, other services currently being used by users are not interrupted, and users are unaware, thereby improving the user's service experience, thereby solving the current technical problem that service diversion cannot be achieved by updating DNN online.
[0045] This embodiment of the present application provides a method for dynamically replacing DNNs for online sessions of users using diversion services entering a business travel area. This can avoid the signaling impact on wireless, AMF, and SMF caused by user reactivation. By replacing DNNs for online sessions, users do not need to reconnect, improving the user experience. After the user leaves the business travel area, the SMF detects changes in cell location and DNN information and automatically cancels the classified DNN policy.
[0046] In one practicable manner, after the step of configuring the first PDU session policy information according to the notification request response, the method further includes: step B10, sending a policy association update notification response to the session management network element SMF.
[0047] This application sends a policy association update notification response to the session management network element SMF, thereby informing the session management network element SMF that the AMF has completed the configuration of the first PDU session policy information, that is, the current session DNN has been replaced from the request DNN to the first selected DNN.
[0048] In a possible implementation, the method further includes: step C10, when the user equipment UE (User Equipment) moves within the preset diversion service application area and / or the contracted diversion service changes, it is determined whether an AM policy association session update is required based on local pre-configured rule information and user data information; in this embodiment, the user data information includes slice selection information and the location information and / or number information of the UE.
[0049] Step C20: When it is determined that the AM policy association session needs to be updated, an AM policy association update request is sent to the PCF; wherein the AM policy association update request carries the user data information.
[0050] Step C30, after receiving the AM policy association update response returned by the PCF, configure the second PDU session policy information according to the policy association update response; in this embodiment, the policy association update response carries the second DNN replacement policy information, and the second PDU session policy information is to replace the current session DNN from the first selected DNN to the second selected DNN.
[0051] Step C40: After configuring the second PDU session policy information, a second PDU session context update request is sent to the SMF. In this embodiment, the second PDU session context update request carries the second PDU session policy information. The second PDU session policy information is used to trigger the SMF to select the UPF corresponding to the second selected DNN to initiate a PFCP session.
[0052] In this embodiment, when the user equipment UE moves within the preset offload service application area and / or the subscribed offload service changes, it is determined whether an AM policy association session update is required based on the locally pre-configured rule information and user data information, and then, when it is determined that an AM policy association session update is required, an AM policy association update request is sent to the PCF; after receiving the AM policy association update response returned by the PCF, the second PDU session policy information is configured according to the policy association update response, and after the second PDU session policy information is configured, a second PDU session context update request is sent to the SMF, and the second PDU session context update request carries the second PDU session context update request. DU session policy information, wherein the second PDU session policy information is used to trigger the SMF to select the UPF corresponding to the second selected DNN to initiate a PFCP session, thereby providing an online dynamic DNN replacement process when a user moves in a specific area, realizing dynamic DNN replacement of online sessions to achieve service diversion. When the user equipment UE moves within the preset diversion service application area and / or the contracted diversion service changes, the DNN replacement can be performed online without kicking the user offline, reducing the signaling impact on core network elements such as wireless, AMF and SMF, effectively reducing the system load, and at the same time, other services currently being used by the user are not interrupted, the user is unaware, and the user's service usage experience is improved.
[0053] In a possible embodiment, the method also includes: step D10, when the location of the user equipment UE moves out of the preset diversion service application area to the new target area, the current session DNN in the configured first PDU session policy information is restored to the requested DNN to obtain the third PDU session policy information; step D20, sending a third PDU session context update request to the session management network element SMF, wherein the third PDU session context update request carries the third PDU session policy information; wherein the third PDU session policy information is used to trigger the session management network element SMF to cancel the recovery and select the UPF corresponding to the requested DNN to initiate the PFCP session to revoke the DNN replacement policy of the contracted diversion service.
[0054] In an embodiment of the present application, when the location of a user equipment (UE) moves from a preset offload service application area to a new target area, the current session DNN in the configured first PDU session policy information is restored to the requested DNN, thereby obtaining third PDU session policy information. A third PDU session context update request is sent to a session management network element (SMF), wherein the third PDU session context update request carries the third PDU session policy information. The third PDU session policy information is used to trigger the session management network element (SMF) to cancel the PFCP session initiated by the UPF corresponding to the selected requested DNN, thereby revoking the DNN replacement policy for the contracted offload service. Therefore, when a user leaves a business travel area and accesses an AMF in a non-business travel area, the ReplaceDNN policy synchronized from the business travel AMF context is automatically revoked, and a session update is initiated to the SMF. The SMF detects that the reported DNN and TA do not match the DNN and TA corresponding to the existing offload service, and then deletes the offload policy of SelectedDNN, effectively ensuring that the user's current service is not interrupted and the user is unaware of it, thereby improving the user's service experience and further ensuring that service offload can be achieved through online DNN updates.
[0055] In order to help understand the technical principles of the embodiments of the present application, a specific embodiment 1 is listed, including: the embodiment of the present application proposes a method for implementing dynamic DNN replacement. After the PCF perceives that the user is using the diversion service (i.e., the contracted diversion service), it makes a decision based on the user's location information, slice selection information, and the user's contracted package information, and sends the ReplaceDNN policy (i.e., the first selected DNN replacement policy information) to the AMF, carrying the Selected DNN (i.e., the first selected DNN). The AMF executes the ReplaceDNN logic according to the configuration and updates the user's DNN information. The AMF initiates a PDU session context update process (i.e., the first PDU session context update request) to the corresponding SMF through the N11 interface, carrying the SelectedDNN. The SMF establishes an association between the original DNN and the SelectedDNN, finds the UPF based on the SelectedDNN, TAI, and corresponding rules, and initiates the modification of the PFCP (Packet Forwarding Control Protocol) session to establish a diversion strategy, diverting the user's subsequent services, thereby meeting various business application requirements. The specific application scenarios are as follows: (1) The user enters the business travel area and accesses the roaming PCF through the commercial area AMF. (2) The user scans the code to use the diversion service, and the code scanning platform pushes the contract service change notification to the PCF through the NEF. (3) The PCF makes a decision based on the local configuration, user location information and user contract package information, and sends the ReplaceDNN policy to the AMF, carrying the SelectedDNN information. (4) The AMF executes the ReplaceDNN logic according to the configuration, but does not kick the user offline. Instead, it initiates the PDU session context update process to the SMF where the session is located through the N11 interface, carrying the SelectedDNN information.
[0056] This embodiment needs to add a selectedDNN field in the N11 interface PDU session context update request, and this field complies with the definition of the DNN type defined by the 3GPP standard.
[0057] (5) After receiving the session update request, the SMF establishes a mapping between the original DNN and the SelectedDNN. Based on the SelectedDNN, TAI, and corresponding rules, it finds the UPF and initiates a modification of the PFCP session to establish a diversion strategy and divert the user's subsequent services. Specifically, the SMF establishes an association between the original DNN and the SelectedDNN, and diverts traffic through the SelectedDNN during subsequent service usage.
[0058] (6) When the user leaves the business travel area and accesses the AMF from the non-business travel area, the ReplaceDNN policy synchronized from the business travel AMF context is automatically revoked, and a session update is initiated to the SMF. The SMF detects that the reported DNN and TA do not match the DNN and TA corresponding to the existing diversion service, and then deletes the diversion policy of SelectedDNN.
[0059] Through the method of the embodiment of the present application, dynamic DNN replacement is performed on online sessions to achieve service diversion. During the implementation process, there is no need to kick users offline, which reduces the signaling impact on core network elements such as wireless, AMF and SMF, effectively reduces the system load, and at the same time, other user services are not interrupted and the user is unaware, thereby improving the user's service usage experience.
[0060] In this embodiment, the DNN replacement decision network element PCF is a policy decision network element defined in the 3GPP5G architecture, and can also be a platform for other third parties to directly open their ability to interact with AMF.
[0061] In addition, PCF can pass the destination DNN (i.e., the first selected DNN) to AMF by passing the service ID / service type, configuring the mapping relationship between the service ID / service type and the DNN in SMF, and SMF can achieve DNN replacement by searching the configured mapping relationship to reduce the length of information transmitted on each interface.
[0062] This embodiment provides a method and apparatus for dynamically replacing DNNs for online sessions of users using diversion services who enter a business travel area. This approach avoids the signaling impact on wireless, AMF, and SMF caused by user reactivation. By replacing DNNs for online sessions, users do not need to reconnect, improving the user experience. After a user leaves a business travel area, the SMF detects changes in cell location and DNN information and automatically deactivates the classified DNN policy.
[0063] The many details described in this specific embodiment are only helpful for understanding the technical concept of the present application and do not constitute a limitation of the present application. More simple transformations based on the technical concept of the present application should all fall within the scope of protection of the present application.
[0064] Example 2
[0065] Based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated hereafter. On this basis, please refer to Figure 2. This embodiment also provides a service diversion method, which is applied to the session management network element SMF, including: step S30, obtaining a first PDU session context update request sent by the access and mobility management network element AMF, wherein the first PDU session context update request carries a request DNN and a first selected DNN for replacing the request DNN; step S40, establishing a replacement mapping relationship between the request DNN and the first selected DNN according to the PDU session context update request, and after establishing the replacement mapping relationship, selecting the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement strategy for the contracted diversion service.
[0066] In an embodiment of the present application, a first PDU session context update request is obtained by obtaining a first PDU session context update request sent by an access and mobility management network element AMF, wherein the first PDU session context update request carries a request DNN and a first selected DNN to replace the request DNN. Then, according to the PDU session context update request, a replacement mapping relationship between the request DNN and the first selected DNN is established. After establishing the replacement mapping relationship, the UPF corresponding to the first selected DNN is selected to initiate a PFCP session to complete the DNN replacement strategy for the contracted diversion service. As a result, the embodiment of the present application establishes an association between the original DNN and the Selected DNN (i.e., the first selected DNN) through the SMF, finds the corresponding UPF according to the Selected DNN and user data information, and initiates the modification of the PFCP session to establish a diversion strategy, thereby realizing dynamic DNN replacement for online sessions to achieve service diversion. During the implementation process, there is no need to kick users offline, reducing the signaling impact on core network elements such as wireless, AMF, and SMF, effectively reducing the system load, and at the same time, other services currently being used by the user are not interrupted, and the user is unaware, thereby improving the user's service usage experience, thereby solving the current technical problem that service diversion cannot be achieved by updating the DNN online.
[0067] This embodiment of the present application provides a method for dynamically replacing DNNs for online sessions of users using diversion services entering a business travel area. This can avoid the signaling impact on wireless, AMF, and SMF caused by user reactivation. By replacing DNNs for online sessions, users do not need to reconnect, improving the user experience. After the user leaves the business travel area, the SMF detects changes in cell location and DNN information and automatically cancels the classified DNN policy.
[0068] In a possible implementation, after the step of establishing a replacement mapping relationship between the request DNN and the first selected DNN, the method further includes: step E10, sending a first PDU session context update response to the AMF.
[0069] This application sends a first PDU session context update response to AMF, thereby informing AMF that the session management network element SMF has completed the establishment of the replacement mapping relationship between the requested DNN and the first selected DNN.
[0070] In one practicable manner, the method further includes: step F10, obtaining a second PDU session context update request sent by the AMF, wherein the second PDU session context update request carries the second PDU session policy information, and the second PDU session policy information is to replace the current session DNN from the first selected DNN to the second selected DNN; step F20, according to the second PDU session context update request, establishing a replacement association relationship between the first selected DNN and the second selected DNN, and after establishing the replacement association relationship, selecting the UPF corresponding to the second selected DNN to initiate a PFCP session.
[0071] After the step of establishing a replacement association relationship between the first selected DNN and the second selected DNN, the method further includes: step G10, sending a second PDU session context update response to the AMF.
[0072] In this embodiment, by sending a second PDU session context update response to the AMF, the AMF is informed that the session management network element SMF has completed the establishment of the replacement mapping relationship between the first selected DNN and the second selected DNN, and has initiated a PFCP session to the UPF based on the second selected DNN.
[0073] This embodiment obtains a second PDU session context update request sent by the AMF, wherein the second PDU session context update request carries second PDU session policy information, where the second PDU session policy information is to replace the current session DNN from the first selected DNN to the second selected DNN, and establishes a replacement association relationship between the first selected DNN and the second selected DNN according to the second PDU session context update request. After the replacement association relationship is established, the UPF corresponding to the second selected DNN is selected to initiate a PFCP session, thereby providing a DNN replacement process when a user moves in a specific area, realizing dynamic DNN replacement for online sessions to achieve service offloading. When the user equipment UE moves within a preset offload service application area and / or the contracted offload service changes, the DNN replacement can be performed online without kicking the user offline, reducing the signaling impact on core network elements such as wireless, AMF, and SMF, and effectively reducing the system load. At the same time, other services currently being used by the user are not interrupted and the user is unaware, thereby improving the user's service usage experience.
[0074] In a possible embodiment, the method also includes: step H10, obtaining a third PDU session context update request sent by the AMF, wherein the third PDU session context update request carries the third PDU session policy information, and the third PDU session policy information is to restore the current session DNN from the first selected DNN to the requested DNN; step H20, based on the third PDU session policy information, after identifying that the current session DNN does not match the DNN selected corresponding to the contracted diversion service, releasing the replacement mapping relationship, and restoring to selecting the UPF corresponding to the requested DNN to initiate the PFCP session to cancel the DNN replacement policy of the contracted diversion service.
[0075] After the step of releasing the replacement mapping relationship, the method further includes: step I10, sending a third PDU session context update response to the AMF.
[0076] In this embodiment, by sending a third PDU session context update response to the AMF, the AMF is informed that the DNN replacement strategy for the currently signed diversion service has been revoked.
[0077] This embodiment obtains a third PDU session context update request sent by the AMF, wherein the third PDU session context update request carries third PDU session policy information. The third PDU session policy information is to restore the current session DNN from the first selected DNN to the requested DNN. After identifying that the current session DNN does not match the selected DNN corresponding to the contracted offload service based on the third PDU session policy information, the replacement mapping relationship is released, and the UPF corresponding to the selected requested DNN is restored to initiate a PFCP session to cancel the DNN replacement policy of the contracted offload service. Therefore, when the user leaves the business travel area and accesses the AMF from the non-business travel area, the ReplaceDNN policy synchronized from the business travel AMF context is automatically revoked, and a session update is initiated to the SMF. The SMF detects that the reported DNN and TA do not match the DNN and TA corresponding to the existing offload service, and then deletes the offload policy of SelectedDNN, effectively ensuring that the service currently being used by the user is not interrupted and the user is unaware, thereby improving the user's service usage experience and further ensuring that service offload can be achieved through online DNN update.
[0078] Example 3
[0079] Based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later. On this basis, this embodiment also provides a service offloading method, which includes: step S50, when the policy control network element PCF obtains the contract offload service notification, the PCF responds to the contract offload service notification to make a first-selected DNN replacement decision to obtain the first-selected DNN replacement policy information, wherein the first-selected DNN replacement policy information includes the first-selected DNN for replacing the requested DNN; step S60, sending a notification request response to the access and mobility management network element AMF through the PCF, wherein the notification request response carries the first-selected DNN replacement policy information; step S70, sending a first PDU session context update request to the session management network element SMF through the AMF in response to the notification request response, wherein the first PDU session context update request carries the first PDU session policy information; step S80, establishing a replacement mapping relationship between the request DNN and the first selected DNN through the SMF in response to the first PDU session policy information, and after establishing the replacement mapping relationship, selecting the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement strategy of the contract offload service.
[0080] In the embodiment of the present application, when the policy control network element PCF obtains the contract diversion service notification, the PCF makes a first-selected DNN replacement decision in response to the contract diversion service notification, and obtains the first-selected DNN replacement policy information, wherein the first-selected DNN replacement policy information includes the first-selected DNN for replacing the requested DNN, and then sends a notification request response to the access and mobility management network element AMF through the PCF, wherein the notification request response carries the first-selected DNN replacement policy information, and then sends a first PDU session context update request to the session management network element SMF in response to the notification request response through the AMF, wherein the first PDU session context update request carries the first PDU session policy information, and then establishes the requested DNN and the first-selected DNN in response to the first PDU session policy information through the SMF. N's replacement mapping relationship, and after establishing the replacement mapping relationship, select the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement strategy of the contracted diversion service, so that SMF establishes the association between the original DNN and SelectedDNN, finds the corresponding UPF according to SelectedDNN and user data information, and initiates the modification of the PFCP session to establish a diversion strategy, realizing dynamic DNN replacement of online sessions to achieve service diversion. During the implementation process, there is no need to kick users offline, reducing the signaling impact on core network elements such as wireless, AMF and SMF, effectively reducing the system load, and at the same time, other services currently being used by users are not interrupted, and users are unaware, which improves the user's service experience, thereby solving the current technical problem that service diversion cannot be achieved by updating DNN online.
[0081] This embodiment of the present application provides a method for dynamically replacing DNNs for online sessions of users using diversion services entering a business travel area. This can avoid the signaling impact on wireless, AMF, and SMF caused by user reactivation. By replacing DNNs for online sessions, users do not need to reconnect, improving the user experience. After the user leaves the business travel area, the SMF detects changes in cell location and DNN information and automatically cancels the classified DNN policy.
[0082] In one possible implementation, the step of sending a first PDU session context update request to the SMF through the AMF in response to the notification request response includes: step J10, configuring the first PDU session policy information through the AMF in response to the notification request response, wherein the first PDU session policy information is to replace the current session DNN from the request DNN to the first selected DNN; step J20, after configuring the first PDU session policy information, sending a first PDU session context update request to the SMF.
[0083] In one practicable manner, after the AMF configures the first PDU session policy information in response to the notification request response, the method further includes: step K10, sending a policy association update notification response to the SMF through the AMF.
[0084] In a possible implementation, after the step of establishing a replacement mapping relationship between the request DNN and the first selected DNN, the method further includes: step K10, sending a first PDU session context update response to the AMF through the SMF.
[0085] In an implementable manner, the method further includes: step L10, when the user equipment UE moves within the preset diversion service application area and / or the contracted diversion service changes, the AMF determines whether an AM policy association session update is required based on the locally pre-configured rule information and user data information, wherein the user data information includes slice selection information and the UE's location information and / or number information; step L20, when it is determined that an AM policy association session update is required, the AMF sends an AM policy association update request to the PCF, wherein the AM policy association update request carries the user data information; step L30, the PCF makes a second DNN replacement decision in response to the AM policy association update request to obtain the second DNN replacement policy information, wherein the second DNN replacement policy information includes a second selected DNN that replaces the first selected DNN; step L40, through Send a policy association update response to AMF through PCF, wherein the policy association update response carries the second DNN replacement policy information; step L50, configure the second PDU session policy information in response to the policy association update response through AMF, wherein the second PDU session policy information is to replace the current session DNN from the first selected DNN to the second selected DNN; step L60, after configuring the second PDU session policy information, send a second PDU session context update request to SMF through AMF, wherein the second PDU session context update request carries the second PDU session policy information; step L70, respond to the second PDU session context update request through SMF, establish a replacement association relationship between the first selected DNN and the second selected DNN, and after establishing the replacement association relationship, select the UPF corresponding to the second selected DNN to initiate a PFCP session.
[0086] After the step of establishing a replacement association relationship between the first selected DNN and the second selected DNN, the method further includes: step N10, sending a second PDU session context update response to AMF through SMF.
[0087] In a possible embodiment, the method also includes: step M10, when the location of the user equipment UE moves out of the preset diversion service application area to the new target area, the current session DNN in the configured first PDU session policy information is restored to the request DNN through the AMF to obtain the third PDU session policy information; step M20, sending a third PDU session context update request to the SMF through the AMF, wherein the third PDU session context update request carries the third PDU session policy information; step M30, after the SMF responds to the third PDU session policy information and identifies that the current session DNN does not match the DNN selected corresponding to the contracted diversion service, the replacement mapping relationship is released, and the UPF corresponding to the request DNN is restored to initiate the PFCP session to cancel the DNN replacement policy of the contracted diversion service.
[0088] After the step of releasing the replacement mapping relationship, the method further includes: step O10, sending a third PDU session context update response to AMF through SMF.
[0089] The service offloading method provided in the embodiments of this application utilizes the same or similar technical features as those in the first and second embodiments described above, and can resolve the current technical problem of being unable to implement service offloading through online DNN updates. Compared to the prior art, the beneficial effects of the service offloading device provided in the embodiments of this application are the same as those of the service offloading method provided in the first embodiment described above. The other technical features of the service offloading method are the same as those disclosed in the first embodiment described above, and are not further elaborated here.
[0090] In order to help understand the technical principles of the embodiments of the present application, a specific embodiment 2 is listed, including: please refer to Figure 5, which is a dynamic DNN replacement flow chart triggered by the contract diversion service in the embodiment of the present application, wherein: Step 1: UE moves to the AMF service range of the business travel area (i.e., the diversion service application area) and switches to the business travel area AMF access; Step 2: UE registers with the business travel area AMF, and AMF establishes an AM policy association session for the user through the N15 interface; Step 3: AMF sends an AM policy association establishment request to PCF, carrying information such as user number, user location, DNN and slice, and an indication of support for DNN replacement capability; Step 4: PCF makes a policy decision based on user location, slice selection information and user contract, and decides a list of DNNs that the user can use. Then PCF returns an AM policy association establishment response to AMF, carrying user access-related policies, and subscribes to DNN replacement-related events (SMF_SELECT_CH); Step 5: The user scans the code through a third-party scanning platform to register and use the merchant promotion service; Step 6: The third-party scanning platform sends the user information to NEF (Network Exposure Function, network open network element); Step 7: NEF sends the package information of the user's contracted diversion service to PCF; Step 8: PCF makes a decision based on the user's access location, slice information, user-contracted package information, and local rule configuration to generate a DNN replacement strategy; Step 9: PCF sends an AM policy association update notification request to AMF, carrying the ReplaceDNN strategy, including SelectedDNN; Step 10: AMF stores the ReplaceDNN strategy and sends an AM policy association update response to PCF; Step 11: AMF sends a PDU session context update request to SMF, carrying user location information, slice information and SelectedDNN; Step 12: SMF creates a mapping relationship between the original DNN and SelectedDNN, and sends a PDU session context update response to AMF; Step 13: SMF selects UPF based on SelectedDNN, user location and corresponding rules, and initiates a PFCP session update or establishment request to start the diversion strategy.
[0091] In this embodiment, the DNN replacement decision network element PCF is a policy decision network element defined in the 3GPP5G architecture, and can also be a platform for other third parties to directly open their ability to interact with AMF.
[0092] In addition, PCF can pass the destination DNN (i.e., the first selected DNN) to AMF by passing the service ID / service type, configuring the mapping relationship between the service ID / service type and the DNN in SMF, and SMF can achieve DNN replacement by searching the configured mapping relationship to reduce the length of information transmitted on each interface.
[0093] The many details described in the second specific embodiment are only helpful for understanding the technical concept of the present application and do not constitute a limitation of the present application. More simple transformations based on the technical concept of the present application should all be within the scope of protection of the present application.
[0094] In addition, in order to help understand the technical principles of the embodiments of the present application, a specific embodiment three is listed, including:. Please refer to Figure 6, Figure 6 is a dynamic DNN replacement flow chart triggered by movement within the diversion service application area in the embodiment of the present application, wherein: Step 1: UE moves within the service range of the AMF in the business travel area and accesses through the AMF in the business travel area; Step 2: AMF detects that the user's location has changed or the service used has changed, and determines that an AM policy association session update is required based on the local configuration and previously saved user information; Step 3: AMF sends an AM policy association update request to PCF, carrying information such as user number, user location, slice information and requested DNN; Step 4: PCF updates the AM policy association session based on the user's location The PCF makes a policy decision based on the location, slice selection information, requested DNN and user contract, and decides on SelectDNN; Step 5: PCF returns the AM policy association update response to AMF, carrying SelectDNN; Step 6: AMF sends a PDU session context update request to SMF, carrying user location information, slice information and SelectedDNN; Step 7: SMF creates a mapping relationship between the original DNN and SelectedDNN, and sends a PDU session context update response to AMF; Step 8: SMF selects UPF according to SelectedDNN, user location and corresponding rules, and initiates a PFCP session update or establishment request to start the diversion strategy.
[0095] In this embodiment, the DNN replacement decision network element PCF is a policy decision network element defined in the 3GPP5G architecture, and can also be a platform for other third parties to directly open their ability to interact with AMF.
[0096] In addition, PCF can pass the destination DNN (i.e., the first selected DNN) to AMF by passing the service ID / service type, configuring the mapping relationship between the service ID / service type and the DNN in SMF, and SMF can achieve DNN replacement by searching the configured mapping relationship to reduce the length of information transmitted on each interface.
[0097] The many details described in this specific embodiment 3 are only helpful for understanding the technical concept of this application and do not constitute a limitation of this application. More simple transformations based on the technical concept of this application should all be within the scope of protection of this application.
[0098] In addition, in order to help understand the technical principles of the embodiments of the present application, a specific embodiment four is listed, including: please refer to Figure 7, Figure 7 is a dynamic DNN replacement flowchart triggered by moving out of the diversion service application area in the embodiment of the present application, wherein: Step 1: The UE moves out of the business travel area and accesses from other non-business travel AMFs, and the ReplaceDNN policy synchronized from the business travel AMF context by the non-business travel AMF is automatically revoked; Step 2: The AMF initiates a PDU session context update request to the SMF, carrying TAI, DNN and slice information; Step 3: The SMF returns a PDU session context update response message to the AMF; Step 4: The SMF detects that the reported DNN and TAI (Tracking Area Identity) do not match the DNN and TA corresponding to the existing ULCL (Uplink Classifier, uplink diverter) diversion, triggering the deletion of the diversion policy; Step 5: The SMF initiates a PFCP session update process, revokes the diversion policy, and the SMF replaces the previous DNN for the online PDU session recovery.
[0099] In this embodiment, the DNN replacement decision network element PCF is a policy decision network element defined in the 3GPP5G architecture, and can also be a platform for other third parties to directly open their ability to interact with AMF.
[0100] In addition, PCF can pass the destination DNN (i.e., the first selected DNN) to AMF by passing the service ID / service type, configuring the mapping relationship between the service ID / service type and the DNN in SMF, and SMF can achieve DNN replacement by searching the configured mapping relationship to reduce the length of information transmitted on each interface.
[0101] The many details described in the fourth specific embodiment are only helpful for understanding the technical concept of the present application and do not constitute a limitation of the present application. More simple transformations based on the technical concept of the present application should all fall within the scope of protection of the present application.
[0102] Example 4
[0103] An embodiment of the present application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the service diversion method in the above-mentioned embodiment one.
[0104] With reference to Figure 8 below, it shows the structural representation of the electronic device that is suitable for realizing the embodiment of the present disclosure.As shown in Figure 8, electronic equipment may include processing means 1001 (such as central processing unit, graphics processing unit, etc.), which can perform various appropriate actions and processes according to the program stored in read-only memory (ROM1002) or the program loaded into random access memory (RAM1004) from storage device.In RAM1004, various programs and data required for electronic device operation are also stored.Processing means 1001, ROM1002 and RAM1004 are connected to each other by bus 1005. Input / output (I / O) interface is also connected to bus 1005.
[0105] Typically, the following systems may be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have alternatively.
[0106] According to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0107] The electronic device provided in this application utilizes the service diversion method in the above-mentioned embodiment to solve the current technical problem of being unable to implement service diversion through online DNN updates. Compared with the prior art, the beneficial effects of the electronic device provided in the embodiment of this application are the same as the beneficial effects of the service diversion method provided in the above-mentioned embodiment, and the other technical features of the electronic device are the same as those disclosed in the method of the previous embodiment, which will not be repeated here.
[0108] The various parts of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any appropriate manner in any one or more embodiments or examples.
[0109] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
[0110] Example 5
[0111] An embodiment of the present application provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the service offloading method in the above embodiment.
[0112] The computer-readable storage medium provided in the embodiment of the present application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. A more specific example of a computer-readable storage medium can include, but is not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by an instruction execution system, a system or a device or used in combination therewith. The program code contained in the computer-readable storage medium can be transmitted with any appropriate medium, including but not limited to: an electric wire, an optical cable, RF (radio frequency), etc., or any suitable combination thereof.
[0113] The computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0114] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by an electronic device, the electronic device: obtains a notification request response sent by the policy control network element PCF in response to the subscription diversion service notification, wherein the notification request response carries the first selected DNN replacement policy information, and the first selected DNN replacement policy information includes the first selected DNN to replace the requested DNN; according to the notification request response, sends a first PDU session context update request to the session management network element SMF, wherein the first PDU session context update request carries the first PDU session policy information; wherein the first PDU session context update request is used to trigger the SMF to select the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement policy of the subscription diversion service. Alternatively, obtain the first PDU session context update request sent by the access and mobility management network element AMF, wherein the first PDU session context update request carries the requested DNN and the first selected DNN to replace the requested DNN;
[0115] According to the PDU session context update request, a replacement mapping relationship between the request DNN and the first selected DNN is established. After the replacement mapping relationship is established, the UPF corresponding to the first selected DNN is selected to initiate a PFCP session to complete the DNN replacement strategy for the contracted diversion service. Alternatively, when the policy control network element PCF obtains the contract diversion service notification, the PCF makes a first-selected DNN replacement decision in response to the contract diversion service notification to obtain the first-selected DNN replacement policy information, wherein the first-selected DNN replacement policy information includes the first-selected DNN for replacing the requested DNN; the PCF sends a notification request response to the access and mobility management network element AMF, wherein the notification request response carries the first-selected DNN replacement policy information; the AMF sends a first PDU session context update request to the session management network element SMF in response to the notification request response, wherein the first PDU session context update request carries the first PDU session policy information; the SMF responds to the first PDU session policy information to establish a replacement mapping relationship between the requested DNN and the first selected DNN, and after establishing the replacement mapping relationship, selects the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement strategy for the contract diversion service.
[0116] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0117] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0118] The modules involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0119] The computer-readable storage medium provided in this application stores computer-readable program instructions for executing the aforementioned service offloading method, resolving the current technical issue of being unable to implement service offloading via online DNN updates. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this embodiment of the application are the same as those of the service offloading methods provided in Examples 1 through 3 above, and are not further elaborated here.
[0120] Example 6
[0121] An embodiment of the present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned service offloading method when executed by a processor.
[0122] The computer program product provided in this application can solve the current technical problem of being unable to implement service offload through online DNN updates. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this application are the same as the beneficial effects of the service offload methods provided in Examples 1 to 3 above, and will not be repeated here.
[0123] The above are merely optional embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A service offloading method, applied to an access and mobility management network element AMF, comprising: Obtaining a notification request response sent by a policy control network element PCF in response to a subscription offload service notification, wherein the notification request response carries first selected DNN replacement policy information, and the first selected DNN replacement policy information includes a first selected DNN for replacing the request DNN; Sending a first PDU session context update request to the session management network element SMF according to the notification request response, wherein the first PDU session context update request carries the first PDU session policy information; Among them, the first PDU session context update request is used to trigger the SMF to select the UPF corresponding to the first selected DNN to initiate a PFCP session to complete the DNN replacement strategy of the contracted diversion service.
2. The service diversion method according to claim 1, wherein: The step of sending a first PDU session context update request to a session management network element SMF according to the notification request response comprises: Configure the first PDU session policy information according to the notification request response, wherein the first PDU session policy information is to replace the current session DNN from the request DNN to the first selected DNN; After configuring the first PDU session policy information, a first PDU session context update request is sent to the session management network element SMF.
3. The service diversion method according to claim 1, wherein: The method further comprises: When the user equipment UE moves within the preset offload service application area and / or the subscribed offload service changes, it is determined whether an AM policy association session update is required according to the locally pre-configured rule information and user data information, wherein the user data information includes the slice selection information and the location information and / or number information of the UE; In the case where it is determined that an AM policy association session update is required, sending an AM policy association update request to the PCF, wherein the AM policy association update request carries the user data information; After receiving the AM policy association update response returned by the PCF, configure the second PDU session policy information according to the policy association update response, wherein the policy association update response carries the second DNN replacement policy information, and the second PDU session policy information is to replace the current session DNN from the first selected DNN to the second selected DNN; After configuring the second PDU session policy information, sending a second PDU session context update request to the SMF, wherein the second PDU session context update request carries the second PDU session policy information; Among them, the second PDU session policy information is used to trigger the SMF to select the UPF corresponding to the second selected DNN to initiate a PFCP session.
4. The service diversion method according to claim 1, wherein: The method further comprises: When the location of the user equipment UE moves out of the preset offload service application area to the new target area, the current session DNN in the configured first PDU session policy information is restored to the request DNN to obtain the third PDU session policy information; Sending a third PDU session context update request to the session management network element SMF, wherein the third PDU session context update request carries the third PDU session policy information; Among them, the third PDU session policy information is used to trigger the session management network element SMF to release the recovery to select the UPF corresponding to the requested DNN to initiate the PFCP session to cancel the DNN replacement strategy of the contracted diversion service.
5. A business diversion method, wherein: The service offloading method is applied to a session management network element SMF, and includes: Obtain a first PDU session context update request sent by an access and mobility management network element AMF, wherein the first PDU session context update request carries a request DNN and a first selected DNN that replaces the request DNN; According to the PDU session context update request, a replacement mapping relationship between the requesting DNN and the first selected DNN is established. After the replacement mapping relationship is established, the UPF corresponding to the first selected DNN is selected to initiate a PFCP session to complete the DNN replacement strategy for the contracted diversion service.
6. The service diversion method according to claim 5, wherein: After the step of establishing a replacement mapping relationship between the request DNN and the first selected DNN, the method further includes: Send a first PDU session context update response to the AMF.
7. The service diversion method according to claim 5, wherein: The method further comprises: Obtain a second PDU session context update request sent by the AMF, wherein the second PDU session context update request carries the second PDU session policy information, and the second PDU session policy information is to replace the current session DNN from the first selected DNN to the second selected DNN; According to the second PDU session context update request, a replacement association relationship between the first selected DNN and the second selected DNN is established, and after the replacement association relationship is established, the UPF corresponding to the second selected DNN is selected to initiate a PFCP session.
8. The service diversion method according to claim 7, wherein: After the step of establishing a replacement association relationship between the first selected DNN and the second selected DNN, the method further includes: Send a second PDU session context update response to the AMF.
9. The service diversion method according to claim 5, wherein: The method further comprises: Obtain a third PDU session context update request sent by the AMF, wherein the third PDU session context update request carries the third PDU session policy information, and the third PDU session policy information is to restore the current session DNN from the first selected DNN to the requested DNN; After identifying that the current session DNN does not match the DNN selected corresponding to the contracted diversion service based on the third PDU session policy information, the replacement mapping relationship is released and the PFCP session is initiated by selecting the UPF corresponding to the requested DNN to cancel the DNN replacement strategy of the contracted diversion service.
10. The service diversion method according to claim 9, wherein: After the step of releasing the replacement mapping relationship, the method further includes: Send a third PDU session context update response to the AMF.
11. A service diversion method, comprising: In the case where the policy control network element PCF obtains the subscription offload service notification, the PCF makes a first selected DNN replacement decision in response to the subscription offload service notification, and obtains the first selected DNN replacement policy information, wherein the first selected DNN replacement policy information includes the first selected DNN that replaces the request DNN; Sending a notification request response to the access and mobility management network element AMF through the PCF, wherein the notification request response carries the first selected DNN replacement strategy information; Sending a first PDU session context update request to the session management network element SMF through the AMF in response to the notification request response, wherein the first PDU session context update request carries the first PDU session policy information; The SMF responds to the first PDU session policy information to establish a replacement mapping relationship between the request DNN and the first selected DNN. After establishing the replacement mapping relationship, the UPF corresponding to the first selected DNN is selected to initiate a PFCP session to complete the DNN replacement strategy for the contracted diversion service.
12. An access and mobility management network element, comprising: A memory, a processor, and a service diversion program stored in the memory and executable on the processor, wherein the service diversion program implements the service diversion method according to any one of claims 1 to 4 when executed by the processor.
13. A session management network element, comprising: A memory, a processor, and a service diversion program stored in the memory and executable on the processor, wherein the service diversion program, when executed by the processor, implements the service diversion method according to any one of claims 5 to 10.
14. An electronic device, comprising: A memory, a processor, and a service diversion program stored in the memory and executable on the processor, wherein the service diversion program implements the service diversion method as claimed in claim 11 when executed by the processor.
15. A computer-readable storage medium, wherein: The computer-readable storage medium stores a service diversion program, and when the service diversion program is executed by the processor, the service diversion method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Method and apparatus for providing service in wireless communication system
CN114902794A
Session management method applied according to user equipment policy in wireless communication system
CN115362699A
Service access processing method and device, equipment and storage medium
CN115529342A
Network slice replacement method and device
CN116133010A
Network access method and device, computer equipment and storage medium
CN116916414A