CN112673662A - Pseudo base station identification method and device, mobile terminal and storage medium - Google Patents
Pseudo base station identification method and device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN112673662A CN112673662A CN201880097369.5A CN201880097369A CN112673662A CN 112673662 A CN112673662 A CN 112673662A CN 201880097369 A CN201880097369 A CN 201880097369A CN 112673662 A CN112673662 A CN 112673662A
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000010295 mobile communication Methods 0.000 claims abstract description 60
- 230000004044 response Effects 0.000 claims description 69
- 230000008569 process Effects 0.000 claims description 18
- 238000001514 detection method Methods 0.000 claims description 5
- 238000012937 correction Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 238000005259 measurement Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 101150096310 SIB1 gene Proteins 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000013441 quality evaluation Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
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; sending a registration request for registering to a mobile communication network to the target base station; detecting whether the registration is successful; and if the registration request is detected to fail, judging that the target base station is a pseudo base station. The method determines whether the target base station is a pseudo base station by detecting whether a registration request which is sent to the target base station and is registered to the mobile communication network is successful, thereby improving the safety of the mobile terminal and reducing the information leakage probability of the mobile terminal.
Description
The present application relates to the field of communications technologies, and in particular, to a pseudo base station identification method and apparatus, a mobile terminal, and a storage medium.
The pseudo base station is a pseudo base station, the pseudo base station generally comprises a host and a notebook computer, mobile phone card information within a certain radius range centered on the pseudo base station can be searched by related equipment such as a short message group sender, a short message sender and the like, and by utilizing the defects of mobile communication, the pseudo base station serves as a base station of an operator and forces to send short messages such as fraud, advertising promotion and the like to a mobile phone of a user by pretending to be the mobile phone number of other people.
Disclosure of Invention
In view of the above problems, the present application provides a method, an apparatus, a mobile terminal and a storage medium for identifying a pseudo base station, so as to improve the above problems.
In a first aspect, the present application provides a pseudo base station identification method, which is applied to a mobile terminal, and the method includes: determining a target base station; sending a registration request for registering to a mobile communication network to the target base station; detecting whether the registration is successful; and if the registration request is detected to fail, judging that the target base station is a pseudo base station.
In a second aspect, the present application provides a pseudo base station identification apparatus, operating in a mobile terminal, the apparatus including: a base station determination unit for determining a target base station; a registration unit for transmitting a registration request for registering to a mobile communication network to the target base station; a registration detection unit for detecting 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 a 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 a program code stored therein, wherein the program code performs the above method when running.
After a target base station is determined, sending a registration request for registering to a mobile communication network to the target base station, and starting to detect whether the registration is successful or not; and if the registration request is detected to fail, 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 the registration request which is sent to the target base station and is registered to the mobile communication network is successful, so that the safety of the mobile terminal is improved, and the information leakage probability of the mobile terminal is reduced.
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
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 is a flowchart illustrating a pseudo base station identification method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a pseudo base station identification method according to another embodiment of the present application;
fig. 5 is a flowchart illustrating a pseudo base station identification method according to still another embodiment of the present application;
fig. 6 shows a block diagram of a pseudo base station identification apparatus according to an embodiment of the present application;
fig. 7 is a block diagram illustrating a pseudo base station identification apparatus according to another embodiment of the present application;
fig. 8 is a block diagram illustrating a pseudo base station identification apparatus according to still another embodiment of the present application;
fig. 9 is a block diagram illustrating a structure of a mobile terminal according to the present application;
fig. 10 is a storage unit for storing or carrying program code implementing a pseudo base station identification method according to an embodiment of the present application.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the development of mobile communication technology, mobile communication has undergone the development of multiple versions, 2G, 3G, and 4G. Regardless of the gsm (global System for Mobile communication) communication System or cdma (code Division Multiple access) communication System in the early 2G era, or the lte (long Term evolution) System architecture in the later 4G era, the base station is an important communication device.
For example, the 2G mobile communication system architecture diagram shown in fig. 1. BTS Base Station 99(Base Station Controller) is connected to Base Station Controller 98 as an access device for mobile communication, then Base Station Controller 98 is connected to mobile switching center 97, and mobile switching center 97 is also connected to public switched telephone network 96. For another example, fig. 2 is a schematic diagram of a 4G mobile communication system architecture. The eNB base station 95 is connected to an MME (mobility Management entity), namely a mobility Management node 94, the MME is connected to a serving gateway 93, the serving gateway 93 is connected to a packet data gateway 92, and the packet data gateway 92 is connected to a packet data network 91. As can be seen from fig. 1 and 2, in the mobile communication system, the base station is a device that directly establishes a connection with the mobile terminal, and has a relatively important position in the whole system architecture. The base station, generally referred to as a "public mobile communication base station," is mainly used for providing signals to mobile terminals such as mobile phones and tablet computers. As communication technology has advanced, the inventors have discovered the presence of a pseudo base station.
The false base station is a false base station, the device generally comprises a host and a notebook computer, the mobile phone card information within a certain radius range by taking the mobile phone card information as the center can be searched by related devices such as a short message group sender, a short message sender and the like, and the device can forcibly send short messages such as fraud, advertising promotion and the like to the mobile phone of the user by pretending to be the base station of the operator by using the mobile phone number of other people by utilizing the defect of 2G mobile communication.
When the pseudo base station equipment runs, a wireless signal sent by the mobile terminal is forcibly connected to the equipment, so that the mobile terminal cannot normally use services provided by an operator, the mobile terminal is normally recovered after temporarily disconnecting the network for 8-12 seconds, and part of the mobile terminals need to be turned on and off to access the network again. In addition, it may cause the mobile terminal user to frequently update the location, so that the wireless network resources in the area are strained and network congestion occurs, which affects the normal communication of the user.
Therefore, the inventor proposes a pseudo base station identification method, a pseudo base station identification device, a mobile terminal and a storage medium, which 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, a pseudo base station identification method provided in an embodiment of the present application is applied to a mobile terminal, and the method includes:
step S110: and determining the target base station.
Wherein the mobile terminal may determine the target base station in multiple stages.
It can be understood that, after the mobile terminal is powered on, or after the mobile terminal is switched from the flight mode to the online mode, cell search is started, in the process of cell search, data is received at several central frequency points of a cell where a mobile network (for example, an LTE network) may exist, and bandwidth RSSI is calculated, so as to determine whether the cell may exist around the frequency point by receiving signal strength, and if the mobile terminal can store the frequency point and operator information when the mobile terminal is powered off last time, it is possible that the mobile terminal tries to reside in the cell where the mobile terminal resides last time after being powered on; if no prior information exists, the method is likely to search for the full frequency point, find the frequency point with the stronger signal and try to reside.
And cell reselection (cell reselection) refers to a process in which a mobile terminal selects a best cell to provide a service signal by monitoring signal qualities of a neighboring cell and a current cell in an idle mode. And when the signal quality and the level of the adjacent cell meet the S criterion and meet a certain reselection judgment criterion, the terminal is accessed to the cell to reside. After the mobile terminal successfully resides, the cell measurement is continuously performed. The RRC layer calculates Srxlev (S criterion) according to the RSRP measurement result, compares the Srxlev with Sintrasearch (same frequency measurement starting threshold) and Snonitrasearch (different frequency/different system measurement starting threshold), and takes the Srxlev as a judgment condition for judging whether to start the neighbor measurement.
Based on the above situation, as one way, the mobile terminal may use the base station obtained in the cell reselection phase as the target base station. Alternatively, the mobile terminal may use the base station obtained in the cell search phase as the target base station.
Step S120: sending a registration request to the target base station to register to a mobile communication network.
It should be noted that a mobile communication network generally includes three major components: an access network, a bearer network and a core network. The access network is a window and is responsible for receiving data; the carrying network is a truck and is responsible for sending data; the core network, the "management hub", is responsible for managing the data, sorting the data, and then telling it where to go.
Typically, a network air interface in the access network is used to enable information exchange between the mobile terminal and the base stations of the mobile communications network, and information on the network air interface is carried by various logical channels. The logical channels are divided into two categories, namely Traffic Channels (TCH) and Control Channels (CCH), where the TCH is mainly used for transmitting Traffic, such as voice and data, between the network and the mobile terminal; the CCH is a Channel for transmitting signaling information and short packet data, and a Broadcast Channel (BCH) in the CCH is used for transmitting information by broadcasting, and a Broadcast Control Channel (BCCH) in the BCH is used for broadcasting common information, such as system messages, to the mobile terminals by the base station.
The mobile terminal, upon receiving the system message, may select whether to camp on the cell based on measurements on 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 is determined by analyzing SIB1 in the SIB information.
The sib1 message can be roughly divided into cell access related information (cellaccesratedinfo), cell selection information (cellselectedinfo), and cell band information (freqBandIndicator). After acquiring the sib message, the mobile terminal focuses more on 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 in order to perform channel quality evaluation and determine whether it meets the camping standard. The measurement criterion for cell selection is called S-criterion, and when the channel quality of a certain cell meets the S-criterion, the certain cell can be selected as a camping cell.
After the mobile terminal is camped in a certain cell, a registration request is sent to the core network through the camped cell in order to obtain the corresponding mobile communication service through the camped cell. Then here the mobile terminal sends a registration request to the target base station that it is desired to register the mobile terminal with 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 multiple cells under the base station, the camping cell refers to the base station camping on the cell.
Step S130: detecting whether the registration is successful.
Step S140: and if the registration request is detected to fail, judging that the target base station is a pseudo base station.
Step S150: and if the registration request is detected to fail, 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 some manner of configuring parameters relating to the communication protocol that allow the mobile terminal to determine that the pseudo base station is more suitable for camping is implemented to attract the mobile terminal to connect with the pseudo base station. And the purpose of attracting the mobile terminal to connect by the pseudo base station is to intercept the user information of the mobile terminal or send some short message to the mobile terminal. Whereas typically the pseudo base station is not provided with a core network for the mobile terminal.
It should be noted that a mobile communication network generally includes three major components: an access network, a bearer network and a core network. The access network is a window and is responsible for receiving data; the carrying network is a truck and is responsible for sending data; the core network, the "management hub", is responsible for managing the data, sorting the data, and then telling it where to go.
Typically, a network air interface in the access network is used to enable information exchange between the mobile terminal and the base stations of the mobile communications network, and information on the network air interface is carried by various logical channels. The logical channels are divided into two categories, namely Traffic Channels (TCH) and Control Channels (CCH), where the TCH is mainly used for transmitting Traffic, such as voice and data, between the network and the mobile terminal; the CCH is a Channel for transmitting signaling information and short packet data, and a Broadcast Channel (BCH) in the CCH is used for transmitting information by broadcasting, and a Broadcast Control Channel (BCCH) in the BCH is used for broadcasting common information, such as system messages, to the mobile terminals by the base station.
A 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 core network is mainly used for connecting call requests or data requests sent over the air interface to different networks. The main body of the method mainly relates to the connection, charging, mobility management, supplementary service realization, intelligent triggering and the like of the call and is supported on the switch. There are two obvious concepts for soft switching, control and bearer separation, and control channel and data channel separation.
It can be seen that if a mobile terminal establishes a wireless connection with a base station, it needs to register in the core network if it desires to implement a communication service through the base station. However, the target base station is usually not connected to the core network or does not have all the functions of the core network, and it is difficult to determine that the target base station is the pseudo base station when the registration request failure is detected.
After a target base station is determined, sending a registration request for registering to a mobile communication network to the target base station, and starting to detect whether the registration is successful or not; and if the registration request is detected to fail, 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 the registration request which is sent to the target base station and is registered to the mobile communication network is successful, so that the safety of the mobile terminal is improved, and the information leakage probability of the mobile terminal is reduced.
Referring to fig. 4, a pseudo base station identification method provided in another embodiment of the present application 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, reference may be made to the foregoing contents for a manner of determining a target base station, and details are not described herein again.
Step S220: sending a registration request to the target base station to register to a mobile communication network.
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.
As a mode, it is detected whether registration request response information representing successful registration is received, which is sent by the target base station, 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 detecting that the registration request response information representing successful registration is received, judging that the target registration request response information is received.
It is understood that after the mobile terminal determines that the base station (or cell) to be camped on, the mobile terminal registers with the core network of the mobile communication network in order to facilitate subsequent communication services. As one mode, the mobile terminal may pre-configure a target registration request response message, and if the mobile terminal detects that the response message returned by the base station matches the target registration request response message, it may determine that the target registration request response message is received. Wherein, the registration request response information representing successful registration can be used as a target registration request response information. It is understood that, in the case where the pre-negotiated communication protocol is followed between the mobile terminal and the base station, the mobile terminal may be the registration request response information indicating whether the registration is successful or not by the format and content of the received response information.
As another mode, detecting whether registration request response information which is sent by the target base station and conforms to a target format and indicates that registration is rejected is received within a target time length after the registration request is sent; and if the registration request response information representing that the registration is refused is not received, judging that the target registration request response information is not received. And if detecting that the registration request response information representing that the registration is refused 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 performs registration, a MAR message is sent to the HSS to obtain authentication set information, and after the S-CSCF receives MAA authentication information returned by the HSS, the S-CSCF reports an error in the S-CSCF, which causes the interruption of the registration process. Research shows that in the MAA message returned by HSS, the M bit value of SIP-authentication parameter is "0", and the matching M bit value is checked according to 3GPP protocol, and the parameter value is required to be "1". Moreover, registration failure can be caused by background configuration parameters, signal problems (RSRP < -105dB, SINR < -3dBm), equipment failures (including Mifi, computer and base station failures) and the like.
In this case, the mobile terminal may set the registration request response information indicating that the registration is denied in accordance with the target format as the 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 indicating that the registration is denied in accordance with the target format.
As one mode, 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, determine that the registration request response information indicating that the representation conforming to the target format is rejected for registration 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 span, judging that the registration fails.
It is understood that the time consumption for information transmission varies depending on the distance between the mobile terminal and the base station and the signal strength. For example, if the mobile terminal is far from the base station, it will take more time to transmit information than if the mobile terminal is at a close position. For another example, in a state of poor signal strength, even the same transmission distance consumes more transmission time. In this case, in order to avoid the influence of parameters affecting the information transmission rate on the accuracy of the pseudo base station verification, the target time length is calculated based on the time taken for the mobile terminal to successfully register to the mobile communication network last time. It can be understood that if the mobile terminal successfully registers to 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 registers to the normal legal base station for the last time is similar to the current environment, so that the influence of the actual wireless environment on the verification error of the pseudo base station can be reduced to the maximum extent by calculating the target time length based on the time consumed by the last successful registration of the mobile terminal to the mobile communication network.
Optionally, the step of calculating the target time length based on the time consumed for the mobile terminal to successfully register to the mobile communication network last time includes: acquiring the strength of a wireless signal transmitted by the target base station; and if the intensity is detected to be smaller than the intensity threshold value, increasing the time consumed for successfully registering the mobile terminal to the mobile communication network last time by the correction duration to obtain the target time length.
It can be understood that, in order to satisfy 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 also maintains a certain reception strength. It is understood that the strength of the wireless signal broadcast by the base station received by the mobile terminal varies within a certain range, but the strength within the certain range is different, but the signal transmission between the mobile terminal and the base station is not greatly affected, but the information transmission between the mobile terminal and the base station may not be successful if the signal strength is not within the certain range. For example, more transmission time may be consumed. In order to avoid the false base station identification error caused by the reason, 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 consumed for the mobile terminal to successfully register to the mobile communication network last time includes: and if the intensity is not 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 registration request is detected to fail, judging that the target base station is a pseudo base station.
After a target base station is determined, sending a registration request for registering to a mobile communication network to the target base station, and starting 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; and if the target registration request response information is not received within the target time length, determining that the target base station is a pseudo base station. Therefore, whether the target base station is a pseudo base station or not is determined by detecting the response information of the target registration request, so that the safety of the mobile terminal is improved, and the information leakage probability of the mobile terminal is reduced.
Referring to fig. 5, a pseudo base station identification method provided in 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: sending a registration request to the target base station to register to a mobile communication network.
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 connection release state before the registration is detected to be successful, judging that the registration fails.
As one mode, if it is detected that the connection status is connection release before the registration is detected to be successful, the step of determining that the registration has failed includes: and if the target registration request response information is not detected to be received and the connection state is the connection release, judging that the registration fails.
Step S350: and if the registration request is detected to fail, judging that the target base station is a pseudo base station.
Step S360: and if the connection state is the connection state before the registration success is detected.
As one mode, before the step of determining that the target base station is a pseudo base station, the method further includes: acquiring an RRC connection release message returned by the target base station in the RRC connection release process; 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 conditions include: 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: and the redirected cell in the redirection information belongs to a cell which is detected in advance as a pseudo base station cell.
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 the detection of the connection state of RRC connection established with the target base station in the process of sending the registration request is started. Therefore, whether the target base station is a pseudo base station or not is determined by detecting the connection state of the RRC connection in the process of registering the registration request sent to the target base station to the mobile communication network, so that the safety of the mobile terminal is improved, and the information leakage probability of the mobile terminal is reduced.
Referring to fig. 6, a pseudo base station identification apparatus 400 provided in the embodiment of the present application operates in a mobile terminal, where the apparatus 400 includes: a base station determining unit 410, a registering unit 420, a registration detecting unit 430, and a pseudo base station identifying unit 440.
A base station determining unit 410, configured to determine a target base station.
As one way, the base station determining unit 410 takes the base station obtained by cell reselection as the 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 registering unit 420, configured to send a registration request for registering to a mobile communication network to the target base station.
A registration detection unit 430, configured to detect whether the registration is successful.
A pseudo base station identification unit 440, configured to determine that the target base station is a pseudo base station if it is detected that the registration request fails.
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 registration request is detected to fail, 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 the registration request which is sent to the target base station and is registered to the mobile communication network is successful, so that the safety of the mobile terminal is improved, and the information leakage probability of the mobile terminal is reduced.
Referring to fig. 7, a pseudo base station identification apparatus 500 according to another embodiment of the present application is operated in a mobile terminal, where the apparatus 500 includes: a base station determining unit 510, a registering unit 520, a response information detecting unit 530, a pseudo base station identifying unit 540, and a duration calculating unit 550.
A base station determining unit 510, configured to determine a target base station.
A registering unit 520, configured to send a registration request for registering to a mobile communication network to the target base station.
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 length after the registration request is sent.
As a manner, the response information detecting unit 530 is specifically configured to detect whether registration request response information representing successful registration is received from the target base station 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 detecting that the registration request response information representing successful registration is 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, which is sent by the target base station and conforms to a target format and indicates that registration is denied, is received within a target time length after the registration request is sent; and if the registration request response information representing that the registration is refused is not received, judging that the target registration request response information is not received. And if detecting that the registration request response information representing that the registration is refused 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 length.
A pseudo base station identifying unit 540, configured to determine that the registration fails if the target registration request response information is not received within the target time length.
As one mode, the apparatus 500 further includes:
a time length calculating unit 550, configured to calculate the target time length based on time consumed for the mobile terminal to successfully register to the mobile communication network last time.
Optionally, the duration calculating unit 550 is specifically configured to obtain the strength of the wireless signal transmitted by the target base station; and if the intensity is detected to be smaller than the intensity threshold value, increasing the time consumed for successfully registering the mobile terminal to the mobile communication network last time by the correction duration to obtain the target time length.
Optionally, the duration calculating unit 550 is specifically configured to, if it is detected that the intensity is not less than the intensity threshold, take time consumed for the mobile terminal to successfully register to the mobile communication network last time as the target duration.
After a target base station is determined, a pseudo base station identification device sends a registration request for registering to a mobile communication network to the target base station, and starts 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; and if the target registration request response information is not received within the target time length, determining that the target base station is a pseudo base station. Therefore, whether the target base station is a pseudo base station or not is determined by detecting the response information of the target registration request, so that the safety of the mobile terminal is improved, and the information leakage probability of the mobile terminal is reduced.
Referring to fig. 8, a pseudo base station identification apparatus 600 according to another embodiment of the present application is operated in a mobile terminal, where the apparatus 600 includes: a base station determination unit 610, a registration unit 620, a connection detection unit 630, and a pseudo base station identification unit 640.
A base station determining unit 610, configured to determine a target base station.
A registering unit 620, configured to send a registration request for registering to a mobile communication network to the target base station.
A connection detecting unit 630, configured to detect a connection status of an RRC connection established with the target base station in a process of sending the registration request.
The registering unit 620 is further configured to determine that the registration fails if it is detected that the connection status is connection release before the registration is successful.
As one mode, if it is detected that the connection status is connection release before the registration is detected to be successful, the step of determining that the registration has failed includes: and if the target registration request response information is not detected to be received and the connection state is the connection release, judging that the registration fails.
A pseudo base station identification unit 640, configured to determine that the target base station is a pseudo base station if it is detected that the registration request fails.
As a mode, 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 conditions include: 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: and the redirected cell in the redirection information belongs to a cell which is detected in advance as a pseudo base station cell.
According to the pseudo base station identification device, after a target base station is determined, a registration request for registering to a mobile communication network is sent to the target base station, the 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 connection release before the registration is detected to be successful, 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 or not is determined by detecting the connection state of the RRC connection in the process of registering the registration request sent to the target base station to the mobile communication network, so that the safety of the mobile terminal is improved, and the information leakage probability of the mobile terminal is reduced.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In several embodiments provided herein, the coupling of modules to each other may be electrical. In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
To sum up, the pseudo base station identification method, the pseudo base station identification device, the mobile terminal and the storage medium provided by the present application send a registration request for registering to a mobile communication network to a target base station after the target base station is determined, and start to detect whether the registration is successful; and if the registration request is detected to fail, 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 the registration request which is sent to the target base station and is registered to the mobile communication network is successful, so that the safety of the mobile terminal is improved, and the information leakage probability of the mobile terminal is reduced.
A mobile terminal provided by the present application will be described with reference to fig. 9.
Referring to fig. 9, based on the pseudo base station identification method and apparatus, another mobile terminal 100 capable of performing the pseudo base station identification method is further provided in the embodiment of the present application. The mobile terminal 100 includes one or more processors 102 (only one shown), memory 104, and a wireless module 106 coupled to each other. The memory 104 stores programs that can execute the content of the foregoing embodiments, and the processor 102 can execute the programs stored in the memory 104.
The Memory 104 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The 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 (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
The wireless module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices, for example, an audio playing 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 so forth. The wireless module 106 may communicate with various networks, such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise 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 a program code that can be called by a processor to execute the method described in the above-described method embodiments.
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. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (20)
- A pseudo base station identification method is applied to a mobile terminal, and comprises the following steps:determining a target base station;sending a registration request for registering to a mobile communication network to the target base station;detecting whether the registration is successful;and if the registration request is detected to fail, judging that the target base station is a pseudo base station.
- The method of claim 1, wherein the step of detecting whether the registration is successful comprises: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;and if the target registration request response information is not received within the target time span, judging that the registration fails.
- The method of claim 2, wherein the step of detecting whether the target registration request response message sent by the target base station is received within the target time period after the registration request is sent comprises:detecting whether registration request response information which is sent by the target base station and represents successful registration is received within the 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.
- The method of claim 2, wherein the step of detecting whether the target registration request response message sent by the target base station is received within the target time period after the registration request is sent comprises:detecting whether registration request response information which is sent by the target base station and accords with a target format and indicates that registration is refused is received within a target time length after the registration request is sent;and if the registration request response information representing that the registration is refused is not received, judging that the target registration request response information is not received.
- The method according to any one of claims 2-4, further comprising:and calculating the target time length based on the time consumption of the last successful registration of the mobile terminal to the mobile communication network.
- The method of claim 5, wherein the step of calculating the target time duration based on the elapsed time for the mobile terminal to successfully register with the mobile communication network last time comprises:acquiring the strength of a wireless signal transmitted by the target base station;and if the intensity is detected to be smaller than the intensity threshold value, increasing the time consumed for successfully registering the mobile terminal to the mobile communication network last time by the correction duration to obtain the target time length.
- The method of claim 5, wherein the step of calculating the target time duration based on the elapsed time for the mobile terminal to successfully register with the mobile communication network last time comprises:and if the intensity is not 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.
- The method of claim 1, wherein the step of detecting whether the registration is successful comprises:detecting a 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 connection release state before the registration is detected to be successful, judging that the registration fails.
- The method of claim 8, wherein if the connection status is detected as connection release before the registration is detected as successful, determining that the registration has failed comprises:and if the target registration request response information is not detected to be received and the connection state is the connection release, judging that the registration fails.
- The method according to claim 8 or 9, wherein the step of determining the target base station as a pseudo base station further comprises:acquiring an RRC connection release message returned by the target base station in the RRC connection release process;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.
- The method of claim 10, wherein the target conditions comprise:the target base station is a 4G base station, and the redirection frequency band in the redirection information belongs to a 2G frequency band.
- The method of claim 11, wherein the target condition further comprises:and the redirected cell in the redirection information belongs to a cell which is detected in advance as a pseudo base station cell.
- The method according to any of claims 1-12, wherein the step of determining the target base station comprises:and taking the base station obtained by cell reselection as a target base station.
- The method according to any of claims 1-13, wherein the step of determining the target base station comprises:and taking the base station obtained by cell search as a target base station.
- A pseudo base station identification apparatus, operable in a mobile terminal, the apparatus comprising:a base station determination unit for determining a target base station;a registration unit for transmitting a registration request for registering to a mobile communication network to the target base station;a registration detection unit for detecting 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.
- The apparatus according to claim 15, wherein the registration detecting 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; and if the target registration request response information is not received within the target time span, judging that the registration fails.
- The apparatus according to claim 16, wherein the registration detecting unit is specifically configured to detect whether registration request response information, which is sent by the target base station and indicates that registration is successful, 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.
- The apparatus according to claim 15, wherein the registration detecting unit is specifically configured to detect a connection status of an RRC connection established with the target base station during sending the registration request; and if the connection state is detected to be the connection release state before the registration is detected to be successful, judging that the registration fails.
- 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-14.
- A computer-readable storage medium, having program code stored therein, wherein the method of any of claims 1-14 is performed when the program code is executed.
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 true CN112673662A (en) | 2021-04-16 |
CN112673662B 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)
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)
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 |
-
2018
- 2018-10-31 WO PCT/CN2018/113207 patent/WO2020087417A1/en active Application Filing
- 2018-10-31 CN CN201880097369.5A patent/CN112673662B/en active Active
Patent Citations (6)
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 |
---|---|
CN112673662B (en) | 2023-11-10 |
WO2020087417A1 (en) | 2020-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8676213B2 (en) | Indication of user equipment mobility state to enhance mobility and call performance | |
EP2617237B1 (en) | Methods and devices for providing information in a cellular wireless communication system | |
TWI675602B (en) | Method and apparatus for identifying pseudo base station | |
CN112806073B (en) | Communication processing method, device, mobile terminal and storage medium | |
CN106937343B (en) | Voice service implementation method and device | |
CN111954278A (en) | Information reporting method and device, mobile terminal and storage medium | |
US20210329519A1 (en) | Cell Connection Processing Method and Mobile Terminal | |
CN112806043B (en) | Pseudo base station identification method and device, mobile terminal and storage medium | |
CN112789877B (en) | Cell interference detection method, 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 | |
CN112673663A (en) | Pseudo base station processing method, pseudo base station processing device, mobile terminal and storage medium | |
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 | |
CN111800840B (en) | Cell connection control method, device, mobile terminal and storage medium | |
CN111818600B (en) | Terminal control method, device, equipment and storage medium | |
CN112771907B (en) | Pseudo base station identification method, pseudo base station identification device, mobile terminal and storage medium | |
EP4054224B1 (en) | Pseudo base station recognition method and apparatus, terminal device and network device | |
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 |