Network access method, device, core network, server and terminal

By sending a Radius authentication request to the Radius server in the core network, detecting the legitimacy of the terminal and allocating a network address, it solves the problem of poor access security and flexibility of the 5G customized network, and achieves safe and effective access and operational efficiency for customized network users. promote.

CN114513829BActive Publication Date: 2024-08-27CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111659787.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2024-08-27
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

Existing solutions for implementing 5G customized networks have problems such as low security, poor flexibility, inability to achieve safe and effective access for customized network users, and inability to ensure user controllability.

Method used

After receiving the terminal's access request in the core network, it sends a Radius authentication request to the Radius server to detect whether the terminal meets the conditions for accessing the target customized network, and initiates a session establishment connection request after receiving the response information allowing access. Allocate a target network address to the terminal, realize the legality verification and flexible decision-making of terminal access by the Radius server, prevent pseudo-terminals and malicious disguise attacks, and improve network security.

Benefits of technology

Effectively prevent pseudo-terminals, enhance the ability to defend against malicious masquerade attacks, ensure safe and effective access for customized network users, and conduct real-time management of access terminals and online status through the Radius server, greatly improving the efficiency of customized network operations and reducing errors due to mistaken access or Complaints about business impediments caused by restrictions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114513829B
    Figure CN114513829B
Patent Text Reader

Abstract

The present application provides a network access method, device, core network, server and terminal. The method applied to the core network includes: receiving an access request sent by a terminal carrying target access point information; when the access request and the legitimacy of the terminal accessing the core network are verified, sending a Radius authentication request to the Radius server; when receiving the first response information fed back by the Radius server allowing access to the target customized network, initiating a session establishment connection request, allocating a target network address to the terminal, and sending an online access message carrying a start identifier to the Radius server; when receiving the first confirmation information fed back by the Radius server, sending the target network address to the terminal so that the terminal can access the target customized network. The present application verifies the legitimacy of the terminal access by the server to achieve the purpose of flexible decision-making and accurate access control, and can ensure the safe and effective access of customized network users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a network access method, device, core network, server and terminal. Background Art

[0002] At present, with the advent of the 5th Generation Mobile Communication Technology (5G) era, the widespread application and development of 5G combined with multi-access edge computing (MEC) scenarios has made it possible for government and enterprise users to use their own exclusive 5G customized networks. With the application of 5G customized networks in multiple scenarios, it has also brought unprecedented challenges to the security of emerging Internet information. Therefore, ensuring the security of customized network business information has become a development trend as a basic requirement in the 5G era.

[0003] Based on 5G slicing private network technology, the carrier function of the Internet Protocol (IP) network is used in combination with the corresponding authentication and authorization mechanism to establish a secure 5G customized network service in the operator, which has become the choice of most government and enterprise customized network users in the 5G+MEC scenario. This service is also one of the conditions for developing emerging technologies such as mobile Internet, cloud computing, big data, artificial intelligence, and the Internet of Things to achieve secure interconnection of all things. Among the current technologies for realizing government and enterprise 5G customized networks, access to the government and enterprise intranet only requires the terminal to support the 5G network and the subscriber identity module (SIM card) to sign the customized network exclusive access point information, which is convenient and fast.

[0004] Specifically, when government and enterprise users customize their own smart campus network scenarios, they usually use the MEC edge computing platform built by the edge user plane function (UPF) to access the internal network of the government and enterprise to achieve the large bandwidth and low latency characteristics of the 5G network. The current route for terminals to access the customized network is:

[0005] 1. The customized network user sets the customized network access point data network name (DNN) information on the terminal to initiate an access request. The access and mobility management function (AMF) network element receives the customized network DNN information uploaded by the terminal, and obtains the user contract information based on the unified data management (UDM) network element, verifies it, and authenticates the legitimacy of the terminal's access to the network.

[0006] 2. If the verification is consistent and the legitimacy authentication is passed, the AMF network element receives the access request carrying the customized network DNN information and initiates a request to establish a bearer session connection to the session management function (SMF) network element.

[0007] 3. After receiving the request to establish a bearer session connection, SMF selects the UPF that can allocate an intranet address to the terminal user and can communicate with the government and enterprise intranet according to the customized network DNN information, and initiates a session establishment connection request to it.

[0008] 4. After receiving the session establishment connection request, UPF assigns a customized network user address to the terminal. After obtaining the address, the terminal enters the customized network and can access the internal network of the government and enterprise.

[0009] The above process has the following problems: 1. In terms of secure access, if the terminal is lost or the SIM card is stolen, allowing others to obtain customized network information, the government and enterprise side cannot control the access rights of the SIM card in time. In particular, for special government and enterprise customized network users (such as confidential enterprises), in order to achieve the terminal card plug-in or prevent the terminal from accessing the public network due to misoperation, special government and enterprises will require operators to configure a single customized network contract data locally in the UDM, and use the AMF error correction function to achieve a single customized network access function. It is possible to enter the government and enterprise intranet without setting up a customized network access point. In this case, if others obtain customized network information, it is easy to cause information leakage. 2. It is impossible to bind the SIM card to the terminal, which is easy to cause problems such as SIM card misappropriation. 3. Customized network users can access intranet services after accepting customized network services, but government and enterprise network managers and maintainers cannot flexibly view and manage the terminal access status and online information in real time on the access side. 4. Under normal circumstances, the government and enterprise intranet is not allowed to directly communicate with the operator's control plane network. If the government and enterprise intranet is directly communicated with the operator's control plane network, it will increase the Internet exposure and cause security risks to the operator's core network.

[0010] It can be seen that the solutions for implementing customized networks in the prior art have the problems of low security, poor flexibility, inability to implement safe and effective access of customized network users, and inability to guarantee user controllability. Summary of the invention

[0011] The embodiments of the present application provide a network access method, device, core network, server and terminal to solve the problems of low security, poor flexibility, inability to achieve safe and effective access of customized network users and inability to ensure user controllability in the solutions for implementing customized networks in the prior art.

[0012] In a first aspect, an embodiment of the present application provides a network access method, which is applied to a core network, including:

[0013] An access request carrying target access point information sent by a receiving terminal is received, where the target access point information is access point information corresponding to a target customized network;

[0014] When the access request is verified and the legitimacy of the terminal accessing the core network is verified, a Radius authentication request is sent to a remote user dial-up authentication Radius server, wherein the Radius authentication request carries the target access point information and at least one identification information corresponding to the terminal;

[0015] In the case of receiving the first response information fed back by the Radius server allowing access to the target customized network, initiating a session establishment connection request, allocating a target network address to the terminal, and sending an online access message carrying a start identifier to the Radius server, wherein the session establishment connection request includes the online access message;

[0016] When the first confirmation information fed back by the Radius server is received, the target network address is sent to the terminal, so that the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0017] In a second aspect, an embodiment of the present application provides a network access method, applied to a Radius server, comprising:

[0018] receiving a remote user dial-up authentication Radius authentication request sent by a core network, and when the access request of the terminal is verified to be successful and the legitimacy of the terminal accessing the core network is verified to be successful, the core network sends the Radius authentication request carrying target access point information and at least one identification information corresponding to the terminal, wherein the access request carries the target access point information;

[0019] According to the Radius authentication request, detecting whether the terminal meets the access conditions for accessing the target customized network;

[0020] When the terminal meets the access condition, feeding back to the core network first response information allowing access to the target customized network;

[0021] receiving an online access message carrying a start identifier sent by the core network, wherein the online access message is sent when the core network initiates a session establishment connection request and allocates a target network address to the terminal, and the session establishment connection request includes the online access message;

[0022] The status of the terminal about to access the target customized network is recorded, and the first confirmation information is fed back to the core network so that the core network sends the target network address to the terminal, and the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0023] In a third aspect, an embodiment of the present application provides a network access method, applied to a terminal, including:

[0024] Sending an access request carrying target access point information to a core network, and the core network sending a Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal to a remote user dial-up authentication Radius server, wherein the Radius authentication request is sent when the access request and the legitimacy of the terminal accessing the core network are verified to be passed;

[0025] Receiving the target network address sent by the core network when receiving the first confirmation information fed back by the Radius server, and accessing the target server and the target customized network corresponding to the target server based on the target network address;

[0026] Among them, when the Radius server feeds back first response information allowing access to the target customized network based on the Radius authentication request, the core network initiates a session establishment connection request, allocates a target network address to the terminal, and sends an online access message carrying a start identifier to the Radius server, the session establishment connection request includes the online access message, and the Radius server feeds back the first confirmation information after receiving the online access message.

[0027] In a fourth aspect, an embodiment of the present application provides a core network, comprising a memory, a transceiver, and a processor; the memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and execute the network access method described in the first aspect.

[0028] In the fifth aspect, an embodiment of the present application provides a Radius server, including a memory, a transceiver, and a processor; the memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and execute the network access method described in the second aspect.

[0029] In the sixth aspect, an embodiment of the present application provides a terminal, including a memory, a transceiver, and a processor; the memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and execute the network access method described in the third aspect.

[0030] In a seventh aspect, an embodiment of the present application provides a network access device, applied to a core network, including:

[0031] A first receiving module, configured to receive an access request sent by a terminal and carrying target access point information, wherein the target access point information is access point information corresponding to a target customized network;

[0032] A first sending module, configured to send a Radius authentication request to a remote user dial-up authentication Radius server if the access request is verified and the legitimacy of the terminal accessing the core network is verified, wherein the Radius authentication request carries the target access point information and at least one identification information corresponding to the terminal;

[0033] A first processing module is used to initiate a session establishment connection request, allocate a target network address to the terminal, and send an online access message carrying a start identifier to the Radius server, wherein the session establishment connection request includes the online access message, when receiving a first response information fed back by the Radius server allowing access to the target customized network;

[0034] The second sending module is used to send the target network address to the terminal when receiving the first confirmation information fed back by the Radius server, so that the terminal can access the target server and the target customized network corresponding to the target server based on the target network address.

[0035] In an eighth aspect, an embodiment of the present application provides a network access device, applied to a Radius server, including:

[0036] A second receiving module is configured to receive a remote user dial-up authentication Radius authentication request sent by a core network, and when the access request of the terminal is verified to be passed and the legitimacy of the terminal accessing the core network is verified to be passed, the core network sends the Radius authentication request carrying target access point information and at least one identification information corresponding to the terminal, and the access request carries the target access point information;

[0037] A detection module, used to detect whether the terminal meets the access conditions for accessing the target customized network according to the Radius authentication request;

[0038] A first feedback module, configured to feed back to the core network first response information allowing access to the target customized network when the terminal meets the access condition;

[0039] A third receiving module is used to receive an online access message carrying a start identifier sent by the core network, where the online access message is sent when the core network initiates a session establishment connection request and allocates a target network address to the terminal, and the session establishment connection request includes the online access message;

[0040] The second processing module is used to record the status of the terminal about to access the target customized network, and to feedback the first confirmation information to the core network so that the core network sends the target network address to the terminal, and the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0041] In a ninth aspect, an embodiment of the present application provides a network access device, applied to a terminal, including:

[0042] A third sending module is configured to send an access request carrying target access point information to a core network, and the core network sends a Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal to a remote user dial-up authentication Radius server, and the Radius authentication request is sent when the legitimacy of the access request and the terminal accessing the core network is verified to be passed;

[0043] A third processing module is used to receive the target network address sent by the core network when receiving the first confirmation information fed back by the Radius server, and access the target server based on the target network address and access the target customized network corresponding to the target server;

[0044] Among them, when the Radius server feeds back first response information allowing access to the target customized network based on the Radius authentication request, the core network initiates a session establishment connection request, allocates a target network address to the terminal, and sends an online access message carrying a start identifier to the Radius server, the session establishment connection request includes the online access message, and the Radius server feeds back the first confirmation information after receiving the online access message.

[0045] In the tenth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described in the first aspect, the second aspect or the third aspect is implemented.

[0046] The technical solution of the embodiment of the present application is that, when the access request of the terminal is verified and the legitimacy of the terminal accessing the core network is verified, the core network sends a Radius authentication request to the Radius server, and the Radius server detects whether the terminal meets the access conditions for accessing the target customized network. The core network initiates a session establishment connection request based on the first response information of the Radius server allowing access, allocates a target network address to the terminal, and sends an online access message carrying a start identifier to the Radius server. When the core network receives the first confirmation information, the target network address is sent to the terminal to enable the terminal to access the target customized network. The Radius server can verify the legitimacy of the terminal access, achieve the purpose of flexible decision-making and accurate access control, effectively prevent pseudo-terminals, enhance the ability to defend against malicious camouflage attacks, improve network security protection, and ensure safe and effective access of customized network users. The access terminal and the terminal online status can be managed in real time through the Radius server, greatly improving the operation efficiency of the customized network. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic diagram showing a network access method applied to a core network provided in an embodiment of the present application;

[0048] Figure 2 A schematic diagram showing a network access method applied to a server provided in an embodiment of the present application;

[0049] Figure 3 A schematic diagram showing a network access method applied to a terminal provided in an embodiment of the present application;

[0050] Figure 4 A schematic diagram showing an interaction process of a network access method provided in an embodiment of the present application;

[0051] Figure 5 A schematic diagram showing a network access device applied to a core network provided in an embodiment of the present application;

[0052] Figure 6 A schematic diagram showing a network access device applied to a server provided in an embodiment of the present application;

[0053] Figure 7 A schematic diagram showing a network access device applied to a terminal provided in an embodiment of the present application;

[0054] Figure 8 A structural block diagram showing a core network provided in an embodiment of the present application;

[0055] Fig. 9 A structural block diagram showing a server provided in an embodiment of the present application;

[0056] Fig.10A structural block diagram of a terminal provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0058] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0059] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes 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 application.

[0060] The present application provides a solution for implementing customized network user access under a standalone (SA) architecture, which can improve network security and ensure safe and effective access of customized network users. The method provided by the present application is introduced below.

[0061] The present application embodiment provides a network access method, which is applied to a core network. Figure 1 As shown, including:

[0062] Step 101: Receive an access request sent by a terminal and carrying target access point information, where the target access point information is access point information corresponding to a target customized network.

[0063] In the embodiment of the present application, the core network receives an access request sent by the terminal, and the access request carries target access point information, and the target access point information is the access point information corresponding to the target customized network, that is, the access request is a request for access to the target customized network. The target customized network can be a customized network for an enterprise or a customized network for a government department. The customized network here is a dedicated network, which can be understood as the intranet of an enterprise or a government department. Among them, the target access point is the target DNN.

[0064] Step 102: When the access request is verified and the legitimacy of the terminal accessing the core network is verified, a Radius authentication request is sent to a remote user dial-up authentication Radius server, wherein the Radius authentication request carries the target access point information and at least one identification information corresponding to the terminal.

[0065] After receiving the access request sent by the terminal, the core network obtains the contract information corresponding to the terminal based on the unified data management (UDM) network element, and verifies the access request based on the contract information. The UDM network element has the function of a server and can store contract information. The contract information can store the DNN information corresponding to the target customized network, so as to verify the access request based on the contract information. And the core network needs to verify the legitimacy of the terminal accessing the core network. For example, a pseudo-terminal simulates the terminal behavior to register the 5G network, and the 5G network verifies the terminal (through a five-tuple key), and the verification fails. Among them, the process of verifying the legitimacy of the terminal accessing the core network is to perform two-way authentication on the terminal and the core network. From the above analysis, it can be seen that the access request and contract information are related to the target customized network, and the legitimacy of the terminal accessing the core network is related to the terminal and the core network.

[0066] When the access request is verified and the legitimacy of the terminal accessing the core network is verified, the core network sends a Radius authentication request to the Remote Authentication Dial In User Service (Radius) server. The Radius authentication request sent may carry the target access point information and at least one identification information corresponding to the terminal, wherein the core network may obtain at least one identification information reported by the terminal based on the communication with the terminal. By sending a Radius authentication request (which may carry information related to terminal access at the control level), the situation where the target customized network (such as the enterprise intranet) and the operator's control plane network are directly interconnected can be avoided, thereby ensuring the security of the core network.

[0067] Step 103: Upon receiving the first response information fed back by the Radius server allowing access to the target customized network, a session establishment connection request is initiated, a target network address is allocated to the terminal, and an online access message carrying a start identifier is sent to the Radius server, wherein the session establishment connection request includes the online access message.

[0068] For the Radius server, after receiving the Radius authentication request, it can detect whether the terminal meets the access conditions for accessing the target customized network based on the received Radius authentication request. If it meets the conditions, the first response information allowing access to the target customized network is fed back to the core network through the Radius protocol. When the core network receives the first response information fed back by the Radius server, it initiates a session establishment connection request based on the first response information and allocates a target network address to the terminal, wherein the session establishment connection request includes an online access message carrying a start identifier, and the start identifier is used to indicate that the terminal starts accessing the target customized network, and the type corresponding to the online access message is the type corresponding to the Radius protocol. The core network sends an online access message carrying a start identifier to the Radius server based on the Radius protocol.

[0069] Step 104: upon receiving the first confirmation information fed back by the Radius server, the target network address is sent to the terminal, so that the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0070] For the Radius server, after receiving the online access message carrying the start identifier, the terminal will record the state of the target customized network that the terminal is about to access, and then feedback the first confirmation information to the core network through the Radius protocol. The core network receives the first confirmation information feedback from the Radius server, and based on the first confirmation information, sends the target network address allocated to the terminal to the terminal, so that the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0071] Among them, the target server is used to store intranet data, and the Radius server is used to authenticate the terminal. When the terminal passes the authentication, the target server can be accessed. For example, the target server and the Radius server are servers under a certain enterprise. The terminal is authenticated based on the Radius server. When the terminal passes the authentication, the enterprise server can be accessed to access the enterprise intranet. In the embodiment of the present application, the Radius server is an authentication server, and the target server is an intranet (customized network) server. The target customized network can be a 5G network, or a 4G, Long Term Evolution (LTE) and other networks. That is, the network access method provided in the embodiment of the present application can be applied to 5G scenarios, and can also be applied to 4G, LTE and other scenarios.

[0072] In the above implementation process of the present application, when the access request of the terminal is verified and the legitimacy of the terminal accessing the core network is verified, a Radius authentication request is sent to the Radius server, and the Radius server detects whether the terminal meets the access conditions for accessing the target customized network. Based on the first response information of the Radius server allowing access, a session establishment connection request is initiated, a target network address is allocated to the terminal, and an online access message carrying a start identifier is sent to the Radius server. When the first confirmation information is received, the target network address is sent to the terminal, so that the terminal accesses the target customized network. The Radius server can verify the legitimacy of the terminal access, achieve the purpose of flexible decision-making and accurate access control, effectively prevent pseudo-terminals, enhance the ability to defend against malicious camouflage attacks, improve network security protection, and ensure the safe and effective access of customized network users. The access terminal and the terminal online status can be managed in real time through the Radius server, greatly improving the operation efficiency of the customized network.

[0073] Among them, the core network includes: access and mobility management function AMF network element, session management function SMF network element and user plane function UPF network element; the AMF network element is used to receive the access request and verify the legitimacy of the access request and the terminal accessing the core network, the SMF network element supports Radius protocol transparent transmission to the UPF network element, the UPF network element is interoperable with the target customized network and supports forwarding the Radius protocol to the Radius server.

[0074] The core network control plane includes AMF network elements and SMF network elements, and the core network data plane includes UPF network elements. The number of AMF network elements, SMF network elements and UPF network elements can be one or more. The AMF network elements, SMF network elements and UPF network elements in this embodiment are network elements accessed by the terminal, and the terminal accesses one AMF network element, one SMF network element and one UPF network element. Among them, the AMF network element is used to communicate with the terminal control layer, receive the access request sent by the terminal, and verify the legitimacy of the access request and the terminal access to the core network. Specifically: after the AMF network element receives the access request sent by the terminal, it obtains the contract information corresponding to the terminal based on the UDM network element, and verifies the access request based on the contract information; the AMF network element also needs to verify the legitimacy of the terminal access to the core network. The process of verifying the legitimacy of the terminal access to the core network is to perform two-way authentication on the terminal and the core network.

[0075] The SMF network element communicates with the AMF network element to receive information transmitted by the AMF network element, and the SMF network element supports Radius protocol transparent transmission to the UPF network element. The UPF network element supports Radius protocol forwarding. The SMF network element communicates with the UPF network element, and the UPF network element communicates with the target customized network. Therefore, it can communicate with the Radius server, forward the Radius protocol to the Radius server, and the UPF network element can allocate a network address.

[0076] Optionally, step 102 sends a Radius authentication request to a remote user dial-up authentication Radius server, including:

[0077] Transmit the Radius authentication request to the UPF network element through the SMF network element;

[0078] Forwarding the Radius authentication request to the Radius server through the UPF network element, so that the Radius server verifies whether the terminal meets the access conditions for accessing the target customized network based on the target access point information and the at least one identification information;

[0079] The at least one identification information includes: at least one of a mobile station integrated services digital network number MSISDN, an international mobile subscriber identity IMSI and an international mobile equipment identity IMEI, and the Radius authentication request is determined based on the access request.

[0080] In this embodiment, for the SMF network element, it is necessary to modify the existing SMF network element so that the modified SMF network element supports Radius protocol transparent transmission to the UPF network element. Correspondingly, the UPF network element needs to be modified so that the modified UPF network element supports Radius protocol forwarding.

[0081] When the core network sends a Radius authentication request to the Radius server, since the SMF network element supports the transparent transmission of the Radius protocol to the UPF network element, the SMF network element can generate a Radius authentication request based on the received access request, and then transparently transmit the Radius authentication request to the UPF network element. Among them, the SMF network element receives the access request transmitted by the AMF network element, and the SMF network element generates a Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal based on the target access point information in the access request and the acquired at least one identification information corresponding to the terminal. After receiving the Radius authentication request, the UPF network element forwards the Radius authentication request to the Radius server based on the Radius protocol forwarding function supported by the UPF network element, so that the Radius server verifies whether the terminal meets the access conditions for accessing the target customized network based on the target access point information and at least one identification information.

[0082] The at least one identification information may include: at least one of a Mobile Subscriber International ISDN / PSTN number (MSISDN), an International Mobile Subscriber Identification Number (IMSI), and an International Mobile Equipment Identity (IMEI). For the case where the at least one identification information includes IMEI and MSISDN, or includes IMEI and IMSI, machine-card binding may be implemented.

[0083] In the above implementation process of this application, by modifying the SMF network element and the UPF network element, a Radius authentication request can be sent to the Radius server, and the Radius server verifies the legitimacy of the terminal access, and improves the customized network access process without adding network elements, fully considering the compatibility with the existing network. And forwarding the Radius authentication request through the UPF network element can avoid the situation where the target customized network (such as the enterprise intranet) and the operator's control plane network are directly interconnected, ensuring the security of the core network.

[0084] Optionally, in step 103, upon receiving the first response information fed back by the Radius server allowing access to the target customized network, initiating a session establishment connection request, allocating a target network address to the terminal, and sending an online access message carrying a start identifier to the Radius server, including:

[0085] After receiving the first response information fed back by the Radius server through the UPF network element, initiating the session connection establishment request through the SMF network element, and sending the session connection establishment request to the UPF network element;

[0086] Allocating the target network address to the terminal through the UPF network element and sending the online access message carrying the start identifier to the Radius server;

[0087] Among them, the UPF network element forwards the first response information to the SMF network element.

[0088] After the core network sends a Radius authentication request to the Radius server through the UPF network element, the Radius server verifies whether the terminal meets the access conditions for accessing the target customized network based on the target access point information and at least one identification information. When the core network receives the first response information fed back by the Radius server through the Radius protocol through the UPF network element, information interaction is performed within the core network, and the UPF network element transmits the first response information to the SMF network element, so that the SMF network element obtains the first response information allowing the terminal to access the target customized network, wherein the UPF network element transmits the first response information to the SMF network element through the Radius protocol.

[0089] After the SMF network element obtains the first response information, it initiates a session establishment connection request and sends the session establishment connection request to the UPF network element. After receiving the session establishment connection request, the UPF network element allocates a target network address to the terminal, and then sends an online access message carrying a start identifier to the Radius server, so that the Radius server can obtain the online access message carrying the start identifier, and record the status of the terminal about to access the target customized network based on the online access message.

[0090] Wherein, in the case of receiving the first confirmation information fed back by the Radius server, sending the target network address to the terminal includes:

[0091] When the first confirmation information is received by the UPF network element and forwarded to the SMF network element, the target network address is sent to the terminal through the UPF network element via the SMF network element and the AMF network element.

[0092] After the Radius server receives the online access message and records the status of the terminal that is about to access the target customized network according to the online access message, the Radius server will feedback the first confirmation information, and the core network receives the first confirmation information fed back by the Radius server through the Radius protocol. Among them, the core network receives the first confirmation information through the UPF network element. For the UPF network element, after receiving the first confirmation information, the first confirmation information is forwarded to the SMF network element through the Radius protocol, so that the SMF network element receives the request confirmation feedback. Then the UPF network element sends the target network address pre-allocated to the terminal to the SMF network element, and the SMF network element sends the target network address to the AMF network element, and finally the AMF network element sends the target network address to the terminal, so that the terminal can access the target server based on the target network address and access the target customized network corresponding to the target server.

[0093] In the above implementation process of the present application, upon receiving the first response information allowed by the Radius server to allow terminal access, the SMF network element initiates a session connection establishment request, and sends a session connection establishment request carrying a start identifier to the UPF network element. The UPF network element allocates a target network address to the terminal based on the session connection establishment request, and sends an online access message carrying a start identifier to the Radius server. Upon receiving the first confirmation information sent by the Radius server, the target network address is sent to the terminal via the SMF network element and the AMF network element through the UPF network element, so that the terminal accesses the target customized network based on the target network address. After the Radius server verifies the legitimacy of the terminal access, it can establish a connection between the terminal and the target server based on the session connection establishment request, thereby enabling the terminal to access the target customized network.

[0094] Moreover, by modifying the SMF network elements and UPF network elements, the customized network access process can be improved without adding network elements, fully considering the compatibility with the existing network.

[0095] In an optional embodiment of the present application, after the terminal accesses the target customized network corresponding to the target server, the method further includes:

[0096] Receiving an offline request sent by the terminal;

[0097] Sending a Radius offline request carrying a termination flag to the Radius server;

[0098] receiving second confirmation information fed back by the Radius server, releasing the occupation of the target network address based on the second confirmation information, and sending first notification information of releasing the occupation of the target network address to the terminal;

[0099] The core network receives the offline request through the AMF network element, the AMF network element transmits the offline request to the SMF network element, the SMF network element transparently transmits the Radius offline request carrying the termination mark to the UPF network element, and the UPF network element forwards it to the Radius server, and the Radius offline request is determined based on the offline request;

[0100] The core network receives the second confirmation information through the UPF network element and forwards it to the SMF network element. The UPF network element releases the occupation of the target network address and sends the first notification information of the release of the target network address to the terminal via the SMF network element and the AMF network element.

[0101] After the terminal accesses the target customized network, if the core network receives a logoff request sent by the terminal, it generates a Radius logoff request carrying a termination mark, and sends the Radius logoff request to the Radius server, so that the Radius server records the offline time of the terminal based on the Radius logoff request, and then feeds back a second confirmation information. Based on the second confirmation information, the core network releases the occupation of the target network address and realizes the recovery of the target network address, so as to allocate the address to other terminals.

[0102] The core network receives the offline request sent by the terminal through the AMF network element, and the AMF network element sends the offline request to the SMF network element. The SMF network element generates a Radius offline request with a termination flag based on the offline request, and sends the Radius offline request to the UPF network element through the Radius protocol. The UPF network element forwards the Radius offline request to the Radius server through the Radius protocol based on the communication with the Radius server. The termination flag is used to indicate that the terminal is currently offline.

[0103] After the Radius server records the offline time of the terminal based on the Radius offline request, it feeds back the second confirmation information to the UPF network element through the Radius protocol. After receiving the second confirmation information, the UPF network element forwards it to the SMF network element through the Radius protocol, so that the SMF network element receives the request confirmation feedback (confirmation feedback of the offline request). Since the UPF network element allocates the target network address to the terminal, after receiving the second confirmation information, the occupation of the target network address can be released, and the first notification information of the release of the target network address is sent to the SMF network element, and the SMF network element sends the first notification information to the AMF network element, and the AMF network element feeds back the first notification information to the terminal.

[0104] The above implementation process of the present application, after receiving the offline request, sends a Radius offline request carrying a termination mark to the Radius server, receives a second confirmation message from the Radius server based on the Radius offline request, and releases the occupation of the target network address according to the second confirmation message, thereby realizing the recovery of the target network address and ensuring the reuse of the target network address.

[0105] In an optional embodiment of the present application, when receiving second response information fed back by the Radius server indicating that access to the target customized network is not allowed, the method further includes:

[0106] Feedback second notification information to the terminal indicating that the terminal is not allowed to access the target customized network.

[0107] When the core network receives the second response information that does not allow access to the target customized network from the Radius server through the Radius protocol, the second notification information that does not allow access to the target customized network is fed back to the terminal, so that the terminal can determine that it cannot access the target customized network based on the second notification information. At this time, the terminal cannot obtain the target network address, and the second notification information is used to prompt the terminal that it cannot access the target customized network. The second response information and the second notification information can carry the reason for not allowing access, so that the terminal can understand it.

[0108] Among them, the core network receives the second response information fed back by the Radius server through the UPF network element, and the UPF network element forwards the second response information to the SMF network element through the Radius protocol based on the received second response information, so that the SMF network element obtains feedback that the terminal is not allowed to access the target customized network. The SMF network element sends the second notification information to the AMF network element based on the second response information, and the AMF network element feeds back the second notification information to the terminal, and the second notification information is used to indicate that the terminal is not allowed to access the target customized network.

[0109] The above implementation process of the present application, when the Radius server verifies that the terminal does not meet the access conditions, receives the second response information sent by the Radius server, and based on the second response information, feeds back to the terminal the second notification information that does not allow access to the target customized network, so that the terminal obtains a prompt that the target customized network cannot be accessed.

[0110] The above is a network access method applied to the core network side provided by an embodiment of the present application. When the access request of the terminal is verified and the legitimacy of the terminal accessing the core network is verified, a Radius authentication request is sent to the Radius server, and the Radius server detects whether the terminal meets the access conditions for accessing the target customized network. Based on the first response information of the Radius server allowing access, a session establishment connection request is initiated, a target network address is allocated to the terminal, and an online access message carrying a start identifier is sent to the Radius server. When the first confirmation information is received, the target network address is sent to the terminal so that the terminal accesses the target customized network. The Radius server can verify the legitimacy of the terminal access, achieve the purpose of flexible decision-making and accurate access control, effectively prevent pseudo-terminals, enhance the ability to defend against malicious camouflage attacks, improve network security, and ensure safe and effective access of customized network users. The access terminal and the terminal online status can be managed in real time through the Radius server, which greatly improves the operation efficiency of the customized network, and at the same time reduces the business barrier complaints caused by terminal misaccess or restriction of terminal access, effectively reducing the same type of customer service complaint traffic.

[0111] Furthermore, by transforming the SMF network elements and UPF network elements, the Radius server verifies the legitimacy of terminal access and improves the customized network access process without adding network elements, fully considering the compatibility with the existing network. By sending Radius authentication requests, the direct interconnection between the target customized network and the operator's control plane network can be avoided, ensuring the security of the core network.

[0112] After receiving the offline request, a Radius offline request carrying a termination mark is sent to the Radius server, and a second confirmation message based on the Radius offline request is received. The target network address is released according to the second confirmation message, so as to realize the recovery of the target network address and ensure the reuse of the target network address; based on the second response message, a second notification message that does not allow access to the target customized network is fed back to the terminal, so that the terminal obtains a prompt that the target customized network cannot be accessed.

[0113] The present application also provides a network access method, which is applied to a Radius server. Figure 2 As shown, including:

[0114] Step 201: Receive a remote user dial-up authentication Radius authentication request sent by a core network. When the access request of the terminal is verified to be successful and the legitimacy of the terminal accessing the core network is verified to be successful, the core network sends the Radius authentication request carrying target access point information and at least one identification information corresponding to the terminal. The access request carries the target access point information.

[0115] In this embodiment, the Radius server receives a Radius authentication request sent by the core network that carries the target access point information and at least one identification information corresponding to the terminal. The core network first receives an access request sent by the terminal that carries the target access point information, verifies the access request, verifies the legitimacy of the terminal accessing the core network, and generates a Radius authentication request and sends it to the Radius server through the Radius protocol if the verification passes.

[0116] The core network includes AMF network elements, SMF network elements and UPF network elements. The AMF network element communicates with the terminal control plane, receives the access request sent by the terminal, and verifies the legitimacy of the access request and the terminal accessing the core network, and notifies the SMF network element after the verification. The SMF network element is a modified network element that supports Radius protocol transparent transmission to the UPF network element. The UPF network element is a modified network element that supports Radius protocol forwarding. The SMF network element can generate a Radius authentication request based on the access request, and transparently transmit the Radius authentication request to the UPF network element through the Radius protocol. The Radius server receives the Radius authentication request forwarded by the UPF network element through the Radius protocol.

[0117] Step 202: According to the Radius authentication request, detect whether the terminal meets the access conditions for accessing the target customized network.

[0118] After receiving the Radius authentication request, the Radius server can detect whether the terminal meets the access conditions for accessing the target customized network based on the received Radius authentication request. When detecting whether the terminal meets the access conditions, the detection can be performed based on the target access point information carried in the Radius authentication request and at least one identification information corresponding to the terminal.

[0119] Step 203: If the terminal meets the access condition, first response information allowing access to the target customized network is fed back to the core network.

[0120] When the Radius server determines through detection that the terminal meets the access conditions, it will feedback the first response information allowing access to the target customized network to the core network through the Radius protocol. The first response information is transmitted to the UPF network element of the core network, and the UPF network element transmits the first response information to the SMF network element through the Radius protocol.

[0121] Step 204: Receive an online access message carrying a start identifier sent by the core network, wherein the online access message is sent when the core network initiates a session establishment connection request and allocates a target network address to the terminal, and the session establishment connection request includes the online access message.

[0122] For the core network, after the SMF network element obtains the first response information, it initiates a session connection request and sends the session connection request to the UPF network element, where the session connection request includes an online access message (carrying a start identifier) ​​and other content (such as indication information indicating the allocation of an address for the terminal), and the online access message is sent via the Radius protocol. After receiving the session connection request, the UPF network element allocates a target network address to the terminal, and then sends an online access message carrying a start identifier to the Radius server, and the Radius server receives the online access message carrying the start identifier.

[0123] Step 205: record the status of the terminal about to access the target customized network, and feedback the first confirmation information to the core network, so that the core network sends the target network address to the terminal, and the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0124] After the Radius server receives the online access message carrying the start identifier, it records the status of the terminal that is about to access the target customized network, and feeds back the first confirmation information to the core network through the Radius protocol. Among them, the core network receives the first confirmation information through the UPF network element, and the UPF network element forwards it to the SMF network element after receiving the first confirmation information. After the UPF network element forwards the first confirmation information, it can send the target network address pre-allocated to the terminal to the SMF network element, and the SMF network element sends the target network address to the AMF network element, and finally the AMF network element sends the target network address to the terminal, so that the terminal can access the target server based on the target network address and access the target customized network corresponding to the target server.

[0125] The above implementation process of the present application receives a Radius authentication request sent by the core network, and based on the Radius authentication request, detects whether the terminal meets the access conditions for accessing the target customized network. If the terminal meets the access conditions, it feeds back a first response message to the core network, receives an online access message sent by the core network after allocating the target network address, and feeds back a first confirmation message to the core network, so that the core network sends the target network address to the terminal, and the terminal accesses the target customized network. The Radius server can verify the legitimacy of the terminal access, so as to achieve the purpose of flexible decision-making and accurate access control, effectively prevent pseudo-terminals, enhance the ability to defend against malicious camouflage attacks, improve network security protection, and ensure the safe and effective access of customized network users. The access terminal and the terminal online status can be managed in real time through the Radius server, which greatly improves the operational efficiency of the customized network.

[0126] Wherein, step 202 detects whether the terminal meets the access conditions for accessing the target customized network according to the Radius authentication request, including:

[0127] According to the online information database, detecting whether the target access point information is accurate, and detecting whether the at least one identification information is accurate;

[0128] When the target access point information is accurate and the at least one identification information is accurate, determining that the terminal meets the access condition for accessing the target customized network;

[0129] The at least one identification information includes: at least one of a mobile station integrated services digital network number MSISDN, an international mobile subscriber identity IMSI and an international mobile equipment identity IMEI.

[0130] When detecting whether the terminal meets the access conditions for accessing the target customized network, the target access point information is detected to be accurate based on the online information base, and at least one identification information of the terminal is detected based on the online information base. The online information base includes the access point information matched by the terminal (the terminal allowed to access the target customized network) (i.e., the access point information corresponding to the target customized network), and at least one identification information corresponding to each terminal.

[0131] When the target access point information of the terminal is accurate and at least one identification information of the terminal is accurate, it is determined that the terminal meets the access conditions for accessing the target customized network. Wherein, the at least one identification information includes at least one of MSISDN, IMSI and IMEI. When the at least one identification information includes MSISDN, IMSI or IMEI, the identification information is determined to be accurate when MSISDN, IMSI or IMEI is accurate; when the at least one identification information includes MSISDN and IMSI, the identification information is determined to be accurate when MSISDN and IMSI are accurate; when the at least one identification information includes IMSI and IMEI, the identification information is determined to be accurate when IMSI and IMEI are accurate; when the at least one identification information includes MSISDN and IMEI, the identification information is determined to be accurate when MSISDN and IMEI are accurate; when the at least one identification information includes MSISDN, IMSI and IMEI, the identification information is determined to be accurate when MSISDN and IMEI are accurate; when the at least one identification information includes MSISDN, IMSI and IMEI, the identification information is determined to be accurate when MSISDN, IMSI and IMEI are accurate.

[0132] For the case where at least one identification information includes IMEI and MSISDN, and includes IMEI and IMSI, machine-card binding can be achieved, and during verification, it can be detected whether the machine-card binding is consistent. Among them, in the case of terminal loss, the user can report it to delete the relevant information in the online information library. When the SIM card is replaced with another terminal, the identification information verification fails due to inaccurate IMEI.

[0133] The above implementation process of the present application can detect the target access point information and at least one identification information of the terminal according to the online information database. If the detection passes, it is determined that the terminal meets the access conditions, and the Radius server verifies the legitimacy of the terminal access.

[0134] In an optional embodiment of the present application, when the terminal does not meet the access condition, the method further includes:

[0135] Second response information indicating that access to the target customized network is not allowed is fed back to the core network.

[0136] When the Radius server determines that the terminal does not meet the access conditions for accessing the target customized network, the second response information not allowing access to the target customized network is fed back to the core network through the Radius protocol, and the core network feeds back the second notification information not allowing access to the target customized network to the terminal, so that the terminal can determine that it cannot access the target customized network based on the second notification information. The second response information and the second notification information can carry the reason for not allowing access, so that the terminal can understand it.

[0137] Among them, the Radius server feeds back the second response information to the UPF network element of the core network through the Radius protocol. After receiving the second response information, the UPF network element forwards the second response information to the SMF network element through the Radius protocol, so that the SMF network element obtains feedback that the terminal is not allowed to access the target customized network. The SMF network element sends a second notification information to the AMF network element based on the second response information, and the AMF network element feeds back the second notification information to the terminal. The second notification information is used to indicate that the terminal is not allowed to access the target customized network.

[0138] In the above implementation process of the present application, when the Radius server determines that the terminal does not meet the access conditions, it sends a second response message to the core network, so that the core network feeds back a second notification message that access is not allowed to the terminal based on the second response message, thereby ensuring that the terminal obtains a prompt that the target customized network cannot be accessed.

[0139] In an optional embodiment of the present application, the method further includes:

[0140] Receiving a Radius offline request carrying a termination mark sent by the core network, wherein the core network sends the Radius offline request after receiving the offline request sent by the terminal;

[0141] After recording the offline time of the terminal according to the Radius offline request, second confirmation information is fed back to the core network, so that the core network releases the occupation of the target network address based on the second confirmation information and sends a first notification information of the release of the target network address to the terminal.

[0142] After the terminal accesses the target customized network, it can send an offline request to the core network, and the core network generates a Radius offline request carrying a termination mark based on the offline request. The Radius server receives the Radius offline request sent by the core network through the Radius protocol, records the offline time of the terminal based on the Radius offline request, and then feeds back the second confirmation information through the Radius protocol, so that the core network releases the occupation of the target network address based on the second confirmation information, realizes the recovery of the target network address, so as to facilitate the allocation of the address to other terminals. After releasing the occupation of the target network address, the core network can send the first notification information of the release of the occupation of the target network address to the terminal.

[0143] Among them, the core network receives the offline request sent by the terminal through the AMF network element, and the AMF network element sends the offline request to the SMF network element. The SMF network element generates a Radius offline request carrying a termination mark based on the offline request, and sends the Radius offline request to the UPF network element through the Radius protocol. The Radius server receives the Radius offline request sent by the UPF network element through the Radius protocol. The Radius server feeds back the second confirmation information to the UPF network element through the Radius protocol. After receiving the second confirmation information, the UPF network element forwards it to the SMF network element through the Radius protocol, so that the SMF network element receives the request confirmation feedback (confirmation feedback of the offline request). The UPF network element releases the occupation of the target network address based on the second confirmation information, and sends the first notification information to the SMF network element. The SMF network element sends the first notification information to the AMF network element, and the AMF network element feeds back the first notification information to the terminal.

[0144] The above implementation process of the present application, after receiving the Radius offline request sent by the core network, records the offline time of the terminal and feeds back the second confirmation information to the core network, so that the core network can release the occupation of the target network address based on the second confirmation information, realize the recovery of the target network address, and ensure the reuse of the target network address.

[0145] The above is a network access method applied to the Radius server side provided in an embodiment of the present application, which receives a Radius authentication request sent by the core network, and based on the Radius authentication request, detects whether the terminal meets the access conditions for accessing the target customized network. If the terminal meets the access conditions, it feeds back a first response message to the core network, receives an online access message sent by the core network after allocating the target network address, and feeds back a first confirmation message to the core network, so that the core network sends the target network address to the terminal, and the terminal accesses the target customized network. The Radius server can verify the legitimacy of the terminal access, so as to achieve the purpose of flexible decision-making and accurate access control, effectively prevent pseudo-terminals, enhance the ability to defend against malicious camouflage attacks, improve network security protection, and ensure safe and effective access of customized network users. The access terminal and the terminal online status can be managed in real time through the Radius server, which greatly improves the operational efficiency of the customized network, and at the same time reduces complaints about business obstacles caused by terminal misaccess or restricted access of a certain terminal, effectively reducing the volume of customer service complaints of the same type.

[0146] The present application also provides a network access method, which is applied to a terminal. Figure 3 As shown, including:

[0147] Step 301: Send an access request carrying target access point information to a core network, and the core network sends a Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal to a remote user dial-up authentication Radius server, wherein the Radius authentication request is sent when the legitimacy of the access request and the terminal accessing the core network is verified to be passed.

[0148] The terminal sends an access request to the core network, and the access request carries the target access point information, which is the access point information corresponding to the target customized network, that is, the access request is a request for access to the target customized network. The core network verifies the legitimacy of the access request and the terminal's access to the core network based on the access request, and if the verification is passed, sends a Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal to the Radius server.

[0149] Step 302: Receive the target network address sent by the core network when receiving the first confirmation information fed back by the Radius server, and access the target server based on the target network address and access the target customized network corresponding to the target server; wherein, when the Radius server feeds back the first response information allowing access to the target customized network based on the Radius authentication request, the core network initiates a session establishment connection request, allocates a target network address to the terminal, and sends an online access message carrying a start identifier to the Radius server, the session establishment connection request includes the online access message, and the Radius server feeds back the first confirmation information after receiving the online access message.

[0150] For the Radius server, after receiving the Radius authentication request, it detects whether the terminal meets the access conditions for accessing the target customized network. If it does, it feeds back the first response information to the core network to allow access to the target customized network. When the core network receives the first response information, it initiates a session establishment connection request, allocates the target network address to the terminal, and sends an online access message carrying a start identifier to the Radius server. The Radius server records the status of the terminal's access to the target customized network, and then feeds back the first confirmation information to the core network.

[0151] The terminal receives the target network address fed back by the core network based on the first confirmation information, and accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0152] Among them, the core network includes AMF network elements, SMF network elements and UPF network elements. The terminal sends an access request to the AMF network element, and the AMF network element verifies the access request and the legitimacy of the terminal accessing the core network, and notifies the SMF network element after the verification. The SMF network element is a modified network element that supports Radius protocol transparent transmission to the UPF network element, and the UPF network element is a modified network element that supports Radius protocol forwarding. The SMF network element can generate a Radius authentication request based on the access request, and transparently transmit the Radius authentication request to the UPF network element. The Radius server receives the Radius authentication request forwarded by the UPF network element.

[0153] The first response information is transmitted to the UPF network element of the core network, and the UPF network element transmits the first response information to the SMF network element. After the SMF network element obtains the first response information, it initiates a session establishment connection request and sends the session establishment connection request to the UPF network element. After receiving the session establishment connection request, the UPF network element allocates a target network address to the terminal, and then sends an online access message carrying a start identifier to the Radius server.

[0154] The core network receives the first confirmation information through the UPF network element, the UPF network element forwards the first confirmation information to the SMF network element, the UPF network element sends the target network address pre-assigned to the terminal to the SMF network element based on the first confirmation information, the SMF network element sends the target network address to the AMF network element, and finally the AMF network element sends the target network address to the terminal. The terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0155] The above implementation process of the present application sends an access request to the core network, and the core network sends a Radius authentication request to the Radius server, so that the Radius server detects whether the terminal meets the access conditions for accessing the target customized network. When the terminal meets the access conditions, the core network allocates the target network address and the Radius server feeds back the first confirmation information, the target network address fed back by the core network is received, and the terminal accesses the target customized network based on the target network address. The Radius server can verify the legitimacy of the terminal access, so as to achieve the purpose of flexible decision-making and accurate access control, effectively prevent pseudo-terminals, enhance the ability to defend against malicious spoofing attacks, improve network security protection, and ensure safe and effective access of customized network users.

[0156] In an optional implementation of the present application, the method further includes:

[0157] Send an offline request to the core network, and the core network sends a Radius offline request carrying a termination mark to the Radius server, and after receiving a second confirmation message fed back by the Radius server, releases the occupation of the target network address; receive a first notification message sent by the core network after releasing the occupation of the target network address.

[0158] After the terminal accesses the target customized network, it can send a logoff request to the core network. The core network generates a Radius logoff request carrying a termination mark based on the logoff request and sends it to the Radius server through the Radius protocol. When the core network receives the second confirmation information fed back by the Radius server through the Radius protocol, it receives the first notification information sent by the core network after the target network address is released, and determines that the target network address has been reclaimed based on the first notification information.

[0159] Among them, the core network communicates with the terminal based on the AMF network element and communicates with the Radius server based on the UPF network element. The communication process between the core network and the terminal, the core network and the server, and the core network network elements can be found in the description of the server and the core network side, and will not be further elaborated here.

[0160] The above implementation process of the present application sends an offline request to the core network, and the core network interacts with the Radius server. After the core network releases the occupation of the target network address, a first notification message is received, and it is determined based on the first notification message that the target network address has been recycled.

[0161] In an optional embodiment of the present application, when the Radius server feeds back second response information to the core network indicating that access to the target customized network is not allowed based on the Radius authentication request, it also includes: receiving second notification information fed back by the core network indicating that access to the target customized network is not allowed.

[0162] When the Radius server determines that the terminal does not meet the access conditions for accessing the target customized network, the second response information not allowing access to the target customized network is fed back to the core network through the Radius protocol, and the terminal receives the second notification information not allowing access to the target customized network fed back by the core network, and determines that the target customized network cannot be accessed based on the second notification information. The second response information and the second notification information may carry the reason for not allowing access, so that the terminal can understand.

[0163] Among them, the core network communicates with the terminal based on the AMF network element and communicates with the Radius server based on the UPF network element. The communication process between the core network and the terminal, the core network and the server, and the core network network elements can be found in the description of the server and the core network side, and will not be further elaborated here.

[0164] In the above implementation process of the present application, when the Radius server determines that the terminal does not meet the access conditions, it sends a second response message to the core network, and the terminal receives the second notification message fed back by the core network, and determines that the target customized network cannot be accessed based on the second notification message, thereby obtaining a prompt that the target customized network cannot be accessed.

[0165] The above is the network access method applied to the terminal side provided in the embodiment of the present application. By sending an access request to the core network, the core network sends a Radius authentication request to the Radius server, so that the Radius server detects whether the terminal meets the access conditions for accessing the target customized network. When the terminal meets the access conditions, the core network allocates the target network address and the Radius server feeds back the first confirmation information, the target network address fed back by the core network is received, and the terminal accesses the target customized network based on the target network address. The Radius server can verify the legitimacy of the terminal access, thereby achieving the purpose of flexible decision-making and accurate access control, effectively preventing pseudo-terminals, enhancing the ability to defend against malicious spoofing attacks, improving network security, and ensuring safe and effective access of customized network users.

[0166] The following describes the network access process through an interactive process. Figure 4 As shown:

[0167] Terminal: The terminal sends an access request to the AMF network element.

[0168] AMF network element: verifies the legitimacy of access requests and terminal access to the core network.

[0169] SMF network element: If the verification is passed, the SMF network element generates a Radius authentication request, which is generated based on the target access point information in the access request and at least one identification information corresponding to the terminal.

[0170] UPF network element: The UPF network element receives the Radius authentication request and forwards the Radius authentication request to the Radius server.

[0171] Radius server: The Radius server verifies whether the terminal meets the access conditions for accessing the target customized network. If it does, it feeds back the first response information to the UPF network element.

[0172] UPF network element: The UPF network element transmits the first response information to the SMF network element.

[0173] SMF network element: The SMF network element initiates a session establishment connection request and sends a session establishment connection request to the UPF network element.

[0174] UPF network element: After receiving the session establishment connection request, the UPF network element allocates a target network address to the terminal and sends an online access message carrying a start identifier to the Radius server.

[0175] Radius server: The Radius server feeds back the first confirmation information to the UPF network element.

[0176] UPF network element: The UPF network element sends the target network address to the terminal via the SMF network element and the AMF network element.

[0177] Terminal: The terminal accesses the target customized network based on the target network address.

[0178] The above process introduces the network access process, which can realize the verification of the legitimacy of terminal access by the Radius server. There is no need to add network elements. Only the SMF network elements and UPF network elements need to be modified, which fully considers the compatibility with the existing network.

[0179] The present application embodiment provides a network access device, which is applied to a core network, such as Figure 5 As shown, including:

[0180] The first receiving module 501 is used to receive an access request sent by a terminal and carrying target access point information, where the target access point information is access point information corresponding to a target customized network;

[0181] A first sending module 502 is configured to send a Radius authentication request to a remote user dial-up authentication Radius server if the access request is verified and the legitimacy of the terminal accessing the core network is verified, wherein the Radius authentication request carries the target access point information and at least one identification information corresponding to the terminal;

[0182] The first processing module 503 is used to initiate a session establishment connection request, allocate a target network address to the terminal, and send an online access message carrying a start identifier to the Radius server, when receiving the first response information fed back by the Radius server allowing access to the target customized network, wherein the session establishment connection request includes the online access message;

[0183] The second sending module 504 is used to send the target network address to the terminal when receiving the first confirmation information fed back by the Radius server, so that the terminal can access the target server and the target customized network corresponding to the target server based on the target network address.

[0184] Optionally, the core network includes: an access and mobility management function AMF network element, a session management function SMF network element and a user plane function UPF network element;

[0185] Among them, the AMF network element is used to receive the access request and verify the legitimacy of the access request and the terminal's access to the core network. The SMF network element supports the Radius protocol to be transmitted transparently to the UPF network element. The UPF network element is interoperable with the target customized network and supports forwarding the Radius protocol to the Radius server.

[0186] Optionally, the first sending module is further used for:

[0187] Transmitting the Radius authentication request to the UPF network element through the SMF network element;

[0188] Forwarding the Radius authentication request to the Radius server through the UPF network element, so that the Radius server verifies whether the terminal meets the access conditions for accessing the target customized network based on the target access point information and the at least one identification information;

[0189] The at least one identification information includes: at least one of a mobile station integrated services digital network number MSISDN, an international mobile subscriber identity IMSI and an international mobile equipment identity IMEI, and the Radius authentication request is determined based on the access request.

[0190] Optionally, the first processing module includes:

[0191] A first processing submodule is used to initiate the session connection establishment request through the SMF network element after receiving the first response information fed back by the Radius server through the UPF network element, and send the session connection establishment request to the UPF network element;

[0192] A second processing submodule is configured to allocate the target network address to the terminal through the UPF network element and send the online access message carrying the start identifier to the Radius server;

[0193] Among them, the UPF network element forwards the first response information to the SMF network element.

[0194] Optionally, the second sending module is further used for:

[0195] When the first confirmation information is received by the UPF network element and forwarded to the SMF network element, the target network address is sent to the terminal through the UPF network element via the SMF network element and the AMF network element.

[0196] Optionally, the device further comprises:

[0197] A fourth receiving module, configured to receive an offline request sent by the terminal after the terminal accesses the target customized network corresponding to the target server;

[0198] The fourth sending module is used to send a Radius offline request carrying a termination mark to the Radius server;

[0199] A fourth processing module is used to receive the second confirmation information fed back by the Radius server, release the occupation of the target network address based on the second confirmation information, and send first notification information of releasing the occupation of the target network address to the terminal;

[0200] The core network receives the offline request through the AMF network element, the AMF network element transmits the offline request to the SMF network element, the SMF network element transparently transmits the Radius offline request carrying the termination mark to the UPF network element, and the UPF network element forwards it to the Radius server, and the Radius offline request is determined based on the offline request;

[0201] The core network receives the second confirmation information through the UPF network element and forwards it to the SMF network element. The UPF network element releases the occupation of the target network address and sends the first notification information of the release of the target network address to the terminal via the SMF network element and the AMF network element.

[0202] Optionally, the device further comprises:

[0203] The second feedback module is configured to feedback second notification information indicating that access to the target customized network is not allowed to the terminal when receiving second response information indicating that access to the target customized network is not allowed fed back by the Radius server.

[0204] The present application also provides a network access device for use in a Radius server. Figure 6 As shown, including:

[0205] The second receiving module 601 is used to receive a remote user dial-up authentication Radius authentication request sent by the core network. When the access request of the terminal is verified and the legitimacy of the terminal accessing the core network is verified, the core network sends the Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal, and the access request carries the target access point information;

[0206] A detection module 602, configured to detect whether the terminal meets the access conditions for accessing the target customized network according to the Radius authentication request;

[0207] A first feedback module 603 is configured to feedback first response information allowing access to the target customized network to the core network if the terminal meets the access condition;

[0208] A third receiving module 604 is configured to receive an online access message carrying a start identifier sent by the core network, where the online access message is sent when the core network initiates a session establishment connection request and allocates a target network address to the terminal, and the session establishment connection request includes the online access message;

[0209] The second processing module 605 is used to record the status of the terminal about to access the target customized network, and to feedback the first confirmation information to the core network so that the core network sends the target network address to the terminal, and the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0210] Optionally, the detection module includes:

[0211] A detection submodule, configured to detect whether the target access point information is accurate and whether the at least one identification information is accurate according to an online information database;

[0212] A determination submodule, configured to determine that the terminal meets the access condition for accessing the target customized network when the target access point information is accurate and the at least one identification information is accurate;

[0213] The at least one identification information includes: at least one of a mobile station integrated services digital network number MSISDN, an international mobile subscriber identity IMSI and an international mobile equipment identity IMEI.

[0214] Optionally, the device further comprises:

[0215] A fifth receiving module, configured to receive a Radius offline request carrying a termination mark sent by the core network, wherein the core network sends the Radius offline request after receiving the offline request sent by the terminal;

[0216] The recording feedback module is used to record the offline time of the terminal according to the Radius offline request, and then feedback the second confirmation information to the core network, so that the core network releases the occupation of the target network address based on the second confirmation information and sends the first notification information of the release of the target network address to the terminal.

[0217] Optionally, the device further comprises:

[0218] The third feedback module is used to feedback second response information that does not allow access to the target customized network to the core network when the terminal does not meet the access condition.

[0219] The present application also provides a network access device, which is applied to a terminal. Figure 7 As shown, including:

[0220] The third sending module 701 is used to send an access request carrying target access point information to the core network, and the core network sends a Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal to the remote user dial-up authentication Radius server, and the Radius authentication request is sent when the legitimacy of the access request and the terminal accessing the core network is verified to be passed;

[0221] The third processing module 702 is used to receive the target network address sent by the core network when receiving the first confirmation information fed back by the Radius server, and access the target server based on the target network address and access the target customized network corresponding to the target server;

[0222] Among them, when the Radius server feeds back first response information allowing access to the target customized network based on the Radius authentication request, the core network initiates a session establishment connection request, allocates a target network address to the terminal, and sends an online access message carrying a start identifier to the Radius server, the session establishment connection request includes the online access message, and the Radius server feeds back the first confirmation information after receiving the online access message.

[0223] Optionally, the device further comprises:

[0224] A fifth sending module, configured to send a logoff request to the core network, wherein the core network sends a Radius logoff request carrying a termination flag to the Radius server, and releases the occupation of the target network address after receiving the second confirmation information fed back by the Radius server;

[0225] The sixth receiving module is used to receive the first notification information sent by the core network after releasing the occupation of the target network address.

[0226] Optionally, when the Radius server feeds back second response information to the core network indicating that access to the target customized network is not allowed based on the Radius authentication request, the device further includes:

[0227] The seventh receiving module is used to receive the second notification information fed back by the core network that the access to the target customized network is not allowed.

[0228] The above-mentioned device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.

[0229] The present application also provides a core network, such as Figure 8 As shown, the core network includes a memory 801, a transceiver 802, and a processor 803; the memory 801 is used to store a computer program; the transceiver 802 is used to receive and send data under the control of the processor 803; the processor 803 is used to read the computer program in the memory 801 and perform the following operations:

[0230] Control the transceiver 802 to receive an access request sent by the terminal and carrying target access point information, where the target access point information is access point information corresponding to the target customized network;

[0231] When the access request is verified and the legitimacy verification of the terminal accessing the core network is passed, control the transceiver 802 to send a Radius authentication request to the remote user dial-up authentication Radius server, wherein the Radius authentication request carries the target access point information and at least one identification information corresponding to the terminal;

[0232] In the case where the transceiver 802 receives the first response information fed back by the Radius server allowing access to the target customized network, a session establishment connection request is initiated, a target network address is allocated to the terminal, and the transceiver 802 is controlled to send an online access message carrying a start identifier to the Radius server, where the session establishment connection request includes the online access message;

[0233] When the transceiver 802 receives the first confirmation information fed back by the Radius server, the transceiver 802 is controlled to send the target network address to the terminal, so that the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0234] Optionally, the core network includes: an access and mobility management function AMF network element, a session management function SMF network element and a user plane function UPF network element;

[0235] Among them, the AMF network element is used to receive the access request and verify the legitimacy of the access request and the terminal's access to the core network. The SMF network element supports the Radius protocol to be transmitted transparently to the UPF network element. The UPF network element is interoperable with the target customized network and supports forwarding the Radius protocol to the Radius server.

[0236] Optionally, when sending a Radius authentication request to a remote user dial-up authentication Radius server, the transceiver 802 is further used to: transparently transmit the Radius authentication request to the UPF network element through the SMF network element; forward the Radius authentication request to the Radius server through the UPF network element, so that the Radius server verifies whether the terminal meets the access conditions for accessing the target customized network based on the target access point information and the at least one identification information;

[0237] The at least one identification information includes: at least one of a mobile station integrated services digital network number MSISDN, an international mobile subscriber identity IMSI and an international mobile equipment identity IMEI, and the Radius authentication request is determined based on the access request.

[0238] Optionally, when receiving the first response information fed back by the Radius server allowing access to the target customized network, initiating a session connection establishment request, assigning a target network address to the terminal, and sending an online access message carrying a start identifier to the Radius server, the processor 803 is also used to: after receiving the first response information fed back by the Radius server through the UPF network element, initiate the session connection establishment request through the SMF network element, and send the session connection establishment request to the UPF network element; assign the target network address to the terminal through the UPF network element, and send the online access message carrying the start identifier to the Radius server; wherein the UPF network element forwards the first response information to the SMF network element.

[0239] Optionally, when the target network address is sent to the terminal upon receiving the first confirmation information fed back by the Radius server, the transceiver 802 is also used to: when the first confirmation information is received through the UPF network element, send the target network address to the terminal through the SMF network element and the AMF network element through the UPF network element.

[0240] Optionally, after the terminal accesses the target customized network corresponding to the target server, the processor 803 is further used to: control the transceiver 802 to receive the offline request sent by the terminal; send a Radius offline request carrying a termination mark to the Radius server; receive a second confirmation message fed back by the Radius server, and the processor 803 is further used to: release the occupation of the target network address based on the second confirmation information, and control the transceiver 802 to send a first notification message of the release of the target network address to the terminal;

[0241] The transceiver 802 is used to: receive the offline request through the AMF network element, the AMF network element transmits the offline request to the SMF network element, the SMF network element transparently transmits the Radius offline request carrying the termination mark to the UPF network element, and the UPF network element forwards it to the Radius server, and the Radius offline request is determined based on the offline request;

[0242] The transceiver 802 is used to: receive the second confirmation information through the UPF network element, the UPF network element releases the occupation of the target network address, and sends the first notification information of the release of the target network address to the terminal via the SMF network element and the AMF network element.

[0243] Optionally, in a case where second response information fed back by the Radius server indicating that access to the target customized network is not allowed is received, the processor 803 is further configured to: control the transceiver 802 to feed back second notification information to the terminal indicating that access to the target customized network is not allowed.

[0244] Among them, Figure 8 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 803 and various circuits of memory represented by memory 801 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 802 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, which transmission medium may include a wireless channel, a wired channel, an optical cable, and other transmission media. The processor 803 is responsible for managing the bus architecture and general processing, and the memory 801 may store data used by the processor 803 when performing operations.

[0245] The processor 803 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD), and the processor may also adopt a multi-core architecture. The processor 803 calls the computer program stored in the memory 801 to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions. The processor 803 and the memory 801 may also be physically arranged separately.

[0246] The present application also provides a server, such as Fig. 9 As shown, the server is a Radius server, including a memory 901, a transceiver 902, and a processor 903; the memory 901 is used to store computer programs; the transceiver 902 is used to receive and send data under the control of the processor 903; the processor 903 is used to read the computer program in the memory 901 and perform the following operations:

[0247] Control the transceiver 902 to receive the remote user dial-up authentication Radius authentication request sent by the core network. When the access request of the terminal is verified to be successful and the legitimacy of the terminal accessing the core network is verified to be successful, the core network sends the Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal, and the access request carries the target access point information;

[0248] According to the Radius authentication request, detecting whether the terminal meets the access conditions for accessing the target customized network;

[0249] When the terminal meets the access condition, controlling the transceiver 902 to feed back first response information allowing access to the target customized network to the core network;

[0250] Controlling the transceiver 902 to receive an online access message carrying a start identifier sent by the core network, wherein the online access message is sent when the core network initiates a session establishment connection request and allocates a target network address to the terminal, and the session establishment connection request includes the online access message;

[0251] The status of the terminal about to access the target customized network is recorded, and the transceiver 902 is controlled to feedback the first confirmation information to the core network so that the core network sends the target network address to the terminal. The terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server.

[0252] Optionally, when detecting, according to the Radius authentication request, whether the terminal meets the access condition for accessing the target customized network, the processor 903 is further configured to:

[0253] According to the online information base, detect whether the target access point information is accurate, and detect whether the at least one identification information is accurate; when the target access point information is accurate and the at least one identification information is accurate, determine that the terminal meets the access conditions for accessing the target customized network; wherein the at least one identification information includes: at least one of a mobile station integrated services digital network number MSISDN, an international mobile subscriber identity code IMSI, and an international mobile equipment identity code IMEI.

[0254] Optionally, the transceiver 902 is also used to: receive a Radius offline request carrying a termination mark sent by the core network, and the core network sends the Radius offline request after receiving the offline request sent by the terminal; the processor 903 is also used to: after recording the offline time of the terminal according to the Radius offline request, control the transceiver 902 to feedback second confirmation information to the core network, so that the core network releases the occupation of the target network address based on the second confirmation information and sends a first notification information of the release of the target network address to the terminal.

[0255] Optionally, when the terminal does not meet the access condition, the transceiver 902 is further configured to: feed back to the core network second response information indicating that access to the target customized network is not allowed.

[0256] Among them, relevant information about the bus architecture, transceiver and processor can be found in the introduction of the core network side and will not be elaborated here.

[0257] The present application also provides a terminal, such as Fig.10 As shown, it includes a memory 1001, a transceiver 1002, and a processor 1003; the memory 1001 is used to store computer programs; the transceiver 1002 is used to receive and send data under the control of the processor 1003; the processor 1003 is used to read the computer program in the memory 1001 and perform the following operations:

[0258] Control the transceiver 1002 to send an access request carrying target access point information to the core network, and the core network sends a Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal to the remote user dial-up authentication Radius server, and the Radius authentication request is sent when the legitimacy of the access request and the terminal accessing the core network is verified;

[0259] Control the transceiver 1002 to receive the target network address sent by the core network when receiving the first confirmation information fed back by the Radius server, and access the target server and the target customized network corresponding to the target server based on the target network address;

[0260] Among them, when the Radius server feeds back first response information allowing access to the target customized network based on the Radius authentication request, the core network initiates a session establishment connection request, allocates a target network address to the terminal, and sends an online access message carrying a start identifier to the Radius server, the session establishment connection request includes the online access message, and the Radius server feeds back the first confirmation information after receiving the online access message.

[0261] Optionally, the transceiver 1002 is also used to: send a logoff request to the core network, and the core network sends a Radius logoff request carrying a termination mark to the Radius server, and after receiving a second confirmation message fed back by the Radius server, release the occupation of the target network address; and receive a first notification message sent by the core network after releasing the occupation of the target network address.

[0262] Optionally, when the Radius server feeds back second response information to the core network not allowing access to the target customized network based on the Radius authentication request, the transceiver 1002 is further used to: receive second notification information fed back by the core network not allowing access to the target customized network.

[0263] For information about the bus architecture, transceiver, and processor, please refer to the introduction of the core network side, which will not be elaborated here. For different terminals, the user interface 1004 can be an interface that can connect external or internal devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, etc.

[0264] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned network access method is implemented.

[0265] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

[0266] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0267] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0268] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0269] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0270] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A network access method, applied to a core network, characterized in that: include: An access request carrying target access point information sent by a receiving terminal is received, where the target access point information is access point information corresponding to a target customized network; When the access request is verified and the legitimacy of the terminal accessing the core network is verified, a Radius authentication request is sent to a remote user dial-up authentication Radius server, wherein the Radius authentication request carries the target access point information and at least one identification information corresponding to the terminal; In the case of receiving the first response information fed back by the Radius server allowing access to the target customized network, initiating a session establishment connection request, allocating a target network address to the terminal, and sending an online access message carrying a start identifier to the Radius server, wherein the session establishment connection request includes the online access message; When receiving the first confirmation information fed back by the Radius server, sending the target network address to the terminal, so that the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server; The core network includes: an access and mobility management function AMF network element, a session management function SMF network element, and a user plane function UPF network element; The AMF network element is used to receive the access request and verify the legitimacy of the access request and the terminal's access to the core network. The SMF network element is used to transparently transmit the Radius authentication request to the UPF network element. The UPF network element is interoperable with the target customized network and supports forwarding the Radius authentication request to the Radius server.

2. The network access method according to claim 1, characterized in that: The step of sending a Radius authentication request to a remote user dial-up authentication Radius server includes: Forwarding the Radius authentication request to the Radius server through the UPF network element, so that the Radius server verifies whether the terminal meets the access conditions for accessing the target customized network based on the target access point information and the at least one identification information; The at least one identification information includes: at least one of a mobile station integrated services digital network number MSISDN, an international mobile subscriber identity IMSI and an international mobile equipment identity IMEI, and the Radius authentication request is determined based on the access request.

3. The network access method according to claim 1, characterized in that: The method of initiating a session connection establishment request, allocating a target network address to the terminal, and sending an online access message carrying a start identifier to the Radius server upon receiving the first response information fed back by the Radius server for allowing access to the target customized network comprises: After receiving the first response information fed back by the Radius server through the UPF network element, initiating the session connection establishment request through the SMF network element, and sending the session connection establishment request to the UPF network element; Allocating the target network address to the terminal through the UPF network element and sending the online access message carrying the start identifier to the Radius server; Among them, the UPF network element forwards the first response information to the SMF network element.

