CN107889112A - A kind of recognition methods of pseudo-base station and mobile terminal - Google Patents
A kind of recognition methods of pseudo-base station and mobile terminal Download PDFInfo
- Publication number
- CN107889112A CN107889112A CN201711326894.3A CN201711326894A CN107889112A CN 107889112 A CN107889112 A CN 107889112A CN 201711326894 A CN201711326894 A CN 201711326894A CN 107889112 A CN107889112 A CN 107889112A
- Authority
- CN
- China
- Prior art keywords
- base station
- pseudo
- mobile terminal
- broadcast message
- belongs
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000003993 interaction Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 15
- 238000012795 verification Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/12—Detection or prevention of fraud
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种伪基站的识别方法及移动终端。The invention relates to the field of communication technology, in particular to a method for identifying a pseudo base station and a mobile terminal.
背景技术Background technique
2G系统的鉴权过程为单向鉴权,移动终端不对网络进行鉴权;因此,在2G网络上伪基站很容易就可以伪造成正常基站,欺骗移动终端驻留并伪造信令流程,如发短信。The authentication process of the 2G system is one-way authentication, and the mobile terminal does not authenticate the network; therefore, on the 2G network, the pseudo base station can easily be faked as a normal base station, tricking the mobile terminal to reside and forging the signaling process, such as sending Short message.
而4G网络的鉴权过程为全球用户识别卡(Universal Subscriber IdentityModule,简称USIM)双向鉴权,不仅网络需要验证移动终端是否为合法用户,同时移动终端也要验证网络是否为合法网络。在双方均确认对方合法之后才进一步建立通信,检验不通过将丢弃对方发送的消息。因此4G网络的安全性相比2G提高了很多,伪基站模仿运营商网络的难度大大增加。The authentication process of the 4G network is a Universal Subscriber Identity Module (USIM) two-way authentication. Not only the network needs to verify whether the mobile terminal is a legitimate user, but the mobile terminal also needs to verify whether the network is a legitimate network. After both parties confirm that the other party is legal, further communication is established. If the verification fails, the message sent by the other party will be discarded. Therefore, the security of the 4G network is much higher than that of the 2G network, and it is much more difficult for the fake base station to imitate the operator's network.
虽然4G相比2G有双向鉴权,但是通信协议中还是存在漏洞:网络和移动终端在鉴权流程之前,网络可以向移动终端收集用户信息和终端信息(包括国际移动用户识别码、国际移动设备识别码等)。此信令不需要进行完整性保护校验,缺少加密和鉴权的保护。其中,目前出现的新型4G伪基站也就是利用这个漏洞,设置与运营商不同的位置区信息诱使移动终端进行位置区更新,并在此过程中实现对用户敏感信息的收集,从而损害了信息安全。Although 4G has two-way authentication compared with 2G, there are still loopholes in the communication protocol: before the authentication process between the network and the mobile terminal, the network can collect user information and terminal information (including International Mobile Subscriber Identity Number, International Mobile Device ID, etc.). This signaling does not require integrity protection verification, and lacks encryption and authentication protection. Among them, the new 4G pseudo-base stations currently appearing take advantage of this vulnerability to set location area information different from that of operators to induce mobile terminals to update location areas, and in the process realize the collection of sensitive information of users, thus compromising information Safety.
此外,当移动终端占用4G伪基站后,移动终端无法做数据业务和语音业务,从而影响了客户通信感知;当移动终端离开伪基站后,还可能只能驻留在2G或者3G网络并且长时间无法返回4G网络,从而影响了客户的上网感知。In addition, when the mobile terminal occupies the 4G pseudo base station, the mobile terminal cannot perform data services and voice services, which affects the communication perception of customers; when the mobile terminal leaves the pseudo base station, it may only stay on the 2G or 3G network for a long time. It is impossible to return to the 4G network, which affects the customer's perception of surfing the Internet.
然而,目前现有技术中对于新型4G伪基站无法有效地识别,从而泄漏移动终端用户的隐私信息、影响用户的通信体验和上网体验。However, the new 4G pseudo-base stations cannot be effectively identified in the current prior art, thereby leaking private information of mobile terminal users and affecting the user's communication experience and Internet access experience.
发明内容Contents of the invention
本发明的实施例提供了一种伪基站的识别方法及移动终端,以解决现有技术无法有效识别新型4G伪基站,从而泄漏移动终端用户的隐私信息、影响用户的通信体验和上网体验的问题。Embodiments of the present invention provide a method for identifying a pseudo base station and a mobile terminal to solve the problem that the existing technology cannot effectively identify a new type of 4G pseudo base station, thereby leaking the private information of the mobile terminal user and affecting the user's communication experience and Internet access experience. .
第一方面,本发明的实施例提供了一种伪基站的识别方法,包括:In a first aspect, an embodiment of the present invention provides a method for identifying a pseudo base station, including:
接收基站发送的广播消息;Receive the broadcast message sent by the base station;
在所述广播消息中携带的运营商识别码大于或等于两个且属于不同的运营商时,确定发送所述广播消息的基站属于伪基站。When the operator identification codes carried in the broadcast message are greater than or equal to two and belong to different operators, it is determined that the base station sending the broadcast message belongs to a pseudo base station.
第二方面,本发明的实施例提供了一种移动终端,包括:In a second aspect, embodiments of the present invention provide a mobile terminal, including:
消息接收模块,用于接收基站发送的广播消息;The message receiving module is used to receive the broadcast message sent by the base station;
第一识别模块,用于在所述广播消息中携带的运营商识别码大于或等于两个且属于不同的运营商时,确定发送所述广播消息的基站属于伪基站。The first identification module is configured to determine that the base station sending the broadcast message belongs to a pseudo base station when the operator identification codes carried in the broadcast message are greater than or equal to two and belong to different operators.
第三方面,本发明的实施例提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述所述的伪基站的识别方法的步骤。In a third aspect, embodiments of the present invention provide a mobile terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor, the computer program being executed by the processor During execution, the steps of the method for identifying a pseudo base station described above are realized.
第四方面,本发明的实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述所述的伪基站的识别方法的步骤。In the fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the identification of the above-mentioned pseudo base station is realized. method steps.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明的实施例,能够对接收到的基站发送的广播消息中携带的运营商识别码进行核对,并在广播消息中携带的运营商识别码大于或等于两个且属于不同运营商时,确定发送该广播消息的基站属于伪基站。因此,本发明的实施例,通过对广播消息的核查,可以有效识别出伪基站,从而防止移动终端接入到伪基站,进而避免移动终端用户的隐私信息泄露,提升用户的通信体验和上网体验。The embodiment of the present invention can check the operator identification code carried in the received broadcast message sent by the base station, and when the operator identification code carried in the broadcast message is greater than or equal to two and belongs to different operators, determine The base station sending the broadcast message is a pseudo base station. Therefore, the embodiment of the present invention can effectively identify the fake base station by checking the broadcast message, thereby preventing the mobile terminal from accessing the fake base station, thereby avoiding the leakage of private information of the mobile terminal user, and improving the user's communication experience and online experience .
附图说明Description of drawings
图1表示本发明实施例提供的一种伪基站的识别方法的流程图;FIG. 1 shows a flowchart of a method for identifying a pseudo base station provided by an embodiment of the present invention;
图2表示本发明实施例提供的另一种伪基站的识别方法的流程图;FIG. 2 shows a flow chart of another pseudo base station identification method provided by an embodiment of the present invention;
图3表示本发明实施例中移动终端与正常基站的位置区更新的交互过程的流程示意图;FIG. 3 shows a schematic flow diagram of the interaction process between the mobile terminal and the location area update of the normal base station in the embodiment of the present invention;
图4表示本发明实施例中移动终端与伪基站的位置区更新的交互过程的流程示意图;FIG. 4 shows a schematic flow diagram of the interaction process between the mobile terminal and the location area update of the pseudo base station in the embodiment of the present invention;
图5表示本发明实施例提供的一种移动终端的模块示意图之一;FIG. 5 shows one of the module schematic diagrams of a mobile terminal provided by an embodiment of the present invention;
图6表示本发明实施例提供的一种移动终端的模块示意图之二;FIG. 6 shows the second schematic diagram of modules of a mobile terminal provided by an embodiment of the present invention;
图7表示本发明实施例提供的一种移动终端的硬件结构示意图。FIG. 7 shows a schematic diagram of a hardware structure of a mobile terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明的实施例提供了一种伪基站的识别方法,该方法针对的是4G伪基站的识别。其中,如图1所示,该方法包括:An embodiment of the present invention provides a method for identifying a pseudo base station, and the method is aimed at identifying a 4G pseudo base station. Wherein, as shown in Figure 1, the method includes:
步骤101:接收基站发送的广播消息。Step 101: Receive a broadcast message sent by a base station.
其中,基站发送的广播消息中携带有运营商识别码。而正常基站所发送的广播消息中只携带该基站所属于的运营商的识别码,即正常基站所发送的广播消息中携带的运营商识别码只属于一个运营商。而对于伪基站,其为了能够收集更多移动终端的用户信息,则会在其发送的广播消息中携带至少两个运营商的识别码。由此可知,本发明的实施例,可以通过对广播消息中携带的运营商识别码进行核查,从而识别出伪基站。Wherein, the broadcast message sent by the base station carries the operator identification code. However, the broadcast message sent by the normal base station only carries the identification code of the operator to which the base station belongs, that is, the operator identification code carried in the broadcast message sent by the normal base station belongs to only one operator. As for the pseudo base station, in order to be able to collect more user information of mobile terminals, it will carry identification codes of at least two operators in the broadcast message it sends. It can be seen that, in the embodiment of the present invention, the fake base station can be identified by checking the operator identification code carried in the broadcast message.
步骤102:在所述广播消息中携带的运营商识别码大于或等于两个且属于不同的运营商时,确定发送所述广播消息的基站属于伪基站。Step 102: When the operator identification codes carried in the broadcast message are greater than or equal to two and belong to different operators, determine that the base station sending the broadcast message belongs to a pseudo base station.
具体地,可以预先建立一份如表1所示的国内运营商标识清单,并将该国内运营商标识清单存储在移动终端中,则当移动终端接收到基站发送的广播消息时,将广播消息中携带的运营商识别码与移动终端中预先存储的运营商标示清单进行匹配,若广播消息同时下发两个以上不同运营商的识别码,则判定发送广播消息的基站为伪基站,并进行小区重选。Specifically, a domestic operator identification list as shown in Table 1 can be established in advance, and the domestic operator identification list is stored in the mobile terminal, then when the mobile terminal receives the broadcast message sent by the base station, the broadcast message The operator identification code carried in the mobile terminal is matched with the pre-stored operator identification list in the mobile terminal. If the broadcast message sends the identification codes of two or more different operators at the same time, it is determined that the base station sending the broadcast message is a pseudo base station, and the District re-election.
例如广播消息中包含460-00、460-01、460-11这三个运营商识别码,则根据表1中的国内运营商标识清单,可以判断出这三个运营商识别码分别归属于中国移动,中国联通,中国电信三家不同的运营商,则判断发送广播消息的基站为伪基站并禁止接入。For example, if the broadcast message contains three operator identification codes of 460-00, 460-01, and 460-11, according to the domestic operator identification list in Table 1, it can be judged that these three operator identification codes belong to China China Mobile, China Unicom, and China Telecom, three different operators, determine that the base station sending the broadcast message is a fake base station and prohibit access.
表1 国内运营商标识清单Table 1 Identification list of domestic operators
由上述可知,本发明的实施例,能够对接收到的基站发送的广播消息中携带的运营商识别码进行核对,并在广播消息中携带的运营商识别码属于不同运营商时,确定发送该广播消息的基站属于伪基站。因此,本发明的实施例,通过对广播消息核查,可以有效识别出伪基站,从而防止移动终端接入到伪基站,进而避免移动终端用户的隐私信息泄露,提升用户的通信体验和上网体验。As can be seen from the above, the embodiment of the present invention can check the operator identification code carried in the received broadcast message sent by the base station, and when the operator identification code carried in the broadcast message belongs to a different operator, determine to send the The base station that broadcasts the message is a pseudo base station. Therefore, in the embodiment of the present invention, by checking the broadcast message, the fake base station can be effectively identified, thereby preventing the mobile terminal from accessing the fake base station, thereby avoiding the leakage of private information of the mobile terminal user, and improving the user's communication experience and online experience.
本发明的实施例还提供了一种伪基站的识别方法,该方法针对的是4G伪基站的识别。其中,如图2所示,该方法包括:The embodiment of the present invention also provides a method for identifying a pseudo base station, which is aimed at identifying a 4G pseudo base station. Wherein, as shown in Figure 2, the method includes:
步骤201:收基站发送的广播消息。Step 201: Receive a broadcast message sent by a base station.
其中,基站发送的广播消息中携带有运营商识别码。而正常基站所发送的广播消息中只携带该基站所属于的运营商的识别码,即正常基站所发送的广播消息中携带的运营商识别码只属于一个运营商。而对于伪基站,其为了能够收集更多移动终端的用户信息,则会在其发送的广播消息中携带至少两个运营商的识别码。由此可知,本发明的实施例,可以通过对广播消息中携带的运营商识别码进行核查,从而识别出伪基站。Wherein, the broadcast message sent by the base station carries the operator identification code. However, the broadcast message sent by the normal base station only carries the identification code of the operator to which the base station belongs, that is, the operator identification code carried in the broadcast message sent by the normal base station belongs to only one operator. As for the pseudo base station, in order to be able to collect more user information of mobile terminals, it will carry identification codes of at least two operators in the broadcast message it sends. It can be seen that, in the embodiment of the present invention, the fake base station can be identified by checking the operator identification code carried in the broadcast message.
步骤202:在所述广播消息中携带的运营商识别码大于或等于两个且属于不同的运营商时,确定发送所述广播消息的基站属于伪基站。Step 202: When the operator identification codes carried in the broadcast message are greater than or equal to two and belong to different operators, determine that the base station sending the broadcast message belongs to a pseudo base station.
具体地,可以预先建立一份如上述表1所示的国内运营商标识清单,并将该国内运营商标识清单存储在移动终端中,则当移动终端接收到基站发送的广播消息时,将广播消息中携带的运营商识别码与移动终端中预先存储的运营商标示清单进行匹配,若广播消息同时下发两个以上不同运营商的识别码,则判定发送广播消息的基站为伪基站,并进行小区重选。Specifically, a domestic operator identification list as shown in the above Table 1 can be established in advance, and the domestic operator identification list is stored in the mobile terminal, then when the mobile terminal receives the broadcast message sent by the base station, it will broadcast The operator identification code carried in the message is matched with the pre-stored operator identification list in the mobile terminal. If the broadcast message sends identification codes of two or more different operators at the same time, it is determined that the base station sending the broadcast message is a pseudo base station, and Perform cell reselection.
例如广播消息中包含460-00、460-01、460-11这三个运营商识别码,则根据表1中的国内运营商标识清单,可以判断出这三个运营商识别码分别归属于中国移动,中国联通,中国电信三家不同的运营商,则判断发送广播消息的基站为伪基站并禁止接入。For example, if the broadcast message contains three operator identification codes of 460-00, 460-01, and 460-11, according to the domestic operator identification list in Table 1, it can be judged that these three operator identification codes belong to China China Mobile, China Unicom, and China Telecom, three different operators, determine that the base station sending the broadcast message is a fake base station and prohibit access.
步骤203:获取所述基站所使用的目标频点和目标小区标识。Step 203: Obtain the target frequency point and target cell identity used by the base station.
步骤204:在所述目标频点与预先确定的标准频点不一致,和/或所述目标小区标识与预先确定的标准小区标识不一致时,将所述目标频点和所述目标小区标识加入伪基站黑名单中。Step 204: When the target frequency point is inconsistent with the predetermined standard frequency point, and/or the target cell identity is inconsistent with the predetermined standard cell identity, add the target frequency point and the target cell identity to a fake In the base station blacklist.
由于某些伪基站所使用的目标频点和目标小区标识,可能与正常基站所使用的频点和小区标识相同,因而在将伪基站所使用的目标频点和目标小区标识加入到伪基站黑名单中之前,需要进一步将伪基站所使用的目标频点和目标小区标识和现网运营商的标准频点及小区标识(即预先确定的标准频点和标准小区标识)进行核对,并在二者中任意一个不一致时,将所述目标频点和所述目标小区标识加入伪基站黑名单中,从而避免将使用相同频点和相同小区标识的正常基站误识别为伪基站。Since the target frequency points and target cell IDs used by some pseudo base stations may be the same as those used by normal base stations, the target frequency points and target cell IDs used by pseudo base stations are added to the pseudo base station black Before entering the list, it is necessary to further check the target frequency point and target cell ID used by the pseudo base station with the standard frequency point and cell ID of the existing network operator (that is, the predetermined standard frequency point and standard cell ID), and then When any one of them is inconsistent, the target frequency point and the target cell identity are added to the blacklist of false base stations, so as to avoid misidentifying normal base stations using the same frequency point and the same cell identity as false base stations.
步骤205:在所述广播消息中携带的运营商识别码属于一个运营商时,根据移动终端与所述基站的位置区更新的交互过程,判断所述基站是否属于伪基站。Step 205: When the operator identification code carried in the broadcast message belongs to an operator, judge whether the base station belongs to a pseudo base station according to the interaction process between the mobile terminal and the location area update of the base station.
对于某些伪基站,在其发送的广播消息中携带的运营商识别码也可能只属于一个运营商。而针对此种伪基站,本发明的实施例根据移动终端与其的位置区更新过程进行伪基站的识别。For some pseudo base stations, the operator identification code carried in the broadcast message sent by them may only belong to one operator. For this kind of pseudo base station, the embodiment of the present invention performs identification of the pseudo base station according to the mobile terminal and its location area update process.
其中,如图3所示,为移动终端与正常基站的位置区更新过程。即当移动终端随机接入某一基站后需要进行位置区更新时,该移动终端则向其所接入的基站发送位置区更新请求,基站接收到该位置区更新请求后,移动终端与基站则进行鉴权和加密,并在鉴权和加密完成后,由基站向移动终端发送位置区更新接受消息,使得移动终端完成位置区更新过程。Wherein, as shown in FIG. 3 , it is the location area update process between the mobile terminal and the normal base station. That is, when a mobile terminal randomly accesses a base station and needs to perform location area update, the mobile terminal sends a location area update request to the base station it accesses, and after the base station receives the location area update request, the mobile terminal and the base station then Perform authentication and encryption, and after the authentication and encryption are completed, the base station sends a location area update acceptance message to the mobile terminal, so that the mobile terminal completes the location area update process.
另外,如图4所示,为移动终端与伪基站的位置区更新过程。即当移动终端随机接入某一基站后需要进行位置区更新时,该移动终端则向其所接入的基站发送位置区更新请求,基站接收到该位置区更新请求后,则向移动终端发送身份信息请求,使得移动终端将用户的身份信息(例如国际移动用户识别码、国际移动设备识别码等)上报给基站。其中,当基站接收到移动终端上报的身份信息后,可按照如图4所示的流程,向移动终端发送位置区更新拒绝,并释放无线链路连接,从而将移动终端从该基站中移除。或者,当基站接收到移动终端上报的身份信息后,可不向移动终端发送位置区更新拒绝,并对移动终端的其他业务请求不作出任何响应,使得移动终端认为4G网络不可使用,而去寻找2G或3G网络使用。In addition, as shown in FIG. 4, it is the location area update process between the mobile terminal and the pseudo base station. That is, when a mobile terminal randomly accesses a base station and needs to update the location area, the mobile terminal sends a location area update request to the base station it accesses, and the base station sends a location area update request to the mobile terminal after receiving the location area update request. The identity information request enables the mobile terminal to report the user's identity information (such as International Mobile Subscriber Identity, International Mobile Equipment Identity, etc.) to the base station. Among them, when the base station receives the identity information reported by the mobile terminal, it can send a location area update rejection to the mobile terminal according to the process shown in Figure 4, and release the wireless link connection, thereby removing the mobile terminal from the base station . Alternatively, after receiving the identity information reported by the mobile terminal, the base station may not send a location area update rejection to the mobile terminal, and may not respond to other service requests of the mobile terminal, so that the mobile terminal thinks that the 4G network is unavailable, and searches for a 2G network. or 3G network use.
从上述移动终端与正常基站的位置区更新过程以及与伪基站的位置区更新过程的对比来看,正常基站在移动终端发起位置区更新请求后,双方会做鉴权和加密;而伪基站会在位置区更新请求后发起身份信息请求。因而,根据该区别特征,可以进一步识别出伪基站。From the above comparison of the location area update process between the mobile terminal and the normal base station and the location area update process of the pseudo base station, after the normal base station initiates the location area update request from the mobile terminal, both parties will perform authentication and encryption; while the pseudo base station will The identity information request is initiated after the location area update request. Therefore, according to the distinguishing feature, the pseudo base station can be further identified.
因此,优选地,所述根据移动终端与所述基站的位置区更新的交互过程,判断所述基站是否属于伪基站的步骤,包括:Therefore, preferably, the step of judging whether the base station belongs to a pseudo base station according to the interaction process between the mobile terminal and the location area update of the base station includes:
向所述基站发送位置区更新请求;sending a location area update request to the base station;
当接收到所述基站根据所述位置区更新请求发送的身份信息请求时,确定所述基站属于伪基站。When receiving the identity information request sent by the base station according to the location area update request, it is determined that the base station belongs to a pseudo base station.
步骤206:当所述基站属于伪基站时,获取所述基站所使用的目标频点和目标小区标识。Step 206: When the base station belongs to a pseudo base station, acquire a target frequency point and a target cell identity used by the base station.
步骤207:在所述目标频点与预先确定的标准频点不一致,和/或所述目标小区标识与预先确定的标准小区标识不一致时,将所述目标频点和所述目标小区标识加入伪基站黑名单中。Step 207: When the target frequency point is inconsistent with the predetermined standard frequency point, and/or the target cell identity is inconsistent with the predetermined standard cell identity, add the target frequency point and the target cell identity to a fake In the base station blacklist.
其中,当通过步骤205根据移动终端与基站的位置区更新的交互过程识别出该基站属于伪基站后,由于移动终端已经接入该伪基站,所以,移动终端只能在完成与该伪基站的位置区更新过程之后(即在接收到伪基站发送的位置区更新拒绝后离开该伪基站之后,或者因为伪基站不对移动终端的其他业务请求作出响应而将4G网络禁用之后),才能将该伪基站加入到伪基站黑名单中。Wherein, after step 205 recognizes that the base station belongs to a pseudo base station according to the interaction process of location area update between the mobile terminal and the base station, since the mobile terminal has already accessed the pseudo base station, the mobile terminal can only complete the communication with the pseudo base station. After the location area update process (that is, after receiving the location area update rejection sent by the pseudo base station and leaving the pseudo base station, or after the 4G network is disabled because the pseudo base station does not respond to other service requests of the mobile terminal), the pseudo base station can only be used. The base station is added to the blacklist of fake base stations.
另外,由于某些伪基站所使用的目标频点和目标小区标识,可能与正常基站所使用的频点和小区标识相同,因而在将伪基站所使用的目标频点和目标小区标识加入到伪基站黑名单中之前,需要进一步将伪基站所使用的目标频点和目标小区标识和现网运营商的标准频点及小区标识(即预先确定的标准频点和标准小区标识)进行核对,并在二者中任意一个不一致时,将所述目标频点和所述目标小区标识加入伪基站黑名单中,从而避免将使用相同频点和相同小区标识的正常基站误识别为伪基站。In addition, since the target frequency and target cell ID used by some pseudo base stations may be the same as those used by normal base stations, the target frequency and target cell ID used by the pseudo base station are added to the pseudo base station. Before entering the base station blacklist, it is necessary to further check the target frequency point and target cell ID used by the pseudo base station with the standard frequency point and cell ID of the existing network operator (that is, the predetermined standard frequency point and standard cell ID), and When any one of the two is inconsistent, the target frequency point and the target cell identity are added to the blacklist of false base stations, so as to avoid misidentifying normal base stations using the same frequency point and the same cell identity as false base stations.
步骤208:在所述广播消息中携带的频点和/或小区标识存在于预先确定的伪基站黑名单中时,确定发送所述广播消息的基站属于伪基站。Step 208: When the frequency point and/or cell identifier carried in the broadcast message exists in the predetermined blacklist of fake base stations, determine that the base station sending the broadcast message belongs to a fake base station.
其中,预先确定的伪基站黑名单可如表2所示。此伪基站黑名单的数据来源为日常测试或投诉发现的伪基站特征。另外,通过上述步骤202和步骤205识别出的伪基站所使用的频点和小区标识,也可添加到该伪基站黑名单中。Wherein, the predetermined false base station blacklist may be as shown in Table 2. The data source of this fake base station blacklist is the characteristics of fake base stations found in daily tests or complaints. In addition, the frequency point and cell identity used by the pseudo base station identified through the above step 202 and step 205 may also be added to the blacklist of the pseudo base station.
表2 伪基站黑名单Table 2 Blacklist of fake base stations
另外,基站发送的广播消息中还携带有该基站所使用的频点和小区标识。具体地,移动终端可以读取并解码广播消息中的主系统信息块(master information block,简称MIB)和系统信息块(System Information Blocks,简称SIB),从而获得基站所使用的频点和小区标识,进而查找预先确定的伪基站黑名单中是否存在该基站所使用的频点和小区标识,若该基站所使用的频点和小区标识中的任何一个存在于伪基站黑名单中,则确定该基站属于伪基站。In addition, the broadcast message sent by the base station also carries the frequency point and cell identity used by the base station. Specifically, the mobile terminal can read and decode the master system information block (MIB) and system information blocks (System Information Blocks, SIB) in the broadcast message, so as to obtain the frequency point and cell identity used by the base station , and then search whether there is a frequency point and a cell identity used by the base station in the predetermined pseudo base station blacklist, if any one of the frequency point and the cell identity used by the base station exists in the false base station blacklist, then determine the The base station is a pseudo base station.
此外,对于步骤208与步骤202的先后顺序,可以优先判断广播消息中携带的频点和小区标识是否存在于预先确定的伪基站黑名单中,然后再判断广播消息中携带的运营商识别码是否大于或等于两个且属于不同的运营商;或者,可以优先判断广播消息中携带的运营商识别码是否大于或等于两个且属于不同的运营商,然后再判断广播消息中携带的频点和小区标识是否存在于预先确定的伪基站黑名单中;或者,同时判断广播消息中携带的频点和小区标识是否存在于预先确定的伪基站黑名单中,以及广播消息中携带的运营商识别码是否大于或等于两个且属于不同的运营商。In addition, regarding the order of steps 208 and 202, it is possible to first determine whether the frequency point and cell identity carried in the broadcast message exist in the predetermined blacklist of false base stations, and then determine whether the operator identification code carried in the broadcast message is greater than or equal to two and belong to different operators; or, it is possible to first judge whether the operator identification codes carried in the broadcast message are greater than or equal to two and belong to different operators, and then determine the frequency and frequency points carried in the broadcast message Whether the cell ID exists in the predetermined pseudo base station blacklist; or, at the same time, judge whether the frequency point and cell identification carried in the broadcast message exist in the predetermined pseudo base station blacklist, and the operator identification code carried in the broadcast message Are they greater than or equal to two and belong to different carriers.
具体地,当优先判断广播消息中携带的频点和小区标识是否存在于预先确定的伪基站黑名单中,然后再判断广播消息中携带的运营商识别码是否大于或等于两个且属于不同的运营商时,若广播消息中携带的频点和/或小区标识存在于预先确定的伪基站黑名单中,则确定发送广播消息的基站属于伪基站;若广播消息中携带的频点和小区标识均未存在于预先确定的伪基站黑名单中时,进一步判断广播消息中携带的运营商识别标识是否大于或等于两个且属于不同的运营商,并在广播消息中携带的运营商识别码大于或等于两个且属于不同的运营商时,确定发送广播消息的基站属于伪基站。Specifically, when first judging whether the frequency point and cell identity carried in the broadcast message exists in the predetermined blacklist of false base stations, and then judging whether the operator identification codes carried in the broadcast message are greater than or equal to two and belong to different For operators, if the frequency point and/or cell identity carried in the broadcast message exists in the predetermined pseudo base station blacklist, it is determined that the base station sending the broadcast message belongs to the pseudo base station; if the frequency point and cell identity carried in the broadcast message When neither exists in the predetermined blacklist of false base stations, it is further judged whether the operator identifications carried in the broadcast message are greater than or equal to two and belong to different operators, and the operator identification codes carried in the broadcast message are greater than or equal to two or equal to two and belong to different operators, it is determined that the base station sending the broadcast message belongs to a pseudo base station.
综上所述,本发明的实施例,能够对接收到的基站发送的广播消息中携带的运营商识别码进行核对,并在广播消息中携带的运营商识别码大于或等于两个且属于不同运营商时,确定发送该广播消息的基站属于伪基站。因此,本发明的实施例,通过对广播消息的核查,可以有效识别出伪基站,从而防止移动终端接入到伪基站,进而避免移动终端用户的隐私信息泄露,提升用户的通信体验和上网体验。另外,通过将识别出的伪基站的频点和小区标识加入伪基站黑名单,能够不断更新和完善伪基站清单,从而提高伪基站识别的准确性。In summary, the embodiments of the present invention can check the operator identification codes carried in the received broadcast message sent by the base station, and the operator identification codes carried in the broadcast message are greater than or equal to two and belong to different When the operator determines that the base station sending the broadcast message is a pseudo base station. Therefore, the embodiment of the present invention can effectively identify the fake base station by checking the broadcast message, thereby preventing the mobile terminal from accessing the fake base station, thereby avoiding the leakage of private information of the mobile terminal user, and improving the user's communication experience and online experience . In addition, by adding the frequency points and cell identifiers of the identified pseudo base stations to the blacklist of pseudo base stations, the list of pseudo base stations can be continuously updated and improved, thereby improving the accuracy of identification of pseudo base stations.
本发明的实施例提供了一种移动终端,如图5所示,该移动终端500包括:An embodiment of the present invention provides a mobile terminal. As shown in FIG. 5, the mobile terminal 500 includes:
消息接收模块501,用于接收基站发送的广播消息;A message receiving module 501, configured to receive a broadcast message sent by the base station;
第一识别模块503,用于在所述广播消息中携带的运营商识别码大于或等于两个且属于不同的运营商时,确定发送所述广播消息的基站属于伪基站。The first identification module 503 is configured to determine that the base station sending the broadcast message belongs to a pseudo base station when the operator identification codes carried in the broadcast message are greater than or equal to two and belong to different operators.
优选地,如图6所示,所述移动终端500还包括:Preferably, as shown in FIG. 6, the mobile terminal 500 further includes:
第二识别模块504,用于在所述广播消息中携带的运营商识别码属于一个运营商时,根据移动终端与所述基站的位置区更新的交互过程,判断所述基站是否属于伪基站。The second identification module 504 is configured to determine whether the base station belongs to a pseudo base station according to the interaction process between the mobile terminal and the location area update of the base station when the operator identification code carried in the broadcast message belongs to an operator.
优选地,如图6所示,所述第二识别模块504包括:Preferably, as shown in FIG. 6, the second identification module 504 includes:
更新请求单元5041,用于向所述基站发送位置区更新请求;An update request unit 5041, configured to send a location area update request to the base station;
伪基站确定单元5042,用于当接收到所述基站根据所述位置区更新请求发送的身份信息请求时,确定所述基站属于伪基站。The pseudo base station determining unit 5042 is configured to determine that the base station belongs to a pseudo base station when receiving the identity information request sent by the base station according to the location area update request.
优选地,如图6所示,所述移动终端500还包括:Preferably, as shown in FIG. 6, the mobile terminal 500 further includes:
第一信息获取模块505,用于在所述移动终端完成与所述基站的位置区更新的交互过程之后,当所述基站属于伪基站时,获取所述基站所使用的目标频点和目标小区标识;The first information obtaining module 505 is configured to obtain the target frequency point and the target cell used by the base station when the base station belongs to a pseudo base station after the mobile terminal completes the interaction process of location area update with the base station logo;
第一添加模块506,用于在所述目标频点与预先确定的标准频点不一致,和/或所述目标小区标识与预先确定的标准小区标识不一致时,将所述目标频点和所述目标小区标识加入伪基站黑名单中。The first adding module 506 is configured to combine the target frequency with the predetermined standard frequency when the target frequency is inconsistent with the predetermined standard frequency, and/or the target cell identity is inconsistent with the predetermined standard cell The target cell ID is added to the blacklist of the fake base station.
优选地,如图6所示,所述移动终端500还包括:Preferably, as shown in FIG. 6, the mobile terminal 500 further includes:
第二信息获取模块507,用于在所述第一识别模块503确定发送所述广播消息的基站属于伪基站之后,获取所述基站所使用的目标频点和目标小区标识;The second information acquisition module 507 is configured to acquire the target frequency point and target cell identity used by the base station after the first identification module 503 determines that the base station sending the broadcast message belongs to a pseudo base station;
第二添加模块508,用于在所述目标频点与预先确定的标准频点不一致,和/或所述目标小区标识与预先确定的标准小区标识不一致时,将所述目标频点和所述目标小区标识加入伪基站黑名单中。The second adding module 508 is configured to combine the target frequency with the predetermined standard frequency when the target frequency is inconsistent with the predetermined standard The target cell ID is added to the blacklist of the fake base station.
优选地,如图6所示,所述移动终端500还包括:Preferably, as shown in FIG. 6, the mobile terminal 500 further includes:
第三识别模块502,用于在所述广播消息中携带的频点和/或小区标识存在于预先确定的伪基站黑名单中时,确定发送所述广播消息的基站属于伪基站。The third identifying module 502 is configured to determine that the base station sending the broadcast message belongs to a pseudo base station when the frequency point and/or cell identifier carried in the broadcast message exists in a predetermined blacklist of pseudo base stations.
由上述可知,本发明的实施例,能够对接收到的基站发送的广播消息中携带的运营商识别码进行核对,并在广播消息中携带的运营商识别码大于或等于两个且属于不同运营商时,确定发送该广播消息的基站属于伪基站。因此,本发明的实施例,通过对广播消息的核查,可以有效识别出伪基站,从而防止移动终端接入到伪基站,进而避免移动终端用户的隐私信息泄露,提升用户的通信体验和上网体验。As can be seen from the above, the embodiments of the present invention can check the operator identification codes carried in the received broadcast message sent by the base station, and the operator identification codes carried in the broadcast message are greater than or equal to two and belong to different operators. When the quotient is determined, it is determined that the base station sending the broadcast message belongs to a pseudo base station. Therefore, the embodiment of the present invention can effectively identify the fake base station by checking the broadcast message, thereby preventing the mobile terminal from accessing the fake base station, thereby avoiding the leakage of private information of the mobile terminal user, and improving the user's communication experience and online experience .
本发明的实施例还提供了一种移动终端,如图7所示,该移动终端700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The embodiment of the present invention also provides a mobile terminal, as shown in Figure 7, the mobile terminal 700 includes but not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706 , a user input unit 707 , an interface unit 708 , a memory 709 , a processor 710 , and a power supply 711 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 7 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.
其中,处理器710用于接收基站发送的广播消息,并在在所述广播消息中携带的运营商识别码大于或等于两个且属于不同的运营商时,确定发送所述广播消息的基站属于伪基站。Wherein, the processor 710 is configured to receive a broadcast message sent by a base station, and determine that the base station sending the broadcast message belongs to pseudo base station.
因此,本发明实施例的移动终端700,能够对接收到的基站发送的广播消息中携带的运营商识别码进行核对,并在广播消息中携带的运营商识别码大于或等于两个且属于不同运营商时,确定发送该广播消息的基站属于伪基站。因此,本发明的实施例,通过对广播消息的核查,可以有效识别出伪基站,从而防止移动终端接入到伪基站,进而避免移动终端用户的隐私信息泄露,提升用户的通信体验和上网体验。Therefore, the mobile terminal 700 in the embodiment of the present invention can check the operator identification code carried in the received broadcast message sent by the base station, and the operator identification code carried in the broadcast message is greater than or equal to two and belongs to different When the operator determines that the base station sending the broadcast message is a pseudo base station. Therefore, the embodiment of the present invention can effectively identify the fake base station by checking the broadcast message, thereby preventing the mobile terminal from accessing the fake base station, thereby avoiding the leakage of private information of the mobile terminal user, and improving the user's communication experience and online experience .
应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 can be used to receive and send signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 710; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 702, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与移动终端700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 can also provide audio output related to a specific function performed by the mobile terminal 700 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processing unit (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 706 . The image frames processed by the graphics processor 7041 may be stored in the memory 709 (or other storage media) or sent via the radio frequency unit 701 or the network module 702 . The microphone 7042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 701 for output in the case of a phone call mode.
移动终端700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在移动终端700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 7061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。The display unit 706 is used to display information input by the user or information provided to the user. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元707可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 707 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072 . The touch panel 7071, also referred to as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 7071 or near the touch panel 7071). operate). The touch panel 7071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to For the processor 710, receive the command sent by the processor 710 and execute it. In addition, the touch panel 7071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 7071 , the user input unit 707 may also include other input devices 7072 . Specifically, other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 7071 can be covered on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it will be sent to the processor 710 to determine the type of the touch event. The type of event provides a corresponding visual output on the display panel 7061. Although in FIG. 7, the touch panel 7071 and the display panel 7061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.
接口单元708为外部装置与移动终端700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端700内的一个或多个元件或者可以用于在移动终端700和外部装置之间传输数据。The interface unit 708 is an interface for connecting an external device to the mobile terminal 700 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 708 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 709 can be used to store software programs as well as various data. The memory 709 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器710是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 is the control center of the mobile terminal, which uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 709, and calling data stored in the memory 709 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .
移动终端700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 700 can also include a power supply 711 (such as a battery) for supplying power to various components. Preferably, the power supply 711 can be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
另外,移动终端700包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 700 includes some functional modules not shown, which will not be repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述伪基站的识别方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process in the embodiment of the method for identifying a pseudo base station described above can be realized, and the same can be achieved. To avoid repetition, the technical effects will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (13)
- A kind of 1. recognition methods of pseudo-base station, it is characterised in that including:Receive the broadcast message that base station is sent;When the carrier identification code carried in the broadcast message is more than or equal to two and belongs to different operators, it is determined that The base station for sending the broadcast message belongs to pseudo-base station.
- 2. according to the method for claim 1, it is characterised in that it is described receive base station send broadcast message the step of it Afterwards, methods described also includes:When the carrier identification code carried in the broadcast message belongs to an operator, according to mobile terminal and the base station Location area updating interaction, judge whether the base station belongs to pseudo-base station.
- 3. according to the method for claim 2, it is characterised in that the position area according to mobile terminal and the base station is more New interaction, judge the step of whether base station belongs to pseudo-base station, including:Location area updating request is sent to the base station;When receiving the identity information request that the base station is sent according to location area updating request, the base station category is determined In pseudo-base station.
- 4. according to the method for claim 2, it is characterised in that the mobile terminal is completed with the position area of the base station more After new interaction, methods described also includes:When the base station belongs to pseudo-base station, target frequency and Target Cell Identifier used in the base station are obtained;It is inconsistent in the target frequency and predetermined standard frequency point, and/or the Target Cell Identifier is with predefining Normal cell mark it is inconsistent when, the target frequency and the Target Cell Identifier are added in pseudo-base station blacklist.
- 5. according to the method for claim 1, it is characterised in that it is determined that the base station for sending the broadcast message belongs to pseudo-base station The step of after, methods described also includes:Obtain target frequency and Target Cell Identifier used in the base station;It is inconsistent in the target frequency and predetermined standard frequency point, and/or the Target Cell Identifier is with predefining Normal cell mark it is inconsistent when, the target frequency and the Target Cell Identifier are added in pseudo-base station blacklist.
- 6. according to the method for claim 1, it is characterised in that it is described receive base station send broadcast message the step of it Afterwards, methods described also includes:When the frequency and/or cell ID carried in the broadcast message is present in predetermined pseudo-base station blacklist, It is determined that the base station for sending the broadcast message belongs to pseudo-base station.
- A kind of 7. mobile terminal, it is characterised in that including:Message reception module, for receiving the broadcast message of base station transmission;First identification module, the carrier identification code for being carried in the broadcast message are more than or equal to two and belonged to not With operator when, it is determined that the base station for sending the broadcast message belongs to pseudo-base station.
- 8. mobile terminal according to claim 7, it is characterised in that the mobile terminal also includes:Second identification module, when the carrier identification code for being carried in the broadcast message belongs to an operator, according to The interaction of mobile terminal and the location area updating of the base station, judges whether the base station belongs to pseudo-base station.
- 9. mobile terminal according to claim 8, it is characterised in that second identification module includes:Request unit is updated, for sending location area updating request to the base station;Pseudo-base station determining unit, please for that ought receive the identity information that the base station asks to send according to the location area updating When asking, determine that the base station belongs to pseudo-base station.
- 10. mobile terminal according to claim 8, it is characterised in that the mobile terminal also includes:First information acquisition module, for the mobile terminal complete with the interaction of the location area updating of the base station it Afterwards, when the base station belongs to pseudo-base station, target frequency and Target Cell Identifier used in the base station are obtained;First add module, for inconsistent in the target frequency and predetermined standard frequency point, and/or the target is small When area identifies and predetermined normal cell mark is inconsistent, the target frequency and the Target Cell Identifier are added pseudo- In the blacklist of base station.
- 11. mobile terminal according to claim 7, it is characterised in that the mobile terminal also includes:Second data obtaining module, for belonging to pseudo- base in the base station that first identification module determines to send the broadcast message After standing, target frequency and Target Cell Identifier used in the base station are obtained;Second add module, for inconsistent in the target frequency and predetermined standard frequency point, and/or the target is small When area identifies and predetermined normal cell mark is inconsistent, the target frequency and the Target Cell Identifier are added pseudo- In the blacklist of base station.
- 12. mobile terminal according to claim 7, it is characterised in that the mobile terminal also includes:3rd identification module, frequency and/or cell ID for being carried in the broadcast message are present in predetermined When in pseudo-base station blacklist, it is determined that the base station for sending the broadcast message belongs to pseudo-base station.
- 13. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 6 during the computing device Any one of pseudo-base station recognition methods the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711326894.3A CN107889112B (en) | 2017-12-13 | 2017-12-13 | A kind of recognition methods of pseudo-base station and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711326894.3A CN107889112B (en) | 2017-12-13 | 2017-12-13 | A kind of recognition methods of pseudo-base station and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107889112A true CN107889112A (en) | 2018-04-06 |
CN107889112B CN107889112B (en) | 2019-11-26 |
Family
ID=61774270
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711326894.3A Active CN107889112B (en) | 2017-12-13 | 2017-12-13 | A kind of recognition methods of pseudo-base station and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107889112B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110366184A (en) * | 2019-07-19 | 2019-10-22 | 深圳传音控股股份有限公司 | A kind of method and intelligent terminal identifying pseudo-base station note |
CN114125849A (en) * | 2021-11-19 | 2022-03-01 | 江西鑫铂瑞科技有限公司 | Wireless communication security situation sensing system in industrial Internet of things |
US11388646B2 (en) * | 2017-08-10 | 2022-07-12 | Kyocera Corporation | Cell reselection control method, base station, and radio terminal |
WO2024193372A1 (en) * | 2023-03-17 | 2024-09-26 | 维沃移动通信有限公司 | Method and apparatus for identifying pseudo base station, and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8387141B1 (en) * | 2011-09-27 | 2013-02-26 | Green Head LLC | Smartphone security system |
CN105357672A (en) * | 2015-11-20 | 2016-02-24 | 华为技术有限公司 | Pseudo base station identification method and user equipment |
CN105898703A (en) * | 2016-06-12 | 2016-08-24 | 努比亚技术有限公司 | Method and device for managing identified pseudo base stations |
CN106211167A (en) * | 2016-06-28 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal, pseudo-base station recognition methods and system |
CN107426731A (en) * | 2016-05-23 | 2017-12-01 | 联发科技(新加坡)私人有限公司 | The recognition methods of pseudo-base station cell and device |
CN107454597A (en) * | 2016-05-30 | 2017-12-08 | 宇龙计算机通信科技(深圳)有限公司 | Identify the method, apparatus and terminal of pseudo-base station |
-
2017
- 2017-12-13 CN CN201711326894.3A patent/CN107889112B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8387141B1 (en) * | 2011-09-27 | 2013-02-26 | Green Head LLC | Smartphone security system |
CN105357672A (en) * | 2015-11-20 | 2016-02-24 | 华为技术有限公司 | Pseudo base station identification method and user equipment |
CN107426731A (en) * | 2016-05-23 | 2017-12-01 | 联发科技(新加坡)私人有限公司 | The recognition methods of pseudo-base station cell and device |
CN107454597A (en) * | 2016-05-30 | 2017-12-08 | 宇龙计算机通信科技(深圳)有限公司 | Identify the method, apparatus and terminal of pseudo-base station |
CN105898703A (en) * | 2016-06-12 | 2016-08-24 | 努比亚技术有限公司 | Method and device for managing identified pseudo base stations |
CN106211167A (en) * | 2016-06-28 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal, pseudo-base station recognition methods and system |
Non-Patent Citations (2)
Title |
---|
CHEN ZHANG: "Malicious base station and detecting malicious base station signal", 《CHINA COMMUNICATIONS》 * |
周之童: "伪基站系统侦测识别及定位方法研究", 《第29次全国计算机安全学术交流会论文集》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11388646B2 (en) * | 2017-08-10 | 2022-07-12 | Kyocera Corporation | Cell reselection control method, base station, and radio terminal |
CN110366184A (en) * | 2019-07-19 | 2019-10-22 | 深圳传音控股股份有限公司 | A kind of method and intelligent terminal identifying pseudo-base station note |
CN114125849A (en) * | 2021-11-19 | 2022-03-01 | 江西鑫铂瑞科技有限公司 | Wireless communication security situation sensing system in industrial Internet of things |
CN114125849B (en) * | 2021-11-19 | 2023-05-30 | 江西鑫铂瑞科技有限公司 | Wireless communication security situation awareness system in industrial Internet of things |
WO2024193372A1 (en) * | 2023-03-17 | 2024-09-26 | 维沃移动通信有限公司 | Method and apparatus for identifying pseudo base station, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107889112B (en) | 2019-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10304461B2 (en) | Remote electronic service requesting and processing method, server, and terminal | |
CN108965306B (en) | Call processing method and mobile terminal | |
CN106658489B (en) | Terminal application processing method and device and mobile terminal | |
CN109618316B (en) | Network sharing method, mobile terminal and storage medium | |
CN110022553B (en) | User identity identification card management method and mobile terminal | |
CN107889112B (en) | A kind of recognition methods of pseudo-base station and mobile terminal | |
CN111479309B (en) | Service processing method, user equipment and computer readable storage medium | |
CN109819489B (en) | Terminal calling method and terminal | |
CN107094303B (en) | Terminal network registration method, device and computer readable storage medium | |
CN106507422A (en) | Mobile terminal and method for switching network | |
CN107135498B (en) | File sharing method and equipment | |
CN110099378A (en) | Determination method, apparatus, equipment and the storage medium of incoming call attaching information | |
CN107786739B (en) | Information acquisition method and mobile terminal | |
CN107194217B (en) | User data access control method, apparatus and computer-readable storage medium | |
CN108959960B (en) | Method, device and computer readable storage medium for preventing privacy disclosure | |
CN108038362B (en) | Unread information display method and device and computer readable storage medium | |
CN108040116B (en) | Message pushing method, router and computer readable storage medium | |
CN107395363B (en) | Fingerprint sharing method and mobile terminal | |
WO2021057219A1 (en) | Network information processing method and terminal device | |
WO2020244477A1 (en) | Sending method and receiving method for network identification information, and communication device | |
WO2021027921A1 (en) | Handover configuration method, network device, terminal device, and storage medium | |
CN109104722B (en) | Terminal access method, device and computer readable storage medium | |
CN109451143B (en) | Call method and mobile terminal | |
CN107222933B (en) | Communication method, terminal and computer readable storage medium | |
CN108833686A (en) | Processing method for paging message, terminal device, network side equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |