CN110139269B - Code detection method and device of LTE terminal, code detection equipment and readable storage medium - Google Patents
Code detection method and device of LTE terminal, code detection equipment and readable storage medium Download PDFInfo
- Publication number
- CN110139269B CN110139269B CN201910326478.6A CN201910326478A CN110139269B CN 110139269 B CN110139269 B CN 110139269B CN 201910326478 A CN201910326478 A CN 201910326478A CN 110139269 B CN110139269 B CN 110139269B
- Authority
- CN
- China
- Prior art keywords
- lte
- terminal
- code detecting
- detected
- power
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application relates to a code detecting method and device of an LTE terminal, code detecting equipment and a readable storage medium, wherein the method comprises the following steps: the code detecting equipment is configured according to the frequency point, the cell ID and the time slot configuration of an LTE actual cell where the code detecting terminal to be detected is located; the configured code detecting equipment determines the power of a signal sent by the configured code detecting equipment according to the required detection radius, the receiving power of a reference signal of an LTE base station where an LTE actual cell is located and the distance between the code detecting equipment and the LTE base station, and sends an access signal to the terminal to be detected by adopting the power so as to establish connection between the terminal to be detected and the configured code detecting equipment; the power is greater than the transmitting power of an LTE base station where the LTE actual cell is located; and the configured code detecting equipment determines the IMSI sequence of the terminal to be detected according to the received Msg message of the terminal to be detected. The method for detecting the codes of the LTE terminal greatly reduces the influence on the normal use of the terminal to be detected codes.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a code detection method and apparatus for an LTE terminal, a code detection device, and a readable storage medium.
Background
With the rapid development of the Mobile internet, the Number of Mobile terminals is increasing day by day, in the Mobile terminal, an International Mobile Subscriber Identity (IMSI) is a unique mark for distinguishing a Mobile Subscriber, and other information of the Mobile terminal can be obtained if the IMSI of the Mobile terminal is obtained, so that code detection and positioning of the Mobile terminal become a necessary means in terms of national defense and public security. At present, more and more users use 4G terminals, and how to detect codes for 4G terminals is an urgent problem to be solved.
In the conventional technology, a Code detection device usually sends a 2G interference signal or a 3G interference signal with a large power to a Mobile terminal, and the Mobile terminal is returned from a Long Term Evolution (LTE) network to a Global System for Mobile communications (GSM) network or a Wideband Code Division Multiple Access (WCDMA) network, and then response information sent by the Mobile terminal is analyzed to obtain an IMSI sequence thereof.
However, since the conventional technology needs to return the mobile terminal to the GSM network or the WCDMA network, it has a large impact on the normal use of the 4G mobile terminal.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for code detection of an LTE terminal, a code detection device, and a readable storage medium for solving the problem that the conventional code detection technology has a great influence on the normal use of a 4G mobile terminal.
In a first aspect, an embodiment of the present application provides a code detection method for an LTE terminal, including:
the code detection equipment configures the code detection equipment according to the frequency point, the cell ID and the time slot configuration of an LTE actual cell where the code detection terminal to be detected is located;
the configured code detecting equipment determines the power of a signal sent by the configured code detecting equipment according to the required detection radius, the receiving power of a reference signal of an LTE base station where the LTE actual cell is located and the distance between the code detecting equipment and the LTE base station, and sends an access signal to the terminal to be detected by adopting the power so as to establish connection between the terminal to be detected and the configured code detecting equipment; the power is greater than the transmitting power of an LTE base station where the LTE actual cell is located;
and the configured code detection equipment determines the IMSI sequence of the terminal to be detected according to the received Msg message of the terminal to be detected.
According to the code detecting method of the LTE terminal, the code detecting equipment is configured according to the frequency point, the cell ID and the time slot configuration of an LTE actual cell where the terminal to be detected is located, then the power of the signal sent by the configured code detecting equipment is determined according to the detection radius, the receiving power of a reference signal of the LTE base station where the LTE actual cell is located and the distance between the code detecting equipment and the LTE base station, an access signal is sent to the terminal to be detected, and finally the IMSI sequence of the terminal to be detected is determined according to the received Msg message of the terminal to be detected. In the method, the code detecting equipment is configured according to the system parameters of the LTE actual cell where the code detecting terminal is located, and the type of the access signal sent by the code detecting equipment obtained through configuration is the same as that of the access signal of the LTE actual cell, so when the code detecting terminal is switched from connection with the LTE actual cell to connection with the configured code detecting equipment, the influence on normal use of the code detecting terminal is greatly reduced.
In one embodiment, the determining, by the configured detecting device, the power of the signal sent by the configured detecting device according to the required detection radius, the received power of the reference signal of the LTE base station where the LTE actual cell is located, and the distance between the detecting device and the LTE base station includes:
the configured code detecting equipment determines the power P of a signal sent by the code detecting equipment according to a relational expression comprising P + L (d) + L (r) -L (d + r) + beta;
wherein L (x) is a path loss function with respect to x, x = d or r or d + r, p is a received power of a reference signal of the LTE base station, d is a distance between the detection device and the LTE base station, r is the required detection radius, and β ≧ 0.
In one embodiment, the configured detecting device determines the power P of the signal transmitted by the detecting device according to a relation including P + L (d) + L (r) -L (d + r) + β, including:
the configured code detecting equipment is characterized in that according to a formula: p = P + L (d) + L (r) -L (d + r) + β determines the power P of the signal transmitted by the encoding device.
In one embodiment, the code detecting device configures the code detecting device according to the frequency point, the cell ID and the time slot configuration of the LTE actual cell where the code detecting terminal is located, and the method includes:
the code detecting equipment is configured by adopting a frequency point different from the LTE actual cell, a cell ID different from the LTE actual cell and a time slot configuration same as the LTE actual cell.
In one embodiment, the configured snooping device determines, according to the received Msg message of the terminal to be snooped, an IMSI sequence of the terminal to be snooped, including:
the configured code detection equipment receives the Msg5 message of the terminal to be detected;
judging whether the Msg5 message carries an IMSI sequence of the terminal to be detected;
and if so, acquiring the IMSI sequence and disconnecting the connection with the terminal to be detected.
In one embodiment, the method further comprises:
if the Msg5 message does not carry the IMSI sequence of the terminal to be detected, the configured code detecting equipment sends an identity request message to the terminal to be detected;
and the configured code detecting equipment receives and analyzes the identity response message sent by the code detecting terminal to obtain the IMSI sequence, and disconnects the connection with the code detecting terminal.
In one embodiment, before the code detecting device configures the code detecting device according to the frequency point, the cell ID, and the timeslot of the LTE actual cell where the code detecting terminal to be detected is located, the method further includes:
the code detecting equipment initiates a random access process, establishes connection with an LTE base station where the LTE actual cell is located, and acquires system parameters of the LTE actual cell, wherein the system parameters comprise a working frequency point of the LTE actual cell, a cell ID and a time slot configuration of the LTE actual cell;
the code detecting equipment receives a TA value sent by the LTE base station, and the distance between the code detecting equipment and the LTE base station is determined according to the TA value;
and the code detecting equipment determines the receiving power of the reference signal of the LTE base station according to the system parameters of the LTE actual cell.
In one embodiment, the configured detection device transmits a signal with a power that satisfies the minimum transmission power of the detection radius.
In a second aspect, an embodiment of the present application provides a code detection apparatus for an LTE terminal, including:
the configuration module is used for configuring the code detecting device according to the frequency point, the cell ID and the time slot configuration of an LTE actual cell where the code detecting terminal is located;
the first determining module is used for determining the power of a signal sent by the configured code detecting device according to the required detection radius, the receiving power of a reference signal of an LTE base station where the LTE actual cell is located and the distance between the code detecting device and the LTE base station, and sending an access signal to the terminal to be detected by adopting the power so as to enable the terminal to be detected to be connected with the configured code detecting device; the power is greater than the transmitting power of an LTE base station where the LTE actual cell is located;
and the second determining module is used for determining the IMSI sequence of the terminal to be intercepted according to the received Msg message of the terminal to be intercepted.
In a third aspect, an embodiment of the present application provides an encryption device, including a receiver, a transmitter, a memory and a processor, where the memory stores a computer program;
the processor is used for configuring the code detection equipment according to the frequency point, the cell ID and the time slot configuration of the LTE actual cell where the code detection terminal to be detected is located; determining the power of a signal sent by the configured code detecting equipment according to the required detection radius, the receiving power of a reference signal of an LTE base station where the LTE actual cell is located and the distance between the code detecting equipment and the LTE base station; the power is greater than the transmitting power of an LTE base station where the LTE actual cell is located;
the transmitter is used for transmitting an access signal to the terminal to be detected by adopting the power so as to establish connection between the terminal to be detected and the configured code detecting equipment;
the receiver is used for receiving the Msg message of the terminal to be detected;
the processor is further configured to determine an IMSI sequence of the terminal to be intercepted according to the received Msg message of the terminal to be intercepted.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
configuring code detection equipment according to the frequency point, cell ID and time slot configuration of an LTE actual cell in which a code detection terminal to be detected is located;
determining the power of a signal sent by the configured code detecting equipment according to the required detection radius, the receiving power of a reference signal of an LTE base station where the LTE actual cell is located and the distance between the code detecting equipment and the LTE base station, and sending an access signal to the terminal to be detected by adopting the power so as to establish connection between the terminal to be detected and the configured code detecting equipment; the power is greater than the transmitting power of an LTE base station where the LTE actual cell is located;
and determining the IMSI sequence of the terminal to be intercepted according to the received Msg message of the terminal to be intercepted.
The code detecting device, the code detecting equipment and the readable storage medium of the LTE terminal can configure the code detecting equipment according to the frequency point, the cell ID and the time slot configuration of an LTE actual cell where the terminal to be detected is located, then determine the signal sending power of the configured code detecting equipment according to the detection radius, the receiving power of a reference signal of an LTE base station where the LTE actual cell is located and the distance between the code detecting equipment and the LTE base station, send an access signal to the terminal to be detected, and finally determine the IMSI sequence of the terminal to be detected according to the received Msg message of the terminal to be detected. Because the configuration is carried out according to the system parameters of the LTE actual cell where the code detection terminal is located, the type of the access signal sent by the code detection equipment obtained through the configuration is the same as that of the access signal of the LTE actual cell, and therefore when the connection of the code detection terminal to be detected with the LTE actual cell is switched to the connection with the configured code detection equipment, the influence on the normal use of the code detection terminal to be detected is greatly reduced.
Drawings
Fig. 1 is a schematic view of an application scenario of a code detection method of an LTE terminal according to an embodiment;
fig. 2 is a flowchart illustrating a code detection method of an LTE terminal according to an embodiment;
fig. 2a is a flowchart illustrating a code detection method of an LTE terminal according to another embodiment;
fig. 2b is a flowchart illustrating a code detection method for an LTE terminal according to another embodiment;
fig. 3 is a flowchart illustrating a code detecting method for an LTE terminal according to another embodiment;
fig. 4 is a schematic structural diagram of a code detecting apparatus of an LTE terminal according to an embodiment;
fig. 5 is a schematic structural diagram of a code detecting apparatus of an LTE terminal according to another embodiment;
fig. 6 is a schematic structural diagram of a code detecting apparatus of an LTE terminal according to another embodiment;
fig. 7 is a schematic structural diagram of a code detecting apparatus of an LTE terminal according to still another embodiment.
Detailed Description
The code detecting method for the LTE terminal provided by the embodiment of the application can be applied to an application scenario shown in fig. 1, where the LTE terminal 11 is a to-be-detected code terminal that needs to acquire an IMSI sequence of the LTE terminal, the LTE base station 12 is a service base station to which the LTE terminal 11 is currently connected in communication, and the code detecting device 13 can acquire the IMSI sequence of the LTE terminal 11 by using the code detecting method for the LTE terminal provided by the application, thereby providing services for the national defense and public security fields.
In the conventional technology, in order to obtain the IMSI sequence of the LTE terminal, a code detection device generally sends a 2G interference signal or a 3G interference signal with a large power to the LTE terminal, so that the LTE terminal returns to a GSM network or a WCDMA network from the LTE network, and then analyzes response information sent by the LTE terminal to obtain the IMSI sequence. Since the conventional technology needs to return the LTE terminal to the GSM network or the WCDMA network, it has a large impact on the normal use of the LTE terminal. The code detecting method, device, code detecting equipment and readable storage medium of the LTE terminal provided by the embodiment of the application aim to solve the technical problems in the prior art.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
It should be noted that the execution subject of the following method embodiments may be an intercept code device of an LTE terminal, and the apparatus may be implemented as part or all of the above intercept code device by software, hardware, or a combination of software and hardware. The following method embodiments are described with the example where the execution entity is an encryption device.
Fig. 2 is a flowchart illustrating a code detecting method of an LTE terminal according to an embodiment, where the embodiment relates to a specific process in which a code detecting device performs parameter configuration and determines a power of a signal sent by the configured code detecting device to obtain an IMSI sequence of a terminal to be detected. As shown in fig. 2, the method includes:
s101, the code detecting equipment is configured according to the frequency point, the cell ID and the time slot configuration of the LTE actual cell where the code detecting terminal is located.
Specifically, the code detecting device in this embodiment may have functions of both the terminal and the base station, and when the code detecting device is in the role of the base station, the code detecting device may be configured according to the frequency point, the cell ID, and the time slot configuration of the LTE actual cell where the code detecting terminal is located, so that the code detecting device simulates an LTE virtual cell for the connection of the code detecting terminal.
Optionally, the method for acquiring the frequency point, the cell ID, and the timeslot configuration of the LTE actual cell where the code detecting device to be detected is located may be: the code detection equipment is in the role of a terminal and is connected to the LTE actual cell, so that system parameters such as frequency points, cell IDs (identity) and time slot configuration of the LTE actual cell are obtained.
S102, the configured code detecting equipment determines the power of a signal sent by the configured code detecting equipment according to the required detection radius, the receiving power of a reference signal of an LTE base station where the LTE actual cell is located and the distance between the code detecting equipment and the LTE base station, and sends an access signal to the terminal to be detected by adopting the power so as to establish connection between the terminal to be detected and the configured code detecting equipment; and the power is greater than the transmission power of the LTE base station where the LTE actual cell is located.
Specifically, the reference signal is a known signal provided by the transmitting end to the receiving end for channel estimation or channel detection, and when the code detection device is in a terminal role and is connected with an LTE actual cell, the reference signal sent by an LTE base station where the LTE actual cell is located can be received, and the receiving power of the reference signal is measured. On the other hand, when the code detecting device communicates with the LTE base station, the time required for transmitting the electromagnetic wave can be estimated, and the distance between the code detecting device and the LTE base station can be further calculated.
After the receiving power of the reference signal and the distance between the code detecting device and the LTE base station are determined, the configured code detecting device may determine the power of the signal transmission performed by the configured code detecting device according to the required detection radius, the receiving power of the reference signal and the distance between the code detecting device and the LTE base station, and transmit an access signal to a terminal to be detected in the detection radius area by using the power, to wait for the terminal to be detected to establish a connection with the configured code detecting device. The power of the signal sent by the configured code detecting equipment is greater than the transmitting power of the LTE base station where the terminal to be detected is located, so that the terminal to be detected can select the base station signal with higher power to connect when searching the access signals of the two base stations, namely, the terminal to be detected is connected with the configured code detecting equipment. Optionally, the access signal may be an LTE standard waveform signal.
S103, the configured code detecting equipment determines the IMSI sequence of the terminal to be detected according to the received Msg message of the terminal to be detected.
Specifically, after the connection between the terminal to be detected and the configured code detecting device is established, the Msg message with the connection completed is sent to the code detecting device, and the configured code detecting device determines the IMSI sequence of the terminal to be detected by analyzing the Msg message.
With regard to the process of determining the IMSI sequence of the terminal to be intercepted by the code detecting device configured in S103, reference may be made to the embodiment shown in fig. 2 a. Optionally, the step S103 includes:
s201, the configured code detecting equipment receives the Msg5 message of the terminal to be detected.
S202, judging whether the Msg5 message carries the IMSI sequence of the terminal to be intercepted.
The Msg5 message is information that the connection establishment or the reestablishment of the code detecting device is replied by the code detecting terminal to be detected. The code detecting equipment can judge whether the message carries the IMSI sequence of the terminal to be detected by analyzing the content of the Msg5 message.
And S203, if yes, acquiring the IMSI sequence, and disconnecting the IMSI sequence from the terminal to be detected.
Specifically, if the Msg5 message carries the IMSI sequence of the terminal to be detected, the code detecting device obtains the IMSI sequence and disconnects the connection with the terminal to be detected. Further, if the code detecting terminal initiates the connection request with the configured code detecting device again later, the code detecting device may reject the connection request.
In the embodiment shown in fig. 2a, a case where the Msg5 message of the terminal to be detected carries an IMSI sequence is described, but there is a case where the Msg5 message does not carry an IMSI sequence, and optionally, as shown in fig. 2b, if the Msg5 message does not carry an IMSI sequence of the terminal to be detected, the method further includes:
s301, the configured code detecting equipment sends an identity request message to the terminal to be detected.
S302, the configured code detecting equipment receives and analyzes the identity response message sent by the terminal to be detected to obtain the IMSI sequence, and disconnects the connection with the terminal to be detected.
Specifically, the configured code detecting device sends an Identity Request (Identity Request) message to the terminal to be detected, and waits for a response from the terminal to be detected. After receiving an Identity Response (Identity Response) message of the terminal to be detected, the configured code detecting equipment analyzes the message to obtain an IMSI sequence of the terminal to be detected, and disconnects the terminal to be detected. Further, if the code detecting terminal initiates the connection request with the configured code detecting device again later, the code detecting device may reject the connection request. Since the time for the configured code detecting device to send the identity request message is short and can reach millisecond level, the influence on the normal use of the code detecting terminal is further reduced.
In the code detecting method of the LTE terminal provided in this embodiment, the code detecting device configures the code detecting device according to the frequency point, the cell ID, and the time slot configuration of the LTE actual cell where the code detecting terminal is located, then determines the power of the signal sent by the configured code detecting device according to the detection radius, the receiving power of the reference signal of the LTE base station where the LTE actual cell is located, and the distance between the code detecting device and the LTE base station, and sends the access signal to the code detecting terminal, and finally determines the IMSI sequence of the code detecting terminal according to the received Msg message of the code detecting terminal. In the method, the code detecting equipment is configured according to the system parameters of the LTE actual cell where the code detecting terminal is located, and the type of the access signal sent by the code detecting equipment obtained through configuration is the same as that of the access signal of the LTE actual cell, so when the code detecting terminal is switched from connection with the LTE actual cell to connection with the configured code detecting equipment, the influence on normal use of the code detecting terminal is greatly reduced.
In one embodiment, optionally, the determining, by the configured detecting device, the power of the signal sent by the configured detecting device according to the required detection radius, the received power of the reference signal of the LTE base station where the LTE actual cell is located, and the distance between the detecting device and the LTE base station includes:
the configured code detection equipment determines the power P of a signal transmitted by the code detection equipment according to a relational expression containing P + L (d) + L (r) -L (d + r) + beta; wherein L (x) is a path loss function with respect to x, x = d or r or d + r, p is a received power of a reference signal of the LTE base station, d is a distance between the detection device and the LTE base station, r is the required detection radius, and β ≧ 0.
Specifically, the configured code detecting device may determine the power of a signal sent by the code detecting device according to a relational expression including p + L (d) + L (r) -L (d + r) + β, and optionally, the power is the minimum transmission power that satisfies a detection radius, which may enable a terminal to be detected within the detection radius to acquire an access signal of the code detecting device, and terminals outside the detection radius are not affected by the access signal. Optionally, the configured code detecting device may determine the power of the signal sent by the code detecting device according to a formula P = P + L (d) + L (r) -L (d + r) + β, and may also determine the power of the signal sent by the code detecting device according to a weighted relation including P + L (d) + L (r) -L (d + r) + β. The parameter beta is more than or equal to 0, and the smaller the value of the parameter beta is, the smaller the influence of the power of the signal sent by the code detecting equipment on the normal use of the code detecting terminal is, and the beta can be set according to an empirical value in the actual use process and can also be dynamically adjusted.
In one embodiment, optionally, the code detecting device configures the code detecting device according to the frequency point, the cell ID, and the time slot configuration of the LTE actual cell where the code detecting terminal is located, including:
and the code detecting equipment is configured by adopting a frequency point different from the LTE actual cell, a cell ID different from the LTE actual cell and the same time slot configuration as the LTE actual cell.
Specifically, the code detecting equipment configures the LTE virtual cell by adopting a frequency point different from the LTE actual cell, a different cell ID and the same time slot configuration, namely the LTE virtual cell simulated by the code detecting equipment is different from the LTE actual cell in frequency point, cell ID and time slot configuration, so that when the code detecting equipment sends an access signal, the interference to the LTE actual cell is avoided.
Fig. 3 is a flowchart illustrating a code detection method of an LTE terminal according to another embodiment, which relates to a specific process of acquiring system parameters of an LTE actual cell, determining a distance between the code detection device and an LTE base station, and determining a received power of a reference signal of the LTE base station by the code detection device. On the basis of the foregoing embodiment, optionally, as shown in fig. 3, the foregoing method further includes:
s401, the code detection equipment initiates a random access process, establishes connection with an LTE base station where the LTE actual cell is located, and acquires system parameters of the LTE actual cell, wherein the system parameters comprise a working frequency point of the LTE actual cell, a cell ID and a time slot configuration of the LTE actual cell.
Specifically, in this step, the code detecting device plays a role of a terminal, and establishes a connection with an LTE base station where an LTE actual cell is located, so as to obtain system parameters of the LTE actual cell, so as to prepare data for configuring the code detecting device in the above embodiments. The system parameters may include a working frequency point of the LTE actual cell, a cell ID, and a time slot configuration of the LTE actual cell. Optionally, the system parameter may further include a data frame structure of an LTE actual cell, SIB information, and the like.
S402, the code detecting equipment receives a maximum Timing Advance (TA) value sent by the LTE base station, and determines the distance between the code detecting equipment and the LTE base station according to the TA value.
Specifically, the TA value is a maximum time advance, and refers to a difference between an actual time when the mobile terminal signal reaches the base station and a time when the mobile terminal signal reaches the base station assuming that the distance between the mobile terminal and the base station is 0. The code detection equipment can estimate the time required by the electromagnetic wave transmission between the code detection equipment and the LTE base station according to the TA value, and further determine the distance between the code detection equipment and the LTE base station.
And S403, the code detection equipment determines the receiving power of the reference signal of the LTE base station according to the system parameters of the LTE actual cell.
Specifically, the code detection device may determine the position of the reference signal of the LTE base station according to the system parameter of the LTE actual cell, and then measure the received power of the reference signal.
After the system parameters of the LTE actual cell, the distance between the code detecting device and the LTE base station, and the receiving power of the reference signal of the LTE base station are determined in this embodiment, the code detecting device performs the step of configuring the code detecting device in the above embodiment.
It should be understood that although the various steps in the flowcharts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Fig. 4 is a schematic structural diagram of a code detecting apparatus of an LTE terminal according to an embodiment. As shown in fig. 4, the apparatus includes: a configuration module 21, a first determination module 22 and a second determination module 23.
Specifically, the configuration module 21 is configured to configure the code detecting device according to the frequency point, the cell ID, and the time slot configuration of the LTE actual cell in which the code detecting terminal to be detected is located;
a first determining module 22, configured to determine, according to a required detection radius, a received power of a reference signal of an LTE base station where the LTE actual cell is located, and a distance between the code detecting device and the LTE base station, a power of a signal sent by the configured code detecting device, and send an access signal to the terminal to be detected by using the power, so that the terminal to be detected establishes a connection with the configured code detecting device; the power is larger than the transmission power of the LTE base station where the LTE actual cell is located;
a second determining module 23, configured to determine, according to the received Msg message of the terminal to be intercepted, an IMSI sequence of the terminal to be intercepted.
The code detection apparatus for an LTE terminal provided in this embodiment may implement the method embodiments described above, and the implementation principle and technical effects are similar, which are not described herein again.
In one embodiment, the first determining module 22 is specifically configured to determine the power P of the signal transmitted by the code detecting device according to a relation including P + L (d) + L (r) -L (d + r) + β; wherein L (x) is a path loss function with respect to x, x = d or r or d + r, p is a received power of a reference signal of the LTE base station, d is a distance between the detection device and the LTE base station, r is the required detection radius, and β ≧ 0.
In one embodiment, the first determining module 22 is specifically configured to determine, according to the formula: p = P + L (d) + L (r) -L (d + r) + β determines the power P of the signal transmitted by the detection means.
In one embodiment, the configuration module 21 is specifically configured to configure the code detecting device by using a frequency point different from the LTE actual cell, a cell ID different from the LTE actual cell, and a time slot configuration identical to the LTE actual cell.
Fig. 5 is a schematic structural diagram of a code detecting apparatus of an LTE terminal according to another embodiment. On the basis of the above embodiment, as shown in fig. 5, the second determining module 23 includes: a receiving unit 231, a judging unit 232 and an acquiring unit 233.
Specifically, the receiving unit 231 is configured to receive the Msg5 message of the terminal to be intercepted.
A determining unit 232, configured to determine whether the Msg5 message carries the IMSI sequence of the terminal to be detected.
If yes, the obtaining unit 233 is configured to obtain the IMSI sequence and disconnect the connection with the terminal to be detected.
The code detection apparatus of the LTE terminal provided in this embodiment may implement the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a code detecting apparatus of an LTE terminal according to another embodiment. On the basis of the foregoing embodiment, as shown in fig. 6, if the Msg5 message does not carry the IMSI sequence of the terminal to be detected, the second determining module 23 further includes: a sending unit 234 and an analyzing unit 235.
Specifically, the sending unit 234 is configured to send an identity request message to the terminal to be intercepted.
And the analyzing unit 235 is configured to receive and analyze the identity response message sent by the terminal to be detected, obtain the IMSI sequence, and disconnect the connection with the terminal to be detected.
The code detection apparatus for an LTE terminal provided in this embodiment may implement the method embodiments described above, and the implementation principle and technical effects are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of a code detecting apparatus of an LTE terminal according to another embodiment. On the basis of the above embodiment, as shown in fig. 7, the apparatus further includes: an acquisition module 24, a third determination module 25 and a fourth determination module 26.
Specifically, the obtaining module 24 is configured to initiate a random access procedure, establish a connection with an LTE base station where the LTE actual cell is located, and obtain system parameters of the LTE actual cell, where the system parameters include a working frequency point of the LTE actual cell, a cell ID, and a time slot configuration of the LTE actual cell.
A third determining module 25, configured to receive a TA value of a maximum timing advance sent by the LTE base station, and determine a distance between the code detection apparatus and the LTE base station according to the TA value.
A fourth determining module 26, configured to determine the received power of the reference signal of the LTE base station according to the system parameter of the LTE actual cell.
The code detection apparatus of the LTE terminal provided in this embodiment may implement the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the power of the signal transmitted by the configured code detection device is the minimum transmission power satisfying the detection radius.
For specific limitations of the code detecting apparatus for the LTE terminal, reference may be made to the above limitations of the code detecting method for the LTE terminal, which are not described herein again. All or part of each module in the code detecting device of the LTE terminal can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the code detection device, and can also be stored in a memory in the code detection device in a software form, so that the processor can call and execute the corresponding operations of the modules.
In one embodiment, the code detection equipment comprises a receiver, a transmitter, a memory and a processor, wherein the memory stores a computer program, and the processor is used for configuring the code detection equipment according to the frequency point, the cell ID and the time slot configuration of an actual LTE cell where a terminal to be detected is located; determining the power of the signal transmitted by the configured code detection equipment according to the required detection radius, the receiving power of the reference signal of the LTE base station where the LTE actual cell is located and the distance between the code detection equipment and the LTE base station; the power is larger than the transmission power of the LTE base station where the LTE actual cell is located;
the transmitter is configured to transmit an access signal to the terminal to be detected by using the power, so that the terminal to be detected is connected with the configured code detecting device;
the receiver is used for receiving the Msg message of the terminal to be detected;
the processor is further configured to determine an IMSI sequence of the terminal to be intercepted according to the received Msg message of the terminal to be intercepted.
In one embodiment, the processor is further configured to determine the power P of the signal transmitted by the encoding apparatus according to a relation including P + L (d) + L (r) -L (d + r) + β; wherein L (x) is a path loss function with respect to x, x = d or r or d + r, p is a received power of a reference signal of the LTE base station, d is a distance between the detection device and the LTE base station, r is the required detection radius, and β ≧ 0.
In one embodiment, the processor is further configured to: p = P + L (d) + L (r) -L (d + r) + β determines the power P of the signal transmitted by the code detection device.
In one embodiment, the processor is further configured to configure the code detecting device by using a frequency point different from the LTE actual cell, a cell ID different from the LTE actual cell, and a time slot configuration identical to the LTE actual cell.
In one embodiment, the receiver is further configured to receive the Msg5 message of the terminal to be intercepted;
the processor is further configured to determine whether the Msg5 message carries an IMSI sequence of the terminal to be detected; and if so, acquiring the IMSI sequence and disconnecting the connection with the terminal to be detected.
In one embodiment, if the Msg5 message does not carry the IMSI sequence of the terminal to be detected, the transmitter is further configured to send an identity request message to the terminal to be detected;
the receiver is further configured to receive an identity response message sent by the terminal to be detected;
the processor is further configured to analyze the identity response information to obtain the IMSI sequence, and disconnect the IMSI sequence from the terminal to be detected.
In one embodiment, the processor is further configured to initiate a random access procedure, establish a connection with an LTE base station where the LTE actual cell is located, and acquire system parameters of the LTE actual cell, where the system parameters include a working frequency point of the LTE actual cell, a cell ID, and a time slot configuration of the LTE actual cell;
the receiver is further configured to receive a maximum Timing Advance (TA) value sent by the LTE base station;
the processor is further configured to determine a distance between the code detection device and the LTE base station according to the TA value; and determining the receiving power of the reference signal of the LTE base station according to the system parameter of the LTE actual cell.
In one embodiment, the power of the signal transmitted by the transmitter is the minimum transmission power that satisfies the detection radius.
The implementation principle and technical effect of the code detecting device provided in this embodiment are similar to those of the above method embodiments, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, performs the steps of:
configuring the code detecting equipment according to the frequency point, the cell ID and the time slot configuration of an LTE actual cell where the code detecting terminal is located;
determining the power of a signal transmitted by the configured code detecting equipment according to the required detection radius, the receiving power of a reference signal of an LTE base station where the LTE actual cell is located and the distance between the code detecting equipment and the LTE base station, and transmitting an access signal to the terminal to be detected by adopting the power so as to establish connection between the terminal to be detected and the configured code detecting equipment; the power is greater than the transmitting power of an LTE base station where the LTE actual cell is located;
and determining the IMSI sequence of the terminal to be intercepted according to the received Msg message of the terminal to be intercepted.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining the power P of the signal transmitted by the code detection device according to a relational expression containing P + L (d) + L (r) -L (d + r) + beta;
wherein L (x) is a path loss function with respect to x, x = d or r or d + r, p is a received power of a reference signal of the LTE base station, d is a distance between the detection device and the LTE base station, r is the required detection radius, and β ≧ 0.
In one embodiment, the computer program when executed by the processor further performs the steps of:
according to the formula: p = P + L (d) + L (r) -L (d + r) + β determines the power P of the signal transmitted by the encoding device.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and configuring the code detecting equipment by adopting a frequency point different from the LTE actual cell, a cell ID different from the LTE actual cell and a time slot configuration identical to the LTE actual cell.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving the Msg5 message of the terminal to be detected;
judging whether the Msg5 message carries an IMSI sequence of the terminal to be detected;
and if so, acquiring the IMSI sequence and disconnecting the connection with the terminal to be detected.
In one embodiment, if the Msg5 message does not carry the IMSI sequence of the terminal to be intercepted, the computer program when executed by the processor further implements the following steps:
sending an identity request message to the terminal to be detected;
and receiving and analyzing the identity response message sent by the terminal to be detected to obtain the IMSI sequence, and disconnecting the connection with the terminal to be detected.
In one embodiment, the computer program when executed by the processor further performs the steps of:
initiating a random access process, establishing connection with an LTE base station where the LTE actual cell is located, and acquiring system parameters of the LTE actual cell, wherein the system parameters comprise a working frequency point of the LTE actual cell, a cell ID and a time slot configuration of the LTE actual cell;
receiving a TA (maximum timing advance) value sent by the LTE base station, and determining the distance between the code detection equipment and the LTE base station according to the TA value;
and determining the receiving power of the reference signal of the LTE base station according to the system parameter of the LTE actual cell.
In one embodiment, the configured detection apparatus transmits a signal with a power that satisfies the minimum transmission power of the detection radius.
The implementation principle and technical effect of the computer-readable storage medium provided by this embodiment are similar to those of the above-described method embodiment, and are not described herein again.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.
Claims (10)
1. A code detection method of an LTE terminal is characterized by comprising the following steps:
the code detecting equipment is configured by adopting different frequency points, different cell IDs and the same time slot configuration as the LTE actual cell where the code detecting terminal is located; the LTE virtual cell simulated by the code detection equipment and the LTE actual cell have different frequency points, different cell IDs and same time slot configuration;
the configured code detecting equipment determines the power of a signal sent by the configured code detecting equipment according to the required detection radius, the receiving power of a reference signal of an LTE base station where the LTE actual cell is located and the distance between the code detecting equipment and the LTE base station, and sends an access signal to the terminal to be detected by adopting the power so as to establish connection between the terminal to be detected and the configured code detecting equipment; the power is larger than the transmission power of the LTE base station where the LTE actual cell is located;
and the configured code detecting equipment determines the IMSI sequence of the terminal to be detected according to the received Msg5 message of the terminal to be detected, disconnects the connection with the terminal to be detected, and refuses the connection request when the terminal to be detected initiates the connection request with the configured code detecting equipment again.
2. The method of claim 1, wherein the determining, by the configured encoder device, the power of the signal transmitted by the configured encoder device according to the required detection radius, the received power of the reference signal of the LTE base station where the LTE actual cell is located, and the distance between the encoder device and the LTE base station comprises:
the configured code detection equipment determines the power P of a signal transmitted by the code detection equipment according to a relational expression containing P + L (d) + L (r) -L (d + r) + beta;
wherein L (x) is a path loss function with respect to x, x = d or r or d + r, p is a received power of a reference signal of the LTE base station, d is a distance between the detection device and the LTE base station, r is the required detection radius, and β ≧ 0.
3. The method of claim 2, wherein the configured code detecting device determines the power P of the signal transmitted by the code detecting device according to a relationship comprising P + L (d) + L (r) -L (d + r) + β, comprising:
the configured code detecting equipment is characterized in that according to a formula: p = P + L (d) + L (r) -L (d + r) + β determines the power P of the signal transmitted by the code detection device.
4. The method of claim 1, wherein the configured snooping device determines the IMSI sequence of the terminal to be snooped according to the received Msg message of the terminal to be snooped, and comprises:
the configured code detection equipment receives the Msg5 message of the terminal to be detected;
judging whether the Msg5 message carries an IMSI sequence of the terminal to be detected;
and if so, acquiring the IMSI sequence.
5. The method of claim 4, further comprising:
if the Msg5 message does not carry the IMSI sequence of the terminal to be detected, the configured code detecting equipment sends an identity request message to the terminal to be detected;
and the configured code detecting equipment receives and analyzes the identity response message sent by the terminal to be detected to obtain the IMSI sequence.
6. The method of claim 1, wherein before the code detecting device configures the code detecting device according to the frequency point, cell ID and time slot configuration of an actual LTE cell where the terminal to be detected is located, the method further comprises:
the code detection equipment initiates a random access process, establishes connection with an LTE base station where the LTE actual cell is located, and acquires system parameters of the LTE actual cell, wherein the system parameters comprise a working frequency point of the LTE actual cell, a cell ID and time slot configuration of the LTE actual cell;
the code detecting equipment receives a maximum Timing Advance (TA) value sent by the LTE base station, and determines the distance between the code detecting equipment and the LTE base station according to the TA value;
and the code detection equipment determines the receiving power of the reference signal of the LTE base station according to the system parameters of the LTE actual cell.
7. The method according to any of claims 1-6, wherein the configured detection device transmits a signal with a power that is the minimum transmit power that satisfies the detection radius.
8. A code detection device of an LTE terminal is characterized by comprising:
the configuration module is used for configuring the code detecting device by adopting different frequency points, different cell IDs and the same time slot configuration as the LTE actual cell where the code detecting terminal is located; the LTE virtual cell simulated by the code detecting device has different frequency points, different cell IDs and same time slot configuration with the LTE actual cell;
the first determining module is used for determining the power of a signal sent by the configured code detecting device according to the required detection radius, the receiving power of a reference signal of an LTE base station where the LTE actual cell is located and the distance between the code detecting device and the LTE base station, and sending an access signal to the terminal to be detected by adopting the power so as to establish connection between the terminal to be detected and the configured code detecting device; the power is greater than the transmitting power of an LTE base station where the LTE actual cell is located;
and the second determining module is used for determining the IMSI sequence of the terminal to be detected according to the received Msg5 message of the terminal to be detected, disconnecting the connection with the terminal to be detected and rejecting the connection request when the terminal to be detected initiates the connection request with the configured code detecting equipment again.
9. An encoding apparatus comprising a receiver, a transmitter, a memory, and a processor, the memory storing a computer program, characterized in that,
the processor is used for configuring the code detecting equipment by adopting different frequency points, different cell IDs and the same time slot configuration as the LTE actual cell in which the code detecting terminal is positioned; determining the power of the signal transmitted by the configured code detection equipment according to the required detection radius, the receiving power of the reference signal of the LTE base station where the LTE actual cell is located and the distance between the code detection equipment and the LTE base station; the LTE virtual cell simulated by the code detecting equipment is different from the LTE actual cell in frequency point, cell ID and time slot configuration; the power is larger than the transmitting power of the LTE base station where the LTE actual cell is located;
the transmitter is used for transmitting an access signal to the terminal to be detected by adopting the power so as to establish connection between the terminal to be detected and the configured code detecting equipment;
the receiver is used for receiving the Msg5 message of the terminal to be intercepted;
the processor is further configured to determine an IMSI sequence of the terminal to be intercepted according to the received Msg5 message of the terminal to be intercepted.
10. A computer-readable storage medium, on 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 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910326478.6A CN110139269B (en) | 2019-04-23 | 2019-04-23 | Code detection method and device of LTE terminal, code detection equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910326478.6A CN110139269B (en) | 2019-04-23 | 2019-04-23 | Code detection method and device of LTE terminal, code detection equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110139269A CN110139269A (en) | 2019-08-16 |
CN110139269B true CN110139269B (en) | 2023-04-11 |
Family
ID=67570726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910326478.6A Active CN110139269B (en) | 2019-04-23 | 2019-04-23 | Code detection method and device of LTE terminal, code detection equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110139269B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111181996B (en) * | 2020-01-06 | 2022-07-19 | 武汉烽合智达信息技术有限责任公司 | Code detection image implementation method and system based on distributed multi-connection architecture |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015177600A1 (en) * | 2014-05-21 | 2015-11-26 | Pismo Labs Technology Limited | Methods and systems for configuring radio frequency module |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631302B (en) * | 2008-07-14 | 2012-03-07 | 中兴通讯股份有限公司 | Method and device for acquiring international mobile subscriber identity of mobile communication terminal by base station |
CN102638900B (en) * | 2011-02-15 | 2014-11-19 | 电信科学技术研究院 | Method and device for establishing connection |
CN104853339A (en) * | 2014-02-19 | 2015-08-19 | 中兴通讯股份有限公司 | Signal processing method and device |
CN104243167A (en) * | 2014-09-29 | 2014-12-24 | 重庆大学 | Method and system for intelligently perceiving identities on basis of mobile terminals |
CN105282778A (en) * | 2015-06-01 | 2016-01-27 | 南京纳凯永馨信息科技有限公司 | LTE terminal positioning method and simulate base station |
CN107396339A (en) * | 2016-05-16 | 2017-11-24 | 大唐移动通信设备有限公司 | A kind of international mobile subscriber identity IMSI acquisition methods and system |
CN106792498A (en) * | 2016-11-11 | 2017-05-31 | 中国科学院信息工程研究所 | Obtain method, system, management platform and the virtual base station of the position of user equipment |
CN107124712A (en) * | 2017-04-17 | 2017-09-01 | 湖南超云信息科技有限公司 | A kind of method that LTE detects code, system and equipment |
CN109429237A (en) * | 2017-06-27 | 2019-03-05 | 北京中科晶上超媒体信息技术有限公司 | A kind of method and system obtaining mobile subscriber identifier under LTE network |
CN107659894B (en) * | 2017-11-08 | 2020-04-10 | 武汉邮电科学研究院有限公司 | 4G positioning method and device for reducing public network interference |
CN108260124A (en) * | 2018-01-11 | 2018-07-06 | 阳光凯讯(北京)科技有限公司 | A kind of method for detecing code and management and control for 4G terminals |
CN108289318A (en) * | 2018-01-26 | 2018-07-17 | 重庆邮电大学 | A kind of LTE terminal management-control method based on signaling process |
CN108933989A (en) * | 2018-06-26 | 2018-12-04 | 重庆邮电大学 | A kind of IMSI extracting method of 4G electronic enclosure system |
-
2019
- 2019-04-23 CN CN201910326478.6A patent/CN110139269B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015177600A1 (en) * | 2014-05-21 | 2015-11-26 | Pismo Labs Technology Limited | Methods and systems for configuring radio frequency module |
Non-Patent Citations (2)
Title |
---|
Thanh van Do .Detecting IMSI-Catcher Using Soft Computing .《IEEE》.2015,全文. * |
陈令.获取4G用户身份信息的设计与实现 . 《信息技术》 .2018,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN110139269A (en) | 2019-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210377774A1 (en) | Signal transmission method and apparatus | |
CN103428818B (en) | Terminal device discovery method, device and system | |
EP2804424B1 (en) | Connection setup method and device for wireless network | |
CN109923890B (en) | Measurement method, terminal device, network device, and computer-readable storage medium | |
CN112205008A (en) | Ranging method, communication node, communication device and storage medium | |
CN104662995B (en) | A kind of method, apparatus and system of connection network | |
CN109672979B (en) | Dual-card communication method and device | |
US11706683B2 (en) | Wireless roaming method and device, storage medium, and access point device | |
US20170150475A1 (en) | Positioning method and apparatus and communication system | |
KR102016866B1 (en) | Signal Processing Method and Related Devices | |
US10285158B2 (en) | Method and arrangement for triggering paging profiling | |
WO2018053766A1 (en) | Communications method, terminal device and network device | |
US11706588B2 (en) | Positioning method and apparatus for UE | |
EP4391602A1 (en) | Method and apparatus for establishing sensing channel, communication device, storage medium and system | |
CN104936211A (en) | Wireless resource distribution method | |
CN110276874B (en) | Gate management method and system and access control management system | |
CN110139269B (en) | Code detection method and device of LTE terminal, code detection equipment and readable storage medium | |
US11979819B2 (en) | Communication method and apparatus | |
EP3484117B1 (en) | Csi obtaining method and server | |
CN112040551A (en) | Signal transmission method, device, equipment and storage medium of multilink equipment | |
CN109714722B (en) | Management method and device of indoor antenna, electronic equipment and storage medium | |
CN107079489A (en) | Method for transmitting signals and the network equipment | |
CN112655273A (en) | Network identifier display method, terminal equipment and network equipment | |
CN112738795B (en) | Terminal distance and direction measuring method, device, server and storage medium | |
KR20100038256A (en) | Apparatus and method of detecting distance in wireless communication system |
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 |