Method, device and computer readable storage medium for checking a false cell

By performing consistency checks on the MIBs of candidate cells in the LTE system, the problem of false cell access is solved, ensuring that electronic devices access real cells and improving the accuracy and reliability of access.

CN116249138BActive Publication Date: 2026-06-26BEIJING ESWIN COMPUTING TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING ESWIN COMPUTING TECH CO LTD
Filing Date
2022-12-30
Publication Date
2026-06-26

Smart Images

  • Figure CN116249138B_ABST
    Figure CN116249138B_ABST
Patent Text Reader

Abstract

The application discloses a false cell checking method and device, equipment and a computer readable storage medium, and relates to the technical field of communication. The method is applied to an electronic device, and the electronic device is applied to an LTE system. The method comprises the following steps: acquiring a first MIB of PBCH transmission of a candidate cell, the candidate cell corresponding to the LTE system; performing consistency checking on the first MIB according to a reference MIB rule, the reference MIB rule being used for indicating at least one reference MIB of PBCH transmission of a real cell, and the consistency checking being used for checking whether the first MIB is consistent with the at least one reference MIB; and determining that the candidate cell is a false cell based on the fact that the first MIB does not pass the consistency checking. In the method, the candidate cell is determined to be a false cell in the case that the first MIB does not pass the consistency checking, so that the false cell can be excluded, and the electronic device can be prevented from accessing the false cell.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus, device, and computer-readable storage medium for detecting fake cells. Background Technology

[0002] In Long Term Evolution (LTE) systems, if electronic devices do not store a cell list, they will perform a full-band scan of the corresponding frequency band and identify cells within that band based on the detected signal peaks. When multiple cells exist within a frequency band, their signals may overlap, resulting in false signal peaks among the detected peaks. Cells identified based on these false peaks are called false cells. Therefore, a method for detecting false cells is needed to exclude them from the identified cell list, preventing electronic devices from accessing false cells. Summary of the Invention

[0003] This application provides a method, apparatus, device, and computer-readable storage medium for detecting fake cells. The technical solution is as follows:

[0004] On the one hand, this application provides a method for detecting fake cells, which is applied to an electronic device in an LTE system, and the method includes:

[0005] Obtain the first master information block (MIB) transmitted on the physical broadcast channel (PBCH) of the candidate cell, which corresponds to the LTE system;

[0006] A consistency check is performed on the first MIB according to the reference MIB rule. The reference MIB rule is used to indicate at least one reference MIB in the PBCH transmission of the real cell. The consistency check is used to check whether the first MIB is consistent with at least one reference MIB.

[0007] Based on the failure of the first MIB to pass the consistency check, the candidate cell was determined to be a fake cell.

[0008] In one possible implementation, the first MIB includes first downlink system bandwidth indication information, and the reference MIB rule includes at least one candidate downlink system bandwidth indication information; since the first downlink system bandwidth indication information is different from each candidate downlink system bandwidth indication information, the first MIB fails the consistency check.

[0009] In one possible implementation, the first MIB includes first reserved bit field information, and the reference MIB rule includes at least one candidate reserved bit field information; since the first reserved bit field information is different from each candidate reserved bit field information, the first MIB fails the consistency check.

[0010] In one possible implementation, the first MIB includes first radio frame number indication information, which is used to obtain the first radio frame number. The method further includes: obtaining a second MIB of the PBCH transmission of the candidate cell based on the first MIB through a consistency check. The second MIB includes second radio frame number indication information, which is used to obtain the second radio frame number.

[0011] Obtain the first wireless frame number according to the first wireless frame number indication information, obtain the second wireless frame number according to the second wireless frame number indication information, and obtain the reference time interval corresponding to the frame number difference between the first wireless frame number and the second wireless frame number;

[0012] If the difference between the reference time interval and the acquisition time interval is greater than the time interval threshold, the candidate cell is determined to be a false cell, and the acquisition time interval is the time interval between acquiring the first MIB and the second MIB.

[0013] In one possible implementation, the PBCH of the candidate cell also transmits a cyclic redundancy check (CRC) code, and before performing a consistency check on the first MIB according to the reference MIB rules, it also includes:

[0014] Perform CRC verification on the PBCH transmission of the candidate cell;

