Communication method and device, electronic equipment and storage medium
By receiving the packet data unit session establishment request of the terminal device in the 5G dual-domain private network, obtaining the name of the private data network and selecting the appropriate network element for data packet offloading, the problem of the terminal device being unable to access the public network and private network when roaming is solved. problem, achieving normal traffic diversion and efficient business access.
Patent Information
- Application Number
- CN202310945116.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-28
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-07-28
AI Technical Summary
The existing 5G dual-domain private network technology cannot access public network and private network services at the same time when terminal equipment is roaming, resulting in public network traffic detours and detours, increasing service delays and increasing network element transformation costs.
By receiving the packet data unit session establishment request from the terminal device, select the user plane functional network element based on the common data network name and current location, obtain the dedicated data network name, and select the appropriate session management functional network element when the private network service cannot be provided. It forwards data packets with user plane functional network elements and uses traffic distribution rules to divert data packets.
It enables terminal devices to access public network and private network services while roaming, avoids detours and detours of public network traffic, reduces existing network transformation workload and network element transformation costs, and improves business experience.
Smart Images

Figure CN118804369A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a communication method, device, electronic device, and computer-readable storage medium. Background Art
[0002] As a key business scenario of 5G private network, the 5th Generation Mobile Communication Technology (5G) dual-domain private network has huge market potential. At present, 5G dual-domain private network is mainly aimed at scenarios with high requirements for communication security, such as schools, government agencies, large enterprises and institutions, to meet the needs of individual (2C) users to use terminal devices to access the "dual-domain" services of the public network and private network. The existing 5G dual-domain private network diversion technologies mainly include uplink classifier (ULCL) diversion technology, dedicated data network name (DNN) diversion technology and network-side multi-DNN diversion technology.
[0003] In the related technologies, ULCL diversion technology only supports terminal devices to access public network services and private network services at the same time within a specific park or local network of the home location. When the terminal device roams to other local networks (for example, intra-provincial roaming or inter-provincial roaming), the terminal device can only access public network services, but cannot access private network services. Although the dedicated DNN diversion technology supports terminal devices to access public network services and private network services when roaming, all public network traffic of the terminal device when roaming must be detoured to the dedicated user plane function (UPF) network element of the home location for unblocking, resulting in detours and detours of public network traffic, increased latency of public network services, and serious impact on service experience. As a non-standard solution, multi-DNN offloading technology on the network side requires customized function development for access and mobility management function (AMF) network elements, session management function (SMF) network elements, policy control function (PCF) network elements, user plane function (UPF) network elements, etc., resulting in high network element transformation costs; in addition, the network side needs to establish multiple packet data unit (PDU) sessions for terminal devices, which increases network costs.
[0004] Therefore, how to enable terminal devices to access public network services and private network services when roaming is an issue that needs to be solved urgently. Summary of the invention
[0005] In view of this, the embodiments of the present disclosure provide a communication method, apparatus, electronic device and computer-readable storage medium to solve the problem in the related art that terminal devices cannot access public network services and private network services when roaming.
[0006] According to a first aspect of an embodiment of the present disclosure, a communication method is provided, which is applied to a first session management function network element, and the method includes: receiving a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal; based on the universal data network name and the current location of the target terminal, selecting a first user plane function network element and sending a subscription information acquisition request to a policy control function network element, wherein the subscription information acquisition request is used to request to acquire a private data network name of the target terminal; in the case where the private data network name is acquired, selecting an uplink classifier user plane function network element based on the current location of the target terminal, wherein the uplink classifier user plane function network element is used to divert data packets of the target terminal; In the case where it is determined that the access service of the private network service cannot be provided to the target terminal, a network element discovery request is sent to the network storage function network element, wherein the network element discovery request is used to request a list of session management function network elements matching the private data network name, and the list of session management function network elements includes multiple second session management function network elements; the list of session management function network elements sent by the network storage function network element is received, a second session management function network element is selected from the multiple second session management function network elements based on the current location of the target terminal, and the second session management function network element is requested to select a second user plane function network element; based on the diversion rule, the data packet from the uplink classifier user plane function network element is forwarded by using the universal data network name data outlet of the first user plane function network element or the dedicated data network name data outlet of the second user plane function network element.
[0007] According to a second aspect of an embodiment of the present disclosure, a communication method is provided, which is applied to an access and mobility management function network element, and the method includes: receiving a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal; based on the universal data network name and the current location of the target terminal, selecting a first session management function network element, wherein the first session management function network element is used to select a first user plane function network element, and in a case where it is determined that access service for a private network service cannot be provided for the target terminal, selecting a second session management function network element, and requesting the second session management function network element to select a second user plane function network element.
[0008] According to a third aspect of an embodiment of the present disclosure, a communication device is provided, which is applied to a first session management function network element, and the device includes: a receiving module, configured to receive a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal; a first sending module, configured to select a first user plane function network element based on the universal data network name and the current location of the target terminal and send a subscription information acquisition request to a policy control function network element, wherein the subscription information acquisition request is used to request to obtain a dedicated data network name of the target terminal; a first selecting module, configured to select an uplink classifier user plane function network element based on the current location of the target terminal when the dedicated data network name is obtained, wherein the uplink classifier user plane function network element is used to divert data packets of the target terminal; The second sending module is configured to send a network element discovery request to the network storage function network element when it is determined that the access service of the private network service cannot be provided to the target terminal, wherein the network element discovery request is used to request a list of session management function network elements matching the private data network name, and the list of session management function network elements includes multiple second session management function network elements; the second selection module is configured to receive the list of session management function network elements sent by the network storage function network element, select a second session management function network element from the multiple second session management function network elements based on the current location of the target terminal, and request the second session management function network element to select a second user plane function network element; the forwarding module is configured to forward the data packet from the uplink classifier user plane function network element based on the diversion rule, using the universal data network name data outlet of the first user plane function network element or the dedicated data network name data outlet of the second user plane function network element.
[0009] According to a fourth aspect of an embodiment of the present disclosure, a communication device is provided, which is applied to an access and mobility management function network element, and the device includes: a receiving module, configured to receive a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal; a selection module, configured to select a first session management function network element based on the universal data network name and the current location of the target terminal, wherein the first session management function network element is used to select a first user plane function network element, and when it is determined that access service for a private network service cannot be provided to the target terminal, select a second session management function network element, and request the second session management function network element to select a second user plane function network element.
[0010] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising at least one processor; and a memory for storing instructions executable by at least one processor; wherein the at least one processor is used to execute instructions to implement the steps of the above method.
[0011] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the steps of the above method.
[0012] At least one of the above-mentioned technical solutions adopted in the embodiments of the present disclosure can achieve the following beneficial effects: by receiving a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries the universal data network name of the target terminal; based on the universal data network name and the current location of the target terminal, selecting a first user plane functional network element and sending a subscription information acquisition request to a policy control functional network element, wherein the subscription information acquisition request is used to request to obtain the private data network name of the target terminal; in the case of obtaining the private data network name, selecting an uplink classifier user plane functional network element based on the current location of the target terminal, wherein the uplink classifier user plane functional network element is used to divert data packets of the target terminal; in the case of determining that it is impossible to provide access services to the private network services for the target terminal, sending a network element discovery request to the network storage functional network element, which In the method, the network element discovery request is used to request a list of session management function network elements that match the private data network name, and the list of session management function network elements includes multiple second session management function network elements; the list of session management function network elements sent by the receiving network storage function network element is selected from the multiple second session management function network elements based on the current location of the target terminal, and the second session management function network element is requested to select a second user plane function network element; based on the diversion rule, the universal data network name data outlet of the first user plane function network element or the dedicated data network name data outlet of the second user plane function network element is used to forward the data packet from the uplink classifier user plane function network element, so that the target terminal can access public network services and private network services when roaming, thereby avoiding the detour and detour of public network traffic, reducing the workload of existing network transformation, reducing the public network service delay and network element transformation cost, and further improving the service experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0014] Figure 1 It is a flowchart of a communication method provided by an exemplary embodiment of the present disclosure.
[0015] Figure 2 It is a scene diagram of an intra-provincial roaming scene provided by an exemplary embodiment of the present disclosure.
[0016] Figure 3 It is a scene diagram of an inter-provincial roaming scene provided by an exemplary embodiment of the present disclosure.
[0017] Figure 4 It is a flowchart of another communication method provided by an exemplary embodiment of the present disclosure.
[0018] Figure 5 It is a structural diagram of a communication device provided by an exemplary embodiment of the present disclosure.
[0019] Figure 6 It is a structural diagram of another communication device provided by an exemplary embodiment of the present disclosure.
[0020] Figure 7 It is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present disclosure.
[0021] Figure 8 It is a schematic diagram of the structure of a computer system provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0023] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0024] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0025] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0026] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0027] A communication method and device according to an embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0028] Figure 1 It is a flowchart of a communication method provided by an exemplary embodiment of the present disclosure. Figure 1 The communication method may be executed by the first session management function network element. Figure 1 As shown, the communication method includes:
[0029] S101, receiving a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal;
[0030] S102, based on the universal data network name and the current location of the target terminal, select a first user plane function network element and send a subscription information acquisition request to the policy control function network element, wherein the subscription information acquisition request is used to request to obtain the dedicated data network name of the target terminal;
[0031] S103, when the name of the dedicated data network is obtained, selecting an uplink classifier user plane function network element based on the current location of the target terminal, wherein the uplink classifier user plane function network element is used to divert data packets of the target terminal;
[0032] S104, when it is determined that the access service of the private network service cannot be provided for the target terminal, sending a network element discovery request to the network storage function network element, wherein the network element discovery request is used to request a list of session management function network elements matching the private data network name, and the list of session management function network elements includes multiple second session management function network elements;
[0033] S105, receiving a session management function network element list sent by the network storage function network element, selecting a second session management function network element from a plurality of second session management function network elements based on a current location of the target terminal, and requesting the second session management function network element to select a second user plane function network element;
[0034] S106, based on the diversion rule, forward the data packet from the uplink classifier user plane function network element by using the general data network name data outlet of the first user plane function network element or the dedicated data network name data outlet of the second user plane function network element.
[0035] Specifically, the target terminal sends a PDU session establishment request to the first SMF network element for requesting to establish a PDU session for the target terminal, and the PDU session establishment request carries the universal DNN of the target terminal; after receiving the PDU session establishment request sent by the target terminal, the first SMF network element allocates an Internet Protocol (IP) address to the target terminal, and selects a first UPF network element based on the universal DNN and the current location of the target terminal; further, the first SMF network element establishes a session management policy association (Session Management Policy Association) with the PCF / Unified Data Repository (UDR) network element of the target terminal's location, and obtains the policy rules signed by the target terminal from the PCF / UDR network element; if it is determined based on the policy rules that the target terminal has signed a dedicated DNN, and the dedicated DNN includes a special identification field for the dual-domain private network, the first SMF network element inserts a ULCL UPF network element for diverting the target terminal's data packets in the PDU session based on the ULCL insertion rule.
[0036] Next, the first SMF network element determines whether it can provide access services to the private network services for the target terminal based on the ULCL insertion rules; if it is determined that access services to the private network services cannot be provided to the target terminal, the first SMF network element sends a network element discovery request to the network repository function (NRF) network element to request the NRF network element to provide a list of SMF network elements that match the dedicated DNN; in response to the network element discovery request sent by the first SMF network element, the NRF network element queries for at least one second SMF network element that can provide access services to the private network services for the target terminal, and sends the SMF network element list including at least one second SMF network element to the first SMF network element.
[0037] Furthermore, after receiving the SMF network element list sent by the NRF network element, the first SMF network element selects a second SMF network element from at least one second SMF network element based on the current location of the target terminal, and requests the second SMF network element to select a second UPF network element for the target terminal based on the dedicated DNN; when the data packet sent by the target terminal arrives at the ULCL UPF, the ULCL UPF forwards the data packet based on the diversion rules, using the general DNN data export of the first UPF network element or the dedicated DNN data export of the second UPF network element.
[0038] Here, the target terminal may be a device for implementing a communication function. The target terminal may be a user equipment (UE), access terminal, terminal unit, terminal station, mobile station, mobile station, remote station, remote terminal, mobile device, wireless communication device, terminal agent or terminal device in a 5G network or a future evolved public land mobile network (PLMN). The target terminal may be mobile or fixed, and the embodiments of the present disclosure are not limited to this. Optionally, the operating system running on the target terminal may include, but is not limited to, an Android system, an iOS system, a Linux system, a Windows system, and the like.
[0039] The access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device or a smart wearable device, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (Industrial Control), a wireless terminal in self-driving, a wireless terminal in remote medical care (Remote Medical), a wireless terminal in smart grid (Smart Grid), a wireless terminal in transportation safety (Transportation Safety), a wireless terminal in a smart city (Smart City), a wireless terminal in a smart home (Smart Home), etc.
[0040] It should be noted that the embodiment of the present disclosure does not limit the specific type of the target terminal. Preferably, in the embodiment of the present disclosure, the target terminal is a UE, for example, a mobile phone.
[0041] The SMF network element is mainly used for session management, execution of control policies issued by PCF network elements, selection of UPF network elements, allocation of UE IP addresses, etc. The first SMF network element can be an SMF network element located in the home location or an SMF network element located in the roaming location. The second SMF network element can be an SMF network element located in the home location. In the roaming scenario, the SMF network element in the home location can also be called the anchor SMF (ASMF) network element of the target terminal.
[0042] The PDU session establishment request is used to request the establishment of a PDU session between the UE and the data network (DN), that is, the PDU session establishment request is used to request access to public network services or private network services. The PDU session establishment request can be initiated by the target terminal located in the home location, or it can be initiated from the roaming location where the target terminal is currently located when the target terminal is in a roaming state. When the target terminal is located in different regions, the target terminal can initiate different PDU session establishment requests to the corresponding SMF network element through the base station deployed at its location, and the PDU session establishment request can carry information indicating whether the target terminal is in a roaming state; after initiating the PDU session establishment request to the SMF network element, the SMF network element can be used to connect to the UPF network element deployed at the current location of the target terminal, and then connect to the DN through the UPF network element for data transmission.
[0043] DN is a data network that provides business services to users. Normally, the client is located in the UE and the server is located in the data network. The data network can be a private network, such as a local area network; it can also be an external network that is not controlled by the operator, such as the Internet; or it can be a proprietary network jointly deployed by operators, such as a configured IP Multimedia core network Subsystem (IMS) service. In a roaming scenario, the local data network deployed in the home location may be different from the local data network deployed in the roaming location. For ease of understanding, the local data network deployed in the home location may also be referred to as a campus network, enterprise network, enterprise private network, local network, etc., and the embodiments of the present disclosure do not limit this.
[0044] The scope of communication supported by the general DNN is within the province to which the target area belongs. If the contract method between the UE and the target area network is general DNN, the access scope supported by this contract method is within the province to which the target area belongs. The UE and the target area network sign a contract through the general DNN, so that the UE can access the target area network when it is within the province to which the target area belongs, and cannot access the target area network when it is outside the province to which the target area belongs.
[0045] The scope of communication supported by the dedicated DNN includes outside the province to which the target area belongs. If the contract method between the UE and the target area network is a dedicated network DNN, the access scope supported by this contract method includes outside the province to which the target area belongs. The UE and the target area network sign a contract through the dedicated network DNN, so that the UE's location information can also access the target area network when it is outside the province to which the target area belongs.
[0046] Operators can sign up for dedicated DNN for private network users. When a UE registers for a private network user, a dedicated DNN can be signed up for the UE; and for a UE that is not a registered private network user, a universal DNN can be signed up for the UE. In other words, it can be determined whether the target terminal is a registered private network user based on the signed DNN of the target terminal.
[0047] It should be noted that a dedicated DNN can access both the public network and the target private network; a general DNN can only access the public network but not the target private network. Here, the target private network is the intranet relative to the public network, and the public network is the extranet relative to the target private network.
[0048] As the interface UPF network element with the DN, the UPF network element is mainly used for routing and forwarding UE service data, data and service identification, action and policy execution, etc. The first UPF network element, also known as the primary anchor UPF network element, refers to the UPF network element to which the UE connects when the session is initially activated and created, and is mainly used to allocate an IP address to the UE and forward user plane data. The first UPF network element can be deployed in the home location or in the roaming location, and the embodiment of the present disclosure is not limited to this. The second UPF network element, also known as the auxiliary anchor UPF network element, refers to the UPF network element inserted after the UE session is created, and is mainly used to forward user plane data for the UE. The ULCL UPF network element is a working form of the UPF network element, which is mainly used for service diversion and can determine the direction of the data flow based on the different destination addresses accessed by the user. In the embodiment of the present disclosure, the ULCL UPF network element can be inserted in the home location or in the roaming location, and the embodiment of the present disclosure is not limited to this. The ULCL UPF network element can also be deployed in conjunction with other UPF network elements to characterize that the network element can also be used as a ULCL UPF network element at the same time to achieve the diversion function.
[0049] The PCF network element is mainly used for policy control such as billing, Quality of Service (QoS) bandwidth guarantee and mobility management, and UE policy decision-making for sessions and service flow levels. The UDR network element is mainly used for the storage and access of contract data, policy data, application data and other types of data. The Unified Data Management (UDM) network element is mainly used to manage contract data, user access authorization, etc. In the disclosed embodiment, the UDM / UDR network element is mainly used for the storage and access of the UE's contract data, and the contract information includes at least a general DNN; the PCF / UDR network element is mainly used for the storage and access of the UE's contract data, and the contract data includes at least a dedicated DNN, ULCL insertion rules and diversion rules. Furthermore, the dedicated DNN includes at least a special identification field for the dual-domain private network to indicate that the UE has signed a contract for a dual-domain private network service.
[0050] The ULCL insertion rule is used to indicate that the SMF network element (e.g., the first SMF network element) needs to insert the ULCL UPF network element and the auxiliary anchor UPF network element for the UE's PDU session when it is determined that the dedicated DNN to which the UE has subscribed includes a special identification field for the dual-domain private network, and also indicates that the SMF network element (e.g., the first SMF network element or the second SMF network element) needs to select the auxiliary anchor UPF network element based on the dedicated DNN. It should be noted that the selection of the auxiliary anchor UPF network element is based on the dedicated DNN, not the general DNN.
[0051] The diversion rule includes the destination IP address and target Uniform Resource Locator (URL) of the dual-domain private network. The diversion rule is used to instruct the ULCL UPF network element to detect the destination IP address or target URL of the uplink data packet. If the detected destination IP address or target URL matches the destination IP or target URL in the diversion rule, the ULCL UPF network element forwards the uplink data packet to the secondary anchor point UPF network element; otherwise, the ULCL UPF network element forwards the uplink data packet to the primary anchor point UPF network element.
[0052] The NRF network element is mainly used to receive the network element discovery request sent by the SMF network element, query other SMF network elements that match the network element discovery request, and send a list of other SMF network elements to the SMF network element. Here, other SMF network elements refer to SMF network elements that can provide access services for private network services to the target terminal and can control the second UPF network element. The network element discovery request carries at least the dedicated DNN signed by the target terminal. In the embodiment of the present disclosure, the SMF network element may be the first SMF network element, the other SMF network elements may be the second SMF network element, and the list of other SMF network elements may be a list of SMF network elements including multiple second SMF network elements.
[0053] According to the technical solution provided by the embodiment of the present disclosure, a packet data unit session establishment request is received from a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries the universal data network name of the target terminal; based on the universal data network name and the current location of the target terminal, a first user plane function network element is selected and a contract information acquisition request is sent to a policy control function network element, wherein the contract information acquisition request is used to request to obtain the private data network name of the target terminal; when the private data network name is obtained, an uplink classifier user plane function network element is selected based on the current location of the target terminal, wherein the uplink classifier user plane function network element is used to divert data packets of the target terminal; when it is determined that access services for private network services cannot be provided to the target terminal, a network element discovery request is sent to a network storage function network element, wherein the network element discovery request The request is used to request a list of session management function network elements matching the private data network name, wherein the list of session management function network elements includes multiple second session management function network elements; the list of session management function network elements sent by the receiving network storage function network element is selected from the multiple second session management function network elements based on the current location of the target terminal, and the second session management function network element is requested to select a second user plane function network element; based on the diversion rule, the universal data network name data outlet of the first user plane function network element or the dedicated data network name data outlet of the second user plane function network element is used to forward the data packet from the uplink classifier user plane function network element, so that the target terminal can also access the public network service and the private network service when roaming, thereby avoiding the detour and detour of the public network traffic, reducing the workload of the existing network transformation, reducing the public network service delay and network element transformation cost, and further improving the service experience.
[0054] In some embodiments, receiving a packet data unit session establishment request sent by a target terminal includes: receiving a packet data unit session establishment request sent by the target terminal through a target base station and an access and mobility management function network element, wherein the first session management function network element is an access and mobility management function network element selected based on a universal data network name and a current location of the target terminal.
[0055] Specifically, the target terminal sends a PDU session establishment request to the AMF network element through the target base station. After receiving the PDU session establishment request, the AMF network element selects the SMF network element in the corresponding SMF network element pool as the first SMF network element based on the general DNN and the current location of the target terminal, or directly selects the SMF network element as the first SMF network element. The first SMF network element can be located in the home location or in the roaming location.
[0056] When the UE is located at its home location, the target base station may be a home base station deployed at the home location where the UE is currently located, and the AMF network element may be a home AMF network element deployed at the home location where the UE is currently located, and the AMF network element may select the SMF network element at the home location as the first SMF network element; when the UE is located at a roaming location, the target base station may be a roaming base station deployed at the roaming location where the UE is currently located, and the AMF network element may be a roaming AMF network element deployed at the roaming location where the UE is currently located, and the AMF network element may select the SMF network element at the roaming location as the first SMF network element. It can be seen that the AMF network element can flexibly select the SMF network element as the first SMF network element based on the current location of the UE.
[0057] In some embodiments, when the name of the dedicated data network is obtained, an uplink classifier user plane functional network element is selected based on the current location of the target terminal, including: if there is a first interface between the first user plane functional network element and the target base station, the first user plane functional network element is selected as the uplink classifier user plane functional network element; if there is no first interface between the first user plane functional network element and the target base station, the user plane functional network element that is closest to the current location of the target terminal and has a first interface with the target base station is selected as the uplink classifier user plane functional network element.
[0058] Specifically, after obtaining the dedicated DNN, the first SMF network element determines that the ULCL UPF network element needs to be inserted based on the ULCL insertion rule; further, the first SMF network element determines whether there is a first interface between the first UPF network element and the target base station. If there is a first interface between the first UPF network element and the target base station, it means that the first UPF network element can also serve as a ULCL UPF network element. At this time, the first SMF network element selects the first UPF network element as the ULCL UPF network element; if there is no first interface between the first user plane function network element and the target base station, it means that the first UPF network element cannot also serve as a ULCL UPF network element. At this time, the first SMF network element needs to reselect a UPF network element as the ULCL UPF network element, which is closest to the current location of the UE and has a first interface with the target base station. Here, the first interface is an N3 interface (that is, there is a physical connection between the first UPF network element and the target base station), which is used to transmit user plane data between the target base station and the first UPF network element.
[0059] It should be noted that, taking into account the problems of network element transformation cost, traffic detour and rotation, and increased service delay, when the first UPF network element can also serve as a ULCL UPF network element, the first UPF network element is preferentially selected as the ULCL UPF network element, thereby avoiding public network traffic detour and rotation, reducing the workload of existing network transformation, reducing public network service delay and network element transformation cost, and further improving the service experience.
[0060] In some embodiments, when the target terminal is located in a roaming area, the first session management function network element is a roaming session management function network element located in the roaming area. When it is determined that access services to private network services cannot be provided to the target terminal, a network element discovery request is sent to the network storage function network element, including: when there is no second interface between the first session management function network element and the second user plane function network element, determining that access services to private network services cannot be provided to the target terminal; sending a network element discovery request to the network storage function network element, and selecting a second session management function network element based on the list of session management function network elements returned by the network storage function network element, wherein the second session management function network element is a home session management function network element located in the home area of the target terminal.
[0061] Specifically, when the UE is located in a roaming area, the first SMF network element is a roaming SMF network element located in the roaming area. Since there is no second interface between the first SMF network element located in the roaming area and the second UPF network element located in the home area, the first SMF network element cannot provide the UE with access services for private network services; at this time, the first SMF network element sends a network element discovery request to the NRF network element to request the NRF network element to provide a list of SMF network elements that can provide access services for private network services for the UE; after receiving the SMF network element list returned by the NRF network element, the first SMF network element selects an SMF network element located in the home area of the UE and capable of controlling the second UPF network element from the SMF network element list as the second SMF network element. Here, the second interface is an N4 interface, which is used to transmit information between the control plane and the user plane, including controlling the issuance of forwarding rules, QoS control rules, traffic statistics rules, etc. facing the user plane and reporting information on the user plane.
[0062] According to the technical solution provided by the embodiment of the present disclosure, when the first SMF network element is unable to provide access services for private network services for the dedicated DNN, SMF service discovery is performed on the NRF network element based on the dedicated DNN to determine the second SMF network element, and the auxiliary anchor point UPF is selected by using a dual SMF network element method of the first SMF network element and the second SMF network element. The selection of the auxiliary anchor point UPF can be achieved through the dual SMF network elements based on the dedicated DNN, thereby realizing access to public network services and private network services based on the ULCL UPF network element.
[0063] In some embodiments, the diversion rule includes a destination Internet Protocol address and a destination uniform resource locator of a target private network, and based on the diversion rule, a data packet from an uplink classifier user plane function network element is forwarded using a universal data network name data outlet of a first user plane function network element or a dedicated data network name data outlet of a second user plane function network element, including: when a destination Internet Protocol address of a packet data unit session establishment request matches a destination Internet Protocol address of a target private network, or when a destination uniform resource locator of a packet data unit session establishment request matches a destination uniform resource locator of a target private network, When the locators match, the dedicated data network name data outlet of the second user plane function network element is used to forward the data packet from the uplink classifier user plane function network element to the target private network; when the destination Internet Protocol address of the packet data unit session establishment request does not match the destination Internet Protocol address of the target private network, or when the target uniform resource locator of the packet data unit session establishment request does not match the target uniform resource locator of the target private network, the universal data network name data outlet of the first user plane function network element is used to forward the data packet from the uplink classifier user plane function network element to the public network.
[0064] Specifically, the diversion rules may include the destination IP address and the destination URL of the target private network. After receiving the PDU session establishment request, the first SMF network element may determine the packet diversion direction based on the destination IP address or the destination URL of the PDU session establishment request. Here, the packet diversion direction may include the target private network and the public network. Taking the destination IP address as an example, when the destination IP address belongs to the target private network, the packet diversion direction is determined to be the target private network. At this time, the dedicated DNN data export of the second UPF network element is used to forward the packet from the ULCL UPF network element to the target private network; when the destination IP address belongs to the public network, the packet diversion direction is determined to be the public network. At this time, the general DNN data export of the first UPF network element is used to forward the packet from the ULCL UPF network element to the public network. Here, the target private network is the intranet relative to the public network, and the public network is the extranet relative to the target private network.
[0065] According to the technical solution provided by the embodiment of the present disclosure, the data packet diversion direction can be determined based on the destination IP address or target URL of the PDU session establishment request, thereby facilitating the user's network access operation.
[0066] In some embodiments, when the target terminal is located at a home location, the first session management function network element is a home session management function network element located at the home location, and the method also includes: when it is determined that access services for private network services can be provided to the target terminal, based on the private data network name, selecting a user plane function network element located at the home location as the second user plane function network element.
[0067] Specifically, when the UE is located at the home location, the first SMF network element is the home SMF network element located at the home location. Therefore, the first SMF network element can provide the UE with access services for private network services. At this time, the first SMF network element can directly select the UPF network element at the home location as the second user plane function network element based on the dedicated DNN.
[0068] All the above optional technical solutions can be combined in any way to form optional embodiments of the present disclosure, which will not be described in detail here. In addition, the order of the sequence numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
[0069] The communication method of the embodiment of the present disclosure is described below with reference to the accompanying drawings and through specific examples. The scenario is set as follows:
[0070] Assume that a UE of a government network customer has signed a contract for a dual-domain private network, and its location is Beijing. Beijing Mobile has set up a dedicated UPF network element for the UE, and the government network is connected to the Beijing dedicated UPF network element through a physical dedicated line. The UE, a customer of the government network, has signed a contract for a general DNN in the UDM / UDR network element in Beijing, for example, China Mobile Network (CMNET), and has signed a contract for a dedicated DNN, ULCL insertion rules and diversion rules in the PCF / UDR network element in Beijing. The dedicated DNN includes a special identification field for the dual-domain private network to identify that the UE has signed a contract for the dual-domain private network service; the ULCL insertion rule determines whether the UE has signed a contract for a dedicated DNN. If the signed dedicated DNN includes a special identification field for the dual-domain private network, the SMF network element needs to insert the ULCL UPF network element and the auxiliary anchor UPF network element for the UE's PDU session, and instruct the SMF network element to select the auxiliary anchor UPF network element based on the signed dedicated DNN; the diversion rule includes the destination IP address and target URL of the government private network. The diversion rule instructs the ULCL UPF network element to detect the destination IP or target URL of the uplink data packet. If the detected destination IP address or target URL matches the destination IP or target URL in the diversion rule, the ULCL The UPF network element forwards the uplink data packet to the secondary anchor point UPF network element; otherwise, the ULCL UPF network element forwards the uplink data packet to the primary anchor point UPF network element.
[0071] Figure 2 FIG. 1 is a schematic diagram of a roaming scenario within a province provided by an exemplary embodiment of the present disclosure. Figure 2As shown, the intra-provincial roaming scenario may include UE, base station, UDM / UDR network element, PCF / UDR network element, AMF network element, SMF network element, first UPF network element, second UPF network element, Internet and government-specific network.
[0072] Specifically, the UE needs to access the public network (e.g., the Internet) and the government-specific network services in its home city of Beijing. The UE uses the general DNN and initiates a PDU session establishment request through the base station to request to establish a PDU session with the Internet or the government-specific network; after receiving the PDU session establishment request, the AMF network element in Beijing selects the general SMF network element in Beijing as the SMF network element based on the general DNN and the current location of the UE; the SMF network element selects the general UPF network element in Beijing as the first UPF network element (i.e., the main anchor UPF network element of the PDU session) based on the general DNN and the current location of the UE; further, the SMF network element allocates an IP address to the UE and establishes a session management policy association with the PCF / UDR network element in its home city of Beijing, and the PCF / UDR network element sends the dedicated DNN, ULCL insertion rules, and diversion rules signed by the UE to the SMF network element.
[0073] When the SMF network element finds that the UE has signed a contract for a dedicated DNN and determines from the special field identifier contained in the dedicated DNN that the UE is a dual-domain private network UE, the SMF network element determines, based on the ULCL insertion rule, that it is necessary to insert a ULCL UPF network element and a second UPF network element (i.e., the auxiliary anchor point UPF network element of the PDU session) into the PDU session; the SMF network element selects the ULCL UPF network element based on the current position of the UE. If the selected first UPF network element has an N3 interface (i.e., there is a physical connection between the first UPF network element and the base station), the first UPF network element is preferentially selected as the ULCL UPF network element; if the selected first UPF network element does not have an N3 interface (i.e., there is no physical connection between the first UPF network element and the base station), the UPF network element that is closest to the UE and has an N3 interface with the current base station is selected as the ULCL UPF network element. Here, it is assumed that the first UPF network element has an N3 interface, that is, the first UPF network element also serves as the ULCL UPF network element.
[0074] Next, the SMF network element uses a dedicated DNN to select a secondary anchor point UPF network element (i.e., the dedicated UPF network element as described above) for the PDU session based on the policy rules signed by the UE. Since the secondary anchor point UPF network element is under the jurisdiction of the SMF network element, the SMF network element directly selects the secondary anchor point UPF network element as the second UPF network element based on the dedicated DNN; after selecting the first UPF network element and the second UPF network element, the SMF network element establishes N4 interface connections with the first UPF network element and the second UPF network element respectively, requiring the second UPF network element to allocate its N9 interface tunnel information, the first UPF network element to allocate its N9 interface tunnel information and N3 interface tunnel information, and transmits the diversion rules to the first UPF network element through the N4 interface.
[0075] Further, the SMF network element transmits the N9 interface tunnel information allocated by the second UPF network element to the first UPF network element, and transmits the N9 interface tunnel information allocated by the first UPF network element to the second UPF network element, so as to establish an N9 interface connection between the first UPF network element and the second UPF network element (i.e., the dedicated UPF network element as described above); the SMF network element transmits the N3 tunnel information on the core network side allocated by the first UPF network element to the AMF network element, which is then transmitted to the base station by the AMF network element, and after the base station allocates the N3 interface tunnel information on the wireless network side, it is transmitted to the SMF network element through the AMF network element, and then transmitted to the first UPF network element by the SMF network element, so as to establish an N3 interface connection between the first UPF network element and the base station. At this point, the UE's PDU session establishment process is completed.
[0076] When the UE initiates a request for a private network service, the UE sends an uplink private network data packet. After the private network data packet arrives at the first UPF network element, the first UPF network element checks whether the destination IP address is a private network IP address based on the UE's diversion rule; if it is determined that the destination IP address is a private network IP address, the private network data packet is forwarded to the second UPF network element through the N9 interface; when the UE initiates a request for a public network service, the UE sends an uplink data packet. After the data packet arrives at the first UPF network element, the first UPF network element checks that the destination IP address does not match the IP address in the diversion rule, then the first UPF network element forwards the data packet to the Internet through the N6 interface.
[0077] Figure 3 FIG. 1 is a schematic diagram of an inter-provincial roaming scenario provided by an exemplary embodiment of the present disclosure. Figure 3 As shown, the inter-provincial roaming scenario may include UE, roaming base station, UDM / UDR network element, PCF / UDR network element, roaming AMF network element, first SMF network element, second SMF network element, first UPF network element, second UPF network element, Internet and government-specific network.
[0078] Specifically, the UE needs to access the public network (e.g., the Internet) and the government-dedicated network services in the roaming location of Hebei. The UE uses the universal DNN and initiates a PDU session establishment request through a roaming base station located in the roaming location of Hebei to request to establish a PDU session with the Internet or the government-dedicated network; after receiving the PDU session establishment request, the AMF network element in Hebei selects the universal SMF network element in Hebei as the first SMF network element based on the universal DNN and the current location of the UE; the first SMF network element selects the universal UPF network element in Hebei as the first UPF network element (i.e., the main anchor UPF network element of the PDU session) based on the universal DNN and the current location of the UE; further, the first SMF network element allocates an IP address to the UE and establishes a session management policy association with the PCF / UDR network element in the home location of Beijing, and the PCF / UDR network element sends the dedicated DNN, ULCL insertion rules, and diversion rules signed by the UE to the first SMF network element.
[0079] When the first SMF network element finds that the UE has signed a contract for a dedicated DNN and determines from the special field identifier contained in the dedicated DNN that the UE is a dual-domain private network UE, the first SMF network element determines, based on the ULCL insertion rule, that it is necessary to insert a ULCL UPF network element and a second UPF network element (i.e., the auxiliary anchor point UPF network element of the PDU session) in the PDU session; the first SMF network element selects a ULCL UPF network element based on the current position of the UE. If the selected first UPF network element has an N3 interface (i.e., there is a physical connection between the first UPF network element and the base station), the first UPF network element is preferentially selected as the ULCL UPF network element; if the selected first UPF network element does not have an N3 interface (i.e., there is no physical connection between the first UPF network element and the base station), the UPF network element that is closest to the UE and has an N3 interface with the current base station is selected as the ULCL UPF network element. Here, it is assumed that the first UPF network element has an N3 interface, that is, the first UPF network element also serves as the ULCL UPF network element.
[0080] Next, the first SMF network element uses the dedicated DNN to select the auxiliary anchor UPF network element (i.e., the dedicated UPF network element as described above) for the PDU session according to the policy rules signed by the UE. Since there is no N4 interface between the SMF network element in Hebei and the dedicated UPF network element in Beijing, there is no jurisdiction relationship between them. At this time, the first SMF network element determines that it cannot provide access services to the private network services for the UE. The first SMF network element sends a request message to the NRF network element based on the dedicated DNN to request the NRF network element to perform SMF service discovery. The request message includes at least the NF type of the target NF (which should be SMF), the UE identifier (for example, GPSI, etc.), the dedicated DNN and other information. The NRF network element performs a matching query based on the UE identifier, the dedicated DNN and other information to obtain a list of SMF network elements that can provide access services to the private network services for the UE. The list of SMF network elements includes multiple second SMF network elements. The NRF network element sends the list of SMF network elements to the first SMF network element.
[0081] Further, after receiving the SMF network element list, the first SMF network element selects a second SMF network element from multiple second SMF network elements, and sends a secondary anchor point selection request to the second SMF network element, the secondary anchor point selection request including at least information such as the identifier (ID) of the PDU session, the identifier of the UE, the dedicated DNN, the identifier of the first SMF network element, etc.; the second SMF network element selects a dedicated UPF network element in Beijing as the second UPF network element (i.e., the secondary anchor point UPF of the PDU session) based on the dedicated DNN; the second SMF network element establishes a connection with the second UPF network element via the N4 interface, and requires the second UPF network element to allocate N9 interface tunnel information for the UE's PDU session; the second SMF network element sends the N9 tunnel information allocated by the second UPF network element to the first SMF network element; the first SMF network element establishes a connection with the first UPF network element via the N4 interface, and requires that N9 interface tunnel information and N3 interface tunnel information be allocated for the PDU session; the first SMF network element sends the diversion rules to the first UPF network element via the N4 interface.
[0082] The first SMF network element transmits the N9 interface tunnel information allocated by the second UPF network element to the first UPF network element, and transmits the N9 interface tunnel information allocated by the first UPF network element to the second UPF network element through the second SMF network element, so as to establish an N9 interface connection between the first UPF network element and the second UPF network element (i.e., the dedicated UPF network element as described above); the first SMF network element transmits the N3 tunnel information on the core network side allocated by the first UPF network element to the roaming AMF network element, and then the roaming AMF network element transmits it to the roaming base station, and after the roaming base station allocates the N3 interface tunnel information on the wireless network side, it is transmitted to the first SMF network element through the roaming AMF network element, and then the first SMF network element transmits it to the first UPF network element, so as to establish an N3 interface connection between the first UPF network element and the roaming base station. At this point, the UE's PDU session establishment process is completed.
[0083] When the UE initiates a request for a private network service, the UE sends an uplink private network data packet. After the private network data packet arrives at the first UPF network element, the first UPF network element checks whether the destination IP address is a private network IP address based on the UE's diversion rule; if it is determined that the destination IP address is a private network IP address, the private network data packet is forwarded to the second UPF network element through the N9 interface; when the UE initiates a request for a public network service, the UE sends an uplink data packet. After the data packet arrives at the first UPF network element, the first UPF network element checks that the destination IP address does not match the IP address in the diversion rule, then the first UPF network element forwards the data packet to the Internet through the N6 interface.
[0084] Figure 4 It is a flowchart of another communication method provided by an exemplary embodiment of the present disclosure. Figure 4 The communication method is applied to the access and mobility management functional network elements. Figure 4 As shown, the communication method includes:
[0085] S401, receiving a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal;
[0086] S402, based on the universal data network name and the current location of the target terminal, select a first session management function network element, wherein the first session management function network element is used to select a first user plane function network element, and when it is determined that the access service of the private network service cannot be provided to the target terminal, select a second session management function network element, and request the second session management function network element to select a second user plane function network element.
[0087] According to the technical solution provided by the embodiment of the present disclosure, a packet data unit session establishment request sent by a target terminal is received, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries the universal data network name of the target terminal; based on the universal data network name and the current location of the target terminal, a first session management function network element is selected, wherein the first session management function network element is used to select a first user plane function network element, and when it is determined that the access service of the private network service cannot be provided to the target terminal, a second session management function network element is selected, and the second session management function network element is requested to select a second user plane function network element, so that the target terminal can access public network services and private network services when roaming, thereby avoiding detours and detours of public network traffic, reducing the workload of existing network transformation, reducing public network service delay and network element transformation costs, and further improving service experience.
[0088] In the case of dividing each functional module according to each function, an embodiment of the present disclosure provides a communication device. Figure 5 FIG. 1 is a schematic diagram of a communication device provided by an exemplary embodiment of the present disclosure. Figure 5 As shown, the communication device 500 includes:
[0089] The receiving module 501 is configured to receive a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal;
[0090] The first sending module 502 is configured to select a first user plane function network element and send a subscription information acquisition request to the policy control function network element based on the universal data network name and the current location of the target terminal, wherein the subscription information acquisition request is used to request to obtain the dedicated data network name of the target terminal;
[0091] The first selection module 503 is configured to select an uplink classifier user plane function network element based on the current location of the target terminal when the dedicated data network name is obtained, wherein the uplink classifier user plane function network element is used to divert data packets of the target terminal;
[0092] The second sending module 504 is configured to send a network element discovery request to the network storage function network element when it is determined that the access service of the private network service cannot be provided for the target terminal, wherein the network element discovery request is used to request a list of session management function network elements matching the private data network name, and the list of session management function network elements includes multiple second session management function network elements;
[0093] The second selection module 505 is configured to receive the session management function network element list sent by the network storage function network element, select a second session management function network element from the plurality of second session management function network elements based on the current location of the target terminal, and request the second session management function network element to select a second user plane function network element;
[0094] The forwarding module 506 is configured to forward the data packet from the uplink classifier user plane function network element based on the diversion rule, using the general data network name data outlet of the first user plane function network element or the dedicated data network name data outlet of the second user plane function network element.
[0095] According to the technical solution provided by the embodiment of the present disclosure, a packet data unit session establishment request is received from a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries the universal data network name of the target terminal; based on the universal data network name and the current location of the target terminal, a first user plane function network element is selected and a contract information acquisition request is sent to a policy control function network element, wherein the contract information acquisition request is used to request to obtain the private data network name of the target terminal; when the private data network name is obtained, an uplink classifier user plane function network element is selected based on the current location of the target terminal, wherein the uplink classifier user plane function network element is used to divert data packets of the target terminal; when it is determined that access services for private network services cannot be provided to the target terminal, a network element discovery request is sent to a network storage function network element, wherein the network element discovery request The request is used to request a list of session management function network elements matching the private data network name, wherein the list of session management function network elements includes multiple second session management function network elements; the list of session management function network elements sent by the receiving network storage function network element is selected from the multiple second session management function network elements based on the current location of the target terminal, and the second session management function network element is requested to select a second user plane function network element; based on the diversion rule, the universal data network name data outlet of the first user plane function network element or the dedicated data network name data outlet of the second user plane function network element is used to forward the data packet from the uplink classifier user plane function network element, so that the target terminal can also access the public network service and the private network service when roaming, thereby avoiding the detour and detour of the public network traffic, reducing the workload of the existing network transformation, reducing the public network service delay and network element transformation cost, and further improving the service experience.
[0096] In some embodiments, Figure 5 The receiving module 501 receives a packet data unit session establishment request sent by the target terminal through the target base station and the access and mobility management function network element, wherein the first session management function network element is selected by the access and mobility management function network element based on the universal data network name and the current location of the target terminal.
[0097] In some embodiments, if there is a first interface between the first user plane function network element and the target base station, then Figure 5 The first selection module 503 selects the first user plane function network element as the uplink classifier user plane function network element; if there is no first interface between the first user plane function network element and the target base station, then Figure 5 The first selection module 503 selects a user plane function network element which is closest to the current position of the target terminal and has a first interface with the target base station as the uplink classifier user plane function network element.
[0098] In some embodiments, when the target terminal is located in a roaming location, the first session management function network element is a roaming session management function network element located in the roaming location, and when there is no second interface between the first session management function network element and the second user plane function network element, it is determined that an access service to the private network service cannot be provided for the target terminal; Figure 5 The second sending module 504 sends a network element discovery request to the network storage function network element, and selects a second session management function network element based on the session management function network element list returned by the network storage function network element, wherein the second session management function network element is a home session management function network element located at the home location of the target terminal.
[0099] In some embodiments, the diversion rule includes a destination Internet Protocol address and a destination Uniform Resource Locator of a target private network. When the destination Internet Protocol address of a packet data unit session establishment request matches the destination Internet Protocol address of the target private network, or when the destination Uniform Resource Locator of a packet data unit session establishment request matches the destination Uniform Resource Locator of the target private network, Figure 5 The forwarding module 506 uses the dedicated data network name data outlet of the second user plane function network element to forward the data packet from the uplink classifier user plane function network element to the target private network; when the destination Internet Protocol address of the packet data unit session establishment request does not match the destination Internet Protocol address of the target private network, or when the target uniform resource locator of the packet data unit session establishment request does not match the target uniform resource locator of the target private network, Figure 5 The forwarding module 506 uses the universal data network name data outlet of the first user plane functional network element to forward the data packet from the uplink classifier user plane functional network element to the public network.
[0100] In some embodiments, when the target terminal is located in the home location, the first session management function network element is a home session management function network element located in the home location. When it is determined that the access service of the private network service can be provided to the target terminal, Figure 5The second selection module 505 selects a user plane function network element located in the home location as the second user plane function network element based on the private data network name.
[0101] Figure 6 FIG. 1 is a schematic diagram of the structure of another communication device provided by an exemplary embodiment of the present disclosure. Figure 6 As shown, the communication device 600 includes:
[0102] The receiving module 601 is configured to receive a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal;
[0103] The selection module 602 is configured to select a first session management function network element based on the universal data network name and the current location of the target terminal, wherein the first session management function network element is used to select a first user plane function network element, and when it is determined that the access service of the private network service cannot be provided to the target terminal, select a second session management function network element, and request the second session management function network element to select a second user plane function network element.
[0104] According to the technical solution provided by the embodiment of the present disclosure, a packet data unit session establishment request sent by a target terminal is received, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries the universal data network name of the target terminal; based on the universal data network name and the current location of the target terminal, a first session management function network element is selected, wherein the first session management function network element is used to select a first user plane function network element, and when it is determined that the access service of the private network service cannot be provided to the target terminal, a second session management function network element is selected, and the second session management function network element is requested to select a second user plane function network element, so that the target terminal can access public network services and private network services when roaming, thereby avoiding detours and detours of public network traffic, reducing the workload of existing network transformation, reducing public network service delay and network element transformation costs, and further improving service experience.
[0105] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.
[0106] An embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; a memory for storing instructions executable by at least one processor; wherein the at least one processor is used to execute instructions to implement the steps of the above method disclosed in the embodiment of the present disclosure.
[0107] Figure 7 is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present disclosure. Figure 7 As shown, the electronic device 700 includes at least one processor 701 and a memory 702 coupled to the processor 701. The processor 701 can execute corresponding steps in the above method disclosed in the embodiment of the present disclosure.
[0108] The processor 701 may also be referred to as a central processing unit (CPU), which may be an integrated circuit chip having signal processing capabilities. Each step in the method disclosed in the embodiment of the present disclosure may be completed by an integrated logic circuit of hardware in the processor 701 or by instructions in the form of software. The processor 701 may be a general-purpose processor, a digital signal processor (DSP), an ASIC, a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present disclosure may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a memory 702, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, or other mature storage media in the art. The processor 701 reads the information in the memory 702 and completes the steps of the method in combination with its hardware.
[0109] In addition, when various operations / processes according to the present disclosure are implemented by software and / or firmware, they can be transmitted from a storage medium or a network to a computer system having a dedicated hardware structure, for example, Figure 8 The computer system 800 shown is installed with the programs constituting the software. When the various programs are installed, the computer system can perform various functions, including the functions described above. Figure 8 It is a schematic diagram of the structure of a computer system provided by an exemplary embodiment of the present disclosure.
[0110] Computer system 800 is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0111] like Figure 8 As shown, the computer system 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the computer system 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0112] A plurality of components in the computer system 800 are connected to the I / O interface 805, including: an input unit 806, an output unit 807, a storage unit 808, and a communication unit 809. The input unit 806 can be any type of device capable of inputting information to the computer system 800, and the input unit 806 can receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 807 can be any type of device capable of presenting information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 808 can include but is not limited to a disk, an optical disk. The communication unit 809 allows the computer system 800 to exchange information / data with other devices over a network such as the Internet, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, for example, a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0113] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above. For example, in some embodiments, the above methods disclosed in the embodiments of the present disclosure may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via the ROM 802 and / or the communication unit 809. In some embodiments, the computing unit 801 may be configured to perform the above methods disclosed in the embodiments of the present disclosure in any other appropriate manner (e.g., by means of firmware).
[0114] The embodiment of the present disclosure also provides a computer-readable storage medium, wherein when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the above method disclosed in the embodiment of the present disclosure.
[0115] The computer-readable storage medium in the disclosed embodiments may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. The computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. More specifically, the computer-readable storage medium may include an electrical connection based on one or more lines, 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 of the foregoing.
[0116] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0117] The embodiments of the present disclosure also provide a computer program product, including a computer program, wherein the computer program implements the above method disclosed in the embodiments of the present disclosure when executed by a processor.
[0118] In embodiments of the present disclosure, computer program codes for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer.
[0119] 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 disclosure. 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 implementations as replacements, 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 a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0120] The modules, components or units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the names of the modules, components or units do not, in some cases, limit the modules, components or units themselves.
[0121] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0122] The above descriptions are only some embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, a technical solution formed by replacing the above features with the technical features with similar functions disclosed in the present disclosure (but not limited to).
[0123] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. A communication method, characterized in that: Applied to a first session management function network element, the method comprises: receiving a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal; Based on the universal data network name and the current location of the target terminal, select a first user plane function network element and send a subscription information acquisition request to a policy control function network element, wherein the subscription information acquisition request is used to request to obtain the private data network name of the target terminal; In the case where the dedicated data network name is obtained, selecting an uplink classifier user plane function network element based on the current location of the target terminal, wherein the uplink classifier user plane function network element is used to divert data packets of the target terminal; In the case where it is determined that the access service of the private network service cannot be provided for the target terminal, sending a network element discovery request to the network storage function network element, wherein the network element discovery request is used to request a list of session management function network elements matching the private data network name, and the list of session management function network elements includes multiple second session management function network elements; receiving the session management function network element list sent by the network storage function network element, selecting a second session management function network element from the plurality of second session management function network elements based on the current location of the target terminal, and requesting the second session management function network element to select a second user plane function network element; Based on the diversion rules, the data packet from the uplink classifier user plane function network element is forwarded using the general data network name data outlet of the first user plane function network element or the dedicated data network name data outlet of the second user plane function network element.
2. The method according to claim 1, characterized in that The receiving a packet data unit session establishment request sent by a target terminal includes: Receive the packet data unit session establishment request sent by the target terminal through the target base station and the access and mobility management function network element, wherein the first session management function network element is selected by the access and mobility management function network element based on the universal data network name and the current location of the target terminal.
3. The method according to claim 2, characterized in that In the case where the dedicated data network name is acquired, selecting an uplink classifier user plane function network element based on the current location of the target terminal includes: If a first interface exists between the first user plane function network element and the target base station, selecting the first user plane function network element as the uplink classifier user plane function network element; If the first interface does not exist between the first user plane function network element and the target base station, the user plane function network element that is closest to the current position of the target terminal and has the first interface with the target base station is selected as the uplink classifier user plane function network element.
4. The method according to claim 1, characterized in that: When the target terminal is located in a roaming location, the first session management function network element is a roaming session management function network element located in the roaming location, and when it is determined that the access service of the private network service cannot be provided for the target terminal, sending a network element discovery request to a network storage function network element includes: In the case where there is no second interface between the first session management function network element and the second user plane function network element, determining that it is impossible to provide the target terminal with an access service to the private network service; Send the network element discovery request to the network storage function network element, and select the second session management function network element based on the session management function network element list returned by the network storage function network element, wherein the second session management function network element is a home session management function network element located at the home location of the target terminal.
5. The method according to claim 1, characterized in that The diversion rule includes a destination Internet Protocol address and a target uniform resource locator of a target private network, and the forwarding of the data packet from the uplink classifier user plane function network element by using a universal data network name data outlet of the first user plane function network element or a dedicated data network name data outlet of the second user plane function network element based on the diversion rule includes: In a case where a destination Internet Protocol address of the packet data unit session establishment request matches a destination Internet Protocol address of the target private network, or in a case where a target uniform resource locator of the packet data unit session establishment request matches a target uniform resource locator of the target private network, forwarding the data packet from the uplink classifier user plane function network element to the target private network by using the dedicated data network name data outlet of the second user plane function network element; In a case where a destination Internet Protocol address of the packet data unit session establishment request does not match a destination Internet Protocol address of the target private network, or in a case where a target Uniform Resource Locator of the packet data unit session establishment request does not match a target Uniform Resource Locator of the target private network, the data packet from the uplink classifier user plane function network element is forwarded to a public network using a universal data network name data outlet of the first user plane function network element.
6. The method according to any one of claims 1 to 5, characterized in that When the target terminal is located in a home location, the first session management function network element is a home session management function network element located in the home location, and the method further includes: When it is determined that the access service of the private network service can be provided to the target terminal, a user plane function network element located in the home location is selected as the second user plane function network element based on the private data network name.
7. A communication method, characterized in that: Applied to an access and mobility management function network element, the method comprises: receiving a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal; Based on the universal data network name and the current location of the target terminal, a first session management function network element is selected, wherein the first session management function network element is used to select a first user plane function network element, and when it is determined that the access service of the private network service cannot be provided to the target terminal, a second session management function network element is selected, and the second session management function network element is requested to select a second user plane function network element.
8. A communication device, characterized in that: Applied to a first session management function network element, the device includes: a receiving module, configured to receive a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal; A first sending module is configured to select a first user plane function network element based on the universal data network name and the current location of the target terminal and send a subscription information acquisition request to the policy control function network element, wherein the subscription information acquisition request is used to request to obtain the private data network name of the target terminal; A first selection module is configured to select an uplink classifier user plane function network element based on the current location of the target terminal when the dedicated data network name is acquired, wherein the uplink classifier user plane function network element is used to divert data packets of the target terminal; a second sending module, configured to send a network element discovery request to a network storage function network element when it is determined that the access service of the private network service cannot be provided for the target terminal, wherein the network element discovery request is used to request a list of session management function network elements matching the private data network name, and the list of session management function network elements includes a plurality of second session management function network elements; a second selection module configured to receive the session management function network element list sent by the network storage function network element, select a second session management function network element from the plurality of second session management function network elements based on the current location of the target terminal, and request the second session management function network element to select a second user plane function network element; The forwarding module is configured to forward the data packet from the uplink classifier user plane function network element based on the diversion rule, using the universal data network name data export of the first user plane function network element or the dedicated data network name data export of the second user plane function network element.
9. A communication device, characterized in that: Applicable to access and mobility management function network elements, the device comprises: a receiving module, configured to receive a packet data unit session establishment request sent by a target terminal, wherein the packet data unit session establishment request is used to request to establish a packet data unit session for the target terminal and carries a universal data network name of the target terminal; The selection module is configured to select a first session management function network element based on the universal data network name and the current location of the target terminal, wherein the first session management function network element is used to select a first user plane function network element, and select a second session management function network element when it is determined that the access service of the private network service cannot be provided to the target terminal, and request the second session management function network element to select a second user plane function network element.
10. An electronic device, characterized in that: include: at least one processor; a memory for storing the at least one processor-executable instruction; The at least one processor is configured to execute the instructions to implement the method as claimed in any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
Network access method and device
CN115209395A
Data transmission method, communication device and storage medium
CN115396847A
Service access processing method and device, equipment and storage medium
CN115529342A
Cited By
Dynamic signing method, device and equipment for roaming place under 5G network and medium
CN119402852A
Methods, devices, equipment and media for dynamic signing of roaming locations under 5G networks
CN119402852B
Dynamic subscription method and apparatus for roaming location in 5g network, and device and medium
WO2026086637A1
