CN106028337B - Communication method and mobile terminal - Google Patents

Communication method and mobile terminal Download PDF

Info

Publication number
CN106028337B
CN106028337B CN201610497714.7A CN201610497714A CN106028337B CN 106028337 B CN106028337 B CN 106028337B CN 201610497714 A CN201610497714 A CN 201610497714A CN 106028337 B CN106028337 B CN 106028337B
Authority
CN
China
Prior art keywords
base station
target base
access request
random access
mobile terminal
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
CN201610497714.7A
Other languages
Chinese (zh)
Other versions
CN106028337A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610497714.7A priority Critical patent/CN106028337B/en
Publication of CN106028337A publication Critical patent/CN106028337A/en
Application granted granted Critical
Publication of CN106028337B publication Critical patent/CN106028337B/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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access

Landscapes

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

Abstract

The embodiment of the invention discloses a communication method and a mobile terminal, comprising the following steps: detecting whether a target base station establishing communication connection with a mobile terminal is a pseudo base station or not; if yes, residing and locking the target base station; generating and sending N random access request messages to a target base station in a preset time period, and not responding M immediate assignment messages sent by the target base station in the preset time period, wherein the N random access request messages respectively carry 1 random number, the random numbers are different from each other, the M immediate assignment messages are sent by the target base station after receiving the N random access request messages, N, M is an integer larger than 1, and N is larger than or equal to M. The embodiment of the invention also provides a corresponding mobile terminal. The embodiment of the invention is beneficial to reducing the available channel resources of the pseudo base station, thereby reducing the number of the mobile terminals residing in the pseudo base station in the cell of the pseudo base station and improving the communication safety of the cell.

Description

