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

By receiving and analyzing the system messages and responses of the target base station to determine whether it is a pseudo base station, the problem of large identification errors of pseudo base stations in the existing technology is solved, and the identification accuracy and communication stability of the terminal equipment are improved.

WO2024193372A1PCT designated stage expired Publication Date: 2024-09-26VIVO MOBILE COMM CO LTD

Patent Information

Application Number
PCT/CN2024/080889
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-17
Filing Date
2024-03-11
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Existing technologies have large errors when identifying pseudo base stations, which can easily cause terminal equipment to go offline or receive spam when connecting to pseudo base stations, affecting communication quality.

Method used

By receiving the system message sent by the target base station, it determines whether the operator tag meets specific conditions, and sends a target request message to the target base station. If the response of the target base station meets the specific conditions, it is determined to be a pseudo base station.

Benefits of technology

It improves the accuracy of pseudo base station identification results, reduces communication interference and spam reception caused by pseudo base station connections, and enhances the network stability of terminal equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024080889_26092024_PF_FP
    Figure CN2024080889_26092024_PF_FP
Patent Text Reader

Abstract

Disclosed in the present application are a method and apparatus for identifying a pseudo base station, and an electronic device. The method for identifying a pseudo base station comprises: receiving a system message, which is sent by a target base station; when an operator label carried by the system message meets a first condition, sending a target request message to the target base station, wherein the target request message is used for requesting that the target base station allows the execution of target processing, and the target processing is processing involving executing a target service; and when a response of the target base station to the target request message meets a second condition, determining the target base station to be a pseudo base station.
Need to check novelty before this filing date? Find Prior Art

Description

Fake base station identification method, device and electronic equipment

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese Patent Application No. 202310259431.9 filed in China on March 17, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application belongs to the field of communication technology, and specifically relates to a pseudo base station identification method, device and electronic equipment. Background Art

[0004] With the advancement of communications technology, base stations are playing an increasingly important role in communications. However, numerous fake base stations have emerged. These are illegal radio communications devices that lack a telecommunications equipment network access license and radio transmitter model approval. Connecting to a fake base station can easily lead to disconnection or the reception of spam messages. In practice, fake base stations are typically identified based on signal strength, but this identification can be subject to significant errors.

[0005] Summary of the Invention

[0006] The purpose of the embodiments of the present application is to provide a pseudo base station identification method, device and electronic device, which can improve the accuracy of pseudo base station identification results.

[0007] In order to solve the above technical problems, this application is implemented as follows:

[0008] In a first aspect, an embodiment of the present application provides a method for identifying a pseudo base station, including:

[0009] receiving a system message sent by a target base station;

[0010] If the operator tag carried by the system message meets the first condition, sending a target request message to the target base station, where the target request message is used to request the target base station to allow execution of a target process, where the target process is a process for executing a target service;

[0011] In a case where the response of the target base station to the target request message meets a second condition, the target base station is determined to be a pseudo base station.

[0012] In a second aspect, an embodiment of the present application provides a pseudo base station identification device, including:

[0013] A receiving module, configured to receive a system message sent by a target base station;

[0014] a sending module, configured to send a target request message to the target base station if the operator tag carried by the system message meets a first condition, wherein the target request message is used to request the target base station to allow execution of a target process, where the target process is a process for executing a target service;

[0015] The determination module is configured to determine the target base station as a pseudo base station when a response of the target base station to the target request message satisfies a second condition.

[0016] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0017] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0018] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.

[0019] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.

[0020] In an embodiment of the present 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 means that the target base station meets the characteristics of a pseudo base station, that is, the probability that the target base station is a pseudo base station is relatively high. At this time, the target base station is determined to be a pseudo base station. In this way, the accuracy of the identification result of the pseudo base station can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] FIG1 is a flowchart of a pseudo base station identification method provided by some embodiments of the present application;

[0022] FIG2 is a flowchart of a pseudo base station identification method provided by some embodiments of the present application;

[0023] FIG3 is a flowchart of a pseudo base station identification method provided by some embodiments of the present application;

[0024] FIG4 is a flowchart of a pseudo base station identification method provided by some embodiments of the present application;

[0025] FIG5 is a schematic structural diagram of a pseudo base station identification device provided in some embodiments of the present application;

[0026] FIG6 is a schematic structural diagram of a pseudo base station identification device provided in some embodiments of the present application;

[0027] FIG7 is a schematic structural diagram of an electronic device provided in some embodiments of the present application;

[0028] FIG8 is a schematic structural diagram of an electronic device provided in some embodiments of the present application. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0030] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0031] The following describes in detail the pseudo base station identification method, device, and electronic device provided in the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0032] Referring to FIG. 1 , FIG. 1 is a flow chart of a pseudo base station identification method provided in an embodiment of the present application, as shown in FIG. 1 , including the following steps:

[0033] Step 101: Receive a system message sent by a target base station.

[0034] It should be noted that the embodiments of the present application can be applied to target electronic devices, that is, the steps in the embodiments of the present 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 the present application, the above-mentioned target electronic device can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (PDA), a mobile Internet device (MID) or a wearable device (Wearable Device), etc.

[0035] The specific type of the target base station is not limited here. The target base station can be any base station. The target base station can send a system message to an electronic device within the radiation range of the target base station. Therefore, the target base station can be any base station whose operator tag carried in the sent system message meets the first condition or does not meet the first condition. For example, the target base station can be a fourth generation mobile communication technology (4G) base station, a fifth generation mobile communication technology (5G) base station, or a sixth generation mobile communication technology (6G) base station.

[0036] The system information can be referred to as a System Information Block (SIB1), and SIB1 can carry the operator tags supported by the target base station. The operator tags can refer to the operator networks corresponding to the operator tags that the target base station can support. The operator tags can refer to the Public Land Mobile Network (PLMN). In addition, SIB1 can also include scheduling information and initial access information of other system blocks.

[0037] Step 102: If the operator tag carried in the system message meets the first condition, send a target request message to the target base station, wherein the target request message is used to request the target base station to allow execution of target processing, where the target processing is processing for executing a target service.

[0038] Among them, the specific content of the operator tag 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 composed of the at least two operator tags is the same as any alternative operator tag combination.

[0039] In this way, the flexibility and diversity of the first condition can be improved.

[0040] In some embodiments of the present application, if the number of operator tags carried by the system message is greater than a first threshold, then the operator tag carried by the system message is determined to satisfy the first condition. For example, if there are four target electronic devices in the area, and the number of operator tags in the system message is four, and the first threshold is three, then it can be determined that the number of operator tags in the system message is greater than the first threshold, i.e., the operator tag carried by the system message satisfies the first condition.

[0041] In some embodiments of the present application, the system message carries at least two operator tags, and the tag combination composed of the at least two operator tags is the same as any alternative operator tag combination, then it is determined that the operator tag carried by the system message meets the first condition. The tag combination can be a combination composed of at least two tags. For example, the area where the target electronic device is located includes a total of 4 operators A, B, C and D. The alternative operator tag combination may include at least one of the first combination and the 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. In this way, when the combination of operator tags 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 tag carried by the system message meets the first condition.

[0042] In some embodiments of the present application, for example, the alternative operator tag combination may also include at least one of the following combinations: the third combination, the fourth combination, the fifth combination, the sixth combination, the seventh combination and the eighth combination, the third combination being the combination of A and B, the fourth combination being the combination of B and C, the fifth combination being the combination of C and D, the sixth combination being the combination of A and C, the seventh combination being the combination of A and D, and the eighth combination being the 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 tag carried by the system message meets the first condition.

[0043] The above-mentioned A, B, and C may be operators with a long operating history, while D may be a newly established operator. For example, A, B, and C may refer to China Mobile (CMCC), China Unicom (CU), and China Telecom (CT), respectively, and D may refer to China Broadcasting Network Corporation (CBN).

[0044] It should be noted that the above process of judging whether the operator tag carried by the system message meets the first condition is that, in order to increase the connectivity rate with the target electronic device, the pseudo base station usually supports as many operator networks as possible, while the normal base station usually supports fewer operator networks. Therefore, if the target base station supports a large number of operator networks, that is, the number of operator tags carried by the system message is greater than the first threshold, or the system message carries at least two operator tags, and the tag combination composed of at least two operator tags is the same as any alternative operator tag combination, then it can be determined that the operator tag carried by the system message meets the first condition, and when the target base station's response to the target request message meets the second condition, it can be judged by combining the above conditions that the probability of the target base station being a pseudo base station is higher, thereby improving the accuracy of the pseudo base station identification result.

[0045] Step 103: If the response of the target base station to the target request message meets a second condition, determine the target base station as a pseudo base station.

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

[0047] not receiving first reply information from the target base station to the target request message, the first reply information being used to indicate that the target base station allows execution of the target process;

[0048] receiving second reply information from the target base station to the target request message, where information content of the second reply information matches the first target information, and the second reply information is used to indicate that the target base station does not allow execution of the target processing;

[0049] A second reply message from the target base station to the target request message is received, the information content of the second reply message does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a second threshold.

[0050] In this way, the flexibility and diversity of the second condition can be increased.

[0051] 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 transmitter model approval. It uses itself as the center to collect information about electronic devices within a certain radius and then forcibly send various text messages to other electronic devices using the user's phone number. These text messages can include fraudulent messages, promotional messages, and sensitive information.

[0052] In addition, when the target electronic device is connected to a fake base station, the International Mobile Subscriber Identity (IMSI) and the International Mobile Equipment Identity (IMEI) will be lost, reducing user privacy; when the target electronic device's signal is forcibly connected by the fake base station, it will be disconnected from the network for 8 to 12 seconds, and the target electronic device needs to be restarted before it can re-enter the network and connect to a normal base station, which reduces the network adaptability experience of the target electronic device; when the fake base station captures the target electronic device, it can use other people's numbers to forcibly push a large number of spam text messages to the target electronic device.

[0053] In an embodiment of the present 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 means that the target base station meets the characteristics of a pseudo base station, that is, the probability that the target base station is a pseudo base station is relatively high. At this time, the target base station is determined to be a pseudo base station. In this way, the accuracy of the identification result of the pseudo base station can be improved.

[0054] In some embodiments of the present application, when the response of the target base station to the target request message meets the second condition, determining the target base station as a pseudo base station includes:

[0055] In a case where no first reply information of the target base station to the target request message is received, determining the target base station as a pseudo base station;

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

[0057] In an embodiment of the present application, when the first reply information of the target base station to the target request message is not received, it can be considered that the target base station has ignored the target request message sent by the target electronic device, or the target base station cannot correctly reply to the first reply message based on the target request message, then the probability that the target base station is a fake base station increases, and thus the target base station can be determined as a fake base station, thereby improving the accuracy of the identification result of the fake base station.

[0058] It should be noted that the flowchart of the embodiment of the present application can be found in Figure 2, that is, steps 201 to 203 included in Figure 2 can be understood as the various steps included in the embodiment of the present application, and the details will not be repeated here.

[0059] In some embodiments of the present application, when first reply information of the target base station to the target request message is not received, determining the target base station as a pseudo base station includes:

[0060] If no first reply information of the target base station to the target request message is received during a time period from the first moment to the second moment, determining the target base station as a pseudo base station;

[0061] 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 separated from the first moment by a first time length.

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

[0063] In an embodiment of the present application, when the first reply information of the target base station to the target request message is not received within the time period between the first moment and the second moment, it can be considered that the target base station has timed out and has not fed back the target request message sent by the target electronic device, and the target base station can be determined as a pseudo base station. In this way, the resource overhead of the target electronic device waiting for the first reply information from the target base station can be saved, thereby reducing resource consumption.

[0064] In some embodiments of the present application, when first reply information of the target base station to the target request message is not received, determining the target base station as a pseudo base station includes:

[0065] If no first reply information of the target base station to the target request message is received within a preset time period starting from the first moment, the target base station is determined to be a pseudo base station, and the first moment is the moment of sending the target request message to the target base station.

[0066] In an implementation manner of the present application, when no first reply information is received within a preset time period from the first moment of sending a target request message to the target base station, the target base station can be determined as a pseudo base station. In this way, the resource overhead of the target electronic device can be saved, and at the same time, the diversity of the determination method of determining the target base station as a pseudo base station is increased.

[0067] In some embodiments of the present application, when first reply information of the target base station to the target request message is not received, determining the target base station as a pseudo base station includes:

[0068] When the target electronic device is located within a preset range of the target base station and has not received first reply information of the target base station to the target request message, the target base station is determined to be a pseudo base station.

[0069] In the implementation manner of the present application, the target base station is determined to be a pseudo base station only when the target electronic device is located within the preset range of the target base station and has not received the first reply information. In this way, it is possible to distinguish and determine whether the target base station is a normal base station, but the target electronic device is located outside the preset range of the target base station and cannot receive the first reply information, thereby further improving the accuracy of the pseudo base station determination result.

[0070] In some embodiments of the present application, when the response of the target base station to the target request message meets the second condition, determining the target base station as a pseudo base station includes:

[0071] Upon receiving second reply information from the target base station to the target request message, and when information content of the second reply information matches the first target information, determining the target base station as a pseudo base station;

[0072] The second reply information is used to indicate that the target base station is not allowed to execute the target processing.

[0073] The specific content of the target service is not limited here, and the type of target base station and the target service may 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 (ATTACH) Request, Service Request (SR). When the target base station is a 5G base station, the target service may include at least one of the following: Registration Request (RegReq) and Service Request (SR).

[0074] The specific content of the first target information is not limited herein. 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).

[0075] In addition, the first target information may be the information content of the second reply information, or the first target information may be the rejection reason information included in the information content of the second reply information, and the above rejection reason information may be the reason information replied by the target base station.

[0076] It should be noted that, when the first target information is the rejection reason information included in the information content of the second reply 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).

[0077] In an embodiment of the present 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.

[0078] 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 information content of the second reply information will usually not match the first target information. Therefore, if the information content of the second reply information matches the first target information, it can be directly determined that the target base station is a fake base station.

[0079] In some other embodiments of the present application, when the response of the target base station to the target request message meets the second condition, determining the target base station as a pseudo base station includes:

[0080] Upon receiving second reply information from the target base station to the target request message, and when the label information carried in the second reply information matches the first target label information, determining the target base station as a pseudo base station;

[0081] The second reply information is used to indicate that the target base station is not allowed to execute the target process, and the tag information carried in the second reply information is used to indicate the reason why the target base station is not allowed to execute the target process.

[0082] The first target tag information may refer to the description of the first target information, that is, the first target tag information may 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).

[0083] In the embodiments of the present application, when the target base station does not allow the target electronic device to perform the target processing, and the tag information carried in the second reply message matches the first target tag information, the target base station can be accurately determined to be a pseudo base station, thereby further improving the accuracy of the pseudo base station identification result. In addition, the diversity and flexibility of the pseudo base station identification method can be further improved.

[0084] In some other embodiments of the present application, when the response of the target base station to the target request message meets the second condition, determining the target base station as a pseudo base station includes:

[0085] Upon receiving second reply information from the target base station to the target request message, and the classification of the label information carried in the second reply information belongs to the first target classification, determining the target base station as a pseudo base station;

[0086] The second reply information is used to indicate that the target base station is not allowed to execute the target process, and the tag information carried in the second reply information is used to indicate the reason why the target base station is not allowed to execute the target process.

[0087] Among them, when the classification of the tag information carried by the second reply information belongs to the first target classification, it can be determined that the rejection reason information that the target base station does not allow the target electronic device to perform the 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).

[0088] In the embodiments of the present application, when the target base station does not allow the target electronic device to perform the target processing, and the classification carried in the second reply information belongs to the first target classification, the target base station can be accurately determined to be a pseudo base station, thereby further improving the accuracy of the pseudo base station identification result. In addition, the diversity and flexibility of the pseudo base station identification method can be further improved.

[0089] In some embodiments of the present application, when the response of the target base station to the target request message meets the second condition, determining the target base station as a pseudo base station includes:

[0090] Upon receiving second reply information of the target base station to the target request message, if the information content of the second reply information does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a preset threshold, determining the target base station as a pseudo base station;

[0091] The second reply information is used to indicate that the target base station is not allowed to execute the target processing.

[0092] The types of the target base stations may be different, and the types of the periodic location update timers may also be different, that is, the types of the periodic location update timers and the types of the target base stations may correspond one to one.

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

[0094] In the implementation mode of the present application, since the pseudo base station needs to increase the frequency of periodic location updates, that is, shorten the location update interval duration, in order to connect more electronic devices, and the periodic location update frequency of the normal base station is low, that is, the location update interval duration of the normal base station is usually longer, therefore, when the information content of the second reply information does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than the preset threshold, it can be determined that the frequency of periodic location updates of the target base station is high and the location update interval duration is short, that is, the probability that the target base station is a pseudo base station is high. In this way, the accuracy of the identification result of the pseudo base station can be further improved.

[0095] In some embodiments of the present application, for example, when the target base station is a 4G base station, the periodic location update timer may be a T3412 timer, and the preset threshold may generally be 60 minutes. When a second reply message to a target request message from the target base station is received, 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), and the information 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 value of 60 minutes, then the target base station may be determined to be a pseudo base station.

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

[0097] In some embodiments of the present application, for example, when the target base station is a 5G base station, the periodic location update timer may be a T3512 timer, and the preset threshold may generally be 60 minutes. When a second reply message 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), and the information 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 T3512 timer is 12 minutes, which is less than the preset threshold value of 60 minutes, then it can be determined that the target base station is a pseudo base station.

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

[0099] In some embodiments of the present application, the method further comprises:

[0100] When the location update interval duration is greater than or equal to the preset threshold, determining the target base station as a suspicious base station;

[0101] In a case where the received information sent by the target base station includes sensitive information, the suspicious base station is determined to be a pseudo base station.

[0102] Among them, the suspicious base station can also be called a suspected pseudo base station, that is, the status of the suspicious base station has not been determined. It may be a pseudo base station or a normal base station, and further judgment is required.

[0103] In an embodiment of the present application, when the location update interval duration is greater than or equal to a preset threshold, the target base station can be determined as a suspicious base station. At the same time, when the information received from the target base station includes sensitive information, the suspicious base station can be corrected to a pseudo base station, thereby improving the accuracy of the identification result of the pseudo base station.

[0104] It should be noted that usually only fake base stations will send sensitive information to the target electronic device. Therefore, when the received information includes sensitive information, the suspicious base station can be determined as a fake base station, and sensitive information may include fraudulent information, promotional information, advertising information and other information.

[0105] In some embodiments of the present application, the method is applied to a target electronic device, and after determining that the target base station is a pseudo base station, the method further includes:

[0106] Storing the target base station in a pseudo base station list to prohibit the target base station from communicating with the target electronic device from the third moment to the fourth moment;

[0107] The third moment is the moment when the target base station is stored in the pseudo base station list, the fourth moment is later than the third moment, and the fourth moment is the moment when the target electronic device is restarted.

[0108] Among them, the fake base station list can also be called a fake base station blacklist.

[0109] In an embodiment of the present application, after determining that the target base station is a pseudo base station, the target base station can be saved in a pseudo base station list, so as to manage and control the target base station, so that the target base station is prohibited from communicating with the target electronic device from the third moment to the fourth moment. In this way, the interference of the target base station on the communication between the target electronic device and the normal base station can be reduced, and the communication security of the target electronic device is improved. At the same time, the sensitive information sent by the target base station to the target electronic device can be reduced, and the usability of the target electronic device can be enhanced.

[0110] In addition, after the fourth moment, that is, after the target electronic device is restarted, the target base station can be removed from the pseudo base station list, that is, the communication between the target base station and the target electronic device is no longer prohibited. In this way, a control method for removing the target base station from the pseudo base station list can be provided, that is, when the target base station is mistakenly added to the pseudo base station list, the target electronic device can be restarted to remove the target base station from the pseudo base station list, providing a method for correcting errors in the pseudo base station list.

[0111] In some embodiments of the present application, for example, the third moment is the moment when the target base station is stored in the pseudo base station list. When the third moment is 2 o'clock and the target electronic device is restarted at 2:30, the fourth moment is 2:30. Therefore, during the period from 2 o'clock to 2:30, the target base station is prohibited from communicating with the target electronic device.

[0112] In some embodiments of the present application, for example, when the third time is 2 o'clock and the target electronic device is restarted at 2:30 on the next day, 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, the target base station is prohibited from communicating with the target electronic device.

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

[0114] Performing big data burial on the second target information of the target base station;

[0115] The second target information of the target base station is sent to a server, so that the server instructs an electronic device to forward the second target information.

[0116] Among them, the second target information of the target base station may include at least one of the following information: physical-layer cell identity (PCI), cell identity (Cell Identity, Cell ID), tracking area code (TAC), and location information, and the above location information may be the latitude and longitude information of the target base station.

[0117] In the implementation manner of the present application, big data is buried for the second target information of the target base station. In this way, the interaction between the target base station and other electronic devices can be tracked, thereby better monitoring the target base station and enhancing the prevention and control effect of the target base station. At the same time, by burying big data for the second target information, data of pseudo base stations can also be collected, thereby providing more data support for the prevention and control of pseudo base stations, thereby enhancing the prevention and control effect of pseudo base stations. For example, the number distribution of pseudo base stations in each city can be collected and reported to the server of the relevant agency, so that each pseudo base station can be monitored and controlled at a fixed point.

[0118] It should be noted that the above-mentioned collected pseudo base station data may include at least one of the following information: physical-layer cell identity (PCI), cell identity information (Cell Identity, Cell ID), tracking area code (TAC) and longitude and latitude information.

[0119] In addition, the second target information of the target base station is sent to the server so that the server instructs an electronic device to forward the second target information, that is, the second target information can be shared with other electronic devices. In this way, the recognition effect of the target base station by other electronic devices can be enhanced, and the connection between other electronic devices and the target base station can be reduced, resulting in the phenomenon that the performance of other electronic devices deteriorates.

[0120] It should be noted that the above-mentioned other electronic devices and the target electronic device may be electronic devices produced by the same manufacturer; or, the above-mentioned other electronic devices and the target electronic device may be electronic devices produced by different manufacturers, but the other electronic devices and the target electronic device may be in the same conversation group; or, the above-mentioned other electronic devices may be within a preset range of the target electronic device.

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

[0122] If the operator tag carried by the system message does not meet the first condition, sending a target request message to the target base station M times, where M is an integer greater than 1;

[0123] In a case where the target base station ignores all of the M target request messages, the target base station is determined as a suspicious base station.

[0124] The specific value of M is not limited here. For example, the value of M can be 3.

[0125] The suspicious base station may also be referred to as a suspected pseudo base station, that is, the suspicious base station may be a pseudo base station or may not be a pseudo base station.

[0126] In an embodiment of the present application, when M target request messages are all ignored by the target base station, the communication link between the target base station and the target electronic device may be blocked, resulting in the target electronic device not receiving the target base station's response message to the M target request messages, or the target base station cannot correctly give a response message to the M target request messages and directly ignores the M target request messages. Therefore, at this time, the target base station can be determined as a suspicious base station, that is, it is necessary to further determine the type of the suspicious base station to avoid the occurrence of misjudgment caused by directly determining the target base station as a normal base station or a fake base station.

[0127] In some embodiments of the present 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:

[0128] The target base station is saved in a list of suspicious base stations to prohibit the target base station from communicating with the target electronic device from a fifth moment to a sixth moment, wherein the fifth moment is the moment when the target base station is added to the list of suspicious base stations, the sixth moment is later than the fifth moment, and the sixth moment is separated from the fifth moment by a second time length.

[0129] When the target base station is a suspicious base station, the communication between the target base station and the target electronic device may be temporarily prohibited, and the prohibition duration is the second duration.

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

[0131] In an implementation manner of the present application, when the target base station is determined to be a suspicious base station, that is, when it cannot be accurately determined whether the target base station is a pseudo 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 of the target electronic device and other normal base stations is better.

[0132] In some embodiments of the present application, after sending the target request message M times to the target base station, the method further includes:

[0133] If at least one of the target request messages in the M target request messages is responded to by the target base station, the target base station is determined to be a normal base station, where N is an integer greater than 1 and less than M;

[0134] In a case where the received information sent by the target base station includes sensitive information, the normal base station is determined to be a pseudo base station.

[0135] When at least one target request message among the M target request messages is responded by the target base station, it can be determined that the target base station is a normal base station.

[0136] It can also be understood that: when only N target request messages among M target request messages are ignored by the target base station and MN target request messages are responded to by the target base station, it can be determined that the target base station is a normal base station.

[0137] In an embodiment of the present application, after determining that the target base station is a normal base station, since usually only a pseudo base station will send sensitive information to the target electronic device, when the information received from the target base station includes sensitive information, the normal base station can be corrected to a pseudo base station, thereby further enhancing the accuracy of the identification result of the target base station.

[0138] It should be noted that after the target base station is corrected as a pseudo base station, the target base station still needs to be managed and controlled to reduce interference of the target base station on the communication performance of the target electronic device.

[0139] In an embodiment of the present application, for example, the value of M can be 3. If at least one target request message among three target request messages is responded by the target base station, the target base station can be determined as a normal base station; if one target request message among three target request messages is responded by the target base station, and two target request messages are ignored by the target base station, the target base station can be determined as a normal base station; if two target request messages among three target request messages are responded by the target base station, and one target request message is ignored by the target base station, the target base station can be determined as a normal base station; if three target request messages among three target request messages are responded by the target base station, the target base station can be determined as a normal base station.

[0140] Refer to Figure 3, which is a flowchart of a pseudo base station identification method provided in an embodiment of the present application. As shown in Figure 3, steps 301 to 315 included in Figure 3 can completely include the relevant contents of the above-mentioned embodiments, that is, steps 301 to 315 included in Figure 3 are a collective embodiment of the above-mentioned embodiments, and the details will not be repeated here.

[0141] Refer to Table 1 and Table 2. Table 1 and Table 2 respectively include two scenarios to illustrate the embodiments of the present application, that is, Table 1 includes scenario 1 and scenario 2, and Table 2 includes scenario 3 and scenario 4. For details, please refer to the relevant statements below.

[0142] Table 1

[0143] Table 2

[0144] In Table 1, the target base stations corresponding to scenarios 1 and 2 are 4G base stations, and the standard of the target base stations is Long Term Evolution (LTE). Evolution, LTE), the operator tag carried by the system message in scenario 1 is a combination of CMCC&CU&CT, and the combination of CMCC&CU&CT is an alternative operator tag combination, that is, the operator tag carried by the system message in scenario 1 meets the first condition, and the second reply information in scenario 1 is cause#13, that is, the content of the second reply information matches the first target information, the periodic location update timer is T3412, the value of the second threshold can be 60 minutes, and the location update interval corresponding to the timer is 6 minutes, which is significantly less than the second threshold, and no spam information sent by the target base station is received, and the spam information includes sensitive content. Then the corresponding target base station in scenario 1 can be determined as a pseudo base station, and the prevention and control result of the pseudo base station is to permanently add the pseudo base station to the pseudo base station list, that is, permanently prohibit (bar) the base station from communicating with the target electronic device, and can collect relevant information of the pseudo base station for burying; in this way, through the combination of the above-mentioned multiple information, the accuracy of the pseudo base station determination result can be improved.

[0145] The operator tag carried by the system message in scenario 2 is a combination of CMCC&CT, and the combination of CMCC&CT does not belong to an alternative operator tag combination, that is, 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 of the target base station for the target request message, that is, the target base station allows the target electronic device to perform target processing, and the target processing is TAU, ATTACH or SR. The periodic location update timer in scenario 2 is T3412, and the location update interval corresponding to the 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. The corresponding target base station in scenario 1 can be determined as a normal base station, thereby distinguishing normal base stations from pseudo base stations, screening out normal base stations, and continuing to detect normal base stations, that is, determining whether the information received from the normal base station includes sensitive information. If sensitive information is received, the normal base station can be determined as a pseudo base station, thereby reducing the occurrence of the phenomenon of misjudging pseudo base stations as normal base stations, and improving the accuracy of the identification results of pseudo base stations;

[0146] Referring to Table 2, the target base station corresponding to scenarios 3 and 4 in Table 2 is a 5G base station, and the standard of the target base station is New Radio (NR). The operator tag carried by the system message in scenario 3 is CMCC&CU&CT, and the combination of CMCC&CU&CT belongs to an alternative operator tag combination, that is, the operator tag carried by the system message in scenario 3 meets the first condition, and the target processing is Register Request / SR, and the target base station ignores the target request message, that is, there is no response to the target request message, and 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 the timer is 12 minutes, which is significantly less than the second threshold, and no spam information sent by the target base station is received. Then, the corresponding target base station in scenario 3 can be determined as a pseudo base station, and the prevention and control result of the pseudo base station is to permanently add the pseudo base station to the pseudo base station list, that is, permanently prohibit (bar) the base station from communicating with the target electronic device, and can collect relevant information of the pseudo base station for burying; in this way, through the combination of the above-mentioned multiple information, the accuracy of the pseudo base station determination result can be improved.

[0147] The operator tags carried by the system message in scenario 4 are CMCC and CT, and the combination of CMCC and CT does not belong to an alternative operator tag combination, that is, the operator tag carried by the system message in scenario 4 does not meet the first condition. The target electronic device in scenario 4 receives the first reply information of the target base station for the target request, and the target processing is Register Request or SR. The periodic location update timer in scenario 4 is T3512, and the value corresponding to the timer is 60 minutes, which is equal to the second threshold. The target electronic device in scenario 4 does not receive the spam information sent by the target base station. The corresponding target base station in scenario 4 can be determined as a normal base station, thereby distinguishing between normal base stations and pseudo base stations, screening out normal base stations, and continuing to detect normal base stations, that is, determining whether the information received from the normal base station includes sensitive information. If sensitive information is received, the normal base station can be determined as a pseudo base station, thereby reducing the occurrence of the phenomenon of misjudging the pseudo base station as a normal base station, and improving the accuracy of the identification result of the pseudo base station.

[0148] Referring to FIG. 4 , FIG. 4 is a specific application embodiment of a pseudo base station identification method provided in an embodiment of the present application, which may include the following steps:

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

[0150] It should be noted that after step 401, the target electronic device may receive a system message sent by the target base station. The system message is the response information of the target base station to the registration request. The system message may carry an operator tag.

[0151] Step 402: Detect whether the target base station is a pseudo base station according to the system message;

[0152] Among them, the method of detecting a fake base station can refer to the various implementation methods for determining a fake base station in the above-mentioned implementation methods; specifically, it can be combined with whether the operator tag carried by 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.

[0153] In some embodiments of the present application, when the operator tag carried by the system message meets the first condition, a target request message is sent to the target base station, where the target request message is used to request the target base station to allow execution of a target process, where the target process is a process for executing a target service;

[0154] If the 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;

[0155] In some embodiments of the present application, when the response of the target base station to the target request message meets the second condition, determining the target base station as a pseudo base station includes:

[0156] In a case where no first reply information of the target base station to the target request message is received, determining the target base station as a pseudo base station;

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

[0158] In some embodiments of the present application, when first reply information of the target base station to the target request message is not received, determining the target base station as a pseudo base station includes:

[0159] If no first reply information of the target base station to the target request message is received during a time period from the first moment to the second moment, determining the target base station as a pseudo base station;

[0160] 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 separated from the first moment by a first time length.

[0161] In some embodiments of the present application, when the response of the target base station to the target request message meets the second condition, determining the target base station as a pseudo base station includes:

[0162] Upon receiving second reply information from the target base station to the target request message, and when the information content of the second reply information matches the first target information, determining the target base station as a pseudo base station; or

[0163] Upon receiving second reply information of the target base station to the target request message, if the information content of the second reply information does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a preset threshold, determining the target base station as a pseudo base station;

[0164] The second reply information is used to indicate that the target base station is not allowed to execute the target processing.

[0165] In some embodiments of the present application, the method further comprises:

[0166] When the location update interval duration is greater than or equal to the preset threshold, determining the target base station as a suspicious base station;

[0167] In a case where the received information sent by the target base station includes sensitive information, the suspicious base station is determined to be a pseudo base station.

[0168] In some embodiments of the present application, the method is applied to a target electronic device, and after determining that the target base station is a pseudo base station, the method further includes:

[0169] Storing the target base station in a pseudo base station list to prohibit the target base station from communicating with the target electronic device from the third moment to the fourth moment;

[0170] The third moment is the moment when the target base station is stored in the pseudo base station list, the fourth moment is later than the third moment, and the fourth moment is the moment when the target electronic device is restarted.

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

[0172] Step 403: When the target base station is a pseudo base station, the pseudo base station may be monitored;

[0173] Among them, the monitoring method for the pseudo base station may include at least one of the following information: relevant information of the electronic device communicating with the pseudo base station, and communication information between the pseudo base station and the electronic device; in addition, it can also be determined whether there is sensitive information in the collected information. If sensitive information is present, it is necessary to control the pseudo base station or the electronic device communicating with the pseudo base station, such as restricting the communication function of the pseudo base station or the electronic device;

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

[0175] Among them, big data is buried for the second target information of the target base station, so that the interaction between the target base station and other electronic devices can be tracked, thereby better monitoring the target base station and enhancing the control effect of the target base station.

[0176] Step 405: The target electronic device is connected to a normal base station;

[0177] In step 405, the communication between the target electronic device and the pseudo base station is switched to communication between the target electronic device and a normal base station, thereby ensuring the normal implementation of the communication function of the target electronic device and reducing the impact of the pseudo base station on the communication function of the target electronic device.

[0178] In this way, the accuracy of the identification result of the pseudo base station can be improved, and the usability of the target electronic device can be enhanced.

[0179] It should be noted that the pseudo base station identification method provided in the embodiments of the present application can be executed by a pseudo base station identification device, or a control module in the pseudo base station identification device for executing the pseudo base station identification method. In the embodiments of the present application, the pseudo base station identification device executing the pseudo base station identification method is used as an example to illustrate the pseudo base station identification device provided in the embodiments of the present application.

[0180] Referring to FIG. 5 , FIG. 5 is a schematic diagram of the structure of a pseudo base station identification device provided in an embodiment of the present application. As shown in FIG. 5 , the pseudo base station identification device 500 includes:

[0181] Receiving module 501, configured to receive a system message sent by a target base station;

[0182] A sending module 502 is configured to send a target request message to the target base station if the operator tag carried by the system message meets a first condition, wherein the target request message is used to request the target base station to allow execution of a target process, where the target process is a process for executing a target service;

[0183] The determination module 503 is configured to determine the target base station as a pseudo base station if the response of the target base station to the target request message meets a second condition.

[0184] 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;

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

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

[0187] not receiving first reply information from the target base station to the target request message, the first reply information being used to indicate that the target base station allows execution of the target process;

[0188] receiving second reply information from the target base station to the target request message, where information content of the second reply information matches the first target information, and the second reply information is used to indicate that the target base station does not allow execution of the target processing;

[0189] A second reply message from the target base station to the target request message is received, the information content of the second reply message does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a second threshold.

[0190] Optionally, the determination module 503 is also used to determine the target base station as a pseudo base station when the first reply information of the target base station to the target request message is not received; wherein the first reply information is used to indicate that the target base station allows the execution of the target processing.

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

[0192] Upon receiving second reply information from the target base station to the target request message, and when the information content of the second reply information matches the first target information, determining the target base station as a pseudo base station; or

[0193] Upon receiving second reply information of the target base station to the target request message, if the information content of the second reply information does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a preset threshold, determining the target base station as a pseudo base station;

[0194] The second reply information is used to indicate that the target base station is not allowed to execute the target processing.

[0195] Optionally, the determining module 503 is further configured to: determine the target base station as a pseudo base station if no first reply information of the target base station to the target request message is received within a time period from the first moment to the second moment;

[0196] 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 separated from the first moment by a first time length.

[0197] Optionally, the determination module 503 is further configured to: upon receiving second reply information from the target base station to the target request message, and when the information content of the second reply information matches the first target information, determine the target base station as a pseudo base station; or

[0198] Upon receiving second reply information of the target base station to the target request message, if the information content of the second reply information does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a preset threshold, determining the target base station as a pseudo base station;

[0199] The second reply information is used to indicate that the target base station is not allowed to execute the target processing.

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

[0201] When the location update interval duration is greater than or equal to the preset threshold, determining the target base station as a suspicious base station;

[0202] In a case where the received information sent by the target base station includes sensitive information, the suspicious base station is determined to be a pseudo base station.

[0203] Optionally, the pseudo base station identification device 500 is applied to a target electronic device. Referring to FIG6 , the pseudo base station identification device 500 further includes:

[0204] The storage module 504 is configured to store the target base station in a pseudo base station list to prohibit the target base station from communicating with the target electronic device from the third moment to the fourth moment;

[0205] The third moment is the moment when the target base station is stored in the pseudo base station list, the fourth moment is later than the third moment, and the fourth moment is the moment when the target electronic device is restarted.

[0206] Optionally, the pseudo base station identification device 500, as shown in FIG6 , further includes at least one of the following:

[0207] The tracking module 505 is used to perform big data tracking on the second target information of the target base station;

[0208] The sending module 502 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.

[0209] Optionally, the sending module 502 is further configured to send a target request message to the target base station M times when the operator tag carried by the system message does not meet the first condition, where M is an integer greater than 1;

[0210] The determination module 503 is further configured to determine the target base station as a suspicious base station when the target request messages are all ignored by the target base station for M times.

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

[0212] If at least one of the target request messages in the M target request messages is responded to by the target base station, the target base station is determined to be a normal base station, where N is an integer greater than 1 and less than M;

[0213] In a case where the received information sent by the target base station includes sensitive information, the normal base station is determined to be a pseudo base station.

[0214] The pseudo base station identification device provided in the embodiment of the present application can improve the accuracy of the pseudo base station identification result.

[0215] The pseudo base station identification device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0216] The pseudo base station identification device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0217] The pseudo base station identification device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 1. To avoid repetition, it will not be described here.

[0218] Optionally, as shown in Figure 7, an embodiment of the present application also provides an electronic device 700, including a processor 701, a memory 702, and a program or instruction stored in the memory 702 and executable on the processor 701. When the program or instruction is executed by the processor 701, each process of the above-mentioned pseudo base station identification method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0219] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0220] FIG8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

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

[0222] Those skilled in the art will appreciate that the electronic device 800 may further include a power source (e.g., a battery) to power various components. The power source may be logically connected to the processor 810 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG8 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.

[0223] The radio frequency unit 801 is configured to receive a system message sent by a target base station; if the operator tag carried by the system message meets the first condition, send a target request message to the target base station, wherein the target request message is used to request the target base station to allow execution of a target process, where the target process is a process for executing a target service;

[0224] The processor 810 is configured to determine the target base station as a pseudo base station if a response of the target base station to the target request message satisfies a second condition.

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

[0226] The number of operator tags carried by the system message is greater than a first threshold;

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

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

[0229] not receiving first reply information from the target base station to the target request message, the first reply information being used to indicate that the target base station allows execution of the target process;

[0230] receiving second reply information from the target base station to the target request message, where information content of the second reply information matches the first target information, and the second reply information is used to indicate that the target base station does not allow execution of the target processing;

[0231] A second reply message from the target base station to the target request message is received, the information content of the second reply message does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a second threshold.

[0232] Optionally, the processor 810, executing, when a response of the target base station to the target request message satisfies a second condition, determining the target base station as a pseudo base station, includes:

[0233] In a case where no first reply information of the target base station to the target request message is received, determining the target base station as a pseudo base station;

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

[0235] Optionally, the processor 810, executing, when not receiving first reply information from the target base station to the target request message, determining the target base station as a pseudo base station, includes:

[0236] If no first reply information of the target base station to the target request message is received during a time period from the first moment to the second moment, determining the target base station as a pseudo base station;

[0237] 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 separated from the first moment by a first time length.

[0238] Optionally, the processor 810, executing, when a response of the target base station to the target request message satisfies a second condition, determining the target base station as a pseudo base station, includes:

[0239] Upon receiving second reply information from the target base station to the target request message, and when the information content of the second reply information matches the first target information, determining the target base station as a pseudo base station; or

[0240] Upon receiving second reply information of the target base station to the target request message, if the information content of the second reply information does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a preset threshold, determining the target base station as a pseudo base station;

[0241] The second reply information is used to indicate that the target base station is not allowed to execute the target processing.

[0242] Optionally, the processor 810 is further configured to:

[0243] When the location update interval duration is greater than or equal to the preset threshold, determining the target base station as a suspicious base station;

[0244] In a case where the received information sent by the target base station includes sensitive information, the suspicious base station is determined to be a pseudo base station.

[0245] Optionally, the method is applied to a target electronic device, and the processor 810 is further configured to:

[0246] Storing the target base station in a pseudo base station list to prohibit the target base station from communicating with the target electronic device from the third moment to the fourth moment;

[0247] The third moment is the moment when the target base station is stored in the pseudo base station list, the fourth moment is later than the third moment, and the fourth moment is the moment when the target electronic device is restarted.

[0248] Optionally, the processor 810 is further used to: perform big data embedding on the second target information of the target base station; and / or the radio frequency unit 801 is further used 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.

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

[0250] The processor 810 is further configured to: determine the target base station as a suspicious base station when the target request messages are all ignored by the target base station for M times.

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

[0252] In a case where the received information sent by the target base station includes sensitive information, the normal base station is determined to be a pseudo base station.

[0253] It should be understood that in an embodiment of the present application, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042, and the graphics processor 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 two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, 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 processes the operating system, user interface, and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 810.

[0254] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned pseudo base station identification method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0256] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned pseudo base station identification method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0257] An embodiment of the present application further provides a computer program product, which is stored in a storage medium. The computer program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0258] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0259] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0260] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course 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 the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0261] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A method for identifying a fake base station, comprising: Receiving a system message sent by a target base station; When the operator tag carried by the system message meets the first condition, sending a target request message to the target base station, wherein the target request message is used to request the target base station to allow execution of a target process, where the target process is a process for executing a target service; When the response of the target base station to the target request message satisfies a second condition, the target base station is determined to be a pseudo base station.

2. The method according to claim 1, wherein: 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 a tag combination consisting of the at least two operator tags is the same as any alternative operator tag combination; The second condition includes at least one of the following: not receiving first reply information of the target base station to the target request message, the first reply information being used to indicate that the target base station allows the target processing to be performed; receiving second reply information of the target base station to the target request message, wherein the information content of the second reply information matches the first target information, and the second reply information is used to indicate that the target base station does not allow the target processing to be performed; A second reply message from the target base station to the target request message is received, the information content of the second reply message does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a second threshold.

3. The method according to claim 1, wherein: The step of determining the target base station as a pseudo base station when a response of the target base station to the target request message satisfies a second condition includes: In the case where the first reply information of the target base station to the target request message is not received, determining the target base station as a pseudo base station; The first reply information is used to instruct the target base station to allow execution of the target processing.

4. The method according to claim 3, wherein: The step of determining the target base station as a pseudo base station when first reply information of the target base station to the target request message is not received includes: In a time period from the first moment to the second moment, if no first reply information of the target base station to the target request message is received, determining the target base station as a pseudo base station; 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 separated from the first moment by a first time length.

5. The method according to claim 1, wherein: The step of determining the target base station as a pseudo base station when a response of the target base station to the target request message satisfies a second condition includes: Upon receiving second reply information from the target base station to the target request message, and the information content of the second reply information matches the first target information, determining the target base station as a pseudo base station; or, Upon receiving second reply information of the target base station to the target request message, the information content of the second reply information does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a preset threshold, determining the target base station as a pseudo base station; The second reply information is used to indicate that the target base station is not allowed to execute the target processing.

6. The method according to claim 5, wherein: The method further comprises: When the location update interval duration is greater than or equal to the preset threshold, determining the target base station as a suspicious base station; In the case where the received information sent by the target base station includes sensitive information, the suspicious base station is determined to be a pseudo base station.

7. The method according to any one of claims 1 to 6, wherein: The method is applied to a target electronic device, and after determining the target base station as a pseudo base station, the method further includes: storing the target base station in a pseudo base station list to prohibit the target base station from communicating with the target electronic device from the third moment to the fourth moment; The third moment is the moment when the target base station is stored in the pseudo base station list, the fourth moment is later than the third moment, and the fourth moment is the moment when the target electronic device is restarted.

8. The method according to any one of claims 1 to 6, wherein: After determining the target base station as a pseudo base station, the method further includes at least one of the following: Performing big data embedding on the second target information of the target base station; The second target information of the target base station is sent to a 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, wherein: After receiving the system message sent by the target base station, the method further includes: When the operator tag carried by the system message does not meet the first condition, sending M target request messages to the target base station, where M is an integer greater than 1; In a case where the M target request messages are all ignored by the target base station, the target base station is determined as a suspicious base station.

10. The method according to claim 9, wherein: After sending the target request message to the target base station M times, the method further includes: In a case where at least one of the target request messages in the M target request messages is responded to by the target base station, the target base station is determined as a normal base station, where N is an integer greater than 1 and less than M; In the case where the received information sent by the target base station includes sensitive information, the normal base station is determined to be a pseudo base station.

11. A pseudo base station identification device, comprising: A receiving module, used for receiving a system message sent by a target base station; a sending module, configured to send a target request message to the target base station when the operator tag carried by the system message meets the first condition, wherein the target request message is used to request the target base station to allow execution of a target process, wherein the target process is a process for executing a target service; The determination module is used to determine the target base station as a pseudo base station when the response of the target base station to the target request message meets the second condition.

12. The device according to claim 11, wherein 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 a tag combination consisting of the at least two operator tags is the same as any alternative operator tag combination; The second condition includes at least one of the following: not receiving first reply information of the target base station to the target request message, the first reply information being used to indicate that the target base station allows the target processing to be performed; receiving second reply information of the target base station to the target request message, wherein the information content of the second reply information matches the first target information, and the second reply information is used to indicate that the target base station does not allow the target processing to be performed; A second reply message from the target base station to the target request message is received, the information content of the second reply message does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a second threshold.

13. The device according to claim 11, wherein: The determination module is also used to determine the target base station as a pseudo base station when the first reply information of the target base station to the target request message is not received; wherein the first reply information is used to indicate that the target base station allows the execution of the target processing.

14. The device according to claim 11, wherein: The determining module is further used for: Upon receiving second reply information from the target base station to the target request message, and the information content of the second reply information matches the first target information, determining the target base station as a pseudo base station; or, Upon receiving second reply information of the target base station to the target request message, the information content of the second reply information does not match the first target information, and the location update interval duration of the periodic location update timer of the target base station is less than a preset threshold, determining the target base station as a pseudo base station; The second reply information is used to indicate that the target base station is not allowed to execute the target processing.

15. An electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the pseudo base station identification method as described in any one of claims 1 to 10.

16. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the pseudo base station identification method according to any one of claims 1 to 10.

17. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the pseudo base station identification method according to any one of claims 1 to 10.

18. A computer program product, wherein the computer program product is stored in a storage medium and is executed by at least one processor to implement the pseudo base station identification method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Identification method of pseudo base station and mobile terminal

    CN107889112A

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

    CN110312259A

  • Information processing method, terminal device and storage medium

    CN111988784A

  • Pseudo base station identification method and device and electronic equipment

    CN116321168A

  • Enhanced cloud information system with prefetching and caching decisions to facilitate detection of false network access nodes

    US20190132740A1

Cited By

  • Pseudo base station identification method and device and electronic equipment

    CN116321168A

  • Pseudo base station identification method and device, and electronic device

    CN116321168B