Business distribution method, electronic equipment and computer readable storage medium
By passing the DNN replacement policy between the policy control network element PCF and the session management network element SMF, the problem of the inability to update DNN online in the existing technology is solved, and dynamic DNN replacement is realized, improving the user experience.
Patent Information
- Application Number
- CN202311434858.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2025-05-02
AI Technical Summary
The prior art cannot realize service diversion by updating DNNs online, resulting in the impact of user experience.
By obtaining the policy control network element PCF in response to the notification request response of the contracted diversion 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.
Dynamic DNN replacement for online sessions is realized, which avoids user reactivates, reduces signaling impact on core network elements, reduces system load, and at the same time, the user's other services are not interrupted, improving user experience.
Smart Images

Figure CN119922612A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a service diversion method, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the promotion of 5G (5th-Generation Mobile Communication Technology) applications, local offload services have brought users an improved experience (such as free local traffic, etc.). In an exemplary service offload application scenario, operators hope that users can trigger service offload by scanning a code, so that operators can push service consultation information or advertising information. The DNN (Data Network Name) replacement mechanism is defined in the 3rd Generation Partnership Project (3GPP) standard, and operators hope to support the local service offload function through DNN replacement.
[0003] 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. Summary of the invention
[0004] The main purpose of this application is to provide a business diversion method, an electronic device and a computer-readable storage medium, aiming to solve the technical problem that business diversion cannot be achieved by online updating of DNN.
[0005] To achieve the above objectives, the present application provides a service offloading method, which is applied to the access and mobility management network element AMF, including:
[0006] 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;
[0007] 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;
[0008] 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.
[0009] In addition, to achieve the above-mentioned purpose, the present application also provides a service offloading method, which is applied to a session management network element SMF, including:
[0010] 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;
[0011] 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.
[0012] In addition, to achieve the above purpose, the present application also provides a service offloading method, including:
[0013] 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;
[0014] 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;
[0015] 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;
[0016] 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.
[0017] 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 executable on the processor, wherein the service diversion program implements the service diversion method as described above when executed by the processor.
[0018] 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 executable on the processor, wherein the service diversion program implements the service diversion method as described above when executed by the processor.
[0019] In addition, to achieve the above-mentioned purpose, the present application also provides an electronic device, including: a memory, a processor, and a service diversion program stored on the memory and executable on the processor, wherein the service diversion program implements the service diversion method as described above when executed by the processor.
[0020] 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, and when the business diversion program is executed by a processor, the business diversion method as described above is implemented.
[0021] The present application proposes a service diversion method, an electronic device and a computer-readable storage medium. In the service diversion 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 contract diversion 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 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 a Replace DNN policy (i.e., the first selected DNN replacement policy information) to the AMF, carrying the Selected DNN (i.e., the first selected DNN). Then, according to the notification request response, the embodiment of the present application also 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, so that the AMF executes Replace according to the configuration. DNN logic, updates the user's DNN information, 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 Selected DNN, 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 for the contracted diversion service, so that the SMF establishes an association between the original DNN and the Selected DNN, 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 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 that the user is using are not interrupted, and the user is unaware, thereby improving the user's service experience, thereby solving the current technical problem that service diversion cannot be achieved by updating DNN online. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] 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.
[0023] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0024] Figure 1This is a flow chart of the first embodiment of the business diversion method of the present application;
[0025] Figure 2 This is a flow chart of the second embodiment of the business diversion method of the present application;
[0026] Figure 3 Schematic diagram of the network architecture based on service-oriented interface proposed by 3GPP;
[0027] Figure 4 A flowchart of realizing business diversion through DNN replacement in related technologies;
[0028] Figure 5 This is a dynamic DNN replacement flow chart triggered by the contract diversion service in the embodiment of the present application;
[0029] Figure 6 A dynamic DNN replacement flow chart triggered by movement within the diversion service application area in an embodiment of the present application;
[0030] Figure 7 A dynamic DNN replacement flow chart triggered by moving out of the offload service application area in an embodiment of the present application;
[0031] Figure 8 Schematic diagram of the device structure of the hardware operating environment involved in the electronic device in this embodiment.
[0032] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0033] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0034] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the network architecture based on service-oriented interfaces proposed by 3GPP, where:
[0035] The Policy Control Function (PCF) is responsible for QoS (Quality of Service), billing and access mobility policy control.
[0036] Access and Mobility Management Function (AMF): A core network control plane entity that is responsible for user mobility management, access authentication and authorization, etc. In addition, it is also responsible for delivering user policies between the UE and the PCF.
[0037] 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 implements and terminates unified control policies.
[0038] Application Function (AF), such as the server program of various applications. AF can request policy authorization from PCF for specific business flows, establish an N5 session with PCF, and provide PCF with business information and policy requirements (QoS, routing, etc.) required for policy authorization through the session.
[0039] User Plane Function (UPF) is used for packet routing and forwarding, service detection, usage accumulation and reporting, as well as data message transmission, replication and QoS guarantee.
[0040] The Network Function Repository Function (NRF) is used to receive the registration information of the service provider so that the service user can discover the service provider.
[0041] With the promotion of 5G applications, local traffic diversion 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 diversion by scanning codes to facilitate service push and advertisement insertion. At present, the process and usage of service diversion through DNN replacement are as follows: Figure 4 As shown, there are still the following defects:
[0042] (1) During the DNN replacement process, the PDU session needs to be reactivated, affecting the user experience;
[0043] (2) There is a lack of means to dynamically update the DNN for online PDU sessions.
[0044] The embodiment of the present application is optimized based on the above-mentioned defects. The technical solution of the present application is to obtain a notification request response sent by a policy control network element PCF in response to a 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 a Replace DNN policy (i.e., the first selected DNN replacement policy information) to the AMF, carrying the Selected DNN (i.e., the first selected DNN). Then, according to the notification request response, the embodiment of the present application also 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, so that the AMF executes the Replace DNN logic according to the configuration to update the user's DNN information, and 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 Selected DNN. DNN, 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, so that the DNN can be dynamically replaced online for users using diversion services, avoiding user deactivation and reactivation affecting user experience, and users do not need to reactivate to use diversion services; after the user moves outside the non-business travel diversion area, SMF initiates a session update to cancel the relevant diversion strategy.
[0045] That is, the current service diversion function based on DNN replacement needs to reactivate 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.
[0046] Embodiment 1
[0047] Based on this, please refer to Figure 1 This embodiment provides a service offloading method, which is applied to an access and mobility management network element AMF, including:
[0048] Step S10, 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;
[0049] The business scenarios in which the business diversion method of the embodiment of the present application is applied include crowd guidance in popular scenic spots, virtual tourism, personal tour guides, advertising promotion in large shopping malls, cloud games at transportation hubs, AR (Augmented Reality) / VR (Virtual Reality), and other applications.
[0050] In this embodiment, the first selected DNN replacement strategy information includes a first selected DNN that replaces the requesting DNN.
[0051] After step S10, executing step S20, 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;
[0052] 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.
[0053] In this embodiment, the first PDU session context update request carries first PDU session policy information.
[0054] Exemplarily, the step of sending a first PDU session context update request to a session management network element SMF according to the notification request response includes:
[0055] 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;
[0056] Step A20: After configuring the first PDU session policy information, send a first PDU session context update request to the session management network element SMF.
[0057] Specifically, an embodiment of the present application involves modifying the protocol session management service standard specification. When AMF receives the Replace DNN policy (i.e., the first selected DNN replacement policy information) issued by PCF, it executes the Replace DNN logic according to the local configuration, and at the same time initiates a PDU (Protocol Data Unit) session context update process (i.e., the above-mentioned first PDU session context update request) to SMF, carrying Selected DNN information (i.e., the first selected DNN). SMF finds UPF based on Selected DNN, TAI (Tracking Area Identity) and corresponding rules and initiates modification of the PFCP session to establish a diversion strategy, thereby meeting various business application requirements.
[0058] The present application proposes a service diversion method, an electronic device and a computer-readable storage medium. In the service diversion 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 contract diversion 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 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 a Replace DNN policy (i.e., the first selected DNN replacement policy information) to the AMF, carrying the Selected DNN (i.e., the first selected DNN). Then, according to the notification request response, the embodiment of the present application also 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, so that the AMF executes Replace according to the configuration. DNN logic, updates the user's DNN information, 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 Selected DNN, 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 for the contracted diversion service, so that the SMF establishes an association between the original DNN and the Selected DNN, 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 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 that the user is using are not interrupted, and the user is unaware, thereby improving the user's service experience, thereby solving the current technical problem that service diversion cannot be achieved by updating DNN online.
[0059] It is worth mentioning that the embodiment of the present application provides a method for dynamically replacing DNN, which can replace the DNN for the online sessions of users who enter the business travel area and use the diversion service, thereby avoiding the signaling impact of user reactivation on the wireless, AMF and SMF. For the online session, DNN replacement is performed, and the user does not need to re-access, which improves the user experience. After the user leaves the business travel area, SMF detects the change of cell location and DNN information, and automatically cancels the classified DNN strategy.
[0060] In an practicable manner, after the step of configuring the first PDU session policy information according to the notification request response, the method further includes:
[0061] Step B10: Send a policy association update notification response to the session management network element SMF.
[0062] 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.
[0063] In a possible implementation, the method further includes:
[0064] Step C10: when the user equipment UE moves within the preset offload service application area and / or the offload service subscribed to changes, it is determined whether an AM policy-associated session update is required according to the locally pre-configured rule information and user data information;
[0065] In this embodiment, the user data information includes slice selection information and location information and / or number information of the UE.
[0066] Step C20, when it is determined that an AM policy association session update is required, sending an AM policy association update request to the PCF;
[0067] Wherein, the AM policy association update request carries the user data information.
[0068] Step C30, after receiving the AM policy association update response returned by the PCF, configuring the second PDU session policy information according to the policy association update response;
[0069] 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.
[0070] Step C40, after configuring the second PDU session policy information, sending a second PDU session context update request to the SMF;
[0071] In this embodiment, the second PDU session context update request carries the second PDU 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.
[0072] In this embodiment, when the user equipment UE moves in a preset diversion service application area and / or the subscribed diversion service changes, it is determined whether an AM policy association session update is required according to the locally pre-configured rule information and the user data information, and then, when it is determined that the 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 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, and 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, 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.
[0073] In a possible implementation, the method further includes:
[0074] Step D10, when the location of the user equipment UE moves from 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;
[0075] 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;
[0076] 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.
[0077] In the embodiment of the present application, when the location of the user equipment UE is moved from 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 to obtain the third PDU session policy information; a third PDU session context update request is sent 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 release and restore the UPF corresponding to the selected request DNN to initiate a PFCP session to revoke the DNN replacement strategy of the contracted diversion service, so that when the user leaves the business travel area and accesses from the non-business travel area AMF, the Replace DNN strategy 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 strategy of the Selected DNN, effectively realizing that the service currently being used by the user is not interrupted and the user is not aware of it, thereby improving the user's service usage experience and further ensuring that service diversion can be achieved by updating the DNN online.
[0078] Further, in order to help understand the technical principles of the embodiments of the present application, a specific embodiment 1 is listed, including:
[0079] The embodiment of the present application proposes a method for implementing dynamic DNN replacement. After the PCF senses that the user is using a diversion service (i.e., a 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 Replace DNN 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 Selected DNN. The SMF establishes an association between the original DNN and the Selected DNN, finds the UPF based on the Selected DNN, TAI, and corresponding rules, and initiates the modification of the PFCP (Packet Forwarding Control Protocol) session to establish a diversion strategy to divert the user's subsequent services, thereby meeting various business application requirements. The specific application scenarios are:
[0080] (1) When a user enters a business travel area, he or she accesses the roaming area PCF through the commercial area AMF.
[0081] (2) The user scans the code to use the diversion service, and the code scanning platform pushes the contracted service change notification to PCF through NEF.
[0082] (3) PCF makes a decision based on local configuration, user location information, and user subscription package information, and sends the ReplaceDNN policy to AMF, carrying the Selected DNN information.
[0083] (4) AMF executes the Replace DNN 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 Selected DNN information.
[0084] 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.
[0085] (5) After receiving the session update request, SMF establishes a mapping between the original DNN and the Selected DNN, and finds the UPF based on the Selected DNN, TAI and corresponding rules, and initiates the modification of the PFCP session to establish a diversion strategy to divert the user's subsequent services. Specifically, SMF establishes an association between the original DNN and the Selected DNN, and diverts the user's subsequent services through the Selected DNN.
[0086] (6) When the user leaves the business travel area and accesses from the non-business travel area AMF, the Replace DNN 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 the Selected DNN.
[0087] 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 experience.
[0088] In this embodiment, the DNN replacement decision network element PCF is a policy decision network element defined in the 3GPP 5G architecture, and may also be a platform for other third parties to directly open their capabilities to interact with AMF.
[0089] In addition, PCF can pass the destination DNN (i.e., the first selected DNN) to AMF by passing the service ID / service type, and configure the mapping relationship between the service ID / service type and DNN in SMF. SMF realizes DNN replacement by searching the configured mapping relationship to reduce the length of information transmitted on each interface.
[0090] This embodiment provides a method and device for dynamically replacing DNN, which can replace DNN for online sessions of users who enter the business travel area and use the diversion service, and can avoid the signaling impact of user reactivation on wireless, AMF and SMF. When DNN is replaced for online sessions, users do not need to reconnect, which improves the user experience. After the user leaves the business travel area, SMF detects the change of cell location and DNN information, and automatically cancels the classified DNN strategy.
[0091] It should be noted that 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 be within the scope of protection of the present application.
[0092] Embodiment 2
[0093] 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 in the following. Figure 2 This embodiment further provides a service offloading method, which is applied to a session management network element SMF, and includes:
[0094] 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 that replaces the request DNN;
[0095] Step S40, according to the PDU session context update request, establish a replacement mapping relationship between the request DNN and the first selected DNN, 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 for the contracted diversion service.
[0096] The embodiment of the present application obtains 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, and then establishes 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, selects 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 the embodiment of the present application establishes an association between the original DNN and the Selected DNN (i.e., the first selected DNN) through 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 users are not interrupted, and users are not aware of it, thereby improving the user's service usage experience, thereby solving the technical problem that service diversion cannot be achieved by updating DNN online at present.
[0097] It is worth mentioning that the embodiment of the present application provides a method for dynamically replacing DNN, which can replace the DNN for the online sessions of users who enter the business travel area and use the diversion service, thereby avoiding the signaling impact of user reactivation on the wireless, AMF and SMF. For the online session, DNN replacement is performed, and the user does not need to re-access, which improves the user experience. After the user leaves the business travel area, SMF detects the change of cell location and DNN information, and automatically cancels the classified DNN strategy.
[0098] In a possible implementation manner, after the step of establishing a replacement mapping relationship between the request DNN and the first selected DNN, the method further includes:
[0099] Step E10, sending a first PDU session context update response to the AMF.
[0100] 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 a replacement mapping relationship between the requested DNN and the first selected DNN.
[0101] In one practicable manner, the method further comprises:
[0102] 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;
[0103] Step F20, according to the second PDU session context update request, 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.
[0104] Further, after the step of establishing a replacement association relationship between the first selected DNN and the second selected DNN, the method further includes:
[0105] Step G10, sending a second PDU session context update response to the AMF.
[0106] In this embodiment, by sending a second PDU session context update response to AMF, the AMF is informed that the session management network element SMF has completed the establishment of a 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.
[0107] In this embodiment, a second PDU session context update request sent by AMF is obtained, wherein the second PDU session context update request carries second PDU session policy information, wherein the second PDU session policy information is to replace the current session DNN from the first selected DNN to the second selected DNN, and establish a replacement association relationship between the first selected DNN and the second selected DNN according to the second PDU session context update request, and 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 diversion, and when the user equipment UE moves within a preset diversion service application area and / or the contracted diversion service changes, the DNN replacement can be performed online without kicking the user offline, thereby 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 not aware of it, thereby improving the user's service usage experience.
[0108] In a possible implementation, the method further includes:
[0109] 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;
[0110] In step H20, 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.
[0111] Further, after the step of releasing the replacement mapping relationship, the method further includes:
[0112] Step I10, sending a third PDU session context update response to the AMF.
[0113] 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.
[0114] In this embodiment, a third PDU session context update request is obtained by AMF, wherein the third PDU session context update request carries the third PDU session policy information, wherein the third PDU session policy information is to restore the current session DNN from the first selected DNN to the requested DNN, and after identifying that the current session DNN does not match the selected DNN 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 the UPF corresponding to the selected requested DNN to cancel the DNN replacement policy of the contracted diversion service, so that when the user leaves the business travel area and accesses the AMF from the non-business travel area, the Replace DNN 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 the Selected DNN, effectively realizing that the service currently being used by the user is not interrupted and the user is not aware of it, thereby improving the user's service usage experience and further ensuring that service diversion can be achieved by updating the DNN online.
[0115] Embodiment 3
[0116] 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 in the following. On this basis, this embodiment also provides a service offloading method, the method comprising:
[0117] Step S50, when 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;
[0118] 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 strategy information;
[0119] Step S70, sending a first PDU session context update request to the session management network element SMF in response to the notification request through the AMF, wherein the first PDU session context update request carries the first PDU session policy information;
[0120] Step S80, 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, 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 contracted diversion service.
[0121] 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 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, and establishes a replacement mapping relationship between the requested DNN and the first selected DNN in response to the first PDU session policy information through the SMF, and after the replacement mapping relationship is established, 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, so that the SMF establishes an association between the original DNN and the Selected DNN, and according to the Selected DNN and user data information find the corresponding UPF and initiate 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, and effectively reducing the system load. At the same time, other services currently being used by users are not interrupted and users are unaware, which improves users' service experience and solves the current technical problem that service diversion cannot be achieved by updating DNN online.
[0122] It is worth mentioning that the embodiment of the present application provides a method for dynamically replacing DNN, which can replace the DNN for the online sessions of users who enter the business travel area and use the diversion service, thereby avoiding the signaling impact of user reactivation on the wireless, AMF and SMF. For the online session, DNN replacement is performed, and the user does not need to re-access, which improves the user experience. After the user leaves the business travel area, SMF detects the change of cell location and DNN information, and automatically cancels the classified DNN strategy.
[0123] In a possible implementation, the step of sending a first PDU session context update request to the SMF in response to the notification request response by the AMF includes:
[0124] Step J10, configuring the first PDU session policy information in response to the notification request by the AMF, wherein the first PDU session policy information is to replace the current session DNN from the request DNN to the first selected DNN;
[0125] Step J20, after configuring the first PDU session policy information, send a first PDU session context update request to SMF.
[0126] In an operative manner, after the step of configuring the first PDU session policy information in response to the notification request by the AMF, the method further includes:
[0127] Step K10, sending a policy association update notification response to the SMF through the AMF.
[0128] In a possible implementation manner, after the step of establishing a replacement mapping relationship between the request DNN and the first selected DNN, the method further includes:
[0129] Step K10, sending a first PDU session context update response to the AMF through the SMF.
[0130] In one practicable manner, the method further comprises:
[0131] Step L10, when the user equipment UE moves within the preset offload service application area and / or the subscribed offload service changes, the AMF determines 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 slice selection information and UE location information and / or number information;
[0132] Step L20: When it is determined that an AM policy association session update is required, an AM policy association update request is sent to the PCF through the AMF, wherein the AM policy association update request carries the user data information;
[0133] Step L30, making a second DNN replacement decision in response to the AM policy association update request through the PCF, and obtaining second DNN replacement strategy information, wherein the second DNN replacement strategy information includes a second selected DNN that replaces the first selected DNN;
[0134] Step L40, sending a policy association update response to AMF through PCF, wherein the policy association update response carries the second DNN replacement strategy information;
[0135] Step L50, configuring the second PDU session policy information in response to the policy association update response through the 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;
[0136] Step L60, after configuring the second PDU session policy information, sending 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;
[0137] Step L70, in response 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.
[0138] Further, after the step of establishing a replacement association relationship between the first selected DNN and the second selected DNN, the method further includes:
[0139] Step N10, sending a second PDU session context update response to AMF through SMF.
[0140] In a possible implementation, the method further includes:
[0141] Step M10, 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 through the AMF to obtain the third PDU session policy information;
[0142] Step M20, sending a third PDU session context update request to SMF through AMF, wherein the third PDU session context update request carries the third PDU session policy information;
[0143] Step M30, after 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 PFCP session is initiated by selecting the UPF corresponding to the requested DNN to cancel the DNN replacement strategy of the contracted diversion service.
[0144] Further, after the step of releasing the replacement mapping relationship, the method further includes:
[0145] Step O10, sending the third PDU session context update response to AMF through SMF.
[0146] The service diversion method provided in the embodiment of the present invention adopts the same or similar technical features as the above-mentioned embodiment 1 and embodiment 2, and can solve the technical problem that service diversion cannot be achieved by updating DNN online. Compared with the prior art, the beneficial effects of the service diversion device provided in the embodiment of the present invention are the same as the beneficial effects of the service diversion method provided in the above-mentioned embodiment 1, and the other technical features in the service diversion method are the same as the features disclosed in the above-mentioned embodiment method 1, which will not be repeated here.
[0147] Further, in order to help understand the technical principles of the embodiments of the present application, a specific embodiment 2 is listed, including:
[0148] Please refer to Figure 5 , Figure 5 This is a dynamic DNN replacement flow chart triggered by the contract diversion service in the embodiment of the present application, wherein:
[0149] Step 1: The UE moves to the AMF service range of the business travel area (i.e., the offload service application area) and switches to the AMF access in the business travel area;
[0150] Step 2: The UE registers with the business travel area AMF, and the AMF establishes an AM policy association session for the user through the N15 interface;
[0151] 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 supporting DNN replacement capability;
[0152] Step 4: PCF makes policy decisions based on user location, slice selection information, and user contract, and determines the 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).
[0153] Step 5: The user scans the code through a third-party code scanning platform and registers to use the merchant promotion service;
[0154] Step 6: The third-party code scanning platform sends the user information to NEF (Network Exposure Function);
[0155] Step 7: NEF sends the package information of the user's contracted diversion service to PCF;
[0156] Step 8: PCF makes a decision based on the user's access location, slice information, user-subscribed package information, and local rule configuration, and generates a DNN replacement strategy;
[0157] Step 9: PCF sends an AM policy association update notification request to AMF, carrying the Replace DNN policy, including Selected DNN;
[0158] Step 10: AMF stores the Replace DNN policy and sends an AM policy association update response to PCF;
[0159] Step 11: AMF sends a PDU session context update request to SMF, carrying user location information, slice information and Selected DNN;
[0160] Step 12: SMF creates a mapping relationship between the original DNN and the Selected DNN, and sends a PDU session context update response to AMF;
[0161] Step 13: SMF selects UPF according to Selected DNN, user location and corresponding rules, and initiates PFCP session update or establishment request to start the diversion strategy.
[0162] In this embodiment, the DNN replacement decision network element PCF is a policy decision network element defined in the 3GPP 5G architecture, and may also be a platform for other third parties to directly open their capabilities to interact with AMF.
[0163] In addition, PCF can pass the destination DNN (i.e., the first selected DNN) to AMF by passing the service ID / service type, and configure the mapping relationship between the service ID / service type and DNN in SMF. SMF realizes DNN replacement by searching the configured mapping relationship to reduce the length of information transmitted on each interface.
[0164] It should be noted that 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.
[0165] In addition, in order to help understand the technical principles of the embodiments of this application, a specific embodiment 3 is listed, including:
[0166] Please refer to Figure 6 , Figure 6 This is a flow chart of dynamic DNN replacement triggered by movement within a diversion service application area in an embodiment of the present application.
[0167] Step 1: The UE moves within the service range of the AMF in the business travel area and accesses through the AMF in the business travel area;
[0168] Step 2: AMF detects that the user's location has changed or the service used has changed, and determines that the AM policy association session needs to be updated based on the local configuration and previously saved user information;
[0169] 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;
[0170] Step 4: PCF makes a policy decision based on the user location, slice selection information, requested DNN, and user contract, and decides on Select DNN;
[0171] Step 5: PCF returns an AM policy association update response to AMF, carrying the Select DNN.
[0172] Step 6: AMF sends a PDU session context update request to SMF, carrying user location information, slice information and Selected DNN;
[0173] Step 7: SMF creates a mapping relationship between the original DNN and the Selected DNN, and sends a PDU session context update response to AMF;
[0174] Step 8: SMF selects UPF based on Selected DNN, user location and corresponding rules, and initiates PFCP session update or establishment request to start the diversion strategy.
[0175] In this embodiment, the DNN replacement decision network element PCF is a policy decision network element defined in the 3GPP 5G architecture, and may also be a platform for other third parties to directly open their capabilities to interact with AMF.
[0176] In addition, PCF can pass the destination DNN (i.e., the first selected DNN) to AMF by passing the service ID / service type, and configure the mapping relationship between the service ID / service type and DNN in SMF. SMF realizes DNN replacement by searching the configured mapping relationship to reduce the length of information transmitted on each interface.
[0177] It should be noted that the many details described in the third 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.
[0178] In addition, in order to help understand the technical principles of the embodiments of the present application, a specific embodiment 4 is listed, including:
[0179] Please refer to Figure 7 , Figure 7A dynamic DNN replacement flowchart triggered by moving out of the diversion service application area in an embodiment of the present application.
[0180] Step 1: The UE moves out of the business travel area and accesses from other non-business travel AMFs. The Replace DNN policy synchronized from the business travel AMF context by the non-business travel AMF is automatically revoked;
[0181] Step 2: AMF initiates a PDU session context update request to SMF, carrying TAI, DNN and slice information;
[0182] Step 3: SMF returns a PDU session context update response message to AMF;
[0183] Step 4: 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) diversion, triggering the deletion of the diversion strategy;
[0184] Step 5: SMF initiates the PFCP session update process, cancels the diversion strategy, and SMF replaces the previous DNN for online PDU session recovery.
[0185] In this embodiment, the DNN replacement decision network element PCF is a policy decision network element defined in the 3GPP 5G architecture, and may also be a platform for other third parties to directly open their capabilities to interact with AMF.
[0186] In addition, PCF can pass the destination DNN (i.e., the first selected DNN) to AMF by passing the service ID / service type, and configure the mapping relationship between the service ID / service type and DNN in SMF. SMF realizes DNN replacement by searching the configured mapping relationship to reduce the length of information transmitted on each interface.
[0187] It should be noted that 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 be within the scope of protection of the present application.
[0188] Embodiment 4
[0189] An embodiment of the present invention 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 executable 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.
[0190] Reference below Figure 8 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. Figure 8 As shown, the electronic device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM 1002) or a program loaded from a storage device into a random access memory (RAM 1004). In RAM 1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, ROM 1002, and RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface is also connected to the bus 1005.
[0191] Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can 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 the systems shown. More or fewer systems may be implemented or have alternatively.
[0192] In particular, 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 contains a 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 through 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 executed.
[0193] The electronic device provided by the present invention adopts the service diversion method in the above embodiment, which can solve the technical problem that service diversion cannot be achieved by updating DNN online. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the present invention are the same as the beneficial effects of the service diversion method provided by the above embodiment, and the other technical features in the electronic device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0194] It should be understood that the various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0195] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0196] Embodiment 5
[0197] An embodiment of the present invention 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.
[0198] The computer-readable storage medium provided in the embodiment of the present invention may 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. More specific examples of computer-readable storage media may include, but are 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 may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0199] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0200] 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 a policy control network element PCF in response to a contract diversion 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; according to the notification request response, sends a first PDU session context update request to a 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 for the contract diversion service. Alternatively, obtain 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, establish a replacement mapping relationship between the request DNN and the first selected DNN, 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 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 that replaces 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.
[0201] 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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).
[0202] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the 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 square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0203] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.
[0204] The computer-readable storage medium provided by the present invention stores computer-readable program instructions for executing the above-mentioned service diversion method, which can solve the technical problem that service diversion cannot be achieved by updating DNN online. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the present invention are the same as the beneficial effects of the service diversion method provided by the above-mentioned embodiments 1 to 3, and will not be repeated here.
[0205] Embodiment 6
[0206] An embodiment of the present invention further 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.
[0207] The computer program product provided by this application can solve the technical problem that it is currently impossible to achieve service diversion by updating DNN online. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present invention are the same as the beneficial effects of the service diversion method provided by the above-mentioned embodiments 1 to 3, and will not be repeated here.
[0208] The above are only preferred embodiments of the present application, and are not intended to 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 diversion method, characterized in that: Applied to access and mobility management network element AMF, including: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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 service diversion method, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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 offloading method according to claim 9, characterized in that: 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, characterized in that: include: 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, characterized in that: include: 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, characterized in that: include: 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, characterized in that: include: 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, characterized in that: 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.