Communication method and mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a communication method and a mobile terminal.
Background
The pseudo base station is an illegal device which can simulate partial network behaviors, force the terminal to reside, send harassment and cheat short messages, and at present, mobile terminals have many schemes for identifying the pseudo base station and recording related information of the pseudo base station, for example: frequency point, frequency band, Location Area Code (LAC), CELL identification Code CELL _ ID, etc., and can ensure that the mobile terminal does not reside in the pseudo base station, thereby avoiding the mobile terminal from receiving information such as harassment, fraud, etc. The flow of the prior art solution is shown in fig. 1.
In the research process, the inventor of the technical scheme finds that the scheme for screening the pseudo base station by the existing mobile terminal can only ensure that the mobile terminal supporting the pseudo base station identification technology avoids the disturbance of the pseudo base station, and can not reduce or avoid the disturbance of the pseudo base station to other mobile terminals not supporting the pseudo base station identification technology.
Disclosure of Invention
The embodiment of the invention provides a communication method and a mobile terminal, aiming at reducing the number of mobile terminals residing in a cell of a pseudo base station to the pseudo base station, improving the communication security of the cell and further paralyzing the pseudo base station.
A first aspect of an embodiment of the present invention provides a communication method, including:
detecting whether a target base station establishing communication connection with a mobile terminal is a pseudo base station or not;
if yes, residing and locking the target base station;
generating and sending N random access request messages to the target base station in a preset time period, and not responding to M immediate assignment messages sent by the target base station in the preset time period, wherein the N random access request messages respectively carry 1 random number, the random numbers are different from each other, the M immediate assignment messages are sent by the target base station after receiving the N random access request messages, the immediate assignment messages are used for allocating independent dedicated control channels to the mobile terminal, N, M is an integer larger than 1, and N is larger than or equal to M.
With reference to the first aspect, in some possible implementation manners, the generating and sending N random access request messages to the target base station within a preset time period includes:
determining N random numbers which are different from each other;
determining N cycles within the preset time period;
and in each period of the N periods, generating a random access request message carrying 1 random number of the N random numbers, and sending the random access request message to the target base station.
With reference to the first aspect, in some possible implementation manners, the generating and sending N random access request messages to the target base station within the preset time period includes:
determining N cycles within the preset time period;
and generating a random number in each of the N periods, generating a random access request message carrying the random number, and sending the random access request message to the target base station.
With reference to the first aspect, in some possible implementation manners, before the generating and sending N random access request messages to the target base station within a preset time period, the method further includes:
sending an inquiry request for inquiring the number of the independent dedicated control channels included in the target base station to the target base station;
receiving an inquiry response which is generated by the target base station and carries the number of independent dedicated control channels, wherein the number of the independent dedicated control channels is M;
and determining the size of the N according to the number M of the independent dedicated control channels.
With reference to the first aspect, in some possible implementation manners, the detecting whether a target base station that establishes a communication connection with a mobile terminal is a pseudo base station includes:
obtaining base station parameters of the target base station, wherein the base station parameters comprise: the location area code, the transmitting power, the cell selection parameter and the cell reselection parameter of the base station;
judging whether the base station parameters of the target base station are matched with the base station parameters of the pre-stored operator real base station;
and if not, determining the target base station as a pseudo base station.
A second aspect of an embodiment of the present invention provides a mobile terminal, including:
the mobile terminal comprises a detection unit, a processing unit and a processing unit, wherein the detection unit is used for detecting whether a target base station establishing communication connection with the mobile terminal is a pseudo base station or not;
the resident unit is used for residing and locking the target base station if the detection unit detects that the target base station establishing communication connection with the mobile terminal is a pseudo base station;
a communication unit, configured to generate and send N random access request messages to the target base station in a preset time period, and not respond to M immediate assignment messages sent by the target base station in the preset time period, where the N random access request messages each carry 1 random number, the random numbers are different from each other, the M immediate assignment messages are sent by the target base station after receiving the N random access request messages, the immediate assignment messages are used to allocate an independent dedicated control channel to the mobile terminal, N, M is an integer greater than 1, and N is greater than or equal to M.
With reference to the second aspect, in some possible implementations, the communication unit is specifically configured to determine N random numbers that are different from each other; determining N cycles within the preset time period; and in each period of the N periods, generating a random access request message carrying 1 random number of the N random numbers, and sending the random access request message to the target base station.
With reference to the second aspect, in some possible implementations, the communication unit is specifically configured to determine N cycles within the preset time period; and generating a random number in each of the N periods, generating a random access request message carrying the random number, and sending the random access request message to the target base station.
With reference to the second aspect, in some possible implementations, the mobile terminal further includes:
an inquiring unit, configured to send, to the target base station, an inquiry request for inquiring the number of independent dedicated control channels included in the target base station before the communication unit generates and sends N random access request messages to the target base station within a preset time period; receiving an inquiry response which is generated by the target base station and carries the number of independent dedicated control channels, wherein the number of the independent dedicated control channels is M; and determining the size of the N according to the number M of the independent dedicated control channels.
With reference to the second aspect, in some possible implementation manners, the detecting unit is specifically configured to acquire a base station parameter of the target base station, where the base station parameter includes: location area code, transmission power, cell selection and reselection parameters of the base station; judging whether the base station parameters of the target base station are matched with the base station parameters of the pre-stored operator real base station; and if not, determining the target base station as a pseudo base station.
Compared with the scheme that the mobile terminal does not reside in the pseudo base station after recognizing the pseudo base station in the prior art, the embodiment of the invention has the following advantages that: after determining a pseudo base station in wireless communication with a mobile terminal, a mobile terminal resides and locks the pseudo base station in a preset time period, generates and sends N random access request messages to the pseudo base station, and does not respond to M immediate assignment messages sent by the pseudo base station in the preset time period. It can be seen that after receiving the random access request message, the pseudo base station inevitably needs to respond, and allocates different independent dedicated control channels to the mobile terminal according to different random numbers, and since the channel resources of the pseudo base station are limited, the limited channel resources of the pseudo base station are occupied by the same mobile terminal, which is beneficial to reducing the available channel resources of the pseudo base station, thereby reducing the number of mobile terminals residing in the cell of the pseudo base station, and improving the communication security of the cell.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a prior art communication method;
fig. 2 is a flowchart illustrating a communication method according to a first embodiment of the present invention;
fig. 2-1 is a schematic structural diagram of a random access request message in the first embodiment of the present invention;
fig. 3 is a flowchart illustrating a communication method according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a communication method according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 2, fig. 2 is a flowchart illustrating a communication method according to a first embodiment of the present invention, and as shown in fig. 2, the communication method according to the embodiment of the present invention includes the following steps:
s101, the mobile terminal detects whether a target base station establishing communication connection with the mobile terminal is a pseudo base station.
Optionally, in some embodiments of the present invention, a specific implementation manner of the mobile terminal detecting whether the target base station establishing the communication connection with the mobile terminal is the pseudo base station may be:
the mobile terminal obtains the base station parameters of the target base station, wherein the base station parameters include but are not limited to: the method comprises the steps of obtaining a location area code LAC, a transmitting power, a cell selection parameter C1 and a cell reselection parameter C2 of a base station, judging whether a base station parameter of a target base station is matched with a base station parameter of a pre-stored operator real base station, and if the base station parameter of the target base station is not matched with the base station parameter of the pre-stored operator real base station, determining that the target base station is a pseudo base station by a mobile terminal. The operators include, but are not limited to, china unicom, china telecom, and china mobile.
And S102, if so, the mobile terminal resides in and locks the target base station.
The mobile terminal resides and the target base station can ensure that the mobile terminal cannot be switched to other base stations within a preset time period.
S103, in a preset time period, the mobile terminal generates and sends N random access request messages to the target base station, and does not respond to M immediate assignment messages sent by the target base station in the preset time period,
wherein the N random access request messages each carry 1 random number, each of the random numbers is different from the other random numbers, the M immediate assignment messages are sent by the target base station after receiving the N random access request messages, the immediate assignment messages are used to allocate an independent dedicated control channel to the mobile terminal, N, M is an integer greater than 1, and N is greater than or equal to M.
Specifically, the existing pseudo base station mainly aims at users accessing to a Global system for Mobile Communication (GSM), and mainly aims at high popularization rate and a large number of users of the GSM network, and in addition, the protection of the GSM network is not perfect. The pseudo base station is mainly used for cheating and annoying the user by sending the short message. For example, "bank account for industry and commerce: 6222 xxx × 516, house name: yang Min, handling incoming telegram. "3/5/2013, many citizens in Hengyang city, Hunan province received such a short message, and the number of the mobile phone sending the short message is displayed as 15 xxx 868", which is the number of the mobile phone of the Xingyang city, Xiaoping (chemical name). In practice, however, the short message is not a Chinese zodiac.
The GSM terminal needs to establish a dedicated independent dedicated Control Channel (SDCCH) in idle state to receive the short message, that is, a dedicated timeslot and frequency point are needed to provide service. Because the GSM system belongs to a frequency division + time division system, and the frame structure of the GSM determines that each frequency point of the GSM has only at most 8 time slots, unlike the code division system, if a large number of users continuously request the network to allocate the SDCCH channel, the base station may have insufficient channel resources, and cannot provide services for other users. The 3GPP protocol specifies that to acquire dedicated SDCCH channel resources, the terminal must send random access request information, i.e. a channel request message, with maximum power, as shown in fig. 2-1, where fig. 2-1 is a message structure of the channel request message. Here, RANDOM REFERENCE is a RANDOM number generated by a terminal, and the RANDOM numbers generated by different terminals are different.
After receiving the random access request of the terminal, the base station assigns a dedicated SDCCH channel to the terminal through an immediate assignment message, namely an immediateasignment message, and carries a random number generated by the terminal in the immediateasignment message, the terminal determines whether the immediatassignment is assigned to the SDCCH channel by comparing the random number, if not, the terminal will try continuously until the maximum times specified by the network and the time-out of a timer are reached, the random access failure is reported, and the cell reselection is triggered.
Based on the characteristics of few GSM channel resources and different random numbers carried by random access requests of different terminals, the embodiment of the invention utilizes the prior pseudo base station identification technology to find the pseudo base station, reside and lock the pseudo base station on the pseudo base station, then generates different random numbers at preset intervals (the period can be 1s), and transmits the random numbers carried by the channel request to the pseudo base station uninterruptedly with the maximum power. After receiving the random access requests, the pseudo base station must respond and allocate a dedicated SDCCH channel. Because the GSM channel resources are limited, especially for the pseudo base station, the channel resources are more limited, and because the random numbers in the channel request messages carried by the terminals are different, the pseudo base station is different from the pseudo base station in terms of requesting resources, if the terminals continuously send the channel request, the situation that the pseudo base station SDCCH channel resources are not enough is necessarily caused, so that the SDCCH channel resources cannot be allocated to other terminals residing in the pseudo base station, and further fraud cannot be sent, and a short message is sent to other terminals, thereby achieving the purpose of paralysis of the pseudo base station.
Optionally, in some embodiments of the present invention, a specific implementation manner of generating and sending N random access request messages to the target base station within a preset time period may be:
the mobile terminal determines N random numbers which are different from each other and N periods in the preset time period, generates a random access request message carrying 1 random number of the N random numbers in each period of the N periods, and sends the random access request message to the target base station.
Optionally, in some embodiments of the present invention, a specific implementation manner of generating and sending N random access request messages to the target base station within a preset time period may also be:
the mobile terminal determines N cycles in the preset time period; and generating a random number in each of the N periods, generating a random access request message carrying the random number, and sending the random access request message to the target base station.
Optionally, in some embodiments of the present invention, before the mobile terminal generates and sends N random access request messages to the target base station within a preset time period, the mobile terminal may further send an inquiry request for inquiring the number of independent dedicated control channels included in the target base station to the target base station; receiving an inquiry response which is generated by the target base station and carries the number of independent dedicated control channels, wherein the number of the independent dedicated control channels is M; and determining the size of the N according to the number M of the independent dedicated control channels.
Compared with the scheme that the mobile terminal does not reside in the pseudo base station after recognizing the pseudo base station in the prior art, the embodiment of the invention has the following advantages that: after determining a pseudo base station in wireless communication with a mobile terminal, a mobile terminal resides and locks the pseudo base station in a preset time period, generates and sends N random access request messages to the pseudo base station, and does not respond to M immediate assignment messages sent by the pseudo base station in the preset time period. It can be seen that after receiving the random access request message, the pseudo base station inevitably needs to respond, and allocates different independent dedicated control channels to the mobile terminal according to different random numbers, and since the channel resources of the pseudo base station are limited, the limited channel resources of the pseudo base station are occupied by the same mobile terminal, which is beneficial to reducing the available channel resources of the pseudo base station, thereby reducing the number of mobile terminals residing in the cell of the pseudo base station, and improving the communication security of the cell.
Referring to fig. 3, fig. 3 is a flowchart illustrating a communication method according to a second embodiment of the present invention, and as shown in fig. 3, the communication method according to the embodiment of the present invention includes the following steps:
s201, the mobile terminal obtains the base station parameters of the target base station.
Wherein the base station parameters include: location area code, transmit power, cell selection parameters, and cell reselection parameters of the base station.
S202, the mobile terminal judges whether the base station parameters of the target base station are matched with the base station parameters of the pre-stored real base station of the operator.
S203, if not, the mobile terminal determines that the target base station is a pseudo base station, and resides and locks the target base station.
S204, the mobile terminal sends an inquiry request for inquiring the number of the independent dedicated control channels included in the target base station to the target base station.
S205, the mobile terminal receives the inquiry response which is generated by the target base station and carries the number of the independent dedicated control channels, wherein the number of the independent dedicated control channels is M.
S206, the mobile terminal determines the size of the N according to the number M of the independent dedicated control channels.
S207, the mobile terminal determines N random numbers which are different from each other.
And S207, the mobile terminal determines N periods in the preset time period.
S207, the mobile terminal generates a random access request message carrying 1 random number of the N random numbers in each period of the N periods, sends the random access request message to the target base station, and does not respond to the M immediate assignment messages sent by the target base station in the preset time period.
Wherein the N random access request messages each carry 1 random number, each of the random numbers is different from the other random numbers, the M immediate assignment messages are sent by the target base station after receiving the N random access request messages, the immediate assignment messages are used to allocate an independent dedicated control channel to the mobile terminal, N, M is an integer greater than 1, and N is greater than or equal to M.
Compared with the scheme that the mobile terminal does not reside in the pseudo base station after recognizing the pseudo base station in the prior art, the embodiment of the invention has the following advantages that: after determining a pseudo base station in wireless communication with a mobile terminal, a mobile terminal resides and locks the pseudo base station in a preset time period, generates and sends N random access request messages to the pseudo base station, and does not respond to M immediate assignment messages sent by the pseudo base station in the preset time period. It can be seen that after receiving the random access request message, the pseudo base station inevitably needs to respond, and allocates different independent dedicated control channels to the mobile terminal according to different random numbers, and since the channel resources of the pseudo base station are limited, the limited channel resources of the pseudo base station are occupied by the same mobile terminal, which is beneficial to reducing the available channel resources of the pseudo base station, thereby reducing the number of mobile terminals residing in the cell of the pseudo base station, and improving the communication security of the cell.
Referring to fig. 4, fig. 4 is a flowchart illustrating a communication method according to a third embodiment of the present invention, and as shown in fig. 4, the communication method according to the embodiment of the present invention includes the following steps:
s301, the mobile terminal obtains the base station parameters of the target base station.
Wherein the base station parameters include: location area code, transmit power, cell selection parameters, and cell reselection parameters of the base station.
S302, the mobile terminal judges whether the base station parameters of the target base station are matched with the base station parameters of the pre-stored real base station of the operator.
S303, if not, the mobile terminal determines that the target base station is a pseudo base station, and resides and locks the target base station.
S304, the mobile terminal sends an inquiry request for inquiring the number of the independent dedicated control channels included in the target base station to the target base station.
S305, the mobile terminal receives the inquiry response which is generated by the target base station and carries the number of the independent dedicated control channels, wherein the number of the independent dedicated control channels is M.
S306, the mobile terminal determines the size of the N according to the number M of the independent dedicated control channels.
S307, the mobile terminal determines N periods in the preset time period.
S308, the mobile terminal generates a random number in each of the N periods, generates a random access request message carrying the random number, sends the random access request message to the target base station, and does not respond to the M immediate assignment messages sent by the target base station in the preset time period.
Wherein the N random access request messages each carry 1 random number, each of the random numbers is different from the other random numbers, the M immediate assignment messages are sent by the target base station after receiving the N random access request messages, the immediate assignment messages are used to allocate an independent dedicated control channel to the mobile terminal, N, M is an integer greater than 1, and N is greater than or equal to M.
Compared with the scheme that the mobile terminal does not reside in the pseudo base station after recognizing the pseudo base station in the prior art, the embodiment of the invention has the following advantages that: after determining a pseudo base station in wireless communication with a mobile terminal, a mobile terminal resides and locks the pseudo base station in a preset time period, generates and sends N random access request messages to the pseudo base station, and does not respond to M immediate assignment messages sent by the pseudo base station in the preset time period. It can be seen that after receiving the random access request message, the pseudo base station inevitably needs to respond, and allocates different independent dedicated control channels to the mobile terminal according to different random numbers, and since the channel resources of the pseudo base station are limited, the limited channel resources of the pseudo base station are occupied by the same mobile terminal, which is beneficial to reducing the available channel resources of the pseudo base station, thereby reducing the number of mobile terminals residing in the cell of the pseudo base station, and improving the communication security of the cell.
For convenience of description, only the relevant parts of the embodiments of the present invention are shown, and details of the specific technology are not disclosed.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention, and as shown in fig. 5, the mobile terminal according to the embodiment of the present invention includes the following units:
a detecting unit 401, configured to detect whether a target base station that establishes a communication connection with a mobile terminal is a pseudo base station;
a residing unit 402, configured to, if the detecting unit 401 detects that the target base station establishing a communication connection with the mobile terminal is a pseudo base station, reside and lock the target base station;
a communication unit 403, configured to generate and send N random access request messages to the target base station in a preset time period, and not respond to M immediate assignment messages sent by the target base station in the preset time period, where the N random access request messages each carry 1 random number, the random numbers are different from each other, the M immediate assignment messages are sent by the target base station after receiving the N random access request messages, the immediate assignment message is used to allocate an independent dedicated control channel to the mobile terminal, N, M is an integer greater than 1, and N is greater than or equal to M.
Optionally, in some embodiments of the present invention, the communication unit 403 is specifically configured to determine N random numbers that are different from each other; determining N cycles within the preset time period; and in each period of the N periods, generating a random access request message carrying 1 random number of the N random numbers, and sending the random access request message to the target base station.
Optionally, in some embodiments of the present invention, the communication unit 403 is specifically configured to determine N cycles within the preset time period; and generating a random number in each of the N periods, generating a random access request message carrying the random number, and sending the random access request message to the target base station.
Optionally, in some embodiments of the present invention, the mobile terminal may further include:
an inquiring unit 404, configured to send, to the target base station, an inquiry request for inquiring the number of independent dedicated control channels included in the target base station before the communication unit 403 generates and sends N random access request messages to the target base station within a preset time period; receiving an inquiry response which is generated by the target base station and carries the number of independent dedicated control channels, wherein the number of the independent dedicated control channels is M; and determining the size of the N according to the number M of the independent dedicated control channels.
Optionally, in some embodiments of the present invention, the detecting unit 401 is specifically configured to acquire a base station parameter of the target base station, where the base station parameter includes: location area code, transmission power, cell selection and reselection parameters of the base station; judging whether the base station parameters of the target base station are matched with the base station parameters of the pre-stored operator real base station; and if not, determining the target base station as a pseudo base station.
Specifically, the specific implementation of each unit may refer to the description of the relevant steps in the embodiments corresponding to fig. 2 to fig. 4, which is not described herein again.
Compared with the scheme that the mobile terminal does not reside in the pseudo base station after recognizing the pseudo base station in the prior art, the embodiment of the invention has the following advantages that: after determining a pseudo base station in wireless communication with a mobile terminal, a mobile terminal resides and locks the pseudo base station in a preset time period, generates and sends N random access request messages to the pseudo base station, and does not respond to M immediate assignment messages sent by the pseudo base station in the preset time period. It can be seen that after receiving the random access request message, the pseudo base station inevitably needs to respond, and allocates different independent dedicated control channels to the mobile terminal according to different random numbers, and since the channel resources of the pseudo base station are limited, the limited channel resources of the pseudo base station are occupied by the same mobile terminal, which is beneficial to reducing the available channel resources of the pseudo base station, thereby reducing the number of mobile terminals residing in the cell of the pseudo base station, and improving the communication security of the cell.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention. As shown in fig. 6, the mobile terminal in the embodiment of the present invention includes: at least one processor 501, e.g. a CPU, at least one receiver 503, at least one memory 504, at least one transmitter 505, at least one communication bus 502. Wherein a communication bus 502 is used to enable connective communication between these components. The receiver 503 and the transmitter 505 of the apparatus in the embodiment of the present invention may be wired transmission ports, or may also be wireless devices, for example, including an antenna apparatus, for performing signaling or data communication with other node devices. The memory 504 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 504 may optionally be at least one storage device located remotely from the processor 501. A set of program codes is stored in the memory 504 and the processor 501 can invoke the codes stored in the memory 504 to perform related functions through the communication bus 502.
The processor 501 is configured to detect whether a target base station that establishes a communication connection with a mobile terminal is a pseudo base station; if yes, residing and locking the target base station; generating and sending N random access request messages to the target base station in a preset time period, and not responding to M immediate assignment messages sent by the target base station in the preset time period, wherein the N random access request messages respectively carry 1 random number, the random numbers are different from each other, the M immediate assignment messages are sent by the target base station after receiving the N random access request messages, the immediate assignment messages are used for allocating independent dedicated control channels to the mobile terminal, N, M is an integer larger than 1, and N is larger than or equal to M.
Optionally, in some embodiments of the present invention, when the processor 501 is configured to generate and send N random access request messages to the target base station within a preset time period, it is specifically configured to determine N random numbers that are different from each other; determining N cycles within the preset time period; and in each period of the N periods, generating a random access request message carrying 1 random number of the N random numbers, and sending the random access request message to the target base station.
Optionally, in some embodiments of the present invention, when the processor 501 is configured to generate and send N random access request messages to the target base station in a preset time period, it is specifically configured to determine N cycles in the preset time period;
and generating a random number in each of the N periods, generating a random access request message carrying the random number, and sending the random access request message to the target base station.
Optionally, in some embodiments of the present invention, before the processor 501 is configured to generate and send N random access request messages to the target base station within a preset time period, the processor is further configured to send an inquiry request for inquiring the number of independent dedicated control channels included in the target base station to the target base station; receiving an inquiry response which is generated by the target base station and carries the number of independent dedicated control channels, wherein the number of the independent dedicated control channels is M; and determining the size of the N according to the number M of the independent dedicated control channels.
Optionally, in some embodiments of the present invention, when the processor 501 is configured to detect whether a target base station establishing a communication connection with a mobile terminal is a pseudo base station, specifically, to obtain base station parameters of the target base station, where the base station parameters include: the location area code, the transmitting power, the cell selection parameter and the cell reselection parameter of the base station; judging whether the base station parameters of the target base station are matched with the base station parameters of the pre-stored operator real base station; and if not, determining the target base station as a pseudo base station.
Specifically, the specific implementation of each unit may refer to the description of the relevant steps in the embodiments corresponding to fig. 2 to fig. 4, which is not described herein again.
Compared with the scheme that the mobile terminal does not reside in the pseudo base station after recognizing the pseudo base station in the prior art, the embodiment of the invention has the following advantages that: after determining a pseudo base station in wireless communication with a mobile terminal, a mobile terminal resides and locks the pseudo base station in a preset time period, generates and sends N random access request messages to the pseudo base station, and does not respond to M immediate assignment messages sent by the pseudo base station in the preset time period. It can be seen that after receiving the random access request message, the pseudo base station inevitably needs to respond, and allocates different independent dedicated control channels to the mobile terminal according to different random numbers, and since the channel resources of the pseudo base station are limited, the limited channel resources of the pseudo base station are occupied by the same mobile terminal, which is beneficial to reducing the available channel resources of the pseudo base station, thereby reducing the number of mobile terminals residing in the cell of the pseudo base station, and improving the communication security of the cell.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of any one of the service process monitoring methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and elements referred to are not necessarily required to practice the invention.
The order of the steps of the method of the embodiments of the present invention may be adjusted, combined, or deleted according to actual needs. The units of the terminal of the embodiment of the invention can be integrated, further divided or deleted according to actual needs.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are illustrative, and for example, the division of the units is a logical division, and in actual implementation, there may be other divisions, for example, multiple units or components may be combined or may be 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 of some interfaces, devices or units, and may be an electric 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.
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, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description is directed to a communication method and a mobile terminal provided in an embodiment of the present invention, and a specific example is applied in the description to explain the principles and embodiments of the present invention, where the description of the foregoing embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A method of communication, comprising:
detecting whether a target base station establishing communication connection with a mobile terminal is a pseudo base station or not;
if yes, residing and locking the target base station;
sending an inquiry request for inquiring the number of the independent dedicated control channels included in the target base station to the target base station;
receiving an inquiry response which is generated by the target base station and carries the number of independent dedicated control channels, wherein the number of the independent dedicated control channels is M;
determining the size of N according to the number M of the independent dedicated control channels;
generating and sending N random access request messages to the target base station in a preset time period, and not responding to M immediate assignment messages sent by the target base station in the preset time period, wherein the N random access request messages respectively carry 1 random number, the random numbers are different from each other, the M immediate assignment messages are sent by the target base station after receiving the N random access request messages, the immediate assignment messages are used for allocating independent dedicated control channels to the mobile terminal, N, M is an integer larger than 1, and N is larger than or equal to M.
2. The method of claim 1, wherein the generating and sending N random access request messages to the target base station within a preset time period comprises:
determining N random numbers which are different from each other;
determining N cycles within the preset time period;
and in each period of the N periods, generating a random access request message carrying 1 random number of the N random numbers, and sending the random access request message to the target base station.
3. The method as claimed in claim 1, wherein said generating and sending N random access request messages to the target base station within the preset time period comprises:
determining N cycles within the preset time period;
and generating a random number in each of the N periods, generating a random access request message carrying the random number, and sending the random access request message to the target base station.
4. The method of claim 1, wherein the detecting whether the target base station for establishing the communication connection with the mobile terminal is a pseudo base station comprises:
obtaining base station parameters of the target base station, wherein the base station parameters comprise: the location area code, the transmitting power, the cell selection parameter and the cell reselection parameter of the base station;
judging whether the base station parameters of the target base station are matched with the base station parameters of the pre-stored operator real base station;
and if not, determining the target base station as a pseudo base station.
5. A mobile terminal, comprising:
the mobile terminal comprises a detection unit, a processing unit and a processing unit, wherein the detection unit is used for detecting whether a target base station establishing communication connection with the mobile terminal is a pseudo base station or not;
the resident unit is used for residing and locking the target base station if the detection unit detects that the target base station establishing communication connection with the mobile terminal is a pseudo base station;
the communication unit is used for generating and sending N random access request messages to the target base station in a preset time period, and sending an inquiry request for inquiring the number of independent dedicated control channels included in the target base station to the target base station; receiving an inquiry response which is generated by the target base station and carries the number of independent dedicated control channels, wherein the number of the independent dedicated control channels is M; determining the size of the N according to the number M of the independent dedicated control channels;
a communication unit, configured to generate and send N random access request messages to the target base station in a preset time period, and not respond to M immediate assignment messages sent by the target base station in the preset time period, where the N random access request messages each carry 1 random number, the random numbers are different from each other, the M immediate assignment messages are sent by the target base station after receiving the N random access request messages, the immediate assignment messages are used to allocate an independent dedicated control channel to the mobile terminal, N, M is an integer greater than 1, and N is greater than or equal to M.
6. The mobile terminal of claim 5,
the communication unit is specifically configured to determine N random numbers that are different from each other; determining N cycles within the preset time period; and in each period of the N periods, generating a random access request message carrying 1 random number of the N random numbers, and sending the random access request message to the target base station.
7. The mobile terminal of claim 5,
the communication unit is specifically configured to determine N cycles within the preset time period; and generating a random number in each of the N periods, generating a random access request message carrying the random number, and sending the random access request message to the target base station.
8. The mobile terminal of claim 5,
the detecting unit is specifically configured to acquire base station parameters of the target base station, where the base station parameters include: location area code, transmission power, cell selection and reselection parameters of the base station; judging whether the base station parameters of the target base station are matched with the base station parameters of the pre-stored operator real base station; and if not, determining the target base station as a pseudo base station.
CN201610497714.7A 2016-06-29 2016-06-29 Communication method and mobile terminal Active CN106028337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610497714.7A CN106028337B (en) 2016-06-29 2016-06-29 Communication method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610497714.7A CN106028337B (en) 2016-06-29 2016-06-29 Communication method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106028337A CN106028337A (en) 2016-10-12
CN106028337B true CN106028337B (en) 2020-01-10

