Method, device, electronic device and readable storage medium for positioning pseudo base station
By acquiring cell-level network load data and signaling monitoring of mobile networks, screening and clustering the positioning of pseudo-base stations, the problems of passivity and lag of pseudo-base station positioning in the existing technology are solved, and fast and accurate pseudo-base station positioning and Prevention and control of illegal activities.
Patent Information
- Application Number
- CN202110399726.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-14
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-04-14
AI Technical Summary
The existing pseudo-base station positioning method is relatively passive, relies on user complaints, and the reaction is lagging, so it is impossible to quickly locate and curb illegal activities.
By obtaining cell-level network load data of mobile networks, using recursive algorithms and signaling monitoring, the target cells with abnormal data are screened out, and clustering positioning is carried out based on the user's international mobile user identification code and minimized road test technical data. Base station.
It realizes active investigation of pseudo-base stations, quickly and accurately determines the location of pseudo-base stations, reduces the workload and time of manual search, and improves the efficiency of prevention and control of illegal activities.
Smart Images

Figure CN113194474B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device, electronic device and readable storage medium for locating a pseudo base station. Background Art
[0002] A fake base station is a mobile phone gateway. Through communication embedded software, a fake base station accesses a mobile phone card (SIM card) of the GSM, CDMA, WCDNA, and LTE frequency bands, and uses its wireless gateway cat pool (ModemPOOL) to realize the telephone relay function, supporting multiple users to dial up at the same time. Among them, the UC2000-32T LTE enhanced version can support up to 128 SIM cards. Criminals can use fake base stations to realize multiple users dialing up at the same time, and then carry out illegal activities.
[0003] The existing method of locating fake base stations is to organize user complaints and analyze and confirm fake base stations. This method is relatively passive, has a delayed response to problems, and cannot quickly locate fake base stations to curb illegal activities. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, device, electronic device and readable storage medium for locating a pseudo base station, so as to at least solve the problem of difficulty in locating existing pseudo base stations.
[0005] The technical solution of this application is as follows:
[0006] According to a first aspect of an embodiment of the present application, a method for locating a pseudo base station is provided, and the method may include:
[0007] Obtain cell-level network load data in mobile networks;
[0008] Filter the cell-level network load data to obtain target cells with abnormal data;
[0009] Monitor signaling in the target cell and locate fake base stations.
[0010] Furthermore, the target cells with abnormal data are obtained by screening the cell-level network load data, which may include:
[0011] The recursive algorithm is used to perform abnormal analysis on the cell-level network load data, and cells with abnormal network load changes are screened from the cell-level network load data to obtain target cells with abnormal data.
[0012] Furthermore, the target cells with abnormal data are obtained by screening the cell-level network load data, which may include:
[0013] Selecting the first cell where network congestion occurs from the cell-level network load data;
[0014] Calculate the duration of network congestion in each cell in the first cell, and select second cells in which network congestion duration exceeds a preset duration from the first cells to obtain target cells with abnormal data;
[0015] Furthermore, signaling monitoring of the target cell and locating the fake base station may include:
[0016] Perform signaling monitoring on the target cell to obtain signaling information of users in the target cell;
[0017] Locate the location information of the user in the target cell according to the signaling information;
[0018] Filter target users whose number exceeds a preset number and whose moving speed is lower than a preset threshold within a preset range from the location information;
[0019] The locations of target users are clustered to obtain the locations of pseudo base stations.
[0020] Further, locating the location information of the user in the target cell according to the signaling information may include:
[0021] Extract the user's international mobile subscriber identity code from the signaling information;
[0022] Extract the user's location information based on the International Mobile Subscriber Identity code.
[0023] Further, extracting the user's location information according to the international mobile subscriber identity code may include:
[0024] Extracting the user's Minimization of Drive Test Technology data based on the International Mobile Subscriber Identity Code;
[0025] When the user has the minimization of drive test technology data, the user's location information is parsed according to the minimization of drive test technology data.
[0026] Further, extracting the user's location information according to the international mobile subscriber identity code may include:
[0027] When there is no minimization of drive test technology data for the user, extracting the user's measurement report data according to the international mobile user identity code;
[0028] Determine the user's location information based on the measurement report data.
[0029] According to a second aspect of an embodiment of the present application, a positioning device for a pseudo base station is provided, and the device may include:
[0030] An acquisition module, used to acquire cell-level network load data in a mobile network;
[0031] A screening module is used to screen the cell-level network load data to obtain target cells with abnormal data;
[0032] The positioning module is used to monitor the signaling of the target cell and locate the pseudo base station.
[0033] Furthermore, the screening module may include:
[0034] The first screening unit is used to perform abnormal analysis on the cell-level network load data by using a recursive algorithm, screen cells with abnormal network load changes from the cell-level network load data, and obtain target cells with abnormal data.
[0035] Furthermore, the screening module may include:
[0036] A second screening unit is used to screen a first cell where network congestion occurs from the cell-level network load data;
[0037] A third screening unit is used to calculate the duration of network congestion in each cell in the first cells, and screen out second cells in which the network congestion duration exceeds a preset duration from the first cells to obtain a target cell with abnormal data;
[0038] Furthermore, the positioning module may include:
[0039] A signaling monitoring unit is used to monitor the signaling of the target cell and obtain the signaling information of the users in the target cell;
[0040] A positioning unit, used to locate the location information of the user in the target cell according to the signaling information;
[0041] A fourth screening unit, configured to screen target users whose number exceeds a preset number and whose moving speed is lower than a preset threshold within a preset range from the location information;
[0042] The clustering unit is used to cluster the locations of target users to obtain the locations of pseudo base stations.
[0043] Furthermore, the positioning unit may include:
[0044] An identification code extraction subunit, used to extract the international mobile user identity code of the user from the signaling information;
[0045] The positioning subunit is used to extract the user's location information based on the international mobile user identity code.
[0046] Furthermore, the positioning subunit may include:
[0047] A minimization of drive test technology data extraction subunit, used to extract the minimization of drive test technology data of the user according to the international mobile user identity code;
[0048] The positioning subunit is specifically used to parse the user's location information according to the minimization of drive test technology data when the user has the minimization of drive test technology data.
[0049] Furthermore, the positioning subunit is further specifically used to extract the measurement report data of the user according to the international mobile user identity code when there is no minimization of drive test technology data for the user;
[0050] Determine the user's location information based on the measurement report data.
[0051] According to a third aspect of an embodiment of the present application, an electronic device is provided, which may include:
[0052] processor;
[0053] a memory for storing processor-executable instructions;
[0054] The processor is configured to execute instructions to implement the positioning method of the pseudo base station as shown in any one of the embodiments of the first aspect.
[0055] According to the fourth aspect of the embodiments of the present application, a storage medium is provided. When the instructions in the storage medium are executed by a processor of an information processing device or a server, the information processing device or the server implements a positioning method for a pseudo base station as shown in any one of the embodiments of the first aspect.
[0056] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0057] The embodiments of the present application obtain cell-level network load data in the mobile network; screen out target cells with abnormal data in the cell-level network load data; and monitor the signaling of the target cells to determine the location of the fake base station. The positioning of the fake base station is no longer dependent on user complaint information, and active detection of fake base stations is achieved, so the location of the fake base station can be determined quickly and accurately.
[0058] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0060] Figure 1 is a schematic flow chart of a method for locating a pseudo base station according to an exemplary embodiment;
[0061] Figure 2 is a schematic structural diagram of a positioning device for a pseudo base station according to an exemplary embodiment;
[0062] Figure 3is a flow chart of a method for locating a pseudo base station according to a specific embodiment;
[0063] Figure 4 is a schematic diagram of a calculation model of abnormal congestion duration according to a specific embodiment;
[0064] Figure 5 is a pseudo base station positioning flow chart shown according to a specific embodiment;
[0065] Figure 6 is a schematic diagram of a sampling point moving speed calculation model according to a specific embodiment;
[0066] Figure 7 is a schematic diagram of a mobile user identification process according to a specific embodiment;
[0067] Figure 8 is a K-means clustering algorithm operation flow chart according to a specific embodiment;
[0068] Fig. 9 is a schematic diagram of the structure of an electronic device according to an exemplary embodiment;
[0069] Fig.10 It is a schematic diagram of the hardware structure of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0070] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0071] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0072] The existing method of locating fake base stations is mainly that after a user complains, the optimization personnel analyze and confirm the existence of fake base stations and conduct on-site frequency scanning to investigate. After receiving user complaints related to the network, the optimization personnel organize the complaint information that has emerged suddenly and is geographically concentrated. By troubleshooting common problems such as fault alarms and background noise and analyzing network performance indicators, it is finally determined that the user complaint is related to the fake base station. The front desk tester conducts traversal frequency scanning according to the area reflected in the complaint to find out its specific placement. After confirming the existence of a fake base station, on-site frequency scanning is required. The frequency scanning work traverses every street in the complaint area, which is a large workload, and there is no effective means to narrow the search range, which is time-consuming and labor-intensive. To this end, the present application proposes a method, device, electronic device and readable storage medium for locating a fake base station.
[0073] like Figure 1 As shown, in a first aspect of an embodiment of the present application, a method for locating a pseudo base station is provided, and the method may include:
[0074] Step 110: Obtain cell-level network load data in the mobile network;
[0075] Step 120: Filtering the cell-level network load data to obtain target cells with abnormal data;
[0076] Step 130: Monitor signaling of the target cell and locate the pseudo base station.
[0077] The method in the above embodiment determines the location of the fake base station. The positioning of the fake base station no longer relies on user complaint information, and active screening of fake base stations is achieved, so the location of the fake base station can be determined quickly and accurately.
[0078] The specific implementation of the above steps will be described in detail below.
[0079] First, step 110 is introduced to obtain cell-level network load data in the mobile network.
[0080] In this step, obtaining cell-level network load data is the smallest unit for quickly locating fake base stations. Compared with network load data of other magnitudes, positioning is more accurate and data screening is simpler.
[0081] Next, step 120 is introduced, in which the cell-level network load data is screened to obtain target cells with abnormal data.
[0082] The data in this step is abnormal and the target cell load has the following characteristics:
[0083] (1) Network congestion: A large number of fraudulent calls made at the same time will occupy a large amount of mobile network resources, causing network congestion. Suspicious cells can be found by screening load indicators;
[0084] (2) Duration: Fraudulent activities usually continue after they occur, and the duration can be calculated by calculating the network congestion time of the suspected cell;
[0085] (3) They appear and disappear quickly. Fraud using fake base stations is a planned and organized group fraud. The fraud activities have a unified start and end time, and load indicators have obvious sudden increases and drops.
[0086] Finally, step 130 is introduced, in which signaling monitoring is performed on the target cell to locate the pseudo base station.
[0087] In this step, by tracking the layer 3 signaling of all users in the affected cell, outputting the IMSI (International Mobile Subscriber Identity) of each user, extracting the MRO data (User Measurement Report Data) and MDT data (Minimized Drive Test Technology) of the corresponding IMSI, parsing the longitude and latitude information, importing all the longitude and latitude information into the K-means clustering algorithm, and locking the location of the GOIP pseudo base station. The GOIP pseudo base station has two characteristics in terms of geographical location: one is that the location remains unchanged; the other is that a large number of users are located in the same place.
[0088] In some optional embodiments of the present application, screening the cell-level network load data to obtain the target cell with abnormal data may include:
[0089] The recursive algorithm is used to perform abnormal analysis on the cell-level network load data, and cells with abnormal network load changes are screened from the cell-level network load data to obtain target cells with abnormal data.
[0090] In some optional embodiments of the present application, screening the cell-level network load data to obtain the target cell with abnormal data may include:
[0091] Selecting the first cell where network congestion occurs from the cell-level network load data;
[0092] Calculate the duration of network congestion in each cell in the first cell, and select second cells in which network congestion duration exceeds a preset duration from the first cells to obtain target cells with abnormal data;
[0093] In some optional embodiments of the present application, signaling monitoring of the target cell and locating the pseudo base station may include:
[0094] Perform signaling monitoring on the target cell to obtain signaling information of users in the target cell;
[0095] Locate the location information of the user in the target cell according to the signaling information;
[0096] Filter target users whose number exceeds a preset number and whose moving speed is lower than a preset threshold within a preset range from the location information;
[0097] The locations of target users are clustered to obtain the locations of pseudo base stations.
[0098] In some optional embodiments of the present application, locating the location information of the user in the target cell according to the signaling information may include:
[0099] Extract the user's international mobile subscriber identity code from the signaling information;
[0100] Extract the user's location information based on the International Mobile Subscriber Identity code.
[0101] In some optional embodiments of the present application, extracting the user's location information according to the international mobile user identity code may include:
[0102] Extracting the user's Minimization of Drive Test Technology data based on the International Mobile Subscriber Identity Code;
[0103] When the user has the minimization of drive test technology data, the user's location information is parsed according to the minimization of drive test technology data.
[0104] In some optional embodiments of the present application, extracting the user's location information according to the international mobile user identity code may include:
[0105] When there is no minimization of drive test technology data for the user, extracting the user's measurement report data according to the international mobile user identity code;
[0106] Determine the user's location information based on the measurement report data.
[0107] like Figure 2 As shown, in a second aspect of an embodiment of the present application, a positioning device for a pseudo base station is provided, and the device may include:
[0108] An acquisition module 210, configured to acquire cell-level network load data in a mobile network;
[0109] A screening module 220 is used to screen the cell-level network load data to obtain target cells with abnormal data;
[0110] The positioning module 230 is used to monitor the signaling of the target cell and locate the pseudo base station.
[0111] In some optional embodiments of the present application, the screening module may include:
[0112] The first screening unit is used to perform abnormal analysis on the cell-level network load data by using a recursive algorithm, screen cells with abnormal network load changes from the cell-level network load data, and obtain target cells with abnormal data.
[0113] In some optional embodiments of the present application, the screening module may include:
[0114] A second screening unit is used to screen a first cell where network congestion occurs from the cell-level network load data;
[0115] A third screening unit is used to calculate the duration of network congestion in each cell in the first cells, and screen out second cells in which the network congestion duration exceeds a preset duration from the first cells to obtain a target cell with abnormal data;
[0116] In some optional embodiments of the present application, the positioning module may include:
[0117] A signaling monitoring unit is used to monitor the signaling of the target cell and obtain the signaling information of the users in the target cell;
[0118] A positioning unit, used to locate the location information of the user in the target cell according to the signaling information;
[0119] A fourth screening unit, configured to screen target users whose number exceeds a preset number and whose moving speed is lower than a preset threshold within a preset range from the location information;
[0120] The clustering unit is used to cluster the locations of target users to obtain the locations of pseudo base stations.
[0121] In some optional embodiments of the present application, the positioning unit may include:
[0122] An identification code extraction subunit, used to extract the international mobile user identity code of the user from the signaling information;
[0123] The positioning subunit is used to extract the user's location information based on the international mobile user identity code.
[0124] In some optional embodiments of the present application, the positioning subunit may include:
[0125] A minimization of drive test technology data extraction subunit, used to extract the minimization of drive test technology data of the user according to the international mobile user identity code;
[0126] The positioning subunit is specifically used to parse the user's location information according to the minimization of drive test technology data when the user has the minimization of drive test technology data.
[0127] In some optional embodiments of the present application, the positioning subunit is further configured to extract the measurement report data of the user according to the international mobile user identity code when there is no minimization of drive test technology data for the user;
[0128] Determine the user's location information based on the measurement report data.
[0129] The positioning device of the pseudo base station in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0130] The positioning device of the pseudo base station in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0131] The positioning device of the pseudo base station provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0132] like Figure 3 As shown, in a specific embodiment of the present application, a method for locating a pseudo base station is provided, and the method may include:
[0133] Step 310, data collection;
[0134] Step 320, identifying the affected cell;
[0135] Step 330: The location of the pseudo base station is locked.
[0136] The above method collects cell-level load indicators in the mobile network, calculates them in sequence through a recursive algorithm, finds out the cells affected by the pseudo base stations, uses a signaling tracking tool to obtain the IMSI of each user, extracts the user's MRO data and MDT data, outputs the user's location information, sorts out the static users based on the changes in the longitude and latitude of the sampling points, and uses the K-means clustering algorithm to determine the location of the pseudo base station.
[0137] Step 310: Data collection
[0138] This step requires the use of three types of data, namely, load indicators of mobile networks, MRO data, and MDT data.
[0139] (1) Network load: refers to the amount of available transmission resources in the mobile network. Transmission resources consist of frequency and time and are used to carry data interaction between the network and users. When there are too many users, too many resources are occupied and the network load is heavy. On the contrary, the load is small and can be obtained through the OMC network management or unified portal platform.
[0140] (2) MRO data: A type of file generated by measurement reports, representing periodic measurement report sample data files. They mainly come from the physical layer and RLC layer of the terminal and base station, as well as measurement reports calculated during the radio resource management process. The measurement items involved include sample data such as signal strength and their sampling values, which can be obtained through the network optimization platform or network optimization big data platform.
[0141] (3) MDT data is an automated road test technology introduced by 3GPP in the LTE system that collects and reports measurement data for ordinary user / commercial terminals through network configuration. The network side sends it to the terminal according to the measurement configuration requirements of the network management. When the terminal meets the measurement conditions, it starts measuring and reports to the network. The report content involves the RSRP and RSRQ of the serving cell, timestamp information, location information, etc., which can be obtained through the MR+OTT integrated presentation system.
[0142] Step 320: Identify the affected cells
[0143] Criminals use GOIP fake base station call forwarding technology to set up a GOIP fake base station den and then leave. They send SIP voice data from a remote end through the Internet to the GOIP device den. The GOIP device converts the data into mobile voice coding data and connects to the local mobile communication base station. When it is running, it will cause a more obvious impact on the mobile network, which is manifested as "network congestion in one or several cells near the area where the device is located, which lasts for a period of time and then returns to normal at the same time." This feature mainly includes 3 key points:
[0144] (1) Network congestion: A large number of fraudulent calls made at the same time will occupy a large amount of mobile network resources, causing network congestion. Suspicious cells can be found by screening load indicators;
[0145] (2) Duration: Fraudulent activities usually continue after they occur, and the duration can be calculated by calculating the network congestion time of the suspected cell;
[0146] (3) They appear quickly and disappear quickly. Fraud using GOIP fake base stations is a planned and organized gang fraud. The fraud activities have a unified start and end time, and load indicators have obvious sudden increases and drops.
[0147] According to the above three key points, relevant parameters are set and a recursive algorithm is used to compare the load indicators of each cell one by one. The nodes above or below the congestion threshold are used to calculate the load growth and determine whether it is an abnormal congestion occurrence or end event. The duration of the abnormal congestion is then obtained and the cells affected by the pseudo base station are identified.
[0148] The load index is set to L. Starting from 0:00, the first 15-minute load index is marked as L1, the second is L2, and so on. The threshold of network congestion is L Thres ;
[0149] The load growth is set to I, and the calculation formula is I = (L n -L n-1 )÷L n-1 , the second 15-minute load growth from 0 o'clock is recorded as I1, the third is I2, and so on. The threshold of positive growth is I Thres-P , the threshold of negative growth is I Thres-N ;
[0150] When the load of a cell in a certain period of time L ≥ L Thres When the load growth in the corresponding period is I≥I Thres-P , recorded as an abnormal congestion event, when the load of a cell in a certain period of time L<L Thres When the load growth in the corresponding period is I≤I Thres-N , counted as an abnormal congestion end event.
[0151] The abnormal congestion occurrence time is set to T Star , the time of the first abnormal congestion is recorded as T Star-1 , the second time is T Star-2 , and so on; the abnormal congestion end time is set to T End , the end time of the first abnormal congestion is recorded as T End-1 , the second time is T End-2 , and so on;
[0152] The duration of abnormal congestion is set to ΔT, and the calculation formula is ΔT = T End -T Star The first duration is recorded as ΔT1, the second as ΔT2, and so on. The threshold of abnormal congestion duration is ΔT Thres .like Figure 4 shown.
[0153] The specific process of identifying the affected cells is as follows:
[0154] (1) Sort the cell load L in time order;
[0155] (2) Starting from the first period, compare the cell load L and L Thres, when the cell load L ≥ L Thres When the cell is congested, the next step is executed. If there is still no cell congestion at 23:45, the cell is not affected by the pseudo base station.
[0156] (3) Calculate the load growth during the congestion period, when I ≥ I Thres-P When abnormal congestion occurs, the event time node T is recorded. Star , proceed to the next step, if I<I Thres-P , then return to step 2 and start calculating from the next period;
[0157] (4) Compare the cell load L and L in the next period Thres , when the cell load L<L Thres When L≥L Thres , then repeat this operation until L<L Thres ;
[0158] (5) Calculate the load growth during this period. When I≤I Thres-N When the abnormal congestion ends, the event is recorded at the time node T End , calculate and record the duration of abnormal congestion ΔT, and return to step (2) to start calculating from the next period. If I>I Thres-N , then directly return to step 2 and start calculating from the next period;
[0159] (6) Sum all ΔT when When the cell is determined to be an affected cell, if Then the cell is not affected by the fake base station.
[0160] Step 330: Lock the location of the pseudo base station
[0161] By tracking the layer 3 signaling of all users in the affected cell, outputting the IMSI of each user, extracting the MRO data and MDT data (Minimization of drive tests) of the corresponding IMSI, parsing the longitude and latitude information, and importing all the longitude and latitude information into the K-means clustering algorithm, the location of the GOIP pseudo base station is locked. The GOIP pseudo base station has two characteristics in terms of geographical location: one is that the location remains unchanged; the other is that a large number of users are located in the same place. Based on this characteristic, the location locking process of the GOIP pseudo base station, such as Figure 5 shown.
[0162] The detailed instructions are as follows:
[0163] Step 3301: Analyze the longitude and latitude of the collected MRO data and MDT data in two different ways, output the results and summarize them.
[0164] (1) Longitude and latitude of MRO data: The latitude and longitude of the sampled data is resolved by using a user-side location positioning method based on MR measurement data. The mobile network is divided into N grids, and the signal strengths of multiple cells received during road testing within the grids are recorded. A fingerprint library containing longitude and latitude is constructed, and the signal strength in the MRO data is matched with it to obtain the longitude and latitude. This method has been published in a paper and applied in practice.
[0165] (2) Latitude and longitude of MDT data: This data already contains location information with longitude and latitude, which is recorded and saved after being intercepted.
[0166] Step 3302: Set the user's first sampling point as ID1, longitude as LON1, latitude as LAT1, sampling time as T1, and the distance between the two sampling points as D, which is calculated using the spherical distance formula.
[0167] C=sin(latA)sin(latB)+cos(latA)cos(latB)cos(lonA-lonB)
[0168] Distance=R*cos -1 (C)
[0169] The moving speed of the sampling point is V1, and the calculation formula is V = D ÷ ΔT, where ΔT is the time interval between two sampling points, and the speed difference threshold between the two sampling points is V Thres , build a data model, such as Figure 6 shown.
[0170] When the speed of the current sampling point is higher than the speed of the previous sampling point V Thres When , this sampling point is counted as an abnormal sampling point and discarded.
[0171] Step 3303: Set the user's displacement threshold to D Thres , taking the initial sampling point as the starting point, all other sampling points are distanced from it. When the distance between sampling points D>D Thres , then the user is a mobile user, otherwise it is a static user, such as Figure 7 shown.
[0172] Step 3304: Use the K-means clustering algorithm to find the location where the longitude and latitude are concentrated. The K-means algorithm is a distance-based clustering algorithm that uses distance as a similarity evaluation index, that is, it is believed that the closer the distance between two objects, the greater their similarity, and the ultimate goal is to obtain compact and independent clusters. Randomly select K sampling points of stationary users and input them into the algorithm. After repeated calculations, the longitude and latitude concentrated area is obtained.
[0173] K-means algorithm formula:
[0174] n: number of samples;
[0175] k: samples are divided into k categories;
[0176] r nk : Whether the nth sample point belongs to the kth category, if it does, then r nk =1, does not belong to r nk =0;
[0177] μ k : The kth center point, such as Figure 8 shown.
[0178] (1) Select K sampling points of stationary users as the initial cluster centers;
[0179] (2) All sampling points of stationary users are assigned to the nearest neighbor cluster according to the minimum distance principle;
[0180] (3) Based on the clustering results, recalculate the centers of the K clusters and use them as new cluster centers;
[0181] (4) Repeat steps (2) and (3) until the cluster center no longer changes.
[0182] Scammers usually place GOIP fake base stations in hotels, rental houses, etc. Based on the number of sampling points, the largest cluster in the calculation result is output and combined with the surrounding buildings to determine the location of the fake base station.
[0183] A recursive algorithm is used to calculate and judge the load indicators of the mobile network one by one, so as to identify the cells affected by the pseudo base stations and improve the location accuracy of the pseudo base stations by eliminating abnormal data based on MRO data and MDT data, using a set of two types of data and a K-means clustering algorithm.
[0184] The method in the above embodiment uses the three key points of the GOIP pseudo base station, "network congestion", "duration", "fast appearance and fast disappearance", and uses a recursive algorithm to calculate the load index of the mobile network in chronological order. When the above three key points are met at the same time, it is confirmed as a cell affected by the pseudo base station; three methods are used to improve the accuracy of confirming the pseudo base station: remove invalid data in MRO data or MDT data to avoid invalid data from affecting the calculation results; combine the sampling points of the two data and include them in the calculation range together to expand the sampling base of the calculation; output the largest cluster through the K-means clustering algorithm to exclude other static users. This method can actively calculate the daily load index, check the pseudo base station, avoid manual negligence and high-intensity work of complicated operations, and effectively improve the efficiency of pseudo base station discovery; output the largest cluster through the K-means clustering algorithm, improve the location accuracy of the pseudo base station, and at the same time narrow the scope of investigation of the pseudo base station to avoid traversal frequency scanning; and the data comes from the network load index, covering every corner of the entire network, and comprehensively searching for GOIP pseudo base stations, so as to track the traces of each pseudo base station.
[0185] It should be noted that the execution subject of the method for locating a pseudo base station provided in the embodiment of the present application may be a positioning device of a pseudo base station, or a control module in the positioning device of the pseudo base station for executing the method for locating a pseudo base station. In the embodiment of the present application, the method for locating a pseudo base station performed by a positioning device of a pseudo base station is taken as an example to illustrate the device for locating a pseudo base station provided in the embodiment of the present application.
[0186] Alternatively, if Fig. 9 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901, a memory 902, and a program or instruction stored in the memory 902 and executable on the processor 901. When the program or instruction is executed by the processor 901, each process of the above-mentioned pseudo base station positioning method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0187] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0188] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0189] The hardware 1000 of the electronic device includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0190] Those skilled in the art will appreciate that the hardware 1000 of the electronic device may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0191] The processor 1010 is used to obtain cell-level network load data in the mobile network; filter the cell-level network load data to obtain a target cell with abnormal data; and perform signaling monitoring on the target cell to locate a pseudo base station.
[0192] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.
[0193] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned pseudo base station positioning method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0194] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0195] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned pseudo base station positioning method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0196] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0197] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0198] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0199] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for locating a pseudo base station, characterized in that: include: Obtain cell-level network load data in mobile networks; Screening the cell-level network load data to obtain a target cell with abnormal data; Performing signaling monitoring on the target cell to obtain signaling information of users in the target cell; Locating the location information of the user in the target cell according to the signaling information; Filtering target users whose number exceeds a preset number and whose moving speed is lower than a preset threshold within a preset range from the location information; Clustering the locations of the target users to obtain the locations of the pseudo base stations; The step of screening the cell-level network load data to obtain a target cell with abnormal data includes: Filtering a first cell where network congestion occurs from the cell-level network load data; The duration of network congestion in each of the first cells is calculated, and second cells in which network congestion duration exceeds a preset duration are selected from the first cells to obtain target cells with abnormal data.
2. The method according to claim 1, characterized in that The screening from the cell-level network load data to obtain a target cell with abnormal data includes: The cell-level network load data is analyzed for abnormality by using a recursive algorithm, and cells with abnormal network load changes are screened from the cell-level network load data to obtain target cells with abnormal data.
3. The method according to claim 1, characterized in that The locating the position information of the user in the target cell according to the signaling information includes: Extracting the international mobile subscriber identity code of the user from the signaling information; The location information of the user is extracted according to the international mobile subscriber identity code.
4. The method according to claim 3, characterized in that The extracting the location information of the user according to the international mobile subscriber identity code comprises: Extracting the minimization of drive tests technology data of the user according to the international mobile subscriber identity code; When the user has the minimization of drive tests technical data, the location information of the user is parsed according to the minimization of drive tests technical data.
5. The method according to claim 4, characterized in that The extracting the location information of the user according to the international mobile subscriber identity code comprises: When there is no minimization of drive test technology data for the user, extracting measurement report data of the user according to the international mobile user identity code; The location information of the user is determined according to the measurement report data.
6. A positioning device for a pseudo base station, characterized in that: include: An acquisition module, used to acquire cell-level network load data in a mobile network; A screening module, used to screen the cell-level network load data to obtain a target cell with abnormal data; A signaling monitoring unit, configured to monitor the signaling of the target cell and obtain signaling information of users in the target cell; A positioning unit, configured to locate the location information of the user in the target cell according to the signaling information; A fourth screening unit, configured to screen target users whose number exceeds a preset number and whose moving speed is lower than a preset threshold within a preset range from the location information; A clustering unit, used to cluster the locations of the target users to obtain the locations of the pseudo base stations; The screening module comprises: A second screening unit, configured to screen a first cell where network congestion occurs from the cell-level network load data; The third screening unit is used to calculate the duration of network congestion in each of the first cells, and screen out second cells in which network congestion duration exceeds a preset duration from the first cells to obtain target cells with abnormal data.
7. An electronic device, characterized in that: include: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the pseudo base station positioning method as described in any one of claims 1 to 5 are implemented.
8. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the pseudo base station positioning method as described in any one of claims 1-5 are implemented.
