WO2020007250A1 - 伪基站识别开关控制方法、装置、移动终端及存储介质 - Google Patents

伪基站识别开关控制方法、装置、移动终端及存储介质 Download PDF

Info

Publication number
WO2020007250A1
WO2020007250A1 PCT/CN2019/093843 CN2019093843W WO2020007250A1 WO 2020007250 A1 WO2020007250 A1 WO 2020007250A1 CN 2019093843 W CN2019093843 W CN 2019093843W WO 2020007250 A1 WO2020007250 A1 WO 2020007250A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
base station
terminal device
pseudo base
station identification
Prior art date
Application number
PCT/CN2019/093843
Other languages
English (en)
French (fr)
Inventor
王燕飞
Original Assignee
奇酷互联网络科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 奇酷互联网络科技(深圳)有限公司 filed Critical 奇酷互联网络科技(深圳)有限公司
Publication of WO2020007250A1 publication Critical patent/WO2020007250A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/12Detection or prevention of fraud

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a method, a device, a mobile terminal, and a storage medium for controlling a pseudo base station identification switch.
  • a “pseudo base station” is a fake base station.
  • the device is generally composed of a host and a laptop computer. Through the SMS group sender, SMS sender and other related equipment, it can search for terminal information such as card information such as mobile phones within a certain radius and centered on it. By pretending to be an operator's base station, the information such as the mobile phone number of another person is used to forcibly send short messages such as fraud and advertising to users' mobile phones and other terminals.
  • the user terminal signal is forcibly connected to the device and cannot be connected to the public telecommunication network, which affects the normal use of the terminal and prevents users from using normal services. Therefore, the identification technology of pseudo base stations came into being.
  • the identification of pseudo base stations consists of pre-detection detection and post-behavior identification.
  • Pre-prevention identification is based on the principle of reselection of communication protocols to identify abnormal parameter identification of base stations and terminate before accessing pseudo base stations Dangerous; afterwards identification is based on filtering and identifying the content sent by the base station, such as the identification of characteristic words in scam text messages.
  • test experimental network that is, the stability or function of the network is tested. Since the test network is not a commercial network, the parameters are relatively arbitrary, making it easy for terminal equipment to identify the network as a pseudo base station. As a result, terminal equipment cannot be connected to the network for testing, which leads to the failure of test experiments.
  • the present invention provides a pseudo base station identification switch control method and device, a mobile terminal, and a storage medium, which are used to solve the problem that the terminal cannot connect to the test network when the test experimental network is performed in the prior art.
  • the present invention provides a method for controlling a pseudo base station identification switch.
  • the method includes:
  • the pseudo base station identification function of the terminal device is turned off.
  • the above pseudo base station identification switch control method determines whether the SIM card satisfies the design of the test card and whether the target network satisfies the test network conditions, so as to automatically determine whether the terminal device is a test device, Whether the target network is a test network, and according to the judgment result, correspondingly, the shutdown of the pseudo base station identification function of the terminal device is automatically controlled, so that the terminal device can automatically start the pseudo base station detection in the commercial network, and the non-commercial network is automatically closed. Pseudo base station detection to ensure the normal conduct of test network experiments.
  • the steps of judging whether the user IMSI data meets a test user condition and whether the network IMSI data meets a test network condition include:
  • the terminal device is a test device, and the user IMSI data meets the test user condition
  • the network MCC code is within the second preset code value range, it is determined that the target network is a test network, and the network IMSI data meets the test network condition.
  • the method further includes:
  • the target network When receiving a network registration request sent by any one of the terminal devices to the target network, obtaining the user IMSI data of the terminal device and the network IMSI data of the target network, wherein the IMSI data includes the MCC code , MNC code and MSIN identification code.
  • the SIM card is directly determined as a test card.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the present invention provides a pseudo base station identification switch control device, including:
  • a first determining module configured to determine whether a SIM card in the terminal device is a test card and whether the target network meets a test network condition when a network registration request sent by any terminal device to the target network is received;
  • a control module configured to turn off the pseudo base station identification function of the terminal device when the first judgment module determines that the SIM card is the test card and / or the target network meets the test network conditions.
  • the pseudo base station identification switch control device judges whether the SIM card satisfies the design of the test card and whether the target network satisfies the test network conditions through the first judgment module, so as to automatically determine the terminal correspondingly. Whether the device is a test device and whether the target network is a test network, and according to the judgment result, the control module correspondingly automatically controls the shutdown of the pseudo base station identification function of the terminal device, so that the terminal device can automatically Identify and start the fake base station detection, and the non-commercial network will automatically turn off the fake base station detection to ensure the normal operation of the test network experiment.
  • the first judging module is further configured to directly judge the SIM card as a test card when judging the IMSI value stored in the IMSI data of the user as two values defined by GCF.
  • the first judgment module includes:
  • a first determining unit configured to obtain a user MCC code of the SIM card, and determine whether the user MCC code is within a first preset code value range;
  • a first determining unit configured to determine that the SIM card is the test card when it is determined that the user MCC code is within the first preset code value range
  • a second determining unit configured to obtain a network MCC code of the target network, and determine whether the network MCC code is within a second preset code value range;
  • a second determining unit is configured to, when it is determined that the network MCC code is within the second preset code value range, determine that the network IMSI data meets the test network condition, and the target network is a test network.
  • the apparatus further includes:
  • a storage module configured to obtain and store the IP address of the target network, and when the network registration request for the IP address is received, turn off the pseudo base station identification function of the sender device of the network registration request .
  • the apparatus further includes:
  • the timing module is configured to start timing when the control module determines that the network connection between the terminal device and the target network is disconnected, to obtain a timing time.
  • the apparatus further includes:
  • a second determination module configured to determine whether the timing time is greater than a time threshold according to a timing result of the timing module
  • control module is further configured to control enabling the pseudo base station identification function of the terminal device.
  • the apparatus further includes:
  • a third determination module configured to determine whether the terminal device has a SIM card replaced
  • control module is further configured to control enabling the pseudo base station identification function of the terminal device.
  • the apparatus further includes:
  • a fourth judging module configured to judge whether the SIM card currently on the terminal device is the test card when receiving a power-on signal of the terminal device
  • control module is further configured to control turning off the pseudo base station identification function of the terminal device.
  • the present invention provides a mobile terminal including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor running the computer program to cause the mobile terminal to execute The foregoing pseudo base station identification switch control method.
  • the present invention provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the foregoing pseudo base station identification switch control method are implemented.
  • FIG. 1 is a flowchart of a method for controlling a pseudo base station identification switch according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a method for controlling a pseudo base station identification switch according to a second embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a pseudo base station identification switch control device according to a third embodiment of the present invention.
  • a sequenced list of executable instructions that can be considered to implement a logical function can be embodied in any computer-readable medium, For instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from and execute instructions) Or equipment.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
  • test networks are tested, that is, to test the stability or function of the network. Since the test network is not a commercial network, the parameters are relatively random, which makes it easy for terminal equipment to identify the network as a pseudo base station, resulting in Terminal equipment cannot be connected to the network for testing, which leads to the failure of the test experiment. Therefore, the pseudo base station identification switch control method provided by the present invention uses the detection and judgment of the SIM card on the terminal equipment and the target network to automatically control the pseudo base station. The identification and detection function enables the terminal to self-identify and start the detection of the pseudo base station in the commercial network, and the non-commercial network automatically turns off the detection of the pseudo base station, so as to ensure the normal operation of the test network experiment.
  • FIG. 1 is a flowchart of a method for controlling a pseudo base station identification switch according to a first embodiment of the present invention, including steps S10 to S20.
  • Step S10 When receiving a network registration request sent by any terminal device to the target network, determine whether the SIM card in the terminal device is a test card and / or whether the target network meets the test network conditions;
  • the existing mobile phone card is divided into a test card and a commercial card during use.
  • the test card is specifically used to test the network in a network experiment, and the network tests the network and a commercial network respectively.
  • the test network is specifically used in network experiments. Provide the network environment, so the parameter data in the test network is set at will.
  • the commercial network is used to provide people with normal network parameters and networking functions, and when users use the test card, due to the test of network experiments It is required to turn off the pseudo base station identification function corresponding to the terminal device on which the test card is installed, so as to ensure the normal operation of the network experiment.
  • the target network is the test network, for the same reason as the test requirements of the network experiment, it is necessary to correspondingly turn off the pseudo base station identification function of the current terminal device.
  • step S10 a method for judging whether the SIM card is the test and whether the target network meets the test network conditions is adopted to provide a basis for controlling the status of the pseudo base station identification function on the terminal device.
  • the terminal device may be a mobile phone, a tablet, or a smart wearable device.
  • step S10 may simultaneously receive the network registration requests sent by a plurality of different terminal devices to the same target network, and in this step, all of the SIMs on different terminal devices are performed. Judgment of the test card.
  • the test network condition is a preset judgment condition, and a content user of the judgment condition can autonomously modify and add according to requirements.
  • step S10 When it is determined in step S10 that the SIM card is the test card and / or the target network meets the test network conditions, step S20 is performed.
  • Step S20 turn off the pseudo base station identification function of the terminal device
  • the terminal device is determined to be a test device or the target network is determined to be a test network, in order to ensure the validity of the test network experiment, the control corresponding to the terminal is performed in step S20 Turn off the pseudo base station identification function on the device to ensure the normal test network test.
  • the SIM card when it is determined that the SIM card is not the test card, it is determined that the SIM card is a commercial card, and when it is determined that the target network does not meet the test network conditions, the target is determined
  • the network is a commercial network.
  • the terminal device by designing whether the SIM card is satisfied as the test card and whether the target network meets the conditions of the test network, it is automatically determined whether the terminal device is the test device or the target. Whether the network is a test network, and according to the determination result, the pseudo base station identification function of the terminal device is automatically controlled to be turned off, so that the terminal device can self-identify and start the pseudo base station detection in a commercial network, and the non commercial network automatically turns off the pseudo base station detection. To ensure the normal operation of the test network experiment.
  • FIG. 2 is a flowchart of a pseudo base station identification switch control method according to a second embodiment of the present invention.
  • the method includes steps S11 to S91.
  • Step S11 When receiving a network registration request sent by any terminal device to the target network, obtain the user IMSI data of the terminal device and the network IMSI data of the target network respectively;
  • IMSI data of the user and the IMSI data of the network are both International Mobile Subscriber Identification Numbers (IMSI: International Mobile Subscriber Identification Number), which is a mark that distinguishes mobile users, and is stored in the SIM card, which can be used to distinguish valid information of mobile users.
  • IMSI data includes MCC + MNC + MSIN, whose total length does not exceed 15 digits, and also uses numbers from 0-9.
  • MCC is the country code of the mobile user, which occupies 3 digits.
  • China's MCC is set to 460
  • MNC is the mobile network number, which consists of two or three digits.
  • China Mobile's mobile network code (MNC) is 00; Identifies the mobile communication network to which the mobile user belongs;
  • MSIN is a mobile user identification code used to identify mobile users in a mobile communication network.
  • the system can communicate with a number of different terminal devices and target networks, and the system can be installed in an integrated or embedded manner.
  • the system When installed in an integrated manner, the system When installed in a server, the server communicates with a number of different terminal devices and target networks.
  • the system When installed in an embedded manner, the system is correspondingly installed on one of the terminal devices, that is, each of the The system correspondingly controls the state switching of the pseudo base station identification function of one of the terminal devices.
  • the network registration request is automatically issued, and the terminal device may be a mobile phone, a tablet, or a smart wearable device.
  • the terminal device may be a mobile phone, a tablet, or a smart wearable device.
  • the user The acquisition of IMSI data and IMSI data of the network facilitates subsequent determination of whether the terminal device is a test device and whether the target network is a test network.
  • the network registration requests sent by a plurality of different terminal devices to the same target network can be received at the same time, and in this step, all Acquiring the IMSI data of the user stored on the terminal device.
  • the method further includes:
  • the SIM card is detected by using a power-on detection method, so that when it is determined that the currently used SIM card is a test card, the pseudo base station identification function on the terminal device is directly turned off, which effectively improves the pseudo base station identification switch. Control method control efficiency.
  • Step S21 Obtain a user MCC code stored in the user IMSI data, and determine whether the user MCC code is within a first preset code value range;
  • the judgment of the user's MCC code and the first preset code value range is used to determine whether the SIM card corresponding to the user's IMSI data is a test card. When it is determined that the SIM card is a test card, the judgment is made.
  • the terminal device is used to perform a test network experiment.
  • the range can be set by the user according to the requirements to meet the specified requirements.
  • it is judged When the IMSI value stored in the IMSI data of the user is two values defined by the GCF, the SIM card is directly determined as a test card.
  • step S31 is performed.
  • step S31 it is determined that the terminal device is a test device, the SIM card on the terminal device is a test card, and the IMSI data of the user meets the conditions of the test user;
  • step S21 determines that the terminal device is a test device
  • the method further includes:
  • the replaced SIM card may not be a test card, so that the terminal device may not be a test device after replacement, but to protect the network of the terminal device Protective effect.
  • the pseudo base station identification function on the terminal device is re-enabled to prevent the influence of the pseudo base station on the terminal device.
  • step S41 is performed.
  • Step S41 Obtain a network MCC code stored in the network IMSI data, and determine whether the network MCC code is within a second preset code value range;
  • the judgment of the network MCC code and the second preset code value range is used to determine whether the network corresponding to the network IMSI data is a test network.
  • the second preset code value range is sib1.
  • step S51 is performed.
  • Step S51 it is determined that the target network is a test network, and the IMSI data of the network meets the conditions of the test network;
  • step S51 When it is determined in step S51 that the target network is a test network, it is determined that the target network is not a commercial network.
  • the method further includes:
  • the storage design of the IP address effectively improves the control efficiency of the pseudo base station identification switch control method, and improves the user experience.
  • Step S61 Disable the pseudo base station identification function of the terminal device
  • step S61 is used to control the shutdown of the pseudo base station identification function on the corresponding terminal device to ensure the test.
  • the network test proceeded normally.
  • Step S71 When it is determined that the network connection between the terminal device and the target network is disconnected, start timing to obtain the timing time;
  • the status of the communication channel between the terminal device and the target network is monitored in real time to determine whether the network connection is disconnected.
  • a timer may be used for timing.
  • Step S81 determining whether the timing time is greater than a time threshold
  • step S91 is performed.
  • Step S91 controlling to enable the pseudo base station identification function of the terminal device
  • step S81 When it is determined in step S81 that the timing time is greater than the time threshold, it is determined that the communication channel between the terminal device and the target network is normally closed, and in order to ensure the network protection effect of the terminal device, at this time By re-enabling the pseudo base station identification function on the terminal device to prevent the pseudo base station from affecting the terminal device.
  • the terminal device by designing whether the SIM card is satisfied as the test card and whether the target network meets the conditions of the test network, it is automatically determined whether the terminal device is the test device or the target. Whether the network is a test network, and according to the determination result, the pseudo base station identification function of the terminal device is automatically controlled to be turned off, so that the terminal device can self-identify and start the pseudo base station detection in a commercial network, and the non commercial network automatically turns off the pseudo base station detection To ensure the normal operation of the test network experiment.
  • FIG. 3 is a schematic structural diagram of a pseudo base station identification switch control device 100 according to a third embodiment of the present invention, including:
  • the first determining module 10 is configured to determine whether a SIM card in the terminal device is a test card and whether the target network meets a test network condition when a network registration request sent by any terminal device to the target network is received.
  • a control module 20 configured to disable the pseudo base station identification function of the terminal device when the first judgment module 10 determines that the SIM card is the test card and / or the target network meets the test network conditions .
  • the storage module 32 is configured to obtain and store the IP address of the target network, and when the network registration request for the IP address is received, turn off the pseudo base station identification of the sender device of the network registration request. Function, wherein the storage design of the IP address effectively improves the control efficiency of the pseudo base station identification switch control method and improves the user experience.
  • a timing module 30, configured to start timing when it is determined that the network connection between the terminal device and the target network is disconnected, to obtain a timing time
  • a second determination module 31 is configured to determine whether the timing time is greater than a time threshold according to a timing result of the timing module 30; if yes, control to enable the pseudo base station identification function of the terminal device, and when it is determined that When the timing time is greater than the time threshold, it is determined that the communication channel between the terminal device and the target network is normally closed, and in order to ensure the network protection effect of the terminal device, at this time, the terminal is restarted
  • the pseudo base station identification function on the device to prevent the pseudo base station from affecting the terminal device.
  • the third determining module 33 is configured to determine whether the terminal device has been replaced with a SIM card; if yes, enable the pseudo base station identification function of the terminal device, where when it is determined that the terminal device has a SIM card replaced
  • the SIM card after replacement may not be a test card, so that the terminal device may not be a test device after replacement, and in order to ensure the network protection effect of the terminal device, at this time, by re-opening the terminal device
  • the pseudo base station identification function to prevent the pseudo base station from affecting the terminal device.
  • the fourth determining module 34 is configured to determine whether the SIM card currently on the terminal device is the test card when the power-on signal of the terminal device is received; if yes, turn off the pseudo base station identification of the terminal device.
  • the first judgment module 10 includes:
  • a first determining unit 11 configured to obtain a user MCC code of the SIM card, and determine whether the user MCC code is within a first preset code value range;
  • a first determining unit 12 configured to determine that the SIM card is the test card when the first determining unit 11 determines that the user MCC code is within the first preset code value range;
  • a second determining unit 13 configured to obtain a network MCC code of the target network, and determine whether the network MCC code is within a second preset code value range;
  • the second determining unit 14 is configured to determine that the network MSI code meets the test network condition when the network MCC code is within the second preset code value range, and the target network is a test network.
  • the first judgment module 10 determines whether the SIM card satisfies the design for the test card and whether the target network meets the test network conditions, so as to automatically determine whether the terminal device is corresponding. It is a test device and whether the target network is a test network, and according to the judgment result, the control module 20 correspondingly automatically controls the shutdown of the pseudo base station identification function of the terminal device, so that the terminal device can self-identify in a commercial network Fake base station detection is enabled, and non-commercial networks automatically turn off fake base station detection to ensure the normal conduct of test network experiments.
  • the present invention also provides a mobile terminal.
  • the mobile terminal includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor runs the computer program to cause the mobile terminal to execute the foregoing pseudo base station identification switch control method.
  • This embodiment also provides a storage medium on which a computer program is stored.
  • the program includes the following steps:
  • the storage medium is, for example, ROM / RAM, magnetic disk, optical disk, and the like.
  • computer readable media include the following: electrical connections (electronic devices) with one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable Processing to obtain the program electronically and then store it in computer memory.
  • each part of the present invention may be implemented by hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it may be implemented using any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供了一种伪基站识别开关控制方法、装置、移动终端及存储介质,方法包括:当接收到任一终端设备向目标网络发送的网络注册请求时,分别判断终端设备中的SIM卡是否为测试卡、目标网络是否满足测试网络条件;当判断到SIM卡是测试卡和/或目标网络满足测试网络条件时,关闭终端设备的伪基站识别功能,本发明通过分别判断SIM卡是否满足为测试卡、目标网络是否满足测试网络条件的设计,以对应自动判断终端设备是否为测试设备、目标网络是否为测试网络,并根据判断结果,对应自动控制终端设备的伪基站识别功能的关闭,使得终端设备在商用网络能自识别启动伪基站检测,非商用网自动关闭伪基站检测,以保障测试网络实验的正常进行。

Description

伪基站识别开关控制方法、装置、移动终端及存储介质 技术领域
本发明涉及通信技术领域,特别涉及一种伪基站识别开关控制方法、装置、移动终端及存储介质。
背景技术
“伪基站”即假基站,设备一般由主机和笔记本电脑组成,通过短信群发器、短信发信机等相关设备能够搜取以其为中心、一定半径范围内的手机等卡信息等终端信息,通过伪装成运营商的基站,冒用他人手机号码等信息强行向用户手机等终端发送诈骗、广告推销等短信息。此类设备运行时,用户终端信号被强制连接到该设备上,无法连接到公用电信网络,以致影响终端的正常使用,使用户无法正常使用正常业务。因此,伪基站的识别技术应运而生,伪基站的识别分事前预防探测识别和事后行为识别,事前预防识别是通过通信协议的重选原理,鉴别基站异常参数识别,在接入伪基站之前终止危险;而事后识别是通过对基站发送的内容过滤识别,比如诈骗短信中的特征字句识别。
但现有一些特殊场景中,是进行测试实验网络,即对网络的稳定性或功能进行检测,由于测试网络并不是商用网络,因此参数比较随意,使得终端设备容易将该网络识别为伪基站,导致终端设备无法连入该网络进行测试,进而导致测试实验的失效。
发明内容
基于此,本发明提供一种伪基站识别开关控制方法、装置、移动终端及存储介质,用于解决现有技术中进行测试实验网络时,终端无法连入测试网络的问题。
第一方面,本发明提供了一种伪基站识别开关控制方法,所述方法,包括:
当接收到任一终端设备向目标网络发送的网络注册请求时,分别判 断所述终端设备中的SIM卡是否为测试卡、所述目标网络是否满足测试网络条件;
当判断到所述SIM卡是所述测试卡和/或所述目标网络满足所述测试网络条件时,关闭所述终端设备的伪基站识别功能。
上述伪基站识别开关控制方法,通过分别判断所述SIM卡是否满足为所述测试卡、所述目标网络是否满足所述测试网络条件的设计,以对应自动判断所述终端设备是否为测试设备、所述目标网络是否为测试网络,并根据判断结果,对应自动控制所述终端设备的伪基站识别功能的关闭,使得所述终端设备在商用网络能自识别启动伪基站检测,非商用网自动关闭伪基站检测,以保障测试网络实验的正常进行。
进一步地,所述分别判断所述用户IMSI数据是否满足测试用户条件、所述网络IMSI数据是否满足测试网络条件的步骤包括:
获取所述用户IMSI数据中存储的用户MCC码,并判断所述用户MCC码是否在第一预设码值范围内;
当判断到所述用户MCC码在所述第一预设码值范围内时,则判定所述终端设备为测试设备,所述用户IMSI数据满足所述测试用户条件;
获取所述网络IMSI数据中存储的网络MCC码,并判断所述网络MCC码是否在第二预设码值范围内;
当判断到所述网络MCC码在所述第二预设码值范围内时,则判定所述目标网络为测试网络,所述网络IMSI数据满足所述测试网络条件。
进一步地,所述获取所述SIM卡的用户MCC码,并判断所述用户MCC码是否在第一预设码值范围内之前,所述方法还包括:
当接收到所述任一终端设备向目标网络发送的网络注册请求时,分别获取所述终端设备的用户IMSI数据和所述目标网络的网络IMSI数据,其中,所述IMSI数据包括所述MCC码、MNC码和MSIN识别码。
再进一步地,当判断所述用户IMSI数据中存储的IMSI值为GCF定义的两条数值时,则直接判定所述SIM卡为测试卡。
进一步地,所述判断到所述网络IMSI数据满足所述测试网络条件的步骤之后,所述方法还包括:
获取并存储所述目标网络的IP地址,并当接收到针对所述IP地址的所述网络注册请求时,关闭所述网络注册请求的发送端设备的所述伪基站识别功能。
进一步地,所述关闭所述终端设备的伪基站识别功能步骤之后,所述方法还包括:
当判断到所述终端设备与所述目标网络之间断开网络连接时,开始计时,以得到计时时间;
判断所述计时时间是否大于时间阈值;
若是,则控制开启所述终端设备的所述伪基站识别功能。
进一步地,所述判定所述终端设备为测试设备的步骤之后,所述方法还包括:
判断所述终端设备是否有更换SIM卡;
若是,则开启所述终端设备的所述伪基站识别功能。
第二方面,本发明提供了一种伪基站识别开关控制装置,包括:
第一判断模块,用于当接收到任一终端设备向目标网络发送的网络注册请求时,分别判断所述终端设备中的SIM卡是否为测试卡、所述目标网络是否满足测试网络条件;
控制模块,用于当所述第一判断模块判断到所述SIM卡是所述测试卡和/或所述目标网络满足所述测试网络条件时,关闭所述终端设备的伪基站识别功能。
上述伪基站识别开关控制装置,通过所述第一判断模块分别判断所述SIM卡是否满足为所述测试卡、所述目标网络是否满足所述测试网络条件的设计,以对应自动判断所述终端设备是否为测试设备、所述目标网络是否为测试网络,并根据判断结果,使得所述控制模块对应自动控制所述终端设备的伪基站识别功能的关闭,使得所述终端设备在商用网络能自识别启动伪基站检测,非商用网自动关闭伪基站检测,以保障测试网络实验的正常进行。
进一步地,所述第一判断模块还用于当判断所述用户IMSI数据中存储的IMSI值为GCF定义的两条数值时,直接判断所述SIM卡为测试 卡。
进一步地,所述第一判断模块包括:
第一判断单元,用于获取所述SIM卡的用户MCC码,并判断所述用户MCC码是否在第一预设码值范围内;
第一判定单元,用于当判断到所述用户MCC码在所述第一预设码值范围内时,则判定所述SIM卡为所述测试卡;
第二判断单元,用于获取所述目标网络的网络MCC码,并判断所述网络MCC码是否在第二预设码值范围内;
第二判定单元,用于当判断到所述网络MCC码在所述第二预设码值范围内时,则判定所述网络IMSI数据满足所述测试网络条件,所述目标网络为测试网络。
进一步地,所述装置还包括:
存储模块,用于获取并存储所述目标网络的IP地址,并当接收到针对所述IP地址的所述网络注册请求时,关闭所述网络注册请求的发送端设备的所述伪基站识别功能。
进一步地,所述装置还包括:
计时模块,用于在所述控制模块判断到所述终端设备与所述目标网络之间断开网络连接时,开始计时,以得到计时时间。
进一步地,所述装置还包括:
第二判断模块,用于根据所述计时模块的计时结果,判断所述计时时间是否大于时间阈值;
若是,所述控制模块则还用于控制开启所述终端设备的所述伪基站识别功能。
进一步地,所述装置还包括:
第三判断模块,用于判断所述终端设备是否有更换SIM卡;
若是,所述控制模块则还用于控制开启所述终端设备的所述伪基站识别功能。
进一步地,所述装置还包括:
第四判断模块,用于当接收到所述终端设备的开机信号时,判断所 述终端设备上当前所述SIM卡是否为所述测试卡;
若是,所述控制模块则还用于控制关闭所述终端设备的伪基站识别功能。
第三方面,本发明提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器运行所述计算机程序以使所述移动终端执行上述的伪基站识别开关控制方法。
第四方面,本发明提供了一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的伪基站识别开关控制方法的步骤。
附图说明
图1为本发明第一实施例提供的伪基站识别开关控制方法的流程图;
图2为本发明第二实施例提供的伪基站识别开关控制方法的流程图;
图3为本发明第三实施例提供的伪基站识别开关控制装置的结构示意图。
具体实施方式
为了便于更好地理解本发明,下面将结合相关实施例附图对本发明进行进一步地解释。附图中给出了本发明的实施例,但本发明并不仅限于上述的优选实施例。相反,提供这些实施例的目的是为了使本发明的公开面更加得充分。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示 例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
现有一些特殊场景中,是进行测试实验网络,即对网络的稳定性或功能进行检测,由于测试网络并不是商用网络,因此参数比较随意,使得终端设备容易将该网络识别为伪基站,导致终端设备无法连入该网络进行测试,进而导致测试实验的失效,因此,本发明提供的伪基站识别开关控制方法,利用对终端设备上的SIM卡和目标网络的检测判断,以自动控制伪基站识别检测功能,使得终端在商用网络能自识别启动伪基站检测,非商用网自动关闭伪基站检测,以保障测试网络实验的正常进行。
请参阅图1,为本发明第一实施例提供的伪基站识别开关控制方法的流程图,包括步骤S10至S20。
步骤S10,当接收到任一终端设备向目标网络发送的网络注册请求时,分别判断所述终端设备中的SIM卡是否为测试卡和/或所述目标网络是否满足测试网络条件;
其中,现有的手机卡使用过程中分为测试卡和商用卡,该测试卡专门用于网络实验中对网络进行测试,而网络分别测试网络和商用网络,该测试网络专门用于网络实验中提供网络环境,因此该测试网络中的参数数据是随意进行设置的,该商用网络用于为人们提供正常的网络参数和联网功能,且当用户使用的是该测试卡时,由于网络实验的测试需求,需要对应将安装该测试卡的终端设备进行伪基站识别功能的关闭,以保障网络实验的正常进行。另,当目标网络为该测试网络时,同理由于网络实验的测试需求,需要对应将当前终端设备进行伪基站识别功能的关闭。
因此,步骤S10中通过采用判断所述SIM卡是否为所述测试、所述目标网络是否满足所述测试网络条件的方式,以为后续所述终端设备上 伪基站识别功能状态的控制提供依据。当所述终端设备上插入SIM卡并接收到用户的联网指令时,自动发出所述网络注册请求,所述终端设备可以为手机、平板或智能穿戴设备。
优选的,步骤S10可以同时接收到多个不同的所述终端设备向同一个所述目标网络发送的所述网络注册请求,且该步骤中均对不同的所述终端设备上的所述SIM进行所述测试卡的判断。
本实施例中,所述测试网络条件为预先设置的判定条件,该判定条件的内容用户可根据需求自主进行修改和添加。
当步骤S10判断到所述SIM卡是所述测试卡和/或所述目标网络满足所述测试网络条件,执行步骤S20。
步骤S20,关闭所述终端设备的伪基站识别功能;
其中,由于当判断到所述SIM卡时,判定所述终端设备为测试设备或判断到所述目标网络为测试网络时,为了保障测试网络实验的有效性,进而通过步骤S20控制对应所述终端设备上的伪基站识别功能的关闭,以保障测试网络试验的正常进行。
可以理解的,当判断到所述SIM卡不为所述测试卡时,则判定所述SIM卡为商用卡,当判断到所述目标网络不满足所述测试网络条件时,则判定所述目标网络为商用网络。
本实施例中,通过分别判断所述SIM卡是否满足为所述测试卡、所述目标网络是否满足所述测试网络条件的设计,以对应自动判断所述终端设备是否为测试设备、所述目标网络是否为测试网络,并根据判断结果,对应自动控制所述终端设备的伪基站识别功能的关闭,使得所述终端设备在商用网络能自识别启动伪基站检测,非商用网自动关闭伪基站检测,以保障测试网络实验的正常进行。
请参阅图2,为本发明第二实施例提供的伪基站识别开关控制方法的流程图,所述方法包括步骤S11至S91。
步骤S11,当接收到任一终端设备向目标网络发送的网络注册请求时,分别获取所述终端设备的用户IMSI数据和所述目标网络的网络IMSI数据;
其中,所述用户IMSI数据和所述网络IMSI数据均为国际移动用户识别码(IMSI:International Mobile Subscriber Identification Number)是区别移动用户的标志,储存在SIM卡中,可用于区别移动用户的有效信息。IMSI数据包括MCC+MNC+MSIN,其总长度不超过15位,同样使用0-9的数字。其中MCC是移动用户所属国家代号,占3位数字,中国的MCC规定为460;MNC是移动网号码,由两位或者三位数字组成,中国移动的移动网络编码(MNC)为00;用于识别移动用户所归属的移动通信网;MSIN是移动用户识别码,用以识别某一移动通信网中的移动用户。
在步骤S11之前,系统可以与多个不同的终端设备、目标网络进行了通信连接,且该系统可以采用集成式或嵌入式的方式进行安装,当系统采用集成式的方式进行安装时,该系统安装在服务器中时,服务器与多个不同的终端设备、目标网络进行了通信连接,当系统采用嵌入式的方式进行安装时,该系统对应安装在一个所述终端设备上,即每个所述系统对应控制一个所述终端设备的伪基站识别功能的状态切换。
因此,当所述终端设备上插入SIM卡并接收到用户的联网指令时,自动发出所述网络注册请求,所述终端设备可以为手机、平板或智能穿戴设备,步骤S11中,通过所述用户IMSI数据和所述网络IMSI数据的获取,以方便后续对所述终端设备是否是测试设备的判断、所述目标网络是否为测试网络的判断。优选的,步骤S11中,采用集成式服务器时,可以同时接收到多个不同的所述终端设备向同一个所述目标网络发送的所述网络注册请求,且该步骤中均可以对不同的所述终端设备上存储的所述用户IMSI数据进行获取。
优选的,步骤S11之前,所述方法还包括:
当接收到所述终端设备的开机信号时,判断所述终端设备上当前所述SIM卡是否为所述测试卡;
若是,则关闭所述终端设备的伪基站识别功能;
其中,通过采用开机检测的方式对SIM卡进行检测,以使当判断到当前使用的SIM卡为测试卡时,直接关闭该终端设备上伪基站识别功能, 有效的提高了所述伪基站识别开关控制方法的控制效率。
步骤S21,获取所述用户IMSI数据中存储的用户MCC码,并判断所述用户MCC码是否在第一预设码值范围内;
其中,通过所述用户MCC码与所述第一预设码值范围的判断,以判断所述用户IMSI数据对应的SIM卡是否为测试卡,当判断到该SIM卡为测试卡时,则判定所述终端设备用于进行测试网络实验。
具体的,所述第一预设码值范围为IMSI.MCC=[001-012]范围,优选的,该范围用户可根据需求自主进行设置,以满足指定需求,另外,本实施例中当判断到所述用户IMSI数据中存储的IMSI值为GCF定义的两条数值时,则直接判定SIM卡为测试卡。
当步骤S21判断到所述用户MCC码在所述第一预设码值范围内时,执行步骤S31。
步骤S31,判定所述终端设备为测试设备,所述终端设备上的SIM卡为测试卡,所述用户IMSI数据满足所述测试用户条件;
优选的,当步骤S21判定所述终端设备为测试设备的步骤之后,所述方法还包括:
判断所述终端设备是否有更换SIM卡;
若是,则开启所述终端设备的所述伪基站识别功能;
其中,由于当判断到所述终端设备有更换SIM卡时,更换后的SIM卡可能并不是测试卡,因此使得更换后所述终端设备可能并不为测试设备,而为了保障该终端设备的网络防护效果,此时,通过重新开启所述终端设备上的所述伪基站识别功能,以防止伪基站对所述终端设备的影响。
当步骤S21判断到所述用户MCC码未在所述第一预设码值范围内时,执行步骤S41。
步骤S41,获取所述网络IMSI数据中存储的网络MCC码,并判断所述网络MCC码是否在第二预设码值范围内;
其中,通过所述网络MCC码与所述第二预设码值范围的判断,以判断所述网络IMSI数据对应网络是否为测试网络,具体的,所述第二预 设码值范围为sib1.mcc=[001-012]范围,优选的,该范围用户可根据需求自主进行设置,以满足指定需求。
当步骤S41判断到所述网络MCC码在所述第二预设码值范围内时,执行步骤S51。
步骤S51,判定所述目标网络为测试网络,所述网络IMSI数据满足所述测试网络条件;
其中,当步骤S51判定所述目标网络为测试网络时,判定所述目标网络并非商用网络。
优选的,当步骤S51判断到所述网络IMSI数据满足所述测试网络条件的步骤之后,所述方法还包括:
获取并存储所述目标网络的IP地址,并当接收到针对所述IP地址的所述网络注册请求时,关闭所述网络注册请求的发送端设备的所述伪基站识别功能;
其中,通过所述IP地址的存储设计,有效的提高了所述伪基站识别开关控制方法的控制效率,提高了用户体验。
步骤S61,关闭所述终端设备的伪基站识别功能;
其中,由于当所述终端设备为测试设备或所述目标网络为测试网络时,为了保障测试网络实验的有效性,进而通过步骤S61控制对应终端设备上的伪基站识别功能的关闭,以保障测试网络试验的正常进行。
步骤S71,当判断到所述终端设备与所述目标网络之间断开网络连接时,开始计时,以得到计时时间;
其中,通过实时监测所述终端设备与所述目标网络之间通信通道的状态,以进行网络连接是否断开的判断,且该步骤中可采用计时器的方式进行计时。
步骤S81,判断所述计时时间是否大于时间阈值;
当步骤S81判断到所述计时时间大于所述时间阈值时,执行步骤S91。
步骤S91,控制开启所述终端设备的所述伪基站识别功能;
其中,当步骤S81判断到所述计时时间大于所述时间阈值时,则判定所述终端设备与所述目标网络实现了通信通道的正常关闭,且为了保 障该终端设备的网络防护效果,此时,通过重新开启所述终端设备上的所述伪基站识别功能,以防止伪基站对所述终端设备的影响。
本实施例中,通过分别判断所述SIM卡是否满足为所述测试卡、所述目标网络是否满足所述测试网络条件的设计,以对应自动判断所述终端设备是否为测试设备、所述目标网络是否为测试网络,并根据判断结果,对应自动控制所述终端设备的伪基站识别功能的关闭,使得所述终端设备在商用网络能自识别启动伪基站检测,非商用网自动关闭伪基站检测,以保障测试网络实验的正常进行。
请参阅图3,为本发明第三实施例提供的伪基站识别开关控制装置100的结构示意图,包括:
第一判断模块10,用于当接收到任一终端设备向目标网络发送的网络注册请求时,分别判断所述终端设备中的SIM卡是否为测试卡、所述目标网络是否满足测试网络条件。
控制模块20,用于当所述第一判断模块10判断到所述SIM卡是所述测试卡和/或所述目标网络满足所述测试网络条件时,关闭所述终端设备的伪基站识别功能。
存储模块32,用于获取并存储所述目标网络的IP地址,并当接收到针对所述IP地址的所述网络注册请求时,关闭所述网络注册请求的发送端设备的所述伪基站识别功能,其中,通过所述IP地址的存储设计,有效的提高了所述伪基站识别开关控制方法的控制效率,提高了用户体验。
计时模块30,用于当判断到所述终端设备与所述目标网络之间断开网络连接时,开始计时,以得到计时时间;
第二判断模块31,用于根据所述计时模块30的计时结果,判断所述计时时间是否大于时间阈值;若是,则控制开启所述终端设备的所述伪基站识别功能,其中,当判断到所述计时时间大于所述时间阈值时,则判定所述终端设备与所述目标网络实现了通信通道的正常关闭,且为了保障该终端设备的网络防护效果,此时,通过重新开启所述终端设备上的所述伪基站识别功能,以防止伪基站对所述终端设备的影响。
第三判断模块33,用于判断所述终端设备是否有更换SIM卡;若是,则开启所述终端设备的所述伪基站识别功能,其中,由于当判断到所述终端设备有更换SIM卡时,更换后的SIM卡可能并不是测试卡,因此使得更换后所述终端设备可能并不为测试设备,而为了保障该终端设备的网络防护效果,此时,通过重新开启所述终端设备上的所述伪基站识别功能,以防止伪基站对所述终端设备的影响。
第四判断模块34,用于当接收到所述终端设备的开机信号时,判断所述终端设备上当前所述SIM卡是否为所述测试卡;若是,则关闭所述终端设备的伪基站识别功能。
具体的,所述第一判断模块10包括:
第一判断单元11,用于获取所述SIM卡的用户MCC码,并判断所述用户MCC码是否在第一预设码值范围内;
第一判定单元12,用于当所述第一判断单元11判断到所述用户MCC码在所述第一预设码值范围内时,则判定所述SIM卡为所述测试卡;
第二判断单元13,用于获取所述目标网络的网络MCC码,并判断所述网络MCC码是否在第二预设码值范围内;
第二判定单元14,用于判断到所述网络MCC码在所述第二预设码值范围内时,则判定所述网络IMSI数据满足所述测试网络条件,所述目标网络为测试网络。
本实施例中,通过所述第一判断模块10分别判断所述SIM卡是否满足为所述测试卡、所述目标网络是否满足所述测试网络条件的设计,以对应自动判断所述终端设备是否为测试设备、所述目标网络是否为测试网络,并根据判断结果,使得所述控制模块20对应自动控制所述终端设备的伪基站识别功能的关闭,使得所述终端设备在商用网络能自识别启动伪基站检测,非商用网自动关闭伪基站检测,以保障测试网络实验的正常进行。
本发明还提供了一种移动终端,该移动终端包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序。其中,所述处理器运行所述计算机程序以使所述移动终端执行上述的伪基站识别开关控 制方法。
本实施例还提供了一种存储介质,其上存储有计算机程序,该程序在执行时,包括如下步骤:
当接收到任一终端设备向目标网络发送的网络注册请求时,分别判断所述终端设备中的SIM卡是否为测试卡、所述目标网络是否满足测试网络条件;
当判断到所述SIM卡是所述测试卡和/或所述目标网络满足所述测试网络条件时,关闭所述终端设备的伪基站识别功能。所述的存储介质,如:ROM/RAM、磁碟、光盘等。
上述实施例描述了本发明的技术原理,这些描述只是为了解释本发明的原理,而不能以任何方式解释为本发明保护范围的限制。基于此处的解释,本领域的技术人员不需要付出创造性的劳动即可联想到本发明的其他具体实施方式,这些方式都将落入本发明的保护范围内。
计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。

Claims (18)

  1. 一种伪基站识别开关控制方法,其中,所述方法包括:
    当接收到任一终端设备向目标网络发送的网络注册请求时,分别判断所述终端设备中的SIM卡是否为测试卡、所述目标网络是否满足测试网络条件;
    当判断到所述SIM卡是所述测试卡和/或所述目标网络满足所述测试网络条件时,关闭所述终端设备的伪基站识别功能。
  2. 根据权利要求1所述的伪基站识别开关控制方法,其中,所述分别判断所述终端设备中的SIM卡是否为测试卡、所述目标网络是否满足测试网络条件的步骤包括:
    获取所述SIM卡的用户MCC码,并判断所述用户MCC码是否在第一预设码值范围内;
    当判断到所述用户MCC码在所述第一预设码值范围内时,则判定所述SIM卡为所述测试卡;
    获取所述目标网络的网络MCC码,并判断所述网络MCC码是否在第二预设码值范围内;
    当判断到所述网络MCC码在所述第二预设码值范围内时,则判定所述网络IMSI数据满足所述测试网络条件,所述目标网络为测试网络。
  3. 根据权利要求2所述的伪基站识别开关控制方法,其中,所述获取所述SIM卡的用户MCC码,并判断所述用户MCC码是否在第一预设码值范围内之前,所述方法还包括:
    当接收到所述任一终端设备向目标网络发送的网络注册请求时,分别获取所述终端设备的用户IMSI数据和所述目标网络的网络IMSI数据,其中,所述IMSI数据包括所述MCC码、MNC码和MSIN识别码。
  4. 根据权利要求3所述的伪基站识别开关控制方法,其中,当判断所述用户IMSI数据中存储的IMSI值为GCF定义的两条数值时,则直接判定所述SIM卡为测试卡。
  5. 根据权利要求1所述的伪基站识别开关控制方法,其中,所述 判断到所述目标网络满足所述测试网络条件的步骤之后,所述方法还包括:
    获取并存储所述目标网络的IP地址,并当接收到针对所述IP地址的所述网络注册请求时,关闭所述网络注册请求的发送端设备的所述伪基站识别功能。
  6. 根据权利要求1所述的伪基站识别开关控制方法,其中,所述关闭所述终端设备的伪基站识别功能步骤之后,所述方法还包括:
    当判断到所述终端设备与所述目标网络之间断开网络连接时,开始计时,以得到计时时间;
    判断所述计时时间是否大于时间阈值;
    若是,则控制开启所述终端设备的所述伪基站识别功能。
  7. 根据权利要求1所述的伪基站识别开关控制方法,其中,所述当接收到任一终端设备向目标网络发送的网络注册请求的步骤之前,所述方法还包括:
    当接收到所述终端设备的开机信号时,判断所述终端设备上当前所述SIM卡是否为所述测试卡;
    若是,则关闭所述终端设备的伪基站识别功能。
  8. 根据权利要求2所述的伪基站识别开关控制方法,其中,所述定所述SIM卡为所述测试卡的步骤之后,所述方法还包括:
    判断所述终端设备是否有更换所述SIM卡;
    若是,则开启所述终端设备的所述伪基站识别功能。
  9. 一种伪基站识别开关控制装置,其中,包括:
    第一判断模块,用于当接收到任一终端设备向目标网络发送的网络注册请求时,分别判断所述终端设备中的SIM卡是否为测试卡、所述目标网络是否满足测试网络条件;
    控制模块,用于当所述第一判断模块判断到所述SIM卡是所述测试卡和/或所述目标网络满足所述测试网络条件时,关闭所述终端设备的伪基站识别功能。
  10. 根据权利要求9所述的伪基站识别开关控制装置,其中,所 述第一判断模块还用于当判断所述用户IMSI数据中存储的IMSI值为GCF定义的两条数值时,直接判断所述SIM卡为测试卡。
  11. 根据权利要求9所述的伪基站识别开关控制装置,其中,所述第一判断模块包括:
    第一判断单元,用于获取所述SIM卡的用户MCC码,并判断所述用户MCC码是否在第一预设码值范围内;
    第一判定单元,用于当所述第一判断单元判断到所述用户MCC码在所述第一预设码值范围内时,则判定所述SIM卡为所述测试卡;
    第二判断单元,用于获取所述目标网络的网络MCC码,并判断所述网络MCC码是否在第二预设码值范围内;
    第二判定单元,用于当判断到所述网络MCC码在所述第二预设码值范围内时,则判定所述网络IMSI数据满足所述测试网络条件,所述目标网络为测试网络。
  12. 根据权利要求9所述的伪基站识别开关控制装置,其中,所述装置还包括:
    存储模块,用于获取并存储所述目标网络的IP地址,并当接收到针对所述IP地址的所述网络注册请求时,关闭所述网络注册请求的发送端设备的所述伪基站识别功能。
  13. 根据权利要求9所述的伪基站识别开关控制装置,其中,所述装置还包括:
    计时模块,用于在所述控制模块判断到所述终端设备与所述目标网络之间断开网络连接时,开始计时,以得到计时时间。
  14. 根据权利要求13所述的伪基站识别开关控制装置,其中,所述装置还包括:
    第二判断模块,用于根据所述计时模块的计时结果,判断所述计时时间是否大于时间阈值;
    若是,所述控制模块则还用于控制开启所述终端设备的所述伪基站识别功能。
  15. 根据权利要求9所述的伪基站识别开关控制装置,其中,所 述装置还包括:
    第三判断模块,用于判断所述终端设备是否有更换SIM卡;
    若是,所述控制模块则还用于控制开启所述终端设备的所述伪基站识别功能。
  16. 根据权利要求9所述的伪基站识别开关控制装置,其中,所述装置还包括:
    第四判断模块,用于当接收到所述终端设备的开机信号时,判断所述终端设备上当前所述SIM卡是否为所述测试卡;
    若是,所述控制模块则还用于控制关闭所述终端设备的伪基站识别功能。
  17. 一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器运行所述计算机程序以使所述移动终端执行根据权利要求1至8任一项所述的伪基站识别开关控制方法。
  18. 一种存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现权利要求1至8任一项所述的伪基站识别开关控制方法的步骤。
PCT/CN2019/093843 2018-07-02 2019-06-28 伪基站识别开关控制方法、装置、移动终端及存储介质 WO2020007250A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810710016.X 2018-07-02
CN201810710016.XA CN108966236B (zh) 2018-07-02 2018-07-02 伪基站识别开关控制方法、装置、移动终端及存储介质

Publications (1)

Publication Number Publication Date
WO2020007250A1 true WO2020007250A1 (zh) 2020-01-09

Family

ID=64484749

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/093843 WO2020007250A1 (zh) 2018-07-02 2019-06-28 伪基站识别开关控制方法、装置、移动终端及存储介质

Country Status (2)

Country Link
CN (1) CN108966236B (zh)
WO (1) WO2020007250A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966236B (zh) * 2018-07-02 2021-09-07 奇酷互联网络科技(深圳)有限公司 伪基站识别开关控制方法、装置、移动终端及存储介质
CN111465019B (zh) * 2019-01-18 2023-09-19 中兴通讯股份有限公司 能力上报、密钥协商方法及装置、终端、通信设备及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750712A (zh) * 2004-09-16 2006-03-22 Lg电子株式会社 用于监控分组交换业务的寻呼信道的方法
JP2006101315A (ja) * 2004-09-30 2006-04-13 Denso Corp 通信中継装置、通信中継プログラム、および通信中継システム
CN106385669A (zh) * 2016-09-05 2017-02-08 努比亚技术有限公司 一种识别伪基站的方法和装置
CN106792709A (zh) * 2017-01-13 2017-05-31 北京元心科技有限公司 防范伪基站的方法、装置及终端
CN108235760A (zh) * 2017-12-27 2018-06-29 深圳前海达闼云端智能科技有限公司 智能终端的功耗稳定方法、其装置及电子设备
CN108966236A (zh) * 2018-07-02 2018-12-07 奇酷互联网络科技(深圳)有限公司 伪基站识别开关控制方法、装置、移动终端及存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU4277801A (en) * 2000-04-25 2001-11-07 Advantest Corporation Apparatus, method and program for communication test, and recorded medium on which that program has been recorded
CN100399753C (zh) * 2004-07-02 2008-07-02 安立股份有限公司 移动网络仿真器设备
CN101860850B (zh) * 2010-05-07 2014-09-10 中兴通讯股份有限公司 一种利用驱动实现移动终端锁网或锁卡的方法
CN103916886B (zh) * 2012-12-30 2017-08-04 重庆重邮信科通信技术有限公司 虚拟测试方法、系统、模拟基站和测试终端
US10326674B2 (en) * 2013-08-27 2019-06-18 Purdue Research Foundation Compressing trace data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750712A (zh) * 2004-09-16 2006-03-22 Lg电子株式会社 用于监控分组交换业务的寻呼信道的方法
JP2006101315A (ja) * 2004-09-30 2006-04-13 Denso Corp 通信中継装置、通信中継プログラム、および通信中継システム
CN106385669A (zh) * 2016-09-05 2017-02-08 努比亚技术有限公司 一种识别伪基站的方法和装置
CN106792709A (zh) * 2017-01-13 2017-05-31 北京元心科技有限公司 防范伪基站的方法、装置及终端
CN108235760A (zh) * 2017-12-27 2018-06-29 深圳前海达闼云端智能科技有限公司 智能终端的功耗稳定方法、其装置及电子设备
CN108966236A (zh) * 2018-07-02 2018-12-07 奇酷互联网络科技(深圳)有限公司 伪基站识别开关控制方法、装置、移动终端及存储介质