[0015] Based on CRC verification, a consistency check is performed on the first MIB according to the reference MIB rules.

[0016] In one possible implementation, the PBCH of the candidate cell also transmits a Cyclic Redundancy Check (CRC) code, and the method further includes:

[0017] Based on the first MIB passing the consistency check, CRC verification is performed on the CRC of the PBCH transmission of the candidate cell.

[0018] The candidate cell was determined to be a fake cell because the CRC check failed.

[0019] In one possible implementation, the LTE system corresponds to multiple cells, and the candidate cell is a neighboring cell of the real cell among the multiple cells, and the electronic device camps on the real cell.

[0020] On the other hand, a device for detecting fake cells is provided, which is applied to an electronic device used in an LTE system, and the device includes:

[0021] The acquisition module is used to acquire the first MIB of the PBCH transmission of the candidate cell, which corresponds to the LTE system.

[0022] The checking module is used to perform a consistency check on the first MIB according to the reference MIB rules. The reference MIB rules are used to indicate at least one reference MIB in the PBCH transmission of the real cell. The consistency check is used to check whether the first MIB is consistent with at least one reference MIB.

[0023] The determination module is used to determine whether a candidate cell is a false cell based on the fact that the first MIB fails the consistency check.

[0024] In one possible implementation, the first MIB includes first downlink system bandwidth indication information, and the reference MIB rule includes at least one candidate downlink system bandwidth indication information; since the first downlink system bandwidth indication information is different from each candidate downlink system bandwidth indication information, the first MIB fails the consistency check.

[0025] In one possible implementation, the first MIB includes first reserved bit field information, and the reference MIB rule includes at least one candidate reserved bit field information; since the first reserved bit field information is different from each candidate reserved bit field information, the first MIB fails the consistency check.

[0026] In one possible implementation, the first MIB includes first radio frame number indication information, which is used to acquire the first radio frame number. The acquisition module is further configured to acquire a second MIB of the PBCH transmission of the candidate cell based on the first MIB through a consistency check. The second MIB includes second radio frame number indication information, which is used to acquire the second radio frame number. The module acquires the first radio frame number based on the first radio frame number indication information and the second radio frame number based on the second radio frame number indication information. It acquires a reference time interval corresponding to the frame number difference between the first and second radio frame numbers. The determination module is further configured to determine that the candidate cell is a false cell based on the difference between the reference time interval and the acquisition time interval being greater than a time interval threshold. The acquisition time interval is the time interval between acquiring the first MIB and the second MIB.

[0027] In one possible implementation, the PBCH of the candidate cell also transmits CRC, and the checking module is also used to perform CRC verification on the CRC transmitted by the PBCH of the candidate cell; based on the CRC verification, the operation of performing a consistency check on the first MIB according to the reference MIB rules is performed.

[0028] In one possible implementation, the PBCH of the candidate cell also transmits a Cyclic Redundancy Check (CRC) code. The checking module is also used to perform CRC verification on the CRC transmitted in the PBCH of the candidate cell based on the first MIB passing the consistency check. The determining module is also used to determine the candidate cell as a false cell based on the CRC failing the CRC verification.

[0029] In one possible implementation, the LTE system corresponds to multiple cells, and the candidate cell is a neighboring cell of the real cell among the multiple cells, and the electronic device camps on the real cell.

[0030] On the other hand, a computer device is provided, comprising a processor and a memory, wherein at least one piece of program code is stored in the memory, and the at least one piece of program code is loaded and executed by the processor to enable the computer device to implement any of the above-described methods for detecting spoofed cells.

[0031] On the other hand, a computer-readable storage medium is also provided, which stores at least one computer program, which is loaded and executed by a processor to enable the computer to implement any of the above-described methods for detecting fake cells.

[0032] On the other hand, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the aforementioned methods for detecting spoofed cells.

[0033] The technical solution provided in this application brings at least the following beneficial effects:

[0034] In this application, a consistency check is performed on the first MIB of the PBCH transmission of the candidate cell according to the reference MIB rules. If the first MIB fails the consistency check, the candidate cell is determined to be a false cell, thereby eliminating false cells and preventing electronic devices from accessing false cells. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 This is a schematic diagram of an implementation environment provided in an embodiment of this application;

[0037] Figure 2 This is a flowchart of a method for detecting fake cells provided in an embodiment of this application;

[0038] Figure 3 This is a flowchart of another method for detecting fake cells provided in an embodiment of this application;

[0039] Figure 4 This is a schematic diagram of the structure of a fake cell detection device provided in an embodiment of this application;

[0040] Figure 5 This is a schematic diagram of another fake cell detection device provided in an embodiment of this application;

[0041] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0043] In LTE systems, the process by which electronic devices acquire cells through full-band scanning typically involves: at the physical layer, dividing the scanning frequency bands assigned by higher layers into smaller bands spaced 100 kilohertz (kHz) apart; then scanning the signal at the center frequency of each smaller band; and determining the probability of a cell existing at each frequency point based on the scanned signal strength. Next, the electronic device ranks the probability of a cell existing at each frequency point at the physical layer, and reports the frequency band containing the frequency point with the highest probability of a cell existing to the higher layers. The higher layers then instruct the electronic device to perform a cell search within that frequency band at the physical layer to acquire cells.

[0044] The process of cell search for a frequency band to acquire cells may include scanning the signals in the band and acquiring cells based on the peak values ​​of the scanned signals. If multiple cells are acquired, the electronic device can read broadcast information from multiple cells and select one to initiate random access and camp on. After successfully accessing and camping on this cell, the electronic device needs to acquire neighboring cells on the same or different frequencies to meet the mobility requirements for cell reselection and handover. The method for acquiring neighboring cells is similar to the process of acquiring cells described above and will not be repeated here. Whether acquiring cells during the frequency scanning phase or the phase of acquiring neighboring cells, if multiple cells exist within the frequency band, the signals of these cells may overlap, resulting in false signal peaks in the scanned signal peaks, and consequently, acquiring false cells based on these false signal peaks.

[0045] This application provides a method for detecting fake cells, which is used to check the acquired cells in order to prevent electronic devices from accessing fake cells. Figure 1 This is a schematic diagram of an implementation environment provided in an embodiment of this application, such as... Figure 1 As shown, the implementation environment includes: electronic device 101 and base station 102.

[0046] Electronic device 101 may be a terminal for accessing a cell or a frequency scanner for acquiring cell information. The terminal may be at least one of a smartphone, game console, desktop computer, tablet computer, e-book reader, MP3 (moving picture experts group audio layer III) player, MP4 (moving picture experts group audio layer IV) player, and laptop computer.

[0047] Electronic device 101 is used to execute the fake cell detection method provided in the embodiments of this application. Furthermore, electronic device 101 can be applied to an LTE system. Base station 102 can be applied to the LTE system where electronic device 101 is located, and base station 102 and electronic device 101 communicate via a network. Base station 102 can be an evolved Node B (eNB). Figure 1 The implementation environment shown may include multiple electronic devices 101 and / or multiple base stations 102. Figure 1 This application uses only one electronic device 101 and one base station 102 as an example for illustration, and does not limit the scope of this application. Furthermore, in the case where the implementation environment includes multiple electronic devices 101 and / or base stations 102, the types of the multiple electronic devices 101 may be the same or different, and the types of the multiple base stations 102 may be the same or different, and this application does not limit the scope of this application either.

[0048] The method for detecting fake cells provided in this application embodiment can be applied to... Figure 1 The implementation environment shown is such that the method is executed by an electronic device applied to an LTE system. The flowchart of the method is as follows: Figure 2 As shown, this includes, but is not limited to, steps 201 to 203.

[0049] Step 201: Obtain the first MIB of the PBCH transmission of the candidate cell, which corresponds to the LTE system.

[0050] In this embodiment, candidate cells can be obtained by scanning the frequency band range corresponding to the LTE system, or by scanning a portion of the frequency bands within the frequency band range corresponding to the LTE system. For example, if an electronic device only supports operation within a portion of the frequency bands within the frequency band range corresponding to the LTE system, the electronic device can scan only that portion of the frequency bands to obtain candidate cells.

[0051] This application does not limit the method of obtaining candidate cells by scanning a frequency band. For example, an electronic device scans a signal within a reference range centered on the frequency point of the frequency band. At the location of the peak signal detected, a primary synchronization signal (PSS) is detected, and then a secondary synchronization signal (SSS) is detected based on the detected PSS. Candidate cells are obtained based on the detected PSS and SSS. The reference range can be set according to experience or actual needs, and this application does not limit it. The operation of detecting the signal using PSS until a candidate cell is obtained can be referred to the following process.

[0052] For example, if the PSS occupies 62 of the 72 subcarriers in the center of the signal in the frequency domain, then when performing PSS detection, the received time-domain signal can be downsampled to reduce computational complexity, for example, the sampling rate can be reduced to 1.92 million samples per second (Msps) or 0.96 Msps. Furthermore, in LTE systems, the PSS transmission period is 5 milliseconds (ms), so the 5ms time-domain signal can be sampled, and the sampled data can be combined with the local synchronization sequence number of the electronic device. Correlation operations are performed on the three corresponding local PSSs to obtain the position and sum of the PSSs in the time-domain signal. The primary synchronization sequence number is the synchronization sequence number corresponding to the PSS. The above process can be mapped to... Figure 3 The PSS detection is shown.

[0053] After obtaining the PSS, frequency offset estimation can be performed based on the PSS. This application does not limit the method of frequency offset estimation based on the PSS. The estimated frequency offset can be used to correct the time-domain signal, and then SSS detection can be performed on the time-domain signal after frequency correction. For example, the position of the SSS in the frequency-corrected time-domain signal is calculated based on the position of the PSS, and the SSS sequence is obtained based on the position of the SSS. The influence of the channel on the SSS sequence is estimated based on the PSS, and the SSS sequence is compensated based on the estimated influence. Then, the compensated SSS sequence is numbered with the 168 auxiliary synchronization sequences locally on the electronic device. Perform correlation operations on the corresponding sequences, and select the highest correlation value from the multiple correlation values ​​obtained from the correlation operations. As a means of obtaining candidate cells The secondary synchronization sequence number is the number of the synchronization sequence corresponding to the SSS. This application does not limit the frequency correction method, the impact of estimating the channel's influence on the SSS sequence based on the PSS, or the method of compensating the SSS sequence. The above process can correspond to... Figure 3 The frequency offset estimation and compensation, as well as SSS detection, are shown.

[0054] In the embodiments of this application, It can be used to represent the intra-group identifier (ID) of a candidate cell. The cell group ID, which can be used to represent the cell group to which the candidate cell belongs, is then determined according to... and It is possible to obtain the ID of the candidate cell, for example, the candidate cell's

[0055] For example, after obtaining the candidate cell ID, the cell-specific reference signal (CRS) of the candidate cell is obtained based on the candidate cell ID. Channel estimation is then performed on the PBCH based on the CRS, thereby obtaining the first MIB of the PBCH transmission. This application embodiment does not limit the method of obtaining the CRS based on the candidate cell ID, nor the method of performing channel estimation on the PBCH based on the CRS. The first MIB can be obtained by performing channel equalization, demodulation, descrambling, and decoding on the PBCH. This application embodiment also does not limit the method of performing channel equalization, demodulation, descrambling, and decoding. The above process can correspond to... Figure 3 The PBCH demodulation is shown.

[0056] The method provided in this application can be executed during the frequency scanning phase or during the phase of acquiring neighboring cells. When the method is executed during the frequency scanning phase, if the acquired candidate cell is a real cell, then the candidate cell can be the cell that the electronic device will access and camp on. When the method is executed during the phase of acquiring neighboring cells, the LTE system will have multiple cells, and the electronic device camps on one of these real cells. The candidate cell is a neighboring cell of the real cell where the electronic device camps.

[0057] Step 202: Perform a consistency check on the first MIB according to the reference MIB rules. The reference MIB rules are used to indicate at least one reference MIB in the PBCH transmission of the real cell. The consistency check is used to check whether the first MIB is consistent with at least one reference MIB.

[0058] The reference MIB rules can be derived from the 3rd Generation Partnership Project (3GPP) technical specification (TS) 36.331. In other words, the reference MIB rules can include the reference MIBs that the PBCH of a real cell needs to transmit as specified in 3GPP TS 36.331.

[0059] For example, a first MIB includes first downlink system bandwidth indication information, and a reference MIB rule includes at least one candidate downlink system bandwidth indication information. Then, a consistency check is performed on the first MIB according to the reference MIB rule, including: determining whether any of the at least one candidate downlink system bandwidth indication information is identical to the first downlink system bandwidth indication information. Since the first downlink system bandwidth indication information differs from all candidate downlink system bandwidth indication information, i.e., the first MIB differs from the reference MIB rule, the first MIB fails the consistency check.

[0060] For example, according to the 3GPP TS 36.331 protocol, the MIB includes 24 bits, of which 3 bits are used to indicate the downlink system bandwidth. That is, the downlink system bandwidth indication information includes 3 bits. When the 3 bits are 000, the downlink system bandwidth equals 6 resource blocks (RBs); when the 3 bits are 001, the downlink system bandwidth equals 15 RBs; when the 3 bits are 010, the downlink system bandwidth equals 25 RBs; when the 3 bits are 011, the downlink system bandwidth equals 50 RBs; when the 3 bits are 100, the downlink system bandwidth equals 75 RBs; and when the 3 bits are 101, the downlink system bandwidth equals 100 RBs. Here, 1 RB corresponds to 180 kHz. In other words, if the 3 bits included in the first MIB are 110 or 111, the first MIB fails the consistency check, and the candidate cell is a false cell.

[0061] For example, a first MIB includes first reserved bit field information, and a reference MIB rule includes at least one candidate reserved bit field information. Then, a consistency check is performed on the first MIB according to the reference MIB rule, including: determining whether any of the at least one candidate reserved bit field information is identical to the first reserved bit field information. Since the first reserved bit field information differs from all candidate reserved bit field information, i.e., the first MIB differs from the reference MIB rule, the first MIB fails the consistency check.

[0062] For example, according to the 3GPP TS 36.331 protocol, 10 bits of the 24 bits included in the MIB are reserved fields, and all 10 bits of the reserved fields are 0. Therefore, if these 10 bits in the first MIB are not all 0, the first MIB fails the consistency check, and the candidate cell is a false cell.

[0063] In this embodiment, the consistency check based on the first downlink system bandwidth indication information and the consistency check based on the first reserved bit field information can be performed concurrently. For example, if the first MIB passes one of the two consistency checks, the other consistency check is then performed. This embodiment does not limit the execution order of the two consistency checks. This method provides a flexible approach to performing consistency checks on the first MIB. Furthermore, when multiple consistency checks are performed, the consistency check on the first MIB is more comprehensive, thus ensuring a higher reliability of the candidate cell as a real cell when the first MIB passes multiple consistency checks. The above consistency check process can be corresponding to... Figure 3 The MIB conformance check is shown.

[0064] Step 203: Based on the fact that the first MIB failed the consistency check, the candidate cell is determined to be a fake cell.

[0065] Based on the content of step 202 above, if the first MIB fails the consistency check, the candidate cell can be determined to be a false cell. In one possible implementation, the first MIB also includes other information besides the first downlink bandwidth indication information and the first reserved bit field information mentioned above. For example, the first MIB also includes first radio frame number indication information, which is used to obtain the first radio frame number. Then, if the electronic device also obtains a second MIB transmitted by the PBCH of the candidate cell when the first MIB passes the consistency check, and this second MIB is used to obtain the second radio frame number, the electronic device can further check the candidate cell based on the first radio frame number indication information, the second radio frame number indication information, and the time interval between obtaining the first and second MIBs. The method by which the electronic device obtains the second MIB is in the same principle as the method by which it obtains the first MIB, and will not be repeated here.

[0066] For example, in this case, the electronic device obtains the first radio frame number according to the first radio frame number indication information, obtains the second radio frame number according to the second radio frame number indication information, and then obtains the reference time interval corresponding to the frame number difference between the first radio frame number and the second radio frame number. Based on the fact that the difference between the reference time interval and the obtained time interval is greater than the time interval threshold, the candidate cell is determined to be a false cell, wherein the obtained time interval is the time interval between obtaining the first MIB and the second MIB.

[0067] In the method provided in this application embodiment, the MIB is transmitted every 10ms. Therefore, the reference time interval can be equal to the product of the frame number difference and 10ms. The difference between the reference time interval and the acquisition time interval being less than or equal to a time interval threshold can be considered approximately equal. The specific value of the time interval threshold can be set based on experience or actual needs, and this application embodiment does not limit this. If the first MIB passes the consistency check, further determining whether the candidate cell is a false cell based on the subsequently received second MIB ensures the effectiveness of the false cell detection. The above process can correspond to... Figure 3 The check is shown based on a reference time interval.

[0068] For example, according to the 3GPP TS 36.331 protocol, the radio frame number includes 10 bits. Of the 24 bits in the MIB, 8 bits correspond to the high 8 bits of the radio frame number, and the low 2 bits are reflected in the scrambling method of the PBCH. That is, the low 2 bits of the first radio frame number can be obtained when the first MIB is obtained by descrambling the PBCH, and the low 2 bits of the second radio frame number can be obtained when the second MIB is obtained by descrambling the PBCH. The 8 bits in the first MIB corresponding to the first radio frame number are the first frame number indication information, and the 8 bits in the second MIB corresponding to the second radio frame number are the second frame number indication information, thereby enabling the acquisition of both the first and second radio frame numbers.

[0069] Since the range of the wireless frame number can be from 0 to 1023, if the second wireless frame number is less than the first wireless frame number, the second wireless frame number can be added to an integer multiple of 1024, and then the difference between the second and first wireless frame numbers can be calculated. For example, when an electronic device counts the number of received MIBs, the integer multiple can be determined based on the number of MIBs between the first and second MIBs.

[0070] Of course, the first MIB may also include other information besides the first downlink system bandwidth indication information, the first reserved bit field information, and the first radio frame number indication information. For example, according to the 3GPP TS 36.331 protocol, in the 24 bits included in the MIB, 1 bit is used to indicate the time-domain persistence information of the physical hybrid ARQ indicator channel (PHICH), where 0 is used to indicate the normal duration and 1 is used to indicate the extended duration. Furthermore, 2 bits of the 24 bits are used to indicate PHICH resource information, where 00, 01, 10, and 11 are used to indicate that the PHICH parameter (Ng) takes values ​​of 1 / 6, 1 / 2, 1, and 2, respectively.

[0071] In one possible implementation, the method for determining whether a candidate cell is a fake cell can be combined with CRC check to further ensure the effectiveness of fake cell detection.

[0072] For example, the PBCH of the candidate cell also transmits CRC. For instance, the PBCH transmits an information block including a first MIB and a CRC. Before performing a consistency check on the first MIB according to the reference MIB rules, the method may further include: performing CRC verification on the CRC transmitted in the PBCH of the candidate cell; and, based on the CRC verification, performing a consistency check on the first MIB according to the reference MIB rules. This application does not limit the method of CRC verification; the method of CRC verification can correspond to the type of CRC. For example, if the CRC transmitted in the PBCH includes 16 bits, then the CRC verification method is the CRC-16 verification method.

[0073] The CRC check can also be performed after the consistency check. For example, if the PBCH of the candidate cell is still transmitting a CRC, the method further includes: performing a CRC check on the CRC transmitted on the PBCH of the candidate cell based on the first MIB passing the consistency check; and determining the candidate cell as a false cell based on the CRC failing the CRC check. The execution order of CRC check and consistency check is relatively flexible.

[0074] In the method provided in this application embodiment, a consistency check is performed on the first MIB of the PBCH transmission of the candidate cell according to the reference MIB rules. If the first MIB fails the consistency check, the candidate cell is determined to be a false cell, thereby eliminating false cells and preventing electronic devices from accessing false cells.

[0075] Furthermore, when performing multiple consistency checks and CRC checks, the detection of fake cells is quite effective. For example, the false detection probability of a 16-bit CRC check is 1 / 2. 16 =1 / 65536, meaning the probability that the CRC check of the PBCH transmission of a fake cell will pass the CRC check is 1 / 65536. Furthermore, the probability of passing the consistency check performed based on the first downlink system bandwidth indication information is 3 / 4, and the probability of passing the consistency check performed based on the first reserved bit field information is 1 / 1024. Therefore, for a fake cell, the probability that the CRC check, the consistency check performed based on the first downlink system bandwidth indication information, and the consistency check performed based on the first reserved bit field information will all pass is 1.1176e-8, meaning the detection effect on fake cells is relatively good.

[0076] See Figure 4 This application provides a device for detecting fake cells. The device is applied to an electronic device in an LTE system. The device includes:

[0077] The acquisition module 401 is used to acquire the first MIB of the PBCH transmission of the candidate cell, and the candidate cell corresponds to the LTE system;

[0078] The inspection module 402 is used to perform a consistency check on the first MIB according to the reference MIB rules. The reference MIB rules are used to indicate at least one reference MIB in the PBCH transmission of the real cell. The consistency check is used to check whether the first MIB is consistent with at least one reference MIB.

[0079] The determination module 403 is used to determine that the candidate cell is a false cell based on the fact that the first MIB has failed the consistency check.

[0080] In one possible implementation, the first MIB includes first downlink system bandwidth indication information, and the reference MIB rule includes at least one candidate downlink system bandwidth indication information; since the first downlink system bandwidth indication information is different from each candidate downlink system bandwidth indication information, the first MIB fails the consistency check.

[0081] In one possible implementation, the first MIB includes first reserved bit field information, and the reference MIB rule includes at least one candidate reserved bit field information; since the first reserved bit field information is different from each candidate reserved bit field information, the first MIB fails the consistency check.

[0082] In one possible implementation, the first MIB includes first radio frame number indication information, which is used to acquire the first radio frame number. The acquisition module 401 is further configured to acquire the second MIB of the PBCH transmission of the candidate cell based on the first MIB through a consistency check. The second MIB includes second radio frame number indication information, which is used to acquire the second radio frame number. The module acquires the first radio frame number based on the first radio frame number indication information and the second radio frame number based on the second radio frame number indication information. The module acquires a reference time interval corresponding to the frame number difference between the first and second radio frame numbers. The determination module 403 is further configured to determine that the candidate cell is a false cell based on the difference between the reference time interval and the acquisition time interval being greater than a time interval threshold. The acquisition time interval is the time interval between acquiring the first MIB and the second MIB.

[0083] In one possible implementation, the PBCH of the candidate cell also transmits CRC, and the checking module 402 is also used to perform CRC verification on the CRC transmitted by the PBCH of the candidate cell; based on the CRC verification, the operation of performing a consistency check on the first MIB according to the reference MIB rules is performed.

[0084] In one possible implementation, the PBCH of the candidate cell also transmits a CRC. The checking module 402 is further configured to perform CRC verification on the CRC transmitted in the PBCH of the candidate cell based on the first MIB passing the consistency check. The determining module 403 is further configured to determine the candidate cell as a false cell based on the CRC failing the CRC verification.

[0085] In one possible implementation, the LTE system corresponds to multiple cells, and the candidate cell is a neighboring cell of the real cell among the multiple cells, and the electronic device camps on the real cell.

[0086] In the apparatus provided in this application embodiment, a consistency check is performed on the first MIB of the PBCH transmission of the candidate cell according to the reference MIB rules. If the first MIB fails the consistency check, the candidate cell is determined to be a false cell, thereby eliminating false cells and preventing electronic devices from accessing false cells.

[0087] It should be noted that the above embodiments of the device are only illustrated by the division of the above functional modules when implementing their functions. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. For example, such as Figure 5 As shown, the function of the acquisition module 401 can be implemented by the PSS detection module 501, the frequency offset estimation and compensation module 502, the SSS detection module 503, and the PBCH demodulation module 504. The functions of the checking module 402 and the determining module 403 are implemented by the MIB consistency checking module 505 and the time interval checking module 506. Furthermore, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, which will not be repeated here.

[0088] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Electronic devices can vary significantly due to differences in configuration or performance. They may include one or more processors 601 and one or more memories 602. The one or more memories 602 store at least one computer program, which is loaded and executed by the one or more processors 601 to enable the electronic device to perform the aforementioned functions. Figure 2 and Figure 3 The illustrated method embodiment provides a method for detecting fake cells. The processor 601 can be a central processing unit (CPU). Of course, the electronic device may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The electronic device may also include other components for implementing device functions, which will not be elaborated here.

[0089] In an exemplary embodiment, a computer device is also provided, comprising a processor and a memory, wherein at least one computer program is stored in the memory. The at least one computer program is loaded and executed by one or more processors to enable the computer device to implement any of the aforementioned methods for detecting spoofed cells.

[0090] In an exemplary embodiment, a computer-readable storage medium is also provided, storing at least one computer program. This computer program is loaded and executed by a processor of a computer device to enable the computer to implement any of the aforementioned methods for detecting fake cells. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, or optical data storage device, etc.

[0091] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the aforementioned methods for detecting spoofed cells.

[0092] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the calibration data involved in this application were all obtained under fully authorized conditions.

[0093] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0094] The above are merely exemplary embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A method for detecting fake residential communities, characterized in that, The method is applied to an electronic device, the electronic device being used in a Long Term Evolution (LTE) system, and the method includes: Obtain the first main information block (MIB) transmitted on the Physical Broadcast Channel (PBCH) of the candidate cell, wherein the candidate cell corresponds to the LTE system, and the first MIB includes first downlink system bandwidth indication information; A consistency check is performed on the first MIB according to the reference MIB rule, wherein the reference MIB rule is used to indicate at least one reference MIB for PBCH transmission in the real cell, and the consistency check is used to check whether the first MIB is consistent with the at least one reference MIB. The reference MIB rule includes at least one candidate downlink system bandwidth indication information. Since the first downlink system bandwidth indication information is different from each candidate downlink system bandwidth indication information, the first MIB fails the consistency check. Based on the fact that the first MIB failed the consistency check, the candidate cell is determined to be a fake cell.

2. The method according to claim 1, characterized in that, The first MIB also includes first reserved bit field information, and the reference MIB rule also includes at least one candidate reserved bit field information; since the first reserved bit field information is different from each candidate reserved bit field information, the first MIB fails the consistency check.

3. The method according to claim 1, characterized in that, The first MIB further includes first radio frame number indication information, which is used to obtain the first radio frame number. The method further includes: Based on the first MIB, the second MIB of the PBCH transmission of the candidate cell is obtained through the consistency check. The second MIB includes second radio frame number indication information, which is used to obtain the second radio frame number. Obtain the first wireless frame number according to the first wireless frame number indication information, obtain the second wireless frame number according to the second wireless frame number indication information, and obtain the reference time interval corresponding to the frame number difference between the first wireless frame number and the second wireless frame number; The candidate cell is determined to be a false cell if the difference between the reference time interval and the acquisition time interval is greater than the time interval threshold. The acquisition time interval is the time interval between acquiring the first MIB and the second MIB.

4. The method according to any one of claims 1-3, characterized in that, The PBCH of the candidate cell also transmits a Cyclic Redundancy Check (CRC) code. Before performing a consistency check on the first MIB according to the reference MIB rules, the method further includes: Perform CRC verification on the PBCH transmission of the candidate cells; Based on the CRC check, the operation of performing a consistency check on the first MIB according to the reference MIB rules is executed.

5. The method according to any one of claims 1-3, characterized in that, The PBCH of the candidate cell also transmits a Cyclic Redundancy Check (CRC) code, and the method further includes: Based on the first MIB passing the consistency check, CRC verification is performed on the CRC of the PBCH transmission of the candidate cell; The candidate cell is determined to be a fake cell based on the fact that the CRC check fails.

6. The method according to any one of claims 1-3, characterized in that, The LTE system corresponds to multiple cells, and the candidate cell is a neighboring cell of the real cell among the multiple cells. The electronic device resides in the real cell.

7. A device for detecting fake residential communities, characterized in that, The device is used in an electronic device, the electronic device being used in a Long Term Evolution (LTE) system, and the device includes: The acquisition module is used to acquire the first master information block (MIB) transmitted on the physical broadcast channel (PBCH) of the candidate cell, wherein the candidate cell corresponds to the LTE system, and the first MIB includes first downlink system bandwidth indication information. The inspection module is used to perform a consistency check on the first MIB according to the reference MIB rules. The reference MIB rules are used to indicate at least one reference MIB for the PBCH transmission of the real cell. The consistency check is used to check whether the first MIB is consistent with the at least one reference MIB. The reference MIB rules include at least one candidate downlink system bandwidth indication information. Based on the fact that the first downlink system bandwidth indication information is different from each candidate downlink system bandwidth indication information, the first MIB fails the consistency check. The determination module is used to determine that the candidate cell is a fake cell based on the fact that the first MIB fails the consistency check.

8. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one piece of program code, the at least one piece of program code being loaded and executed by the processor to enable the computer device to implement the method for detecting fake cells as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to enable the computer to implement the method for detecting fake cells as described in any one of claims 1-6.