A method and device for identifying a fake base station, a mobile terminal, and a system
By acquiring and verifying the cell identification information accessed by the mobile terminal, the problem of low recognition accuracy of pseudo-base stations in the prior art is solved, and higher recognition accuracy and speed are achieved.
Patent Information
- Application Number
- CN202411585591.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-11-08
AI Technical Summary
The prior art has low accuracy when identifying pseudo-base stations, making it difficult to effectively distinguish between legitimate cells and pseudo-base stations.
By obtaining the first-class cell identification information of the target cell, it is determined whether it matches the pseudo-base station cell set, and adding the unmatched target cell to the set of cells to be identified. After the mobile terminal accesses the network, it sends the information in the set of cells to be identified to the network server for verification, and updates the pseudo-base station cell collection based on the feedback results.
The identification accuracy of the pseudo-base station is improved, the number of cells to be identified is reduced, the recognition speed of the pseudo-base station is improved, and the mobile terminal is avoided from accessing the pseudo-base station.
Smart Images

Figure CN119095053B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method and device for identifying a pseudo base station, a mobile terminal, and a system. Background Art
[0002] A fake base station is an illegal radio communication device that has not obtained a telecommunications equipment access license and a radio transmitter model approval. Fake base stations usually impersonate legitimate service provider numbers, transmit high-power signals to induce terminals to stay in fake base station cells, and trigger terminals to establish connections with fake base station networks, and then forcibly send spam text messages or fraudulent information to unspecified users. This behavior seriously damages the rights and interests of users and legitimate service providers, and has a negative impact on society.
[0003] In order to reduce the occurrence of such situations, some existing technologies use the method of detecting the signal strength of the base station to verify whether the base station that the user is currently connected to or is about to connect to is a fake base station. If so, the mobile terminal is disconnected from the fake base station or avoids connecting to the fake base station. However, the accuracy of verifying the base station using this method is low. How to improve the accuracy of identifying fake base stations is an urgent problem to be solved. Summary of the invention
[0004] The present invention provides a method and device for identifying a pseudo base station, a mobile terminal, and a system, which are used to improve the recognition accuracy of a mobile terminal for a pseudo base station.
[0005] The technical solution provided by the present invention is as follows:
[0006] A method for identifying a pseudo base station, comprising: obtaining first-type cell identification information of a target cell, the first-type cell identification information being cell identification information of a network layer;
[0007] According to the first type of cell identification information, determine whether the target cell matches a cell in the pseudo base station cell set; if the target cell matches a cell in the pseudo base station cell set, the target cell belongs to a pseudo base station;
[0008] If the target cell does not match the cells in the pseudo base station cell set, it is added to the set of cells to be identified;
[0009] After the mobile terminal accesses the network and registers normally, the cell information in the to-be-identified cell set is sent to the network server to check the authenticity of the cell; the pseudo base station cell set is updated according to the check result fed back by the network server, and then the content of the to-be-identified cell set is cleared.
[0010] In some embodiments, after comparing the target cell with the pseudo base station cell set and before adding the target cell to the set of cells to be identified, it includes: determining whether the first-category cell identification information of the target cell complies with the allocation rule of the operator to which the current SIM card belongs for the first-category cell identification information; if the first-category cell identification information of the target cell complies with the allocation rule of the operator, the target cell belongs to a quasi-legal cell;
[0011] If the target cell cannot be determined to be a pseudo base station, nor can it be determined to be a quasi-legal cell, it is added to the set of cells to be identified;
[0012] If the mobile terminal cannot pass the authentication process when accessing a quasi-legal cell, the quasi-legal cell is a pseudo base station cell, and is added to the pseudo base station cell set.
[0013] In some embodiments, it includes: acquiring location information of a mobile terminal, and using the location information of the mobile terminal as location information of a target cell.
[0014] In some embodiments, determining whether the first-category cell identification information of the target cell complies with the allocation rules of the operator to which the current SIM card belongs for the first-category cell identification information includes: determining the province where the mobile terminal is currently located based on the location information of the mobile terminal; determining whether the first-category cell identification information of the target cell complies with the allocation rules of the operator to which the current SIM card belongs for the first-category cell identification information of the province where the mobile terminal is currently located.
[0015] In some embodiments, determining whether the target cell matches a cell in the pseudo base station cell set includes:
[0016] If the first type cell identification information of the target cell is consistent with the first type cell identification information of a cell in the pseudo base station cell set, and the location information of the target cell is consistent with the location information of the cell, it is determined that the target cell matches the cell in the pseudo base station cell set and the target cell belongs to a pseudo base station.
[0017] In some embodiments, before obtaining the first type of cell identification information of the target cell, first obtain the second type of cell identification information of the target cell, the second type of cell identification information is the cell identification information of the physical layer, and the second type of cell identification information includes a frequency point and a physical cell identification;
[0018] If the second-category cell identification information of the target cell is consistent with the second-category cell identification information of a cell in the pseudo base station cell set, it is determined that the target cell belongs to a pseudo base station.
[0019] The present invention also provides a device for identifying a pseudo base station, which is applied to a mobile terminal and includes:
[0020] An information acquisition module, used to acquire the first type of cell identification information of the target cell;
[0021] A cell identification module is used to determine whether the target cell matches a cell in the pseudo base station cell set according to the first type of cell identification information; if the target cell matches a cell in the pseudo base station cell set, the target cell belongs to the pseudo base station; if the target cell does not match a cell in the pseudo base station cell set, it is added to the set of cells to be identified;
[0022] The cell verification module is used to send the cell information in the to-be-identified cell set to the network server to check the authenticity of the cell after the mobile terminal has normally accessed the network and registered; update the pseudo base station cell set according to the inspection results fed back by the network server, and then clear the contents of the to-be-identified cell set.
[0023] The present invention also provides a mobile terminal, comprising: a memory for storing a computer program; and a processor for implementing the method for identifying a pseudo base station described in any of the aforementioned embodiments when running the computer program.
[0024] The present invention also provides a system for identifying a pseudo base station, comprising:
[0025] A mobile terminal that implements the method for identifying a fake base station as described in any of the preceding embodiments;
[0026] The network server is used to receive a cell inspection request including cell information in a set of cells to be identified from a mobile terminal, and feed back inspection results to the mobile terminal, wherein the inspection results include cells identified as pseudo base station cells.
[0027] In some embodiments, the network server is further used to verify the legitimacy of each cell in the set of cells to be identified by accessing a third-party platform; if the cell cannot be found on the third-party platform, the cell is identified as a pseudo base station cell.
[0028] The method and device, mobile terminal, and system for identifying a fake base station provided by the present invention can at least bring the following beneficial effects:
[0029] 1. The present invention can improve the accuracy of identifying fake base stations by verifying the authenticity of cells with the help of a network server; by constructing a fake base station cell set and dynamically maintaining the fake base station cell set, the speed of identifying fake base stations can be improved.
[0030] 2. The present invention can reduce the number of cells to be identified by judging whether the first-category cell identification information of the target cell complies with the operator's allocation rules for the first-category cell identification information; and can improve the accuracy of identifying pseudo base stations by adding quasi-legal cells that cannot pass the authentication process to the pseudo base station cell set.
[0031] 3. The present invention compares the target cell and the cells in the pseudo base station cell set according to the second type of cell identification information, which can further improve the recognition speed of the pseudo base station and reduce the resource consumption of the mobile terminal.
[0032] 4. The present invention introduces the location information of the mobile terminal and uses the location information of the mobile terminal as the location information of the target cell. On the basis of identifying the pseudo base station according to the first-category cell identification information of the target cell, combined with the location information of the target cell, it can more accurately identify whether the target cell is a pseudo base station. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The following will explain the preferred implementation mode in a clear and understandable manner with reference to the accompanying drawings, and further explain the above-mentioned characteristics, technical features, advantages and implementation methods of a method and device for identifying a fake base station, a mobile terminal, and a system.
[0034] Figure 1 is a flow chart of an embodiment of a method for identifying a pseudo base station of the present invention;
[0035] Figure 2 is a flow chart of another embodiment of a method for identifying a pseudo base station of the present invention;
[0036] Figure 3 It is a structural schematic diagram of an embodiment of a device for identifying a pseudo base station of the present invention;
[0037] Figure 4 is a structural schematic diagram of an embodiment of a mobile terminal of the present invention;
[0038] Figure 5 It is a structural diagram of an embodiment of a system for identifying a pseudo base station of the present invention.
[0039] Description of Figure Numbers:
[0040] 100. Mobile terminal, 110. Information acquisition module, 120. Cell identification module, 130. Cell verification module, 200. Network server, 10. Memory, 20. Program, 30. Processor. DETAILED DESCRIPTION
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0042] In order to simplify the drawings, only the parts related to the present invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".
[0043] One embodiment of the present invention, as Figure 1 As shown, a method for identifying a fake base station is applied to a mobile terminal, comprising:
[0044] Step S200 obtains the first type of cell identification information of the target cell.
[0045] The target cell is a resident cell that the mobile terminal searches for during the network search or reselection phase. If the target cell is subsequently identified as not a pseudo base station cell, the mobile terminal may choose to reside in the target cell or initiate reselection to the target cell.
[0046] The cell identification information is used to identify the cell of a base station. The first type of cell identification information is the cell identification information of the network layer.
[0047] Taking LTE and 5G NR networks as an example, each base station cell is assigned an ECGI / NCGI number (ECGI is the LTE cell global identifier, NCGI is the 5G cell global identifier) and its TAI number (tracking area identifier), where ECGI / NCGI is composed of the operator identifier PLMN ID + cell identifier CELLID (full name Cell Identity). TAI is composed of PLMN ID + tracking area code TAC. ECGI / NCGI number and TAI number are unique globally. CELLID and TAC are unique within the same operator.
[0048] ECGI / NCGI number, TAI number, CELLID and TAC are all cell identification information at the network layer. For this embodiment, since it is for the cell identification under the same operator, the ECGI / NCGI number and / or TAI number can be selected as the first type of cell identification information, and the cell identification CELLID and / or tracking area code TAC can also be selected as the first type of cell identification information.
[0049] For LTE and 5G NR networks, during the network search or reselection phase, when the mobile terminal finds a target cell that can be camped on, it first obtains the system message SIB1 of the target cell. By parsing SIB1, the first-class cell identification information of the target cell can be obtained, such as the network's PLMN ID, cell identification CELLID and tracking area code (TAC).
[0050] Step S300 determines whether the target cell matches a cell in the pseudo base station cell set according to the first type of cell identification information. If so, execute step S301; otherwise, execute step S400.
[0051] Specifically, a pseudo base station cell set is provided on the mobile terminal. The pseudo base station cell set stores the first type of cell identification information of the identified pseudo base station cells. Initially, the pseudo base station cell set is an empty set.
[0052] Step S301 The target cell is a pseudo base station.
[0053] The pseudo base station cell set is traversed. If the first-category cell identification information of a cell in the pseudo base station cell set is consistent with the first-category cell identification information of the target cell, it is determined that the target cell matches a cell in the pseudo base station cell set, the target cell belongs to a pseudo base station, and the target cell is a pseudo base station cell.
[0054] Mobile terminals need to avoid initiating connections to pseudo base station cells, which can improve communication security.
[0055] Step S400: Add the target cell to the set of cells to be identified.
[0056] The to-be-identified cell set is used to contain the to-be-identified cells and stores the first type of cell identification information of the searched but unidentified cells. Initially, the to-be-identified cell set is an empty set.
[0057] Step S500: After the mobile terminal accesses the network and registers normally, the cell information in the to-be-identified cell set is sent to the network server to check the authenticity of the cell; the pseudo base station cell set is updated according to the check result fed back by the network server, and then the content of the to-be-identified cell set is cleared.
[0058] The inspection result fed back by the network server includes cells identified as pseudo base station cells.
[0059] For example, the mobile terminal sends a cell check request to the network server in the cloud, attaching the cell information of the unidentified cell, where the cell information includes the first type of cell identification information, such as the tracking area code TAC, the cell identification CELLID, the operator identification PLMN ID, etc., and requests the network server to verify the authenticity of the cell.
[0060] The network server can build a database internally, which contains information such as the identification and location of domestic base stations, and verify the legitimacy of the cells in the set of cells to be identified based on the self-built database. If the cell cannot be found in the self-built database, the cell is identified as a fake base station cell.
[0061] The network server can also access third-party platforms, such as LTE / 5G NR base station query platforms (these platforms provide positioning query services for China Mobile, China Unicom and China Telecom base stations, and can query the location and coverage of LTE and 5G NR base stations.) to verify the legitimacy of each recorded cell in the set of cells to be identified. If the cell cannot be found on the third-party platform, the cell is identified as a fake base station cell. Using the resources of the third-party platform can reduce the cost of cell verification.
[0062] After the verification is completed, the network server sends the inspection results to the mobile terminal, notifying which cell is a pseudo base station cell. The mobile terminal adds the cell determined as a pseudo base station cell in the inspection results to the pseudo base station cell set. Then, the set of cells to be identified is cleared or set to an empty set.
[0063] In this way, with the identification of target cells one by one and the maintenance of the pseudo base station cell set, the speed and accuracy of the mobile terminal's identification of the pseudo base station cell can be improved, thereby preventing the mobile terminal from staying on the pseudo base station cell.
[0064] In this embodiment, by verifying the authenticity of the cell with the help of the network server, the accuracy of identifying the fake base station can be improved; by creating and maintaining the fake base station cell set, the speed of identifying the fake base station can be improved.
[0065] In one embodiment, the process between step S300 and step S400 includes:
[0066] Step S302 determines whether the first type of cell identification information of the target cell complies with the allocation rule of the first type of cell identification information of the operator to which the current SIM card belongs;
[0067] In step S303, if the first type of cell identification information of the target cell complies with the allocation rule of the operator, the target cell is a quasi-legal cell.
[0068] Step S400 includes: Step S401: if it is neither possible to determine that the target cell belongs to a pseudo base station nor to determine that it belongs to a quasi-legal cell, then add it to the set of cells to be identified.
[0069] The method further includes: if the mobile terminal cannot pass the authentication process in the process of accessing a quasi-legal cell in step S600, the quasi-legal cell is a pseudo base station cell, and the cell is added to the pseudo base station cell set.
[0070] Specifically, operators have certain allocation rules for the first type of cell identification information. Taking the network planning of 4G and 5G base stations of domestic operators as an example, the network planning of operator base stations follows the following principles:
[0071] 1) The cell identifier CELLID and tracking area code TAC are unique within the same operator.
[0072] 2) Intra-provincial same principle: The TAC number segment and eNodeB ID number segment of base stations in the same province must be the same.
[0073] TAC is 16 bits, consisting of X1X2X3X4, with X1~X4 occupying 4 bits each. The first two bits X1X2 of each province's TAC are allocated uniformly by the operator group, and the last two bits X3X4 are allocated by each city in the province.
[0074] The cell ID CELLID is composed of two parts: the base station ID eNodeB ID and the cell ID cellId in the base station. Among them, the first two bits Y1Y2 (Y1~Y2 each occupy 4 bits) of the eNodeB ID of each province are uniformly allocated by the operator group, and the remaining bits are allocated by each city in the province.
[0075] Therefore, it is possible to determine whether the first-category cell identification information of the target cell complies with the operator's allocation rules based on whether the X1X2 bits of the target cell's TAC and the Y1Y2 bits of the CELLID comply with the province and city codes uniformly allocated by the operator group. Cells that comply with the rules are likely to be legal cells, and the number of cells to be identified can be greatly reduced through steps S302 and S303.
[0076] Since a fake base station may impersonate the cell identification information of other areas, a cell that complies with the naming rules of the operator may also belong to a fake base station, but since a fake base station cell cannot pass the authentication process, a quasi-legal cell that cannot pass the authentication process must be a fake base station cell. Step S600 can prevent the mobile terminal from accessing a fake base station cell that looks like a legitimate cell.
[0077] The operator's allocation rules for the first type of cell identification information are generally relatively stable, but this does not rule out certain changes in some situations. Therefore, we cannot simply assume that a cell that does not comply with the known allocation rules is a pseudo base station cell.
[0078] In one embodiment, before step S200, the method further includes:
[0079] Step S100: obtaining the second type of cell identification information of the target cell.
[0080] The second type of cell identification information is the cell identification information of the physical layer, and the second type of cell identification information includes frequency and physical cell identification. During the network search or reselection phase, the mobile terminal first searches the physical layer to obtain the frequency information and physical cell identification of the cell, i.e., the second type of cell identification information; and then decodes the system message to obtain the first type of cell identification information. Therefore, when the mobile terminal obtains the first type of cell identification information, it must be able to obtain the second type of cell identification information.
[0081] When the target cell is added to the set of cells to be identified, the second type of cell identification information of the target cell is synchronously saved in the corresponding cell information. When the pseudo base station cell set is updated according to the identification results of each cell in the set of cells to be identified by the network server, the second type of cell identification information of the pseudo base station cell is also synchronously recorded and saved.
[0082] Step S110 determines whether the target cell matches a cell in the pseudo base station cell set based on the second-category cell identification information; if the second-category cell identification information of the target cell does not match the second-category cell identification information of any cell in the pseudo base station cell set, execute step S200; otherwise, execute step S301, i.e., determine that the target cell belongs to a pseudo base station.
[0083] Specifically, the pseudo base station cell set is traversed, and if there is a cell in the pseudo base station cell set whose second-category cell identification information is consistent with the second-category cell identification information of the target cell, it is considered that the target cell matches the cells in the pseudo base station cell set, the target cell is a pseudo base station cell, and the target cell belongs to a pseudo base station.
[0084] When the target cell is identified as a pseudo base station, it is not necessary to execute step S200 and subsequent steps, so that the pseudo base station can be identified more quickly, avoiding the mobile terminal from parsing the system information of the target cell, and reducing the resource consumption of the mobile terminal.
[0085] Another embodiment of the present invention, as Figure 2 As shown, a method for identifying a pseudo base station, used in a mobile terminal, includes:
[0086] Step S200 obtains the first type of cell identification information of the target cell.
[0087] Step S210 acquires the location information of the mobile terminal, and uses the location information of the mobile terminal as the location information of the target cell.
[0088] The location information of the mobile terminal can be obtained through the positioning function of the mobile terminal, such as the longitude and latitude information of the location of the mobile terminal through the GPS / Beidou navigation system.
[0089] Step S310 determines whether the target cell matches a cell in the pseudo base station cell set according to the first type cell identification information and the location information of the target cell. If they match, execute step S311; otherwise, execute step S320.
[0090] Step S311: The target cell belongs to a pseudo base station.
[0091] Step S320 determines whether the first type of cell identification information of the target cell complies with the allocation rule of the first type of cell identification information of the operator to which the current SIM card belongs; if yes, execute step S321.
[0092] Step S321: The target cell is a quasi-legal cell.
[0093] In step S400, if it is neither possible to determine that the target cell is a pseudo base station nor a quasi-legal cell, then the target cell is added to the set of cells to be identified.
[0094] Step S510: After the mobile terminal accesses the network normally and registers, the cell information in the to-be-identified cell set is sent to the network server to check the authenticity of the cell, where the cell information of each cell includes the first-category cell identification information and the cell location information; the pseudo base station cell set is updated according to the inspection result fed back by the network server, and then the content of the to-be-identified cell set is cleared.
[0095] The inspection results fed back by the network server indicate which cells are pseudo base stations.
[0096] Step S600: If the mobile terminal cannot pass the authentication process when accessing a quasi-legal cell, the quasi-legal cell is a pseudo base station cell, and is added to the pseudo base station cell set.
[0097] Specifically, the same steps as the previous embodiment are not repeated in this embodiment, and please refer to the previous embodiment. The main difference from the previous embodiment is that the location information of the mobile terminal is introduced, and the location information of the mobile terminal is used as the location information of the target cell. Combined with the location information of the target cell, it is possible to more accurately identify whether the target cell is a pseudo base station.
[0098] In step S510, the network server can verify the legitimacy of each cell in the set of cells to be identified by accessing a third-party platform; if the cell cannot be queried on the third-party platform, the cell is identified as a pseudo base station cell; if the cell can be queried on the third-party platform, the difference between the two cells is calculated based on the location information of the cell reported by the mobile terminal and the location information of the real cell queried by the third-party platform. If the difference exceeds the base station coverage threshold, the cell is identified as a pseudo base station cell.
[0099] In the above step S510, the comparison between the location information of the cell reported by the mobile terminal and the location information of the real cell queried by the third-party platform can also be implemented on the mobile terminal side. For example, the mobile terminal updates the pseudo base station cell set according to the inspection result fed back by the network server, including:
[0100] Adding a cell identified by the network server as a pseudo base station cell to a pseudo base station cell set;
[0101] For cells identified as legitimate cells by the network server, the distance between the cell's location information and the actual location information is calculated based on the actual location information of the legitimate cells fed back by the network server; if the distance exceeds the base station coverage threshold, the cell is considered to be a pseudo base station cell and is added to the pseudo base station cell set.
[0102] Since the server is superior to the mobile terminal in terms of computing power and storage capacity, it is preferred to implement the location comparison of the two cells on the network server side.
[0103] In one embodiment, step S310 is optimized as follows:
[0104] Step S311 traverses the pseudo base station cell set. If there is a cell in the pseudo base station cell set whose first-category cell identification information is consistent with the first-category cell identification information of the target cell, and the location information of the cell is consistent with the location information of the target cell, then it is determined that the target cell matches the cells in the pseudo base station cell set, the target cell belongs to a pseudo base station, and the target cell is a pseudo base station cell.
[0105] It should be noted that, assuming that the location information is expressed in longitude and latitude, if the difference between the longitude and latitude values of two cells is within a preset range, the location information of the two cells is considered to be consistent. Alternatively, if the distance difference between the two cells obtained based on the location information of the two cells is within a preset range, the location information of the two cells is considered to be consistent.
[0106] At present, some fake base station cells steal the first-class cell identification information of legitimate cells in other places. For example, a fake base station in Shanghai uses the first-class cell identification information of Jiangsu as its own first-class cell identification information. Judging from the first-class cell identification information alone, it is legal. This type of fake base station can be discovered by combining the location information of the cell.
[0107] In one embodiment, step S320 includes:
[0108] Determine the province where the mobile terminal is currently located according to the location information of the mobile terminal;
[0109] It is determined whether the first-category cell identification information of the target cell complies with the allocation rule of the first-category cell identification information of the operator to which the current SIM card belongs for the province where the mobile terminal is currently located.
[0110] In this way, the scope of the allocation rules can be narrowed and quasi-legal cells can be identified more accurately; meanwhile, the storage space consumed by the mobile terminal for storing the allocation rules can be reduced.
[0111] In one embodiment, before step S200, the method includes:
[0112] Step S100: obtaining the second type of cell identification information of the target cell.
[0113] The second type of cell identification information is the cell identification information of the physical layer, and the second type of cell identification information includes a frequency point and a physical cell identification.
[0114] Step S110 determines whether the target cell matches a cell in the pseudo base station cell set according to the second type cell identification information of the target cell; if so, the target cell is determined to be a pseudo base station; otherwise, step S200 is executed.
[0115] Specifically, the pseudo base station cell set is traversed, and if the second type of cell identification information of a cell in the pseudo base station cell set is consistent with the second type of cell identification information of the target cell, it is considered that the target cell matches the cells in the pseudo base station cell set, and the target cell belongs to a pseudo base station. In this way, pseudo base stations can be identified more quickly, avoiding the mobile terminal from parsing the system information of the target cell, and reducing the resource consumption of the mobile terminal.
[0116] One embodiment of the present invention, as Figure 3 As shown, a device for identifying a pseudo base station is applied to a mobile terminal 100, including:
[0117] The information acquisition module 110 is configured to acquire the first type of cell identification information of the target cell.
[0118] The cell identification module 120 is used to determine whether the target cell matches a cell in the pseudo base station cell set based on the first type of cell identification information; if the target cell matches a cell in the pseudo base station cell set, the target cell belongs to the pseudo base station; if the target cell does not match a cell in the pseudo base station cell set, it is added to the set of cells to be identified.
[0119] The cell verification module 130 is used to send the cell information in the to-be-identified cell set to the network server to check the authenticity of the cell after the mobile terminal has normally accessed the network and registered; update the pseudo base station cell set according to the inspection result fed back by the network server, and then clear the content of the to-be-identified cell set. The inspection result fed back by the network server includes the cell identified as a pseudo base station cell.
[0120] In one embodiment, the cell identification module is also used to determine whether the first-category cell identification information of the target cell complies with the allocation rules of the first-category cell identification information of the operator to which the current SIM card belongs; if the first-category cell identification information of the target cell complies with the allocation rules of the operator, the target cell is a quasi-legal cell; if it is neither possible to determine that the target cell is a pseudo base station nor a quasi-legal cell, it is added to the set of cells to be identified.
[0121] The cell checking module is also used for if the mobile terminal cannot pass the authentication process when accessing a quasi-legal cell, the quasi-legal cell is a pseudo base station cell and is added to the pseudo base station cell set.
[0122] In one embodiment, the information acquisition module 110 is further used to acquire the second type of cell identification information of the target cell; the second type of cell identification information includes a frequency point and a physical cell identification.
[0123] The cell identification module 120 is also used to determine whether the target cell matches a cell in the pseudo base station cell set based on the second-category cell identification information; if the second-category cell identification information of the target cell is consistent with the second-category cell identification information of a cell in the pseudo base station cell set, it is determined that the target cell matches the cell in the pseudo base station cell set, and the target cell belongs to a pseudo base station.
[0124] The information acquisition module 110 is further configured to acquire the first type of cell identification information of the target cell if the second type of cell identification information of the target cell does not match the second type of cell identification information of any cell in the pseudo base station cell set.
[0125] Another embodiment of the present invention, as Figure 3 As shown, a device for identifying a fake base station is applied to a mobile terminal, comprising:
[0126] The information acquisition module 110 is used to acquire the first type of cell identification information of the target cell; acquire the location information of the mobile terminal, and use the location information of the mobile terminal as the location information of the target cell.
[0127] The cell identification module 120 is used to determine whether the target cell matches a cell in the pseudo base station cell set based on the first-category cell identification information and the cell's location information; if the target cell matches a cell in the pseudo base station cell set, the target cell belongs to a pseudo base station; if the target cell does not match any cell in the pseudo base station cell set, it is determined whether the first-category cell identification information of the target cell complies with the allocation rule of the first-category cell identification information of the operator to which the current SIM card belongs; if it complies, the target cell is a quasi-legal cell; if it can neither be determined that the target cell belongs to a pseudo base station nor that it can be determined that it belongs to a quasi-legal cell, it is added to the set of cells to be identified.
[0128] The cell verification module 130 is used to send the cell information in the set of cells to be identified to the network server to check the authenticity of the cells after the mobile terminal has accessed the network normally and registered; the cell information of each cell includes the first type of cell identification information and the location information of the cell; the pseudo base station cell set is updated according to the inspection result fed back by the network server, and then the content of the set of cells to be identified is cleared. The inspection result fed back by the network server includes the cells identified as pseudo base station cells. If the mobile terminal cannot pass the authentication process during the process of accessing a quasi-legal cell, the quasi-legal cell is a pseudo base station cell, and it is added to the pseudo base station cell set.
[0129] In one embodiment, the cell identification module is also used to traverse the pseudo base station cell set. If there is a cell in the pseudo base station cell set whose first-category cell identification information is consistent with the first-category cell identification information of the target cell, and the location information of the cell is consistent with the location information of the target cell, then it is determined that the target cell matches the cells in the pseudo base station cell set, the target cell belongs to a pseudo base station, and the target cell is a pseudo base station cell.
[0130] In one embodiment, the cell identification module is also used to determine the province where the mobile terminal is currently located based on the location information of the mobile terminal; and to determine whether the first-category cell identification information of the target cell complies with the allocation rules of the operator to which the current SIM card belongs for the first-category cell identification information of the province where the mobile terminal is currently located.
[0131] In one embodiment, the information acquisition module 110 is further used to acquire the second-class cell identification information of the target cell. The cell identification module 120 is further used to determine whether the target cell matches a cell in the pseudo base station cell set based on the second-class cell identification information; if the second-class cell identification information of the target cell is consistent with the second-class cell identification information of a cell in the pseudo base station cell set, the target cell is determined to belong to a pseudo base station. The information acquisition module 110 is further used to acquire the first-class cell identification information of the target cell if the second-class cell identification information of the target cell does not match the second-class cell identification information of any cell in the pseudo base station cell set.
[0132] It should be noted that the device for identifying a pseudo base station provided by the present invention can be a device or a part of a device, or a chip or a part of a chip, such as a chip for a mobile terminal. In addition, the embodiment of the device for identifying a pseudo base station provided by the present invention and the embodiment of the method for identifying a pseudo base station provided above are based on the same inventive concept and can achieve the same technical effect. Therefore, other specific contents of the embodiment of the device for identifying a pseudo base station can refer to the description of the contents of the embodiment of the method for identifying a pseudo base station.
[0133] One embodiment of the present invention, as Figure 4As shown, a mobile terminal includes:
[0134] A memory 10 for storing a computer program 20;
[0135] The processor 30 is configured to implement the method for identifying a pseudo base station described in any of the above embodiments when running the computer program 20.
[0136] The memory 10 may be any internal storage unit and / or external storage device capable of storing data and programs. For example, the memory 10 may be a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, or a flash memory card.
[0137] As needed, the processor 30 can be a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a general-purpose processor or other logic devices, etc.
[0138] One embodiment of the present invention, as Figure 5 As shown, a system for identifying a fake base station includes:
[0139] A mobile terminal 100 and a network server 200 for implementing the method for identifying a fake base station described in any of the above embodiments;
[0140] The network server 200 receives a cell check request including cell information in the to-be-identified cell set from the mobile terminal 100, and feeds back a check result to the mobile terminal, where the check result includes cells identified as pseudo base station cells.
[0141] In one embodiment, the network server 200 is further configured to verify the legitimacy of each cell in the set of cells to be identified by accessing a third-party platform; if the cell cannot be found on the third-party platform, the cell is identified as a pseudo base station cell.
[0142] In one embodiment, the network server 200 is also used to calculate the difference between the two cells based on the location information of the cell reported by the mobile terminal and the location information of the real cell queried by the third-party platform when the cell can be queried on the third-party platform. If the difference exceeds the base station coverage range threshold, the cell is identified as a pseudo base station cell.
[0143] One embodiment of the present invention is a readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement a method for identifying a pseudo base station as described in the aforementioned embodiment. That is, when part or all of the technical solutions that contribute to the prior art in the aforementioned embodiment of the present invention are embodied in the form of a computer software product, the aforementioned computer software product is stored in a computer-readable storage medium. The computer-readable storage medium can be any physical system or device that can carry a computer program code. For example, a USB flash drive, a mobile disk, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, etc.
[0144] It should be noted that the above embodiments can be freely combined as needed. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention.
Claims
1. A method for identifying a fake base station, characterized in that: Applied to mobile terminals, including: Acquire second-type cell identification information of a target cell according to a physical layer search performed by the mobile terminal in a network search or reselection phase, where the second-type cell identification information is cell identification information of a physical layer, including a frequency point and a physical cell identification; If the second-category cell identification information of the target cell is consistent with the second-category cell identification information of a cell in the pseudo base station cell set storing the identified pseudo base station cells, it is determined that the target cell belongs to a pseudo base station; otherwise, the following steps are performed: Acquire the first type of cell identification information of the target cell by parsing the system message of the target cell, where the first type of cell identification information is the cell identification information of the network layer, including at least one of an ECGI number, an NCGI number, a TAI number, a cell identification CELLID, and a tracking area code TAC; Acquire the location information of the mobile terminal, and use the location information of the mobile terminal as the location information of the target cell; If the first-category cell identification information of the target cell is consistent with the first-category cell identification information of a cell in the pseudo base station cell set, and the location information of the target cell is consistent with the location information of the cell, it is determined that the target cell matches a cell in the pseudo base station cell set, and the target cell belongs to a pseudo base station; otherwise, it is determined whether the first-category cell identification information of the target cell complies with the allocation rule of the first-category cell identification information of the operator to which the current SIM card belongs, specifically including: according to whether the first two digits of the tracking area code TAC of the target cell and the first two digits of the cell identification CELLID comply with the province and city code uniformly allocated by the operator group, confirming whether the first-category cell identification information of the target cell complies with the allocation rule of the operator; If the first type of cell identification information of the target cell complies with the allocation rule of the operator, the target cell is a quasi-legal cell; If it is neither possible to determine that the target cell is a pseudo base station nor a quasi-legal cell, then the target cell is added to the set of cells to be identified; After the mobile terminal accesses the network normally and registers, the cell information in the set of cells to be identified is sent to the network server to check the authenticity of the cells, wherein the cell information of each cell includes the first type of cell identification information and the cell location information; the network server verifies the legitimacy of each cell in the set of cells to be identified by accessing a third-party platform; if the cell cannot be queried on the third-party platform, the cell is identified as a pseudo base station cell; when the cell can be queried on the third-party platform, the distance between the location information of the cell reported by the mobile terminal and the location information of the real cell queried by the third-party platform is calculated, and if the distance exceeds the base station coverage threshold, the cell is identified as a pseudo base station cell; the pseudo base station cell set is updated according to the inspection result fed back by the network server, and then the content of the set of cells to be identified is cleared; If the mobile terminal cannot pass the authentication process during access to a quasi-legal cell, the quasi-legal cell is a pseudo base station cell, and is added to the pseudo base station cell set.
2. The method for identifying a fake base station according to claim 1, characterized in that: Determining whether the first type of cell identification information of the target cell complies with the allocation rule of the first type of cell identification information of the operator to which the current SIM card belongs, includes: Determine the province where the mobile terminal is currently located according to the location information of the mobile terminal; It is determined whether the first-category cell identification information of the target cell complies with the allocation rule of the first-category cell identification information of the operator to which the current SIM card belongs for the province where the mobile terminal is currently located.
3. A device for identifying a fake base station, characterized in that: Applied to mobile terminals, including: An information acquisition module, configured to acquire second-type cell identification information of a target cell according to a physical layer search performed by the mobile terminal in a network search or reselection phase, wherein the second-type cell identification information is cell identification information of a physical layer, including a frequency point and a physical cell identification; a cell identification module, configured to determine that the target cell belongs to a pseudo base station if the second type of cell identification information of the target cell is consistent with the second type of cell identification information of a cell in the pseudo base station cell set storing the identified pseudo base station cells; The information acquisition module is further used for, if the second-category cell identification information of the target cell is inconsistent with the second-category cell identification information of all cells in the pseudo base station cell set, obtaining the first-category cell identification information of the target cell by parsing the system message of the target cell, wherein the first-category cell identification information is the cell identification information of the network layer, including at least one of an ECGI number, an NCGI number, a TAI number, a cell identification CELLID, and a tracking area code TAC; obtaining the location information of the mobile terminal, and using the location information of the mobile terminal as the location information of the target cell; The cell identification module is also used to determine that the target cell matches a cell in the pseudo base station cell set if the first-category cell identification information of the target cell is consistent with the first-category cell identification information of a cell in the pseudo base station cell set, and the location information of the target cell is consistent with the location information of the cell, and the target cell belongs to a pseudo base station; otherwise, determine whether the first-category cell identification information of the target cell complies with the allocation rule of the first-category cell identification information of the operator to which the current SIM card belongs, specifically including: confirming whether the first-category cell identification information of the target cell complies with the allocation rule of the operator according to whether the first two digits of the tracking area code TAC of the target cell and the first two digits of the cell identification CELLID comply with the province and city code uniformly allocated by the operator group; if the first-category cell identification information of the target cell complies with the allocation rule of the operator, the target cell belongs to a quasi-legal cell; if it can neither be determined that the target cell belongs to a pseudo base station nor that it can be determined that it belongs to a quasi-legal cell, add it to the set of cells to be identified; A cell verification module is used to send the cell information in the set of cells to be identified to the network server to check the authenticity of the cells after the mobile terminal has normally accessed the network and registered, wherein the cell information of each cell includes first-category cell identification information and cell location information; the network server verifies the legitimacy of each cell in the set of cells to be identified by accessing a third-party platform; if the cell cannot be queried on the third-party platform, the cell is identified as a pseudo base station cell; when the cell can be queried on the third-party platform, the distance between the location information of the cell reported by the mobile terminal and the location information of the real cell queried by the third-party platform is calculated, and if the distance exceeds the base station coverage range threshold, the cell is identified as a pseudo base station cell; the pseudo base station cell set is updated according to the inspection result fed back by the network server, and then the content of the set of cells to be identified is cleared; if the mobile terminal cannot pass the authentication process during access to a quasi-legal cell, the quasi-legal cell is a pseudo base station cell, and it is added to the pseudo base station cell set.
4. A mobile terminal, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the method for identifying a pseudo base station as claimed in any one of claims 1 to 2 when running the computer program.
5. A system for identifying fake base stations, characterized in that: include: A mobile terminal and a network server for implementing the method for identifying a pseudo base station according to any one of claims 1 to 2; The network server receives a cell inspection request including cell information in the to-be-identified cell set from the mobile terminal, and feeds back inspection results to the mobile terminal, wherein the inspection results include cells identified as pseudo base station cells.
Citation Information
Patent Citations
4G pseudo base station identification method, system, terminal and computer storage medium
CN107959936A
Cell residence method, terminal, first server, computing equipment and medium
CN111093200A
Method and device for positioning pseudo base station
CN111328078A
Pseudo base station positioning method and device thereof, electronic equipment and readable medium
CN113645625A