CN104244252A - Method and device for identifying pseudo base station - Google Patents
Method and device for identifying pseudo base station Download PDFInfo
- Publication number
- CN104244252A CN104244252A CN201410521518.XA CN201410521518A CN104244252A CN 104244252 A CN104244252 A CN 104244252A CN 201410521518 A CN201410521518 A CN 201410521518A CN 104244252 A CN104244252 A CN 104244252A
- Authority
- CN
- China
- Prior art keywords
- base station
- information
- pseudo
- particular value
- user
- 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
Abstract
The invention provides a method and a device for identifying a pseudo base station, wherein the method for identifying the pseudo base station comprises the steps of acquiring information of a base station which can be detected; determining a special value from the information of the base station; and determining the base station corresponding to the special value as a pseudo base station. The method can identify a pseudo base station.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method and apparatus identifying pseudo-base station.
Background technology
Mobile phone needs to be communicated by base station, and base station comprises operator base station, and in addition, illegal person can also send information by pseudo-base station to mobile phone.Pseudo-base station is a kind of high-tech instrument, generally be made up of main frame and notebook computer, by sending short messages in groups device, the relevant devices such as note sender can be searched and get centered by it, Mobile phone card information within the scope of certain radius, by the base station of the operator that disguises oneself as, falsely use arbitrarily other people phone number and send swindle to user mobile phone by force, the notes such as ad promotions.
In order to protect secure user data, need to identify pseudo-base station.
Summary of the invention
The present invention is intended to solve one of technical problem in correlation technique at least to a certain extent.
For this reason, one object of the present invention is to propose a kind of method identifying pseudo-base station, and the method can identify pseudo-base station.
Another object of the present invention is to propose a kind of device identifying pseudo-base station.
For achieving the above object, the method for the pseudo-base station of the identification that first aspect present invention embodiment proposes, comprising: the information obtaining the base station that can detect; Characteristic value is determined from the information of described base station; By base station corresponding for described particular value, be defined as pseudo-base station.
The method of the pseudo-base station of the identification that first aspect present invention embodiment proposes, by the information of base stations detected, therefrom finds particular value, base station corresponding for particular value is defined as pseudo-base station, can realize the identification of pseudo-base station.
For achieving the above object, the device of the pseudo-base station of the identification that second aspect present invention embodiment proposes, comprising: acquisition module, for obtaining the information of the base station that can detect; Determination module, for determining particular value in the information from described base station; Identification module, for by base station corresponding for described particular value, is defined as pseudo-base station.
The device of the pseudo-base station of the identification that second aspect present invention embodiment proposes, by the information of base stations detected, therefrom finds particular value, base station corresponding for particular value is defined as pseudo-base station, can realize the identification of pseudo-base station.
For achieving the above object, the mobile device that third aspect present invention embodiment proposes, this mobile device comprises housing, processor, memory, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, and processor and memory are arranged on circuit boards; Power circuit, for powering for each circuit of mobile device or device; Memory is used for stores executable programs code; Processor runs the program corresponding with executable program code by reading the executable program code stored in memory, for performing following steps: the information obtaining the base station that can detect; Characteristic value is determined from the information of described base station; By base station corresponding for described particular value, be defined as pseudo-base station.
The mobile device that third aspect present invention embodiment proposes, by the information of base stations detected, therefrom finds particular value, base station corresponding for particular value is defined as pseudo-base station, can realize the identification of pseudo-base station.
The aspect that the present invention adds and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein:
Fig. 1 is the schematic flow sheet of the method for the pseudo-base station of identification that one embodiment of the invention proposes;
Fig. 2 is the schematic flow sheet of the method for the pseudo-base station of identification that another embodiment of the present invention proposes;
Fig. 3 is the structural representation of the device of the pseudo-base station of identification that another embodiment of the present invention proposes;
Fig. 4 is the structural representation of the device of the pseudo-base station of identification that another embodiment of the present invention proposes.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.On the contrary, embodiments of the invention comprise fall into attached claims spirit and intension within the scope of all changes, amendment and equivalent.
Fig. 1 is the schematic flow sheet of the method for the pseudo-base station of identification that one embodiment of the invention proposes, and the method comprises:
S11: the information obtaining the base station that can detect.
Wherein, the executive agent of the present embodiment refers to mobile device, such as, be mobile phone.
The base station that can detect can comprise: the base station be connected with mobile device, and, the adjacent base station of the base station be connected with mobile device.
The information of base station can comprise at least one item in following item: location area code (Location Area Code, LAC), cell code (Cell Identity, CID), base station signal strength (Base Station Signal Strength, BSSS).
The system function that the information of the information of the base station that will obtain and the described base station that will obtain is corresponding can be determined; According to described system function, the information of the base station that will obtain described in obtaining.
Such as, when the information that obtain is LAC and CID, can make to obtain LAC and CID with the following method in android system:
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"/>
TelephonyManager mTelephonyManager
=(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
// return value MCC+MNC
String operator=mTelephonyManager.getNetworkOperator();
int mcc=Integer.parseInt(operator.substring(0,3));
int mnc=Integer.parseInt(operator.substring(3));
// China Mobile and CHINAUNICOM obtain the mode of LAC, CID
GsmCellLocation location = (GsmCellLocation)
mTelephonyManager.getCellLocation();
int lac=location.getLac();
int cellId=location.getCid();
Log.i(TAG,"MCC="+mcc+"\t MNC="+mnc+"\t LAC="+lac+"\t CID="
+cellId);
S12: determine particular value from the information of described base station.
Can add up the information of described base station, according to statistics, determine characteristic value.
Concrete, the described information to described base station is added up, and according to statistics, determines characteristic value, comprising:
The information of corresponding each base station, calculates the variance yields of the information of described base station and the information of other base stations;
According to described variance yields, determine particular value.
Wherein, describedly determine particular value according to described variance yields, comprising:
According to order from small to large, select the described variance yields of predetermined number;
By the information of the variance yields respective base station of described selection, be defined as particular value.
Described predetermined number is one or at least two.
The information of the base station that usual operator disposes at a place is approximately continuous, mobile country code (Mobile Country Code, and mobile network code (Mobile Network Code MCC), MNC) operator can be identified, wherein, the MCC of China is 460, and the MNC of China Mobile is 0, the MNC of CHINAUNICOM is 1, and the MNC of China Telecom is 2.If the average that same operator (MCC MNC) searches CID/LAC and peripheral base station differs greatly, then can think pseudo-base station.
Such as, the information of the base station of a mobile phone acquisition is as shown in table 1:
Table 1
Wherein, the information of the current base station be connected with mobile phone is: LAC=10db, CID=f72b, the corresponding CID=f3c3 of adjacent one of them base station LAC=10de, and the LAC of neighbouring base station is generally continuous print, and the base station of identical LAC, CID is also generally continuous print.Such as LAC has 10db 10de wherein, and LAC=10de has f3c3 f3c4 628b 628c.Wherein have the base station that very special, its LAC=0, CID=ffff, this base station may be pseudo-base station.
See table 2, conventional computational methods can be: to each in all LAC numerals, calculate the variance of other numerals respectively, and wherein minimum one or several are then pseudo-base station.
Table 2
Base station | LAC | Calculate | Value |
10dbf72b | 10db=4315 | Variance (10de, 10de, 10de, 10de, 0,10db) | 2588882.139 |
10def3c3 | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
10de628c | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
10def3c4 | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
10de628b | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
0ffff | 0=0 | Variance (10db, 10de, 10de, 10de, 10de, 10db) | 2 |
10dba495 | 10db=4315 | Variance (10db, 10de, 10de, 10de, 10de, 0) | 2588882.139 |
Through above-mentioned calculating, can determine that the variance that 0ffff is corresponding is minimum, therefore can determine that it is particular value.
S13: by base station corresponding for described particular value, is defined as pseudo-base station.
Such as, in these cases, base station corresponding for 0ffff is defined as pseudo-base station.
The present embodiment, by the information of base stations detected, therefrom finds particular value, and base station corresponding for particular value is defined as pseudo-base station, can realize the identification of pseudo-base station.
Fig. 2 is the schematic flow sheet of the method for the pseudo-base station of identification that another embodiment of the present invention proposes, and the method comprises:
S21: the information obtaining the base station that can detect.
Wherein, according to the difference of the information that will obtain, corresponding system function can be adopted to obtain the information of base station.
S22: determine particular value from the information of this base station.
Statistical computation can be carried out, such as, variance between calculating between two, to determine particular value to the information of the base station obtained.
S23: by base station corresponding for described particular value, is defined as pseudo-base station.
Due to the information normally continuous print of the base station of same operator deployment, the base station that therefore this particular value is corresponding after there is particular value can be defined as being pseudo-base station.
Be understandable that, the particular content of above-mentioned S21-S23 see S11-S13, can not repeat them here.
S24: judge whether described pseudo-base station is the current base station be connected with mobile device, if so, performs S25, otherwise perform S26.
Wherein, can the information of pseudo-base station that goes out of matching identification and the information of the current base station be connected, judge whether the base station of current connection is pseudo-base station.
Such as, see table 1, mobile phone can detect the information of the base station of current connection, as LAC=10db, CID=f72b, in addition, the information of adjacent base station can also be detected, as 10def3C311 etc., be whether the information of the base station of current connection by comparison particular value, current whether connection with pseudo-base station can be judged.Such as, under the scene shown in table 1, because particular value is 0ffff, it is the information of adjacent base station, is not the base station of the current connection of mobile phone.
Certainly, if detect that the information of the base station of current connection is 0ffff, the Shi Wei base station, base station of current connection so can be judged.
S25: to user's display reminding information, described information is used for showing that current and pseudo-base station is connected.
Wherein, following any one or various ways display reminding information can be adopted:
In the application, to user's display reminding information; Or,
In the mode of notifications, to user's display reminding information; Or,
In the mode of short message, to user's display reminding information.
Such as, after mobile phone being installed the software for identifying pseudo-base station, when this software detection goes out the Shi Wei base station, base station of current connection, can in this software display reminding information.Or this software triggering system can produce notification message, display reminding information; Or this software is bound with cell-phone number in advance, send note, display reminding information by the cell-phone number to binding.
S26: display adjacent base station exists the information of pseudo-base station.
Such as can adopt above-mentioned this information of display in the application, or, in notifications message, show this information, or with this information of short message displays etc.
In addition, be understandable that, whether the base station that usual user only pays close attention to current connection is pseudo-base station, therefore, if during the Bu Shiwei base station, base station of current connection, also can not show the information that this adjacent base station exists pseudo-base station.
In addition, the specifying information of pseudo-base station can also be shown when showing, such as, show LAC and/or CID etc. of pseudo-base station.
The present embodiment, by the information of base stations detected, therefrom finds particular value, and base station corresponding for particular value is defined as pseudo-base station, can realize the identification of pseudo-base station.The present embodiment does not need operator to use the information such as professional equipment and base station deployment record, and implementation is easy, and cost is low.The present embodiment, by showing information, can facilitate user to know the information of pseudo-base station.
Fig. 3 is the structural representation of the device of the pseudo-base station of identification that another embodiment of the present invention proposes, and this device 30 comprises acquisition module 31, determination module 32 and identification module 33.
Acquisition module 31 is for obtaining the information of the base station that can detect;
In an embodiment, described acquisition module 31 specifically for:
Obtain the information of the base station be connected with mobile device, and the information of the adjacent base station of the described base station be connected with mobile device.
Optionally, the information of described base station comprises at least one item in following item:
LAC,CID,BSSS。
In an embodiment, described acquisition module 31 specifically for:
Determine the system function that the information of the information of the base station that will obtain and the described base station that will obtain is corresponding;
According to described system function, the information of the base station that will obtain described in obtaining.
Such as, when the information that obtain is LAC and CID, can make to obtain LAC and CID with the following method in android system:
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"/>
TelephonyManager mTelephonyManager
=(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
// return value MCC+MNC
String operator=mTelephonyManager.getNetworkOperator();
int mcc=Integer.parseInt(operator.substring(0,3));
int mnc=Integer.parseInt(operator.substring(3));
// China Mobile and CHINAUNICOM obtain the mode of LAC, CID
GsmCellLocation location = (GsmCellLocation)
mTelephonyManager.getCellLocation();
int lac=location.getLac();
int cellId=location.getCid();
Log.i(TAG,"MCC="+mcc+"\t MNC="+mnc+"\t LAC="+lac+"\t CID="
+cellId);
Determination module 32 is for determining particular value in the information from described base station;
In an embodiment, described determination module 32 specifically for:
The information of described base station is added up, according to statistics, determines characteristic value.
Optionally, see Fig. 4, described determination module 32 comprises:
First module 321, for the information of each base station of correspondence, calculates the variance yields of the information of described base station and the information of other base stations;
Second unit 322, for according to described variance yields, determines particular value.
In an embodiment, described second unit 322 specifically for:
According to order from small to large, select the described variance yields of predetermined number;
By the information of the variance yields respective base station of described selection, be defined as particular value.
Optionally, described predetermined number is one or at least two.
The information of the base station that usual operator disposes at a place is approximately continuous, mobile country code (Mobile Country Code, and mobile network code (Mobile Network Code MCC), MNC) operator can be identified, wherein, the MCC of China is 460, and the MNC of China Mobile is 0, the MNC of CHINAUNICOM is 1, and the MNC of China Telecom is 2.If the average that same operator (MCC MNC) searches CID/LAC and peripheral base station differs greatly, then can think pseudo-base station.
Such as, the information of the base station of a mobile phone acquisition is as shown in table 1:
Table 1
Wherein, the information of the current base station be connected with mobile phone is: LAC=10db, CID=f72b, the corresponding CID=f3c3 of adjacent one of them base station LAC=10de, and the LAC of neighbouring base station is generally continuous print, and the base station of identical LAC, CID is also generally continuous print.Such as LAC has 10db 10de wherein, and LAC=10de has f3c3 f3c4 628b 628c.Wherein have the base station that very special, its LAC=0, CID=ffff, this base station may be pseudo-base station.
See table 2, conventional computational methods can be: to each in all LAC numerals, calculate the variance of other numerals respectively, and wherein minimum one or several are then pseudo-base station.
Table 2
Base station | LAC | Calculate | Value |
10dbf72b | 10db=4315 | Variance (10de, 10de, 10de, 10de, 0,10db) | 2588882.139 |
10def3c3 | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
10de628c | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
10def3c4 | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
10de628b | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
0ffff | 0=0 | Variance (10db, 10de, 10de, 10de, 10de, 10db) | 2 |
10dba495 | 10db=4315 | Variance (10db, 10de, 10de, 10de, 10de, 0) | 2588882.139 |
Through above-mentioned calculating, can determine that the variance that 0ffff is corresponding is minimum, therefore can determine that it is particular value.
Identification module 33, for by base station corresponding for described particular value, is defined as pseudo-base station.
Such as, in these cases, base station corresponding for 0ffff is defined as pseudo-base station.
The present embodiment, by the information of base stations detected, therefrom finds particular value, and base station corresponding for particular value is defined as pseudo-base station, can realize the identification of pseudo-base station.
In another embodiment, see Fig. 4, this device 30 also comprises: judge module 34 and display module 35.
Judge module 34 is for judging whether described pseudo-base station is the current base station be connected with mobile device;
Wherein, can the information of pseudo-base station that goes out of matching identification and the information of the current base station be connected, judge whether the base station of current connection is pseudo-base station.
Such as, see table 1, mobile phone can detect the information of the base station of current connection, as LAC=10db, CID=f72b, in addition, the information of adjacent base station can also be detected, as 10def3C311 etc., be whether the information of the base station of current connection by comparison particular value, current whether connection with pseudo-base station can be judged.Such as, under the scene shown in table 1, because particular value is 0ffff, it is the information of adjacent base station, is not the base station of the current connection of mobile phone.
Certainly, if detect that the information of the base station of current connection is 0ffff, the Shi Wei base station, base station of current connection so can be judged.
When display module 35 is for judging that described pseudo-base station is the current base station be connected with mobile device at described judge module, to user's display reminding information, described information is used for showing that current and pseudo-base station is connected.
Optionally, described display module 35 specifically for:
In the application, to user's display reminding information; Or,
In the mode of notifications, to user's display reminding information; Or,
In the mode of short message, to user's display reminding information.
Such as, after mobile phone being installed the software for identifying pseudo-base station, when this software detection goes out the Shi Wei base station, base station of current connection, can in this software display reminding information.Or this software triggering system can produce notification message, display reminding information; Or this software is bound with cell-phone number in advance, send note, display reminding information by the cell-phone number to binding.
On the other hand, display module 35 can also when judge module 34 judges that pseudo-base station is not the base station of current connection, and display adjacent base station exists the information of pseudo-base station.
Such as can adopt above-mentioned this information of display in the application, or, in notifications message, show this information, or with this information of short message displays etc.
In addition, be understandable that, whether the base station that usual user only pays close attention to current connection is pseudo-base station, therefore, if during the Bu Shiwei base station, base station of current connection, also can not show the information that this adjacent base station exists pseudo-base station.
In addition, the specifying information of pseudo-base station can also be shown when showing, such as, show LAC and/or CID etc. of pseudo-base station.
The present embodiment, by the information of base stations detected, therefrom finds particular value, and base station corresponding for particular value is defined as pseudo-base station, can realize the identification of pseudo-base station.The present embodiment implementation is easy, and cost is low.The present embodiment, by showing information, can facilitate user to know the information of pseudo-base station.
The embodiment of the present invention additionally provides a kind of mobile device, and this mobile device comprises housing, processor, memory, circuit board and power circuit, and wherein, circuit board is placed in the interior volume that housing surrounds, and processor and memory are arranged on circuit boards; Power circuit, for powering for each circuit of mobile device or device; Memory is used for stores executable programs code; Processor runs the program corresponding with executable program code by reading the executable program code stored in memory, for execution following steps:
S11 ': the information obtaining the base station that can detect.
Wherein, the executive agent of the present embodiment refers to mobile device, such as, be mobile phone.
The base station that can detect can comprise: the base station be connected with mobile device, and, the adjacent base station of the base station be connected with mobile device.
The information of base station can comprise at least one item in following item: location area code (Location Area Code, LAC), cell code (Cell Identity, CID), base station signal strength (Base Station Signal Strength, BSSS)
The system function that the information of the information of the base station that will obtain and the described base station that will obtain is corresponding can be determined; According to described system function, the information of the base station that will obtain described in obtaining.
Such as, when the information that obtain is LAC and CID, can make to obtain LAC and CID with the following method in android system:
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"/>
TelephonyManager mTelephonyManager
=(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
// return value MCC+MNC
String operator=mTelephonyManager.getNetworkOperator();
int mcc=Integer.parseInt(operator.substring(0,3));
int mnc=Integer.parseInt(operator.substring(3));
// China Mobile and CHINAUNICOM obtain the mode of LAC, CID
GsmCellLocation location = (GsmCellLocation)
mTelephonyManager.getCellLocation();
int lac=location.getLac();
int cellId=location.getCid();
Log.i(TAG,"MCC="+mcc+"\t MNC="+mnc+"\t LAC="+lac+"\t CID="
+cellId);
S12 ': determine particular value from the information of described base station.
Can add up the information of described base station, according to statistics, determine characteristic value.
Concrete, the described information to described base station is added up, and according to statistics, determines characteristic value, comprising:
The information of corresponding each base station, calculates the variance yields of the information of described base station and the information of other base stations;
According to described variance yields, determine particular value.
Wherein, describedly determine particular value according to described variance yields, comprising:
According to order from small to large, select the described variance yields of predetermined number;
By the information of the variance yields respective base station of described selection, be defined as particular value.
Described predetermined number is one or at least two.
The information of the base station that usual operator disposes at a place is approximately continuous, mobile country code (Mobile Country Code, and mobile network code (Mobile Network Code MCC), MNC) operator can be identified, wherein, the MCC of China is 460, and the MNC of China Mobile is 0, the MNC of CHINAUNICOM is 1, and the MNC of China Telecom is 2.If the average that same operator (MCC MNC) searches CID/LAC and peripheral base station differs greatly, then can think pseudo-base station.
Such as, the information of the base station of a mobile phone acquisition is as shown in table 1:
Table 1
Wherein, the information of the current base station be connected with mobile phone is: LAC=10db, CID=f72b, the corresponding CID=f3c3 of adjacent one of them base station LAC=10de, and the LAC of neighbouring base station is generally continuous print, and the base station of identical LAC, CID is also generally continuous print.Such as LAC has 10db 10de wherein, and LAC=10de has f3c3 f3c4 628b 628c.Wherein have the base station that very special, its LAC=0, CID=ffff, this base station may be pseudo-base station.
See table 2, conventional computational methods can be: to each in all LAC numerals, calculate the variance of other numerals respectively, and wherein minimum one or several are then pseudo-base station.
Table 2
Base station | LAC | Calculate | Value |
10dbf72b | 10db=4315 | Variance (10de, 10de, 10de, 10de, 0,10db) | 2588882.139 |
10def3c3 | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
10de628c | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
10def3c4 | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
10de628b | 10de=4318 | Variance (10db, 10de, 10de, 10de, 0,10db) | 2588163.222 |
0ffff | 0=0 | Variance (10db, 10de, 10de, 10de, 10de, 10db) | 2 |
10dba495 | 10db=4315 | Variance (10db, 10de, 10de, 10de, 10de, 0) | 2588882.139 |
Through above-mentioned calculating, can determine that the variance that 0ffff is corresponding is minimum, therefore can determine that it is particular value.
S13 ': by base station corresponding for described particular value, is defined as pseudo-base station.
Such as, in these cases, base station corresponding for 0ffff is defined as pseudo-base station.
The present embodiment, by the information of base stations detected, therefrom finds particular value, and base station corresponding for particular value is defined as pseudo-base station, can realize the identification of pseudo-base station.
In another embodiment, processor runs the program corresponding with executable program code by reading the executable program code stored in memory, for execution following steps:
S21 ': the information obtaining the base station that can detect.
Wherein, according to the difference of the information that will obtain, corresponding system function can be adopted to obtain the information of base station.
S22 ': determine particular value from the information of this base station.
Statistical computation can be carried out, such as, variance between calculating between two, to determine particular value to the information of the base station obtained.
S23 ': by base station corresponding for described particular value, is defined as pseudo-base station.
Due to the information normally continuous print of the base station of same operator deployment, the base station that therefore this particular value is corresponding after there is particular value can be defined as being pseudo-base station.
Be understandable that, the particular content of above-mentioned S21 '-S23 ' see S11 '-S13 ', can not repeat them here.
S24 ': judge whether described pseudo-base station is the current base station be connected with mobile device, if so, performs S25 ', otherwise perform S26 '.
Wherein, can the information of pseudo-base station that goes out of matching identification and the information of the current base station be connected, judge whether the base station of current connection is pseudo-base station.
Such as, see table 1, mobile phone can detect the information of the base station of current connection, as LAC=10db, CID=f72b, in addition, the information of adjacent base station can also be detected, as 10def3C311 etc., be whether the information of the base station of current connection by comparison particular value, current whether connection with pseudo-base station can be judged.Such as, under the scene shown in table 1, because particular value is 0ffff, it is the information of adjacent base station, is not the base station of the current connection of mobile phone.
Certainly, if detect that the information of the base station of current connection is 0ffff, the Shi Wei base station, base station of current connection so can be judged.
S25 ': to user's display reminding information, described information is used for showing that current and pseudo-base station is connected.
Wherein, following any one or various ways display reminding information can be adopted:
In the application, to user's display reminding information; Or, in the mode of notifications, to user's display reminding information; Or, in the mode of short message, to user's display reminding information.
Such as, after mobile phone being installed the software for identifying pseudo-base station, when this software detection goes out the Shi Wei base station, base station of current connection, can in this software display reminding information.Or this software triggering system can produce notification message, display reminding information; Or this software is bound with cell-phone number in advance, send note, display reminding information by the cell-phone number to binding.
S26 ': display adjacent base station exists the information of pseudo-base station.
Such as can adopt above-mentioned this information of display in the application, or, in notifications message, show this information, or with this information of short message displays etc.
In addition, be understandable that, whether the base station that usual user only pays close attention to current connection is pseudo-base station, therefore, if during the Bu Shiwei base station, base station of current connection, also can not show the information that this adjacent base station exists pseudo-base station.
In addition, the specifying information of pseudo-base station can also be shown when showing, such as, show LAC and/or CID etc. of pseudo-base station.
The present embodiment, by the information of base stations detected, therefrom finds particular value, and base station corresponding for particular value is defined as pseudo-base station, can realize the identification of pseudo-base station.The present embodiment implementation is easy, and cost is low.The present embodiment, by showing information, can facilitate user to know the information of pseudo-base station.
It should be noted that, in describing the invention, term " first ", " second " etc. only for describing object, and can not be interpreted as instruction or hint relative importance.In addition, in describing the invention, except as otherwise noted, the implication of " multiple " is two or more.
Describe and can be understood in flow chart or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
In the description of this specification, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, revises, replace and modification.
Claims (20)
1. identify a method for pseudo-base station, it is characterized in that, comprising:
The information of the base station that acquisition can detect;
Particular value is determined from the information of described base station;
By base station corresponding for described particular value, be defined as pseudo-base station.
2. method according to claim 1, is characterized in that, the information of the base station that described acquisition can detect, comprising:
Obtain the information of the base station be connected with mobile device, and the information of the adjacent base station of the described base station be connected with mobile device.
3. method according to claim 1, is characterized in that, describedly from the information of described base station, determines particular value, comprising:
The information of described base station is added up, according to statistics, determines characteristic value.
4. method according to claim 3, is characterized in that, the described information to described base station is added up, and according to statistics, determines characteristic value, comprising:
The information of corresponding each base station, calculates the variance yields of the information of described base station and the information of other base stations;
According to described variance yields, determine particular value.
5. method according to claim 4, is characterized in that, describedly determines particular value according to described variance yields, comprising:
According to order from small to large, select the described variance yields of predetermined number;
By the information of the variance yields respective base station of described selection, be defined as particular value.
6. method according to claim 5, is characterized in that, described predetermined number is one or at least two.
7. method according to claim 1, is characterized in that, the information of the base station that described acquisition can detect, comprising:
Determine the system function that the information of the information of the base station that will obtain and the described base station that will obtain is corresponding;
According to described system function, the information of the base station that will obtain described in obtaining.
8. method according to claim 1, is characterized in that, the information of described base station comprises at least one item in following item:
LAC,CID,BSSS。
9. the method according to any one of claim 1-8, is characterized in that, also comprises:
Judge whether described pseudo-base station is the current base station be connected with mobile device;
If so, to user's display reminding information, described information is used for showing that current and pseudo-base station is connected.
10. method according to claim 9, is characterized in that, described to user's display reminding information, comprising:
In the application, to user's display reminding information; Or,
In the mode of notifications, to user's display reminding information; Or,
In the mode of short message, to user's display reminding information.
11. 1 kinds of devices identifying pseudo-base station, is characterized in that, comprising:
Acquisition module, for obtaining the information of the base station that can detect;
Determination module, for determining particular value in the information from described base station;
Identification module, for by base station corresponding for described particular value, is defined as pseudo-base station.
12. devices according to claim 11, is characterized in that, described acquisition module specifically for:
Obtain the information of the base station be connected with mobile device, and the information of the adjacent base station of the described base station be connected with mobile device.
13. devices according to claim 11, is characterized in that, described determination module specifically for:
The information of described base station is added up, according to statistics, determines characteristic value.
14. devices according to claim 13, is characterized in that, described determination module comprises:
First module, for the information of each base station of correspondence, calculates the variance yields of the information of described base station and the information of other base stations;
Second unit, for according to described variance yields, determines particular value.
15. devices according to claim 14, is characterized in that, described second unit specifically for:
According to order from small to large, select the described variance yields of predetermined number;
By the information of the variance yields respective base station of described selection, be defined as particular value.
16. devices according to claim 15, is characterized in that, described predetermined number is one or at least two.
17. devices according to claim 11, is characterized in that, described acquisition module specifically for:
Determine the system function that the information of the information of the base station that will obtain and the described base station that will obtain is corresponding;
According to described system function, the information of the base station that will obtain described in obtaining.
18. devices according to claim 11, is characterized in that, the information of described base station comprises at least one item in following item:
LAC,CID,BSSS。
19. devices according to any one of claim 11-18, is characterized in that, also comprise:
Judge module, for judging whether described pseudo-base station is the current base station be connected with mobile device;
Display module, during for judging that described pseudo-base station is the current base station be connected with mobile device at described judge module, to user's display reminding information, described information is used for showing that current and pseudo-base station is connected.
20. devices according to claim 19, is characterized in that, described display module specifically for:
In the application, to user's display reminding information; Or,
In the mode of notifications, to user's display reminding information; Or,
In the mode of short message, to user's display reminding information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410521518.XA CN104244252B (en) | 2014-09-30 | 2014-09-30 | Method and device for identifying pseudo base station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410521518.XA CN104244252B (en) | 2014-09-30 | 2014-09-30 | Method and device for identifying pseudo base station |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104244252A true CN104244252A (en) | 2014-12-24 |
CN104244252B CN104244252B (en) | 2018-06-01 |
Family
ID=52231425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410521518.XA Active CN104244252B (en) | 2014-09-30 | 2014-09-30 | Method and device for identifying pseudo base station |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104244252B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105992214A (en) * | 2015-02-25 | 2016-10-05 | 中兴通讯股份有限公司 | Method and apparatus for identifying pseudo base station |
CN106102069A (en) * | 2016-05-26 | 2016-11-09 | 努比亚技术有限公司 | A kind of base station sorting technique and electronic equipment |
CN106304083A (en) * | 2016-08-05 | 2017-01-04 | 努比亚技术有限公司 | A kind of method and apparatus determining pseudo-base station |
CN106998554A (en) * | 2016-01-25 | 2017-08-01 | 中兴通讯股份有限公司 | A kind of recognition methods of pseudo-base station and device |
WO2018018795A1 (en) * | 2016-07-26 | 2018-02-01 | 中兴通讯股份有限公司 | Method, apparatus and system for identifying pseudo base station, and storage medium |
WO2020113477A1 (en) * | 2018-12-05 | 2020-06-11 | 深圳市欢太科技有限公司 | Pseudo base station recognition method and apparatus, and electronic device and computer-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103619030A (en) * | 2013-12-09 | 2014-03-05 | 南京施玛泰众信息技术有限公司 | Method and device for detecting simulation base station |
CN103648096A (en) * | 2013-12-11 | 2014-03-19 | 北京联合大学 | Method for rapidly detecting and positioning illegal base station intrusion |
CN103888965A (en) * | 2014-02-21 | 2014-06-25 | 工业和信息化部电信传输研究所 | Pseudo base station positioning method |
CN103906116A (en) * | 2014-03-12 | 2014-07-02 | 上海风格信息技术股份有限公司 | Method for judging and verifying pseudo base stations |
CN104053156A (en) * | 2014-04-28 | 2014-09-17 | 中国石油大学(华东) | Automatic pseudo base station recognizing method and system |
-
2014
- 2014-09-30 CN CN201410521518.XA patent/CN104244252B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103619030A (en) * | 2013-12-09 | 2014-03-05 | 南京施玛泰众信息技术有限公司 | Method and device for detecting simulation base station |
CN103648096A (en) * | 2013-12-11 | 2014-03-19 | 北京联合大学 | Method for rapidly detecting and positioning illegal base station intrusion |
CN103888965A (en) * | 2014-02-21 | 2014-06-25 | 工业和信息化部电信传输研究所 | Pseudo base station positioning method |
CN103906116A (en) * | 2014-03-12 | 2014-07-02 | 上海风格信息技术股份有限公司 | Method for judging and verifying pseudo base stations |
CN104053156A (en) * | 2014-04-28 | 2014-09-17 | 中国石油大学(华东) | Automatic pseudo base station recognizing method and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105992214A (en) * | 2015-02-25 | 2016-10-05 | 中兴通讯股份有限公司 | Method and apparatus for identifying pseudo base station |
CN106998554A (en) * | 2016-01-25 | 2017-08-01 | 中兴通讯股份有限公司 | A kind of recognition methods of pseudo-base station and device |
WO2017128762A1 (en) * | 2016-01-25 | 2017-08-03 | 中兴通讯股份有限公司 | Method and apparatus for identifying rogue base station |
CN106998554B (en) * | 2016-01-25 | 2020-08-07 | 南京中兴新软件有限责任公司 | Pseudo base station identification method and device |
CN106102069A (en) * | 2016-05-26 | 2016-11-09 | 努比亚技术有限公司 | A kind of base station sorting technique and electronic equipment |
CN106102069B (en) * | 2016-05-26 | 2019-09-06 | 努比亚技术有限公司 | A kind of base station classification method and electronic equipment |
WO2018018795A1 (en) * | 2016-07-26 | 2018-02-01 | 中兴通讯股份有限公司 | Method, apparatus and system for identifying pseudo base station, and storage medium |
CN106304083A (en) * | 2016-08-05 | 2017-01-04 | 努比亚技术有限公司 | A kind of method and apparatus determining pseudo-base station |
WO2020113477A1 (en) * | 2018-12-05 | 2020-06-11 | 深圳市欢太科技有限公司 | Pseudo base station recognition method and apparatus, and electronic device and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104244252B (en) | 2018-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104270760B (en) | Method and device for identifying pseudo base station | |
CN104244252A (en) | Method and device for identifying pseudo base station | |
CN104301894A (en) | Information processing method and electronic device | |
CN103619030A (en) | Method and device for detecting simulation base station | |
KR102072095B1 (en) | Identity authentication methods, devices, and systems | |
CN104346569B (en) | Method and device for identifying malicious advertisements in mobile terminal and mobile terminal | |
CN104244289A (en) | Method and device for identifying pseudo base station | |
CN109564598B (en) | Terminal detection method and terminal | |
US9223640B2 (en) | Strategy based event notification chain | |
US20140179360A1 (en) | Short message service validation engine | |
CN105263142A (en) | Method and device for identifying pseudo base station | |
CN105025490A (en) | Method and device for identifying pseudo base station | |
CN110313147B (en) | Data processing method, device and system | |
KR20150020319A (en) | Systems and methods for content delivery and management | |
CN106792653B (en) | Communication number information processing method, device and system | |
CN101790149A (en) | Registration method of mobile terminal equipment, calibration item verifying method, system and device | |
CN104955051A (en) | Method, device and sensor for identifying phishing WIFI (wireless fidelity) | |
CN108416212A (en) | Method for identifying application program and device | |
CN103678096B (en) | The adaptation method of testing and device of client application | |
CN105262904A (en) | Information prompting method and user terminal | |
CN105426761A (en) | Identification method for illegal application and mobile terminal | |
WO2014190738A1 (en) | System and method for locating a mobile device | |
US20190297157A1 (en) | Method and system for obtaining user's visit information, device and computer storage medium | |
US8539579B2 (en) | Detecting spam short messages based on sending characteristics | |
CN101540949B (en) | Method for prompting user of current roaming position, system, mobile terminal and intelligent card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |