CN109041064B - Pseudo base station identification method and device and mobile terminal - Google Patents

Pseudo base station identification method and device and mobile terminal Download PDF

Info

Publication number
CN109041064B
CN109041064B CN201810989196.XA CN201810989196A CN109041064B CN 109041064 B CN109041064 B CN 109041064B CN 201810989196 A CN201810989196 A CN 201810989196A CN 109041064 B CN109041064 B CN 109041064B
Authority
CN
China
Prior art keywords
base station
accessed
information
pseudo
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
CN201810989196.XA
Other languages
Chinese (zh)
Other versions
CN109041064A (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.)
Thunder Software Technology Shenzhen Co ltd
Original Assignee
Thunder Software 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 Thunder Software Technology Shenzhen Co ltd filed Critical Thunder Software Technology Shenzhen Co ltd
Priority to CN201810989196.XA priority Critical patent/CN109041064B/en
Publication of CN109041064A publication Critical patent/CN109041064A/en
Application granted granted Critical
Publication of CN109041064B publication Critical patent/CN109041064B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0072Transmission or use of information for re-establishing the radio link of resource information of target access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Landscapes

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

Abstract

The invention belongs to the technical field of communication, and provides a pseudo base station identification method, a pseudo base station identification device and a mobile terminal, wherein the identification method comprises the following steps: acquiring identification information of a base station to be accessed; determining the judgment list information of the pseudo base station according to the identified first base station information and the second base station information which is acquired from the block chain and identified by other mobile terminals; and judging whether the base station to be accessed is a pseudo base station according to the judgment list information and the identification information of the base station to be accessed, and determining whether the base station to be accessed is connected with the base station to be accessed based on the judgment result. The judging list information of the pseudo base station is determined according to the first base station information and the second base station information of other mobile terminals obtained from the block chain, and whether the base station to be accessed is the pseudo base station is judged according to the judging list information and the identification information of the base station to be accessed, so that the pseudo base station information identified by a plurality of mobile terminals can be combined to identify the current base station to be accessed, the authenticity of the base station to be accessed can be more comprehensively judged, and the accuracy of identifying the pseudo base station is improved.

Description

Pseudo base station identification method and device and mobile terminal
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a pseudo base station identification method, a pseudo base station identification device and a mobile terminal.
Background
With the development of mobile terminals, mobile terminals such as mobile phones can communicate through the connected base stations, but some lawless persons can send information to the mobile terminals through the pseudo base stations for fraud or advertising promotion. The pseudo base station generally comprises a host and a notebook computer or a mobile phone, can search mobile phone card information within a certain radius range by using a short message group sender, a short message sender and other related equipment, is pseudo-installed as a base station of an operator, and forcibly sends short messages such as fraud, advertising promotion and the like to a mobile phone of a user by falsely using mobile phone numbers of other people.
At present, some manufacturers add a pseudo base station identification function to a mobile terminal, and avoid the harm from a pseudo base station by prohibiting the mobile terminal from accessing the pseudo base station when the mobile terminal accesses a network, however, the identification of the base station is only based on the judgment of the current mobile terminal, and the accuracy of identifying the pseudo base station is not high.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for identifying a pseudo base station, and a mobile terminal, which identify a current base station to be accessed by combining identification information of a plurality of mobile terminals to the base station, so that more comprehensive judgment and analysis can be performed, and accuracy in identifying the pseudo base station can be improved.
A first aspect of an embodiment of the present invention provides a method for identifying a pseudo base station, where the method includes:
acquiring identification information of a base station to be accessed during network reselection;
determining the judgment list information of the pseudo base station according to the identified first pseudo base station information and the second pseudo base station information which is acquired from the block chain and identified by other mobile terminals; wherein the decision list information includes decision times and decision probabilities of the pseudo base stations;
and judging whether the base station to be accessed is a pseudo base station according to the judgment list information and the identification information of the base station to be accessed, and determining whether the base station to be accessed is connected with the base station to be accessed based on the judgment result.
In one embodiment, determining the decision list information of the pseudo base station according to the identified first pseudo base station information and second pseudo base station information acquired from the block chain and identified by other mobile terminals comprises:
acquiring identification information of a first base station identified by a current mobile terminal and an identification result corresponding to the first base station, determining first pseudo base station information according to the identification information of the first base station, the identification result corresponding to the first base station and the identification information of the current mobile terminal, storing the first pseudo base station information, and broadcasting the first pseudo base station information to each mobile terminal registered in a block chain;
acquiring second base station identification information which is identified by other mobile terminals and identification results corresponding to the second base station from a block chain, determining second pseudo base station information according to the second base station identification information, the identification results corresponding to the second base station and the identification information corresponding to other mobile terminals, and storing the second pseudo base station information;
generating a new block according to the first pseudo base station information and the second pseudo base station information, and respectively calculating the judgment times and the judgment probability of each pseudo base station in the new block;
and determining the judgment list information of the pseudo base stations according to the judgment times and the judgment probability of each pseudo base station.
In an embodiment, the determining, according to the determination list information and the identification information of the base station to be accessed, whether the base station to be accessed is a pseudo base station includes:
and if the base station to be accessed is judged to be a pseudo base station according to the judgment list information and judged to be a pseudo base station according to the identification information of the base station to be accessed, determining that the base station to be accessed is a pseudo base station.
In one embodiment, the determining, according to the decision list information and the identification information of the base station to be accessed, whether the base station to be accessed is a pseudo base station further includes:
if the base station to be accessed is judged to be a pseudo base station according to the judgment list information and the base station to be accessed is judged not to be the pseudo base station according to the identification information of the base station to be accessed, judging whether the base station to be accessed is the pseudo base station or not according to the identification information of the base station to be accessed for N times; wherein N is not less than 1 and is an integer;
and if the base station to be accessed is judged not to be a pseudo base station for N times according to the identification information of the base station to be accessed, determining that the base station to be accessed is not a pseudo base station, modifying the judgment times and the judgment probability in the judgment list information according to the judgment information of the N +1 times, storing and broadcasting to each mobile terminal in the block chain.
In one embodiment, the determining that the base station to be accessed is a pseudo base station according to the decision list information includes:
acquiring the judgment times and the judgment probability of the base station to be accessed according to the judgment list information;
if the judgment times of the base station to be accessed is greater than a preset first threshold, judging that the base station to be accessed is a pseudo base station when the judgment probability is greater than or equal to a preset second threshold;
if the judgment frequency of the base station to be accessed is less than or equal to a preset first threshold, judging that the base station to be accessed is a pseudo base station when the judgment frequency of the pseudo base station is less than a preset third threshold.
In one embodiment, before determining that the base station to be accessed is a pseudo base station according to the identification information of the base station to be accessed, the method further includes:
and judging whether the base station to be accessed is a pseudo base station or not according to the identification information of the base station to be accessed and the identification information of a preset pseudo base station.
A second aspect of the embodiments of the present invention provides an apparatus for identifying a pseudo base station, where the apparatus includes:
the acquisition module is used for acquiring the identification information of the base station to be accessed when network reselection is carried out;
the determining module is used for determining the judgment list information of the pseudo base station according to the identified first pseudo base station information and the second pseudo base station information which is acquired from the block chain and is identified by other mobile terminals; wherein the decision list information includes decision times and decision probabilities of the pseudo base stations;
and the judging module is used for judging whether the base station to be accessed is a pseudo base station according to the judging list information and the identification information of the base station to be accessed, and determining whether the base station to be accessed is connected with the base station to be accessed based on the judging result.
In one embodiment, the determining module comprises:
a first obtaining unit, configured to obtain identification information of a first base station that is identified by a current mobile terminal and an identification result corresponding to the first base station, determine information of the first pseudo base station according to the identification information of the first pseudo base station, the identification result corresponding to the first base station, and the identification information of the current mobile terminal, and broadcast the information to each mobile terminal registered in a block chain after storing the information;
a second obtaining unit, configured to obtain, from the blockchain, second base station identification information that is already identified by another mobile terminal and an identification result corresponding to the second base station, determine, according to the second base station identification information, the identification result corresponding to the second base station, and identification information corresponding to another mobile terminal, second pseudo base station information, and store the second pseudo base station information;
a generating unit, configured to generate a new block according to the first pseudo base station information and the second pseudo base station information, and calculate the determination times and the determination probability of each pseudo base station in the new block respectively;
and the determining unit is used for determining the judgment list information of the pseudo base stations according to the judgment times and the judgment probability of each pseudo base station.
A third aspect of the embodiments of 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, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the steps of the above-described method.
In the embodiment of the invention, when network reselection is carried out, identification information of a base station to be accessed is obtained; determining the judgment list information of the pseudo base station according to the identified first pseudo base station information and second pseudo base station information which is acquired from the block chain and identified by other mobile terminals; wherein the decision list information includes decision times and decision probabilities of the pseudo base stations; and judging whether the base station to be accessed is a pseudo base station according to the judgment list information and the identification information of the base station to be accessed, and determining whether the base station to be accessed is connected with the base station to be accessed based on the judgment result. The method comprises the steps of determining judgment list information of a pseudo base station according to the identified first pseudo base station information and second pseudo base station information identified by other mobile terminals acquired from a block chain, judging whether the base station to be accessed is a pseudo base station according to the judgment list information and the identification information of the base station to be accessed, identifying the current base station to be accessed by combining the pseudo base station information identified by a plurality of mobile terminals, and judging the authenticity of the base station to be accessed more comprehensively, so that the accuracy of identifying the pseudo base station is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating a pseudo base station identification method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a pseudo base station identification method in step S102 according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a pseudo base station identification method in step S103 according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an identification apparatus of a pseudo base station according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It should be understood that the sequence numbers of the steps in the method embodiments described below do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation on the implementation process of each embodiment.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
The pseudo base station identification method provided by the embodiment of the invention is applied to mobile terminals, such as smart phones, telephone watches, tablet computers and other mobile terminals. As shown in fig. 1, the identification method includes:
step S101, acquiring identification information of a base station to be accessed when network reselection is performed;
in the embodiment of the present invention, when the position of the cell where the mobile terminal is located changes or the signal of the base station corresponding to the currently accessed cell is not enough to support the normal network service, the base station needs to be reselected (for example, the base station corresponding to the neighboring cell is selected) to perform the communication connection. When the mobile terminal reselects a network, acquiring identification information of a base station to be accessed, wherein the identification information includes but is not limited to one or more items of information such as frequency points, operator identifications, cell identifications, location area codes and the like of the base station to be accessed.
Step S102, determining the judgment list information of the pseudo base station according to the identified first pseudo base station information and the second pseudo base station information which is acquired from the block chain and is identified by other mobile terminals; wherein the decision list information includes decision times and decision probabilities of the pseudo base stations;
in the embodiment of the invention, first pseudo base station information which is identified by a current mobile terminal before is obtained; and acquiring the second pseudo base station information which is identified by other mobile terminals from the block chain. Information such as the number of times of decision of a base station that was once determined as a pseudo base station and the probability of being determined as a pseudo base station is determined from the first pseudo base station information and the second pseudo base station information, and decision list information is determined from the number of times of decision of a pseudo base station and the decision probability.
In an embodiment, as shown in fig. 2, the step S102 specifically includes:
step S1021, acquiring the first base station identification information identified by the current mobile terminal and the identification result corresponding to the first base station, determining the first pseudo base station information according to the identification information of the first base station, the identification result corresponding to the first base station and the identification information of the current mobile terminal, and broadcasting to each mobile terminal registered in a block chain after storing;
in the embodiment of the invention, the identification information of the base station which is identified by the current mobile terminal and the identification result of correspondingly identifying each base station are obtained. And determining the base station identified as the pseudo base station according to the identification information of the identified base station and the identification result of each corresponding identified base station, using the base station information determined as the pseudo base station and the identification information of the current mobile terminal as first pseudo base station information, storing the first pseudo base station information, and broadcasting the first pseudo base station information to each mobile terminal registered in the block chain.
Step S1022, acquiring second base station identification information identified by other mobile terminals and identification results corresponding to the second base station from the block chain, determining the second pseudo base station information according to the second base station identification information, the identification results corresponding to the second base station and the identification information corresponding to other mobile terminals, and storing the second pseudo base station information;
in the embodiment of the invention, the identification information of the base station which is already identified by other mobile terminals, the identification result corresponding to each base station and the identification information of other mobile terminals which identify the corresponding base station are obtained from the block chain network. And determining base station information which is identified as a pseudo base station by other mobile terminals according to the identification information of the base station which is identified by other mobile terminals and the identification result corresponding to each base station, taking the base station information which is identified as the pseudo base station by other mobile terminals and the identification information of other mobile terminals which are correspondingly identified as second pseudo base station information, and storing the second pseudo base station information.
Step S1023, generating a new block according to the first pseudo base station information and the second pseudo base station information, and respectively calculating the judgment times and the judgment probability of each pseudo base station in the new block;
in the embodiment of the present invention, a new block generated by performing a packing process according to the first pseudo base station information and the second pseudo base station information is connected to the block chain. Specifically, the new block may be generated after sorting according to the determination times and the determination probabilities of the corresponding pseudo base stations in the first pseudo base station information and the second pseudo base station information (for example, ascending or descending the determination times, and ascending or descending the determination probabilities).
Step S1024, determining the judgment list information of the pseudo base stations according to the judgment times and the judgment probability of each pseudo base station.
In the embodiment of the present invention, the decision list information of the pseudo base stations may be determined according to information such as the number of decisions and the decision probability of each pseudo base station, and specifically, the decision list information of the pseudo base stations may be generated according to a predefined template according to the number of decisions and the decision probability of the pseudo base stations.
Step S103, judging whether the base station to be accessed is a pseudo base station according to the judgment list information and the identification information of the base station to be accessed, and determining whether to be connected with the base station to be accessed based on the judgment result.
In the embodiment of the invention, whether the base station to be accessed is a pseudo base station is judged according to the judgment list information and the identification information of the base station to be accessed: whether the base station to be accessed is a pseudo base station can be judged according to the historical judgment information of other mobile terminals, the historical judgment information of the current mobile terminal and the identification information of the base station to be accessed, which are acquired from the block chain network.
In one embodiment, determining whether the base station to be accessed is a pseudo base station according to the determination list information and the identification information of the base station to be accessed includes: and if the base station to be accessed is judged to be a pseudo base station according to the judgment list information and judged to be a pseudo base station according to the identification information of the base station to be accessed, determining that the base station to be accessed is a pseudo base station. That is, if the historical determination information of other mobile terminals obtained from the blockchain network ever determines that the base station to be accessed is a pseudo base station, or the current mobile terminal ever determines that the current base station is a pseudo base station. And judging that the base station to be accessed is a pseudo base station according to the identification information of the base station to be accessed, and determining that the base station to be accessed is the pseudo base station.
In one embodiment, determining whether the base station to be accessed is a pseudo base station according to the decision list information and the identification information of the base station to be accessed further includes: if the base station to be accessed is judged to be a pseudo base station according to the judgment list information and the base station to be accessed is judged not to be the pseudo base station according to the identification information of the base station to be accessed, judging whether the base station to be accessed is the pseudo base station or not according to the identification information of the base station to be accessed for N times; wherein N is not less than 1 and is an integer; and if the base station to be accessed is judged not to be a pseudo base station for N times according to the identification information of the base station to be accessed, determining that the base station to be accessed is not a pseudo base station, modifying the judgment times and the judgment probability in the judgment list information according to the judgment information of the N +1 times, storing and broadcasting to each mobile terminal in the block chain. If the base station to be accessed is judged to be the pseudo base station according to the information of the pseudo base station in the judgment information list, but the current mobile terminal judges that the base station to be accessed is not the pseudo base station according to the identification information of the base station to be accessed, the current mobile terminal judges for N times again, if one of the N times is judged to be the pseudo base station, the base station to be accessed is considered to be the pseudo base station, and if the N times is judged to be not the pseudo base station, the base station to be accessed is considered to be not the pseudo base station. And modifying the judgment times and the judgment probability of the base station to be accessed in the judgment list information according to the judgment times and the judgment results of the base station to be accessed of the current mobile terminal, the identification information of the current mobile terminal and the identification information of the base station to be accessed, associating the judgment times and the judgment results of the base station to be accessed of the current mobile terminal, the identification information of the current mobile terminal and the identification information of the base station to be accessed, storing and broadcasting to each mobile terminal in the block chain.
In one embodiment, before determining that the base station to be accessed is a pseudo base station according to the identification information of the base station to be accessed, the method further includes: and judging whether the base station to be accessed is a pseudo base station or not according to the identification information of the base station to be accessed and the identification information of a preset pseudo base station. The identification information of the pseudo base station can be pre-stored, such as one or more items of information of the pseudo base station, such as frequency points, operator identifications, cell identifications, location area codes, and the like, and whether the base station to be accessed is the pseudo base station is judged according to the identification information of the base station to be accessed and the pre-stored identification information of the pseudo base station. Of course, the information of the pseudo base station in the decision list information may also be combined to determine whether the base station to be accessed is a pseudo base station.
Therefore, in the embodiment of the invention, the judgment list information of the pseudo base station is determined according to the identified first pseudo base station information and the second pseudo base station information which is acquired from the block chain and is identified by other mobile terminals, and then whether the base station to be accessed is the pseudo base station is judged according to the judgment list information and the identification information of the base station to be accessed, so that the current base station to be accessed can be identified by combining the pseudo base station information identified by a plurality of mobile terminals, the authenticity of the base station to be accessed can be judged more comprehensively, and the accuracy of identifying the pseudo base station is improved.
Example two
The present embodiment is implemented based on the first embodiment, and is further described in the method steps of the first embodiment, and reference may be specifically made to the related description of the first embodiment where the present embodiment is the same as or similar to the first embodiment, and details are not described here again. As shown in fig. 3, the step S103 of determining that the to-be-accessed base station is a pseudo base station according to the determination list information includes:
step S301, obtaining the judgment times and the judgment probability of the base station to be accessed according to the judgment list information;
in the embodiment of the invention, the judgment information list comprises the judgment times and the judgment probability corresponding to the base station which is judged to be the pseudo base station once, whether the base station to be accessed is judged to be the pseudo base station once is determined according to the identification information of the base station to be accessed, and if the base station to be accessed is judged to be the pseudo base station once, the judgment times and the judgment probability of the base station to be accessed which is judged to be the pseudo base station are obtained.
Step S302, if the judgment times of the base station to be accessed is greater than a preset first threshold, when the judgment probability is greater than or equal to a preset second threshold, judging that the base station to be accessed is a pseudo base station;
in the embodiment of the invention, the judgment times of the base station to be accessed are obtained, and when the judgment times is larger than a preset first threshold value, the probability that the base station to be accessed is judged as the pseudo base station is obtained. When the judgment probability is greater than or equal to a preset second threshold value, judging that the base station to be accessed is a pseudo base station; that is, when the number of times of determination of the base station to be accessed according to the identification information of the base station to be accessed is greater than a certain value, whether the base station to be accessed is a pseudo base station is determined according to the probability of determining the base station to be accessed as a pseudo base station.
Step S303, if the number of times of determination of the to-be-accessed base station is less than or equal to a preset first threshold, when the number of times of determination of the to-be-accessed base station is less than a preset third threshold, determining that the to-be-accessed base station is a pseudo base station.
In the embodiment of the invention, the judgment times of the base station to be accessed as the pseudo base station is obtained, and when the judgment times is less than or equal to the preset first threshold value, the judgment times of the base station to be accessed as the pseudo base station is obtained. And if the number of times of the pseudo base station is smaller than a preset third threshold value, judging that the base station to be accessed is the pseudo base station. The third threshold may be set to 1 time or another value, that is, when the number of times of determination of the base station to be accessed according to the identification information of the base station to be accessed is less than or equal to a certain value, whether the base station to be accessed is a pseudo base station is determined according to the number of times of determination of the base station to be accessed as a pseudo base station.
Therefore, in the embodiment of the present invention, on one hand, since the determination list information of the pseudo base station is determined according to the identified first base station information and the second base station information identified by other mobile terminals obtained from the block chain, and then whether the base station to be accessed is the pseudo base station is determined according to the determination list information and the identification information of the base station to be accessed, the current base station to be accessed can be identified by combining the pseudo base station information identified by a plurality of mobile terminals, and the authenticity of the base station to be accessed can be more comprehensively determined, thereby improving the accuracy of identifying the pseudo base station. On the other hand, when the base station to be accessed is judged to be the pseudo base station according to the judgment list information, whether the base station to be accessed is judged to be the pseudo base station according to the judgment times of the base station to be accessed or the probability of judging the base station to be the pseudo base station can be determined according to the judgment times of the pseudo base station, when the judgment times are less, the base station to be accessed can be determined according to the judgment times of the pseudo base station, when the judgment times are more, the base station to be accessed can be determined according to the probability of judging the pseudo base station, different judgment methods can be adopted according to the judgment times of the base station to be accessed, and the accuracy of identifying the base station to be accessed can be further improved.
EXAMPLE III
The embodiment of the present invention provides an identification apparatus for a pseudo base station, which is used to execute the method steps in the first embodiment and the second embodiment, and for convenience of description, only the relevant parts of the present invention are shown, as shown in fig. 4, where the identification apparatus 400 includes:
an obtaining module 401, configured to obtain identification information of a base station to be accessed when performing network reselection;
a determining module 402, configured to determine decision list information of the pseudo base station according to the identified first pseudo base station information and second pseudo base station information obtained from the block chain and identified by another mobile terminal; wherein the decision list information includes decision times and decision probabilities of the pseudo base stations;
in one embodiment, the determining module comprises:
a first obtaining unit, configured to obtain identification information of a first base station that is identified by a current mobile terminal and an identification result corresponding to the first base station, determine, according to the identification information of the first base station, the identification result corresponding to the first base station, and the identification information of the current mobile terminal, first pseudo base station information, and store the first pseudo base station information and then broadcast the first pseudo base station information to each mobile terminal registered in a block chain;
a second obtaining unit, configured to obtain, from the blockchain, second base station identification information that is already identified by another mobile terminal and an identification result corresponding to the second base station, determine, according to the second base station identification information, the identification result corresponding to the second base station, and identification information corresponding to another mobile terminal, second pseudo base station information, and store the second pseudo base station information;
a generating unit, configured to generate a new block according to the first pseudo base station information and the second pseudo base station information, and calculate the determination times and the determination probability of each pseudo base station in the new block respectively;
and the determining unit is used for determining the judgment list information of the pseudo base stations according to the judgment times and the judgment probability of each pseudo base station.
A determining module 403, configured to determine whether the base station to be accessed is a pseudo base station according to the determination list information and the identification information of the base station to be accessed, and determine whether to connect to the base station to be accessed based on a determination result.
In an embodiment, the determining module is specifically configured to determine that the base station to be accessed is a pseudo base station if the base station to be accessed is determined to be a pseudo base station according to the determination list information and the base station to be accessed is determined to be a pseudo base station according to the identification information of the base station to be accessed.
In an embodiment, the determining module is further configured to determine whether the base station to be accessed is a pseudo base station according to the identification information of the base station to be accessed, if it is determined that the base station to be accessed is a pseudo base station according to the determination list information, and it is determined that the base station to be accessed is not a pseudo base station according to the identification information of the base station to be accessed, then determine whether the base station to be accessed is a pseudo base station according to the identification information of the base station to be accessed again N times; wherein N is not less than 1 and is an integer; and if the base station to be accessed is judged not to be a pseudo base station for N times according to the identification information of the base station to be accessed, determining that the base station to be accessed is not a pseudo base station, modifying the judgment times and the judgment probability in the judgment list information according to the judgment information of the N +1 times, storing and broadcasting to each mobile terminal in the block chain.
In one embodiment, before determining that the base station to be accessed is a pseudo base station according to the identification information of the base station to be accessed, the method further includes: and judging whether the base station to be accessed is a pseudo base station or not according to the identification information of the base station to be accessed and the identification information of a preset pseudo base station.
In one embodiment, the determining module 403 further comprises:
a third obtaining unit, configured to obtain the determination times and the determination probability of the base station to be accessed according to the determination list information;
a first determining unit, configured to determine that the base station to be accessed is a pseudo base station when the determination probability is greater than or equal to a preset second threshold if the determination frequency of the base station to be accessed is greater than a preset first threshold;
and the second judging unit is used for judging that the base station to be accessed is a pseudo base station when the number of times of judging the pseudo base station is smaller than a preset third threshold value if the judging number of times of judging the base station to be accessed is smaller than or equal to the preset first threshold value.
Therefore, in the embodiment of the present invention, on one hand, since the determination list information of the pseudo base station is determined according to the identified first pseudo base station information and the second pseudo base station information identified by other mobile terminals is obtained from the block chain, and then whether the base station to be accessed is the pseudo base station is determined according to the determination list information and the identification information of the base station to be accessed, the current base station to be accessed can be identified by combining the pseudo base station information identified by a plurality of mobile terminals, so that the authenticity of the base station to be accessed can be more comprehensively determined, and the accuracy of identifying the pseudo base station is improved. On the other hand, when the base station to be accessed is judged to be the pseudo base station according to the judgment list information, whether the base station to be accessed is judged to be the pseudo base station according to the judgment times of the base station to be accessed or the probability of judging the base station to be the pseudo base station can be determined according to the judgment times of the pseudo base station, when the judgment times are less, the base station to be accessed can be determined according to the judgment times of the pseudo base station, when the judgment times are more, the base station to be accessed can be determined according to the probability of judging the pseudo base station, different judgment methods can be adopted according to the judgment times of the base station to be accessed, and the accuracy of identifying the base station to be accessed can be further improved.
Example four
Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. The mobile terminal 500 includes: a processor 501, a memory 502 and a computer program 503 stored in the memory 502 and executable on the processor 501. The processor 501 executes the computer program 503 to implement the steps in the above-mentioned pseudo base station identification method embodiment, for example, the method steps in the first embodiment, or the method steps in the second embodiment.
Illustratively, the computer program 503 may be divided into one or more units/modules, which are stored in the memory 502 and executed by the processor 501 to implement the present invention. The one or more units/modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 503 in the mobile terminal 500. For example, the computer program 503 may be divided into an obtaining module, a determining module, and specific functions of the modules are described in the third embodiment, which are not described herein again.
The mobile terminal 500 may be a smart phone, a telephone watch, a tablet computer, or other communication devices. The mobile terminal 500 may include, but is not limited to, a processor 501 and a memory 502. Those skilled in the art will appreciate that fig. 5 is only an example of a mobile terminal 500 and is not intended to limit the mobile terminal 500 and that the mobile terminal 500 may include more or less components than those shown, or some components may be combined, or different components, for example, the mobile terminal 500 may include input and output devices, network access devices, buses, etc.
The Processor 501 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 502 may be an internal storage unit of the mobile terminal 500, such as a hard disk or a memory of the mobile terminal 500. The memory 502 may also be an external storage device of the mobile terminal 500, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the mobile terminal 500. Further, the memory 502 may include both an internal memory unit and an external memory device of the mobile terminal 500. The memory 502 is used for storing the computer programs and other programs and data required by the mobile terminal 500. The memory 502 described above may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the intelligent terminal may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the above-described modules or units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and can implement the steps of the embodiments of the method when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media excludes electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (8)

1. A pseudo base station identification method is characterized in that the identification method comprises the following steps:
acquiring identification information of a base station to be accessed during network reselection;
determining the judgment list information of the pseudo base station according to the identified first pseudo base station information and the second pseudo base station information which is acquired from the block chain and identified by other mobile terminals; wherein the decision list information includes decision times and decision probabilities of the pseudo base stations;
judging whether the base station to be accessed is a pseudo base station according to the judgment list information and the identification information of the base station to be accessed, and determining whether the base station to be accessed is connected with the base station to be accessed based on the judgment result;
the determining the decision list information of the pseudo base station according to the identified first pseudo base station information and the second pseudo base station information acquired from the block chain and identified by other mobile terminals includes:
acquiring identification information of a first base station identified by a current mobile terminal and an identification result corresponding to the first base station, determining first pseudo base station information according to the identification information of the first base station, the identification result corresponding to the first base station and the identification information of the current mobile terminal, storing the first pseudo base station information, and broadcasting the first pseudo base station information to each mobile terminal registered in a block chain;
acquiring second base station identification information which is identified by other mobile terminals and identification results corresponding to the second base station from a block chain, determining second pseudo base station information according to the second base station identification information, the identification results corresponding to the second base station and the identification information corresponding to other mobile terminals, and storing the second pseudo base station information;
generating a new block according to the first pseudo base station information and the second pseudo base station information, and respectively calculating the judgment times and the judgment probability of each pseudo base station in the new block;
and determining the judgment list information of the pseudo base stations according to the judgment times and the judgment probability of each pseudo base station.
2. The method for identifying a pseudo base station according to claim 1, wherein the determining whether the base station to be accessed is a pseudo base station according to the decision list information and the identification information of the base station to be accessed includes:
and if the base station to be accessed is judged to be a pseudo base station according to the judgment list information and judged to be a pseudo base station according to the identification information of the base station to be accessed, determining that the base station to be accessed is a pseudo base station.
3. The method for identifying a pseudo base station according to claim 2, wherein the determining whether the base station to be accessed is a pseudo base station according to the decision list information and the identification information of the base station to be accessed further comprises:
if the base station to be accessed is judged to be a pseudo base station according to the judgment list information and the base station to be accessed is judged not to be the pseudo base station according to the identification information of the base station to be accessed, judging whether the base station to be accessed is the pseudo base station or not according to the identification information of the base station to be accessed for N times; wherein N is not less than 1 and is an integer;
and if the base station to be accessed is judged not to be a pseudo base station for N times according to the identification information of the base station to be accessed, determining that the base station to be accessed is not a pseudo base station, modifying the judgment times and the judgment probability in the judgment list information according to the judgment information of the N +1 times, storing and broadcasting to each mobile terminal in the block chain.
4. The method for identifying a pseudo base station according to claim 2, wherein determining that the base station to be accessed is a pseudo base station according to the decision list information comprises:
acquiring the judgment times and the judgment probability of the base station to be accessed according to the judgment list information;
if the judgment times of the base station to be accessed is greater than a preset first threshold, judging that the base station to be accessed is a pseudo base station when the judgment probability is greater than or equal to a preset second threshold;
if the judgment times of the base station to be accessed is less than or equal to a preset first threshold, judging that the base station to be accessed is a pseudo base station when the judgment times of the base station to be accessed is less than a preset third threshold.
5. The method for identifying a pseudo base station according to claim 2, wherein before determining that the base station to be accessed is the pseudo base station according to the identification information of the base station to be accessed, the method further comprises:
and judging whether the base station to be accessed is a pseudo base station or not according to the identification information of the base station to be accessed and the identification information of a preset pseudo base station.
6. An identification device of a pseudo base station, characterized in that the identification device comprises:
the acquisition module is used for acquiring the identification information of the base station to be accessed when network reselection is carried out;
the determining module is used for determining the judgment list information of the pseudo base station according to the identified first pseudo base station information and the second pseudo base station information which is acquired from the block chain and is identified by other mobile terminals; wherein the decision list information includes decision times and decision probabilities of the pseudo base stations;
the judging module is used for judging whether the base station to be accessed is a pseudo base station according to the judging list information and the identification information of the base station to be accessed, and determining whether the base station to be accessed is connected with the base station to be accessed based on the judging result;
wherein the determining module comprises:
a first obtaining unit, configured to obtain identification information of a first base station that is identified by a current mobile terminal and an identification result corresponding to the first base station, determine, according to the identification information of the first base station, the identification result corresponding to the first base station, and the identification information of the current mobile terminal, first pseudo base station information, and store the first pseudo base station information and then broadcast the first pseudo base station information to each mobile terminal registered in a block chain;
a second obtaining unit, configured to obtain, from the blockchain, second base station identification information that is already identified by another mobile terminal and an identification result corresponding to the second base station, and determine, according to the second base station identification information, the identification result corresponding to the second base station, and identification information corresponding to another mobile terminal, second pseudo base station information and store the second pseudo base station information;
a generating unit, configured to generate a new block according to the first pseudo base station information and the second pseudo base station information, and calculate the determination times and the determination probability of each pseudo base station in the new block respectively;
and the determining unit is used for determining the judgment list information of the pseudo base stations according to the judgment times and the judgment probability of each pseudo base station.
7. A mobile terminal comprising a memory and a processor, wherein said memory has stored thereon a computer program operable on said processor, characterized in that said processor, when executing said computer program, is adapted to carry out the steps of the method according to any of claims 1 to 5.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201810989196.XA 2018-08-28 2018-08-28 Pseudo base station identification method and device and mobile terminal Active CN109041064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810989196.XA CN109041064B (en) 2018-08-28 2018-08-28 Pseudo base station identification method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810989196.XA CN109041064B (en) 2018-08-28 2018-08-28 Pseudo base station identification method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN109041064A CN109041064A (en) 2018-12-18
CN109041064B true CN109041064B (en) 2021-12-17

Family

ID=64624974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810989196.XA Active CN109041064B (en) 2018-08-28 2018-08-28 Pseudo base station identification method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN109041064B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405607B (en) * 2019-01-02 2023-05-09 中国移动通信有限公司研究院 Network switching method, device and block chain system
CN109462849A (en) * 2019-01-08 2019-03-12 中国联合网络通信集团有限公司 Method, equipment and the storage medium of terminal connection base station
CN111885610B (en) * 2020-07-08 2023-06-06 深圳传音控股股份有限公司 Pseudo base station identification processing method, mobile terminal and storage medium
CN113099456B (en) * 2021-05-13 2022-05-03 中国联合网络通信集团有限公司 Pseudo base station identification method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060827A (en) * 2016-07-29 2016-10-26 努比亚技术有限公司 Pseudo base station identification method, server and terminal
CN106060828A (en) * 2016-07-29 2016-10-26 努比亚技术有限公司 Device and method for forbidding access of pseudo base station
CN106211162A (en) * 2016-07-27 2016-12-07 努比亚技术有限公司 A kind of information processing method and device, terminal
CN106304083A (en) * 2016-08-05 2017-01-04 努比亚技术有限公司 A kind of method and apparatus determining pseudo-base station
CN106658508A (en) * 2016-09-27 2017-05-10 华为技术有限公司 Pseudo base station identification and pseudo base station information sharing method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172586B (en) * 2017-05-19 2020-05-12 北京航空航天大学 Mobile terminal network positioning method based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211162A (en) * 2016-07-27 2016-12-07 努比亚技术有限公司 A kind of information processing method and device, terminal
CN106060827A (en) * 2016-07-29 2016-10-26 努比亚技术有限公司 Pseudo base station identification method, server and terminal
CN106060828A (en) * 2016-07-29 2016-10-26 努比亚技术有限公司 Device and method for forbidding access of pseudo base station
CN106304083A (en) * 2016-08-05 2017-01-04 努比亚技术有限公司 A kind of method and apparatus determining pseudo-base station
CN106658508A (en) * 2016-09-27 2017-05-10 华为技术有限公司 Pseudo base station identification and pseudo base station information sharing method, device and system

Also Published As

Publication number Publication date
CN109041064A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN109041064B (en) Pseudo base station identification method and device and mobile terminal
CN106294105B (en) Brushing amount tool detection method and device
CN107547759B (en) Quality inspection method and device for customer service staff call
CN110602671A (en) Bluetooth search result display method and device, terminal equipment and storage medium
CN112015603A (en) User terminal hardware detection method, device, computer device and storage medium
CN112866192B (en) Method and device for identifying abnormal aggregation behaviors
CN110611876A (en) Indoor asset management method, device and system
EP3565370A1 (en) Wireless fidelity (wi-fi) connection method and related product
CN110297764B (en) Vulnerability test model training method and device
CN106453062A (en) Application notification management method and terminal
CN109862083B (en) Method, device and equipment for activating Internet of things equipment
CN108008973B (en) Method, device and server for associating application program
CN112711963A (en) User terminal fault detection method, device, computer device and storage medium
CN109168138A (en) The recognition methods for the number of changing, device and equipment in net
CN112995909B (en) SIM card distribution method, device, server and computer readable storage medium
US20100113012A1 (en) System and method for identifying status of a mobile phone
CN109951838B (en) Method, device, equipment and medium for identifying double-card-slot and double-card user
CN107969027B (en) Wireless network management method, wireless network management device and intelligent terminal
CN113194521B (en) Network searching method and device for 5G communication module, computer equipment and storage medium
US11395129B2 (en) Virtual sim card acquisition method, subscriber terminal and server
CN112383660B (en) Throughput rate testing method and device of intelligent terminal, storage medium and terminal
CN114461418A (en) Inter-process communication method and device and electronic equipment
CN114244467A (en) Cell search method and device
CN109561406B (en) SIM card selection method, device, system, electronic equipment and medium
CN107436788B (en) Application program unloading method and device and terminal equipment

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