Pseudo base station identification method and device, and electronic device

CN116321168BActive Publication Date: 2026-10-27VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310259431.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2026-10-27
Estimated Expiration
2043-03-17

AI Technical Summary

Technical Problem

而当前出现了很多伪基站,而伪基站是指未取得电信设备进网许可和无线电发射设备型号核准的非法无线电通信设备,当终端与伪基站连接时,容易导致脱网或者接收到垃圾信息

Benefits of technology

[0017]在本申请实施例中,当系统消息携带的运营商标签满足第一条件,且目标基站对目标请求消息的应答满足第二条件时,说明目标基站符合伪基站的特性,即目标基站属于伪基站的概率较大,此时将目标基站确定为伪基站,这样,可以提高伪基站的识别结果的准确度。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116321168B_ABST
    Figure CN116321168B_ABST
Patent Text Reader

Abstract

The application discloses a pseudo base station identification method and device and electronic equipment. The pseudo base station identification method comprises the following steps: receiving a system message sent by a target base station; in the case that an operator label carried in the system message meets a first condition, sending a target request message to the target base station, the target request message being used for requesting the target base station to allow performing a target processing, the target processing being a processing of performing a target service; and in the case that a response of the target base station to the target request message meets a second condition, determining the target base station as a pseudo base station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, and specifically relates to a method, device and electronic equipment for identifying fake base stations. Background Technology

[0002] With the development of communication technology, base stations are playing an increasingly important role in communication. However, many fake base stations have emerged. Fake base stations refer to illegal radio communication equipment that has not obtained network access licenses and radio transmission equipment type approvals. When a terminal connects to a fake base station, it is prone to network disconnection or receiving spam messages. In practical use, fake base stations are usually identified based on electrical signal strength, but this identification method has a relatively large margin of error. Summary of the Invention

[0003] The purpose of this application is to provide a method, apparatus, and electronic device for identifying fake base stations, which can improve the accuracy of fake base station identification results.

[0004] To solve the above-mentioned technical problems, this application is implemented as follows:

[0005] In a first aspect, embodiments of this application provide a method for identifying fake base stations, including:

[0006] Receive system messages sent by the target base station;

[0007] If the operator tag carried in the system message meets the first condition, a target request message is sent to the target base station. The target request message is used to request the target base station to allow the execution of target processing, which is the processing of executing target services.

[0008] If the target base station's response to the target request message meets the second condition, the target base station is identified as a fake base station.

[0009] Secondly, embodiments of this application provide a fake base station identification device, comprising:

[0010] The receiving module is used to receive system messages sent by the target base station;

[0011] The sending module is configured to send a target request message to the target base station when the operator tag carried in the system message meets a first condition. The target request message is used to request the target base station to allow the execution of target processing, which is the execution of target services.

[0012] The determination module is used to determine the target base station as a fake base station if the target base station's response to the target request message meets the second condition.

[0013] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0014] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0015] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0016] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0017] In this embodiment of the application, when the operator tag carried by the system message meets the first condition and the response of the target base station to the target request message meets the second condition, it indicates that the target base station meets the characteristics of a fake base station, that is, the probability that the target base station is a fake base station is relatively high. At this time, the target base station is identified as a fake base station, which can improve the accuracy of the fake base station identification result. Attached Figure Description

[0018] Figure 1 This is a flowchart of a fake base station identification method provided in some embodiments of this application;

[0019] Figure 2 This is a flowchart of a fake base station identification method provided in some embodiments of this application;

[0020] Figure 3 This is a flowchart of a fake base station identification method provided in some embodiments of this application;

[0021] Figure 4 This is a flowchart of a fake base station identification method provided in some embodiments of this application;

[0022] Figure 5 These are schematic diagrams of the structure of a fake base station identification device provided in some embodiments of this application;

[0023] Figure 6 These are schematic diagrams of the structure of a fake base station identification device provided in some embodiments of this application;

[0024] Figure 7These are schematic diagrams of the structure of electronic devices provided in some embodiments of this application;

[0025] Figure 8 These are schematic diagrams of the structure of electronic devices provided in some embodiments of this application. Detailed Implementation

[0026] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0027] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0028] The fake base station identification method, apparatus, and electronic equipment provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0029] See Figure 1 , Figure 1 A flowchart of a fake base station identification method provided in this application embodiment is shown below. Figure 1 As shown, it includes the following steps:

[0030] Step 101: Receive system messages sent by the target base station.

[0031] It should be noted that the embodiments of this application can be applied to the target electronic device. That is to say, the steps in the embodiments of this application can be executed by the target electronic device, and the specific type of the target electronic device is not limited here. In the embodiments of this application, the target electronic device can be a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), a mobile internet device (MID), or a wearable device, etc.

[0032] The specific type of the target base station is not limited here; it can be any base station. The target base station can send system messages to electronic devices located within its radiation range. Therefore, the target base station can be any base station whose operator tag carried in the sent system message meets or does not meet the first condition. For example, the target base station can be a 4G base station, a 5G base station, or a 6G base station, etc.

[0033] The system information can be referred to as the System Information Block (SIB1). SIB1 may carry the operator label supported by the target base station. This operator label refers to the operator network corresponding to the operator label that the target base station supports; in this case, the operator label may refer to the Public Land Mobile Network (PLMN). Additionally, SIB1 may include scheduling information and initial access information from other system blocks.

[0034] Step 102: If the operator tag carried in the system message meets the first condition, a target request message is sent to the target base station. The target request message is used to request the target base station to allow the execution of target processing, which is the processing of executing target services.

[0035] The specific content of the operator tags carried by the system message satisfying the first condition is not limited here. Optionally, the first condition includes at least one of the following: the number of operator tags carried by the system message is greater than a first threshold; the system message carries at least two operator tags, and the tag combination formed by the at least two operator tags is the same as any of the candidate operator tag combinations.

[0036] This allows for greater flexibility and diversity in the first condition.

[0037] In some embodiments of this application, if the number of operator tags carried by the system message is greater than a first threshold, then the operator tags carried by the system message are determined to meet the first condition. For example, if there are a total of 4 operators in the area where the target electronic device is located, and the number of operator tags in the system message is 4, and the first threshold is 3, then it can be determined that the number of operator tags in the system message is greater than the first threshold, and thus it can be determined that the operator tags carried by the system message meet the first condition.

[0038] In some embodiments of this application, the system message carries at least two operator tags, and the tag combination formed by the at least two operator tags is the same as any of the candidate operator tag combinations. In this case, the operator tags carried by the system message are determined to satisfy a first condition. The tag combination can be a combination of at least two tags. For example, if the area where the target electronic device is located includes four operators (A, B, C, and D), the candidate operator tag combinations can include at least one of a first combination and a second combination. The first combination is a combination of A, B, and C, and the second combination is a combination of A, B, C, and D. Thus, when the operator tag combination carried by the system message is a combination of A, B, and C, or a combination of A, B, C, and D, it can be determined that the operator tags carried by the system message satisfy the first condition.

[0039] In some embodiments of this application, for example, the alternative operator tag combinations may also include at least one of the following combinations: a third combination, a fourth combination, a fifth combination, a sixth combination, a seventh combination, and an eighth combination, wherein the third combination is a combination of A and B, the fourth combination is a combination of B and C, the fifth combination is a combination of C and D, the sixth combination is a combination of A and C, the seventh combination is a combination of A and D, and the eighth combination is a combination of B and D. When the combination of operator tags carried by the system message is at least one of the above-mentioned third combination, fourth combination, fifth combination, sixth combination, seventh combination, and eighth combination, it can be determined that the operator tags carried by the system message satisfy the first condition.

[0040] A, B, and C can be operators with a longer operating history, while D can be a newly established operator. For example, A, B, and C can refer to China Mobile Communications Group (CMCC), China Unicom (CU), and China Telecom (CT), respectively, while D can refer to China Broadcasting Network Corporation (CBN).

[0041] It should be noted that the process of determining whether the operator tags carried in the system message meet the first condition is as follows: fake base stations usually support as many operator networks as possible in order to increase the connectivity with the target electronic device, while normal base stations usually support fewer operator networks. Therefore, if the target base station supports a large number of operator networks, that is, the number of operator tags carried in the system message is greater than the first threshold, or the system message carries at least two operator tags, and the tag combination formed by at least two operator tags is the same as any of the candidate operator tag combinations, then it can be determined that the operator tags carried in the system message meet the first condition. Furthermore, when the target base station's response to the target request message meets the second condition, the probability of the target base station being a fake base station can be judged by combining the above conditions, thus improving the accuracy of the fake base station identification results.

[0042] Step 103: If the target base station's response to the target request message meets the second condition, the target base station is identified as a fake base station.

[0043] The specific content of the second condition is not limited here. In some embodiments of this application, the second condition includes at least one of the following:

[0044] No first response information from the target base station to the target request message was received. The first response information is used to instruct the target base station to allow the execution of the target processing.

[0045] The system receives a second response message from the target base station to the target request message, and the content of the second response message matches the first target information. The second response message is used to instruct the target base station not to perform the target processing.

[0046] The target base station receives a second response message to the target request message. The content of the second response message does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a second threshold.

[0047] This increases the flexibility and diversity of the second condition.

[0048] In this context, a fake base station can be understood as an illegal radio communication device that has not obtained a telecommunications equipment network access license and radio transmission equipment type approval. It operates centered on itself, collecting information from electronic devices within a certain radius, and then impersonating the phone numbers of other electronic device users to forcibly send various types of short messages to those devices. These short messages can include fraudulent messages, promotional messages, and sensitive information.

[0049] In addition, when a target electronic device connects to a fake base station, it will cause the loss of its International Mobile Subscriber Identity (IMSI) and International Mobile Equipment Identity (IMEI), reducing user privacy. When the target electronic device's signal is forcibly connected by a fake base station, it will be disconnected from the network for 8 to 12 seconds, and the target electronic device needs to be restarted to reconnect to the network and reconnect to a normal base station, which reduces the network adaptability experience of the target electronic device. After the fake base station captures the target electronic device, it can impersonate other people's numbers and forcibly push a large number of spam text messages to the target electronic device.

[0050] In this embodiment of the application, through steps 101 to 103, when the operator tag carried by the system message meets the first condition and the response of the target base station to the target request message meets the second condition, it indicates that the target base station meets the characteristics of a fake base station, that is, the probability that the target base station is a fake base station is relatively high. At this time, the target base station is identified as a fake base station, which can improve the accuracy of the fake base station identification result.

[0051] In some embodiments of this application, determining the target base station as a fake base station when the target base station's response to the target request message meets a second condition includes:

[0052] If no first response is received from the target base station in response to the target request message, the target base station is identified as a fake base station.

[0053] The first response information is used to instruct the target base station to allow the execution of the target processing.

[0054] In this embodiment of the application, when the first reply information of the target base station to the target request message is not received, it can be assumed that the target base station has ignored the target request message sent by the target electronic device, or that the target base station cannot correctly reply to the first reply message based on the target request message. In this case, the probability that the target base station is a fake base station increases, and thus the target base station can be identified as a fake base station. This improves the accuracy of the fake base station identification result.

[0055] It should be noted that the flowchart of the embodiments of this application can be found in [reference needed]. Figure 2 As shown, that is Figure 2 Steps 201 to 203 can be understood as the various steps included in the embodiments of this application, and will not be described in detail here.

[0056] In some embodiments of this application, determining the target base station as a fake base station when no first response information from the target base station to the target request message is received includes:

[0057] If no first response is received from the target base station to the target request message during the time period from the first moment to the second moment, the target base station is identified as a fake base station.

[0058] Wherein, the first moment is the moment when the target request message is sent to the target base station, the second moment is later than the first moment, and the second moment is spaced out by a first duration.

[0059] The specific value of the first duration is not limited here.

[0060] In this embodiment of the application, if the first response information of the target base station to the target request message is not received within the time period between the first time and the second time, it can be considered that the target base station has timed out and failed to respond to the target request message sent by the target electronic device. In this way, the target base station can be identified as a fake base station. This can save the resource overhead of the target electronic device waiting for the first response information of the target base station and reduce resource consumption.

[0061] In some embodiments of this application, determining the target base station as a fake base station when no first response information from the target base station to the target request message is received includes:

[0062] If no first response information is received from the target base station for the target request message within a preset time period starting from the first moment, the target base station is identified as a fake base station. The first moment is the moment when the target request message is sent to the target base station.

[0063] In this embodiment of the application, if no first reply information is received within a preset time period starting from the first moment when the target request message is sent to the target base station, the target base station can be identified as a fake base station. This not only saves the resource consumption of the target electronic device, but also increases the diversity of the determination methods for identifying the target base station as a fake base station.

[0064] In some embodiments of this application, determining the target base station as a fake base station when no first response information from the target base station to the target request message is received includes:

[0065] If a target electronic device is located within a preset range of a target base station and does not receive a first response from the target base station to the target request message, the target base station is identified as a fake base station.

[0066] In this embodiment, the target base station is identified as a fake base station only when the target electronic device is within a preset range of the target base station and has not received the first reply information. This can distinguish between a normal base station and a situation where the target electronic device is outside the preset range of the target base station and cannot receive the first reply information, thereby further improving the accuracy of the fake base station identification result.

[0067] In some embodiments of this application, determining the target base station as a fake base station when the target base station's response to the target request message meets a second condition includes:

[0068] If the target base station receives a second response message to the target request message, and the content of the second response message matches the first target information, the target base station is identified as a fake base station.

[0069] The second response information is used to instruct the target base station not to perform the target processing.

[0070] The specific content of the target service is not limited here, and the type of target base station and the target service can correspond to each other. For example, when the target base station is a 4G base station, the target service may include at least one of the following: Tracking Area Update (TAU), ATTACH request, and Service Request (SR). When the target base station is a 5G base station, the target service may include at least one of the following: Register Request (RegReq) and Service Request (SR).

[0071] The specific content of the first target information is not limited here. For example, the first target information may include at least one of the following: cause#13 (Roaming not allowed in this tracking area) and cause#15 (No suitable cells in tracking area).

[0072] In addition, the first target information can be the content of the second response information, or the first target information can be the rejection reason information included in the content of the second response information, and the aforementioned rejection reason information can be the reason information replied by the target base station.

[0073] It should be noted that when the first target information is the rejection reason information included in the information content of the second response information, the rejection reason information may also include at least one of the following: cause#13 (Roaming not allowed in this tracking area) and cause#15 (No suitable cells in tracking area).

[0074] In this embodiment of the application, when the target base station does not allow the target electronic device to perform target processing, and the information content of the second reply information matches the first target information, the target base station can be accurately determined to be a fake base station, thereby further improving the accuracy of the fake base station identification result.

[0075] It should be noted that if the target base station is a normal base station and the normal base station does not allow the target electronic device to perform target processing, the content of the second response information will usually not match the first target information. Therefore, if the content of the second response information matches the first target information, the target base station can be directly identified as a fake base station.

[0076] In other embodiments of this application, determining the target base station as a fake base station when the target base station's response to the target request message satisfies a second condition includes:

[0077] If the target base station receives a second response message to the target request message, and the tag information carried in the second response message matches the first target tag information, the target base station is identified as a fake base station.

[0078] The second response information is used to indicate that the target base station does not allow the target processing to be performed, and the tag information carried in the second response information is used to indicate the reason why the target base station does not allow the target processing to be performed.

[0079] The first target label information can refer to the description of the first target information above, that is, the first target label information can be at least one of the following: cause#13 (Roaming not allowed in this tracking area) and cause#15 (No suitable cells in tracking area).

[0080] In this embodiment, when the target base station does not allow the target electronic device to perform target processing, and the tag information carried in the second response information matches the first target tag information, the target base station can be accurately identified as a fake base station, thereby further improving the accuracy of fake base station identification results. Furthermore, it can further enhance the diversity and flexibility of methods for determining fake base stations.

[0081] In other embodiments of this application, determining the target base station as a fake base station when the target base station's response to the target request message satisfies a second condition includes:

[0082] If the target base station receives a second response message to the target request message, and the tag information carried in the second response message belongs to the first target category, the target base station is identified as a fake base station.

[0083] The second response information is used to indicate that the target base station does not allow the target processing to be performed, and the tag information carried in the second response information is used to indicate the reason why the target base station does not allow the target processing to be performed.

[0084] When the tag information carried in the second response information belongs to the first target category, it can be determined that the rejection reason information for the target base station not allowing the target electronic device to perform target processing includes at least one of the following: cause#13 (Roaming not allowed in this tracking area) and cause#15 (No suitable cells in tracking area).

[0085] In this embodiment, when the target base station does not allow the target electronic device to perform target processing, and the classification carried by the second reply information belongs to the first target classification, the target base station can be accurately identified as a fake base station, thereby further improving the accuracy of fake base station identification results. Furthermore, it can further enhance the diversity and flexibility of the methods for determining fake base stations.

[0086] In some embodiments of this application, determining the target base station as a fake base station when the target base station's response to the target request message meets a second condition includes:

[0087] If the target base station receives a second response message to the target request message, and the content of the second response message does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a preset threshold, the target base station is identified as a fake base station.

[0088] The second response information is used to instruct the target base station not to perform the target processing.

[0089] The type of periodic location update timer can vary depending on the type of target base station, meaning that the type of periodic location update timer can correspond one-to-one with the type of target base station.

[0090] For example, when the target base station is a 4G base station, the periodic location update timer can be a T3412 timer, and when the target base station is a 5G base station, the periodic location update timer can be a T3512 timer.

[0091] In this embodiment, since fake base stations need to increase the frequency of periodic location updates, i.e. shorten the location update interval, in order to connect more electronic devices, while normal base stations have a lower frequency of periodic location updates, i.e., the location update interval of normal base stations is usually longer, when the information content of the second response information does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a preset threshold, it can be determined that the periodic location update frequency of the target base station is higher and the location update interval is shorter, i.e., the probability that the target base station is a fake base station is higher. In this way, the accuracy of the fake base station identification result can be further improved.

[0092] In some embodiments of this application, for example, when the target base station is a 4G base station, the periodic location update timer can be a T3412 timer, and the preset threshold can usually be 60 minutes. When the second reply information of the target base station to the target request message is received, the information of the first target information may include at least one of the following: cause#13 (Roaming not allowed in this tracking area) and cause#15 (No suitable cells in tracking area). The content of the second reply information does not match the content of the first target information, but it is detected that the location update interval of the T3412 timer is 6 minutes, which is less than the preset threshold of 60 minutes. Therefore, the target base station can be determined to be a fake base station.

[0093] In addition, if the location update interval of the T3412 timer is detected to be 120 minutes, which is greater than the preset threshold of 60 minutes, the target base station can be determined to be a normal base station or a suspicious base station.

[0094] In some embodiments of this application, for example, when the target base station is a 5G base station, the periodic location update timer can be a T3512 timer, and the preset threshold can usually be 60 minutes. When the second reply information of the target base station to the target request message is received, the information of the first target information may include at least one of the following: cause#13 (Roaming not allowed in this tracking area) and cause#15 (No suitable cells in tracking area). The content of the second reply information does not match the content of the first target information, but if the location update interval of the T3512 timer is detected to be 12 minutes, which is less than the preset threshold of 60 minutes, then the target base station can be determined to be a fake base station.

[0095] In addition, if the location update interval of the T3512 timer is detected to be 70 minutes, which is greater than the preset threshold of 60 minutes, the target base station can be determined to be a normal base station or a suspicious base station.

[0096] In some embodiments of this application, the method further includes:

[0097] If the location update interval is greater than or equal to the preset threshold, the target base station is identified as a suspicious base station.

[0098] If the information received from the target base station includes sensitive information, the suspicious base station is identified as a fake base station.

[0099] Suspicious base stations can also be called suspected fake base stations, meaning that the status of a suspicious base station is not yet determined. It may be a fake base station or a normal base station, and further judgment is needed.

[0100] In this embodiment of the application, when the location update interval is greater than or equal to a preset threshold, the target base station can be identified as a suspicious base station. At the same time, when the information sent by the target base station includes sensitive information, the suspicious base station can be corrected to a fake base station, thereby improving the accuracy of the fake base station identification result.

[0101] It should be noted that usually only fake base stations send sensitive information to target electronic devices. Therefore, when the received information includes sensitive information, the suspicious base station can be identified as a fake base station. Sensitive information can include fraudulent information, sales information, advertising information, etc.

[0102] In some embodiments of this application, the method is applied to a target electronic device, and after determining the target base station as a fake base station, the method further includes:

[0103] The target base station is stored in the fake base station list to prevent the target base station from communicating with the target electronic device from the third time to the fourth time.

[0104] The third time is the time when the target base station is stored in the fake base station list, the fourth time is later than the third time, and the fourth time is the time when the target electronic device is restarted.

[0105] The list of fake base stations can also be called the fake base station blacklist.

[0106] In this embodiment of the application, after determining that the target base station is a fake base station, the target base station can be saved to the fake base station list, thereby controlling the target base station and prohibiting it from communicating with the target electronic device from the third time to the fourth time. This can reduce the interference of the target base station on the communication between the target electronic device and the normal base station, improve the communication security of the target electronic device, and at the same time, reduce the sensitive information sent by the target base station to the target electronic device, thereby enhancing the performance of the target electronic device.

[0107] In addition, after the fourth moment, that is, after the target electronic device restarts, the target base station can be removed from the fake base station list, that is, communication between the target base station and the target electronic device is no longer prohibited. This provides a control method for removing the target base station from the fake base station list. That is, when the target base station is mistakenly added to the fake base station list, it can be removed from the fake base station list by restarting the target electronic device, thus providing a way to correct the fake base station list.

[0108] In some embodiments of this application, for example, the third time is the time when the target base station is stored in the fake base station list. When the third time is 2 o'clock, and the target electronic device restarts at 2:30, then the fourth time is 2:30. Therefore, during the period from 2 o'clock to 2:30, communication between the target base station and the target electronic device is prohibited.

[0109] In some embodiments of this application, for example, if the third time is 2 o'clock and the target electronic device restarts at 2:30 on the next day, then the fourth time is 2:30 on the next day. Therefore, during the period from 2 o'clock to 2:30 on the next day, communication between the target base station and the target electronic device is prohibited.

[0110] In some embodiments of this application, after determining the target base station as a fake base station, the method further includes at least one of the following:

[0111] Big data tracking is performed on the second target information of the target base station;

[0112] The server sends the second target information of the target base station to the server so that the server instructs an electronic device to forward the second target information.

[0113] The second target information of the target base station may include at least one of the following: Physical-layer Cell Identity (PCI), Cell Identity (Cell ID), Tracking Area Code (TAC), and location information, wherein the location information may be the latitude and longitude information of the target base station.

[0114] In this embodiment, big data tracking is performed on the second target information of the target base station. This allows for the tracking of interactions between the target base station and other electronic devices, thereby improving the monitoring of the target base station and enhancing its control. Simultaneously, by tracking the second target information, data on fake base stations can also be collected, providing more data support for the control of fake base stations and further enhancing its effectiveness. For example, the distribution of fake base station numbers in various cities can be collected and reported to the servers of relevant agencies, enabling targeted monitoring and control of individual fake base stations.

[0115] It should be noted that the data collected from fake base stations may include at least one of the following: Physical-layer Cell Identity (PCI), Cell Identity (CellID), Tracking Area Code (TAC), and latitude and longitude.

[0116] In addition, sending the second target information of the target base station to the server allows the server to instruct an electronic device to forward the second target information. This means that the second target information can be shared with other electronic devices, which can enhance the identification effect of other electronic devices on the target base station and reduce the occurrence of other electronic devices connecting to the target base station, thus preventing the phenomenon of deterioration in the performance of other electronic devices.

[0117] It should be noted that the aforementioned other electronic devices and the target electronic device may be electronic devices manufactured by the same manufacturer; or, the aforementioned other electronic devices and the target electronic device may be electronic devices manufactured by different manufacturers, but the other electronic devices and the target electronic device may be in the same dialogue group; or, the aforementioned other electronic devices may be within the preset range of the target electronic device.

[0118] In some embodiments of this application, after receiving the system message sent by the target base station, the method further includes:

[0119] If the operator tag carried in the system message does not meet the first condition, M target request messages are sent to the target base station, where M is an integer greater than 1;

[0120] If the target base station ignores all M target request messages, the target base station is identified as a suspicious base station.

[0121] The specific value of M is not limited here; for example, M can be 3.

[0122] The aforementioned suspicious base stations can also be referred to as suspected fake base stations, meaning that a suspicious base station may or may not be a fake base station.

[0123] In this embodiment of the application, when all M target request messages are ignored by the target base station, the communication link between the target base station and the target electronic device may be down, resulting in the target electronic device not receiving the response message from the target base station to the M target request messages. Alternatively, the target base station may not be able to correctly provide a response message to the M target request messages and may directly ignore the M target request messages. Therefore, the target base station may be identified as a suspicious base station, which means that it is necessary to further determine the type of suspicious base station to avoid the phenomenon of misjudging the target base station as a normal base station or a fake base station.

[0124] In some embodiments of this application, the method is applied to a target electronic device, and after determining the target base station as a suspicious base station, the method further includes:

[0125] The target base station is saved to the list of suspicious base stations to prevent the target base station from communicating with the target electronic device from the fifth time to the sixth time. The fifth time is the time when the target base station is added to the list of suspicious base stations. The sixth time is later than the fifth time, and there is a second time interval between the sixth time and the fifth time.

[0126] Among them, when the target base station is a suspicious base station, communication between the target base station and the target electronic device can be temporarily prohibited, and the prohibition period is the second duration.

[0127] It should be noted that the specific value of the second duration mentioned above is not limited here. For example, the second duration can be any value between 60 minutes and 180 minutes.

[0128] In this embodiment of the application, when the target base station is determined to be a suspicious base station, that is, when it is impossible to accurately determine whether the target base station is a fake base station or a normal base station, the communication between the target base station and the target electronic device can be temporarily prohibited to reduce the interference of the target base station on the communication between the target electronic device and other normal base stations, thereby ensuring that the communication performance between the target electronic device and other normal base stations is good.

[0129] In some embodiments of this application, after sending M target request messages to the target base station, the method further includes:

[0130] If the target base station responds to at least one of the M target request messages, the target base station is determined to be a normal base station, where N is an integer greater than 1 and less than M.

[0131] If the information received from the target base station includes sensitive information, the normal base station is identified as a fake base station.

[0132] If at least one of the M target request messages is answered by the target base station, then the target base station can be determined to be a normal base station.

[0133] This can also be understood as follows: if only N out of M target request messages are ignored by the target base station, and MN target request messages are responded to by the target base station, then the target base station can be determined to be a normal base station.

[0134] In this embodiment of the application, after determining that the target base station is a normal base station, since only fake base stations usually send sensitive information to the target electronic device, if the information sent by the target base station includes sensitive information, the normal base station can be corrected to a fake base station, thereby further enhancing the accuracy of the target base station identification result.

[0135] It should be noted that after correcting the target base station to a fake base station, it is still necessary to manage and control the target base station in order to reduce the interference of the target base station on the communication performance of the target electronic equipment.

[0136] In this embodiment of the application, for example, the value of M can be 3. If at least one of the three target request messages is responded to by the target base station, the target base station can be identified as a normal base station. If one of the three target request messages is responded to by the target base station and two of the target request messages are ignored by the target base station, the target base station can be identified as a normal base station. If two of the three target request messages are responded to by the target base station and one of the target request messages is ignored by the target base station, the target base station can be identified as a normal base station. If all three of the three target request messages are responded to by the target base station, the target base station can be identified as a normal base station.

[0137] See Figure 3 , Figure 3 A flowchart of a fake base station identification method provided in this application embodiment is shown below. Figure 3 As shown, Figure 3 Steps 301 to 315 included herein can fully encompass the relevant content of the various embodiments described above, that is... Figure 3 Steps 301 to 315 are a collection of embodiments of the above-described implementation methods, and will not be described in detail here.

[0138] Please refer to Tables 1 and 2, which each include two scenarios to illustrate the embodiments of this application. Specifically, Table 1 includes scenario 1 and scenario 2, and Table 2 includes scenario 3 and scenario 4. For details, please refer to the relevant descriptions below.

[0139] Table 1

[0140]

[0141] Table 2

[0142]

[0143] Referring to Table 1, the target base stations for scenarios 1 and 2 in Table 1 are 4G base stations, and the standard of the target base stations is Long Term Evolution (LTE). In Scenario 1 (Evolution, LTE), the operator tag carried by the system message is a combination of CMCC, CU, and CT. This combination is one of the candidate operator tag combinations, meaning the operator tag carried by the system message in Scenario 1 meets the first condition. The second response information in Scenario 1 is cause#13, indicating that the content of the second response information matches the first target information. The periodic location update timer is T3412, and the second threshold can be 60 minutes. The location update interval corresponding to this timer is 6 minutes, which is significantly less than the second threshold. Furthermore, no spam messages were received from the target base station. Spam messages include information containing sensitive content. Therefore, the target base station in Scenario 1 can be identified as a fake base station. The control result for this fake base station is to permanently add it to the fake base station list, i.e., permanently prohibit the base station from communicating with the target electronic device. Relevant information about the fake base station can be collected for data collection. In this way, by combining the above information, the accuracy of the fake base station identification result can be improved.

[0144] In Scenario 2, the operator tag carried by the system message is a combination of CMCC and CT. However, the combination of CMCC and CT is not a candidate operator tag combination. In other words, the operator tag carried by the system message in Scenario 2 does not meet the first condition. In Scenario 2, the target electronic device receives the first reply information from the target base station in response to the target request message, that is, the target base station allows the target electronic device to perform target processing, which is TAU, ATTACH, or SR. In Scenario 2, the periodic location update timer is T3412, and the location update interval corresponding to this timer is 120 minutes, which is significantly greater than the second threshold. The target electronic device in Scenario 2 does not receive spam information sent by the target base station. Therefore, the target base station corresponding to Scenario 1 can be identified as a normal base station. This distinguishes between normal base stations and fake base stations, filters out normal base stations, and allows for further detection of normal base stations. That is, it determines whether the information sent by the normal base station includes sensitive information. If sensitive information is received, the normal base station can be identified as a fake base station. This reduces the occurrence of fake base stations being mistakenly identified as normal base stations and improves the accuracy of fake base station identification results.

[0145] Referring to Table 2, the target base stations corresponding to scenarios 3 and 4 in Table 2 are 5G base stations, and the standard of the target base stations is New Radio (NR). The operator tags carried by the system messages in scenario 3 are CMCC&CU&CT, and the combination of CMCC&CU&CT is a candidate operator tag combination. That is to say, the operator tags carried by the system messages in scenario 3 meet the first condition, and the target processing is Register Request / SR. The target base station ignores the target request message, that is, it does not respond to the target request message. The target electronic device does not receive the first reply information of the target base station to the target request message. The periodic location update timer is T3512, and the location update interval of this timer is 12 minutes, which is significantly less than the second threshold. No spam information is received from the target base station. Therefore, the target base station corresponding to scenario 3 can be identified as a fake base station. The control result of this fake base station is to permanently add the fake base station to the fake base station list, that is, to permanently prohibit the base station from communicating with the target electronic device. And the relevant information of the fake base station can be collected for tracking. In this way, by combining the above-mentioned multiple information, the accuracy of the fake base station identification result can be improved.

[0146] In Scenario 4, the system message carries operator tags CMCC and CT. However, the combination of CMCC and CT is not a candidate operator tag combination. In other words, the operator tags carried by the system message in Scenario 4 do not meet the first condition. In Scenario 4, the target electronic device receives the first response information from the target base station in response to the target request. The target processing is Register Request or SR. In Scenario 4, the periodic location update timer is T3512, and the value of this timer is 60 minutes, which is equal to the second threshold. The target electronic device in Scenario 4 does not receive any spam messages sent by the target base station. Therefore, the target base station in Scenario 4 can be identified as a normal base station. This distinguishes between normal base stations and fake base stations, filters out normal base stations, and allows for further detection of normal base stations. Specifically, it determines whether the information sent by the normal base station includes sensitive information. If sensitive information is received, the normal base station can be identified as a fake base station. This reduces the occurrence of falsely identifying fake base stations as normal base stations and improves the accuracy of fake base station identification results.

[0147] See Figure 4 , Figure 4 A specific application embodiment of the fake base station identification method provided in this application may include the following steps:

[0148] Step 401: The target electronic device sends a registration request to the target base station;

[0149] It should be noted that after step 401, the target electronic device can receive system messages sent by the target base station. The system messages are the response information of the target base station to the registration request, and the system messages may carry operator tags.

[0150] Step 402: Detect whether the target base station is a fake base station based on system messages;

[0151] The method for detecting fake base stations can be found in the various implementation methods for determining fake base stations described above. Specifically, it can be combined with whether the operator tag carried in the system message meets the first condition, and whether the target base station's response to the target request message meets the second condition to detect whether the target base station is a fake base station.

[0152] In some embodiments of this application, when the operator tag carried by the system message meets a first condition, a target request message is sent to the target base station. The target request message is used to request the target base station to allow the execution of target processing, which is the processing of executing a target service.

[0153] If the target base station's response to the target request message meets the second condition, the target base station is identified as a fake base station.

[0154] In some embodiments of this application, determining the target base station as a fake base station when the target base station's response to the target request message meets a second condition includes:

[0155] If no first response is received from the target base station in response to the target request message, the target base station is identified as a fake base station.

[0156] The first response information is used to instruct the target base station to allow the execution of the target processing.

[0157] In some embodiments of this application, determining the target base station as a fake base station when no first response information from the target base station to the target request message is received includes:

[0158] If no first response is received from the target base station to the target request message during the time period from the first moment to the second moment, the target base station is identified as a fake base station.

[0159] Wherein, the first moment is the moment when the target request message is sent to the target base station, the second moment is later than the first moment, and the second moment is spaced out by a first duration.

[0160] In some embodiments of this application, determining the target base station as a fake base station when the target base station's response to the target request message meets a second condition includes:

[0161] If the target base station receives a second response message to the target request message, and the content of the second response message matches the first target information, the target base station is identified as a fake base station; or,

[0162] If the target base station receives a second response message to the target request message, and the content of the second response message does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a preset threshold, the target base station is identified as a fake base station.

[0163] The second response information is used to instruct the target base station not to perform the target processing.

[0164] In some embodiments of this application, the method further includes:

[0165] If the location update interval is greater than or equal to the preset threshold, the target base station is identified as a suspicious base station.

[0166] If the information received from the target base station includes sensitive information, the suspicious base station is identified as a fake base station.

[0167] In some embodiments of this application, the method is applied to a target electronic device, and after determining the target base station as a fake base station, the method further includes:

[0168] The target base station is stored in the fake base station list to prevent the target base station from communicating with the target electronic device from the third time to the fourth time.

[0169] The third time is the time when the target base station is stored in the fake base station list, the fourth time is later than the third time, and the fourth time is the time when the target electronic device is restarted.

[0170] It should be noted that steps 403, 404, and 405 are optional.

[0171] Step 403: When the target base station is a fake base station, the fake base station can be monitored;

[0172] The monitoring methods for fake base stations may include at least one of the following information: relevant information of electronic devices communicating with the fake base station, and communication information between the fake base station and the electronic devices; in addition, it may be determined whether there is sensitive information in the collected information. If there is sensitive information, it is necessary to control the fake base station or the electronic devices communicating with the fake base station, such as restricting the communication functions of the fake base station or the electronic devices.

[0173] Step 404: Perform big data embedding on the second target information of the target base station;

[0174] Among these methods, big data tracking is used to embed secondary target information of the target base station. This allows for the tracking of interactions between the target base station and other electronic devices, thereby enabling better monitoring of the target base station and enhancing its control.

[0175] Step 405: The target electronic device connects to a normal base station;

[0176] In step 405, the communication between the target electronic device and the fake base station is switched to communication between the target electronic device and the normal base station, thereby ensuring the normal realization of the communication function of the target electronic device and reducing the impact of the fake base station on the communication function of the target electronic device.

[0177] This can improve the accuracy of fake base station identification and enhance the performance of target electronic devices.

[0178] It should be noted that the fake base station identification method provided in this application can be executed by a fake base station identification device or a control module within that device for performing the fake base station identification method. This application uses the fake base station identification device performing the fake base station identification method as an example to illustrate the fake base station identification device provided in this application.

[0179] See Figure 5 , Figure 5 This is a schematic diagram of the structure of a fake base station identification device provided in an embodiment of this application, as shown below. Figure 5 As shown, the fake base station identification device 500 includes:

[0180] The receiving module 501 is used to receive system messages sent by the target base station;

[0181] The sending module 502 is configured to send a target request message to the target base station when the operator tag carried in the system message meets a first condition. The target request message is used to request the target base station to allow the execution of target processing, which is the execution of target services.

[0182] The determination module 503 is used to determine the target base station as a fake base station when the target base station's response to the target request message meets the second condition.

[0183] Optionally, the first condition includes at least one of the following: the number of operator tags carried by the system message is greater than a first threshold;

[0184] The system message carries at least two operator tags, and the tag combination consisting of the at least two operator tags is the same as any of the alternative operator tag combinations;

[0185] The second condition includes at least one of the following:

[0186] No first response information from the target base station to the target request message was received. The first response information is used to instruct the target base station to allow the execution of the target processing.

[0187] The system receives a second response message from the target base station to the target request message, and the content of the second response message matches the first target information. The second response message is used to instruct the target base station not to perform the target processing.

[0188] The target base station receives a second response message to the target request message. The content of the second response message does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a second threshold.

[0189] Optionally, the determining module 503 is further configured to determine the target base station as a fake base station if it does not receive a first response message from the target base station to the target request message; wherein the first response message is used to instruct the target base station to allow the execution of the target processing.

[0190] Optionally, the determining module 503 is further configured to:

[0191] If the target base station receives a second response message to the target request message, and the content of the second response message matches the first target information, the target base station is identified as a fake base station; or,

[0192] If the target base station receives a second response message to the target request message, and the content of the second response message does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a preset threshold, the target base station is identified as a fake base station.

[0193] The second response information is used to instruct the target base station not to perform the target processing.

[0194] Optionally, the determining module 503 is further configured to: determine the target base station as a fake base station if no first response information to the target request message is received from the target base station during the time period from the first time to the second time.

[0195] Wherein, the first moment is the moment when the target request message is sent to the target base station, the second moment is later than the first moment, and the second moment is spaced out by a first duration.

[0196] Optionally, the determining module 503 is further configured to: determine the target base station as a fake base station when it receives a second response message from the target base station to the target request message, and the content of the second response message matches the first target information; or,

[0197] If the target base station receives a second response message to the target request message, and the content of the second response message does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a preset threshold, the target base station is identified as a fake base station.

[0198] The second response information is used to instruct the target base station not to perform the target processing.

[0199] Optionally, the determining module 503 is further configured to:

[0200] If the location update interval is greater than or equal to the preset threshold, the target base station is identified as a suspicious base station.

[0201] If the information received from the target base station includes sensitive information, the suspicious base station is identified as a fake base station.

[0202] Optionally, the fake base station identification device 500 is applied to the target electronic device, see [link to relevant documentation]. Figure 6 The fake base station identification device 300 also includes:

[0203] Storage module 504 is used to store the target base station in a fake base station list to prevent the target base station from communicating with the target electronic device from the third time to the fourth time.

[0204] The third time is the time when the target base station is stored in the fake base station list, the fourth time is later than the third time, and the fourth time is the time when the target electronic device is restarted.

[0205] Optionally, a fake base station identification device 500, see [link to documentation]. Figure 6 It also includes at least one of the following:

[0206] The data collection module 505 is used to collect big data data on the second target information of the target base station;

[0207] The sending module 502 is also configured to send the second target information of the target base station to the server, so that the server instructs an electronic device to forward the second target information.

[0208] Optionally, the sending module 502 is further configured to send M target request messages to the target base station if the operator tag carried in the system message does not meet the first condition, where M is an integer greater than 1;

[0209] The determination module 503 is further configured to determine the target base station as a suspicious base station if the target base station ignores all M target request messages.

[0210] Optionally, the determining module 503 is also used for:

[0211] If the target base station responds to at least one of the M target request messages, the target base station is determined to be a normal base station, where N is an integer greater than 1 and less than M.

[0212] If the information received from the target base station includes sensitive information, the normal base station is identified as a fake base station.

[0213] The fake base station identification device provided in this application embodiment can improve the accuracy of fake base station identification results.

[0214] The fake base station identification device in this application embodiment 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. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.

[0215] The fake base station identification device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.

[0216] The fake base station identification device provided in this application embodiment can achieve... Figure 1 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0217] Optional, such as Figure 7 As shown, this application embodiment also provides an electronic device 700, including a processor 701, a memory 702, and a program or instructions stored in the memory 702 and executable on the processor 701. When the program or instructions are executed by the processor 701, they implement the various processes of the above-described fake base station identification method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0218] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0219] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0220] The electronic device 800 includes, but is not limited to, components such as: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, and processor 810.

[0221] Those skilled in the art will understand that the electronic device 800 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 810 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 8 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0222] The radio frequency unit 801 is used to receive system messages sent by the target base station; when the operator tag carried in the system message meets the first condition, it sends a target request message to the target base station, the target request message being used to request the target base station to allow the execution of target processing, the target processing being the execution of target services.

[0223] The processor 810 is configured to identify the target base station as a fake base station if the target base station's response to the target request message meets a second condition.

[0224] Optionally, the first condition includes at least one of the following:

[0225] The number of operator tags carried in the system message is greater than the first threshold;

[0226] The system message carries at least two operator tags, and the tag combination consisting of the at least two operator tags is the same as any of the alternative operator tag combinations;

[0227] The second condition includes at least one of the following:

[0228] No first response information from the target base station to the target request message was received. The first response information is used to instruct the target base station to allow the execution of the target processing.

[0229] The system receives a second response message from the target base station to the target request message, and the content of the second response message matches the first target information. The second response message is used to instruct the target base station not to perform the target processing.

[0230] The target base station receives a second response message to the target request message. The content of the second response message does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a second threshold.

[0231] Optionally, the processor 810, when the response of the target base station to the target request message satisfies the second condition, determines the target base station as a fake base station, including:

[0232] If no first response is received from the target base station in response to the target request message, the target base station is identified as a fake base station.

[0233] The first response information is used to instruct the target base station to allow the execution of the target processing.

[0234] Optionally, the processor 810, in the case of not receiving a first response from the target base station to the target request message, determines the target base station as a fake base station, including:

[0235] If no first response is received from the target base station to the target request message during the time period from the first moment to the second moment, the target base station is identified as a fake base station.

[0236] Wherein, the first moment is the moment when the target request message is sent to the target base station, the second moment is later than the first moment, and the second moment is spaced out by a first duration.

[0237] Optionally, the processor 810, when the response of the target base station to the target request message satisfies the second condition, determines the target base station as a fake base station, including:

[0238] If the target base station receives a second response message to the target request message, and the content of the second response message matches the first target information, the target base station is identified as a fake base station; or,

[0239] If the target base station receives a second response message to the target request message, and the content of the second response message does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a preset threshold, the target base station is identified as a fake base station.

[0240] The second response information is used to instruct the target base station not to perform the target processing.

[0241] Optionally, the processor 810 is also used for:

[0242] If the location update interval is greater than or equal to the preset threshold, the target base station is identified as a suspicious base station.

[0243] If the information received from the target base station includes sensitive information, the suspicious base station is identified as a fake base station.

[0244] Optionally, the method is applied to the target electronic device, processor 810, and is further used for:

[0245] The target base station is stored in the fake base station list to prevent the target base station from communicating with the target electronic device from the third time to the fourth time.

[0246] The third time is the time when the target base station is stored in the fake base station list, the fourth time is later than the third time, and the fourth time is the time when the target electronic device is restarted.

[0247] Optionally, the processor 810 is further configured to: perform big data embedding on the second target information of the target base station; and / or, the radio frequency unit 801 is further configured to: send the second target information of the target base station to the server so that the server instructs an electronic device to forward the second target information.

[0248] Optionally, the radio frequency unit 801 is further configured to: send M target request messages to the target base station, where M is an integer greater than 1, if the operator tag carried in the system message does not meet the first condition;

[0249] The processor 810 is further configured to: identify the target base station as a suspicious base station if all M target request messages are ignored by the target base station.

[0250] Optionally, the processor 810 is further configured to: determine the target base station as a normal base station if the target request message is responded to by the target base station at least once in the M target request messages, where N is an integer greater than 1 and less than M;

[0251] If the information received from the target base station includes sensitive information, the normal base station is identified as a fake base station.

[0252] It should be understood that, in this embodiment, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The GPU 8041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here. The memory 809 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understandable that the aforementioned modem processor may not be integrated into the processor 810.

[0253] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described fake base station identification method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0254] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0255] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described fake base station identification method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0256] This application also provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0257] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0258] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0259] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0260] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for identifying fake base stations, characterized in that, include: Receive system messages sent by the target base station; If the operator tag carried in the system message meets the first condition, a target request message is sent to the target base station. The target request message is used to request the target base station to allow the execution of target processing, which is the execution of target service processing. If the target base station's response to the target request message meets the second condition, the target base station is identified as a fake base station. The second condition includes receiving a second response message from the target base station to the target request message, wherein the content of the second response message does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a second threshold; the second response message is used to indicate that the target base station does not allow the execution of the target processing.

2. The method according to claim 1, characterized in that, The first condition includes at least one of the following: The number of operator tags carried in the system message is greater than the first threshold; The system message carries at least two operator tags, and the tag combination consisting of the at least two operator tags is the same as any of the alternative operator tag combinations; The second condition also includes at least one of the following: No first response information from the target base station to the target request message was received. The first response information is used to instruct the target base station to allow the execution of the target processing. The system receives a second response message from the target base station to the target request message, and the content of the second response message matches the first target information.

3. The method according to claim 1, characterized in that, The step of identifying the target base station as a fake base station when the target base station's response to the target request message meets the second condition includes: If no first response is received from the target base station in response to the target request message, the target base station is identified as a fake base station. The first response information is used to instruct the target base station to allow the execution of the target processing.

4. The method according to claim 3, characterized in that, The step of identifying the target base station as a fake base station when no first response information is received from the target base station to the target request message includes: If no first response is received from the target base station to the target request message during the time period from the first moment to the second moment, the target base station is identified as a fake base station. Wherein, the first moment is the moment when the target request message is sent to the target base station, the second moment is later than the first moment, and the second moment is spaced out by a first duration.

5. The method according to claim 1, characterized in that, The step of identifying the target base station as a fake base station when the target base station's response to the target request message meets the second condition includes: If the target base station receives a second response message to the target request message, and the content of the second response message matches the first target information, the target base station is identified as a fake base station.

6. The method according to claim 5, characterized in that, The method further includes: If the location update interval is greater than or equal to the second threshold, the target base station is identified as a suspicious base station; If the information received from the target base station includes sensitive information, the suspicious base station is identified as a fake base station.

7. The method according to any one of claims 1 to 6, characterized in that, The method is applied to a target electronic device. After determining that the target base station is a fake base station, the method further includes: The target base station is stored in the fake base station list to prevent the target base station from communicating with the target electronic device from the third time to the fourth time. The third time is the time when the target base station is stored in the fake base station list, the fourth time is later than the third time, and the fourth time is the time when the target electronic device is restarted.

8. The method according to any one of claims 1 to 6, characterized in that, After determining that the target base station is a fake base station, the method further includes at least one of the following: Big data tracking is performed on the second target information of the target base station; The server sends the second target information of the target base station to the server so that the server instructs an electronic device to forward the second target information.

9. The method according to any one of claims 1 to 6, characterized in that, After receiving the system message sent by the target base station, the method further includes: If the operator tag carried in the system message does not meet the first condition, M target request messages are sent to the target base station, where M is an integer greater than 1; If the target base station ignores all M target request messages, the target base station is identified as a suspicious base station.

10. The method according to claim 9, characterized in that, After sending M target request messages to the target base station, the method further includes: If the target base station responds to at least one of the M target request messages, the target base station is identified as a normal base station. If the information received from the target base station includes sensitive information, the normal base station is identified as a fake base station.

11. A fake base station identification device, characterized in that, include: The receiving module is used to receive system messages sent by the target base station; The sending module is configured to send a target request message to the target base station when the operator tag carried in the system message meets a first condition. The target request message is used to request the target base station to allow the execution of target processing, which is the execution of target services. The determination module is used to determine the target base station as a fake base station if the target base station's response to the target request message meets the second condition; The second condition includes receiving a second response message from the target base station to the target request message, wherein the content of the second response message does not match the first target information, and the location update interval of the periodic location update timer of the target base station is less than a second threshold; the second response message is used to indicate that the target base station does not allow the execution of the target processing.

12. The apparatus according to claim 11, characterized in that, The first condition includes at least one of the following: the number of operator tags carried by the system message is greater than a first threshold; The system message carries at least two operator tags, and the tag combination consisting of the at least two operator tags is the same as any of the alternative operator tag combinations; The second condition also includes at least one of the following: No first response information from the target base station to the target request message was received. The first response information is used to instruct the target base station to allow the execution of the target processing. The system receives a second response message from the target base station to the target request message, and the content of the second response message matches the first target information.

13. The apparatus according to claim 11, characterized in that, The determining module is further configured to determine the target base station as a fake base station if it does not receive a first response message from the target base station to the target request message; wherein the first response message is used to instruct the target base station to allow the execution of the target processing.

14. The apparatus according to claim 11, characterized in that, The determining module is further configured to: If the target base station receives a second response message to the target request message, and the content of the second response message matches the first target information, the target base station is identified as a fake base station.

15. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the fake base station identification method as described in any one of claims 1-10.

Citation Information

Patent Citations

  • Pseudo base station identification and defense method and terminal

    CN109474932A

  • Pseudo base station identification method and device, terminal and storage medium

    CN110312259A

  • Information processing method, terminal device and storage medium

    CN111988784A

  • Method and apparatus for identifying pseudo base station, and electronic device

    WO2024193372A1