CN112673662B - Pseudo base station identification method, pseudo base station identification device, mobile terminal and storage medium - Google Patents

Pseudo base station identification method, pseudo base station identification device, mobile terminal and storage medium Download PDF

Info

Publication number
CN112673662B
CN112673662B CN201880097369.5A CN201880097369A CN112673662B CN 112673662 B CN112673662 B CN 112673662B CN 201880097369 A CN201880097369 A CN 201880097369A CN 112673662 B CN112673662 B CN 112673662B
Authority
CN
China
Prior art keywords
base station
target
registration
registration request
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201880097369.5A
Other languages
Chinese (zh)
Other versions
CN112673662A (en
Inventor
李伟清
王芷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112673662A publication Critical patent/CN112673662A/en
Application granted granted Critical
Publication of CN112673662B publication Critical patent/CN112673662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application discloses a pseudo base station identification method, a pseudo base station identification device, a mobile terminal and a storage medium. The method comprises the following steps: determining a target base station; transmitting a registration request registered to a mobile communication network to the target base station; detecting whether the registration is successful; and if the failure of the registration request is detected, judging that the target base station is a pseudo base station. The method determines whether the target base station is a pseudo base station or not by detecting whether the registration request sent to the target base station and registered to the mobile communication network is successful, thereby improving the safety of the mobile terminal and reducing the probability of information leakage of the mobile terminal.

Description

Pseudo base station identification method, pseudo base station identification device, mobile terminal and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and apparatus for identifying a pseudo base station, a mobile terminal, and a storage medium.
Background
The fake base station is composed of a host and a notebook computer, and can search mobile phone card information in a certain radius range by using the mobile phone card information as a center through a short message mass transmitter, a short message transmitter and other equipment, and can forcibly send short messages such as fraud, advertisement promotion and the like to a user mobile phone by impersonating the mobile phone number of other people by using the mobile communication defect to form a base station of an operator.
Disclosure of Invention
In view of the above problems, the present application proposes a pseudo base station identification method, apparatus, mobile terminal and storage medium, so as to achieve improvement of the above problems.
In a first aspect, the present application provides a method for identifying a pseudo base station, which is applied to a mobile terminal, and the method includes: determining a target base station; transmitting a registration request registered to a mobile communication network to the target base station; detecting whether the registration is successful; and if the failure of the registration request is detected, judging that the target base station is a pseudo base station.
In a second aspect, the present application provides a pseudo base station identifying apparatus, operating in a mobile terminal, the apparatus comprising: a base station determining unit configured to determine a target base station; a registration unit configured to send a registration request for registering to a mobile communication network to the target base station; a registration detection unit configured to detect whether the registration is successful; and the pseudo base station identification unit is used for judging that the target base station is a pseudo base station if the registration request is detected to fail.
In a third aspect, the present application provides a mobile terminal comprising one or more processors and memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a fourth aspect, the present application provides a computer readable storage medium having program code stored therein, wherein the method described above is performed when the program code is run.
After a target base station is determined, a registration request registered to a mobile communication network is sent to the target base station, and whether the registration is successful or not is detected; and if the failure of the registration request is detected, judging that the target base station is a pseudo base station. Therefore, whether the target base station is a pseudo base station is determined by detecting whether a registration request sent to the target base station and registered to the mobile communication network is successful, so that the safety of the mobile terminal is improved, and the probability of information leakage of the mobile terminal is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a system architecture diagram of a mobile communication network system;
fig. 2 shows a system architecture diagram of another mobile communication network system;
fig. 3 shows a flowchart of a pseudo base station identification method according to an embodiment of the present application;
fig. 4 is a flowchart of a pseudo base station identification method according to another embodiment of the present application;
fig. 5 is a flowchart of a pseudo base station identification method according to still another embodiment of the present application;
fig. 6 is a block diagram showing a structure of a pseudo base station identifying apparatus according to an embodiment of the present application;
fig. 7 is a block diagram showing a pseudo base station identifying apparatus according to another embodiment of the present application;
fig. 8 is a block diagram showing a constitution of a pseudo base station identifying apparatus according to still another embodiment of the present application;
fig. 9 shows a block diagram of a mobile terminal according to the present application;
fig. 10 is a memory unit for storing or carrying program codes for implementing a pseudo base station identifying method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
With the development of mobile communication technology, mobile communication has undergone the development of multiple versions of 2G, 3G, and 4G. The base station is an important communication device, whether it is the GSM (Global System for Mobile Communication) mobile communication system of the early 2G age or the CDMA (Code Division Multiple Access) communication system, or the LTE (Long Term Evolution) system architecture of the later 4G age.
For example, a 2G mobile communication system architecture is schematically shown in fig. 1. The BTS base station 99 (Base Station Controller) is connected to the base station controller 98 as an access device for mobile communication, and then the base station controller 98 is connected to the mobile switching center 97, and the mobile switching center 97 is also connected to the public switched telephone network 96 or the like. For example, the architecture of the 4G mobile communication system shown in fig. 2 is shown. The eNB base station 95 is connected to MME (Mobility Management Entity), i.e. the mobility management node 94, while the MME is connected to the serving gateway 93, which serving gateway 93 is in turn connected to the packet data gateway 92, which packet data gateway 92 is connected to the packet data network 91. As can be seen from fig. 1 and 2, in a mobile communication system, a base station has a relatively important role in the overall system architecture as a device for directly establishing a connection with a mobile terminal. The base station is generally referred to as a "public mobile communication base station", and is mainly used for providing signals for mobile terminals such as mobile phones and tablet computers. With the development of communication technology, the inventors found that a pseudo base station appears.
The pseudo base station is a pseudo base station, the equipment generally comprises a host and a notebook computer, the mobile phone card information in a certain radius range with the mobile phone card information as the center can be searched through related equipment such as a short message group transmitter, a short message sender and the like, and the short messages such as fraud, advertisement promotion and the like are forcibly sent to a mobile phone of a user by impersonating the mobile phone number of other people through the base station which is disguised as an operator by utilizing the defect of 2G mobile communication.
When the pseudo base station equipment operates, the wireless signal sent by the mobile terminal is forcedly connected to the equipment, so that the mobile terminal cannot normally use the service provided by an operator, the mobile terminal generally returns to normal after being temporarily disconnected for 8-12 seconds, and part of the mobile terminal can be restarted after being started and stopped. In addition, it may cause the mobile terminal user to frequently update the location, so that the wireless network resources in the area are tense and network congestion phenomenon occurs, which affects the normal communication of the user.
Therefore, the inventor proposes a method and a device for identifying a pseudo base station, a mobile terminal and a storage medium, wherein the method and the device can improve the information security of the mobile terminal and reduce the access to the pseudo base station.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 3, the method for identifying a pseudo base station provided by the embodiment of the application is applied to a mobile terminal, and includes:
step S110: and determining the target base station.
Wherein the mobile terminal may determine the target base station in multiple phases.
It can be understood that after the mobile terminal is powered on, or after the mobile terminal is converted from the flight mode to the online mode, the mobile terminal starts cell search, during the cell search, data are received at several center frequency points of a cell where a mobile network (e.g., an LTE network) may exist, and bandwidth RSSI is calculated, so as to determine whether a cell may exist around the frequency point according to the received signal strength, if the mobile terminal can save the frequency point and operator information when the mobile terminal is powered off last time, the mobile terminal may attempt to reside on the cell where the mobile terminal resides last time after the mobile terminal is powered on; if no prior information exists, the full frequency point is likely to be searched, the frequency point with stronger signal is found, and then the residence is tried.
And cell reselection (cell reselection) refers to a process that the mobile terminal provides a service signal by monitoring signal quality of neighbor cells and a current cell in an idle mode to select a best cell. When the signal quality and level of the neighbor cell meet the S criterion and meet a certain reselection decision criterion, the terminal will access the cell to reside. After the mobile terminal successfully resides, the cell measurement is continuously carried out. The RRC layer calculates Srxlev (S criterion) according to the RSRP measurement result, and compares the Srxlev with Sintrasearch (same-frequency measurement start threshold) and Snonentertrasearch (different-frequency/different-system measurement start threshold) as a judging condition for starting neighbor cell measurement.
Based on the above, as one way, the mobile terminal may use the base station obtained in the cell reselection stage as the target base station. Alternatively, the mobile terminal may use the base station obtained in the cell search stage as the target base station.
Step S120: and sending a registration request for registering to the mobile communication network to the target base station.
It should be noted that a mobile communication network generally includes three components: access network, bearer network, core network. Wherein, the access network is a window and is responsible for collecting data; the carrier network is a "truck" responsible for sending data to and from; the core network, the management backbone, is responsible for managing the data, sorting the data, and then telling it where to go.
Typically, a network air interface in an access network is used to enable information interaction between mobile terminals and base stations of a mobile communication network, and information on the network air interface is carried by various logical channels. The logical channels are divided into two major types, namely a Traffic Channel (TCH) and a Control Channel (CCH), wherein the TCH mainly transmits services, such as voice, data, etc., between the network and the mobile terminal; the CCH is a channel for transmitting signaling information and short packet data, a broadcast channel (BCH, broadcast Channel) in the CCH is used for transmitting information by broadcasting, and a broadcast control channel (BCCH, broadcast Control Channel) in the BCH is used for a base station broadcasting common information, such as a system message or the like, to a mobile terminal.
The mobile terminal, upon receiving the system message, may select whether to camp on the cell based on measurements of the system message. After the mobile terminal and the base station are successfully synchronized, MIB (master information block) information and SIB (system information blocks) information in the system message are read, and whether the current cell can reside or not is judged by analyzing the SIBs 1 in the SIB information.
The sib1 message can be roughly divided into cell access related information (cellaccessrelateinfo), cell selection information (cellSelectionInfo), and band information (freqBandIndicator) of a cell. After the mobile terminal acquires the sibmessage, the mobile terminal pays more attention to the cellSelectionInfo. It should be noted that if the mobile terminal wants to successfully camp on a cell, the current cell must satisfy the S criterion. In the cell selection process, the mobile terminal needs to measure the cell to be selected so as to evaluate the channel quality and judge whether the cell meets the resident standard. The measurement criteria for cell selection is called the S criteria, and when the channel quality of a certain cell meets the S criteria, it can be selected as a camping cell.
After the mobile terminal is camping on a certain cell, in order to acquire a corresponding mobile communication service through the camped cell, a registration request is sent to the core network through the camped cell. The registration request sent by the mobile terminal to the target base station here is essentially that it is desired to register the mobile terminal in the core network. The mobile terminal can acquire the corresponding service based on the mobile communication network only when the mobile terminal is registered in the core network.
In the foregoing, if there is only one cell under one base station, the base station refers to the cell in this case, and if there are a plurality of cells under the base station, the camping cell referred to herein refers to the base station camping on the cell.
Step S130: and detecting whether the registration is successful.
Step S140: and if the failure of the registration request is detected, judging that the target base station is a pseudo base station.
Step S150: and if the failure of the registration request is detected, judging that the target base station is not a pseudo base station.
It will be appreciated that the pseudo base station is typically based on a communication protocol between the mobile terminal and the base station, and that some manner of letting the mobile terminal determine parameters of the communication protocol to which the pseudo base station is more suitable for camping is configured to enable the mobile terminal to connect with the pseudo base station. And typically the purpose of the pseudo base station attracting the mobile terminal connection is to intercept the user information of the mobile terminal or to send some short message to the mobile terminal. And typically the pseudo base station is not provided with the core network of the mobile terminal.
It should be noted that a mobile communication network generally includes three components: access network, bearer network, core network. Wherein, the access network is a window and is responsible for collecting data; the carrier network is a "truck" responsible for sending data to and from; the core network, the management backbone, is responsible for managing the data, sorting the data, and then telling it where to go.
Typically, a network air interface in an access network is used to enable information interaction between mobile terminals and base stations of a mobile communication network, and information on the network air interface is carried by various logical channels. The logical channels are divided into two major types, namely a Traffic Channel (TCH) and a Control Channel (CCH), wherein the TCH mainly transmits services, such as voice, data, etc., between the network and the mobile terminal; the CCH is a channel for transmitting signaling information and short packet data, a broadcast channel (BCH, broadcast Channel) in the CCH is used for transmitting information by broadcasting, and a broadcast control channel (BCCH, broadcast Control Channel) in the BCH is used for a base station broadcasting common information, such as a system message or the like, to a mobile terminal.
The core network is a network that connects a service provider with an access network, or an access network with other access networks. Generally refers to the portion of the network other than the access network and the subscriber premises network. The main function of the core network is to connect the call request or data request sent by the air interface to different networks. The main body is supported on the exchanger in the aspects of call connection, charging, mobility management, supplementary service realization, intelligent triggering and the like. There are two obvious concepts for soft switching, control and bearer separation, control channel separation from data channel separation.
It is known that if the mobile terminal is expected to realize the communication service through the base station after establishing the wireless connection with the base station, the mobile terminal also needs to be registered in the core network. In general, the pseudo base station is not connected to the core network or does not have the function of the entire core network, and it is difficult to determine that the target base station is the pseudo base station when the failure of the registration request is detected.
After a target base station is determined, a registration request registered to a mobile communication network is sent to the target base station, and whether the registration is successful or not is detected; and if the failure of the registration request is detected, judging that the target base station is a pseudo base station. Therefore, whether the target base station is a pseudo base station is determined by detecting whether a registration request sent to the target base station and registered to the mobile communication network is successful, so that the safety of the mobile terminal is improved, and the probability of information leakage of the mobile terminal is reduced.
Referring to fig. 4, another embodiment of the present application provides a method for identifying a pseudo base station, which is applied to a mobile terminal, and the method includes:
step S210: and determining the target base station.
It should be noted that, in this embodiment, the manner of determining the target base station may refer to the foregoing, and will not be described herein.
Step S220: and sending a registration request for registering to the mobile communication network to the target base station.
Step S230: and detecting whether target registration request response information sent by the target base station is received within the target time length after the registration request is sent.
In one mode, whether registration request response information which is sent by the target base station and represents successful registration is received or not is detected within a target time length after the registration request is sent. And if the registration request response information representing successful registration is not received, judging that the target registration request response information is not received. And if the registration request response information representing successful registration is detected to be received, judging that the target registration request response information is received.
It will be appreciated that after the mobile terminal determines to camp on the base station (or cell), the mobile terminal will register with the core network of the mobile communication network in order to facilitate subsequent communication services. Then, as a way, the mobile terminal may configure a target registration request response message in advance, and if the mobile terminal detects that the response message returned by the base station is identified to be in accordance with the aforementioned tag book request response message, it may be determined that the target registration request response message is received. Wherein, the registration request response information characterizing the success of registration can be used as a target registration request response information. It will be appreciated that in the case where the mobile terminal and the base station both follow a pre-negotiated communication protocol, the mobile terminal may be informed of the registration request response information, which characterizes the success of the registration, by the format and content of the received response information.
Alternatively, detecting whether the registration request response information, which is sent by the target base station and accords with the target format and is characterized by refusing to register, is received within the target time length after the registration request is sent; and if the detection does not receive the registration request response information representing the refused registration, judging that the target registration request response information is not received. And if detecting that the registration request response information representing the refused registration is received, judging that the target registration request response information is received.
It will be appreciated that even for a legitimate base station, registration may fail for some reason. For example, when the mobile terminal registers, it sends MAR information to HSS to obtain authentication set information, S-CSCF receives MAA authentication information returned by HSS, S-CSCF reports error inside, resulting in interruption of registration flow. In the MAA message returned by the HSS, the SIP-authentication parameter M bit is "0", and the matching M bit value is checked according to the 3GPP protocol, and the parameter value is required to be "1". Furthermore, registration failure may also be caused by background configuration parameters, signal problems (RSRP < -105dB, SINR < -3 dBm), equipment failures (including Mifi, computer, base station failures), and the like.
In this case, the mobile terminal may set the registration request response information whose registration is refused for the characterization conforming to the target format as target registration request response information, and determine that the target registration request response information is not received if the mobile terminal does not detect the registration request response information whose registration is refused for the characterization conforming to the target format.
As one way, after receiving the response information, the mobile terminal may compare the received response information with a plurality of formats in the stored target format list, and if the comparison is successful, it will determine that the registration request response information meeting the target format and whose characterization is refused to register is detected.
Step S240: and if the target registration request response information is received within the target time length, judging that the registration is successful.
Step S250: and if the target registration request response information is not received within the target time length, judging that the registration fails.
It will be appreciated that the factors of the distance between the mobile terminal and the base station and the signal strength may cause the time consumption of information transmission to be different. For example, if the mobile terminal is far from the base station, it takes more time to transmit information than if the mobile terminal is located relatively close to the base station. For another example, even in a state where the signal strength is poor, even the same transmission distance, more transmission time is consumed. In this case, in order to avoid the influence of the parameter affecting the information transmission rate on the accuracy of the pseudo base station verification, the target time length is calculated based on the time elapsed since the last successful registration of the mobile terminal to the mobile communication network as a way. It can be appreciated that if the mobile terminal successfully registers with the mobile communication network through the base station, the base station is characterized as a normal legal base station. The wireless environment at the moment when the mobile terminal is registered to the normal legal base station last time is similar to the current environment, so that the influence of the actual wireless environment on the false base station verification error can be reduced to the greatest extent based on the time-consuming calculation of the last time the mobile terminal is successfully registered to the mobile communication network.
Optionally, the step of calculating the target time length based on the time elapsed since the last successful registration of the mobile terminal to the mobile communication network includes: acquiring the intensity of a wireless signal transmitted by the target base station; if the intensity is detected to be smaller than the intensity threshold value, the time spent on successfully registering the mobile terminal to the mobile communication network last time is increased by the correction time length to obtain the target time length.
It will be appreciated that in order to meet the normal communication between the mobile terminal and the base station, the base station needs to maintain a certain signal transmission strength, and correspondingly, the mobile terminal will also maintain a certain reception strength. It will be appreciated that the strength of the radio signal broadcast by the base station received by the mobile terminal varies over a range, but the strength varies over the range, but the signal strength does not have a significant effect on the signal transmission between the mobile terminal and the base station, but the signal strength does not fall over the range, which may result in unsuccessful transmission of information between the mobile terminal and the base station. For example, more transmission time is consumed. In order to avoid that the false base station is identified by mistake, a reference time can be stored to calculate the target time length.
Optionally, the step of calculating the target time length based on the time elapsed since the last successful registration of the mobile terminal to the mobile communication network includes: and if the intensity is detected not to be smaller than the intensity threshold value, taking the time consumed by the last successful registration of the mobile terminal to the mobile communication network as the target time length.
Step S260: and if the failure of the registration request is detected, judging that the target base station is a pseudo base station.
After a target base station is determined, a registration request registered to a mobile communication network is sent to the target base station, and whether target registration request response information sent by the target base station is received within a target time length after the registration request is sent is detected; and if the target registration request response information is not received within the target time length, judging that the target base station is a pseudo base station. Therefore, whether the target base station is a pseudo base station is determined by detecting the target registration request response information, so that the safety of the mobile terminal is improved, and the probability of information leakage of the mobile terminal is reduced.
Referring to fig. 5, a method for identifying a pseudo base station according to still another embodiment of the present application is applied to a mobile terminal, and the method includes:
Step S310: and determining the target base station.
Step S320: and sending a registration request for registering to the mobile communication network to the target base station.
Step S330: and detecting the connection state of the RRC connection established with the target base station in the process of sending the registration request.
Step S340: and if the connection state is detected to be the release connection before the successful registration is detected, judging that the registration fails.
As one aspect, the step of determining that the registration has failed if the connection state is detected as a released connection before the registration has been detected as successful includes: and if the condition that the target registration request response information is not received and the connection state is the connection release is detected, judging that the registration fails.
Step S350: and if the failure of the registration request is detected, judging that the target base station is a pseudo base station.
Step S360: if the connection state is the connection state until the registration success is detected.
As one mode, the step of determining that the target base station is a pseudo base station further includes: acquiring an RRC connection release message returned by a target base station in the release process of the RRC connection; and if the redirection information in the RRC connection release message is identified to meet the target condition, judging that the target base station is a pseudo base station.
Optionally, the target condition includes: the target base station is a 4G base station, and the redirection frequency band in the redirection information belongs to a 2G frequency band.
Optionally, the target condition further includes: the redirected cell in the redirection information belongs to a pre-detected cell which is a pseudo base station cell.
After a target base station is determined, a registration request registered to a mobile communication network is sent to the target base station, and a connection state of RRC connection established with the target base station in the process of sending the registration request is detected, if the connection state is detected to be release connection before the successful registration is detected, the registration failure is judged, and then the target base station is judged to be the pseudo base station. Therefore, whether the target base station is a pseudo base station is determined by detecting the connection state of RRC connection in the process of registering the registration request to the mobile communication network, which is sent to the target base station, so that the safety of the mobile terminal is improved, and the probability of information leakage of the mobile terminal is reduced.
Referring to fig. 6, a pseudo base station identifying apparatus 400 provided in an embodiment of the present application operates in a mobile terminal, where the apparatus 400 includes: base station determining unit 410, registration unit 420, registration detecting unit 430, and pseudo base station identifying unit 440.
A base station determining unit 410 for determining a target base station.
As one way, the base station determining unit 410 takes a base station obtained by cell reselection as a target base station. Alternatively, the base station determining unit 410 takes the base station obtained by the cell search as the target base station.
A registration unit 420 for transmitting a registration request for registering with the mobile communication network to the target base station.
A registration detection unit 430 for detecting whether the registration is successful.
And a pseudo base station identifying unit 440, configured to determine that the target base station is a pseudo base station if the registration request is detected to fail.
After a target base station is determined, a registration request for registering to a mobile communication network is sent to the target base station, and whether the registration is successful or not is detected; and if the failure of the registration request is detected, judging that the target base station is a pseudo base station. Therefore, whether the target base station is a pseudo base station is determined by detecting whether a registration request sent to the target base station and registered to the mobile communication network is successful, so that the safety of the mobile terminal is improved, and the probability of information leakage of the mobile terminal is reduced.
Referring to fig. 7, a pseudo base station identifying apparatus 500 according to another embodiment of the present application is configured to operate in a mobile terminal, where the apparatus 500 includes: base station determining unit 510, registering unit 520, response information detecting unit 530, pseudo base station identifying unit 540, and time length calculating unit 550.
A base station determining unit 510 for determining a target base station.
A registration unit 520 for transmitting a registration request for registering with the mobile communication network to the target base station.
And a response information detecting unit 530, configured to detect whether target registration request response information sent by the target base station is received within a target time period after the registration request is sent.
As a way, the response information detecting unit 530 is specifically configured to detect whether registration request response information indicating that registration is successful, which is sent by the target base station, is received within a target time period after the registration request is sent; and if the registration request response information representing successful registration is not received, judging that the target registration request response information is not received. And if the registration request response information representing successful registration is detected to be received, judging that the target registration request response information is received.
Alternatively, the response information detecting unit 530 is specifically configured to detect whether registration request response information, sent by the target base station, that is sent by the target base station and has been refused to be registered, is received within a target time period after the registration request is sent; and if the detection does not receive the registration request response information representing the refused registration, judging that the target registration request response information is not received. And if detecting that the registration request response information representing the refused registration is received, judging that the target registration request response information is received.
The pseudo base station identifying unit 540 is configured to determine that the registration is successful if the target registration request response information is received within the target time period.
The pseudo base station identifying unit 540 is configured to determine that the registration fails if the target registration request response information is not received within the target time period.
As one way, the apparatus 500 further comprises:
and a duration calculating unit 550, configured to calculate the target time duration based on the time elapsed since the last successful registration of the mobile terminal to the mobile communication network.
Optionally, a duration calculating unit 550 is specifically configured to obtain the strength of the wireless signal transmitted by the target base station; if the intensity is detected to be smaller than the intensity threshold value, the time spent on successfully registering the mobile terminal to the mobile communication network last time is increased by the correction time length to obtain the target time length.
Optionally, the duration calculating unit 550 is specifically configured to take the time taken for the mobile terminal to successfully register with the mobile communication network last time as the target time length if the strength is detected to be not less than the strength threshold.
After a target base station is determined, a registration request registered to a mobile communication network is sent to the target base station, and whether target registration request response information sent by the target base station is received within a target time length after the registration request is sent is detected; and if the target registration request response information is not received within the target time length, judging that the target base station is a pseudo base station. Therefore, whether the target base station is a pseudo base station is determined by detecting the target registration request response information, so that the safety of the mobile terminal is improved, and the probability of information leakage of the mobile terminal is reduced.
Referring to fig. 8, still another embodiment of the present application provides a pseudo base station identifying apparatus 600, which is operated in a mobile terminal, the apparatus 600 includes: base station determining unit 610, registering unit 620, connection detecting unit 630, and pseudo base station identifying unit 640.
A base station determining unit 610 for determining a target base station.
A registration unit 620 for transmitting a registration request for registering with the mobile communication network to the target base station.
And a connection detection unit 630, configured to detect a connection state of the RRC connection established with the target base station in the process of sending the registration request.
The registration unit 620 is further configured to determine that the registration fails if the connection state is detected to be a release connection before the registration success is detected.
As one aspect, the step of determining that the registration has failed if the connection state is detected as a released connection before the registration has been detected as successful includes: and if the condition that the target registration request response information is not received and the connection state is the connection release is detected, judging that the registration fails.
And a pseudo base station identifying unit 640 configured to determine that the target base station is a pseudo base station if the registration request failure is detected.
As a way, the pseudo base station identifying unit 640 is further configured to obtain an RRC connection release message returned by the target base station in the release process of the RRC connection; and if the redirection information in the RRC connection release message is identified to meet the target condition, judging that the target base station is a pseudo base station.
Optionally, the target condition includes: the target base station is a 4G base station, and the redirection frequency band in the redirection information belongs to a 2G frequency band.
Optionally, the target condition further includes: the redirected cell in the redirection information belongs to a pre-detected cell which is a pseudo base station cell.
The application provides a pseudo base station identification device, which is used for sending a registration request registered in a mobile communication network to a target base station after the target base station is determined, starting to detect the connection state of RRC connection established with the target base station in the process of sending the registration request, and judging that the registration fails and further judging that the target base station is the pseudo base station if the connection state is detected to be released before the successful registration is detected. Therefore, whether the target base station is a pseudo base station is determined by detecting the connection state of RRC connection in the process of registering the registration request to the mobile communication network, which is sent to the target base station, so that the safety of the mobile terminal is improved, and the probability of information leakage of the mobile terminal is reduced.
It should be noted that, for convenience and brevity, specific working procedures of the apparatus and units described above may refer to corresponding procedures in the foregoing method embodiments, and are not described herein again. In several embodiments provided by the present application, the coupling of the modules to each other may be electrical. In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
In summary, the method, the device, the mobile terminal and the storage medium for identifying the pseudo base station provided by the application send a registration request for registering to a mobile communication network to a target base station after determining the target base station, and start to detect whether the registration is successful; and if the failure of the registration request is detected, judging that the target base station is a pseudo base station. Therefore, whether the target base station is a pseudo base station is determined by detecting whether a registration request sent to the target base station and registered to the mobile communication network is successful, so that the safety of the mobile terminal is improved, and the probability of information leakage of the mobile terminal is reduced.
A mobile terminal according to the present application will be described with reference to fig. 9.
Referring to fig. 9, based on the above-mentioned method and apparatus for identifying a pseudo base station, another mobile terminal 100 capable of executing the foregoing method for identifying a pseudo base station is provided in an embodiment of the present application. The mobile terminal 100 includes one or more (only one shown) processors 102, memory 104, and a wireless module 106 coupled to one another. The memory 104 stores therein a program capable of executing the contents of the foregoing embodiments, and the processor 102 can execute the program stored in the memory 104.
Wherein the processor 102 may include one or more processing cores. The processor 102 utilizes various interfaces and lines to connect various portions of the overall mobile terminal 100, perform various functions of the mobile terminal 100, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and invoking data stored in the memory 104. Alternatively, the processor 102 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 102 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 102 and may be implemented solely by a single communication chip.
The Memory 104 may include random access Memory (Random Access Memory, RAM) or Read-Only Memory (RAM). Memory 104 may be used to store instructions, programs, code sets, or instruction sets. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc. The storage data area may also store data created by the terminal 100 in use (such as phonebook, audio-video data, chat-record data), etc.
The wireless module 106 is configured to receive and transmit electromagnetic waves, and to implement mutual conversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices, such as an audio playback device. The wireless module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. The wireless module 106 may communicate with various networks such as the internet, intranets, wireless networks, or other devices via wireless networks. The wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. For example, the wireless module 106 may interact with a base station.
Referring to fig. 10, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable medium 800 has stored therein program code which can be invoked by a processor to perform the methods described in the method embodiments described above.
The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 comprises a non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 800 has storage space for program code 810 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 810 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be appreciated by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (17)

1. A pseudo base station identification method, characterized by being applied to a mobile terminal, the method comprising:
determining a target base station, wherein the target base station is a base station obtained by performing cell search after the mobile terminal is switched from a flight mode to an online mode;
transmitting a registration request registered to a mobile communication network to the target base station;
detecting whether the registration is successful;
the step of detecting whether the registration is successful includes:
detecting whether target registration request response information sent by the target base station is received within a target time length after the registration request is sent, wherein the target registration request response information is registration request response information, which is sent by the target base station and is in accordance with a target format, and is characterized by refused registration, and the target time length is obtained based on time consumption calculation of last successful registration of the mobile terminal to a mobile communication network;
if the target registration request response information is not received within the target time length, judging that the registration fails;
and if the failure of the registration request is detected, judging that the target base station is a pseudo base station.
2. The method of claim 1, wherein the step of detecting whether the target registration request response information sent by the target base station is received within a target length of time after the registration request is sent comprises:
Detecting whether registration request response information which characterizes successful registration and is sent by the target base station is received within a target time length after the registration request is sent;
and if the registration request response information representing successful registration is not received, judging that the target registration request response information is not received.
3. The method of claim 1, wherein the step of detecting whether the target registration request response information sent by the target base station is received within a target length of time after the registration request is sent comprises:
detecting whether registration request response information, which is transmitted by the target base station and accords with a target format and is characterized by refused registration, is received within a target time length after the registration request is transmitted;
and if the detection does not receive the registration request response information representing the refused registration, judging that the target registration request response information is not received.
4. The method of claim 1, wherein the step of calculating the target length of time based on a time elapsed since the last successful registration of the mobile terminal with a mobile communication network comprises:
acquiring the intensity of a wireless signal transmitted by the target base station;
If the intensity is detected to be smaller than the intensity threshold value, the time spent on successfully registering the mobile terminal to the mobile communication network last time is increased by the correction time length to obtain the target time length.
5. The method of claim 4, wherein the step of calculating the target length of time based on a time elapsed since the last successful registration of the mobile terminal with a mobile communication network comprises:
and if the intensity is detected not to be smaller than the intensity threshold value, taking the time consumed by the last successful registration of the mobile terminal to the mobile communication network as the target time length.
6. The method of claim 1, wherein the step of detecting whether the registration is successful comprises:
detecting the connection state of RRC connection established with the target base station in the process of sending the registration request;
and if the connection state is detected to be the release connection before the successful registration is detected, judging that the registration fails.
7. The method of claim 6, wherein if the connection state is detected as a released connection before the registration success is detected, the step of determining that the registration failed comprises:
and if the condition that the target registration request response information is not received and the connection state is the connection release is detected, judging that the registration fails.
8. The method of claim 6, wherein the step of determining that the target base station is a pseudo base station is preceded by the step of:
acquiring an RRC connection release message returned by a target base station in the release process of the RRC connection;
and if the redirection information in the RRC connection release message is identified to meet the target condition, judging that the target base station is a pseudo base station.
9. The method of claim 8, wherein the target condition comprises:
the target base station is a 4G base station, and the redirection frequency band in the redirection information belongs to a 2G frequency band.
10. The method of claim 9, wherein the target condition further comprises:
the redirected cell in the redirection information belongs to a pre-detected cell which is a pseudo base station cell.
11. The method according to any of the claims 1-10, wherein the step of determining the target base station comprises:
and taking the base station obtained by cell reselection as a target base station.
12. The method according to any of the claims 1-10, wherein the step of determining the target base station comprises:
and taking the base station obtained by cell search as a target base station.
13. A pseudo base station identification apparatus operable in a mobile terminal, the apparatus comprising:
the base station determining unit is used for determining a target base station, wherein the target base station is a base station obtained by performing cell search after the mobile terminal is switched from a flight mode to an online mode;
a registration unit configured to send a registration request for registering to a mobile communication network to the target base station;
a registration detection unit configured to detect whether the registration is successful;
the registration detection unit is specifically configured to detect whether target registration request response information sent by the target base station is received within a target time length after the registration request is sent, where the target registration request response information is registration request response information sent by the target base station and conforming to a target format and whose feature is refused to be registered, and the target time length is obtained based on time-consuming calculation of last successful registration of the mobile terminal to the mobile communication network; if the target registration request response information is not received within the target time length, judging that the registration fails;
and the pseudo base station identification unit is used for judging that the target base station is a pseudo base station if the registration request is detected to fail.
14. The apparatus according to claim 13, wherein the registration detection unit is specifically configured to detect whether registration request response information indicating that registration is successful, which is sent by the target base station, is received within a target time period after the registration request is sent; and if the registration request response information representing successful registration is not received, judging that the target registration request response information is not received.
15. The apparatus according to claim 13, wherein the registration detection unit is specifically configured to detect a connection state of an RRC connection established with the target base station in a process of sending the registration request; and if the connection state is detected to be the release connection before the successful registration is detected, judging that the registration fails.
16. A mobile terminal comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-12.
17. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, wherein the method of any of claims 1-12 is performed when the program code is run.
CN201880097369.5A 2018-10-31 2018-10-31 Pseudo base station identification method, pseudo base station identification device, mobile terminal and storage medium Active CN112673662B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/113207 WO2020087417A1 (en) 2018-10-31 2018-10-31 Pseudo base station identification method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112673662A CN112673662A (en) 2021-04-16
CN112673662B true CN112673662B (en) 2023-11-10

Family

ID=70463536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880097369.5A Active CN112673662B (en) 2018-10-31 2018-10-31 Pseudo base station identification method, pseudo base station identification device, mobile terminal and storage medium

Country Status (2)

Country Link
CN (1) CN112673662B (en)
WO (1) WO2020087417A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104955045A (en) * 2015-06-12 2015-09-30 联想(北京)有限公司 Access control method, device, terminal and system
CN106211157A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 Base station reorientation method and base station redirection device
CN106686601A (en) * 2017-03-16 2017-05-17 珠海市魅族科技有限公司 Pseudo base station protection method and device
CN107241721A (en) * 2016-03-29 2017-10-10 努比亚技术有限公司 Mobile terminal network gravity treatment control method and device
WO2018018932A1 (en) * 2016-07-26 2018-02-01 中兴通讯股份有限公司 Method and apparatus for recognizing rogue base station
CN108124262A (en) * 2017-12-19 2018-06-05 努比亚技术有限公司 Pseudo-base station recognition methods, terminal and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162635A (en) * 2015-04-01 2016-11-23 北京佰才邦技术有限公司 The authentication method of subscriber equipment and device
CN107222860A (en) * 2016-03-22 2017-09-29 中兴通讯股份有限公司 A kind of method and apparatus for recognizing pseudo-base station
CN106211169A (en) * 2016-07-28 2016-12-07 努比亚技术有限公司 Pseudo-base station identification device and method
CN107911822A (en) * 2017-10-31 2018-04-13 珠海市魅族科技有限公司 Pseudo-base station detection method and device, terminal and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104955045A (en) * 2015-06-12 2015-09-30 联想(北京)有限公司 Access control method, device, terminal and system
CN107241721A (en) * 2016-03-29 2017-10-10 努比亚技术有限公司 Mobile terminal network gravity treatment control method and device
CN106211157A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 Base station reorientation method and base station redirection device
WO2018018932A1 (en) * 2016-07-26 2018-02-01 中兴通讯股份有限公司 Method and apparatus for recognizing rogue base station
CN106686601A (en) * 2017-03-16 2017-05-17 珠海市魅族科技有限公司 Pseudo base station protection method and device
CN108124262A (en) * 2017-12-19 2018-06-05 努比亚技术有限公司 Pseudo-base station recognition methods, terminal and computer readable storage medium

Also Published As

Publication number Publication date
WO2020087417A1 (en) 2020-05-07
CN112673662A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
EP2617237B1 (en) Methods and devices for providing information in a cellular wireless communication system
US8155653B2 (en) Mobile radio terminal and communication processing method
US9723536B2 (en) Wireless communication system utilizing broadcast-based blind offloading
US20130130698A1 (en) Indication of user equipment mobility state to enhance mobility and call performance
TWI675602B (en) Method and apparatus for identifying pseudo base station
CN112042226B (en) Base station switching method, equipment and storage medium
CN112806073B (en) Communication processing method, device, mobile terminal and storage medium
CN108738093B (en) Method for preventing LTE terminal from having no service after multiple attach requests are rejected
US20210329519A1 (en) Cell Connection Processing Method and Mobile Terminal
US20150079971A1 (en) Mobile radio communication devices, mobile radio communication networks, and methods for controlling the same
CN112806043B (en) Pseudo base station identification method and device, mobile terminal and storage medium
US11812270B2 (en) Method for identifying pseudo base station, apparatus, and mobile terminal
CN112673662B (en) Pseudo base station identification method, pseudo base station identification device, mobile terminal and storage medium
CN108235826B (en) CSFB (Circuit switched Fall Back) fall result detection method and device and computer storage medium
WO2009114988A1 (en) Method, device and system for notifying heterogeneous system neighbor cell information to user terminal
CN112868247B (en) Cell connection processing method, device, mobile terminal and storage medium
CN112690011B (en) Pseudo base station identification method, pseudo base station identification device, mobile terminal and storage medium
CN112954781B (en) Communication control method, communication control device, electronic device, and storage medium
CN112889315B (en) Cell information processing method and device, electronic equipment and readable storage medium
CN112771907B (en) Pseudo base station identification method, pseudo base station identification device, mobile terminal and storage medium
CN111800840B (en) Cell connection control method, device, mobile terminal and storage medium
CN111818600B (en) Terminal control method, device, equipment and storage medium
CN117729594A (en) 5G multimode terminal and method for quickly returning after EPS falling back thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant