Terminal frequency sweeping method, chip, computer equipment and readable medium
By determining the starting frequency sweep point in the terminal frequency sweep and performing frequency shift sweep corresponding to the signal type, the problem of low signal strength cells in the prior art being missed and the frequency sweep time being too long is solved, and more efficient frequency sweep performance and accuracy are achieved.
Patent Information
- Application Number
- CN202510279524.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2045-03-11
AI Technical Summary
In the prior art, when the terminal sweeps frequency, cells with signal strength lower than the noise floor cannot be discovered, and the sweep frequency band is large when the cell is fully loaded, resulting in the PSS sweep time being too long and affecting the user experience.
By determining the initial sweep point of the received signal and performing frequency shift sweep based on the signal type until the preset number of times is reached, the PSS sweep time is optimized and the sweep performance is improved.
This method can effectively discover cells with low signal strength, reduce the frequency sweep time, improve the frequency sweep efficiency, and ensure the accuracy of cell detection.
Smart Images

Figure CN119815324A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and in particular relates to a terminal frequency scanning method, a chip, a computer device and a readable medium. Background Art
[0002] At present, cellular network terminals such as LTE / NR need to perform PSS-related detection and SSS-related detection when performing frequency scanning and network search to determine whether there is a cell at the current frequency point, as well as information such as the cell timing, cell ID and cell signal quality. When the terminal is powered on without historical frequency information or the search for known historical frequency points fails, it will initiate a full-band frequency scan; in addition, when a terminal in an idle or inactive state obtains PLMN information, it will also initiate a full-band frequency scan. However, full-band frequency scanning will cause the search time to be too long, affecting the user experience. This puts higher requirements on improving the terminal scanning efficiency.
[0003] In the prior art, the power distribution of the entire frequency band is collected, and then PSS scanning is performed in the frequency band with stronger signals to perform PSS related detection. However, the prior art solution has the following problems: 1) The power distribution screening method will cause cells with signal strength lower than the background noise (SNR less than 0) to be unable to be discovered. 2) If the cell is fully loaded during the frequency scanning, the frequency scanning band will be relatively large, and the PSS frequency scanning will take a long time. Summary of the invention
[0004] One object of the present application is to provide a terminal frequency sweeping method, optimize the PSS frequency sweeping duration, and improve the frequency sweeping performance. Another object of the present application is to provide a terminal chip. Another object of the present application is to provide a computer device. Another object of the present application is to provide a computer readable medium.
[0005] In order to achieve the above object, the present application discloses a terminal frequency scanning method, including: Determine the starting frequency point of the frequency sweep of the signal data of the collected received signal, and perform PSS correlation detection based on the starting frequency sweep frequency point; Based on the signal type frequency shift of the signal data, a frequency sweeping point is obtained as the starting frequency sweeping point and PSS correlation detection is performed; If the number of frequency shifts reaches a preset number, the frequency sweep of the received signal ends.
[0006] Optionally, the PSS-related detection includes: The signal data corresponding to the starting frequency sweep point is filtered and downsampled before performing PSS correlation detection.
[0007] Optionally, the method further includes, before determining the starting frequency scanning point of the signal data of the collected received signal: determining a frequency bandwidth and a signal type based on the signal type of the received signal; Determine the safety bands at both ends of the bandwidth and the signal bandwidth corresponding to the signal type and the frequency shift point of each signal based on the signal type; The preset number of frequency shifts is determined according to the frequency bandwidth, the safety band, the signal frequency bandwidth and the frequency shift point of each signal.
[0008] Optionally, the determining the preset number of frequency shifts according to the frequency bandwidth, the safety frequency band, the signal frequency bandwidth and the frequency shift point of each signal includes: Subtract the safety bands at both ends of the frequency band width to obtain a swept frequency band; Calculate the smallest integer greater than the value obtained by dividing the frequency sweep band by the signal bandwidth; The minimum integer is multiplied by the frequency shift point of each signal to obtain the preset number of times.
[0009] Optionally, the method further includes, before determining the starting frequency scanning point of the signal data of the collected received signal: Determine whether to adopt the frequency shift sweeping mode based on the terminal state, and if so, continue to perform the step of determining the starting frequency sweeping point of the signal data of the collected received signal; If not, determine the full-band power distribution of the received signal, determine the frequency points for frequency scanning based on the power from high to low, and perform PSS related detection until a preset condition is met.
[0010] Optionally, the method further includes, before determining the starting frequency sweep frequency of the signal data of the collected received signal: Based on a preset data amount, signal data corresponding to the data amount is collected from the received signal in sequence, and the collected signal data is cyclically stored in a target partition of a storage device in sequence, wherein the storage device includes a plurality of partitions.
[0011] Optionally, further including: If the PSS correlation detection meets the preset conditions, the SSS correlation detection is performed on the target signal data after the preset time interval to obtain the cell detection result; The step of sequentially and cyclically storing the collected signal data to a target partition of a storage device comprises: If the target partition stores target signal data, determining whether the target signal data stored in the target partition has been PSS-related detected or SSS-related detected; If so, the collected signal data are sequentially and cyclically stored in the target partition of the storage device to cover the target signal data of the target partition.
[0012] The present application also discloses a terminal chip, comprising: A data processing module, used to determine the starting frequency point of the frequency sweep of the signal data of the collected received signal, and perform PSS correlation detection based on the starting frequency sweep point; A frequency shift detection module, used for obtaining a frequency sweeping point as the starting frequency sweeping point based on the frequency shift of the signal type of the signal data and performing PSS related detection; The detection and determination module is used to terminate the frequency sweep of the received signal if the number of frequency shifts reaches a preset number.
[0013] The present application also discloses a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
[0014] The present application also discloses a computer-readable medium, wherein the computer-readable medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0015] The beneficial effects of the present invention are as follows: The present application provides a terminal frequency scanning method to determine the starting frequency scanning point of the signal data of the collected received signal, perform PSS related detection based on the starting frequency scanning point, obtain the frequency scanning point based on the signal type frequency shift of the signal data as the starting frequency scanning point and perform PSS related detection; if the number of frequency shifts reaches a preset number of times, the frequency scanning of the received signal ends. The terminal frequency scanning method of the present application performs frequency scanning in partitions by frequency shifting corresponding to the signal type, and will not miss cells with low signal strength during PSS related detection, thereby improving the frequency scanning performance. In addition, the frequency shifting and frequency scanning method does not need to scan all frequency points of the entire signal, which can reduce the frequency scanning time exponentially, improve the frequency scanning efficiency, and ensure the accuracy of cell detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 A schematic diagram of a flow chart of a terminal frequency scanning method provided in an embodiment of the present application; Figure 2 A schematic diagram of a PSS-related detection process of a terminal frequency scanning method provided in an embodiment of the present application; Figure 3A schematic diagram of a specific embodiment S010 of the terminal frequency scanning method provided in an embodiment of the present application; Figure 4 A schematic diagram of a specific embodiment S013 of the terminal frequency scanning method provided in an embodiment of the present application; Figure 5 A schematic diagram of the structure of a terminal frequency scanning method storage device provided in an embodiment of the present application; Figure 6 A schematic diagram of a structure of a terminal frequency scanning method receiving a signal provided in an embodiment of the present application; Figure 7 A schematic diagram of the structure of a terminal chip provided in an embodiment of the present application; Figure 8 A schematic diagram of the structure of a computer device suitable for implementing the method of the embodiment of the present application is provided for the embodiment of the present application. DETAILED DESCRIPTION
[0018] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0019] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0020] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0021] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0022] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0023] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0024] It should be noted that the LTE (Long Term Evolution) described in this embodiment is a long-term evolution of the UMTS (Universal Mobile Telecommunications System) technical standard formulated by the 3GPP (The 3rd Generation Partnership Project) organization.
[0025] NR is the abbreviation of 5G New Radio, a global 5G standard based on the new air interface design of OFDM. It is also a very important foundation for the next generation of cellular mobile technology. 5G technology will achieve ultra-low latency and high reliability.
[0026] PSS (Primary Synchronization Signal) related detection and SSS (Secondary Synchronization Signal) related detection are important processes for achieving time and frequency synchronization, and obtaining network identifiers and physical cell IDs.
[0027] PSS detection is a precise synchronization process that locates the starting point of the signal and frequency synchronization by correlating the local PSS sequence with the received signal in the time and frequency domains. SSS detection is also based on the synchronization information and frequency error estimation of PSS. Its detection algorithm has been improved in accuracy and complexity, providing UE with more stable network synchronization and positioning capabilities.
[0028] In order to solve the above technical problems, the present application embodiment provides a terminal frequency scanning method. Figure 1 As shown, in this embodiment, the method includes: S100: Determine a starting frequency point of a frequency sweep of signal data of a collected received signal, and perform PSS correlation detection based on the starting frequency sweep point.
[0029] S200: obtaining a frequency sweeping point based on a signal type frequency shift of the signal data as the starting frequency sweeping point and performing PSS correlation detection. S300: If the number of frequency shifts reaches a preset number, the frequency sweep of the received signal ends.
[0030] The present application provides a terminal frequency scanning method to determine the starting frequency scanning point of the signal data of the collected received signal, perform PSS related detection based on the starting frequency scanning point, obtain the frequency scanning point based on the signal type frequency shift of the signal data as the starting frequency scanning point and perform PSS related detection; if the number of frequency shifts reaches a preset number of times, the frequency scanning of the received signal ends. The terminal frequency scanning method of the present application performs frequency scanning in partitions by frequency shifting corresponding to the signal type, and will not miss cells with low signal strength during PSS related detection, thereby improving the frequency scanning performance. In addition, the frequency shifting and frequency scanning method does not need to scan all frequency points of the entire signal, which can reduce the frequency scanning time exponentially, improve the frequency scanning efficiency, and ensure the accuracy of cell detection.
[0031] In an optional embodiment, if Figure 2 As shown, the PSS related detection includes: The signal data corresponding to the starting frequency sweep point is filtered and downsampled before performing PSS correlation detection.
[0032] Specifically, it is understandable that in order to perform PSS correlation detection, it is necessary to collect signal data by signal sampling, and then filter and reduce the sampling of the signal data to be processed at the starting frequency point of the frequency sweep before performing PSS correlation detection. By filtering and reducing the sampling to remove abnormal data and improve the data quality, PSS correlation detection can be performed to reduce the amount of data processing, improve the frequency sweep performance and efficiency, and ensure the accuracy of PSS correlation detection. For example, in a specific example, 4096 points of signal data can be collected by setting a high sampling rate of 30.72MHz for PSS correlation detection, and based on the result of the PSS correlation detection, it is determined whether to perform SSS correlation detection in the next 2048 points of signal data. Of course, in actual applications, the received signal can be sampled by other methods to obtain signal data, and the signal data can be processed by other data processing methods before PSS correlation detection. Those skilled in the art can set it according to actual needs, and this application does not limit this.
[0033] In an optional embodiment, if Figure 3 As shown, the method further includes determining the starting frequency scanning point of the signal data of the collected received signal, before S010: S011: Determine a frequency bandwidth and a signal type based on the signal type of the received signal.
[0034] S012: Determine the safety bands at both ends of the bandwidth, the signal bandwidth corresponding to the signal type, and the frequency shift point of each signal based on the signal type.
[0035] S013: Determine the preset number of frequency shifts according to the frequency bandwidth, the safety frequency band, the signal frequency bandwidth and the frequency shift point of each signal.
[0036] Specifically, the frequency shift sweep of the present application needs to be determined according to the signal structure of different signal types to accurately determine the data points of the required frequency shift in the received signal. For example, in a specific example, taking the NR-15k 20M signal type as an example, the RF bandwidth of this type of signal is 1272*15 = 19.08M.
[0037] Among them, for the NR system, according to the 3GPP TS38.101-1 physical layer protocol description, the channel grid of SSB is shown in Table 1: Table 1
[0038] For frequency bands below 3 GHz, excluding the safety bands of 0.6M on both sides of the RF bandwidth, the signal bandwidth is 1200kHz, and the frequency shift point of each signal needs to be shifted three times. Based on these parameters, the total number of frequency shift PSS related detections can be determined to obtain the preset number, and the frequency shift scanning process can be controlled.
[0039] In an optional embodiment, if Figure 4 As shown, the S013 determines the preset number of frequency shifts according to the frequency bandwidth, the safety frequency band, the signal frequency bandwidth and the frequency shift point of each signal, including: S0131: Subtract the safety bands at both ends from the frequency bandwidth to obtain a sweep frequency band. S0132: Calculate the smallest integer greater than the value obtained by dividing the frequency sweep band by the signal bandwidth.
[0040] S0133: Multiply the minimum integer by the frequency shift point of each signal to obtain the preset number of times.
[0041] Based on the calculation method of the preset number in this optional implementation mode, for frequency bands below 3 GHz, the maximum number of frequency shifts can be calculated by the following formula: floor((19.08 - 1.2) / 1.2) * 3 = 42.
[0042] Among them, floor() refers to the integer operation.
[0043] Similarly, for frequency bands above 3 GHz, remove 0.72M on both sides of the RF bandwidth. The maximum number of frequency shifts is floor((19.08 - 1.44) / 1.44) = 12.
[0044] Of course, in practical applications, those skilled in the art can determine the calculation method of the preset number of frequency shifts according to actual needs, as long as the purpose of the invention of this application is achieved, and this application does not limit this.
[0045] In an optional embodiment, the method further includes determining the starting frequency scanning point of the collected signal data of the received signal, and determining whether to adopt a frequency shifting scanning method based on the terminal status before, if so, continuing to execute the step of determining the starting frequency scanning point of the collected signal data of the received signal; if not, determining the full-band power distribution of the received signal, determining the frequency scanning point based on the order of power from large to small, and performing PSS related detection until the preset conditions are met.
[0046] Specifically, it is understandable that when the terminal is powered on and has no historical frequency information or the search for known historical frequencies fails, a full-band frequency scan will be initiated; in addition, when the terminal in an idle or inactive state obtains PLMN information, a full-band frequency scan will also be initiated. However, when the terminal is in different states, the purpose of searching for cells is different. When the terminal has no historical frequency information or the search for known historical frequencies fails when powered on, a cell needs to be searched as quickly as possible, while a terminal in an idle or inactive state needs to search for all cells. Therefore, in this optional implementation, the state of the terminal is first determined, and different frequency scanning strategies are selected based on the different states of the terminal to take into account the multiple requirements of efficiency and accuracy.
[0047] For example, when the terminal is in an idle or inactive terminal state, the step of determining the starting frequency scanning point of the signal data of the collected received signal continues, and the frequency scanning point is determined by frequency shifting to search all cells. When the terminal is in a terminal state where there is no historical frequency point information when it is turned on or the search for known historical frequency points fails, the frequency shifting and frequency scanning method is not adopted but the existing power scanning method is adopted, that is, the full-band power distribution of the received signal is determined, and the frequency scanning point is determined based on the order of power from large to small, and PSS related detection is performed until the preset conditions are met, and the cell detection is performed after the preset conditions are met. If no cell is detected, the PSS related detection is continued from the next power frequency point after the current frequency point until the preset conditions are met, and this step is repeated until the cell is detected. Among them, the expected conditions can be set according to actual needs, and the present application does not limit this.
[0048] In an optional implementation manner, the method further includes, before determining the starting frequency sweep frequency point of the signal data of the collected received signal: S020: based on a preset data volume, sequentially collecting signal data corresponding to the data volume from the received signal, and sequentially and cyclically storing the collected signal data to a target partition of a storage device, wherein the storage device includes a plurality of partitions.
[0049] In this optional embodiment, the storage device is divided into multiple partitions, and signal data corresponding to a preset data amount is collected in sequence from the received signal, and the collected signal data is stored in sequence in a circular manner to the target partition of the storage device, that is, the collected signal data is stored in sequence from the first partition of the storage device to all partitions, and after all partitions are stored, it is stored again from the first partition. When the signal data is stored, if there is data stored in the current partition, the data stored in the current partition is overwritten. By means of sequential circular storage, the required RAM size is reduced, thereby reducing the chip cost.
[0050] In an optional embodiment, the method further comprises: S030: If the PSS correlation detection meets the preset conditions, SSS correlation detection is performed on the target signal data after the preset time interval to obtain the cell detection result.
[0051] Specifically, after the signal data of a partition is stored, PSS correlation detection is performed. If the PSS correlation detection meets the preset conditions, SSS correlation detection is performed on the target signal data after the preset time interval based on the structure of the received signal to obtain the cell detection result. This signal processing method can simultaneously detect the PSS and SSS of different signals, improve signal processing efficiency, and reduce chip power consumption.
[0052] In an optional implementation manner, the step of sequentially and cyclically storing the collected signal data to a target partition of a storage device comprises: If the target partition stores target signal data, determining whether the target signal data stored in the target partition has been PSS-related detected or SSS-related detected; If so, the collected signal data are sequentially and cyclically stored in the target partition of the storage device to cover the target signal data of the target partition.
[0053] Specifically, the present application may set up multiple partitions in a storage device, wherein each partition stores a signal data. After the signal data storage is completed, the signal data may be subjected to PSS correlation detection or SSS correlation detection. After the correlation detection is completed, the signal data no longer participates in the calculation. Therefore, each partition in the storage device may be used to store new signal data after the signal data stored therein completes the corresponding PSS or SSS correlation detection. That is, the new signal data storage covers the signal data that has completed the PSS or SSS correlation detection, thereby realizing the cyclic multiplexing of different partitions of the storage device, reducing the RAM size required for signal processing, thereby reducing the demand for chips, and achieving the purpose of reducing the cost of terminal chips.
[0054] For example, Figure 5 As shown, the storage device may include three partitions, ram0, ram1 and ram2, and the signal processing method may be implemented by the following steps: In the first time period T1, ram0 caches signal data 1; In the second time period T2, ram0 caches signal data 1 and ram1 caches signal data 2; In the third time period T3, ram0 completes caching signal data 1, ram1 completes caching signal data 2, ram2 caches signal data 3, and at the same time, PSS correlation detection is performed on signal data 1 in ram0 and signal data 1 in ram0; In the fourth time period T4, ram1 completes caching signal data 2, ram2 completes caching signal data 3, and ram0 caches signal data 4 to cover signal data 1. At this time, the PSS correlation detection of signal data 1 is completed, and PSS correlation detection is performed on signal data 2 in ram1 and signal data 3 in ram2; In the fifth time period T5, ram0 caches signal data 4 and ram1 caches signal data 5. At this time, the PSS correlation detection of signal data 2 is completed, and the PSS correlation detection is performed on signal data 3 in ram2 and signal data 4 in ram0. At the same time, if the PSS correlation detection in the third time period T3 meets the preset conditions, the SSS correlation detection is performed on the corresponding signal data of ram0, ram1 and ram2. In the sixth time period T6, ram1 completes caching of signal data 5 and ram2 completes caching of signal data 6. At this time, the PSS correlation detection of signal data 3 has been completed, and PSS correlation detection is performed on signal data 4 in ram0 and signal data 5 in ram1. At the same time, if the PSS correlation detection of the fourth time period T4 meets the preset conditions, SSS correlation detection is performed on the corresponding signal data of ram0, ram1 and ram2.
[0055] In summary, by sequentially storing the signal data in multiple partitions of the storage device in a loop and coordinating the time of the PSS and SSS related detection operations, the storage device partitions can be reused in a loop, and the signal processing can be completed by a small-capacity RAM, thereby reducing the demand for RAM and the cost of the terminal chip. At the same time, the PSS and SSS related detection operations can be performed simultaneously for the signal data of different partitions, thereby improving the signal processing efficiency.
[0056] In an optional embodiment, a data storage rate of cyclically storing the collected signal data in a target partition of a storage device is lower than a correlation operation rate of PSS correlation detection.
[0057] Specifically, in order to ensure that the correlation detection operation of the stored signal data has been completed when the stored signal data is overwritten by the new signal data, so that the signal data can be stored immediately after being collected, it is preferred that the data storage rate is lower than the correlation operation rate of the PSS correlation detection. Of course, in other implementations, the operation rate of the signal data correlation detection may not be limited. In these implementations, if the correlation detection operation of the cached signal data has not been completed when the partition corresponds to the need to cache signal data, it is necessary to wait until the correlation detection operation of the cached signal data is completed before caching new signal data.
[0058] In an optional implementation manner, if the PSS related detection meets a preset condition includes if a peak value of the PSS related detection meets a peak threshold of the cell existence.
[0059] Specifically, after PSS related detection, a peak value can be obtained, and it is determined whether the peak value meets the peak value threshold of a specific cell. When the peak value threshold as a preset condition is met, the peak value id and pos are saved as the location of SSS related detection signal data. Of course, in actual applications, those skilled in the art can also set the specific content of the preset conditions according to actual needs, and this application does not limit this.
[0060] In an optional implementation manner, performing SSS correlation detection on target signal data after a preset time interval to obtain a cell detection result includes: The target signal data is determined based on the position of the peak value obtained by the PSS correlation detection and the preset time interval.
[0061] Perform SSS correlation detection on the target signal data to obtain a cell detection result.
[0062] Specifically, the received signal has a specific signal structure. For example, for the NR system, according to the 3GPP TS38.211 physical layer protocol description, PSS, SSS, and PBCH are sent together in the form of SSB, and one SSB received signal contains 4 symbols. Therefore, after detecting the PSS, the data range where the SSS is located can be determined according to the signal structure of the received signal. The data range of the SSS can be located based on the PSS position and the preset time interval corresponding to the data sample points between the PSS and SSS. SSS-related detection can be performed in the data range to obtain the cell detection result, which can improve the efficiency of cell detection.
[0063] In an optional implementation, the number of data samples corresponding to each partition of the storage device is determined according to the number of subcarriers of the received signal.
[0064] Specifically, it can be understood that the signal data of each partition is calculated separately. In order to determine the PSS through one calculation, the number of data samples corresponding to the partition can be determined according to the number of subcarriers of the received signal. In an optional embodiment, the storage device includes three partitions, and the data samples of each partition are greater than the number of subcarriers of the PSS or SSS of the received signal. For example, if the number of PSS subcarriers of the received signal is 127, the data samples of each partition can be set to 128. Of course, in actual applications, those skilled in the art can set the data samples of each partition according to actual needs, and this application does not limit this.
[0065] Taking the NR-1Rx system as an example, according to the 3GPP TS38.211 physical layer protocol description, PSS, SSS, and PBCH are sent together in the form of SSB, and one SSB contains 4 symbols. The signal structure of the received signal is as follows: Figure 6 shown.
[0066] When detecting SSB-15k / 30k subcarriers, the DFE transmission data rate is 1.92 / 3.84MHz. The size of the storage device for cyclic storage can be designed to be 128*3= 384 data samples, and the storage device includes three RAMs, namely RAM0, RAM1, and RAM2, and the data samples of each RAM are 128. When presetting parameters and algorithms, the operation rate of PSS correlation detection is greater than or equal to the data storage rate (which can be implemented using time domain algorithms and frequency domain algorithms). Taking the frequency domain correlation algorithm of 256-point FFT as an example, the signal processing method includes the following steps: S1: When the data is cached to 2*128 (cached to ram0 and ram1) sample points, the first round of PSS correlation detection is started. After the first round of PSS correlation detection of 128 sample points is completed, it can be determined whether its peak value meets the peak threshold of a specific cell. If the conditions are met, its peak value, id and pos are retained. At this time, the third 128 points of data have been cached (the processing rate of PSS correlation detection is equal to the data rate), or have not been cached (the processing rate of PSS correlation detection is greater than the data rate).
[0067] S2: Wait for the third 128-sample data to be cached (cached to ram2), start the second round of PSS related detection, determine whether its peak value meets the peak threshold of a specific cell, and retain its peak value, id and pos if the conditions are met.
[0068] S3: Wait for the fourth 128-sample data cache to be completed (cache to ram0, overwrite the old data), start the third round of PSS related detection, determine whether its peak value meets the peak threshold of a specific cell, and retain its peak value, id and pos if the conditions are met. At the same time, after a delay of 17 sample points relative to the start time of the data segment cache, start the SSS detection. Among them, the SSS data acquisition position at this time is calculated from the peak position of the first round of PSS over-threshold detection, read the data at the mod (pos+137*2+(0~127), 384) position for SSS detection, and output the cell detection result. Among them, the meaning of mod calculation is that if it exceeds 384, the calculated position data is subtracted by 384 to obtain the data sample point position of the partition of the storage device.
[0069] Among them, if the effective peak value of the PSS correlation of the first 128 points falls on position 0 (127), the time domain data position of SSS is at positions 274~401 (401~528). In order to ensure that data can be obtained when doing SSS and reduce uncertainty, SSS detection is started after a delay of 17 sample points at the start of the data segment.
[0070] Repeat the above steps to complete the cell search process. In this process, the cached data only requires storage space for 384 sample data points, which greatly reduces the chip area compared to the traditional offline solution that requires caching 76,800 data samples.
[0071] It should be noted that the terminal frequency scanning method of the present application is applicable to multi-antenna Rx scenarios and LTE systems, etc., and can use this solution to save area. The terminal frequency scanning method of the present application can also be used for functional expansion of IC and more SSS cell detection, and only the storage space needs to be expanded for the time that may be required for the corresponding functional expansion.
[0072] Based on the same principle, the present application also discloses a terminal chip. Figure 7 As shown, the terminal chip includes a data processing module 11, a frequency shift detection module 12 and a detection and determination module 13.
[0073] The data processing module 11 is used to determine the starting frequency point of the frequency sweep of the collected signal data of the received signal, and perform PSS correlation detection based on the starting frequency sweep frequency point.
[0074] The frequency shift detection module 12 is used to obtain a frequency sweeping point as the starting frequency sweeping point based on the frequency shift of the signal type of the signal data and perform PSS correlation detection.
[0075] The detection and determination module 13 is used to terminate the frequency sweep of the received signal if the number of frequency shifts reaches a preset number.
[0076] Since the principle of solving the problem by this chip is similar to that of the above method, the implementation of this chip can refer to the implementation of the method, which will not be described in detail here.
[0077] An embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
[0078] An embodiment of the present application further provides a computer-readable medium, wherein the computer-readable medium stores a computer program, and the computer program implements the above method when executed by a processor.
[0079] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer programs to produce the systems, devices, modules or units described in the above embodiments, which can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer device, and specifically, the computer device can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0080] In a typical example, the computer device specifically includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method executed by the client as described above is implemented; or, when the processor executes the program, the method executed by the server as described above is implemented.
[0081] Reference below Figure 8 , which shows a schematic diagram of the structure of a computer device 600 suitable for implementing an embodiment of the present application.
[0082] like Figure 8 As shown, the computer device 600 includes a central processing unit (CPU) 601, which can perform various appropriate tasks and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the computer device 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0083] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal feedback device (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed as needed as the storage section 608.
[0084] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 609, and / or installed from a removable medium 611.
[0085] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0086] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0087] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0088] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0090] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0091] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0092] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0093] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0094] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A terminal frequency scanning method, characterized in that: include: Determine the starting frequency point of the frequency sweep of the signal data of the collected received signal, and perform PSS correlation detection based on the starting frequency sweep frequency point; Based on the signal type frequency shift of the signal data, a frequency sweeping point is obtained as the starting frequency sweeping point and PSS correlation detection is performed; If the number of frequency shifts reaches a preset number, the frequency sweep of the received signal ends.
2. The terminal frequency scanning method according to claim 1, characterized in that: The PSS-related detection includes: The signal data corresponding to the starting frequency sweep point is filtered and downsampled before performing PSS correlation detection.
3. The terminal frequency scanning method according to claim 1, characterized in that: Further comprising, before determining a starting frequency sweep frequency of the collected signal data of the received signal: determining a frequency bandwidth and a signal type based on the signal type of the received signal; Determine the safety bands at both ends of the bandwidth and the signal bandwidth corresponding to the signal type and the frequency shift point of each signal based on the signal type; The preset number of frequency shifts is determined according to the frequency bandwidth, the safety band, the signal frequency bandwidth and the frequency shift point of each signal.
4. The terminal frequency scanning method according to claim 3, characterized in that: The step of determining the preset number of frequency shifts according to the frequency bandwidth, the safety frequency band, the signal frequency bandwidth, and the frequency shift point of each signal comprises: Subtract the safety bands at both ends of the frequency band width to obtain a swept frequency band; Calculate the smallest integer greater than the value obtained by dividing the frequency sweep band by the signal bandwidth; The minimum integer is multiplied by the frequency shift point of each signal to obtain the preset number of times.
5. The terminal frequency scanning method according to claim 1, characterized in that: Further comprising, before determining a starting frequency sweep frequency of the collected signal data of the received signal: Determine whether to adopt the frequency shift sweeping mode based on the terminal state, and if so, continue to perform the step of determining the starting frequency sweeping point of the signal data of the collected received signal; If not, determine the full-band power distribution of the received signal, determine the frequency points for frequency scanning based on the power from large to small, and perform PSS related detection until a preset condition is met.
6. The terminal frequency scanning method according to claim 1, characterized in that: It also includes determining the starting frequency sweep point of the signal data of the collected received signal before: Based on a preset data amount, signal data corresponding to the data amount is collected from the received signal in sequence, and the collected signal data is cyclically stored in a target partition of a storage device in sequence, wherein the storage device includes a plurality of partitions.
7. The terminal frequency scanning method according to claim 6, characterized in that: Further including: If the PSS correlation detection meets the preset conditions, the SSS correlation detection is performed on the target signal data after the preset time interval to obtain the cell detection result; The step of sequentially and cyclically storing the collected signal data to a target partition of a storage device comprises: If the target partition stores target signal data, determining whether the target signal data stored in the target partition has been PSS-related detected or SSS-related detected; If so, the collected signal data are sequentially and cyclically stored in the target partition of the storage device to cover the target signal data of the target partition.
8. A terminal chip, characterized in that: include: A data processing module, used to determine the starting frequency point of the frequency sweep of the signal data of the collected received signal, and perform PSS correlation detection based on the starting frequency sweep point; A frequency shift detection module, used for obtaining a frequency sweeping point as the starting frequency sweeping point based on the frequency shift of the signal type of the signal data and performing PSS related detection; The detection and determination module is used to terminate the frequency sweep of the received signal if the number of frequency shifts reaches a preset number.
9. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable medium, characterized in that The computer-readable medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Rapid frequency sweeping scheme for broadband satellite signals
CN112422173A
Sweep frequency characteristic curve generation method and device, and storage medium
CN114236383A
Multi-bandwidth frequency sweeping method of 5G ad hoc network system
CN117615458A
Fast frequency sweeping method and device and communication equipment
CN117728862A
Frequency point scanning method and device, computer readable storage medium and electronic equipment
CN119450650A