CN110012435B - Pseudo base station positioning method, terminal and computer readable storage medium - Google Patents

Pseudo base station positioning method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110012435B
CN110012435B CN201810014757.4A CN201810014757A CN110012435B CN 110012435 B CN110012435 B CN 110012435B CN 201810014757 A CN201810014757 A CN 201810014757A CN 110012435 B CN110012435 B CN 110012435B
Authority
CN
China
Prior art keywords
base station
pseudo base
terminal
information
network side
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810014757.4A
Other languages
Chinese (zh)
Other versions
CN110012435A (en
Inventor
杨海城
刘立婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201810014757.4A priority Critical patent/CN110012435B/en
Priority to KR1020207017709A priority patent/KR102284297B1/en
Priority to JP2020532984A priority patent/JP7027675B2/en
Priority to PCT/CN2018/124843 priority patent/WO2019134589A1/en
Publication of CN110012435A publication Critical patent/CN110012435A/en
Application granted granted Critical
Publication of CN110012435B publication Critical patent/CN110012435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/12Detection or prevention of fraud
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a pseudo base station positioning method, a terminal and a computer readable storage medium, wherein the pseudo base station positioning method comprises the following steps: when a rejection message fed back by the network side equipment based on the current position updating request is received, detecting whether the network side equipment is a pseudo base station; if the network side equipment is a pseudo base station, monitoring a target cell corresponding to the network side equipment to acquire monitoring information; and acquiring the position information of the network side equipment according to the monitoring information. According to the invention, a pseudo base station can be found and positioned on the premise of low labor cost and low hardware cost by using a terminal without expensive professional positioning equipment and additional auxiliary means.

Description

Pseudo base station positioning method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of wireless communication, and in particular, to a pseudo base station positioning method, a terminal, and a computer-readable storage medium.
Background
The pseudo base station is illegal radio communication equipment which does not obtain network access permission of the telecommunication equipment and type approval of radio transmitting equipment, mainly comprises a host and a notebook computer, is disguised as a neighboring area of the mobile base station, adopts high-power radio signal transmission, and causes a mobile phone user to easily reselect the cell in the area. The pseudo base station can search the mobile phone card information which is centered on the pseudo base station and within a certain radius range, and can forcibly send short messages such as fraud, advertising promotion and the like to the mobile phone of the user by arbitrarily falsifying the mobile phone numbers of other people.
The short message sending by the pseudo base station is one of the main means of novel telecommunication network fraud, and the harm of the short message sending by the pseudo base station causes social attention.
At present, in order to trace a pseudo base station, the conventional method includes: firstly, the public security organization combines the local operator and the radio management department, searches for the pseudo base station by monitoring peripheral abnormal signals, and then uses expensive professional positioning equipment to position the pseudo base station, so that the labor cost and the hardware cost are high. And secondly, based on big data and cloud computing, the cloud server collects a large amount of user number data to analyze the big data. However, the mobility of the pseudo base station is too strong, the method can only detect the activity rule of the pseudo base station, and cannot dynamically position the position of the pseudo base station in real time.
Disclosure of Invention
The present invention mainly aims to provide a pseudo base station positioning method, a terminal and a computer readable storage medium, which aim to solve the technical problems in the prior art.
In order to achieve the above object, the present invention provides a pseudo base station positioning method, applied to a terminal, the pseudo base station positioning method including:
when a rejection message fed back by the network side equipment based on the current position updating request is received, detecting whether the network side equipment is a pseudo base station;
if the network side equipment is a pseudo base station, monitoring a target cell corresponding to the network side equipment to acquire monitoring information;
and acquiring the position information of the network side equipment according to the monitoring information.
Optionally, the obtaining the location information of the network side device according to the monitoring information includes:
and acquiring the current position information of the terminal, and generating a tracking track according to the current position information of the terminal and the position information of the network side equipment.
Optionally, after generating the tracking trajectory, the method includes:
and updating the cell information of the target cell in real time on a terminal display interface.
Optionally, the detecting whether the network side device is a pseudo base station includes:
detecting whether the frequency of receiving the rejection message is greater than a preset threshold value;
and if the times are greater than a preset threshold value, determining that the network side equipment is a pseudo base station.
Optionally, after detecting whether the number of times of receiving the rejection message is greater than a preset threshold, the method includes:
if the times are smaller than a preset threshold value, detecting whether the historical position updating request sent by the terminal last time is accepted;
if the historical position updating request sent by the terminal last time is accepted, acquiring first system information triggering the current position updating request and acquiring second system information triggering the historical position updating request;
detecting whether the first system information and the second system information only have the difference of a location area code LAC or a tracking area code TAC;
and if the first system information and the second system information only have the difference of the location area code LAC or the tracking area code TAC, judging that the network side equipment is the pseudo base station.
Optionally, monitoring a target cell corresponding to the network side device, and acquiring monitoring information includes:
acquiring a network type of the target cell;
and adjusting the original network mode of the terminal to the network standard, monitoring the target cell and acquiring monitoring information.
Optionally, the adjusting the original network mode of the terminal to the network type includes:
and when receiving an exit monitoring instruction, restoring the network mode of the terminal to the original network mode.
Optionally, the obtaining the location information of the network side device according to the monitoring information includes:
acquiring monitoring information corresponding to a preset time period every other preset time period;
acquiring a plurality of terminal position information contained in the partial monitoring information;
and acquiring the position information of the network side equipment according to the position information of the plurality of terminals and preset constraint conditions.
In addition, to achieve the above object, the present invention also provides a terminal, including: a memory, a processor and a pseudo base station positioning program stored on the memory and executable on the processor, the pseudo base station positioning program when executed by the processor implementing the steps of the pseudo base station positioning method as described above.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a pseudo base station positioning program, which when executed by a processor, implements the steps of the pseudo base station positioning method as described above.
In the invention, after a terminal sends a position updating request to a network side device and receives rejection information fed back by the network side device, whether the network side device is a pseudo base station is detected, if the network side device is detected to be the pseudo base station, a target cell corresponding to the network side device is monitored to obtain monitoring information, and then the position of the network side device is obtained according to the monitoring information. According to the invention, a pseudo base station can be found and positioned on the premise of low labor cost and low hardware cost by using a terminal without expensive professional positioning equipment and additional auxiliary means.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a pseudo base station positioning method according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating an embodiment of detecting whether a network side device is a pseudo base station;
fig. 4 is a functional block diagram of a terminal according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a pseudo base station positioning program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke the pseudo base station locator stored in the memory 1005 and perform the following operations:
when a rejection message fed back by the network side equipment based on the current position updating request is received, detecting whether the network side equipment is a pseudo base station;
if the network side equipment is a pseudo base station, monitoring a target cell corresponding to the network side equipment to acquire monitoring information;
and acquiring the position information of the network side equipment according to the monitoring information.
Further, the processor 1001 may call the pseudo base station locator stored in the memory 1005, and also perform the following operations:
and acquiring the current position information of the terminal, and generating a tracking track according to the current position information of the terminal and the position information of the network side equipment.
Further, the processor 1001 may call the pseudo base station locator stored in the memory 1005, and also perform the following operations:
and updating the cell information of the target cell in real time on a terminal display interface.
Further, the detecting whether the network side device is a pseudo base station includes:
detecting whether the frequency of receiving the rejection message is greater than a preset threshold value;
and if the times are greater than a preset threshold value, determining that the network side equipment is a pseudo base station.
Further, the detecting whether the number of times of receiving the rejection message is greater than a preset threshold includes:
if the times are smaller than a preset threshold value, detecting whether the historical position updating request sent by the terminal last time is accepted;
if the historical position updating request sent by the terminal last time is accepted, acquiring first system information triggering the current position updating request and acquiring second system information triggering the historical position updating request;
detecting whether the first system information and the second system information only have the difference of a location area code LAC or a tracking area code TAC;
and if the first system information and the second system information only have the difference of the location area code LAC or the tracking area code TAC, judging that the network side equipment is the pseudo base station.
Further, monitoring a target cell corresponding to the network side device, and acquiring monitoring information includes:
acquiring a network type of the target cell;
and adjusting the original network mode of the terminal to the network standard, monitoring the target cell and acquiring monitoring information.
Further, the adjusting the original network mode of the terminal to the network type includes:
and when receiving an exit monitoring instruction, restoring the network mode of the terminal to the original network mode.
Further, the obtaining the location information of the network side device according to the monitoring information includes:
acquiring partial monitoring information corresponding to a preset time period every other preset time period;
acquiring a plurality of terminal position information contained in the partial monitoring information;
and acquiring the position information of the network side equipment according to the position information of the plurality of terminals and preset constraint conditions.
Referring to fig. 2, fig. 2 is a flowchart illustrating a pseudo base station positioning method according to a first embodiment of the present invention.
In one embodiment, the pseudo base station positioning method comprises the following steps:
step S10, when receiving the rejection message fed back by the network side device based on the current position updating request, detecting whether the network side device is a pseudo base station;
step S20, if the network side equipment is a pseudo base station, monitoring a target cell corresponding to the network side equipment to obtain monitoring information;
and step S30, acquiring the position information of the network side equipment according to the monitoring information.
The working principle of the pseudo base station is as follows:
first, the pseudo base station sets the same MCC and MNC as the normal base station, but sets LAC/TAC different from the normal base station. And after receiving the broadcast message of the pseudo base station, the terminal mistakenly considers to enter a new location area and triggers a location updating request. After receiving the location update request, the pseudo base station issues an identification request message to obtain the TMSI (TMSI: temporary Mobile subscriber identity, which is a temporary "representative" of IMSI) of the terminal, which is allocated to the user by the VLR in order to avoid the transfer of IMSI over the air interface as much as possible due to the security of IMSI, IMSI is allocated to the user by the VLR, IMSI (international Mobile subscriber identity, which is an identifier for identifying a Mobile subscriber, IMSI is globally unique (of course, an illegal manufacturer may create a SIM card with the same IMSI), which is generally used when the network access and the TMSI update fail), IMEI (international Mobile Equipment identity), which is an abbreviation for an international Mobile Equipment identity, which is an "electronic serial number" consisting of 15 digits and is one-to-one corresponding to each Mobile phone, and which is globally unique, each Mobile phone is assigned a globally unique set of numbers after the Mobile phone is assembled, this number is recorded by the manufacturer of the manufacturing product from production to delivery) and the like, and then returns a location update acceptance message to the terminal to confirm that the location update is successful.
Then, the pseudo base station judges whether the short message is sent to the user or not through the IMSI. For the user who has not sent the short message, the pseudo base station can send the short message with any content and any calling number.
And finally, after the pseudo base station finishes the purpose, the pseudo base station disconnects the connection with the user by using a position updating mechanism. In the process, the pseudo base station sends a new LAC/TAC in the system information to trigger the terminal to send the position updating request again, and then the pseudo base station rejects the request, so that the connection with the terminal is disconnected.
Based on the working principle of the pseudo base station, in this embodiment, when a rejection message corresponding to the current location update request and fed back by the network side device is received, it is detected whether the network side device is the pseudo base station. The terminal receives the system message broadcast by the network side equipment, triggers the position updating request, and detects whether the network side equipment is a pseudo base station or not when receiving a rejection message corresponding to the current position updating request and fed back by the network side equipment.
In this embodiment, as shown in fig. 3, fig. 3 is a flowchart illustrating an embodiment of detecting whether a network side device is a pseudo base station. In an embodiment, the detecting whether the network side device is a pseudo base station includes:
step S101, when a rejection message corresponding to the current position updating request fed back by the network side equipment is received, cell information of a cell corresponding to the network side equipment is obtained;
step S102, detecting whether the rejected times of the terminal on the cell are greater than a preset threshold value, if so, judging that the network side equipment is a pseudo base station, otherwise, performing the next step; in this embodiment, the preset threshold may be set manually, for example, to 5, that is, the number of times that the terminal is rejected in the cell is greater than 5 times, and then the network side device is directly determined to be the pseudo base station.
Step S103, detecting whether the last position updating request of the terminal is accepted, if so, performing the next step, and if not, judging that the network side equipment is not a pseudo base station; in this embodiment, if the current location update request is rejected and the last location update request is accepted, this situation conforms to the working principle of the pseudo base station, so that it is considered that the network side device is more likely to be a pseudo base station, and the next determination is performed.
And step S104, detecting whether the system messages corresponding to the terminal position updating request triggered twice only have the LAC/TAC difference, if so, judging that the network side equipment is a pseudo base station, otherwise, judging that the network side equipment is not the pseudo base station. In this embodiment, according to the working principle of the pseudo base station, the pseudo base station broadcasts the system message for the first time in order to induce the terminal to access the working cell of the pseudo base station, and after the pseudo base station completes its purpose, the pseudo base station broadcasts the system message for the second time in order to remove the terminal from the working cell of the pseudo base station, that is, to disconnect the terminal, and the first broadcast message and the second broadcast message only have a difference of LAC/TAC. If the current location updating request is rejected, the last location updating request is accepted, and only LAC/TAC differences exist in system messages corresponding to the two location updating requests, which completely conforms to the working principle of the pseudo base station, so that the network side equipment is directly judged to be the pseudo base station.
In this embodiment, when it is detected that the network side device is a pseudo base station, the pseudo base station is monitored, that is, a target cell corresponding to the network side device is monitored, and monitoring information is acquired.
In this embodiment, the network type of the pseudo base station cell (i.e., the target cell) is first obtained, and then the network mode of the terminal is changed to the network type. For example, if the network mode of the pseudo base station cell is a GSM cell, the network mode of the terminal is modified to GSM Only, so as to prevent the terminal from having cell reselection to access to networks of other modes, and ensure the monitoring process. In this embodiment, the monitoring information includes time, cell information, and a terminal location, where the cell information includes but is not limited to: ARFCN (Absolute Radio Frequency Channel Number-ARFCN), which is a numbering scheme used to identify a specific Radio Frequency Channel in a GSM Radio system, RSSI (Received Signal Strength Indication), an optional part of a Radio transmission layer used to determine link quality and whether to increase broadcast transmission Strength), PCI (Physical Cell Identifier), CI (Cell Identity), BSIC (base station Identity), CID (Cell Number, CELL IDENTITY), TAC/LAC (location area code/tracking area code), and the like. As shown in table 1, table 1 is a schematic table of an embodiment of monitoring information.
TABLE 1
Time Cell information Terminal position
T1 C1 P1
T2 C2 P2
T3 C3 P3
T4 C4 P4
Tn Cn Pn
In this embodiment, after the monitoring information is obtained, the location information of the network side device may be obtained according to the monitoring information. For example, every preset time period, a part of monitoring information corresponding to the time period is acquired. For example, every 30 minutes, the partial monitoring information corresponding to the 30 minutes is acquired. As shown in table 2, table 2 is an exemplary table of an embodiment of partial monitoring information.
TABLE 2
Time Cell information Terminal position
T1 C1 P1
T2 C2 P2
T3 C3 P3
T30 C30 P30
If the cell information and the terminal position are obtained and recorded every 5S (the time can be adjusted according to actual needs) in the monitoring process, 360 groups of corresponding relations between the cell information and the terminal position can be obtained within 30 minutes. And sequencing 360 groups of cell information according to the sequence of the RSSI from high to low in the cell information, wherein each cell information corresponds to a position point. The more advanced cell information is ranked, the closer the terminal position corresponding to the cell information is to the pseudo base station. And all terminal positions are within the pseudo base station signal coverage. Because of the signal coverage of the current pseudo base station is generally between 500 meters and 1000 meters. Therefore, the position of the pseudo base station needs to be calculated according to the constraint conditions:
constraint 1: a plurality of position points corresponding to a plurality of terminal position information contained in the partial monitoring information fall into a circle with a radius of a preset radius value;
in the monitoring information, each terminal position information corresponds to a cell information, the cell information comprises RSSI information, namely each position point corresponds to an RSSI information, the position points are arranged according to the sequence from RSSI from large to small, the position points ranked at the front preset proportion are obtained, and the position points ranked at the rear preset proportion are obtained;
constraint 2: the average distance from the circle center to the position point ranked at the front preset proportion is less than the average distance from the circle center to the position point ranked at the rear preset proportion.
And when the constraint conditions 1 and 2 are met, the circle center is the position of the pseudo base station.
In one embodiment, the position of the pseudo base station is calculated according to the following two constraints:
constraint 1: the 90% (the value can be adjusted according to actual need) position point falls into the circle with the pseudo base station as the center and the radius of 800 meters (the value can be adjusted according to actual need);
constraint 2: the average distance from the pseudo base station to the position points 20% before the ranking is less than the average distance from the pseudo base station to the position points 20% after the ranking.
In this embodiment, after the terminal sends the location update request to the network side device, when receiving rejection information fed back by the network side device, it detects whether the network side device is a pseudo base station, and if it detects that the network side device is a pseudo base station, monitors a target cell corresponding to the network side device to obtain monitoring information, and then obtains the location of the network side device according to the monitoring information. Through the embodiment, the pseudo base station can be found without a high-price professional positioning device, only the terminal is used, no additional auxiliary means is needed, and the pseudo base station can be positioned on the premise of low labor cost and low hardware cost.
Further, in an embodiment of the pseudo base station positioning method of the present invention, after step S30, the method includes:
and acquiring the current position information of the terminal, and generating a tracking track according to the current position information of the terminal and the position information of the network side equipment.
In this embodiment, after the location information of the network side device is obtained, the current location information of the terminal is obtained, and the tracking track is generated according to the current location information of the terminal and the location information of the network side device. In this embodiment, map software may be preset in the terminal, and when the acquired location information of the network-side device is imported into the map software, the map software generates a tracking track according to the current location information of the terminal and the location information of the network-side device, and displays the tracking track on a terminal screen to guide a user to go to the location of the network-side device.
In an optional embodiment of the present invention, after the tracking track is generated, the user may continue to perform the monitoring on the pseudo base station in the process of moving along the tracking track in the steps S20 to S30, so as to continuously update the tracking track according to new monitoring information.
In this embodiment, after the position information of the pseudo base station is obtained, a tracking track to the pseudo base station is further obtained according to the current position information of the user and the position information of the pseudo base station, and the track is displayed on the terminal, so that the user can go to the position of the pseudo base station according to the guidance of the tracking track, and monitoring, positioning and tracking of the pseudo base station are realized.
Further, generating the tracking trajectory includes:
and updating the cell information of the target cell in real time on a terminal display interface.
In this embodiment, the cell information of the target cell, that is, the cell information of the pseudo base station cell, displayed on the terminal interface includes, but is not limited to: ARFCN (Absolute Radio Frequency Channel Number-ARFCN), which is a numbering scheme used to identify a specific Radio Frequency Channel in a GSM Radio system, RSSI (Received Signal Strength Indication), an optional part of a Radio transmission layer used to determine link quality and whether to increase broadcast transmission Strength), PCI (Physical Cell Identifier), CI (Cell Identity), BSIC (base station Identity), CID (Cell Number, CELL IDENTITY), TAC/LAC (location area code/tracking area code), and the like. And displaying and updating the cell information of the target cell in real time on the terminal so that the user can judge whether the user is more and more far away from or more and more near the pseudo base station according to the change of the RSSI. For example, if the RSSI is smaller and smaller, it indicates that the pseudo base station is farther and farther from the terminal, and if the RSSI is larger and larger, it indicates that the pseudo base station is closer and closer to the terminal, and when the RSSI is larger than a certain value and does not change greatly any more, it indicates that the pseudo base station is near the terminal, and at this time, the holder of the terminal can search the pseudo base station according to the life experience.
In this embodiment, the cell information of the target cell is updated in real time on the terminal display interface, so that the user can know the relative change between the position of the user and the position of the pseudo base station according to the change of the cell information, and the search work of the pseudo base station is facilitated.
Further, in an embodiment of the pseudo base station positioning method of the present invention, detecting whether the network side device is a pseudo base station includes:
detecting whether the frequency of receiving the rejection message is greater than a preset threshold value;
and if the times are greater than a preset threshold value, determining that the network side equipment is a pseudo base station.
In this embodiment, the preset threshold may be set manually, for example, to 5, that is, the number of times that the terminal is rejected in the cell is greater than 5 times, and then the network side device is directly determined to be the pseudo base station.
In this embodiment, according to the characteristics of the pseudo base station, if the terminal is rejected for multiple times in a cell, it is directly determined that the network side device corresponding to the cell is the pseudo base station, so as to perform subsequent monitoring and tracking.
Further, in an embodiment of the pseudo base station positioning method of the present invention, after detecting whether the number of times of receiving the rejection message is greater than a preset threshold, the method includes:
if the times are smaller than a preset threshold value, detecting whether the historical position updating request sent by the terminal last time is accepted;
if the historical position updating request sent by the terminal last time is accepted, acquiring first system information triggering the current position updating request and acquiring second system information triggering the historical position updating request;
detecting whether the first system information and the second system information only have the difference of a location area code LAC or a tracking area code TAC;
and if the first system information and the second system information only have the difference of the location area code LAC or the tracking area code TAC, judging that the network side equipment is the pseudo base station.
In this embodiment, if the current location update request is rejected and the last location update request is accepted, this situation conforms to the working principle of the pseudo base station, so that it is considered that the network side device is more likely to be a pseudo base station, and the next determination is performed.
According to the working principle of the pseudo base station, the pseudo base station broadcasts the system message for the first time in order to induce the terminal to access the working cell of the pseudo base station, the pseudo base station broadcasts the system message for the second time after finishing the purpose of the pseudo base station, the terminal is removed from the working cell of the pseudo base station, namely, the connection with the terminal is disconnected, and the first broadcast message and the second broadcast message only have the difference of LAC/TAC. If the current location updating request is rejected, the last location updating request is accepted, and the system messages corresponding to the two location updating requests only have the difference of the location area code LAC or the tracking area code TAC, which completely conforms to the working principle of the pseudo base station, so that the network side equipment is directly judged to be the pseudo base station.
In this embodiment, according to the working principle of the pseudo base station, if the location update request currently sent by the terminal is rejected, the historical location update request sent by the terminal last time is accepted, and the system messages corresponding to the two location update requests only have the difference between the location area code LAC or the tracking area code TAC, it is directly determined that the network-side device corresponding to the cell is the pseudo base station, so as to perform subsequent monitoring and tracking.
Further, in an embodiment of the pseudo base station positioning method of the present invention, monitoring a target cell corresponding to a network side device, and acquiring monitoring information includes:
acquiring a network type of the target cell;
and adjusting the original network mode of the terminal to the network standard, monitoring the target cell and acquiring monitoring information.
In this embodiment, the network type of the pseudo base station cell (i.e., the target cell) is first obtained, and then the network mode of the terminal is changed to the network type. For example, if the network mode of the pseudo base station cell is a GSM cell, the network mode of the terminal is modified to GSM Only, so as to prevent the terminal from having cell reselection to access to networks of other modes, and ensure the monitoring process.
Further, in an embodiment of the pseudo base station positioning method of the present invention, adjusting an original network mode of a terminal to the network type includes:
and when receiving an exit monitoring instruction, restoring the network mode of the terminal to the original network mode.
In this embodiment, when the exit monitoring instruction is received, the network mode of the terminal is restored to the original network mode, that is, when the terminal is not required to be used to monitor the pseudo base station cell, the network mode of the terminal is restored to the original network mode, and cell selection is performed in the original network mode.
Further, in an embodiment of the pseudo base station positioning method of the present invention, step S30 includes:
acquiring partial monitoring information corresponding to a preset time period every other preset time period;
acquiring a plurality of terminal position information contained in the partial monitoring information;
and acquiring the position information of the network side equipment according to the position information of the plurality of terminals and preset constraint conditions.
In this embodiment, after the monitoring information is obtained, the location information of the network side device may be obtained according to the monitoring information. For example, every preset time period, a part of monitoring information corresponding to the time period is acquired. For example, every 30 minutes, the partial monitoring information corresponding to the 30 minutes is acquired. As shown in table 2, table 2 is an exemplary table of an embodiment of partial monitoring information.
TABLE 2
Time Cell information Terminal position
T1 C1 P1
T2 C2 P2
T3 C3 P3
T30 C30 P30
If the cell information and the terminal position are obtained and recorded every 5S (the time can be adjusted according to actual needs) in the monitoring process, 360 groups of corresponding relations between the cell information and the terminal position can be obtained within 30 minutes. And sequencing 360 groups of cell information according to the sequence of the RSSI from high to low in the cell information, wherein each cell information corresponds to a position point. The more advanced cell information is ranked, the closer the terminal position corresponding to the cell information is to the pseudo base station. And all terminal positions are within the pseudo base station signal coverage. Because of the signal coverage of the current pseudo base station is generally between 500 meters and 1000 meters.
Therefore, the position of the pseudo base station needs to be calculated according to the constraint conditions:
constraint 1: a plurality of position points corresponding to a plurality of terminal position information contained in the partial monitoring information fall into a circle with a radius of a preset radius value;
in the monitoring information, each terminal position information corresponds to a cell information, the cell information comprises RSSI information, namely each position point corresponds to an RSSI information, the position points are arranged according to the sequence from RSSI from large to small, the position points ranked at the front preset proportion are obtained, and the position points ranked at the rear preset proportion are obtained;
constraint 2: the average distance from the circle center to the position point ranked at the front preset proportion is less than the average distance from the circle center to the position point ranked at the rear preset proportion.
And when the constraint conditions 1 and 2 are met, the circle center is the position of the pseudo base station.
In one embodiment, the position of the pseudo base station is calculated according to the following two constraints:
constraint 1: the 90% (the value can be adjusted according to actual need) position point falls into the circle with the pseudo base station as the center and the radius of 800 meters (the value can be adjusted according to actual need);
constraint 2: the average distance from the pseudo base station to the position points 20% before the ranking is less than the average distance from the pseudo base station to the position points 20% after the ranking.
In this embodiment, after the terminal sends the location update request to the network side device, when receiving rejection information fed back by the network side device, it detects whether the network side device is a pseudo base station, and if it detects that the network side device is a pseudo base station, monitors a target cell corresponding to the network side device to obtain monitoring information, and then obtains the location of the network side device according to the monitoring information. Through the embodiment, the pseudo base station can be found without a high-price professional positioning device, only the terminal is used, no additional auxiliary means is needed, and the pseudo base station can be positioned on the premise of low labor cost and low hardware cost.
Referring to fig. 4, fig. 4 is a functional module diagram of a terminal according to a first embodiment of the present invention.
In one embodiment, a terminal includes:
the detection module 10 is configured to detect whether the network-side device is a pseudo base station when receiving a rejection message fed back by the network-side device based on the current location update request;
the monitoring module 20 is configured to monitor a target cell corresponding to the network-side device to obtain monitoring information if the network-side device is a pseudo base station;
and an obtaining module 30, configured to obtain location information of the network side device according to the monitoring information.
In one embodiment, the terminal further includes:
and the generating module is used for acquiring the current position information of the terminal and generating a tracking track according to the current position information of the terminal and the position information of the network side equipment.
In one embodiment, the terminal further includes:
and the updating module is used for updating the cell information of the target cell in real time on a terminal display interface.
In one embodiment, the detection module 10 includes:
the first detection unit is used for detecting whether the frequency of receiving the rejection message is greater than a preset threshold value or not;
and the first judging unit is used for judging that the network side equipment is a pseudo base station if the times are greater than a preset threshold value.
In one embodiment, the detection module 10 further comprises:
the second detection unit is used for detecting whether the historical position updating request sent by the terminal last time is accepted or not if the times are smaller than a preset threshold value;
the system information acquisition unit is used for acquiring first system information triggering a current position updating request and acquiring second system information triggering a historical position updating request if the historical position updating request sent by the terminal last time is accepted;
a third detecting unit, configured to detect whether there is only a difference between the location area code LAC or the tracking area code TAC between the first system information and the second system information;
and the second judging unit is used for judging that the network side equipment is a pseudo base station if the first system information and the second system information only have the difference of the location area code LAC or the tracking area code TAC.
In one embodiment, the monitoring module 20 includes:
a network type obtaining unit, configured to obtain identity information of the target cell, and obtain a network type of the target cell according to the identity information;
and the monitoring unit is used for adjusting the original network mode of the terminal to the network standard, monitoring the target cell and acquiring monitoring information.
In one embodiment, the monitoring module 20 further comprises:
and the recovery unit is used for recovering the network mode of the terminal to the original network mode when receiving the exit monitoring instruction.
In one embodiment, the obtaining module 30 includes:
the first acquisition unit is used for acquiring partial monitoring information corresponding to a preset time period every other preset time period;
the second acquisition unit is used for acquiring a plurality of pieces of terminal position information contained in the part of monitoring information;
and the third acquisition unit is used for acquiring the position information of the network side equipment according to the position information of the plurality of terminals and preset constraint conditions.
The specific embodiment of the terminal of the present invention is basically the same as the embodiments of the pseudo base station positioning method, and is not described herein again.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a pseudo base station positioning program is stored on the computer-readable storage medium, and the pseudo base station positioning program, when executed by a processor, implements the steps of the pseudo base station positioning method described above.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the pseudo base station positioning method described above, and details thereof are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A pseudo base station positioning method is applied to a terminal, and comprises the following steps:
when a rejection message fed back by the network side equipment based on the current position updating request is received, detecting whether the network side equipment is a pseudo base station;
if the network side equipment is a pseudo base station, monitoring a target cell corresponding to the network side equipment to acquire monitoring information;
according to the monitoring information, acquiring the position information of the network side equipment, including: acquiring partial monitoring information corresponding to a preset time period every other preset time period; acquiring a plurality of pieces of terminal position information contained in the part of monitoring information, wherein each piece of terminal position information corresponds to cell information which contains RSSI (received signal strength indicator) information; arranging the position points corresponding to the plurality of terminal position information according to the sequence of the RSSI from large to small, and acquiring the position points ranked at the front preset proportion and the position points ranked at the rear preset proportion; and if the position points corresponding to the terminal position information fall into a circle with a radius of a preset radius value, and the average distance from the center of the circle to the position point with the rank in the front preset proportion is smaller than the average distance from the center of the circle to the position point with the rank in the rear preset proportion, the center of the circle is the position of the network side equipment.
2. The pseudo base station positioning method according to claim 1, wherein the obtaining the location information of the network side device according to the monitoring information comprises:
and acquiring the current position information of the terminal, and generating a tracking track according to the current position information of the terminal and the position information of the network side equipment.
3. The pseudo base station positioning method of claim 2, wherein the generating a trace track comprises, after:
and updating the cell information of the target cell in real time on a terminal display interface.
4. The pseudo base station positioning method according to claim 1, wherein the detecting whether the network side device is a pseudo base station comprises:
detecting whether the frequency of receiving the rejection message is greater than a preset threshold value;
and if the times are greater than a preset threshold value, determining that the network side equipment is a pseudo base station.
5. The pseudo base station positioning method according to claim 4, wherein said detecting whether the number of times the rejection message is received is greater than a preset threshold comprises:
if the times are smaller than a preset threshold value, detecting whether the historical position updating request sent by the terminal last time is accepted;
if the historical position updating request sent by the terminal last time is accepted, acquiring first system information triggering the current position updating request and acquiring second system information triggering the historical position updating request;
detecting whether the first system information and the second system information only have the difference of a location area code LAC or a tracking area code TAC;
and if the first system information and the second system information only have the difference of the location area code LAC or the tracking area code TAC, judging that the network side equipment is the pseudo base station.
6. The pseudo base station positioning method according to claim 1, wherein monitoring the target cell corresponding to the network side device, and acquiring the monitoring information comprises:
acquiring the identity information of the target cell, and acquiring the network type of the target cell according to the identity information;
and adjusting the original network mode of the terminal to the network standard, monitoring the target cell and acquiring monitoring information.
7. The pseudo base station positioning method according to claim 6, wherein the adjusting the original network mode of the terminal to the network type comprises:
and when receiving an exit monitoring instruction, restoring the network mode of the terminal to the original network mode.
8. A terminal, characterized in that the terminal comprises: memory, a processor and a pseudo base station positioning program stored on the memory and executable on the processor, the pseudo base station positioning program when executed by the processor implementing the steps of the pseudo base station positioning method according to any of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a pseudo base station positioning program which, when executed by a processor, implements the steps of the pseudo base station positioning method according to any one of claims 1 to 7.
CN201810014757.4A 2018-01-04 2018-01-04 Pseudo base station positioning method, terminal and computer readable storage medium Active CN110012435B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201810014757.4A CN110012435B (en) 2018-01-04 2018-01-04 Pseudo base station positioning method, terminal and computer readable storage medium
KR1020207017709A KR102284297B1 (en) 2018-01-04 2018-12-28 Pseudo base station positioning method, terminal and computer readable storage medium
JP2020532984A JP7027675B2 (en) 2018-01-04 2018-12-28 Pseudo base station positioning method, terminal and computer readable storage medium
PCT/CN2018/124843 WO2019134589A1 (en) 2018-01-04 2018-12-28 Pseudo base station positioning method, terminal, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810014757.4A CN110012435B (en) 2018-01-04 2018-01-04 Pseudo base station positioning method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110012435A CN110012435A (en) 2019-07-12
CN110012435B true CN110012435B (en) 2021-06-25

Family

ID=67143833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810014757.4A Active CN110012435B (en) 2018-01-04 2018-01-04 Pseudo base station positioning method, terminal and computer readable storage medium

Country Status (4)

Country Link
JP (1) JP7027675B2 (en)
KR (1) KR102284297B1 (en)
CN (1) CN110012435B (en)
WO (1) WO2019134589A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110312305B (en) * 2018-03-27 2021-12-31 华为技术有限公司 Method and device for determining position of terminal device
CN111278003B (en) * 2020-01-21 2023-02-24 青岛海信移动通信技术股份有限公司 Position updating processing method and mobile terminal
CN113407569A (en) * 2021-06-29 2021-09-17 北京小米移动软件有限公司 Information processing method, device and storage medium
CN115734226A (en) * 2021-08-31 2023-03-03 华为技术有限公司 Method and device for reselecting cell

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244408A (en) * 2014-09-30 2014-12-24 北京金山安全软件有限公司 Method and device for obtaining base station position information
CN105050092A (en) * 2015-08-21 2015-11-11 广西英伦信息技术股份有限公司 Method for locating false base station
CN105873068A (en) * 2016-06-17 2016-08-17 珠海市魅族科技有限公司 Pseudo base station identification method and device
CN105992239A (en) * 2015-02-04 2016-10-05 中国移动通信集团辽宁有限公司 Method, apparatus and equipment of real-time location of pseudo base station
CN105992337A (en) * 2015-02-03 2016-10-05 中国移动通信集团湖北有限公司 Pseudo base station positioning method and apparatus
CN106851651A (en) * 2016-12-12 2017-06-13 西安汇龙科技股份有限公司 Pseudo-base station identifying system and data analysis system
CN107071779A (en) * 2017-04-13 2017-08-18 广东欧珀移动通信有限公司 Pseudo-base station recognition methods, device and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366484B (en) 2013-06-07 2017-02-22 杭州思创汇联科技有限公司 Position monitoring method for electronic carrier tag system
CN104581730A (en) * 2014-12-25 2015-04-29 中国科学院信息工程研究所 Method and system for distinguishing pseudo base station in real time
CN106455049B (en) 2016-09-18 2020-03-03 北京小米移动软件有限公司 Positioning method and device based on wireless local area network
CN106546952A (en) 2016-11-01 2017-03-29 安徽爱依特科技有限公司 A kind of location algorithm of automatic charging stake
CN107148002A (en) 2017-05-27 2017-09-08 柳州天艺科技有限公司 Primary user's localization method of RSSI based on cluster

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244408A (en) * 2014-09-30 2014-12-24 北京金山安全软件有限公司 Method and device for obtaining base station position information
CN105992337A (en) * 2015-02-03 2016-10-05 中国移动通信集团湖北有限公司 Pseudo base station positioning method and apparatus
CN105992239A (en) * 2015-02-04 2016-10-05 中国移动通信集团辽宁有限公司 Method, apparatus and equipment of real-time location of pseudo base station
CN105050092A (en) * 2015-08-21 2015-11-11 广西英伦信息技术股份有限公司 Method for locating false base station
CN105873068A (en) * 2016-06-17 2016-08-17 珠海市魅族科技有限公司 Pseudo base station identification method and device
CN106851651A (en) * 2016-12-12 2017-06-13 西安汇龙科技股份有限公司 Pseudo-base station identifying system and data analysis system
CN107071779A (en) * 2017-04-13 2017-08-18 广东欧珀移动通信有限公司 Pseudo-base station recognition methods, device and terminal

Also Published As

Publication number Publication date
JP2021507600A (en) 2021-02-22
WO2019134589A1 (en) 2019-07-11
JP7027675B2 (en) 2022-03-02
KR102284297B1 (en) 2021-08-03
KR20200088437A (en) 2020-07-22
CN110012435A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110012435B (en) Pseudo base station positioning method, terminal and computer readable storage medium
US8013746B2 (en) Method of providing alarm service upon movement out of safety zone
CN103997757B (en) Pseudo-base station localization method, equipment and information uploading method, equipment
JP5871928B2 (en) Method and apparatus for analyzing user traffic within a given area
US9538330B2 (en) System and method for selecting a Wi-Fi access point for position determination
CN105451232A (en) Pseudo base station detection method and system, terminal and server
CN105263142A (en) Method and device for identifying pseudo base station
US10638270B2 (en) Location-based wireless tracking
CN109275090B (en) Information processing method, device, terminal and storage medium
CN111436088B (en) Cell reselection method, base station, user terminal and storage medium
CN110121183B (en) Information processing method and device and computer readable storage medium
CN105873068A (en) Pseudo base station identification method and device
US8874128B2 (en) Method and system for detecting a location of a mobile communication terminal
US11995170B2 (en) Computerized system and method for associating RF signals
CN106961710B (en) Network access method and terminal
KR20150025208A (en) Method for connecting network and an electronic device thereof
CN106375593B (en) Method and device for determining positioning mode
CN113645625B (en) Pseudo base station positioning method, pseudo base station positioning device, electronic equipment and readable medium
CN106792710A (en) The method and device of pseudo-base station is recognized based on user terminal location
CN105530684A (en) Method, device and system for network access
CN104901995B (en) A kind of methods, devices and systems pushing exhibition information
EP3467547B1 (en) Service provision device, service provision method, and program recording medium
CN112703755B (en) Pseudo base station processing method, pseudo base station processing device, mobile terminal and storage medium
CN107071778A (en) Pseudo-base station recognition methods and data analysing method
CN108199886B (en) Network fault detection method and device and computer readable storage medium

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