Signal descrambling method and apparatus, terminal device, and storage medium

By using a preset descrambling lookup table to directly obtain descrambling parameters for signal descrambling, the problem of slow descrambling speed in 5G NR systems is solved, signal transmission rate is improved and memory usage is reduced.

CN119853852BActive Publication Date: 2026-06-05CHINA MOBILE COMM LTD RES INST +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE COMM LTD RES INST
Filing Date
2023-10-16
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In 5G NR systems, the descrambling process requires generating a full-length scrambling sequence and performing bit shifting operations on each data bit, resulting in slow descrambling speed and affecting the uplink rate of signal transmission.

Method used

By using a pre-set descrambling lookup table, the descrambling parameters can be directly obtained from the lookup table by acquiring the target scrambling code sequence and number corresponding to the signal to be descrambled, which simplifies the calculation time for each bit of data during the signal descrambling process.

Benefits of technology

It improves signal descrambling speed, enhances the uplink rate of signal transmission, and reduces memory usage during the descrambling process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119853852B_ABST
    Figure CN119853852B_ABST
Patent Text Reader

Abstract

The application provides a signal descrambling method and device, terminal equipment and storage medium. The method comprises the following steps: obtaining a first target scrambling code sequence corresponding to a to-be-descrambled signal; determining a serial number corresponding to the first target scrambling code sequence based on the first target scrambling code sequence; searching a preset descrambling lookup table based on the serial number to obtain a first descrambling parameter; and descrambling the to-be-descrambled signal by using the first descrambling parameter. The preset descrambling lookup table contains multiple groups of descrambling parameters, and each group of descrambling parameters corresponds to a serial number.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a signal descrambling method, apparatus, terminal device, and storage medium. Background Technology

[0002] In 5G New Radio (NR), channel-coded data and signaling bits are scrambled using pseudo-random sequences. This means that before data transmission, the data sequence is transformed into "random data," similar to adding noise to the data, which improves channel capacity. In 5G systems, a scrambling module adds extra randomness to the coded bits, providing coding gain to suppress interference. Signal descrambling is the reverse process. Related descrambling techniques generate an initial value for the scrambling sequence based on the time unit number corresponding to the frame structure parameters used in the transmitted signal. Then, a descrambling sequence is generated based on this initial value, and finally, the scrambling sequence is used to descramble the signal.

[0003] In related technologies, signal descrambling requires generating a full-length scrambling sequence based on the initial value of the scrambling sequence, and then using the full-length scrambling sequence to descramble the signal. However, this process involves bit shifting of each data bit, which is time-consuming. The slow descrambling speed affects the decoding process, leading to a bottleneck in the uplink transmission rate. Summary of the Invention

[0004] In view of this, the embodiments of this application aim to provide a signal descrambling method, apparatus, terminal device and storage medium that can improve the descrambling speed and thereby improve the uplink rate during signal transmission.

[0005] The technical solution of this application embodiment is implemented as follows:

[0006] In a first aspect, embodiments of this application provide a signal descrambling method, the method comprising:

[0007] Obtain the first target scrambling code sequence corresponding to the signal to be descrambled; and determine the sequence number corresponding to the first target scrambling code sequence based on the first target scrambling code sequence.

[0008] The first descrambling parameter is obtained by searching based on the serial number in the preset descrambling lookup table; and the first descrambling parameter is used to descramble the signal to be descrambled; wherein the preset descrambling lookup table contains multiple sets of descrambling parameters, and each set of descrambling parameters corresponds to a serial number.

[0009] Secondly, embodiments of this application provide a signal descrambling device, the signal descrambling device comprising:

[0010] The determining unit is used to acquire the first target scrambling code sequence corresponding to the signal to be descrambled; and to determine the sequence number corresponding to the first target scrambling code sequence based on the first target scrambling code sequence.

[0011] The descrambling unit is used to search for a first descrambling parameter from a preset descrambling lookup table based on the serial number; and to descramble the signal to be descrambled using the first descrambling parameter; wherein the preset descrambling lookup table contains multiple sets of descrambling parameters, and each set of descrambling parameters corresponds to a serial number.

[0012] Thirdly, embodiments of this application provide a terminal device, which includes a processor, a memory, and a communication bus; the processor implements the above-mentioned signal descrambling method when executing the running program stored in the memory.

[0013] Fourthly, embodiments of this application provide a storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described signal descrambling method.

[0014] This application provides a signal descrambling method, apparatus, terminal device, and storage medium. The method includes: acquiring a first target scrambling code sequence corresponding to a signal to be descrambled; determining a sequence number corresponding to the first target scrambling code sequence based on the first target scrambling code sequence; searching a preset descrambling lookup table based on the sequence number to obtain a first descrambling parameter; and descrambling the signal to be descrambled using the first descrambling parameter; wherein the preset descrambling lookup table contains multiple sets of descrambling parameters, and each set of descrambling parameters corresponds to a sequence number. By adopting the above implementation scheme, since the preset descrambling lookup table contains multiple sets of descrambling parameters and the corresponding sequence number of each set of descrambling parameters, when descrambling the signal to be descrambled, it is only necessary to look up the descrambling parameter corresponding to the sequence number of the signal to be descrambled directly in the descrambling lookup table according to the sequence number of the first target scrambling code sequence generated by the signal to be descrambled. It is not necessary to calculate the descrambling parameter corresponding to the signal to be descrambled during signal descrambling. Therefore, it simplifies the calculation time when shifting each bit of data during signal descrambling, thereby shortening the descrambling time of the signal, improving the signal descrambling speed, and thus improving the uplink rate during signal transmission. Attached Figure Description

[0015] Figure 1 Here is a flowchart of a signal descrambling method;

[0016] Figure 2 A schematic flowchart of a signal descrambling method provided in this application embodiment. Figure 1 ;

[0017] Figure 3A schematic flowchart of a signal descrambling method provided in this application embodiment. Figure 2 ;

[0018] Figure 4 This is a schematic diagram of the structure of a signal descrambling device 1 provided in an embodiment of this application;

[0019] Figure 5 This is a schematic diagram of the structure of a terminal device 2 provided in an embodiment of this application. Detailed Implementation

[0020] In order to gain a more detailed understanding of the features and technical content of the embodiments of this application, the technical solution of this application will be further described in detail below with reference to the accompanying drawings and specific embodiments. The accompanying drawings are for reference only and are not intended to limit the embodiments of this application.

[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to be limiting of this application.

[0022] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. It is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. It should also be noted that the terms "first / second / third" used in the embodiments of this application are merely for distinguishing similar objects and do not represent a specific ordering of objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein.

[0023] Flowcharts of signal descrambling methods involved in related technologies, such as Figure 1 As shown, a scrambling sequence of total length is first generated based on the initial value of the scrambling sequence. Finally, the data is shifted bit by bit according to the scrambling sequence of total length to perform full-length signal descrambling. This will result in excessively long signal descrambling time, low decoding efficiency, and a bottleneck in the uplink rate.

[0024] To address the technical problems in related technologies, embodiments of this application provide a signal descrambling method, such as... Figure 2 As shown, the method may include:

[0025] S101. Obtain the first target scrambling code sequence corresponding to the signal to be descrambled; and determine the sequence number corresponding to the first target scrambling code sequence based on the first target scrambling code sequence.

[0026] In the embodiments of this application, the signal descrambling process is to change the sign of the demodulated soft bits according to the scrambling code sequence. It mainly includes two processes: first, generating the scrambling code sequence, and second, descrambling the signal.

[0027] In this embodiment of the application, the scrambling sequence can be generated using a Gold pseudo-random sequence as the scrambling sequence according to the protocol.

[0028] It should be noted that the process of generating scrambling sequences from Gold pseudo-random sequences can be found in the implementation methods of related technologies, and will not be elaborated here.

[0029] In this embodiment of the application, when descrambling the signal to be descrambled, the first target scrambling code sequence corresponding to the signal to be descrambled is first generated using a Gold pseudo-random sequence according to the protocol.

[0030] It should be noted that the first target scrambling code sequence corresponding to the signal to be descrambled is the same as the scrambling code sequence of the transmitting end.

[0031] In this embodiment, after obtaining the first target scrambling sequence, since the first target scrambling sequence is typically binary data composed of 0s and 1s, it can be converted into a sequence number with the same format as the sequence number contained in the preset descrambling lookup table. For example, if the sequence number in the descrambling lookup table is decimal data converted from binary data, then the first target scrambling sequence is converted into its corresponding decimal data. For instance, if the first target scrambling sequence is 00000001, and the corresponding decimal data is 1, then the sequence number corresponding to the first target scrambling sequence is 1.

[0032] S102. Search the preset descrambling lookup table based on the serial number to obtain the first descrambling parameter; and use the first descrambling parameter to descramble the signal to be descrambled.

[0033] The preset descrambling lookup table contains multiple sets of descrambling parameters, each set of descrambling parameters corresponding to a serial number.

[0034] In this embodiment of the application, after obtaining the sequence number corresponding to the first target scrambling code sequence, a search can be performed in the descrambling lookup table according to the sequence number of the first target sequence. Specifically, the sequence number that is the same as the sequence number corresponding to the first target scrambling code sequence is searched in the descrambling lookup table. Since each sequence number in the descrambling lookup table corresponds to a set of descrambling parameters, when the same sequence number is found in the descrambling lookup table, the descrambling parameter corresponding to that sequence number is the first descrambling parameter for descrambling the signal to be descrambled.

[0035] In this embodiment, after obtaining the first descrambling parameter, it is possible to directly multiply the obtained first descrambling parameter by LLR according to the calculation method in formula (1), thereby realizing the descrambling of the signal to be descrambled using the first descrambling parameter. Formula (1) is shown below:

[0036] y=LLR·(1-2c) (1)

[0037] Where c is the same scrambling sequence as the transmitter; LLR is the demodulated soft bit information. When descrambling the demodulated soft bit information, LLR is the signal to be descrambled. The result calculated by 1-2c is the descrambling parameter, and y is the descrambled signal.

[0038] It should be noted that in the above embodiments, the number of bits in the first target scrambling sequence can be the same as the number of bits in the binary data combination. For example, if the binary data combination is 8 bits, then the number of bits in the first target scrambling sequence can also be 8 bits. The number of bits in the first target scrambling sequence can be different from the number of bits in the binary data combination. For example, if the binary data combination is 8 bits, then the number of bits in the first target scrambling sequence can be 16 bits, 32 bits, 64 bits, etc.

[0039] In one embodiment of this application, before obtaining the first descrambling parameter by searching based on the sequence number from a preset descrambling lookup table, the method further includes: when the number of scrambling code lookup bits is less than or equal to the preset number of scrambling code lookup bits, setting the number of scrambling code lookup bits for searching the preset scrambling code sequence based on the number of scrambling code bits of the preset scrambling code sequence; and determining multiple binary data combinations corresponding to the number of scrambling code lookup bits; performing calculations with the preset descrambling parameters and the multiple binary data combinations respectively to obtain multiple sets of descrambling parameters; and arranging each set of descrambling parameters in rows according to the corresponding sequence number to generate a preset descrambling lookup table; wherein, the sequence number of each set of descrambling parameters is the data value corresponding to the binary data combination of each set of descrambling parameters.

[0040] In this embodiment of the application, when the number of scrambling code lookup bits is less than or equal to the preset number of scrambling code lookup bits, the number of scrambling code lookup bits is set based on the number of scrambling code bits of the preset scrambling code sequence; and determining the multiple binary data combinations corresponding to the number of scrambling code lookup bits specifically includes:

[0041] In this embodiment, the preset scrambling sequence can be generated using a Gold pseudo-random sequence, or it can be preset according to the actual situation.

[0042] In this embodiment of the application, before the communication system operates, the number of scrambling bits in the generated preset scrambling sequence needs to be obtained. For example, if a 32-bit signal to be descrambled is to be descrambled, when setting the preset scrambling sequence, a 32-bit scrambling sequence can be set, and correspondingly, the number of scrambling bits in the preset scrambling sequence can be known. Alternatively, a 32-bit preset scrambling sequence can be generated using a Gold pseudo-random sequence, and its corresponding number of scrambling bits can be obtained.

[0043] In the embodiments of this application, the number of bits for scrambling code lookup is the number of bits that can be looked up each time when the signal to be descrambled is descrambled. For example, if the number of bits for scrambling code in the preset scrambling code sequence is 32 bits, then the number of bits for scrambling code lookup can be 32 bits, 16 bits, 8 bits, 4 bits, etc.

[0044] It should be noted that the scrambling lookup bit length can be the same as or less than the scrambling bit length of the preset scrambling sequence. Specifically, it can be the scrambling bit length corresponding to any divisor of the scrambling bit length of the preset scrambling sequence. In this embodiment, the scrambling lookup bit length can be taken as 8 bits for example.

[0045] In this embodiment, different scrambling code lookup bits correspond to different combinations of binary data. For example, if the scrambling code lookup bits are 8 bits, then the binary data combinations can be 00000000, 00000001, 00000010, ..., 11111111, with a total of 2^32 possible combinations. 8 One possibility.

[0046] It should be noted that all the possibilities of the multiple binary data combinations corresponding to the other scrambling code lookup bits can be determined in the same way as the binary data combinations corresponding to the 8-bit scrambling code lookup bits, and will not be repeated here.

[0047] In this embodiment, multiple sets of descrambling parameters are obtained by combining preset descrambling parameters with multiple sets of binary data; and each set of descrambling parameters is arranged sequentially by its corresponding number to generate a preset descrambling lookup table, which may specifically include:

[0048] When descrambling a signal, the above formula (1) is used. The purpose of (1-2c) in formula (1) is to change the sign of the LLR. When the scrambling code is 0, the original sequence is not changed; when the scrambling code is 1, the sequence is transformed. Taking one bit of the scrambling code sequence as an example, Table 1 is shown below:

[0049] Table 1

[0050]

[0051] In this embodiment, the preset descrambling parameters can be parameters "1" and "2" in formula (1), where c represents one bit in a combination of multiple binary data. By substituting each bit of the multiple binary data combinations into 1-2c in formula (1) for data transformation, the descrambling parameters corresponding to each group of binary data combinations can be obtained. For example, by substituting each bit of the 8-bit binary data combination 00000001 as c into formulas 1-2c, the descrambling parameters obtained after sign transformation are represented as 00000001, 00000001, 00000001, 00000001, 00000001, 00000001, 00000001, 11111111.

[0052] It should be noted that when the "1" in the 8-bit binary data combination in the above example is substituted into 1-2c, the result of the corresponding descrambling parameter is the inverse of the two's complement of the corresponding negative number plus "1".

[0053] In the embodiments of this application, each set of descrambling parameters corresponds to a sequence number. The sequence number can be obtained by converting each set of binary data when generating the descrambling parameters into a decimal number, and using the converted decimal number as the sequence number of the corresponding descrambling parameter. For example, if the binary data combination is 00000001, and its corresponding decimal data is 1, then the sequence number can be represented by the number 1. The descrambling parameters after sign conversion of the binary data combination are 00000001, 00000001, 00000001, 00000001, 00000001, 00000001, 11111111. The descrambling parameters 00000001, 00000001, 00000001, 00000001, 00000001, 00000001, 11111111 correspond to the sequence number 1.

[0054] In this embodiment of the application, following the above calculation method, all binary data combinations corresponding to the scrambling code lookup bit number can be calculated to obtain multiple sets of descrambling lookup parameters corresponding to that scrambling code lookup bit number. For example, when the scrambling code lookup bit number is 8 bits, its corresponding binary data combinations are 2 8 =256 types, which corresponds to 256 descrambling parameters. Each descrambling parameter is arranged with the corresponding sequence number of the binary data conversion to form a descrambling lookup table.

[0055] It should be noted that the descrambling lookup table consists of descrambling parameters and their corresponding indices. The descrambling parameter corresponding to the indice of the signal to be descrambled can be found in the lookup table using the indice. For example, if the target indice is 2, then the target indice 2 and its corresponding descrambling parameter can be found in the lookup table. This eliminates the need for calculations to obtain the descrambling parameter, effectively avoiding the slow processing speed of related technologies that rely solely on the above formula for signal descrambling, requiring pre-calculation of the scrambling code c for the total data length, followed by descrambling and shifting each bit of data.

[0056] In this embodiment of the application, after the descrambling lookup table is calculated in the above manner, the generated descrambling lookup table is read into a global variable during the initialization of the communication system so that it can be used directly in subsequent signal descrambling.

[0057] It should be noted that the sequence number corresponding to each set of descrambling parameters is obtained based on the data size determined by the combination of binary data corresponding to each set of descrambling parameters.

[0058] In the embodiments of this application, a new optimization algorithm is proposed, which enables descrambling to have a high speed.

[0059] It is understood that in the signal descrambling method provided in this application embodiment, since the preset descrambling lookup table contains multiple sets of descrambling parameters and the corresponding sequence number of each set of descrambling parameters, when descrambling the signal to be descrambled, it is only necessary to look up the descrambling parameter corresponding to the sequence number of the signal to be descrambled directly in the descrambling lookup table according to the sequence number of the first target scrambling code sequence generated by the signal to be descrambled. It is not necessary to calculate the descrambling parameter corresponding to the signal to be descrambled during signal descrambling. Therefore, it simplifies the calculation time when shifting each bit of data during signal descrambling, thereby shortening the descrambling time of the signal, improving the signal descrambling speed, and thus improving the uplink rate during signal transmission.

[0060] In one embodiment of this application, before obtaining the first descrambling parameter by searching based on the sequence number from the preset descrambling lookup table, the method further includes: if the number of scrambling code lookup bits is greater than the preset number of scrambling code lookup bits, setting the number of scrambling code lookup bits for searching the preset scrambling code sequence based on the number of scrambling code bits of the preset scrambling code sequence; dividing the scrambling code lookup bits based on the preset number of scrambling code lookup bits, and using the divided scrambling code lookup bits to determine multiple target binary data combinations; performing calculations with the preset descrambling parameters using the multiple target binary data combinations to obtain multiple sets of descrambling parameters; and arranging each set of descrambling parameters sequentially by the corresponding sequence number in rows to generate a preset descrambling lookup table; wherein, the sequence number of each set of descrambling parameters is the data value corresponding to the binary data combination of each set of descrambling parameters.

[0061] In this embodiment, if the set scrambling lookup bit is large, the generated descrambling lookup table will occupy a large amount of memory. Therefore, when the scrambling lookup bit is greater than the preset scrambling lookup bit, the more possible binary data combinations corresponding to the scrambling lookup bit, the more rows are occupied in the table, indicating that the generated descrambling lookup table will occupy a large amount of memory. For example, if the scrambling lookup bit is 32 bits, then the probability of binary data combinations determined by the 32-bit scrambling lookup bit is 2. 32 There are 2 possibilities, so the descrambling lookup table generated using the above method contains a total of 2... 32 There are 2 possibilities, occupying 2 rows in the descrambling lookup table. 32 Yes, it can be seen that it occupies a large amount of memory.

[0062] It should be noted that the preset scrambling code lookup bit length can be selected according to the actual situation, and no specific limitation is made in this embodiment. Preferably, the descrambling lookup table in this embodiment is designed as an 8-bit lookup table.

[0063] In this embodiment, when the scrambling lookup bit length is greater than the preset scrambling lookup bit length, the scrambling lookup bit length can be segmented into multiple segments. For example, if the scrambling lookup bit length is 32 bits and the preset scrambling lookup bit length is 8 bits, it can be divided into 4 segments according to the preset scrambling lookup bit length, allowing for 4 lookups in the table. Each segment contains 8 scrambling lookup bits. When generating the descrambling lookup table, the descrambling lookup table is generated based on the binary data combinations corresponding to the 8 scrambling lookup bits. For example, there are 2 possible combinations of 8 binary data. 8 There are 2 possibilities, which occupy 2% of the table. 8 Okay, so that a memory-consuming 2 32 The table of rows is converted to occupy 2. 8 A table of rows.

[0064] In this embodiment of the application, in order to reduce the size of the lookup table from the MB level to the KB level, thereby reducing memory usage, the above-mentioned 8-bit descrambling lookup table method is used for the lookup, and the generated descrambling lookup table occupies less memory.

[0065] In this embodiment, the number of bits in the segmented scrambling code is used to determine the corresponding multiple target binary data combinations. Then, calculations are performed based on the target binary data combinations and preset descrambling parameters to obtain multiple sets of descrambling parameters. Each set of descrambling parameters is arranged in rows according to its corresponding number to generate a preset descrambling lookup table. The specific implementation process can be referred to in the above embodiment, and will not be repeated here.

[0066] In one embodiment of this application, after obtaining the first target scrambling code sequence corresponding to the signal to be descrambled, the method further includes setting the first target scrambling code bit length; and segmenting the first target scrambling code sequence based on the first target scrambling code bit length to obtain multiple scrambling code sequences to be searched and search counts corresponding to the target scrambling code sequence; determining the sequence number corresponding to each of the multiple scrambling code sequences to be searched based on the multiple scrambling code sequences to be searched; correspondingly, searching from a preset descrambling lookup table based on the sequence number to obtain the first descrambling parameter can be based on the search count, searching from the preset descrambling lookup table sequentially according to the sequence number corresponding to each scrambling code sequence to be searched to obtain multiple first descrambling parameters corresponding to the multiple scrambling code sequences to be searched.

[0067] In this embodiment, if the number of bits for scrambling code lookup is large, a first target scrambling code bit length smaller than the number of bits for scrambling code lookup can be set. Then, the first target scrambling code bit length is used to segment the first target scrambling code sequence of the signal to be descrambled. For example, if the number of bits for scrambling code lookup is 64 bits, the first target scrambling code bit length can be set to 32 bits, 16 bits, 8 bits, etc. Preferably, 8 bits are used here. The first target scrambling code sequence is segmented using 8 bits. If the first target scrambling code sequence is 32 bits, it can be divided into 4 scrambling code sequences to be searched. After segmentation, it forms 4 segments, which means that it can be searched 4 times, each time searching 8 bits in the first target scrambling code sequence. For example, if the first target scrambling code sequence is 1-32 bits, the first search is for bits 1-8, the second search is for bits 9-16, and so on, until the 32 bits are searched.

[0068] In this embodiment of the application, after dividing the first target scrambling code sequence into 4 scrambling code sequences to be searched, each scrambling code sequence to be searched has the same number of scrambling bits. Since the scrambling code sequence to be searched is composed of binary data, the corresponding sequence number is determined according to the binary data corresponding to the scrambling code sequence to be searched.

[0069] It should be noted that the serial number can be binary data converted to decimal data or other data, and can be consistent with the serial number format in the descrambling lookup table. Specifically, it can be selected according to the actual situation, and no specific limitation is made in the embodiments of this application.

[0070] For example, if the first target scrambling sequence has 32 bits, and it is divided into 4 scrambling sequences to be searched, each of which has 8 bits, then the first scrambling sequence to be searched can be 00000000, the second scrambling sequence to be searched can be 00000001, the third scrambling sequence to be searched can be 00000010, and the fourth scrambling sequence to be searched can be 00000011. Then, the index corresponding to the first scrambling sequence to be searched after being converted to decimal can be 0, the index corresponding to the second scrambling sequence to be searched after being converted to decimal can be 1, and so on.

[0071] In this embodiment of the application, after obtaining multiple scrambling code sequences to be searched, the descrambling lookup table is searched sequentially according to the sequence number corresponding to each of the multiple scrambling code sequences to be searched, and multiple first descrambling parameters corresponding to the multiple scrambling code sequences to be searched are found.

[0072] It should be noted that the number of searches is the same as the number of scrambling sequences to be searched. For example, if there are 4 scrambling sequences to be searched, then 4 searches can be performed.

[0073] It should be noted that the descrambling parameters corresponding to each scrambling code sequence to be searched can be concatenated once, and the concatenated descrambling parameters can be used to descramble the signal to be descrambled.

[0074] In one embodiment of this application, after descrambling the signal to be descrambled using the first descrambling parameter, the method further includes determining whether the signal to be descrambled has been descrambled; if it is determined that the signal to be descrambled has been descrambled, outputting the descrambled signal; if it is determined that the signal to be descrambled has not been descrambled, determining the remaining signal to be descrambled; and descrambling the remaining signal to be descrambled based on a preset descrambling lookup table.

[0075] In this embodiment of the application, after descrambling the signal to be descrambled using the first descrambling parameter, there may be a situation where the number of bits of the generated scrambling code sequence is less than the number of bits of the first target scrambling code sequence of the signal to be descrambled. For example, the number of bits of LLR will be the same as the number of bits of c, where c has the same meaning as c in formula (1). If LLR has 64 bits and c has 32 bits, there may be a situation where descrambling of the signal to be descrambled cannot be completed. Therefore, after descrambling the signal to be descrambled, it is necessary to further determine whether the descrambling of the signal to be descrambled is completed. If the descrambling is not completed, it is necessary to generate another 32-bit completion signal for descrambling.

[0076] In this embodiment of the application, if it is determined that the descrambling of the signal to be descrambled is completed, the descrambling signal after the descrambling is completed is directly output. If it is determined that the descrambling of the signal to be descrambled is not completed, it is necessary to further determine the remaining signals to be descrambled and further descramble the remaining signals to be descrambled. After it is determined that the descrambling is completed, the descrambling signal after descrambling is output.

[0077] In one embodiment of this application, descrambling the remaining signal to be descrambled based on a preset descrambling lookup table may involve updating the first target scrambling code sequence to obtain the second target scrambling code sequence corresponding to the remaining signal to be descrambled; determining the sequence number corresponding to the second target scrambling code sequence based on the second target scrambling code sequence; searching the preset descrambling lookup table based on the sequence number corresponding to the second target scrambling code sequence to obtain the second descrambling parameter; and using the second descrambling parameter to descramble the remaining signal to be descrambled.

[0078] In this embodiment of the application, when the signal to be descrambled is not completely descrambled, it is necessary to continue descrambling the remaining part of the signal to be descrambled. First, an updated second target scrambling code sequence is generated according to the protocol. The updated scrambling code sequence is used to update the first target scrambling code sequence used in the initial descrambling, so that the updated second target scrambling code sequence can be used to continue descrambling the remaining signal to be descrambled.

[0079] In the embodiments of this application, when descrambling the remaining signal to be descrambled using the second target scrambling code sequence, the corresponding sequence number of the second target scrambling code sequence is determined in the same way as described above, and will not be repeated here.

[0080] In this embodiment of the application, after determining one or more serial numbers corresponding to the second target scrambling code sequence, the second descrambling data corresponding to one or more serial numbers is obtained by sequentially searching in the descrambling lookup table according to the serial number. Finally, the remaining descrambling signal is descrambled by using the descrambling data and the calculation method in formula (1), that is, by multiplying the second descrambling parameter with LLR.

[0081] It should be noted that after descrambling the remaining signals to be descrambled, it is necessary to further determine whether the descrambling of the remaining signals to be descrambled is complete. If the descrambling is complete, the descrambled signal is output. If the descrambling of the remaining signals to be descrambled is not complete, the undescrambled portion of the remaining signals to be descrambled is determined, and so on, until the entire descrambling signal is descrambled.

[0082] In one embodiment of this application, descrambling the signal to be descrambled using the first descrambling parameter may involve obtaining the bit width of the instruction set used to process the signal to be descrambled and the number of descrambling bits of the signal to be descrambled; determining the number of signals to be descrambled each time based on the ratio of the bit width to the number of descrambling bits; and simultaneously descrambling multiple numbers of signals to be descrambled using multiple first descrambling parameters that are the same number as the number of signals to be descrambled.

[0083] In this embodiment of the application, in order to further improve the descrambling speed, multiple signals to be descrambled can be descrambled simultaneously based on the bit width of the instruction set when descrambling the signal to be descrambled.

[0084] In the embodiments of this application, the bit width of the instruction set can be actively obtained from the processor, or the bit width of the instruction set can be obtained when a bit width acquisition instruction is received.

[0085] In this embodiment, while obtaining the instruction set bit width, it is also necessary to obtain the number of descrambling bits of the signal to be descrambled. For example, if the instruction set bit width is 128 bits and the number of descrambling bits is 8 bits, then the ratio of the instruction set bit width to the number of descrambling bits can be further utilized, i.e., 128 / 32 = 4, that is, 4 signals to be descrambled can be processed simultaneously using the 128-bit bit width.

[0086] In the embodiments of this application, a first descrambling parameter is determined for each signal to be descrambled. The process of determining the descrambling parameter can refer to the implementation process in the above example, and will not be repeated here.

[0087] In this embodiment of the application, after determining multiple first descrambling parameters, the multiple descrambling signals are simultaneously descrambled using the current instruction set bit width.

[0088] Based on the above embodiments, the signal descrambling method provided in this application enables descrambling to have a high speed, and by reducing the number of bits in the descrambling lookup table, the memory usage of the descrambling lookup table is lower than that in related technologies.

[0089] Based on the above embodiments, this application also provides a signal descrambling method that takes into account both lookup speed and the memory occupied by the descrambling lookup table, such as... Figure 3 As shown, the specific steps include:

[0090] Step 1: Before the communication system is running, generate a descrambling lookup table using formula 1-2c;

[0091] It should be noted that this method can reduce the time spent on positive / negative transformation and shifting for each bit of data. The size of the descrambling lookup table can be 256*64, which can be selected according to the actual situation.

[0092] Step 2: During the initialization of the communication system, the generated lookup table is read into a global variable;

[0093] It should be noted that reading into a global variable can be used in the subsequent descrambling process of the signal to be descrambled.

[0094] Step 3: During the descrambling process, first generate an initial 32-bit scrambling code sequence according to the protocol.

[0095] Step 4: Determine whether all signals to be descrambled have been descrambled.

[0096] Step 5: If completed, output the descrambled signal; if not completed, proceed to steps 6 and 7.

[0097] The determination of whether descrambling is complete can be made when the counter reaches the total descrambling length, indicating that all data has been descrambled; otherwise, it indicates that the descrambling is not complete.

[0098] Step 6: Each generated scrambling sequence is 32 bits, and each table lookup corresponds to 8 data points to be descrambled. Therefore, the scrambling sequence needs to be looked up 4 times. Each... After the table lookup, it is necessary to... The results of the table lookup are combined into a length of y bits, and then a y-bit instruction set is used in parallel to process the data. Each codeword is descrambled. Therefore, a total of 32 data words can be descrambled in each loop.

[0099] Step 7: Update the 32-bit scrambling sequence according to the protocol, and return to step 4 to determine whether all signals to be descrambled have been descrambled. If so, proceed to step 5 to output the descrambled signal; otherwise, continue with steps 6 and 7.

[0100] For example, suppose the quantization bit depth of the input data of the signal to be descrambled is x (x is usually 8 or 16), where the quantization bit depth refers to the number of bits per descrambled data. For example, if there are 10 descrambled data, the total length is 10x bits. The input data is the scrambled data.

[0101] The instruction set used by the processor has a bit width of y (y is usually 128, 256, or 512). The scrambling sequence generated by the protocol is 32 bits, which corresponds to 32 data.

[0102] To reduce the size of the lookup table from the MB level to the KB level, thereby reducing memory usage, an 8-bit lookup table was designed, so each lookup involves a total of 2... 8 Two possibilities, 2 8 This refers to the number of rows in the lookup table. The 32-bit scrambling sequence is searched in four steps, with each search corresponding to eight data points, resulting in an 8x column lookup table. To further improve descrambling speed and fully utilize the instruction set bit width, each instruction set operation is designed to be processed in parallel. Descrambling of individual codewords. In this 2 8 In the lookup table with 8x rows and 8x columns, each descrambling codeword is pre-generated according to method 1-2c.

[0103] As shown in the flowchart, assuming the quantization bit width of the descrambled input data is x = 8, the instruction set bit width used by the processor is y = 128, and there are 8 descrambled signals, then the size of the lookup table is 2. 8 ×8x = 256 × 64. Each loop performs four table lookups on the scrambling sequence. After every two lookups, the results are merged to a length of 128 bits. Then, a 128-bit instruction set is used to descramble the eight codewords in parallel. Because the loop runs four times, the 128-bit instruction set can descramble a total of 32 codewords per loop.

[0104] Compared with related technologies, the signal descrambling method in this application has the following advantages:

[0105] (1) In the process of descrambling, related technologies require bit shifting of each data bit. However, in this embodiment, a pre-generated descrambling lookup table is used to reduce the time for descrambling and shifting each data bit, thereby improving the descrambling speed.

[0106] (2) Related technical solutions require generating a scrambling sequence of total length based on the initial value of the scrambling sequence, and then using this sequence for descrambling. Generating and storing the scrambling sequence of total length also occupies a large amount of memory space. However, in this embodiment, the scrambling sequence is generated in segments and the descrambling lookup table is split to reduce the size of the lookup table, thereby reducing the memory usage.

[0107] (3) Based on the bit width of the processor instruction set, the design allows multiple codewords to be descrambled in parallel during each lookup, thereby further improving the descrambling speed.

[0108] Based on the above embodiments, another embodiment of this application provides a signal descrambling device 1, such as... Figure 4 As shown, the signal descrambling device 1 includes:

[0109] The determining unit 10 is used to acquire the first target scrambling code sequence corresponding to the signal to be descrambled; and to determine the sequence number corresponding to the first target scrambling code sequence based on the first target scrambling code sequence.

[0110] The descrambling unit 11 is used to search for a first descrambling parameter from a preset descrambling lookup table based on the serial number; and to descramble the signal to be descrambled using the first descrambling parameter; wherein the preset descrambling lookup table contains multiple sets of descrambling parameters, and each set of descrambling parameters corresponds to a serial number.

[0111] Optionally, the signal descrambling device 1 may further include: a generation unit,

[0112] The determining unit 10 is further configured to, when the number of scrambling code lookup bits is less than or equal to the number of preset scrambling code lookup bits, set the number of scrambling code lookup bits when looking up a preset scrambling code sequence based on the number of scrambling code bits of the preset scrambling code sequence; and determine multiple binary data combinations corresponding to the number of scrambling code lookup bits.

[0113] The generation unit is used to perform calculations by combining preset descrambling parameters with multiple binary data to obtain multiple sets of descrambling parameters; and to arrange each set of descrambling parameters in order according to the corresponding sequence number to generate a preset descrambling lookup table; wherein, the sequence number of each set of descrambling parameters is the data value corresponding to the binary data combination of each set of descrambling parameters.

[0114] Optionally, the signal descrambling device 1 may further include: a segmentation unit and a processing unit.

[0115] The segmentation unit is used to set the number of scrambling code lookup bits when performing a lookup on the preset scrambling code sequence based on the number of scrambling code bits of the preset scrambling code sequence, when the number of scrambling code lookup bits is greater than the preset number of scrambling code lookup bits; and to segment the scrambling code lookup bits based on the preset number of scrambling code lookup bits.

[0116] The determining unit 10 is used to determine the corresponding combination of multiple target binary data by looking up the number of bits after segmentation of the scrambling code;

[0117] The arithmetic unit is used to perform calculations based on the target binary data combination and preset descrambling parameters to obtain multiple sets of descrambling parameters; and to arrange each set of descrambling parameters in order according to the corresponding sequence number to generate a preset descrambling lookup table; wherein, the sequence number of each set of descrambling parameters is the data value corresponding to the binary data combination of each set of descrambling parameters.

[0118] Optionally, the signal descrambling device 1 may further include: a setting unit and a searching unit.

[0119] The setting unit is used to set the first target scrambling code bit length; and to segment the first target scrambling code sequence based on the first target scrambling code bit length to obtain multiple scrambling code sequences to be searched and the number of search times corresponding to the target scrambling code sequence.

[0120] The determining unit 10 is further configured to determine the sequence number corresponding to each of the multiple scrambling code sequences to be searched, based on the multiple scrambling code sequences to be searched.

[0121] The lookup unit is used to search sequentially from a preset descrambling lookup table according to the sequence number corresponding to each scrambling code sequence to be searched, based on the number of search attempts, to obtain multiple first descrambling parameters corresponding to multiple scrambling code sequences to be searched.

[0122] Optionally, the signal descrambling device 1 may further include: an output unit,

[0123] The determining unit 10 is also used to determine whether the signal to be descrambled has been descrambled.

[0124] The output unit is used to output the descrambled signal after determining that the descrambling of the signal to be descrambled has been completed.

[0125] The determining unit 10 is further configured to determine the remaining signals to be descrambled when the descrambling of the signal to be descrambled is not completed; and to descramble the remaining signals to be descrambled based on a preset descrambling lookup table.

[0126] Optionally, the signal descrambling device 1 may further include: an update unit,

[0127] The update unit is used to update the first target scrambling code sequence to obtain the second target scrambling code sequence corresponding to the remaining scrambling signal; and to determine the sequence number corresponding to the second target scrambling code sequence based on the second target scrambling code sequence.

[0128] The descrambling unit 11 is also used to search from a preset descrambling lookup table based on the sequence number corresponding to the second target scrambling code sequence to obtain the second descrambling parameter; and to use the second descrambling parameter to descramble the remaining signal to be descrambled.

[0129] Optionally, the signal descrambling device 1 may further include: an acquisition unit,

[0130] The acquisition unit is used to acquire the bit width of the instruction set and the number of bits to be descrambled in the signal to be descrambled when processing the signal to be descrambled.

[0131] The determining unit 10 is also used to determine the number of signals to be descrambled each time based on the ratio of the bit width to the number of bits to be descrambled.

[0132] The descrambling unit 11 is also used to descramble multiple signals to be descrambled simultaneously using multiple first descrambling parameters of the same quantity.

[0133] This application provides a signal descrambling device that acquires a first target scrambling code sequence corresponding to a signal to be descrambled; determines the sequence number corresponding to the first target scrambling code sequence based on the first target scrambling code sequence; searches a preset descrambling lookup table based on the sequence number to obtain a first descrambling parameter; and uses the first descrambling parameter to descramble the signal to be descrambled; wherein the preset descrambling lookup table contains multiple sets of descrambling parameters, and each set of descrambling parameters corresponds to a sequence number. Therefore, the signal descrambling device proposed in this application embodiment contains multiple sets of descrambling parameters and the corresponding serial number of each set of descrambling parameters in the preset descrambling lookup table. When descrambling the signal to be descrambled, it is only necessary to look up the descrambling parameter corresponding to the serial number of the signal to be descrambled directly in the descrambling lookup table according to the serial number of the first target scrambling code sequence generated by the signal to be descrambled. It is not necessary to calculate the descrambling parameter corresponding to the signal to be descrambled during signal descrambling. Therefore, it simplifies the calculation time when shifting each bit of data during signal descrambling, thereby shortening the descrambling time of the signal, improving the signal descrambling speed, and thus improving the uplink rate during signal transmission.

[0134] Figure 5 This is a schematic diagram of the composition structure of a terminal device 2 provided in an embodiment of this application. In practical applications, based on the same disclosed concept of the above embodiments, such as... Figure 5 As shown, the terminal device 2 in this embodiment includes a processor 20, a memory 21, and a communication bus 22.

[0135] In specific embodiments, the aforementioned determining unit 10, descrambling unit 11, generating unit, segmenting unit, calculating unit, setting unit, searching unit, output unit, updating unit, and acquiring unit can be implemented by the processor 20 located on the terminal device 2. The processor 20 can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), CPU, controller, microcontroller, and microprocessor. It is understood that for different devices, the electronic device used to implement the above processor functions can also be other types; this embodiment does not specifically limit this.

[0136] In this embodiment, the communication bus 22 is used to realize the connection communication between the processor 20 and the memory 21; when the processor 20 executes the running program stored in the memory 21, it implements the following signal descrambling method:

[0137] Obtain the first target scrambling code sequence corresponding to the signal to be descrambled; and determine the sequence number corresponding to the first target scrambling code sequence based on the first target scrambling code sequence; search the preset descrambling lookup table based on the sequence number to obtain the first descrambling parameter; and use the first descrambling parameter to descramble the signal to be descrambled; wherein, the preset descrambling lookup table contains multiple sets of descrambling parameters, and each set of descrambling parameters corresponds to a sequence number.

[0138] Furthermore, the processor 20 is also configured to, when the number of scrambling code lookup bits is less than or equal to the preset number of scrambling code lookup bits, set the number of scrambling code lookup bits when looking up the preset scrambling code sequence based on the number of scrambling code bits of the preset scrambling code sequence; and determine multiple binary data combinations corresponding to the number of scrambling code lookup bits; perform calculations with the multiple binary data combinations using preset descrambling parameters respectively to obtain multiple sets of descrambling parameters; and arrange each set of descrambling parameters in order according to the corresponding sequence number to generate a preset descrambling lookup table; wherein, the sequence number of each set of descrambling parameters is the data value corresponding to the binary data combination of each set of descrambling parameters.

[0139] Furthermore, the processor 20 is also configured to, when the number of scrambling code lookup bits is greater than the preset number of scrambling code lookup bits, set the number of scrambling code lookup bits when looking up the preset scrambling code sequence based on the number of scrambling code bits of the preset scrambling code sequence; and divide the number of scrambling code lookup bits based on the preset number of scrambling code lookup bits; determine multiple target binary data combinations corresponding to the divided number of scrambling code lookup bits; perform calculations with the multiple target binary data combinations and preset descrambling parameters to obtain multiple sets of descrambling parameters; and arrange each set of descrambling parameters in order according to the corresponding sequence number to generate a preset descrambling lookup table; wherein, the sequence number of each set of descrambling parameters is the data value corresponding to the binary data combination of each set of descrambling parameters.

[0140] Furthermore, the processor 20 is also configured to set a first target scrambling bit length; and to segment the first target scrambling code sequence based on the first target scrambling bit length to obtain multiple scrambling code sequences to be searched and search counts corresponding to the target scrambling code sequence; and to determine the sequence number corresponding to the multiple scrambling code sequences to be searched based on the multiple scrambling code sequences to be searched.

[0141] Furthermore, the processor 20 is also configured to search sequentially from the preset descrambling lookup table according to the sequence number corresponding to each of the scrambling code sequences to be searched, based on the number of searches, to obtain a plurality of first descrambling parameters corresponding to the plurality of scrambling code sequences to be searched.

[0142] Furthermore, the processor 20 is also configured to determine whether the descrambling signal has been descrambled; if the descrambling signal has been descrambled, output the descrambled signal; if the descrambling signal has not been descrambled, determine the remaining descrambling signals; and descramble the remaining descrambling signals based on the preset descrambling lookup table.

[0143] Furthermore, the processor 20 is also configured to update the first target scrambling sequence to obtain the second target scrambling sequence corresponding to the remaining descrambling signal; and determine the sequence number corresponding to the second target scrambling sequence based on the second target scrambling sequence; search the preset descrambling lookup table based on the sequence number corresponding to the second target scrambling sequence to obtain the second descrambling parameter; and use the second descrambling parameter to descramble the remaining descrambling signal.

[0144] Furthermore, the processor 20 is also configured to acquire the bit width of the instruction set for processing the signal to be descrambled and the number of descrambling bits of the signal to be descrambled; determine the number of signals to be descrambled each time based on the ratio of the bit width to the number of descrambling bits; and simultaneously descramble multiple signals to be descrambled using multiple first descrambling parameters equal to the number of signals.

[0145] Based on the above embodiments, this application provides a storage medium storing a computer program thereon. The computer-readable storage medium stores one or more programs, which can be executed by one or more processors and applied in a terminal device. The computer program implements the signal descrambling method described above.

[0146] It should be noted that, in the embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0147] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause an image display device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0148] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A signal descrambling method, characterized in that, The method includes: Obtain the first target scrambling code sequence corresponding to the signal to be descrambled; and determine the sequence number corresponding to the first target scrambling code sequence based on the first target scrambling code sequence. The first descrambling parameter is obtained by searching the preset descrambling lookup table based on the sequence number; and the first descrambling parameter is used to descramble the signal to be descrambled; wherein the preset descrambling lookup table contains multiple sets of descrambling parameters, and each set of descrambling parameters corresponds to a sequence number; After obtaining the first target scrambling code sequence corresponding to the signal to be descrambled, the method further includes: Set a first target scrambling bit length; and segment the first target scrambling bit sequence based on the first target scrambling bit length to obtain multiple scrambling bit sequences to be searched and the number of search times corresponding to the first target scrambling bit sequence; Based on the plurality of scrambling code sequences to be searched, determine the sequence number corresponding to each of the plurality of scrambling code sequences to be searched; The step of searching from a preset descrambling lookup table based on the sequence number to obtain the first descrambling parameter includes: Based on the number of searches, the system searches sequentially from the preset descrambling lookup table according to the sequence number corresponding to each scrambling code sequence to be searched, thereby obtaining multiple first descrambling parameters corresponding to the multiple scrambling code sequences to be searched.

2. The method according to claim 1, characterized in that, Before obtaining the first descrambling parameter by searching the preset descrambling lookup table based on the sequence number, the method further includes: When the number of scrambling code lookup bits is less than or equal to the preset number of scrambling code lookup bits, the number of scrambling code lookup bits is set based on the number of scrambling code bits of the preset scrambling code sequence; and multiple binary data combinations corresponding to the number of scrambling code lookup bits are determined. Multiple sets of descrambling parameters are obtained by combining preset descrambling parameters with the multiple binary data. Each set of descrambling parameters is then arranged in rows according to its corresponding sequence number to generate a preset descrambling lookup table. The sequence number of each set of descrambling parameters is the data value corresponding to the binary data combination of each set of descrambling parameters.

3. The method according to claim 1, characterized in that, Before obtaining the first descrambling parameter by searching the preset descrambling lookup table based on the sequence number, the method further includes: If the number of scrambling code lookup bits is greater than the preset number of scrambling code lookup bits, the number of scrambling code lookup bits is set based on the number of scrambling code bits of the preset scrambling code sequence; and the number of scrambling code lookup bits is segmented based on the preset number of scrambling code lookup bits. The corresponding combination of multiple target binary data is determined by looking up the number of bits after segmentation of the scrambling code. Multiple sets of descrambling parameters are obtained by combining the multiple target binary data with preset descrambling parameters; and each set of descrambling parameters is arranged in rows according to its corresponding sequence number to generate a preset descrambling lookup table; wherein, the sequence number of each set of descrambling parameters is the data value corresponding to the binary data combination of each set of descrambling parameters.

4. The method according to claim 1, characterized in that, After descrambling the signal to be descrambled using the first descrambling parameter, the method further includes: Determine whether the descrambling of the signal to be descrambled is complete; If it is determined that the descrambling of the signal to be descrambled is complete, the descrambling signal is output. If it is determined that the descrambling of the signal to be descrambled has not been completed, the remaining signals to be descrambled are determined; and the remaining signals to be descrambled are descrambled based on the preset descrambling lookup table.

5. The method according to claim 4, characterized in that, The step of descrambling the remaining signals to be descrambled based on the preset descrambling lookup table includes: Update the first target scrambling code sequence to obtain the second target scrambling code sequence corresponding to the remaining scrambling signal; and determine the sequence number corresponding to the second target scrambling code sequence based on the second target scrambling code sequence. The second descrambling parameter is obtained by searching the preset descrambling lookup table based on the sequence number corresponding to the second target scrambling code sequence; and the second descrambling parameter is used to descramble the remaining signal to be descrambled.

6. The method according to claim 1, characterized in that, The step of descrambling the signal to be descrambled using the first descrambling parameter includes: Obtain the bit width of the instruction set used to process the signal to be descrambled and the number of bits to be descrambled in the signal to be descrambled; Based on the ratio of the bit width to the number of bits to be descrambled, the number of signals to be descrambled each time is determined; Multiple signals to be descrambled are simultaneously descrambled using a plurality of first descrambling parameters equal to the stated number.

7. A signal descrambling device, characterized in that, The signal descrambling device includes: The determining unit is used to acquire the first target scrambling code sequence corresponding to the signal to be descrambled; and to determine the sequence number corresponding to the first target scrambling code sequence based on the first target scrambling code sequence. The descrambling unit is used to search for a first descrambling parameter in a preset descrambling lookup table based on the serial number; and to descramble the signal to be descrambled using the first descrambling parameter; wherein the preset descrambling lookup table contains multiple sets of descrambling parameters, and each set of descrambling parameters corresponds to a serial number; The setting unit is used to set the first target scrambling code bit length; and to segment the first target scrambling code sequence based on the first target scrambling code bit length to obtain multiple scrambling code sequences to be searched and the number of search times corresponding to the first target scrambling code sequence. The determining unit is further configured to determine the sequence number corresponding to each of the plurality of scrambling code sequences to be searched, based on the plurality of scrambling code sequences to be searched. The lookup unit is used to search sequentially from the preset descrambling lookup table according to the sequence number corresponding to each of the scrambling code sequences to be searched, based on the number of search attempts, to obtain multiple first descrambling parameters corresponding to the multiple scrambling code sequences to be searched.

8. A terminal device, characterized in that, The terminal device includes: a processor, a memory, and a communication bus; when the processor executes the running program stored in the memory, it implements the method as described in any one of claims 1 to 6.

9. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 6.