A PRACH detection method, device, electronic device and storage medium
By splitting the PRACH detection task into multiple sub-detection tasks and processing with multi-core processors, the problems of low efficiency and poor stability of PRACH detection in the prior art are solved, and more efficient and stable PRACH detection is achieved.
Patent Information
- Application Number
- CN202010970975.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-15
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2040-09-15
AI Technical Summary
The existing PRACH detection methods have low processing efficiency and poor stability, especially in NR systems. Since 839 and 139 are prime numbers, fast Fourier transform cannot be performed, resulting in high algorithm complexity, high data processing time and resource overhead. In addition, the fixed task processor has poor stability and can easily affect the normal progress of PRACH detection.
By splitting the PRACH detection task into multiple sub-detection tasks and processing these sub-detection tasks separately using a multi-core processor, a task queue is generated to optimize the processing order. If the processor core is idle, the sub-detection task is immediately performed to ensure processing efficiency and stability.
It improves the processing efficiency and stability of PRACH detection, reduces data processing time and resource overhead, avoids detection failure caused by processor core failure, and reduces the delay in reporting detection results of base stations.
Smart Images

Figure CN114189935B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a PRACH detection method, device, electronic equipment and storage medium. Background Art
[0002] In the fifth-generation mobile communication (5G) system, the base station accesses the user equipment (UE) through random access, and the physical random access channel (PRACH) detection is the first step to achieve UE access.
[0003] In the prior art, the PRACH detection method of the Long Term Evolution (LTE) system is used to implement the PRACH detection of the New Radio (NR) system. Figure 1 , shows a PRACH detection flow chart in an LTE system. After the base station obtains the time domain data of PRACH, it demodulates, sequence correlates, performs fast Fourier transform (FFT), and inverse fast Fourier transform (IFFT) on the acquired time domain data, and then performs PRACH detection. Among them, demodulation includes steps such as removing (CP, Cyclic Prefix), downsampling, and time-frequency domain transformation. PRACH detection includes power calculation, peak detection, identity identification number (ID, Identity document) detection, delay detection, and power detection. After completing the entire PRACH detection process, the base station reports the detection result to the media access control (MAC, Media Access Control).
[0004] In the NR system, the time domain data of PRACH can be divided into two formats from the perspective of sequence length, a long format of 839 points and a short format of 139 points. Before the base station performs PRACH detection, it is necessary to perform an inverse discrete Fourier transform (IDFT, Inverse Discrete Fourier Transform) of 839 points or 139 points on the time domain data. Since 839 and 139 are prime numbers, it is impossible to perform a fast Fourier transform, and the algorithm complexity of directly performing a Fourier transform is relatively high. Therefore, when performing a Fourier transform, the prior art converts the 839-point IDFT transform into a 2048-point FFT plus IFFT transform, and converts the 139-point IDFT transform into a 512-point FFT plus IFFT transform. This conversion process requires first expanding the 139-point sequence or 839-point sequence into a 512-point or 2048-point sequence, and then performing an FFT calculation on the expanded sequence, and then performing an IFFT calculation, that is, two Fourier transforms are required, and the data processing time and data processing resource overhead are relatively large.
[0005] On the other hand, the current PRACN detection is processed by a fixed task processor, and is a single-task, fixed-time processing mechanism. When the task processor fails, it will affect the normal progress of PRACH detection, and thus cause the entire base station to be unable to perform terminal access processing.
[0006] In addition, the NR system uses the NR protocol. Compared with the LTE protocol, the NR protocol subdivides time slots and opportunities. Each time slot contains multiple opportunities, and each opportunity is configured with PRACH. Therefore, the workload of the base station for PRACH detection will increase exponentially. If the PRACH detection method in the LTE system continues to be used, the detection time will be too long, which will increase the delay in the base station reporting the PRACH detection results, thereby affecting UE access.
[0007] In summary, the existing PRACH detection method has the problems of low processing efficiency and poor stability. Summary of the invention
[0008] The present invention provides a PRACH detection method, device, electronic equipment and storage medium to improve the processing efficiency and stability of PRACH detection.
[0009] According to a first aspect of the present invention, a PRACH detection method is provided, the method comprising:
[0010] Obtaining a PRACH detection task for a target cell, wherein the detection task includes the number of antennas and the number of detection sequences required for PRACH detection in the target cell;
[0011] Dividing the detection task into at least one sub-detection task according to the number of antennas and the number of detection sequences;
[0012] Generate a task queue according to the at least one sub-detection task;
[0013] If at least one processor core is in an idle state, the at least one processor core executes the at least one sub-detection task according to the task queue to obtain a sub-detection result corresponding to each sub-detection task;
[0014] A detection result corresponding to the PRACH detection task is determined according to the sub-detection result.
[0015] According to a second aspect of the present invention, a PRACH detection device is provided, the device comprising:
[0016] A detection task acquisition module, used to acquire a PRACH detection task of a target cell, wherein the detection task includes the number of antennas and the number of detection sequences required for PRACH detection of the target cell;
[0017] A detection task division module, used to divide the detection task into at least one sub-detection task according to the number of antennas and the number of detection sequences;
[0018] A task queue generating module, used for generating a task queue according to the at least one sub-detection task;
[0019] a detection task execution module, configured to, if at least one processor core is in an idle state, execute the at least one sub-detection task according to the task queue by the at least one processor core, and obtain a sub-detection result corresponding to each sub-detection task;
[0020] A detection result determination module is used to determine the detection result corresponding to the PRACH detection task according to the sub-detection result.
[0021] According to a third aspect of the present invention, there is provided an electronic device, comprising:
[0022] A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the aforementioned method is implemented when the processor executes the program.
[0023] According to a fourth aspect of the present invention, a readable storage medium is provided, and when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the aforementioned method.
[0024] The present invention provides a PRACH detection method, device, electronic device and storage medium, the method comprising: obtaining a PRACH detection task of a target cell, the detection task including the number of antennas and the number of detection sequences required for PRACH detection in the target cell; dividing the detection task into at least one sub-detection task according to the number of antennas and the number of detection sequences; generating a task queue according to the at least one sub-detection task; if there is at least one processor core in an idle state, the at least one processor core executes the at least one sub-detection task according to the task queue to obtain a sub-detection result corresponding to each sub-detection task; and determining the detection result corresponding to the PRACH detection task according to the sub-detection result. The present invention improves the processing efficiency and stability of PRACH detection by splitting the PRACH detection task into multiple sub-detection tasks and using multiple processor cores to process the split sub-detection tasks respectively.
[0025] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0027] Figure 1 It is a PRACH detection flow chart in a LTE system in the prior art;
[0028] Figure 2 is a flowchart of specific steps of a PRACH detection method provided in Embodiment 1 of the present invention;
[0029] Figure 3 This is a schematic diagram of the execution of a task queue provided by the first embodiment of the present invention;
[0030] Figure 4 is a flowchart of specific steps of a PRACH detection method provided by Embodiment 2 of the present invention;
[0031] Figure 5 is a structural diagram of a PRACH detection device provided in Embodiment 3 of the present invention;
[0032] Figure 6is a structural diagram of a PRACH detection device provided by Embodiment 4 of the present invention;
[0033] Figure 7 It is a structural schematic diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0035] Embodiment 1
[0036] Reference Figure 2 , which shows a specific step flow chart of a PRACH detection method provided in Example 1 of the present invention.
[0037] Step 101: Obtain a PRACH detection task of a target cell, wherein the detection task includes the number of antennas and the number of detection sequences required for PRACH detection of the target cell.
[0038] The physical random access channel (PRACH) is the access channel when the UE initiates a call. After receiving the PRACH response message, the UE will send a radio resource control (RRC) connection request (RRC Connection Request) message on the PRACH channel according to the information indicated by the base station to establish an RRC connection. In the NR system, the purpose of the random access process is to enable the UE to establish a connection with the base station or to enable the UE to obtain uplink synchronization. After completing the random access, the UE and the base station can perform normal data transmission and data reception.
[0039] During the random access process, the UE first searches for the target cell to be accessed. After the UE completes the target cell search, it sends a random access request. At this time, the UE and the target cell have achieved downlink synchronization. After the base station receives the random access request from the UE, it performs PRACH detection on the target cell, thereby obtaining relevant information for sending PRACH and preparing for the subsequent random access response. Therefore, in order to improve the processing efficiency and stability of PRACH detection, and thereby improve the efficiency and success rate of UE random access, an embodiment of the present invention provides a PRACH detection method. When the base station receives the random access request from the UE, it obtains the PRACH detection task of the target cell.
[0040] When the base station performs PRACH detection, it detects in sequence according to the detection sequence, and the detection of each detection sequence is independent and unrelated. Among them, the number of antennas that the target cell needs to perform PRACH detection is determined by the configuration parameters of the NR system. Since each antenna of the NR system receives the random access request sent by the UE during the random access process, it is necessary to perform PRACH detection on each antenna in the NR system; the number of detection sequences of the target cell is determined by the PRACH configuration parameters of the target cell. For example, if the NR system is configured with 16 antennas, the PRACH configuration parameter config_index = 160 of the target cell, format B4, the zero correlation interval is 15 (32 root sequences are required), and the starting root sequence index is 24, then a PRACH detection of the target cell requires processing 16 antennas, and there are 32 root sequences on each antenna that need to be processed, that is, a PRACH detection of the target cell requires detection of 16*32=512 root sequences.
[0041] Step 102: Divide the detection task into at least one sub-detection task according to the number of antennas and the number of detection sequences.
[0042] In an embodiment of the present invention, in order to improve the detection efficiency, a multi-core processor is used to perform PRACH detection. Therefore, before starting the detection, the embodiment of the present invention first splits the detection task according to the number of antennas to be detected and the number of detection sequences to obtain at least one sub-detection task. Specifically, each detection sequence corresponds to a sequence identifier, and a corresponding relationship between each sub-detection task and the sequence identifier can be established in advance, and then the detection sequence to be detected by each sub-detection task is determined according to the sequence identifier.
[0043] Step 103: Generate a task queue according to the at least one sub-detection task.
[0044] In the embodiment of the present invention, after the sub-detection tasks are determined, a task queue is generated for the sub-detection tasks so that the multi-core processor executes each sub-detection task by polling the task queue.
[0045] Specifically, in actual applications, the sub-detection task can be inserted into the public task queue of the base station system, and each processor core obtains and executes each sub-detection task by polling the public task queue. It is also possible to assign corresponding sub-detection tasks to each processor core according to the number of cores of the multi-core processor, and then insert the assigned sub-detection task into the private task queue of the corresponding processor core, and each processor core obtains and executes the assigned sub-detection task by reading the private task queue. Each sub-detection task is sorted in a certain order in the task queue. Optionally, a priority can be set for each sub-detection task so that each sub-detection task is arranged according to priority in the task queue.
[0046] Step 104: If there is at least one processor core in an idle state, the at least one processor core executes the at least one sub-detection task according to the task queue to obtain a sub-detection result corresponding to each sub-detection task.
[0047] In the embodiment of the present invention, as long as there is at least one processor core in the multi-core processor in an idle state, the processor core in the idle state acquires and executes the sub-detection task in the order of each sub-detection task in the task queue. Specifically, the multi-core processor in the base station can determine whether there is at least one processor core in an idle state, or other modules in the base station can determine whether there is at least one processor core in an idle state.
[0048] A processor core can only execute one task at a time. In addition to the PRACH sub-detection task in the present invention, there are other tasks in the task queue. Each task is arranged in the task queue according to priority. Each processor core obtains and executes the tasks in the task queue in sequence according to the idle state and the arrangement order of all tasks in the task queue.
[0049] In combination with step 103, if each sub-detection task is inserted into the public task queue of the base station system, the processor core in the idle state sequentially obtains and executes the sub-detection tasks according to the order of the sub-detection tasks in the task queue.
[0050] If a corresponding sub-detection task is assigned to each processor core according to the number of cores of a multi-core processor, and then the assigned sub-detection task is inserted into the private task queue of the corresponding processor core, then each processor core will obtain and execute each task in the corresponding private task queue in sequence according to the arrangement order of each task in the corresponding private task queue.
[0051] Optionally, if at least one task queue fails to execute, the task queue is sent to other processor cores that are currently in an idle state.
[0052] Since the embodiment of the present invention adopts a multi-core processor to perform PRACH detection, when one of the processor cores fails, resulting in the failure of the corresponding sub-detection task, other processor cores continue to execute the sub-detection task, thereby avoiding the failure of PRACH detection to be performed normally due to the failure of the processor core, affecting the inability of the entire base station to perform terminal access processing, thereby improving the stability of PRACH detection.
[0053] Take a quad-core processor as an example, refer to Figure 3, shows a schematic diagram of the execution of a task queue according to an embodiment of the present invention, wherein C0-C3 are processor cores, 1-12 are 12 sub-detection tasks arranged in a certain order in a public task queue, t0 is the start processing time of the detection task, t1 is the execution end time of sub-detection task 2, and is also the execution start time of sub-detection task 5, t2 is the execution end time of sub-detection task 4, and is also the execution start time of sub-detection task 6, t3 is the execution end time of sub-detection task 3, and is also the execution start time of sub-detection task 7. When the PRACH detection starts, the four processor cores are currently in an idle state. Therefore, according to the order of each sub-detection task in the task queue and the order of the processor cores, sub-detection task 1 is sent to processor core 0, sub-detection task 2 is sent to processor core 1, sub-detection task 3 is sent to processor core 2, and sub-detection task 4 is sent to processor core 3, so that processors 0-3 start processing sub-detection tasks 1-4 at the same time. Sub-detection task 2 is executed first and completed. At this time, processor core 2 is in an idle state, so sub-detection task 5 is sent to processor core 2.
[0054] Depend on Figure 3 It can be seen that as long as there is at least one processor core in an idle state, the unprocessed sub-detection tasks will be sent to the processor core in the order of the sub-detection tasks in the task queue, so that multiple processors can continue to process multiple sub-detection tasks at the same time, thereby improving the processing efficiency of PRACH detection.
[0055] Step 105: Determine the detection result corresponding to the PRACH detection task according to the sub-detection result.
[0056] In the embodiment of the present invention, each time a sub-detection task is executed, the sub-detection result of the sub-detection task is recorded. If there are at least two sub-detection tasks, when all sub-detection tasks are completed, all sub-detection results are merged to obtain the detection result corresponding to the PRACH detection task; if there is only one sub-detection task, the sub-detection result corresponding to the sub-detection task is the detection result corresponding to the PRACH detection task. The detection result is reported to the MAC to provide a basis for subsequent random access processing.
[0057] In summary, the embodiments of the present invention improve the processing efficiency and stability of PRACH detection by splitting the PRACH detection task into multiple sub-detection tasks and using a multi-core processor to process the split sub-detection tasks respectively.
[0058] Embodiment 2
[0059] Reference Figure 4 , which shows a specific step flow chart of a PRACH detection method provided in Embodiment 2 of the present invention.
[0060] Step 201: Obtain a root sequence of a target cell and the number of points of the root sequence.
[0061] The number of points is the smallest data unit in the root sequence. Since the data in the root sequence is discrete data, the number of points in the root sequence can be understood as the number of discrete data points in the root sequence. The root sequence of the target cell and the number of points in the root sequence are obtained from the configuration parameters of the target cell. In the NR system, the root sequence of the target cell has two formats, where the number of points corresponding to the short format root sequence is 139 points, and the number of points corresponding to the long format root sequence is 839 points.
[0062] Step 202: Expand the root sequence according to the number of points of the root sequence to obtain an expanded root sequence.
[0063] It can be seen from step 201 that in the NR system, the number of points of the root sequence of the target cell is 139 points or 839 points, both of which are prime numbers, and fast Fourier transform cannot be performed. Since the algorithm complexity of directly performing Fourier transform is high, in an embodiment of the present invention, in order to perform fast Fourier transform on the root sequence, the embodiment of the present invention expands the root sequence to obtain an expanded root sequence that meets the requirements of fast Fourier transform.
[0064] Optionally, the step 202 includes:
[0065] Step 2021, obtaining the initial number of points of the root sequence.
[0066] Step 2022: determine the target number of points of the root sequence according to the initial number of points.
[0067] Step 2023: Expand the root sequence according to the target number of points to obtain an expanded root sequence.
[0068] In an embodiment of the present invention, the initial number of points of the root sequence is the number of points of the root sequence before expansion, and the target number of points of the root sequence is the number of points of the root sequence after expansion. In combination with the above, it can be known that the initial number of points of the root sequence is 139 points or 839 points. Since 839 and 139 are prime numbers, it is impossible to perform a fast Fourier transform, and the algorithm complexity of directly performing a Fourier transform is relatively high. Therefore, when performing a Fourier transform, the prior art converts the 839-point IDFT transform into a 2048-point FFT plus IFFT transform, and converts the 139-point IDFT transform into a 512-point FFT plus IFFT transform. This conversion process requires first expanding a 139-point sequence or an 839-point sequence into a 512-point or 2048-point sequence, and then performing an FFT calculation on the expanded sequence, and then performing an IFFT calculation. In an embodiment of the present invention, in order to reduce the algorithm complexity and the overhead of data processing resources, the root sequence is expanded to 144 points or 864 points, so that only one IDFT transform is required for the expanded root sequence. Referring to Table 1, it shows the time required for performing FFT+IFFT transformation and IDFT transformation on root sequences with different numbers of points after expansion under different numbers of antennas.
[0069] Table 1
[0070]
[0071] As can be seen from Table 1, the time consumption of using IDFT transformation on a root sequence of 864 points is significantly less than the time consumption of performing FFT+IFFT transformation on a root sequence of 2048 points. Therefore, in an embodiment of the present invention, the root sequence is expanded to 144 points or 864 points and then IDFT transformation is performed. When the initial number of points of the root sequence is 139 points, the target number of points of the root sequence is determined to be 144 points; when the initial number of points of the root sequence is 839 points, the target number of points of the root sequence is determined to be 864 points; the root sequence is expanded according to the target number of points to obtain the expanded root sequence. Specifically, 0s may be added after the root sequence so that the sequence length is 144 points or 864 points.
[0072] In the process of performing Fourier transform on the root sequence, the more points the root sequence has, the larger the amount of data that needs to be processed. Therefore, the embodiment of the present invention determines the target number of points of the root sequence to be 144 points or 864 points, so that the expanded root sequence can satisfy the conditions of fast Fourier transform while processing the least amount of data.
[0073] Referring to Table 2, it shows the time consumption required for using the IDFT algorithm for the 144-point / 864-point root sequence corresponding to each task division method in different scenarios when a single task is used for PRACH detection.
[0074] Table 2
[0075]
[0076] Referring to Table 3, it is shown that when a single task is used for PRACH detection, in different scenarios, the time required for using the IDFT algorithm for a 512-point / 2048-point root sequence corresponding to each task division method.
[0077] Table 3
[0078]
[0079]
[0080] It can be seen from Table 2 and Table 3 that when the number of antennas to be detected is 16, for a root sequence of 864 points, a single task is used for PRACH detection, and it takes 64us to detect 3 root sequences, that is, it takes (64 / 3)us to detect 1 root sequence; for a root sequence of 2048 points, a single task is used for PRACH detection, and it takes 74us to detect 1 root sequence. Obviously, it takes less time to detect a root sequence of 864 points than to detect a root sequence of 2048 points. Therefore, the root sequence of 839 points can be expanded to 864 points for fast IDFT transformation, and it takes less time.
[0081] Step 203: Perform fast Fourier transform on the extended root sequence to obtain a detection sequence.
[0082] In combination with the foregoing, it can be known that in the embodiment of the present invention, the number of points of the extended root sequence is 144 points or 864 points. Therefore, the extended root sequence can be subjected to a fast Fourier transform. Specifically, the extended root sequence is subjected to an inverse transform of a fast discrete Fourier transform to obtain a detection sequence.
[0083] Step 204: Generate a PRACH detection task for the target cell according to the detection sequence.
[0084] Optionally, the step 204 includes:
[0085] Step 2041, obtaining the initial detection window length of the root sequence.
[0086] Step 2042: Determine the target detection window length of the detection sequence according to the initial detection window length, the initial number of points and the target number of points.
[0087] Step 2043: Generate a PRACH detection task for the target cell according to the detection sequence and the target detection window length.
[0088] Optionally, the initial detection window length is greater than or equal to a preset detection window length.
[0089] In order to avoid too few detection points falling into the detection window and affecting the detection effect, the embodiment of the present invention limits the initial detection window length to be greater than or equal to the preset detection window length. The preset detection window length can be set according to actual needs, and the present invention does not make specific limitations on this.
[0090] In combination with the above, it can be known that the present invention has expanded the root sequence, and then the expanded root sequence is subjected to fast Fourier transform to obtain the detection sequence. Therefore, in order to completely detect the discrete data points of the detection sequence, it is necessary to expand the detection window length accordingly. Since the fast Fourier transform does not change the sequence length of the root sequence, therefore, in the embodiment of the present invention, the sequence length of the detection sequence is equal to the sequence length of the expanded root sequence. According to the initial detection window length, the initial number of points and the target number of points of the root sequence, the target detection window length of the detection sequence can be determined.
[0091] Specifically, assuming that the initial detection window length of the root sequence is Ncs, taking the initial number of points of the root sequence as 139 as an example, the target number of points of the root sequence is 144 points, then the detection window length of the extended root sequence is the product of the ratio of the target number of points of the root sequence to the initial number of points and the initial detection window length.
[0092] That is, the target detection window length Ncs_m of the detection sequence corresponding to the root sequence with an initial number of 139 points is:
[0093] Optionally, the step 2043 includes:
[0094] A1, determine a first detection point of the detection sequence within the target detection window length, where the first detection point is the Nth detection point of the detection sequence within the target detection window length.
[0095] A2: Delete the first detection point from the detection sequence to obtain a first detection sequence.
[0096] A3: Generate a PRACH detection task for the target cell according to the target detection window length and the first detection sequence.
[0097] Wherein, N is a positive integer. Preferably, the value of N is 1 or 2.
[0098] In an embodiment of the present invention, taking power dispersion into consideration, the last one or two detection points of each detection window may have signal power of other detection windows dispersed therein, which affects the relevant power sorting and peak power determination of the detection sequence, and further affects the detection result. Therefore, in order to improve the accuracy of detection, the embodiment of the present invention does not detect the last one or the last two detection points of each detection window when detecting the detection sequence, that is, the first detection point does not participate in the detection.
[0099] Optionally, the step 2043 includes:
[0100] B1, determine the peak point and the preset peak data area length in the detection sequence.
[0101] B2, determining a second detection point in the detection sequence according to the peak point and the preset peak data area length, wherein the second detection point is a detection point within the preset peak data area length range centered on the peak point in the detection sequence.
[0102] B3. Delete the second detection point from the detection sequence to obtain a second detection sequence.
[0103] B4: Generate a PRACH detection task for the target cell according to the target detection window length and the second detection sequence.
[0104] The essence of PRACH detection is to calculate the ratio of the peak value to the noise variance in each detection window. If the ratio exceeds the predetermined detection threshold factor, it is determined that there is user access in the detection window, otherwise it is determined that there is no user access in the detection window. However, due to power dispersion, there may be more than one peak value in a detection window. At this time, there may be a peak with power dispersion in the peak data area centered on the maximum peak point in the detection window. If all detection points in the detection window participate in noise estimation, the accuracy of noise estimation will be reduced, thereby reducing detection performance. Therefore, in an embodiment of the present invention, points within the length range of the preset peak data area centered on the maximum peak point in the detection window are deleted from the detection sequence. Specifically, the detection points adjacent to the peak point on the left and right in the detection sequence are deleted.
[0105] Step 205: Obtain a PRACH detection task for the target cell, where the detection task includes the number of antennas and the number of detection sequences required for PRACH detection in the target cell.
[0106] This step may refer to step 101 and will not be further described here.
[0107] Step 206: Divide the detection task into at least one sub-detection task according to the number of antennas and the number of detection sequences.
[0108] Specifically, the number of sub-detection tasks can be determined in advance, and the detection task can be divided into at least one sub-detection task according to the number of sub-detection tasks, the number of antennas, and the number of detection sequences. Taking 16 antennas and 32 detection sequences as an example, assuming that the detection task is to be divided into 8 sub-detection tasks, the 32 detection sequences can be divided into 8 groups, each group corresponds to 4 root sequences, and each sub-detection task detects a group of root sequences. Then, the number of detection sequences that each sub-detection task needs to detect is 16*4=64; similarly, the 16 antennas can be divided into 8 groups, each group corresponds to 2 antennas, and each sub-detection task detects a group of antennas. Then, the number of detection sequences that each sub-detection task needs to detect is 2*32=64. Of course, other division methods can also be used, and the present invention does not specifically limit this.
[0109] Step 207: Generate a task queue according to the at least one sub-detection task.
[0110] In the embodiment of the present invention, after the sub-detection tasks are determined, a corresponding task queue is generated for each sub-detection task, so that the multi-core processor executes each sub-detection task by polling the task queue.
[0111] Step 208: If there is at least one processor core in an idle state, the processing instruction information supported by the processor core is obtained, and the processing instruction information includes the maximum number of data frames for parallel processing of a processing instruction and the maximum data volume of the data frames, so that the at least one processor core executes the at least one sub-detection task according to the task queue and the maximum number of data frames and the maximum data volume, and obtains the sub-detection result corresponding to each sub-detection task.
[0112] Taking the 512-bit instructions supported by a multi-core processor as an example, the total amount of data that can be processed by the 512-bit instructions at one time is 512 bits, and the processed data frames generally have two formats: 32-bit data frames and 16-bit data frames. That is to say, the maximum amount of data frames processed by the 512-bit instructions is 32 bits or 16 bits. When the maximum amount of data frames is 32 bits, the maximum number of data frames processed in parallel by executing a 512-bit instruction is 16 frames; when the maximum amount of data frames is 16 bits, the maximum number of data frames processed in parallel by executing a 512-bit instruction is 32 frames. The prior art can only process one frame of 32-bit data or one frame of 16-bit data at a time when executing a data processing instruction. Compared with the prior art, the embodiments of the present invention improve the data processing efficiency, thereby improving the PRACH detection efficiency.
[0113] In combination with the foregoing, it can be seen that the embodiment of the present invention processes multiple sub-detection tasks in parallel through a multi-core processor, and in the data processing process, processes multiple data frames in parallel according to processing instructions supported by the processor core, thereby improving the processing efficiency of PRACH detection.
[0114] Step 209: Determine the detection result corresponding to the PRACH detection task according to the sub-detection result.
[0115] In an embodiment of the present invention, each time a sub-detection task is executed, the sub-detection result of the sub-detection task corresponding to the sub-detection task is recorded. When all sub-detection tasks are completed, all sub-detection results are merged to obtain the detection result, and the merged detection result is reported to MAC to provide a basis for subsequent random access processing.
[0116] In summary, the embodiment of the present invention improves the processing efficiency and stability of PRACH detection by splitting the PRACH detection task into multiple sub-detection tasks and using a multi-core processor to process the split sub-detection tasks respectively. In addition, the embodiment of the present invention uses parallel processing instructions to process multiple data frames at the same time, which improves the data processing efficiency and further improves the processing efficiency of PRACH detection; by extending the detection window length according to the initial number of points and the target number of points of the root sequence, and deleting the last or last two detection points in each detection window, and deleting the detection points within the length range of the preset peak data area centered on the peak point in the detection sequence, the influence of sequence expansion and power dispersion on the detection results is reduced, and the accuracy of PRACH detection is improved.
[0117] Embodiment 3
[0118] Reference Figure 5 , which shows a structural diagram of a PRACH detection device provided by Embodiment 3 of the present invention, which is as follows:
[0119] The detection task acquisition module 301 is used to acquire a PRACH detection task of a target cell, wherein the detection task includes the number of antennas and the number of detection sequences required for PRACH detection of the target cell.
[0120] The detection task division module 302 is used to divide the detection task into at least one sub-detection task according to the number of antennas and the number of detection sequences.
[0121] The task queue generating module 303 is used to generate a task queue according to the at least one sub-detection task.
[0122] The detection task execution module 304 is used to, if there is at least one processor core in an idle state, have the at least one processor core execute the at least one sub-detection task according to the task queue to obtain a sub-detection result corresponding to each sub-detection task.
[0123] The detection result determination module 305 is used to determine the detection result corresponding to the PRACH detection task according to the sub-detection result.
[0124] In summary, the embodiment of the present invention provides a PRACH detection device, which improves the processing efficiency and stability of PRACH detection by splitting a PRACH detection task into multiple sub-detection tasks and using a multi-core processor to process the split sub-detection tasks respectively.
[0125] Embodiment 3 is a device embodiment corresponding to Embodiment 1. For detailed information, please refer to the detailed description of Embodiment 1, which will not be repeated here.
[0126] Embodiment 4
[0127] Reference Figure 6 , which shows a structural diagram of a PRACH detection device provided by Embodiment 4 of the present invention, which is as follows:
[0128] The root sequence acquisition module 401 is used to acquire the root sequence of the target cell and the number of points of the root sequence.
[0129] The root sequence expansion module 402 is used to expand the root sequence according to the number of points of the root sequence to obtain an expanded root sequence.
[0130] Optionally, the root sequence extension module 402 includes:
[0131] The initial point number acquisition submodule 4021 is used to acquire the initial point number of the root sequence;
[0132] A target point determination submodule 4022 is used to determine the target point of the root sequence according to the initial point;
[0133] The root sequence expansion submodule 4023 is used to expand the root sequence according to the target number of points to obtain an expanded root sequence.
[0134] The Fourier transform module 403 is used to perform fast Fourier transform on the extended root sequence to obtain a detection sequence.
[0135] The detection task generating module 404 is configured to generate a PRACH detection task for the target cell according to the detection sequence.
[0136] Optionally, the detection task generating module 404 includes:
[0137] An initial detection window length acquisition submodule 4041 is used to acquire an initial detection window length of the root sequence;
[0138] A target detection window length determination submodule 4042 is used to determine the target detection window length of the detection sequence according to the initial detection window length, the initial number of points and the target number of points;
[0139] The detection task generating submodule 4043 is used to generate the PRACH detection task of the target cell according to the detection sequence and the target detection window length.
[0140] Optionally, the initial detection window length is greater than or equal to a preset detection window length.
[0141] Optionally, the detection task generation submodule 4043 includes:
[0142] A first detection point determination unit, configured to determine a first detection point of the detection sequence within the target detection window length, wherein the first detection point is the last N detection points of the detection sequence within the target detection window length;
[0143] A first detection sequence generating unit, configured to delete the first detection point from the detection sequence to obtain a first detection sequence;
[0144] The first detection task generating unit is used to generate a PRACH detection task of the target cell according to the target detection window length and the first detection sequence.
[0145] Optionally, the detection task generation submodule 4043 includes:
[0146] A peak point determination unit, used to determine the peak point in the detection sequence and the length of the preset peak data area;
[0147] A second detection point determination unit, configured to determine a second detection point in the detection sequence according to the peak point and the preset peak data region length, wherein the second detection point is a detection point within the preset peak data region length range centered at the peak point in the detection sequence;
[0148] A second detection sequence generating unit, configured to delete the second detection point from the detection sequence to obtain a second detection sequence;
[0149] The second detection task generating unit is used to generate the PRACH detection task of the target cell according to the target detection window length and the second detection sequence.
[0150] The detection task acquisition module 405 is used to acquire the PRACH detection task of the target cell, where the detection task includes the number of antennas and the number of detection sequences required for PRACH detection in the target cell.
[0151] The detection task division module 406 is used to divide the detection task into at least one sub-detection task according to the number of antennas and the number of detection sequences.
[0152] The task queue generating module 407 is used to generate a task queue according to the at least one sub-detection task.
[0153] The detection task execution module 408 is used to, if there is at least one processor core in an idle state, have the at least one processor core execute the at least one sub-detection task according to the task queue to obtain a sub-detection result corresponding to each sub-detection task.
[0154] Optionally, the detection task execution module 408 includes:
[0155] The processing instruction acquisition submodule 4081 is used to obtain the processing instruction information supported by the processor core, and the processing instruction information includes the maximum number of data frames for parallel processing of a processing instruction and the maximum data volume of the data frames, so that the at least one processor core executes the at least one sub-detection task according to the task queue and the maximum number of data frames and the maximum data volume, and obtains the sub-detection result corresponding to each sub-detection task.
[0156] The detection result determination module 409 is used to determine the detection result corresponding to the PRACH detection task according to the sub-detection result.
[0157] In summary, the embodiment of the present invention provides a PRACH detection device, which improves the processing efficiency and stability of PRACH detection by splitting the PRACH detection task into multiple sub-detection tasks and using a multi-core processor to process the split sub-detection tasks respectively. In addition, the embodiment of the present invention uses parallel processing instructions to process multiple data frames at the same time, which improves the data processing efficiency and further improves the processing efficiency of PRACH detection; by extending the detection window length according to the initial number of points and the target number of points of the root sequence, and deleting the last or last two detection points in each detection window, and deleting the detection points within the length range of the preset peak data area centered on the peak point in the detection sequence, the influence of sequence expansion and power dispersion on the detection result is reduced, and the accuracy of PRACH detection is improved.
[0158] Embodiment 4 is a device embodiment corresponding to method embodiment 2. For detailed information, please refer to the detailed description of embodiment 2, which will not be repeated here.
[0159] The embodiment of the present invention further provides an electronic device, referring to Figure 7 , including: a processor 701, a memory 702, and a computer program 7021 stored in the memory and executable on the processor, wherein when the processor executes the program, the PRACH detection method of the aforementioned embodiment is implemented.
[0160] An embodiment of the present invention further provides a readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the PRACH detection method of the foregoing embodiment.
[0161] As for the device 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.
[0162] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0163] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A physical random access channel PRACH detection method, characterized in that: Applied to a base station, the method comprises: Obtaining a PRACH detection task for a target cell, wherein the detection task includes the number of antennas and the number of detection sequences required for PRACH detection in the target cell; Dividing the detection task into at least one sub-detection task according to the number of antennas and the number of detection sequences; Generate a task queue according to the at least one sub-detection task; If at least one processor core is in an idle state, the at least one processor core executes the at least one sub-detection task according to the task queue to obtain a sub-detection result corresponding to each sub-detection task; Determine the detection result corresponding to the PRACH detection task according to the sub-detection result; Before the step of acquiring the PRACH detection task of the target cell, the method further includes: Obtaining a root sequence of a target cell and the number of points of the root sequence; Expanding the root sequence according to the number of points of the root sequence to obtain an expanded root sequence; Performing fast Fourier transform on the extended root sequence to obtain a detection sequence; A PRACH detection task for the target cell is generated according to the detection sequence.
2. The method according to claim 1, characterized in that The step of executing the at least one sub-detection task according to the task queue by the at least one processor core to obtain a sub-detection result corresponding to each sub-detection task includes: Obtain processing instruction information supported by the processor core, wherein the processing instruction information includes the maximum number of data frames for parallel processing of a processing instruction and the maximum data volume of the data frames, so that the at least one processor core executes the at least one sub-detection task according to the task queue and the maximum number of data frames and the maximum data volume, and obtains the sub-detection result corresponding to each sub-detection task.
3. The method according to claim 1, characterized in that The step of expanding the root sequence according to the number of points of the root sequence to obtain an expanded root sequence includes: Obtaining the initial number of points of the root sequence; Determine the target number of points of the root sequence according to the initial number of points; The root sequence is expanded according to the target number of points to obtain an expanded root sequence.
4. The method according to claim 3, characterized in that: The step of generating the PRACH detection task of the target cell according to the detection sequence includes: Obtaining an initial detection window length of the root sequence; Determine the target detection window length of the detection sequence according to the initial detection window length, the initial number of points and the target number of points; A PRACH detection task of the target cell is generated according to the detection sequence and the target detection window length.
5. The method according to claim 4, characterized in that The step of generating the PRACH detection task of the target cell according to the detection sequence and the target detection window length includes: Determine a first detection point of the detection sequence within the target detection window length, where the first detection point is the last N detection points of the detection sequence within the target detection window length; Deleting the first detection point from the detection sequence to obtain a first detection sequence; A PRACH detection task for the target cell is generated according to the target detection window length and the first detection sequence.
6. The method according to claim 4, characterized in that The step of generating the PRACH detection task of the target cell according to the detection sequence and the target detection window length includes: Determining a peak point and a preset peak data region length in the detection sequence; Determine a second detection point in the detection sequence according to the peak point and the preset peak data region length, the second detection point being a detection point within the preset peak data region length range centered at the peak point in the detection sequence; Deleting the second detection point from the detection sequence to obtain a second detection sequence; A PRACH detection task for the target cell is generated according to the target detection window length and the second detection sequence.
7. The method according to claim 4, characterized in that The initial detection window length is greater than or equal to a preset detection window length.
8. A physical random access channel PRACH detection device, characterized in that: Applied to a base station, the device comprises: A detection task acquisition module, used to acquire a PRACH detection task of a target cell, wherein the detection task includes the number of antennas and the number of detection sequences required for PRACH detection of the target cell; A detection task division module, used to divide the detection task into at least one sub-detection task according to the number of antennas and the number of detection sequences; A task queue generating module, used for generating a task queue according to the at least one sub-detection task; a detection task execution module, configured to, if at least one processor core is in an idle state, execute the at least one sub-detection task according to the task queue by the at least one processor core, and obtain a sub-detection result corresponding to each sub-detection task; A detection result determination module, used to determine the detection result corresponding to the PRACH detection task according to the sub-detection result; The device also includes: A root sequence acquisition module, used to acquire the root sequence of the target cell and the number of points of the root sequence; A root sequence expansion module, used to expand the root sequence according to the number of points of the root sequence to obtain an expanded root sequence; A Fourier transform module, used for performing a fast Fourier transform on the extended root sequence to obtain a detection sequence; A detection task generating module is used to generate a PRACH detection task for the target cell according to the detection sequence.
9. The device according to claim 8, characterized in that The detection task execution module includes: A processing instruction acquisition submodule is used to obtain processing instruction information supported by the processor core, wherein the processing instruction information includes the maximum number of data frames for parallel processing of a processing instruction and the maximum data volume of the data frames, so that at least one processor core executes at least one sub-detection task according to the task queue and the maximum number of data frames and the maximum data volume, and obtains the sub-detection result corresponding to each sub-detection task.
10. The device according to claim 8, characterized in that The root sequence extension module comprises: An initial point number acquisition submodule is used to acquire the initial point number of the root sequence; A target point determination submodule, used to determine the target point number of the root sequence according to the initial point number; The root sequence expansion submodule is used to expand the root sequence according to the target number of points to obtain an expanded root sequence.
11. The device according to claim 10, characterized in that The detection task generation module includes: An initial detection window length acquisition submodule, used to acquire an initial detection window length of the root sequence; A target detection window length determination submodule, used to determine the target detection window length of the detection sequence according to the initial detection window length, the initial number of points and the target number of points; The detection task generation submodule is used to generate the PRACH detection task of the target cell according to the detection sequence and the target detection window length.
12. The device according to claim 11, characterized in that The detection task generation submodule includes: A first detection point determination unit, configured to determine a first detection point of the detection sequence within the target detection window length, wherein the first detection point is the last N detection points of the detection sequence within the target detection window length; A first detection sequence generating unit, configured to delete the first detection point from the detection sequence to obtain a first detection sequence; The first detection task generating unit is used to generate a PRACH detection task of the target cell according to the target detection window length and the first detection sequence.
13. The device according to claim 11, characterized in that The detection task generation submodule includes: A peak point determination unit, used to determine the peak point in the detection sequence and the length of the preset peak data area; A second detection point determination unit, configured to determine a second detection point in the detection sequence according to the peak point and the preset peak data region length, wherein the second detection point is a detection point within the preset peak data region length range centered at the peak point in the detection sequence; A second detection sequence generating unit, configured to delete the second detection point from the detection sequence to obtain a second detection sequence; The second detection task generating unit is used to generate the PRACH detection task of the target cell according to the target detection window length and the second detection sequence.
14. The device according to claim 11, characterized in that The initial detection window length is greater than or equal to a preset detection window length.
15. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the PRACH detection method according to any one of claims 1 to 7 is implemented.
16. A readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the PRACH detection method as described in any one of claims 1 to 7.