Family

ID=57105224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610497714.7A Active CN106028337B (en) 2016-06-29 2016-06-29 Communication method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106028337B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026889A (en) * 2007-04-05 2007-08-29 华为技术有限公司 Method, system and base station for locking illegal copy mobile terminal
CN101431754A (en) * 2008-12-03 2009-05-13 中兴通讯股份有限公司 Method for preventing clone terminal access
CN104125571A (en) * 2014-07-03 2014-10-29 北京大学 Method for detecting and suppressing pseudo-base station
CN104602241A (en) * 2014-12-25 2015-05-06 中国科学院信息工程研究所 Determination method of pseudo base station and mobile terminal
CN104780529A (en) * 2014-07-24 2015-07-15 上海特金信息科技有限公司 Design for pseudo base station real-time protection system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026889A (en) * 2007-04-05 2007-08-29 华为技术有限公司 Method, system and base station for locking illegal copy mobile terminal
CN101431754A (en) * 2008-12-03 2009-05-13 中兴通讯股份有限公司 Method for preventing clone terminal access
CN104125571A (en) * 2014-07-03 2014-10-29 北京大学 Method for detecting and suppressing pseudo-base station
CN104780529A (en) * 2014-07-24 2015-07-15 上海特金信息科技有限公司 Design for pseudo base station real-time protection system
CN104602241A (en) * 2014-12-25 2015-05-06 中国科学院信息工程研究所 Determination method of pseudo base station and mobile terminal

