IP Library Granted Patent US 10,681,546
Granted Patent B2
US 10,681,546 · App. 16/357,950 · Granted Jun 9, 2020

Processing method for sim card equipped terminal access to 3GPP network and apparatus

Inventors: He Li (Shanghai, CN); Youyang Yu (Shanghai, CN); Jing Chen (Shanghai, CN)
Assignee: Huawei Technologies Co., Ltd.
H04W12/06H04L63/0823H04L63/126H04W8/04H04W8/24H04W12/08H04W48/02H04W48/08
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,681,546
App. No.
16/357,950
Granted
Jun 9, 2020
Kind
B2
Abstract

A processing method for terminal access to a 3GPP network is provided. UE sends an access request message to a core network device on the 3GPP network, and the core network device sends an unauthorized access message to the UE after determining that the UE has no permission to access the 3GPP network. The unauthorized access message includes authentication information of the core network device. The UE performs authentication on the core network device according to the authentication information of the core network device, and executes a corresponding network access policy after authentication on the core network device by the UE succeeds, that is, after the UE determines that a source of the unauthorized access message is authorized.

Claims (56)

1. An apparatus, comprising:

a transmitter, configured to send an access request message to a core network device comprised in a 3rd Generation Partnership Project (3GPP) network, wherein the access request message requests to access the 3GPP network, and the access request message comprises identity information of a terminal;

a receiver, configured to receive an unauthorized access message from the core network device, wherein the unauthorized access message indicates that the terminal is unauthorized to access the 3GPP network, and the unauthorized access message comprises authentication information of the core network device; and

a processor, configured to:

perform authentication on the core network device according to the authentication information;

execute a network access policy after authentication on the core network device succeeds, wherein executing the network access policy comprises:

stopping a further attempt to access the 3GPP network, and reattempting to access the 3GPP network when a status of the terminal satisfies a first preset condition, wherein the first preset condition comprises: a subscriber identity module (SIM) card of the terminal has changed, the terminal has restarted, a duration of timing starting from when an earlier attempt to access the 3GPP network by the terminal failed exceeds a first preset duration, or the terminal reselects a non-3GPP network.

2. The apparatus according to claim 1 , wherein the authentication information comprises a first message digest, and the first message digest is used by the terminal to perform authentication on a home subscriber server (HSS) comprised in the core network device; and

wherein the processor is further configured to:

when performing authentication on the core network device according to the authentication information, generate a second message digest according to a preset algorithm, the identity information of the terminal, and a failure message code carried in the unauthorized access message; and

when the first message digest is the same as the second message digest, determine that authentication on the HSS succeeds; or when the first message digest is different from the second message digest, determine that authentication on the HSS fails.

3. The apparatus according to claim 1 , wherein the authentication information comprises an authentication vector set, and the authentication vector set comprises a first parameter and a message authentication code (MAC); and

wherein the processor is further configured to:

when performing authentication on the core network device according to the authentication information, generate an expected message authentication code (X-MAC) according to the first parameter; and

when the X-MAC is the same as the MAC, determine that authentication on a home subscriber server (HSS) succeeds; or when the X-MAC is different from the MAC, determine that authentication on the HSS fails.

4. The apparatus according to claim 1 , wherein the authentication information comprises authentication information of an evolved packet data gateway (ePDG).

5. The apparatus according to claim 4 , wherein the authentication information further comprises an authentication vector set, and the authentication vector set comprises a first parameter and a message authentication code (MAC); and

wherein the processor is further configured to:

when performing authentication on the core network device according to the authentication information, generate an expected message authentication code (X-MAC) according to the first parameter when authentication on the ePDG succeeds; and

when the X-MAC is the same as the MAC, determine that authentication on an HSS succeeds; or when the X-MAC is different from the MAC, determine that authentication on the HSS fails.

6. The apparatus according to claim 1 , wherein the access request message further comprises access point name (APN) information, the APN information indicates a non-3GPP network that is requested by the terminal to use, and the core network device comprises an evolved packet data gateway (ePDG); and

wherein the processor is further configured to:

when stopping the further attempt to access the 3GPP network, and reattempting to access the 3GPP network when the status of the terminal satisfies the first preset condition, and when the ePDG belongs to a home public land mobile network (HPLMN), stop the further attempt to access the 3GPP network, and reattempt to access the 3GPP network when the status of the terminal satisfies the first preset condition, wherein the first preset condition comprises: the SIM card of the terminal has changed, the terminal has restarted, the duration of timing starting from when the earlier attempt to access the 3GPP network by the terminal failed exceeds the first preset duration, or the terminal reattempts to access the 3GPP network using the non-3GPP network corresponding to the APN information; or

when stopping the further attempt to access the 3GPP network, and reattempting to access the 3GPP network when the status of the terminal satisfies the first preset condition, when the ePDG belongs to a visited public land mobile network (VPLMN), and after the non-3GPP network is reselected, re-attempt to access the 3GPP network by using the reselected non-3GPP network.

7. The apparatus according to claim 1 , wherein the core network device does not comprise an evolved packet data gateway (ePDG), and the first preset condition comprises: the duration of timing starting from when the earlier attempt to access the 3GPP network by the terminal failed exceeds the first preset duration.

8. The apparatus according to claim 1 , wherein the processor is further configured to:

when authentication on the core network device fails, attempt to access the 3GPP network again; or

when a preset quantity of times of attempts to access the 3GPP network all fail, reattempt to access the 3GPP network after a second preset duration.

9. A communication system, comprising:

a terminal, comprising at least one first processor; and

a core network device comprised in a 3rd Generation Partnership Project (3GPP) network, wherein the core network device comprises at least one second processor;

wherein the at least one first processor is configured to execute at least one first program to send an access request message to the core network device, wherein the access request message requests to access the 3GPP network, and the access request message comprises identity information of the terminal;

wherein the at least one second processor is configured to execute at least one second program to:

receive the access request message from the terminal; and

when it is determined, according to the identity information of the terminal, that the terminal has no permission to access the 3GPP network, send an unauthorized access message to the terminal, wherein the unauthorized access message comprises authentication information of the core network device; and

wherein the at least one first processor is further configured to execute the at least one first program to:

receive the unauthorized access message from the core network device;

perform authentication on the core network device according to the authentication information;

execute a network access policy after authentication on the core network device by the terminal succeeds, wherein executing the network access policy comprises:

stopping a further attempt to access the 3GPP network, and reattempting to access the 3GPP network when a status of the terminal satisfies a first preset condition, wherein the first preset condition comprises: a subscriber identity module (SIM) card of the terminal has changed, the terminal has restarted, duration of timing starting from when an earlier attempt to access the 3GPP network by the terminal failed exceeds first preset duration, or the terminal reselects a non-3GPP network.

10. The system according to claim 9 , wherein the authentication information comprises a first message digest, and the first message digest is used by the terminal to perform authentication on a home subscriber server (HSS) in the core network device; and

wherein the at least one first processor is further configured to execute the at least one first program to:

generate a second message digest according to a preset algorithm, the identity information of the terminal, and a failure message code carried in the unauthorized access message; and

when the first message digest is the same as the second message digest, determine that authentication on the HSS succeeds; or when the first message digest is different from the second message digest, determine that authentication on the HSS fails.

11. The system according to claim 9 , wherein the authentication information comprises an authentication vector set, and the authentication vector set comprises a first parameter and a message authentication code (MAC); and

wherein the at least one first processor is further configured to execute the at least one first program to:

generate an expected message authentication code (X-MAC) according to the first parameter; and

when the X-MAC is the same as the MAC, determine that authentication on a home subscriber server (HSS) succeeds; or when the X-MAC is different from the MAC, determine that authentication on the HSS fails.

12. The system according to claim 9 , wherein the authentication information comprises authentication information of an evolved packet data gateway (ePDG).

13. A non-transitory computer readable medium comprising computer program codes stored thereon, wherein the computer program codes make one or more processors to execute the following steps:

sending an access request message to a core network device comprised in a 3rd Generation Partnership Project (3GPP) network, wherein the access request message requests to access the 3GPP network, and the access request message comprises identity information of a terminal;

receiving an unauthorized access message from the core network device, wherein the unauthorized access message indicates that the terminal is unauthorized to access the 3GPP network, and the unauthorized access message comprises authentication information of the core network device;

performing authentication on the core network device according to the authentication information;

executing a network access policy after authentication on the core network device succeeds, wherein executing the network access policy comprises:

stopping a further attempt to access the 3GPP network, and reattempting to access the 3GPP network when a status of the terminal satisfies a first preset condition, wherein the first preset condition comprises: a subscriber identity module (SIM) card of the terminal has changed, the terminal has restarted, a duration of timing starting when from an earlier attempt to access the 3GPP network by the terminal failed exceeds a first preset duration, or the terminal reselects a non-3GPP network.

14. The non-transitory computer readable medium according to claim 13 , wherein the authentication information comprises authentication information of an evolved packet data gateway (ePDG).

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 19, 2024
From: HUAWEI TECHNOLOGIES CO., LTD.
To: GODO KAISHA IP BRIDGE 1
Reel/Frame 067782/0405 →
Continuity (3)
Continuation 15890936 · Feb 7, 2018
Continuation PCTCN2015086390 · Aug 7, 2015
Related Publication 20190215690A1 · Jul 11, 2019