4. The network access method according to claim 3, characterized in that: The step of sending the target network address to the terminal upon receiving the first confirmation information fed back by the Radius server comprises: When the first confirmation information is received by the UPF network element and forwarded to the SMF network element, the target network address is sent to the terminal through the UPF network element via the SMF network element and the AMF network element.

5. The network access method according to claim 1, characterized in that: After the terminal accesses the target customized network corresponding to the target server, the method further includes: Receiving an offline request sent by the terminal; Sending a Radius offline request carrying a termination flag to the Radius server; receiving second confirmation information fed back by the Radius server, releasing the occupation of the target network address based on the second confirmation information, and sending first notification information of releasing the occupation of the target network address to the terminal; The core network receives the offline request through the AMF network element, the AMF network element transmits the offline request to the SMF network element, the SMF network element transparently transmits the Radius offline request carrying the termination mark to the UPF network element, and the UPF network element forwards it to the Radius server, and the Radius offline request is determined based on the offline request; The core network receives the second confirmation information through the UPF network element and forwards it to the SMF network element. The UPF network element releases the occupation of the target network address and sends the first notification information of the release of the target network address to the terminal via the SMF network element and the AMF network element.

6. The network access method according to claim 1, characterized in that: In the case of receiving second response information fed back by the Radius server indicating that access to the target customized network is not allowed, the method further includes: Feedback second notification information to the terminal indicating that the terminal is not allowed to access the target customized network.

7. A network access method, applied to a Radius server, characterized in that: include: receiving a remote user dial-up authentication Radius authentication request sent by a core network, and when the access request of the terminal is verified to be successful and the legitimacy of the terminal accessing the core network is verified to be successful, the core network sends the Radius authentication request carrying target access point information and at least one identification information corresponding to the terminal, wherein the access request carries the target access point information; According to the Radius authentication request, detecting whether the terminal meets the access conditions for accessing the target customized network; When the terminal meets the access condition, feeding back to the core network first response information allowing access to the target customized network; receiving an online access message carrying a start identifier sent by the core network, wherein the online access message is sent when the core network initiates a session establishment connection request and allocates a target network address to the terminal, and the session establishment connection request includes the online access message; Recording the state that the terminal is about to access the target customized network, and feeding back first confirmation information to the core network, so that the core network sends the target network address to the terminal, and the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server; The core network includes: an access and mobility management function AMF network element, a session management function SMF network element, and a user plane function UPF network element; The AMF network element is used to receive the access request and verify the legitimacy of the access request and the terminal's access to the core network. The SMF network element is used to transparently transmit the Radius authentication request to the UPF network element. The UPF network element is interoperable with the target customized network and supports forwarding the Radius authentication request to the Radius server.

8. The network access method according to claim 7, characterized in that: The detecting, according to the Radius authentication request, whether the terminal meets the access condition for accessing the target customized network includes: According to the online information database, detecting whether the target access point information is accurate, and detecting whether the at least one identification information is accurate; When the target access point information is accurate and the at least one identification information is accurate, determining that the terminal meets the access condition for accessing the target customized network; The at least one identification information includes: at least one of a mobile station integrated services digital network number MSISDN, an international mobile subscriber identity IMSI and an international mobile equipment identity IMEI.

9. The network access method according to claim 7, characterized in that: Also includes: Receiving a Radius offline request carrying a termination mark sent by the core network, wherein the core network sends the Radius offline request after receiving the offline request sent by the terminal; After recording the offline time of the terminal according to the Radius offline request, second confirmation information is fed back to the core network, so that the core network releases the occupation of the target network address based on the second confirmation information and sends a first notification information of the target network address release to the terminal.

10. The network access method according to claim 7, characterized in that: In the case that the terminal does not meet the access condition, the method further includes: Second response information indicating that access to the target customized network is not allowed is fed back to the core network.

11. A network access method, applied to a terminal, characterized in that: include: Sending an access request carrying target access point information to a core network, and the core network sending a Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal to a remote user dial-up authentication Radius server, wherein the Radius authentication request is sent when the access request and the legitimacy of the terminal accessing the core network are verified to be passed; Receiving the target network address sent by the core network when receiving the first confirmation information fed back by the Radius server, and accessing the target server and the target customized network corresponding to the target server based on the target network address; Wherein, when the Radius server feeds back first response information allowing access to the target customized network based on the Radius authentication request, the core network initiates a session establishment connection request, allocates a target network address to the terminal, and sends an online access message carrying a start identifier to the Radius server, the session establishment connection request includes the online access message, and the Radius server feeds back the first confirmation information after receiving the online access message; The core network includes: an access and mobility management function AMF network element, a session management function SMF network element, and a user plane function UPF network element; The AMF network element is used to receive the access request and verify the legitimacy of the access request and the terminal's access to the core network. The SMF network element is used to transparently transmit the Radius authentication request to the UPF network element. The UPF network element is interoperable with the target customized network and supports forwarding the Radius authentication request to the Radius server.

12. The network access method according to claim 11, characterized in that: Also includes: Sending a logoff request to the core network, the core network sending a Radius logoff request carrying a termination flag to the Radius server, and releasing the occupation of the target network address after receiving the second confirmation information fed back by the Radius server; Receive first notification information sent by the core network after releasing the occupation of the target network address.

13. The network access method according to claim 11, characterized in that: In the case where the Radius server feeds back second response information to the core network indicating that access to the target customized network is not allowed based on the Radius authentication request, the method further includes: Receive second notification information fed back by the core network that access to the target customized network is not allowed.

14. A core network, characterized in that: Including memory, transceiver, processor; The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and execute the network access method according to any one of claims 1 to 6.

15. A Radius server, characterized in that: Including memory, transceiver, processor; The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and execute the network access method according to any one of claims 7 to 10.

16. A terminal, characterized in that: Including memory, transceiver, processor; The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and execute the network access method described in any one of claims 11 to 13.

17. A network access device, applied to a core network, characterized in that: include: A first receiving module, configured to receive an access request sent by a terminal and carrying target access point information, wherein the target access point information is access point information corresponding to a target customized network; A first sending module, configured to send a Radius authentication request to a remote user dial-up authentication Radius server if the access request is verified and the legitimacy of the terminal accessing the core network is verified, wherein the Radius authentication request carries the target access point information and at least one identification information corresponding to the terminal; A first processing module is used to initiate a session establishment connection request, allocate a target network address to the terminal, and send an online access message carrying a start identifier to the Radius server, wherein the session establishment connection request includes the online access message, when receiving a first response information fed back by the Radius server allowing access to the target customized network; A second sending module is used to send the target network address to the terminal when receiving the first confirmation information fed back by the Radius server, so that the terminal can access the target server and the target customized network corresponding to the target server based on the target network address; The core network includes: an access and mobility management function AMF network element, a session management function SMF network element, and a user plane function UPF network element; The AMF network element is used to receive the access request and verify the legitimacy of the access request and the terminal's access to the core network. The SMF network element is used to transparently transmit the Radius authentication request to the UPF network element. The UPF network element is interoperable with the target customized network and supports forwarding the Radius authentication request to the Radius server.

18. A network access device, applied to a Radius server, characterized in that: include: A second receiving module is configured to receive a remote user dial-up authentication Radius authentication request sent by a core network, and when the access request of the terminal is verified to be passed and the legitimacy of the terminal accessing the core network is verified to be passed, the core network sends the Radius authentication request carrying target access point information and at least one identification information corresponding to the terminal, and the access request carries the target access point information; A detection module, used to detect whether the terminal meets the access conditions for accessing the target customized network according to the Radius authentication request; A first feedback module, configured to feed back to the core network first response information allowing access to the target customized network when the terminal meets the access condition; A third receiving module is used to receive an online access message carrying a start identifier sent by the core network, where the online access message is sent when the core network initiates a session establishment connection request and allocates a target network address to the terminal, and the session establishment connection request includes the online access message; The second processing module is used to record the state that the terminal is about to access the target customized network, and feed back first confirmation information to the core network, so that the core network sends the target network address to the terminal, and the terminal accesses the target server based on the target network address and accesses the target customized network corresponding to the target server; The core network includes: an access and mobility management function AMF network element, a session management function SMF network element, and a user plane function UPF network element; The AMF network element is used to receive the access request and verify the legitimacy of the access request and the terminal's access to the core network. The SMF network element is used to transparently transmit the Radius authentication request to the UPF network element. The UPF network element is interoperable with the target customized network and supports forwarding the Radius authentication request to the Radius server.

19. A network access device, applied to a terminal, characterized in that: include: A third sending module is configured to send an access request carrying target access point information to a core network, and the core network sends a Radius authentication request carrying the target access point information and at least one identification information corresponding to the terminal to a remote user dial-up authentication Radius server, and the Radius authentication request is sent when the legitimacy of the access request and the terminal accessing the core network is verified to be passed; A third processing module is used to receive the target network address sent by the core network when receiving the first confirmation information fed back by the Radius server, and access the target server based on the target network address and access the target customized network corresponding to the target server; Wherein, when the Radius server feeds back first response information allowing access to the target customized network based on the Radius authentication request, the core network initiates a session establishment connection request, allocates a target network address to the terminal, and sends an online access message carrying a start identifier to the Radius server, the session establishment connection request includes the online access message, and the Radius server feeds back the first confirmation information after receiving the online access message; The core network includes: an access and mobility management function AMF network element, a session management function SMF network element, and a user plane function UPF network element; The AMF network element is used to receive the access request and verify the legitimacy of the access request and the terminal's access to the core network. The SMF network element is used to transparently transmit the Radius authentication request to the UPF network element. The UPF network element is interoperable with the target customized network and supports forwarding the Radius authentication request to the Radius server.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the network access method according to any one of claims 1 to 6, 7 to 10, or 11 to 13 is implemented.