Also Published As

Publication number Publication date
CN108966236B (zh) 2021-09-07
CN108966236A (zh) 2018-12-07

Similar Documents

Publication Publication Date Title
US10285122B2 (en) Method and apparatus for handling abnormality of network communication function and storage medium
US8931065B2 (en) OTA bootstrap method and system
CN105636048B (zh) 一种终端及其识别伪基站的方法、装置
CN105635084A (zh) 终端认证装置及方法
CN104767713B (zh) 账号绑定的方法、服务器及系统
CN106211167A (zh) 一种终端、伪基站识别方法及系统
CN110475229B (zh) 业务数据访问的方法、装置、计算机设备和存储介质
CN107613471A (zh) 一种wifi热点信息推送方法、接收方法及装置
WO2020007250A1 (zh) 伪基站识别开关控制方法、装置、移动终端及存储介质
CN112806073A (zh) 通信处理方法、装置、移动终端及存储介质
CN104809046A (zh) 一种应用程序联网控制方法和应用程序联网控制装置
WO2024193372A1 (zh) 伪基站识别方法、装置及电子设备
CN106325993A (zh) 一种应用程序的冻结方法以及终端
CN105376387A (zh) 一种陌生来电的处理方法、装置、系统及终端
CN107770800A (zh) eSIM卡信息管理方法、设备及服务器
US11736945B2 (en) Method for handling pseudo base station, mobile terminal, and storage medium
CN112673663B (zh) 伪基站处理方法、装置、移动终端以及存储介质
CN108966140B (zh) 网络控制方法、系统、移动终端及存储介质
CN102821415B (zh) 一种故障检测、处理方法和故障检测处理装置
CN105703965A (zh) 接入网络的检测方法、装置及终端
CN114268509A (zh) 防范“僵尸”终端ddos攻击的方法以及系统
CN106713285A (zh) 网站链接安全性验证方法和系统
CN106454776B (zh) 伪基站的防护方法及装置
CN103914423A (zh) 一种信息处理方法及电子设备
CN105704780A (zh) 一种无线网络接入方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19830428

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19830428

Country of ref document: EP

Kind code of ref document: A1