Also Published As

Publication number Publication date
CN106028337A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN110602691B (en) Mobile communication method and device based on block chain network
CN110611723B (en) Scheduling method and device of service resources
US20120076072A1 (en) System and method for maintaining privacy in a wireless network
CN102883449A (en) Method, related terminals and system for implementing data sharing
CN104219339A (en) Method and device for detecting address resolution protocol attack in local area network
CN106034302B (en) Security monitoring method and device for wireless local area network hotspot and communication system
WO2016131289A1 (en) Method, device and user equipment for testing security of wireless hotspot
CN106713522B (en) Wireless fidelity Wi-Fi connection method and mobile terminal
US10750369B2 (en) Method, apparatus, and platform for sharing wireless local area network
CN105657835B (en) Information processing method, electronic equipment and base station
CN109495891B (en) Pseudo base station identification method, apparatus and computer readable storage medium
CN110417470B (en) Network switching method based on visible light communication and related product
CN105557045A (en) Access network node, core network node and paging method
CN104980420A (en) Business processing method, device, terminal and server
CN111770094B (en) Access control method of wireless network and related device
CN107454659B (en) Terminal identification method, system, terminal equipment and base station
CN112153645B (en) Method and device for preventing network from being rubbed and router
CN108156586A (en) Phone number acquisition methods and system, server, storage medium
CN106028337B (en) Communication method and mobile terminal
CN105578424B (en) Help seeking information transmission method and device
CN109151790B (en) Bluetooth device connection method and system based on network security
CN104754576A (en) Equipment verification method, user equipment and network equipment
CN103281693A (en) Wireless communication authentication method, network translation equipment and terminal
CN107969004B (en) Networking system and networking method
CN106060825B (en) Client identification card copying reminding method and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant