TECHNICAL FIELD

The present application relates to the field of communications and, in particular, to an access rejection method, apparatus and system, a computer storage medium and a processor.

BACKGROUND

The 3rd Generation Partnership Project (3GPP) proposes a solution of rejecting an access of an inactive terminal. As shown inFIG. 1,FIG. 1is a schematic diagram of a process of an access rejection in the related art of the present disclosure, where a base station system is used to establish a wireless connection with a terminal so that the terminal may access to a mobile network. The process of this solution includes steps described as follows.

Step101: a terminal (a user equipment (UE)) used to access to a wireless mobile network through a base station system A (such as a gNB, or an eNB1), which retains UE-related security information, including a key, then the UE enters an inactive state, in which the UE and the base station system A will still retain information for communication, including security information, but both will release wireless connection resources;

step102: the terminal hopes to regain an access to a mobile network at a certain time, but the UE may move to a coverage of a base station system B, and the UE sends an access resume request to the base station system B, such as sending a radio resource control (RRC) resume request message; and step103: the base station system B receives the access resume request, and hopes that the terminal will try to restore the access after waiting for a period of time, then the base station system B sends an access rejection message, such as a reject message, to the UE.

In the related art, if the reject message does not have any security protection, an illegal base station may also send the access rejection message to the terminal, thereby making the terminal cannot access to the network all the time, and the illegal base station even sends short waiting try time information, so that the terminal frequently sends an access resume request and is rejected, resulting in terminal power exhaustion.

In view of the above problem in the related art, no effective solution has yet been proposed.

SUMMARY

Embodiments of the present disclosure provide an access rejection method, apparatus and system, a computer storage medium and a processor, so as to at least solve a technical problem that a terminal cannot verify validity of an access rejection message in the related art.

An access rejection method is provided according to an embodiment of the present disclosure, and the method includes steps described below. A first base station receives an access request from a terminal; and the first base station sends an access rejection message to the terminal; where the access rejection message carries at least a check value generated based on a key of the terminal and at least part of contents of the access rejection message.

Another access rejection method is provided according to an embodiment of the present disclosure, and the method includes steps described below. A terminal sends an access request to a first base station; and the terminal receives an access rejection message fed back by the first base station; where the access rejection message carries at least a check value generated based on the key of the terminal and at least part of contents of the access rejection message.

Still another access rejection method is provided according to an embodiment of the present disclosure, and the method includes steps described below. A second base station receives a request message aimed for a terminal from a first base station; and the second base station sends a response message to the first base station; where the request message carries part or all of contents of an access rejection message aimed for the terminal, and the response message carries a check value generated based on a key and part or all of the contents of the access rejection message.

An access rejection apparatus applied to a first base station is provided according to another embodiment of the present disclosure, and the apparatus includes a first receiving module and a first sending module. The first receiving module is configured to receive an access request of a terminal; and the first sending module is configured to send an access rejection message to the terminal; where the access rejection message carries at least a check value generated based on a key of the terminal and at least part of contents of the access rejection message.

An access rejection apparatus applied to a terminal is provided according to another embodiment of the present disclosure, and the apparatus includes a sending module and a receiving module. The sending module is configured to send an access request to a first base station; and the receiving module is configured to receive an access rejection message fed back by the first base station; where the access rejection message carries at least a check value generated based on a key of the terminal and at least part of contents of the access rejection message.

An access rejection apparatus applied to a second base station is provided according to another embodiment of the present disclosure, and the apparatus includes a receiving module and a sending module. The receiving module is configured to receive a request message aimed for a terminal from a first base station; and the sending module is configured to send a response message to the first base station; where the request message carries part or all of contents of the access rejection message aimed for the terminal, and the response message carries a check value generated based on a key and at least part of the contents of the access rejection message.

An access rejection system is provided according to another embodiment of the present disclosure, and the system includes a first base station and a terminal; where the terminal is configured to send an access request;

the first base station is configured to receive the access request and send an access rejection message based on the access request; and

the terminal is configured to receive the access rejection message;

where the access rejection message carries at least a check value generated based on a key of the terminal and at least part of contents of the access rejection message.

A first storage medium is further provided according to another embodiment of the present disclosure, the storage medium includes stored programs, which, when executed, perform the aforementioned access rejection method applied to the first base station.

A second storage medium is further provided according to another embodiment of the present disclosure, this storage medium includes stored programs, which, when executed, perform the aforementioned access rejection method applied to the terminal.

A third storage medium is further provided according to another embodiment of the present disclosure, this storage medium stored programs, which, when executed, perform the aforementioned access rejection method applied to the second base station.

A first processor is further provided according to another embodiment of the present disclosure, and the processor is used to run a program, when the program is executed, performs the aforementioned access rejection method applied to the first base station.

A second processor is further provided according to another embodiment of the present disclosure, and the processor is used to run a program, when the program is executed, performs the aforementioned access rejection method applied to the terminal.

A third processor is further provided according to another embodiment of the present disclosure, and the processor is used to run a program, when the program is executed, performs the aforementioned access rejection method applied to the second base station.

According to the embodiments of the present disclosure, the check value generated based on the key of the terminal and part or all of the contents of the access rejection message is carried in the access rejection message, after receiving the access rejection message, the terminal may use the check value to perform a legality verification to determine legality of the sending base station, solving the technical problem in the related art that the terminal cannot verify the legality of the access rejection message, thus improving the security of interactions between a base station and a terminal.

