CN108966236B - Pseudo base station identification switch control method and device, mobile terminal and storage medium - Google Patents

Pseudo base station identification switch control method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN108966236B
CN108966236B CN201810710016.XA CN201810710016A CN108966236B CN 108966236 B CN108966236 B CN 108966236B CN 201810710016 A CN201810710016 A CN 201810710016A CN 108966236 B CN108966236 B CN 108966236B
Authority
CN
China
Prior art keywords
network
test
base station
terminal equipment
pseudo base
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.)
Active
Application number
CN201810710016.XA
Other languages
Chinese (zh)
Other versions
CN108966236A (en
Inventor
王燕飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen Co Ltd
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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201810710016.XA priority Critical patent/CN108966236B/en
Publication of CN108966236A publication Critical patent/CN108966236A/en
Priority to PCT/CN2019/093843 priority patent/WO2020007250A1/en
Application granted granted Critical
Publication of CN108966236B publication Critical patent/CN108966236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

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

The invention provides a pseudo base station identification switch control method, a pseudo base station identification switch control device, a mobile terminal and a storage medium, wherein the method comprises the following steps: when a network registration request sent by any terminal equipment to a target network is received, whether an SIM card in the terminal equipment is a test card or not and whether the target network meets the test network condition or not are respectively judged; and when the SIM card is judged to be the test card and/or the target network meets the test network condition, the pseudo base station identification function of the terminal equipment is closed.

Description

Pseudo base station identification switch control method and device, mobile terminal and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a pseudo base station identification switch control method, apparatus, mobile terminal, and storage medium.
Background
The false base station is a false base station, and the equipment generally comprises a host and a notebook computer, and can search the terminal information such as card information of mobile phones and the like within a certain radius range by taking the terminal information as the center through a short message group sender, a short message sender and other related equipment, and forcibly send short messages such as fraud, advertising and the like to the terminals such as user mobile phones and the like by pretending to be the base station of an operator and using the information such as the mobile phone numbers of other people and the like. When the equipment is operated, the signal of the user terminal is forcibly connected to the equipment and cannot be connected to the public telecommunication network, so that the normal use of the terminal is influenced, and the user cannot normally use the normal service. Therefore, the identification technology of the pseudo base station is developed at the same time, the identification of the pseudo base station is divided into pre-prevention detection identification and post-behavior identification, the pre-prevention identification is to identify abnormal parameter identification of the base station through the reselection principle of a communication protocol, and the danger is stopped before the pseudo base station is accessed; and the post-identification is to filter identification of the content sent by the base station, such as characteristic word recognition in fraud short messages.
However, in some special scenarios, a test experiment network is performed, that is, the stability or function of the network is detected, and since the test network is not a commercial network, parameters are relatively random, so that the terminal device can easily identify the network as a pseudo base station, and the terminal device cannot be connected to the network for testing, thereby causing failure of the test experiment.
Disclosure of Invention
Based on the above, the invention provides a pseudo base station identification switch control method, a pseudo base station identification switch control device, a mobile terminal and a storage medium, which are used for solving the problem that the terminal cannot be connected to a test network when the test experiment network is carried out in the prior art.
In a first aspect, the present invention provides a pseudo base station identification switch control method, including:
when a network registration request sent by any terminal equipment to a target network is received, whether an SIM card in the terminal equipment is a test card or not and whether the target network meets a test network condition or not are respectively judged;
and when the SIM card is judged to be the test card and/or the target network meets the test network condition, closing the pseudo base station identification function of the terminal equipment.
According to the pseudo base station identification switch control method, whether the SIM card meets the test card or not and whether the target network meets the test network conditions or not are respectively judged, so that whether the terminal equipment is the test equipment or not and whether the target network is the test network or not are correspondingly and automatically judged, and according to the judgment result, the pseudo base station identification function of the terminal equipment is correspondingly and automatically controlled to be turned off, so that the terminal equipment can automatically identify and start pseudo base station detection in a commercial network, and automatically turn off the pseudo base station detection in a non-commercial network, and normal operation of a test network experiment is guaranteed.
Further, the step of respectively determining whether the subscriber IMSI data satisfies a test subscriber condition and whether the network IMSI data satisfies a test network condition includes:
acquiring a user MCC code stored in the user IMSI data, and judging whether the user MCC code is in a first preset code value range;
when the MCC code of the user is judged to be in the range of the first preset code value, the terminal equipment is judged to be test equipment, and the IMSI data of the user meets the test user condition;
acquiring a network MCC code stored in the network IMSI data, and judging whether the network MCC code is in a second preset code value range;
and when the MCC code of the network is judged to be in the range of the second preset code value, judging that the target network is a test network, and the IMSI data of the network meets the test network condition.
Further, after the step of determining that the network IMSI data satisfies the test network condition, the method further includes:
and acquiring and storing the IP address of the target network, and closing the pseudo base station identification function of the sending end equipment of the network registration request when receiving the network registration request aiming at the IP address.
Further, after the step of turning off the pseudo base station identification function of the terminal device, the method further includes:
when the network connection between the terminal equipment and the target network is judged to be disconnected, timing is started to obtain timing time;
judging whether the timing time is greater than a time threshold value;
and if so, controlling to start the pseudo base station identification function of the terminal equipment.
Further, after the step of determining that the terminal device is a test device, the method further includes:
judging whether the terminal equipment has a replaced SIM card;
and if so, starting the pseudo base station identification function of the terminal equipment.
In a second aspect, the present invention provides a pseudo base station identification switch control apparatus, including:
the first judgment module is used for respectively judging whether an SIM card in the terminal equipment is a test card and whether a target network meets a test network condition when a network registration request sent by any terminal equipment to the target network is received;
and the control module is used for closing the pseudo base station identification function of the terminal equipment when the first judgment module judges that the SIM card is the test card and/or the target network meets the test network condition.
According to the pseudo base station identification switch control device, whether the SIM card meets the design of the test card and whether the target network meets the test network conditions is judged through the first judgment module respectively, so that whether the terminal equipment is the test equipment and whether the target network is the test network is judged correspondingly and automatically, and according to the judgment result, the control module correspondingly and automatically controls the closing of the pseudo base station identification function of the terminal equipment, so that the terminal equipment can automatically identify and start the pseudo base station detection in a commercial network, and the non-commercial network automatically closes the pseudo base station detection, so that the normal operation of a test network experiment is ensured.
Further, the first determining module includes:
the first judging unit is used for acquiring the user MCC code of the SIM card and judging whether the user MCC code is in a first preset code value range;
the first judging unit is used for judging that the SIM card is the test card when the MCC code of the user is judged to be in the range of the first preset code value;
the second judging unit is used for acquiring the network MCC code of the target network and judging whether the network MCC code is in a second preset code value range;
and the second judging unit is used for judging that the network IMSI data meets the test network condition when the network MCC code is judged to be in the second preset code value range, and the target network is a test network.
In a third aspect, the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to make the mobile terminal execute the above-mentioned pseudo base station identification switch control method.
In a fourth aspect, the present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the pseudo base station identification switch control method described above.
Drawings
Fig. 1 is a flowchart of a pseudo base station identification switch control method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a pseudo base station identification switch control method 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.
Detailed Description
In order to facilitate a better understanding of the invention, the invention will be further explained below with reference to the accompanying drawings of embodiments. Embodiments of the present invention are shown in the drawings, but the present invention is not limited to the preferred embodiments described above. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In some special scenes, a test experiment network is performed, namely, the stability or the function of the network is detected, and the test network is not a commercial network, so that the parameters are random, the terminal equipment is easy to identify the network as a pseudo base station, the terminal equipment cannot be connected to the network for testing, and the test experiment is invalid.
Referring to fig. 1, a flowchart of a pseudo base station identification switch control method according to a first embodiment of the present invention includes steps S10 to S20.
Step S10, when a network registration request sent by any terminal device to a target network is received, whether an SIM card in the terminal device is a test card and/or whether the target network meets a test network condition is respectively judged;
the mobile phone card comprises a test card and a commercial card in the use process, the test card is specially used for testing a network in a network experiment, the network tests the network and the commercial network respectively, the test network is specially used for providing a network environment in the network experiment, therefore, parameter data in the test network are set at will, the commercial network is used for providing normal network parameters and a networking function for people, and when the test card is used by a user, due to the test requirement of the network experiment, the terminal equipment which is provided with the test card needs to be correspondingly closed to perform the pseudo base station identification function, so that the normal operation of the network experiment is guaranteed. In addition, when the target network is the test network, similarly, due to the test requirement of the network experiment, the pseudo base station identification function of the current terminal device needs to be correspondingly turned off.
Therefore, in step S10, a basis is provided for the subsequent control of the pseudo base station identification function state on the terminal device by determining whether the SIM card is the test or not and whether the target network meets the test network condition or not. When the SIM card is inserted into the terminal equipment and a networking instruction of a user is received, the network registration request is automatically sent out, and the terminal equipment can be a mobile phone, a tablet or intelligent wearable equipment.
Preferably, in step S10, the network registration request sent by a plurality of different terminal devices to the same target network may be received at the same time, and in this step, the test card is determined for the SIMs on different terminal devices.
In this embodiment, the test network condition is a preset determination condition, and a content user of the determination condition may modify and add the test network condition according to a requirement.
When it is determined in step S10 that the SIM card is the test card and/or the target network satisfies the test network condition, step S20 is performed.
Step S20, closing the pseudo base station identification function of the terminal equipment;
when the SIM card is determined, the terminal device is determined to be a test device or the target network is determined to be a test network, and in order to ensure validity of a test network experiment, the closing of the pseudo base station identification function corresponding to the terminal device is controlled through step S20, so as to ensure normal operation of the test network experiment.
It can be understood that when the SIM card is determined not to be the test card, the SIM card is determined to be a commercial card, and when the target network is determined not to satisfy the test network condition, the target network is determined to be a commercial network.
In this embodiment, whether the SIM card meets the test card and whether the target network meets the test network conditions is respectively determined to automatically determine whether the terminal device is a test device and whether the target 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 correspondingly, so that the terminal device can automatically identify and start the pseudo base station detection in the commercial network and automatically turn off the pseudo base station detection in the non-commercial network, thereby ensuring the normal operation of the test network experiment.
Referring to fig. 2, a flowchart of a pseudo base station identification switch control method according to a second embodiment of the present invention is shown, and the method includes steps S11 to S91.
Step S11, when receiving a network registration request sent by any terminal device to a target network, respectively acquiring user IMSI data of the terminal device and network IMSI data of the target network;
the user IMSI data and the network IMSI data are both International Mobile Subscriber Identity (IMSI) codes which are marks for distinguishing Mobile subscribers, are stored in the SIM card and can be used for distinguishing effective information of the Mobile subscribers. The IMSI data comprises MCC + MNC + MSIN, the total length of the IMSI data does not exceed 15 digits, and the number of the IMSI data is 0-9. The MCC is the code number of the country to which the mobile subscriber belongs, occupies 3 digits, and is specified as 460 in China; the MNC is a mobile network number and consists of two digits or three digits, and the Mobile Network Code (MNC) of China Mobile is 00; the mobile communication network is used for identifying the mobile communication network to which the mobile user belongs; MSIN is a mobile subscriber identity used to identify a mobile subscriber in a mobile communications network.
Before step S11, the system may be communicatively connected to a plurality of different terminal devices and target networks, and the system may be installed in an integrated manner or an embedded manner, when the system is installed in the integrated manner, the system is installed in a server, the server is communicatively connected to the plurality of different terminal devices and target networks, and when the system is installed in the embedded manner, the system is correspondingly installed on one of the terminal devices, that is, each of the systems correspondingly controls the state switching of the pseudo base station identification function of one of the terminal devices.
Therefore, when the terminal device is inserted with the SIM card and receives a networking instruction of the user, the network registration request is automatically sent, the terminal device may be a mobile phone, a tablet, or an intelligent wearable device, and in step S11, by obtaining the IMSI data of the user and the IMSI data of the network, it is convenient to subsequently determine whether the terminal device is a test device or not and whether the target network is a test network or not. Preferably, in step S11, when an integrated server is adopted, the network registration requests sent by a plurality of different terminal devices to the same target network may be received at the same time, and in this step, the IMSI data of the user stored in different terminal devices may be acquired.
Preferably, before step S11, the method further includes:
when a starting signal of the terminal equipment is received, judging whether the current SIM card on the terminal equipment is the test card or not;
if so, closing the pseudo base station identification function of the terminal equipment;
the SIM card is detected by adopting a starting detection mode, so that when the SIM card used currently is judged to be a test card, the pseudo base station identification function on the terminal equipment is directly closed, and the control efficiency of the pseudo base station identification switch control method is effectively improved.
Step S21, obtaining a user MCC code stored in the user IMSI data, and judging whether the user MCC code is in a first preset code value range;
and judging whether the SIM card corresponding to the user IMSI data is a test card or not by judging the ranges of the MCC code and the first preset code value of the user, and judging that the terminal equipment is used for testing a network experiment when the SIM card is judged to be the test card.
Specifically, the first preset code value range is an IMSI ═ 001-.
When it is determined in step S21 that the user MCC code is within the first preset code value range, step S31 is performed.
Step S31, judging that the terminal equipment is a test device, the SIM card on the terminal equipment is a test card, and the IMSI data of the user meets the test user condition;
preferably, after the step of determining that the terminal device is a test device in step S21, the method further includes:
judging whether the terminal equipment has a replaced SIM card;
if so, starting the pseudo base station identification function of the terminal equipment;
when the terminal equipment is judged to have the replacement SIM card, the replaced SIM card may not be a test card, so that the terminal equipment may not be the test equipment after replacement, and in order to guarantee the network protection effect of the terminal equipment, at this time, the pseudo base station identification function on the terminal equipment is restarted to prevent the pseudo base station from influencing the terminal equipment.
When it is determined in step S21 that the user MCC code is not within the first preset code value range, step S41 is performed.
Step S41, obtaining the network MCC code stored in the network IMSI data, and judging whether the network MCC code is in a second preset code value range;
specifically, the second preset code value range is a sb1. MCC ═ 001-.
When it is determined in step S41 that the network MCC code is within the second preset code value range, step S51 is performed.
Step S51, judging the target network as a test network, wherein the IMSI data of the network meets the test network condition;
when the target network is determined to be the test network in step S51, it is determined that the target network is not the commercial network.
Preferably, after the step of determining that the network IMSI data satisfies the step of testing the network condition in step S51, the method further includes:
acquiring and storing an IP address of the target network, and closing the pseudo base station identification function of sending end equipment of the network registration request when receiving the network registration request aiming at the IP address;
through the storage design of the IP address, the control efficiency of the pseudo base station identification switch control method is effectively improved, and the user experience is improved.
Step S61, closing the pseudo base station identification function of the terminal equipment;
when the terminal device is a test device or the target network is a test network, in order to ensure the validity of the test network experiment, the step S61 is further performed to control the pseudo base station identification function on the corresponding terminal device to be turned off, so as to ensure the normal operation of the test network experiment.
Step S71, when the network connection between the terminal device and the target network is judged to be disconnected, timing is started to obtain timing time;
the state of a communication channel between the terminal equipment and the target network is monitored in real time to judge whether the network connection is disconnected, and a timer mode can be adopted for timing in the step.
Step S81, judging whether the timing time is larger than a time threshold value;
when it is determined in step S81 that the counted time is greater than the time threshold, step S91 is performed.
Step S91, controlling to start the pseudo base station identification function of the terminal equipment;
when it is determined in step S81 that the timing time is greater than the time threshold, it is determined that the terminal device and the target network have normally closed a communication channel, and in order to ensure a network protection effect of the terminal device, at this time, the pseudo base station identification function on the terminal device is re-turned on to prevent the pseudo base station from affecting the terminal device.
In this embodiment, whether the SIM card meets the test card and whether the target network meets the test network conditions is respectively determined to automatically determine whether the terminal device is a test device and whether the target 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 correspondingly, so that the terminal device can automatically identify and start the pseudo base station detection in the commercial network and automatically turn off the pseudo base station detection in the non-commercial network, thereby ensuring the normal operation of the test network experiment.
Referring to fig. 3, a schematic structural diagram of a pseudo base station identification switch control device 100 according to a third embodiment of the present invention includes:
a first determining module 10, configured to respectively determine whether an SIM card in a terminal device is a test card and whether a 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 close a pseudo base station identification function of the terminal device when the first determining module 10 determines that the SIM card is the test card and/or the target network meets the test network condition.
The storage module 32 is configured to acquire and store an IP address of the target network, and when the network registration request for the IP address is received, close the pseudo base station identification function of the sending end device of the network registration request, where through a storage design of the IP address, the control efficiency of the pseudo base station identification switch control method is effectively improved, and user experience is improved.
The timing module 30 is configured to start timing to obtain timing time when it is determined that the network connection between the terminal device and the target network is disconnected;
a second judging module 31, configured to judge whether the timing time is greater than a time threshold according to a timing result of the timing module 30; and if so, controlling to start the pseudo base station identification function of the terminal equipment, wherein when the timing time is judged to be greater than the time threshold, judging that the terminal equipment and the target network realize normal closing of a communication channel, and in order to guarantee the network protection effect of the terminal equipment, at the moment, restarting the pseudo base station identification function on the terminal equipment to prevent the pseudo base station from influencing the terminal equipment.
A third determining module 33, configured to determine whether the terminal device has a SIM card replaced; if so, starting the pseudo base station identification function of the terminal equipment, wherein when the terminal equipment is judged to have a replacement SIM card, the replaced SIM card may not be a test card, so that the terminal equipment may not be the test equipment after replacement, and in order to guarantee the network protection effect of the terminal equipment, the pseudo base station identification function on the terminal equipment is restarted to prevent the pseudo base station from influencing the terminal equipment.
A fourth determining module 34, configured to determine, when a power-on signal of the terminal device is received, whether the current SIM card on the terminal device is the test card; and if so, closing the pseudo base station identification function of the terminal equipment.
Specifically, the first determining 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 MCC code of the user 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;
and a second determining unit 14, configured to determine that the network IMSI data meets the test network condition when it is determined that the network MCC code is within the second preset code value range, where the target network is a test network.
In this embodiment, the first determining module 10 is used to respectively determine whether the SIM card meets the design of the test card and whether the target network meets the test network conditions, so as to correspondingly and automatically determine whether the terminal device is a test device and whether the target network is a test network, and according to the determination result, the control module 20 correspondingly and automatically controls the closing of the pseudo base station identification function of the terminal device, so that the terminal device can automatically identify and start the pseudo base station detection in the commercial network, and the non-commercial network automatically closes the pseudo base station detection, so as to ensure the normal operation of the test network experiment.
The present embodiment also provides a storage medium having stored thereon a computer program that, when executed, comprises the steps of:
when a network registration request sent by any terminal equipment to a target network is received, whether an SIM card in the terminal equipment is a test card or not and whether the target network meets a test network condition or not are respectively judged;
and when the SIM card is judged to be the test card and/or the target network meets the test network condition, closing the pseudo base station identification function of the terminal equipment. The storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above-described embodiments describe the technical principles of the present invention, and these descriptions are only for the purpose of explaining the principles of the present invention and are not to be construed as limiting the scope of the present invention in any way. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive effort, which would fall within the scope of the present invention.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

Claims (4)

1. A pseudo base station identification switch control method is characterized by comprising the following steps:
when a network registration request sent by any terminal device to a target network is received, respectively judging whether an SIM card in the terminal device is a test card and whether the target network meets a test network condition, wherein the network registration request is automatically sent when the SIM card is inserted into the terminal device and a networking instruction of a user is received and is sent to the same target network for receiving a plurality of different terminal devices;
when the SIM card is judged to be the test card and/or the target network meets the test network condition, the pseudo base station identification function of the terminal equipment is closed, wherein when the target network meets the test network condition, the target network is judged to be the test network, and the parameter value of the test network is not fixed;
the step of respectively judging whether the SIM card in the terminal equipment is a test card and whether the target network meets the test network condition comprises the following steps:
acquiring a user MCC code of the SIM card, and judging whether the user MCC code is in a first preset code value range;
when the MCC code of the user is judged to be in the range of the first preset code value, the SIM card is judged to be the test card;
acquiring a network MCC code of the target network, and judging whether the network MCC code is in a second preset code value range;
when the MCC code of the network is judged to be in the range of the second preset code value, judging that the IMSI data of the network meets the test network condition, wherein the target network is a test network;
after the step of determining that the target network satisfies the test network condition, the method further includes:
acquiring and storing an IP address of the target network, and closing the pseudo base station identification function of sending end equipment of the network registration request when receiving the network registration request aiming at the IP address;
after the step of closing the pseudo base station identification function of the terminal device, the method further includes:
when the network connection between the terminal equipment and the target network is judged to be disconnected, timing is started to obtain timing time;
judging whether the timing time is greater than a time threshold value;
if so, controlling to start the pseudo base station identification function of the terminal equipment;
before the step of receiving a network registration request sent by any terminal device to a target network, the method further includes:
when a starting signal of the terminal equipment is received, judging whether the current SIM card on the terminal equipment is the test card or not;
if so, closing the pseudo base station identification function of the terminal equipment;
after the step of determining that the SIM card is the test card, the method further includes:
judging whether the terminal equipment has the SIM card replaced or not;
and if so, starting the pseudo base station identification function of the terminal equipment.
2. A pseudo base station identification switch control apparatus, comprising:
the first judgment module is used for respectively judging whether an SIM card in the terminal equipment is a test card and whether the target network meets the test network condition when receiving a network registration request sent by any terminal equipment to the target network, wherein the network registration request is automatically sent when the SIM card is inserted into the terminal equipment and a networking instruction of a user is received and is sent to the same target network for receiving a plurality of different terminal equipment;
the control module is used for closing the pseudo base station identification function of the terminal equipment when the first judgment module judges that the SIM card is the test card and/or the target network meets the test network condition, wherein when the first judgment module judges that the target network meets the test network condition, the target network is judged to be the test network, and the parameter value of the test network is not fixed;
the first judging module comprises:
the first judging unit is used for acquiring the user MCC code of the SIM card and judging whether the user MCC code is in a first preset code value range;
the first judging unit is used for judging that the SIM card is the test card when the first judging unit judges that the MCC code of the user is in the first preset code value range;
the second judging unit is used for acquiring the network MCC code of the target network and judging whether the network MCC code is in a second preset code value range;
a second determining unit, configured to determine that the network IMSI data meets the test network condition when it is determined that the network MCC code is within the second preset code value range, where the target network is a test network;
a storage module, configured to acquire and store an IP address of the target network, and when receiving the network registration request for the IP address, close the pseudo base station identification function of a sending end device of the network registration request;
the pseudo base station identification switch control device further includes:
the timing module is used for starting timing to obtain timing time when the terminal equipment is judged to be disconnected from the target network;
the second judgment module is used for judging whether the timing time is greater than a time threshold value according to the timing result of the timing module; if so, controlling to start the pseudo base station identification function of the terminal equipment;
the third judging module is used for judging whether the terminal equipment has the SIM card replaced or not; if so, starting the pseudo base station identification function of the terminal equipment;
the fourth judging module is used for judging whether the current SIM card on the terminal equipment is the test card or not when a starting signal of the terminal equipment is received; and if so, closing the pseudo base station identification function of the terminal equipment.
3. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to cause the mobile terminal to perform the pseudo base station identity switch control method of claim 1.
4. A storage medium having stored thereon a computer program, characterized in that the program, when being executed by a processor, carries out the steps of the pseudo base station identification switch control method of claim 1.
CN201810710016.XA 2018-07-02 2018-07-02 Pseudo base station identification switch control method and device, mobile terminal and storage medium Active CN108966236B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810710016.XA CN108966236B (en) 2018-07-02 2018-07-02 Pseudo base station identification switch control method and device, mobile terminal and storage medium
PCT/CN2019/093843 WO2020007250A1 (en) 2018-07-02 2019-06-28 Pseudo base station identification on-off control method and device, mobile terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810710016.XA CN108966236B (en) 2018-07-02 2018-07-02 Pseudo base station identification switch control method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108966236A CN108966236A (en) 2018-12-07
CN108966236B true CN108966236B (en) 2021-09-07

Family

ID=64484749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810710016.XA Active CN108966236B (en) 2018-07-02 2018-07-02 Pseudo base station identification switch control method and device, mobile terminal and storage medium

Country Status (2)

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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966236B (en) * 2018-07-02 2021-09-07 奇酷互联网络科技(深圳)有限公司 Pseudo base station identification switch control method and device, mobile terminal and storage medium
CN111465019B (en) * 2019-01-18 2023-09-19 中兴通讯股份有限公司 Capability reporting and key negotiation methods and devices, terminal, communication equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860850A (en) * 2010-05-07 2010-10-13 中兴通讯股份有限公司 Method for realizing mobile terminal to lock network or card by utilizing driver
CN103916886A (en) * 2012-12-30 2014-07-09 重庆重邮信科通信技术有限公司 Virtual test method and system, simulating base station and test terminal
CN106385669A (en) * 2016-09-05 2017-02-08 努比亚技术有限公司 Method and device for identifying pseudo base station

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2403663A1 (en) * 2000-04-25 2002-09-18 Advantest Corporation Apparatus, method and program for communication test, and recorded medium on which that program has been recorded
CN100399753C (en) * 2004-07-02 2008-07-02 安立股份有限公司 Mobile network simulator apparatus
KR100585772B1 (en) * 2004-09-16 2006-06-07 엘지전자 주식회사 Method for monitoring paging channel of packet-switched services
JP4229037B2 (en) * 2004-09-30 2009-02-25 株式会社デンソー Communication relay device and communication relay program
US10326674B2 (en) * 2013-08-27 2019-06-18 Purdue Research Foundation Compressing trace data
CN106792709B (en) * 2017-01-13 2020-03-31 北京元心科技有限公司 Method, device and terminal for preventing pseudo base station
CN108235760A (en) * 2017-12-27 2018-06-29 深圳前海达闼云端智能科技有限公司 Power consumption antihunt means, its device and the electronic equipment of intelligent terminal
CN108966236B (en) * 2018-07-02 2021-09-07 奇酷互联网络科技(深圳)有限公司 Pseudo base station identification switch control method and device, mobile terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860850A (en) * 2010-05-07 2010-10-13 中兴通讯股份有限公司 Method for realizing mobile terminal to lock network or card by utilizing driver
CN103916886A (en) * 2012-12-30 2014-07-09 重庆重邮信科通信技术有限公司 Virtual test method and system, simulating base station and test terminal
CN106385669A (en) * 2016-09-05 2017-02-08 努比亚技术有限公司 Method and device for identifying pseudo base station

Also Published As

Publication number Publication date
WO2020007250A1 (en) 2020-01-09
CN108966236A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN105636048B (en) Terminal and method and device for identifying pseudo base station
CN112806073B (en) Communication processing method, device, mobile terminal and storage medium
EP1754390A1 (en) Method and radio communication network for detecting the presence of fraudulent subscriber identity modules
CN104144423B (en) The localization method and network server of pseudo-base station
CN110475229B (en) Method and device for accessing service data, computer equipment and storage medium
CN108966236B (en) Pseudo base station identification switch control method and device, mobile terminal and storage medium
CN103731894A (en) Network switching method and device
CN105517110A (en) Method and apparatus for connecting bluetooth device
CN104166591A (en) Method and device for avoiding forced interruption of game
CN107295153B (en) Management method and terminal for switching login accounts
CN113507471A (en) Method, device, router and storage medium for acquiring terminal system type
CN104809046A (en) Application program networking control method and application program networking control device
CN110493810B (en) Method, device, equipment and medium for detecting recording notification fault
CN111479302A (en) Data service switching method and communication device
KR20160096646A (en) Method and device for managing blacklist
CN112673663B (en) Pseudo base station processing method, pseudo base station processing device, mobile terminal and storage medium
CN107770800A (en) ESIM card informations management method, equipment and server
CN108966140B (en) Network control method, system, mobile terminal and storage medium
CN105827779A (en) Method and device for controlling number blacklist
CN110366184A (en) A kind of method and intelligent terminal identifying pseudo-base station note
CN112703755A (en) Pseudo base station processing method, pseudo base station processing device, mobile terminal and storage medium
CN112203220B (en) IMEI (International Mobile Equipment identity) belonging terminal identification method and device
CN111954203B (en) Information receiving method and device
CN109194426B (en) Public broadcast control method and device
CN114268509A (en) Method and system for preventing DDOS attack of zombie terminal

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