CN108966236A - Pseudo-base station identification switch control method, device, mobile terminal and storage medium - Google Patents
Pseudo-base station identification switch control method, device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN108966236A CN108966236A CN201810710016.XA CN201810710016A CN108966236A CN 108966236 A CN108966236 A CN 108966236A CN 201810710016 A CN201810710016 A CN 201810710016A CN 108966236 A CN108966236 A CN 108966236A
- Authority
- CN
- China
- Prior art keywords
- network
- test
- pseudo
- base station
- terminal device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/12—Detection or prevention of fraud
Abstract
The present invention provides a kind of pseudo-base station identification switch control method, device, mobile terminal and storage mediums, method includes: to judge whether the SIM card in terminal device is whether test card, target network meet test network condition respectively when receiving the network registry request that any terminal equipment sends to target network;It is test card and/or when target network meets test network condition when determining SIM card, close the pseudo-base station identification function of terminal device, the present invention by judging whether SIM card meets for test card respectively, whether target network meets the design of test network condition, judge automatically whether terminal device is test equipment with correspondence, whether target network is test network, and according to judging result, the closing of the pseudo-base station identification function of corresponding automatic control terminal equipment, enable terminal device in commercial network self-identifying starting pseudo-base station detection, pseudo-base station detection is automatically closed in non-commercial net, to ensure being normally carried out for test network experiment.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of pseudo-base station identification switch control method, device, movement are eventually
End and storage medium.
Background technique
" pseudo-base station " i.e. false base station, equipment are generally made of host and laptop, are sent out by sending short messages in groups device, short message
The relevant devices such as letter machine, which can be searched, takes the end messages such as the card informations such as mobile phone centered on it, within the scope of certain radius, passes through
Disguise oneself as the base station of operator, falsely uses the information such as other people phone numbers by force to the terminals such as user mobile phone send swindle, advertisement pushes away
The short messages such as pin.When such equipment is run, user terminal signal is forced to be connected in the equipment, cannot connect to common telecommunication
Network makes user can not normal use regular traffic so that influencing the normal use of terminal.Therefore, the identification technology of pseudo-base station
It comes into being, the identification point of pseudo-base station prevention detection identification and post factum identification in advance, prevention is identified by communication in advance
The gravity treatment principle of agreement, identifies the identification of base station anomaly parameter, terminates before accessing pseudo-base station dangerous;And it is identified by afterwards
To the information filtering identification that base station is sent, such as the feature words and expressions identification in fraud text message.
But in existing some special screnes, it is to carry out test lab network, i.e., the stability of network or function is examined
Survey, since test network is not commercial network, parameter is more casual so that terminal device be easy by the Network Recognition be
Pseudo-base station causes terminal device that can not be connected into the network and is tested, and then leads to the failure of test experiments.
Summary of the invention
Based on this, the present invention provides a kind of pseudo-base station identification switch control method, device, mobile terminal and storage medium,
Terminal can not be connected into test network when for solving the problem of to carry out test lab network in the prior art.
In a first aspect, the present invention provides a kind of pseudo-base station identification switch control method, the method, comprising:
When receiving the network registry request that any terminal equipment is sent to target network, judge that the terminal is set respectively
Whether SIM card in standby is whether test card, the target network meet test network condition;
It is the test card and/or when the target network meets the test network condition when determining the SIM card,
Close the pseudo-base station identification function of the terminal device.
Above-mentioned pseudo-base station identification switch control method, by judge respectively the SIM card whether meet for the test card,
Whether the target network meets the design of the test network condition, judges automatically whether the terminal device is survey with correspondence
Whether examination equipment, the target network are test network, and according to judging result, the corresponding puppet for automatically controlling the terminal device
The closing of identification of base stations function enables the terminal device in commercial network self-identifying starting pseudo-base station detection, non-commercial net
Pseudo-base station detection is automatically closed, to ensure being normally carried out for test network experiment.
Further, described to judge whether the user IMSI data meet test user's condition, the network respectively
Whether IMSI data, which meet the step of test network condition, includes:
The user's MCC code stored in the user IMSI data is obtained, and judges whether the user MCC code is pre- first
If within the scope of code value;
When determining the user MCC code within the scope of the described first default code value, then determine that the terminal device is
Test equipment, the user IMSI data meet test user's condition;
The network MCC code stored in the network IMSI data is obtained, and judges whether the network MCC code is pre- second
If within the scope of code value;
When determining the network MCC code within the scope of the described second default code value, then determine that the target network is
Test network, the network IMSI data meet the test network condition.
Further, it is described determine the step of network IMSI data meet the test network condition after, institute
State method further include:
The IP address of the target network is obtained and stored, and works as the network registry received for the IP address
When request, the pseudo-base station identification function of the sending ending equipment of the network registry request is closed.
Further, after the pseudo-base station identification function step for closing the terminal device, the method also includes:
When determining the separated network connection of the terminal device and the target network, start timing, to obtain
Timing time;
Judge whether the timing time is greater than time threshold;
If so, the pseudo-base station identification function of the terminal device is opened in control.
Further, after described the step of determining the terminal device for test equipment, the method also includes:
Judge whether the terminal device has replacement SIM card;
If so, opening the pseudo-base station identification function of the terminal device.
Second aspect, the present invention provides a kind of pseudo-base station identification switch control devices, comprising:
First judgment module, for when receiving the network registry request that any terminal equipment sends to target network,
Judge whether the SIM card in the terminal device is whether test card, the target network meet test network condition respectively;
Control module, for being the test card and/or the mesh when the first judgment module determines the SIM card
When mark network meets the test network condition, the pseudo-base station identification function of the terminal device is closed.
Whether above-mentioned pseudo-base station identification switch control device judges the SIM card by the first judgment module respectively
The design for whether meeting the test network condition for the test card, the target network met, institute is judged automatically with correspondence
State whether terminal device is test equipment, whether the target network is test network, and according to judging result, so that the control
The closing of the corresponding pseudo-base station identification function for automatically controlling the terminal device of molding block, so that the terminal device is in commercial net
Network energy self-identifying starts pseudo-base station detection, and pseudo-base station detection is automatically closed in non-commercial net, to ensure the normal of test network experiment
It carries out.
Further, the first judgment module includes:
Whether the first judging unit for obtaining user's MCC code of the SIM card, and judges the user MCC code
Within the scope of one default code value;
First judging unit, for when determining the user MCC code within the scope of the described first default code value, then sentencing
The fixed SIM card is the test card;
Whether second judgment unit for obtaining the network MCC code of the target network, and judges the network MCC code
Within the scope of the second default code value;
Second judging unit, for when determining the network MCC code within the scope of the described second default code value, then sentencing
The fixed network IMSI data meet the test network condition, and the target network is test network.
The third aspect, the present invention provides a kind of mobile terminal, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the processor run the computer program so that the mobile terminal execution
Above-mentioned pseudo-base station identification switch control method.
Fourth aspect, the present invention provides a kind of storage mediums, are stored thereon with computer program, and the program is by processor
The step of above-mentioned pseudo-base station identification switch control method is realized when execution.
Detailed description of the invention
Fig. 1 is the flow chart for the pseudo-base station identification switch control method that first embodiment of the invention provides;
Fig. 2 is the flow chart for the pseudo-base station identification switch control method that second embodiment of the invention provides;
Fig. 3 is the structural schematic diagram for the pseudo-base station identification switch control device that third embodiment of the invention provides.
Specific embodiment
For the ease of more fully understanding the present invention, the present invention is carried out further below in conjunction with related embodiment attached drawing
It explains.The embodiment of the present invention is given in attached drawing, but the present invention is not limited in above-mentioned preferred embodiment.On the contrary, providing
The purpose of these embodiments be in order to make disclosure of the invention face more sufficiently.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
In existing some special screnes, it is to carry out test lab network, i.e., the stability of network or function is detected,
Since test network is not commercial network, parameter is more casual, so that terminal device is easy the Network Recognition to be puppet
Base station causes terminal device that can not be connected into the network and is tested, and then leads to the failure of test experiments, and therefore, the present invention mentions
The pseudo-base station identification switch control method of confession is judged using the detection to SIM card and target network on terminal device, with automatic
Pseudo-base station recognition detection function is controlled, enables terminal in commercial network self-identifying starting pseudo-base station detection, non-commercial net is automatic
Pseudo-base station detection is closed, to ensure being normally carried out for test network experiment.
Referring to Fig. 1, the flow chart of the pseudo-base station identification switch control method provided for first embodiment of the invention, including
Step S10 to S20.
Step S10 judges institute when receiving the network registry request that any terminal equipment is sent to target network respectively
State whether the SIM card in terminal device is whether test card and/or the target network meet test network condition;
Wherein, it is divided into test card and commercial card in existing mobile phone card use process, the test card is dedicated for network reality
Network is tested in testing, and network difference test network and commercial network, the test network is dedicated in network experiment
Network environment is provided, therefore the supplemental characteristic in the test network is arbitrarily configured, which is used to be people
Normal network parameter and network savvy are provided, and when user uses the test card, since the test of network experiment needs
It asks, the corresponding closing that the terminal device for installing the test card is carried out to pseudo-base station identification function is needed, with Logistics networks experiment
It is normally carried out.In addition, similarly due to the testing requirement of network experiment, needing correspondence that will work as when target network is the test network
Preceding terminal device carries out the closing of pseudo-base station identification function.
Therefore, in step S10 by using judging whether the SIM card is whether the test, the target network are full
The mode of the foot test network condition, with the control for pseudo-base station identification function state on the subsequent terminal device provide according to
According to.When being inserted into SIM card on the terminal device and receiving the networking instruction of user, the network registry is issued automatically and is asked
It asks, the terminal device can be mobile phone, plate or intelligent wearable device.
Preferably, step S10 can receive multiple and different terminal devices to the same target network simultaneously
The network registry request that network is sent, and to described in the SIM progress on the different terminal devices in the step
The judgement of test card.
In the present embodiment, the test network condition is pre-set decision condition, the content user of the decision condition
Independently it can modify and add according to demand.
It is that the test card and/or the target network meet the test network when step S10 determines the SIM card
Condition executes step S20.
Step S20 closes the pseudo-base station identification function of the terminal device;
Wherein, due to when determining the SIM card, determining the terminal device for test equipment or determining the mesh
When mark network is test network, in order to ensure the validity of test network experiment, and then the end is corresponded to by step S20 control
The closing of pseudo-base station identification function in end equipment, to ensure being normally carried out for test network test.
It should be understood that when determining the SIM card not is the test card, then determine the SIM card for commercial card,
When determining the target network and being unsatisfactory for the test network condition, then determine the target network for commercial network.
In the present embodiment, by judge respectively the SIM card whether meet for the test card, the target network whether
Meet the design of the test network condition, judges automatically whether the terminal device is test equipment, the target with correspondence
Whether network is test network, and according to judging result, corresponds to the pseudo-base station identification function for automatically controlling the terminal device
It closes, enables the terminal device in commercial network self-identifying starting pseudo-base station detection, pseudo-base station is automatically closed in non-commercial net
Detection, to ensure being normally carried out for test network experiment.
Referring to Fig. 2, the flow chart of the pseudo-base station identification switch control method provided for second embodiment of the invention, described
Method includes step S11 to S91.
Step S11 obtains institute when receiving the network registry request that any terminal equipment is sent to target network respectively
State the user IMSI data of terminal device and the network IMSI data of the target network;
Wherein, the user IMSI data and the network IMSI data be international mobile subscriber identity (IMSI:
International Mobile Subscriber Identification Number) it is the mark for distinguishing mobile subscriber, storage
There are the effective informations that in SIM card, can be used for distinguishing mobile subscriber.IMSI data include MCC+MNC+MSIN, and total length is not
More than 15,0~9 number is equally used.Wherein MCC is mobile subscriber belonging country code name, accounts for 3 bit digitals, Chinese MCC
It is defined as 460;MNC is mobile network number, is made of two or three bit digitals, and the mobile network of China Mobile encodes (MNC)
It is 00;The mobile radio communication that mobile subscriber is belonged to for identification;MSIN is mobile identification number, to identify a certain movement
Mobile subscriber in communication network.
Before step S11, system can be communicated to connect with multiple and different terminal devices, target network, and
The system can be installed using integrated form or Embedded mode, when system is installed by the way of integrated form,
System installation in the server when, server is communicated to connect with multiple and different terminal devices, target network, when being
When system is installed using Embedded mode, system correspondence is mounted on the terminal device, i.e., each system
The state switching of the pseudo-base station identification function of system one terminal device of corresponding control.
Therefore, when being inserted into SIM card on the terminal device and receiving the networking instruction of user, the net is issued automatically
Network registration request, the terminal device can be mobile phone, plate or intelligent wearable device, in step S11, pass through the user
Whether the acquisition of IMSI data and the network IMSI data is that test equipment is sentenced to the terminal device to facilitate subsequent
Disconnected, the described target network whether be test network judgement.It preferably,, can when using integrated form formula server in step S11
To receive the network registry request that multiple and different terminal devices is sent to the same target network simultaneously,
And the user IMSI data stored on the different terminal devices can be obtained in the step.
Preferably, before step S11, the method also includes:
When receiving the starting-up signal of the terminal device, judge on the terminal device whether is presently described SIM card
For the test card;
If so, closing the pseudo-base station identification function of the terminal device;
Wherein, SIM card is detected by using the mode of booting detection, so that when determining currently used SIM
When card is test card, pseudo-base station identification function on the terminal device is directly closed, the pseudo-base station identification is effectively raised and opens
Close the control efficiency of control method.
Step S21 obtains the user's MCC code stored in the user IMSI data, and whether judges the user MCC code
Within the scope of the first default code value;
Wherein, by the judgement of the user MCC code and the described first default code value range, to judge the user IMSI
Whether the corresponding SIM card of data is test card, when determining the SIM card is test card, then determines that the terminal device is used for
Carry out test network experiment.
Specifically, the first default code value range is IMSI.MCC=[001-012] range, it is preferred that the range is used
Family can be independently configured according to demand, to meet specific needs, in addition, when determining the user IMSI number in the present embodiment
According to middle storage IMSI value be GCF define two numerical value when, then directly judgement SIM card be test card.
When step S21 determines the user MCC code within the scope of the described first default code value, step S31 is executed.
Step S31 determines the terminal device for test equipment, and the SIM card on the terminal device is test card, described
User's IMSI data meet test user's condition;
Preferably, after step S21 determines the terminal device for the step of test equipment, the method also includes:
Judge whether the terminal device has replacement SIM card;
If so, opening the pseudo-base station identification function of the terminal device;
Wherein, since when determining the terminal device has replacement SIM card, the SIM card after replacement may not be to survey
Examination card, so that the terminal device may be not test equipment after replacement, and in order to ensure the network of the terminal device
Protection effect, at this point, by reopening the pseudo-base station identification function on the terminal device, to prevent pseudo-base station to institute
State the influence of terminal device.
When step S21 determines the user MCC code not within the scope of the described first default code value, step S41 is executed.
Step S41 obtains the network MCC code stored in the network IMSI data, and whether judges the network MCC code
Within the scope of the second default code value;
Wherein, by the judgement of the network MCC code and the described second default code value range, to judge the network IMSI
Whether data corresponding network is test network, specifically, the second default code value range is sib1.mcc=[001-012] model
It encloses, it is preferred that range user can independently be configured according to demand, to meet specific needs.
When step S41 determines the network MCC code within the scope of the described second default code value, step S51 is executed.
Step S51 determines the target network for test network, and the network IMSI data meet the test network item
Part;
Wherein, when step S51 determines the target network for test network, determine the target network and non-commercial net
Network.
Preferably, after step S51 determines the step of network IMSI data meet the test network condition,
The method also includes:
The IP address of the target network is obtained and stored, and works as the network registry received for the IP address
When request, the pseudo-base station identification function of the sending ending equipment of the network registry request is closed;
Wherein, by the design Storage of the IP address, the pseudo-base station identification switch control method is effectively raised
Control efficiency, improve user experience.
Step S61 closes the pseudo-base station identification function of the terminal device;
Wherein, due to when the terminal device is test equipment or the target network is test network, in order to ensure
The validity of test network experiment, and then pass through the closing for the pseudo-base station identification function that step S61 is controlled in counterpart terminal equipment,
To ensure being normally carried out for test network test.
Step S71 starts to count when determining the separated network connection of the terminal device and the target network
When, to obtain timing time;
Wherein, by the state of communication channel between terminal device described in real-time monitoring and the target network, to carry out
The judgement whether network connection disconnects, and the mode that timer can be used in the step carries out timing.
Step S81, judges whether the timing time is greater than time threshold;
When step S81 determines the timing time greater than the time threshold, step S91 is executed.
The pseudo-base station identification function of the terminal device is opened in step S91, control;
Wherein, when step S81 determines the timing time greater than the time threshold, then determine the terminal device
The normal switching-off of communication channel, and the network protection effect in order to ensure the terminal device are realized with the target network, this
When, by reopening the pseudo-base station identification function on the terminal device, to prevent pseudo-base station to the terminal device
Influence.
In the present embodiment, by judge respectively the SIM card whether meet for the test card, the target network whether
Meet the design of the test network condition, judges automatically whether the terminal device is test equipment, the target with correspondence
Whether network is test network, and according to judging result, corresponds to the pseudo-base station identification function for automatically controlling the terminal device
It closes, enables the terminal device in commercial network self-identifying starting pseudo-base station detection, pseudo-base station is automatically closed in non-commercial net
Detection, to ensure being normally carried out for test network experiment.
Referring to Fig. 3, the structural representation of the pseudo-base station identification switch control device 100 provided for third embodiment of the invention
Figure, comprising:
First judgment module 10, for working as the network registry request for receiving any terminal equipment and sending to target network
When, judge whether the SIM card in the terminal device is whether test card, the target network meet test network item respectively
Part.
Control module 20, for being the test card and/or institute when the first judgment module 10 determines the SIM card
When stating target network and meeting the test network condition, the pseudo-base station identification function of the terminal device is closed.
Memory module 32 for obtaining and storing the IP address of the target network, and is worked as and is received for the IP
When the network registry request of location, the pseudo-base station identification function of the sending ending equipment of the network registry request is closed,
Wherein, by the design Storage of the IP address, the control effect of the pseudo-base station identification switch control method is effectively raised
Rate improves user experience.
Timing module 30, for when determining the separated network connection of the terminal device and the target network,
Start timing, to obtain timing time;
Whether second judgment module 31 judges the timing time for the timing result according to the timing module 30
Greater than time threshold;If so, the pseudo-base station identification function of the terminal device is opened in control, wherein when determining
When stating timing time greater than the time threshold, then determine that the terminal device and the target network realize communication channel
Normal switching-off, and the network protection effect in order to ensure the terminal device, at this point, by reopening on the terminal device
The pseudo-base station identification function, to prevent influence of the pseudo-base station to the terminal device.
Third judgment module 33, for judging whether the terminal device has replacement SIM card;If so, opening the end
The pseudo-base station identification function of end equipment, wherein due to when determine the terminal device have replacement SIM card when, after replacement
SIM card may not be test card so that the terminal device may be not test equipment after replacement, and in order to protect
Hinder the network protection effect of the terminal device, at this point, identifying function by reopening the pseudo-base station on the terminal device
Can, to prevent influence of the pseudo-base station to the terminal device.
4th judgment module 34, for judging the terminal device when receiving the starting-up signal of the terminal device
Whether upper presently described SIM card is the test card;If so, closing the pseudo-base station identification function of the terminal device.
Specifically, the first judgment module 10 includes:
First judging unit 11, for obtaining user's MCC code of the SIM card, and judge the user MCC code whether
Within the scope of first default code value;
First judging unit 12, for determining the user MCC code described first when first judging unit 11
When within the scope of default code value, then determine that the SIM card is the test card;
Second judgment unit 13 for obtaining the network MCC code of the target network, and judges that the network MCC code is
It is no within the scope of the second default code value;
Second judging unit 14 is then sentenced when for determining the network MCC code within the scope of the described second default code value
The fixed network IMSI data meet the test network condition, and the target network is test network.
In the present embodiment, judge whether the SIM card meets for the test respectively by the first judgment module 10
Whether card, the target network meet the design of the test network condition, whether judge automatically the terminal device with correspondence
It whether is test network for test equipment, the target network, and according to judging result, so that the control module 20 is corresponding certainly
The closing of the pseudo-base station identification function of the dynamic control terminal device, enables the terminal device to open in commercial network self-identifying
Pseudo-base station detection is automatically closed in dynamic pseudo-base station detection, non-commercial net, to ensure being normally carried out for test network experiment.
The present embodiment additionally provides a kind of storage medium, is stored thereon with computer program, the program when being executed, including
Following steps:
When receiving the network registry request that any terminal equipment is sent to target network, judge that the terminal is set respectively
Whether SIM card in standby is whether test card, the target network meet test network condition;
It is the test card and/or when the target network meets the test network condition when determining the SIM card,
Close the pseudo-base station identification function of the terminal device.The storage medium, such as: ROM/RAM, magnetic disk, CD.
Above embodiment described technical principles of the invention, and the description is merely to explain the principles of the invention, and
It cannot be construed to the limitation of the scope of the present invention in any way.Based on the explanation herein, those skilled in the art is not required to
Other specific embodiments of the invention can be associated by paying creative labor, these modes fall within of the invention
In protection scope.
The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wirings
Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Claims (10)
1. a kind of pseudo-base station identification switch control method, which is characterized in that the described method includes:
When receiving the network registry request that any terminal equipment is sent to target network, judged in the terminal device respectively
SIM card whether be whether test card, the target network meet test network condition;
It is the test card when determining the SIM card and/or when the target network meets the test network condition, closes
The pseudo-base station identification function of the terminal device.
2. pseudo-base station identification switch control method according to claim 1, which is characterized in that described to judge the end respectively
Whether SIM card in end equipment is test card, the target network include: the step of whether meeting test network condition
User's MCC code of the SIM card is obtained, and judges the user MCC code whether within the scope of the first default code value;
When determining the user MCC code within the scope of the described first default code value, then determine that the SIM card is the test
Card;
The network MCC code of the target network is obtained, and judges the network MCC code whether within the scope of the second default code value;
When determining the network MCC code within the scope of the described second default code value, then determine that the network IMSI data are full
The foot test network condition, the target network are test network.
3. pseudo-base station identification switch control method according to claim 1, which is characterized in that described to determine the target
After network meets the step of test network condition, the method also includes:
The IP address of the target network is obtained and stored, and is requested when receiving the network registry for the IP address
When, close the pseudo-base station identification function of the sending ending equipment of the network registry request.
4. pseudo-base station identification switch control method according to claim 1, which is characterized in that the closing terminal is set
After standby pseudo-base station identification function step, the method also includes:
When determining the separated network connection of the terminal device and the target network, start timing, to obtain timing
Time;
Judge whether the timing time is greater than time threshold;
If so, the pseudo-base station identification function of the terminal device is opened in control.
5. pseudo-base station identification switch control method according to claim 1, which is characterized in that described to receive any end
Before the step of network registry request that end equipment is sent to target network, the method also includes:
When receiving the starting-up signal of the terminal device, judge whether presently described SIM card is institute on the terminal device
State test card;
If so, closing the pseudo-base station identification function of the terminal device.
6. pseudo-base station identification switch control method according to claim 2, which is characterized in that the fixed SIM card is
After the step of test card, the method also includes:
Judge whether the terminal device has the replacement SIM card;
If so, opening the pseudo-base station identification function of the terminal device.
7. a kind of pseudo-base station identification switch control device characterized by comprising
First judgment module, for distinguishing when receiving the network registry request that any terminal equipment is sent to target network
Judge whether the SIM card in the terminal device is whether test card, the target network meet test network condition;
Control module, for being the test card and/or the target network when the first judgment module determines the SIM card
When network meets the test network condition, the pseudo-base station identification function of the terminal device is closed.
8. pseudo-base station identification switch control device according to claim 1, which is characterized in that the first judgment module packet
It includes:
First judging unit for obtaining user's MCC code of the SIM card, and judges whether the user MCC code is pre- first
If within the scope of code value;
First judging unit, for determining the user MCC code in the described first default code value when first judging unit
When in range, then determine that the SIM card is the test card;
Whether second judgment unit for obtaining the network MCC code of the target network, and judges the network MCC code
Within the scope of two default code values;
Second judging unit, for when determining the network MCC code within the scope of the described second default code value, then determining institute
It states network IMSI data and meets the test network condition, the target network is test network.
9. a kind of mobile terminal including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor runs the computer program so that the mobile terminal execution is wanted according to right
Seek 1 to 6 described in any item pseudo-base station identification switch control methods.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the realization when program is executed by processor
The step of pseudo-base station identification switch control method as claimed in any one of claims 1 to 6.
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 true CN108966236A (en) | 2018-12-07 |
CN108966236B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020007250A1 (en) * | 2018-07-02 | 2020-01-09 | 奇酷互联网络科技(深圳)有限公司 | Pseudo base station identification on-off control method and device, mobile terminal, and storage medium |
WO2020147509A1 (en) * | 2019-01-18 | 2020-07-23 | 中兴通讯股份有限公司 | Method and device for capability report and key negotiation, terminal, communication device and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1426638A (en) * | 2000-04-25 | 2003-06-25 | 爱得万测试株式会社 | Apparatus, method and program for communication test, and recorded medium on which that program has been recorded |
CN1716885A (en) * | 2004-07-02 | 2006-01-04 | 安立股份有限公司 | Mobile network simulator apparatus |
CN1750712A (en) * | 2004-09-16 | 2006-03-22 | Lg电子株式会社 | Method of monitoring paging channel of packet switched service |
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 |
US20150063350A1 (en) * | 2013-08-27 | 2015-03-05 | Purdue Research Foundation | Tracing message transmissions between communicating network devices |
CN106385669A (en) * | 2016-09-05 | 2017-02-08 | 努比亚技术有限公司 | Method and device for identifying pseudo base station |
CN108235760A (en) * | 2017-12-27 | 2018-06-29 | 深圳前海达闼云端智能科技有限公司 | Power consumption antihunt means, its device and the electronic equipment of intelligent terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4229037B2 (en) * | 2004-09-30 | 2009-02-25 | 株式会社デンソー | Communication relay device and communication relay program |
CN106792709B (en) * | 2017-01-13 | 2020-03-31 | 北京元心科技有限公司 | Method, device and terminal for preventing pseudo base station |
CN108966236B (en) * | 2018-07-02 | 2021-09-07 | 奇酷互联网络科技(深圳)有限公司 | Pseudo base station identification switch control method and device, mobile terminal and storage medium |
-
2018
- 2018-07-02 CN CN201810710016.XA patent/CN108966236B/en active Active
-
2019
- 2019-06-28 WO PCT/CN2019/093843 patent/WO2020007250A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1426638A (en) * | 2000-04-25 | 2003-06-25 | 爱得万测试株式会社 | Apparatus, method and program for communication test, and recorded medium on which that program has been recorded |
CN1716885A (en) * | 2004-07-02 | 2006-01-04 | 安立股份有限公司 | Mobile network simulator apparatus |
CN1750712A (en) * | 2004-09-16 | 2006-03-22 | Lg电子株式会社 | Method of monitoring paging channel of packet switched service |
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 |
US20150063350A1 (en) * | 2013-08-27 | 2015-03-05 | Purdue Research Foundation | Tracing message transmissions between communicating network devices |
CN106385669A (en) * | 2016-09-05 | 2017-02-08 | 努比亚技术有限公司 | Method and device for identifying pseudo base station |
CN108235760A (en) * | 2017-12-27 | 2018-06-29 | 深圳前海达闼云端智能科技有限公司 | Power consumption antihunt means, its device and the electronic equipment of intelligent terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020007250A1 (en) * | 2018-07-02 | 2020-01-09 | 奇酷互联网络科技(深圳)有限公司 | Pseudo base station identification on-off control method and device, mobile terminal, and storage medium |
WO2020147509A1 (en) * | 2019-01-18 | 2020-07-23 | 中兴通讯股份有限公司 | Method and device for capability report and key negotiation, terminal, communication device and system |
CN111465019A (en) * | 2019-01-18 | 2020-07-28 | 中兴通讯股份有限公司 | Capability reporting method, capability reporting device, key negotiation method, device, terminal, communication equipment and system |
CN111465019B (en) * | 2019-01-18 | 2023-09-19 | 中兴通讯股份有限公司 | Capability reporting and key negotiation methods and devices, terminal, communication equipment and system |
Also Published As
Publication number | Publication date |
---|---|
CN108966236B (en) | 2021-09-07 |
WO2020007250A1 (en) | 2020-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106789851A (en) | Auth method, system, service server and authentication server | |
CN107948943B (en) | Method for identifying different network cards in double-card terminal and server | |
CN105979502B (en) | Switching method, switching device and the terminal of eSIM | |
CN105263142A (en) | Method and device for identifying pseudo base station | |
CN105654568A (en) | Automatic attendance checking method and system based on WI-FI | |
CN106792707A (en) | The detection method and device of counterfeit WAP | |
CN106937273A (en) | HD icons display control method and device | |
CN106452955B (en) | A kind of detection method and system of abnormal network connection | |
CN103701625A (en) | Home gateway WLAN (Wireless Local Area Network) network fault location method and network management system | |
CN110209723A (en) | A kind of equipment information collection system based on Internet of Things big data | |
CN108513301B (en) | Illegal user identification method and device | |
CN104754610B (en) | Pseudo-base station localization method, apparatus and system | |
CN105636048A (en) | Terminal and method and device for terminal to identify pseudo base station | |
CN104809046B (en) | A kind of application program networking control method and application program networking control device | |
CN105704734A (en) | Specified type cell detection method, device and communication terminal | |
CN106899948B (en) | Pseudo base station discovery method, system, terminal and server | |
CN109547942A (en) | Swindle number identification method, device, equipment and computer readable storage medium | |
CN108966236A (en) | Pseudo-base station identification switch control method, device, mobile terminal and storage medium | |
CN107613471A (en) | A kind of WIFI hot spot information-pushing method, method of reseptance and device | |
CN107819950A (en) | Anti-theft method for mobile terminal, device, equipment and computer-readable recording medium | |
CN109391933A (en) | Operation irregularity terminal processes, operation irregularity terminal identification method and device | |
CN107948199A (en) | A kind of method and device being used for quickly detecting to terminal shared access | |
CN107769978A (en) | Management method, system, router and the server that a kind of terminal device networks | |
EP2417792B1 (en) | A method for identifying a mobile telephone | |
CN109495891A (en) | Pseudo-base station recognition methods, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |