Information query method, device, computer device and storage medium
Through mapping and compensation parameters, the phase rotation value of the pilot subcarrier is quickly and accurately determined, solving the problem of low efficiency in determining the phase rotation value of the pilot subcarrier, improving channel estimation efficiency and saving storage space.
Patent Information
- Application Number
- CN202210394938.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-14
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2042-04-14
AI Technical Summary
The prior art is difficult to quickly and efficiently determine the phase rotation value corresponding to the phase rotation angle of the pilot subcarrier, resulting in insufficiency of channel estimation.
By determining the first phase index based on the time bias and subcarrier index of the received pilot symbols, and mapping it into a second phase index, querying the reference phase rotation value stored in the first phase table, using the compensation parameters to offset the error introduced by the index mapping, and finally obtaining the target phase rotation value of the pilot subcarrier.
It improves the query efficiency and accuracy of pilot subcarrier phase rotation values, saves storage space, and reduces power consumption.
Smart Images

Figure CN114817643B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of computer technologies, and particularly to an information query method, apparatus, computer device, and storage medium. Background Art
[0002] A pilot symbol refers to an orthogonal frequency division multiplexing symbol carrying a pilot signal, and the pilot symbol includes multiple pilot subcarriers, that is, subcarriers carrying pilot signals. After the pilot symbol is transmitted through a channel, if there is a time offset in the time domain, the multiple pilot subcarriers included in the pilot symbol will generate phase rotations, and the phase rotation angles generated by different pilot subcarriers are different. Then, the pilot signals carried by each pilot subcarrier also generate phase rotations, and the phase rotation angles of the pilot signals carried by different pilot subcarriers are different.
[0003] In order to perform channel estimation based on the pilot signals in the pilot symbol, it is necessary to determine each pilot signal after phase rotation in the pilot symbol, that is, multiply each pilot signal by a phase rotation value corresponding to the phase rotation angle of the pilot subcarrier where it is located. Therefore, there is an urgent need to provide a method to quickly determine the phase rotation value corresponding to the phase rotation angle of the pilot subcarrier. Summary of the Invention
[0004] Embodiments of the present application provide an information query method, apparatus, computer device, and storage medium, which can improve the efficiency of determining the phase rotation value corresponding to the phase rotation angle of the pilot subcarrier. The technical solutions are as follows:
[0005] According to one aspect of the embodiments of the present application, an information query method is provided, and the method includes:
[0006] Determine a plurality of first phase indices based on the time offset of the received pilot symbol and the subcarrier indices of the multiple pilot subcarriers in the pilot symbol;
[0007] Map the plurality of first phase indices to second phase indices respectively, where the phase rotation angle corresponding to the first phase index mapped within the target quadrant in the rectangular coordinate system is equal to the phase rotation angle corresponding to the second phase index;
[0008] Query, according to the positions indicated by the plurality of second phase indices respectively, the reference phase rotation values corresponding to the plurality of second phase indices from a first phase table, where the first phase table stores the phase rotation values corresponding to the phase rotation angles within the target quadrant;
[0009] Query the compensation parameters corresponding to the plurality of reference phase rotation values respectively, where the compensation parameters are used to offset the error of the phase rotation value caused by index mapping;
[0010] Multiply the multiple reference phase rotation values by corresponding compensation parameters respectively to obtain the target phase rotation values of the multiple pilot subcarriers.
[0011] According to another aspect of the embodiments of the present application, an information query device is provided. The device includes:
[0012] A first determination module, configured to determine a plurality of first phase indices based on the time offset of the received pilot symbols and the subcarrier indices of the multiple pilot subcarriers in the pilot symbols;
[0013] An index mapping module, configured to map the plurality of first phase indices to second phase indices respectively. The phase rotation angle corresponding to the first phase index mapped within the target quadrant in the rectangular coordinate system is equal to the phase rotation angle corresponding to the second phase index;
[0014] A first query module, configured to query the reference phase rotation values corresponding to the plurality of second phase indices respectively at the positions indicated by the plurality of second phase indices from a first phase table. The first phase table stores the phase rotation values corresponding to the phase rotation angles within the target quadrant;
[0015] A second query module, configured to query the compensation parameters corresponding to the plurality of reference phase rotation values respectively. The compensation parameters are used to offset the error of the phase rotation values caused by index mapping;
[0016] A compensation module, configured to multiply the plurality of reference phase rotation values by corresponding compensation parameters respectively to obtain the target phase rotation values of the multiple pilot subcarriers.
[0017] According to another aspect of the embodiments of the present application, a computer device is provided. The computer device includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the information query method as described in the above aspect.
[0018] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided. The storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the information query method as described in the above aspect.
[0019] According to another aspect of the embodiments of the present application, a chip is provided. The chip includes programmable logic circuits and / or program instructions, and is used to implement the information query method as described in the above aspect when the chip runs on a terminal.
[0020] According to another aspect of the embodiments of the present application, a computer program product is provided. The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the information query method described in the above aspect.
[0021] In the embodiments of the present application, after obtaining a plurality of first phase indices from the subcarrier indices of a plurality of pilot subcarriers, the first phase indices are first mapped to second phase indices. Since the phase rotation angle corresponding to the first phase index mapped within the phase rotation angle in the target quadrant is equal to the phase rotation angle corresponding to the second phase index, therefore, the reference phase rotation value queried based on the second phase index is the phase rotation value corresponding to the phase rotation angle mapped within the target quadrant for each quadrant. There is an error between this phase rotation value and the true phase rotation value corresponding to the phase rotation angle in each quadrant. Therefore, after querying the reference phase rotation value, query the compensation parameter corresponding to each reference phase rotation value, and multiply each reference phase rotation value by the corresponding compensation parameter, which can offset the error of the phase rotation value caused by the mapping and ensure the accuracy of the obtained phase rotation values. And since only the phase rotation values corresponding to the phase rotation angles in the target quadrant are stored in the first phase table, rather than the phase rotation values corresponding to the phase rotation angles in each quadrant, it not only saves storage space but also improves the query efficiency of the phase rotation values. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0023] Figure 1 Shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
[0024] Figure 2 Shows a flowchart of an information query method provided by an exemplary embodiment of the present application;
[0025] Figure 3 Shows a schematic diagram of a quadrant provided by an exemplary embodiment of the present application;
[0026] Figure 4 Shows a flowchart of an information query method provided by an exemplary embodiment of the present application;
[0027] Figure 5 Shows a flowchart of an information query method provided by an exemplary embodiment of the present application;
[0028] Figure 6 Shows a schematic diagram of a query process for a phase rotation value provided by an exemplary embodiment of the present application;
[0029] Figure 7 Shows a schematic diagram of a query process for a phase rotation value provided by an exemplary embodiment of the present application;
[0030] Figure 8 Shows a block diagram of a structure of an information query device provided by an exemplary embodiment of the present application;
[0031] Figure 9 Shows a block diagram of a structure of a terminal provided by an exemplary embodiment of the present application;
[0032] Figure 10 Shows a block diagram of a structure of a server provided by an exemplary embodiment of the present application. Detailed implementation manners
[0033] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0034] As used herein, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0035] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in the present application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards of relevant countries and regions.
[0036] Please refer to Figure 1 , which shows a block diagram of a communication system provided by an exemplary embodiment of the present application. The communication system includes: a terminal 101 and a network device 102.
[0037] The terminal 101 includes a UE (User Equipment), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile terminal, a remote station, a remote terminal, a mobile device, a wireless communication device, a user agent, or a user device. Optionally, the terminal 101 may further include a cellular phone, a cordless phone, a SIP (Session Initiation Protocol) phone, a WLL (Wireless Local Loop) station, a PDA (Personal Digital Assistant), a handheld device with wireless communication capabilities, a computing device, or other processing devices connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal in a 5GS (5th Generation System), or a terminal in a future evolved PLMN (Public Land Mobile Network). The embodiments of this application do not limit this. Optionally, the number of terminals 101 is any number, and one or more terminals 101 are distributed in each cell managed by each network device 102.
[0038] The network device 102 is a device deployed in the access network to provide wireless communication capabilities for the terminal 101. The network device 102 includes various forms of macro base stations, micro base stations, relay stations, access points, and so on. Exemplarily, in an LTE (Long Term Evolution) system, the network device 102 is an EUTRAN (Evolved Universal Terrestrial Radio Access Network) or one or more eNodeBs (the name of the base station in the LTE system) in the EUTRAN; in a 5G NR (New Radio) system, the network device 102 is a RAN (Radio Access Network) or one or more gNBs (the name of the base station in the 5G NR system) in the RAN.
[0039] The "5G NR system" in the embodiments of this application can also be referred to as a 5G system or an NR system, but those skilled in the art can understand its meaning. The technical solutions described in the embodiments of this application are applicable to other communication systems such as an LTE system, a 5G NR system, an evolved system subsequent to the 5G NR system, and an NB-IoT (Narrow Band Internet of Things) system. The embodiments of this application do not limit this.
[0040] The network architecture 100 and service scenarios described in the embodiments of this application are used to more clearly illustrate the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As can be known to those of ordinary skill in the art, with the evolution of the network architecture 100 and the emergence of new service scenarios, the technical solutions provided by the embodiments of this application are equally applicable to similar technical problems.
[0041] Figure 2 The flowchart of an information query method provided by an exemplary embodiment of this application is shown. Refer to Figure 2 The method includes:
[0042] 201. The terminal determines a plurality of first phase indices based on the time offset of the received pilot symbol and the subcarrier indices of a plurality of pilot subcarriers in the pilot symbol.
[0043] A pilot symbol refers to an OFDM (Orthogonal Frequency Division Multiplexing) symbol carrying a pilot signal. The pilot symbol contains a plurality of subcarriers, including pilot subcarriers carrying pilot signals and data subcarriers carrying valid data.
[0044] The time offset means that the waveform of the pilot symbol has a time delay on the time axis. The time offset does not change the amplitude spectrum of each subcarrier included in the pilot symbol in the frequency domain, but only changes the phase of each subcarrier. The subcarrier index is used to identify the corresponding pilot subcarrier and distinguish different pilot subcarriers. The phase index is used to identify the position where the corresponding phase rotation value is stored in the phase table, so as to query the corresponding phase rotation value. Based on the subcarrier indices and time offset of a plurality of pilot symbols in a plurality of pilot symbols, the terminal can determine the first phase indices corresponding to at least two pilot subcarriers, and thus query the phase rotation values corresponding to the phase rotation angles of at least two pilot subcarriers based on the first phase indices. For example, the terminal multiplies the subcarrier indices of a plurality of pilot subcarriers by the time offset to obtain the first phase indices corresponding to the plurality of pilot subcarriers respectively. Another example is that the terminal extracts the subcarrier indices of some pilot subcarriers from the subcarrier indices of a plurality of pilot subcarriers, and determines the first phase indices corresponding to the partial pilot subcarriers based on the subcarrier indices of the partial pilot subcarriers and the time offset.
[0045] In the LTE system, each subframe contains 4 pilot symbols. Calculated with a system bandwidth of 20 MHz (megahertz), each pilot symbol contains 200 pilot subcarriers. In the NR system, the number of pilot symbols included in each subframe is configurable. Calculated with a system bandwidth of 100 MHz, each pilot symbol contains 819 pilot subcarriers.
[0046] 202. The terminal maps multiple first phase indices to second phase indices respectively. The phase rotation angle corresponding to a first phase index, which is mapped within the target quadrant in the rectangular coordinate system, is equal to the phase rotation angle corresponding to the second phase index.
[0047] Among them, the target quadrant is any one of the four quadrants in the rectangular coordinate system. For example, it is the first quadrant. The phase rotation angle corresponding to the first phase index is in any one of the four quadrants. The phase rotation angle corresponding to the second phase index is within the target quadrant.
[0048] Optionally, the terminal maps multiple first phase indices to second phase indices according to a preset mapping method, and this mapping method ensures that regardless of which quadrant the phase rotation angle corresponding to the first phase index is in, the phase rotation angle corresponding to the second phase index obtained by mapping the first phase index is within the target quadrant.
[0049] Figure 3 This is the quadrant schematic diagram provided by the embodiments of this application. Refer to Figure 3 , taking the target quadrant as the first quadrant as an example, the phase rotation angle corresponding to the first quadrant is within [0, π / 2), the phase rotation angle corresponding to the second quadrant is within [π / 2, π), the phase rotation angle corresponding to the third quadrant is within [π, 3π / 2), and the phase rotation angle corresponding to the fourth quadrant is within [3π / 2, 2π). Then, the phase rotation angle obtained by clockwise rotating the phase rotation angle in the second quadrant by π / 2 is the phase rotation angle of the phase rotation angle in the second quadrant mapped in the first quadrant. The phase rotation angle obtained by clockwise rotating the phase rotation angle in the third quadrant by π is the phase rotation angle of the phase rotation angle in the third quadrant mapped in the first quadrant. The phase rotation angle obtained by clockwise rotating the phase rotation angle in the fourth quadrant by 3π / 2 is the phase rotation angle of the phase rotation angle in the fourth quadrant mapped in the first quadrant. Here, π is the pi, which is a mathematical constant defined as the ratio of the circumference of a circle to its diameter. Taking the phase rotation angle corresponding to the first phase index in the second quadrant as an example, then the second phase index mapped by the first phase index is the phase index corresponding to the phase rotation angle of the phase rotation angle corresponding to the first phase index mapped in the first quadrant.
[0050] 203. The terminal queries the reference phase rotation values corresponding to multiple second phase indices respectively from the first phase table according to the positions respectively indicated by the multiple second phase indices. The first phase table stores the phase rotation values corresponding to the phase rotation angles within the target quadrant.
[0051] Rotating the phase of any signal by an angle is equivalent to multiplying the signal by the phase rotation value corresponding to that angle. Taking the signal as x(n) and the phase rotation angle corresponding to the signal as θ as an example, the signal after phase rotation is x(n)*e jθ . Among them, e jθ That is, the phase rotation value corresponding to the phase rotation angle θ. e is the base of the natural logarithm and is an irrational number. Among them, e j θ Can be expressed as cos(θ) + j sin(θ).
[0052] Optionally, the terminal determines the position indicated by the second phase index in the first phase table, then queries the phase rotation value stored at that position, and determines the phase rotation value stored at that position as the reference phase rotation value corresponding to the second phase index. Optionally, consecutive storage positions in the first phase table are indicated by consecutive phase indices. For example, phase index 0 indicates the first storage position in the first phase table, phase index 1 indicates the second storage position in the first phase table, phase index 2 indicates the third storage position in the first phase table, and so on.
[0053] 204. The terminal queries the compensation parameters corresponding to multiple reference phase rotation values respectively. The compensation parameters are used to offset the error of the phase rotation value caused by index mapping.
[0054] It should be noted that for any phase rotation angle in other quadrants outside the target quadrant, the phase rotation value corresponding to the phase rotation angle is different from the phase rotation value corresponding to the phase rotation angle mapped in the target quadrant. Therefore, after the first phase index is mapped to the second phase index, there is an error between the reference phase rotation value queried based on the second phase index and the true phase rotation value corresponding to the phase rotation angle corresponding to the first phase index. Therefore, it is necessary to query the compensation parameters corresponding to multiple reference phase rotation values respectively to correct the multiple reference phase rotation values.
[0055] 205. The terminal multiplies multiple reference phase rotation values by the corresponding compensation parameters respectively to obtain the target phase rotation values of multiple pilot subcarriers.
[0056] Among them, the target phase rotation value of the pilot subcarrier is the true phase rotation value corresponding to the phase rotation angle of the pilot subcarrier.
[0057] Since the pilot symbol has a time offset in the time domain after passing through the channel, the multiple pilot subcarriers included in the pilot symbol will generate phase rotation. Taking the time offset of the pilot symbol as n Δt As an example, then the phase rotation angle corresponding to each subcarrier in the pilot symbol is Where N is the number of subcarriers sampled when transforming pilot symbols from the time domain to the frequency domain, k is the subcarrier index, and π is the pi. The phase rotation values corresponding to the respective phase rotation angles are It can be seen from this relationship that the phase rotation value corresponding to the phase rotation angle can only be obtained through non-linear calculation, and the calculation process is complex. Therefore, the phase rotation values corresponding to the phase rotation angles are stored, and then the phase rotation value corresponding to a certain phase rotation angle can be obtained by querying.
[0058] In the embodiment of the present application, after obtaining a plurality of first phase indices from the subcarrier indices of a plurality of pilot subcarriers, the first phase indices are first mapped to second phase indices. Since the phase rotation angle corresponding to the first phase index mapped within the phase rotation angle in the target quadrant is equal to the phase rotation angle corresponding to the second phase index, therefore, the reference phase rotation value queried based on the second phase index is the phase rotation value corresponding to the phase rotation angle mapped within the phase rotation angle in the target quadrant for each quadrant. There is an error between this phase rotation value and the true phase rotation value corresponding to the phase rotation angle in each quadrant. Therefore, after querying the reference phase rotation value, query the compensation parameter corresponding to each reference phase rotation value, and multiply each reference phase rotation value by the corresponding compensation parameter to cancel the error of the phase rotation value caused by the mapping and ensure the accuracy of the obtained phase rotation values. And since only the phase rotation values corresponding to the phase rotation angles in the target quadrant are stored in the first phase table, rather than the phase rotation values corresponding to the phase rotation angles in each quadrant, it not only saves storage space but also improves the query efficiency of the phase rotation values.
[0059] Figure 4 The flowchart of an information query method provided by an exemplary embodiment of the present application is shown. In this embodiment, the terminal directly queries the phase rotation values corresponding to all pilot subcarriers. Refer to Figure 4 This method includes:
[0060] 401. The terminal obtains a second phase table, and the second phase table stores phase rotation values corresponding to a plurality of phase rotation angles respectively, where the plurality of phase rotation angles are distributed in four quadrants in a rectangular coordinate system.
[0061] Optionally, the phase rotation values in the second phase table are sorted according to the magnitudes of the corresponding phase rotation angles. For example, the phase rotation angles corresponding to the phase rotation values in the second phase table gradually increase, and the angular intervals between the phase rotation angles corresponding to two adjacent phase rotation values are the same. Moreover, the phase indices corresponding to the multiple phase rotation values stored in the second phase table are consecutive. For example, the phase index corresponding to the phase rotation value stored in the first position of the second phase table is 0. Optionally, the phase index corresponding to the phase rotation value stored in the second position is 1, the phase index corresponding to the phase rotation value stored in the third position is 2, and so on. The phase rotation values in the second phase table are sorted according to the quadrants to which the corresponding phase rotation angles belong. For example, the sorting of the phase rotation values in the second phase table is as follows: the phase rotation values corresponding to the phase rotation angles in the first quadrant, the phase rotation values corresponding to the phase rotation angles in the second quadrant, the phase rotation values corresponding to the phase rotation angles in the third quadrant, and the phase rotation values corresponding to the phase rotation angles in the fourth quadrant.
[0062] Optionally, the angular interval between every two adjacent phase rotation angles in the second phase rotation table is the ratio of 360 degrees to the fifth quantity, where the fifth quantity is the number of subcarriers sampled when transforming the pilot symbol from the time domain to the frequency domain, and the fifth quantity is greater than the number of pilot subcarriers in the pilot symbol.
[0063] For example, the second phase rotation table stores multiple phase rotation angles 0π, corresponding phase rotation values e 0π , and, the corresponding phase indices are 1, 2, ……, where N is the number of subcarriers sampled when transforming the pilot symbol from the time domain to the frequency domain.
[0064] 402. The terminal filters out the phase rotation values corresponding to the phase rotation angles within the target quadrant from the second phase table.
[0065] Optionally, the phase rotation values in the second phase table are sorted and stored according to the quadrant to which the corresponding phase rotation angle belongs. Correspondingly, the terminal determines the position of the phase rotation value within the target quadrant, and filters out the phase rotation value corresponding to the phase rotation angle within the target quadrant based on this position. For example, the phase rotation table includes 128 phase rotation values. Among them, the first 32 are the phase rotation values corresponding to the phase rotation angles in the first quadrant, the 33rd to 64th are the phase rotation values corresponding to the phase rotation angles in the second quadrant, the 65th to 96th are the phase rotation values corresponding to the phase rotation angles in the third quadrant, and the 97th to 128th are the phase rotation values corresponding to the phase rotation angles in the fourth quadrant. Taking the target quadrant as the first quadrant as an example, the terminal obtains the first 32 phase rotation values and the corresponding phase indices in the second phase table, then what the terminal obtains is the phase rotation value corresponding to the phase rotation angle within the target quadrant.
[0066] 403. The terminal stores each phase rotation value in the first phase table in sequence according to the sorting of the phase rotation angles corresponding to the selected phase rotation values.
[0067] For example, the terminal stores each phase rotation value in the first phase table in sequence according to the sorting of the phase rotation angles corresponding to the selected phase rotation values from small to large.
[0068] Among them, the first phase table only stores the phase rotation values corresponding to the phase rotation angles within the target quadrant. Therefore, the size of the first phase table is only one-fourth of that of the second phase table and can be stored in a vector register.
[0069] In the embodiments of the present application, considering that the second phase table stores the phase rotation values corresponding to the phase rotation angles in four quadrants and requires a large storage space, therefore, the phase rotation values corresponding to the phase rotation angles within the target quadrant are filtered out from the second phase table, and the phase rotation values corresponding to the phase rotation angles within the target quadrant are stored in the first phase table. In this way, the size of the phase table is greatly reduced, the storage space occupied by the phase table is reduced, and querying the phase rotation value based on the reduced first phase table can greatly improve the query efficiency of the phase rotation value.
[0070] It should be noted that steps 401-403 are not executed in every query process. After generating the first phase table through steps 401-403, the steps of each query process only include 404-408.
[0071] 404. The terminal multiplies the time offset of the received pilot symbol by the subcarrier indices of multiple pilot subcarriers in the pilot symbol to obtain multiple first phase indices.
[0072] Taking the time offset of the pilot symbol as nΔt Taking the sub - carrier index of each pilot sub - carrier as k as an example, then the first phase index is n Δt k. Among them, n Δt is a positive integer and k is a natural number.
[0073] 405. The terminal maps multiple first phase indices to second phase indices respectively. The phase rotation angle corresponding to the first phase index mapped within the target quadrant of the rectangular coordinate system is equal to the phase rotation angle corresponding to the second phase index.
[0074] Optionally, for any first phase index, the terminal determines the phase rotation angle corresponding to this first phase index, determines the phase rotation angle mapped within the target quadrant of this phase rotation angle, and determines the phase index corresponding to the mapped phase rotation angle as the second phase index mapped by this first phase index. Optionally, the terminal performs a modulo operation on the first phase index and the number of phase rotation angles in the second phase table, and multiplies the obtained value by the interval angle to obtain the phase rotation angle corresponding to the first phase index, where the interval angle is the interval angle between adjacent phase rotation angles within the target quadrant.
[0075] Optionally, the terminal performs a modulo operation on the first phase index and the number of phase rotation values in the first phase table to obtain the second phase index corresponding to the first phase index. The second phase index can be determined by the following formula:
[0076] phaseIdx = n Δt k & (tableSize 1 - 1)
[0077] Among them, phaseIdx is the second phase index, n Δt k is the first phase index and is a binary number, tableSize 1 is the number of phase rotation values in the first phase table and is a binary number.
[0078] For example, the first phase index n Δt k = 33, and the number of phase rotation values in the first phase table is 32. Then, performing a modulo operation on 33 and 32, the obtained value 1 is the second phase index.
[0079] 406. The terminal queries the reference phase rotation values corresponding to multiple second phase indices respectively from the first phase table according to the positions indicated by the multiple second phase indices.
[0080] In a possible implementation, after obtaining the first phase table, the terminal stores the first phase table in the vector register of the vector processor. Correspondingly, the terminal queries the reference phase rotation values corresponding to multiple second phase indices from the first phase table, including: the terminal, through the vector processor, queries the reference phase rotation values corresponding to a third quantity of second phase indices from the vector register each time until the reference phase rotation values corresponding to multiple second phase indices are queried. Here, the third quantity is the number of scalar data that the vector register can store. For example, the third quantity is the number of 32-bit scalar data that the vector register can store.
[0081] It should be noted that the storage space of the vector register is small and cannot accommodate the second phase table. Therefore, if the phase rotation value is queried through the second phase table, the second phase table needs to be stored in the memory, and the phase rotation value corresponding to the first phase index of each pilot subcarrier is queried from the second phase table in the memory. However, since the phase indices corresponding to the multiple phase rotation values in the second phase table are continuous, while the first phase indices corresponding to the multiple pilot subcarriers are discontinuous, therefore, only the phase rotation value corresponding to one first phase index can be queried from the memory each time. That is, by accessing the memory once, only the phase rotation value corresponding to one pilot subcarrier can be obtained. Therefore, the efficiency of querying the phase rotation value is extremely low. And frequently accessing the memory to obtain the phase rotation values corresponding to multiple pilot subcarriers also consumes relatively high power for the terminal. For example, if the number of pilot subcarriers is 200, then the memory needs to be accessed 200 times to query the phase rotation values corresponding to all pilot subcarriers.
[0082] In the embodiment of the present application, since the first phase table only stores the phase rotation values corresponding to the phase rotation angles in the target quadrant and occupies less space, it can be stored in the vector register of the vector processor. And since the phase rotation value corresponding to each second phase index obtained by mapping is located in the target quadrant, therefore, the phase rotation value corresponding to each second phase index is stored in the vector register. Since the vector processor can query all the data in the vector register at one time, therefore, through one query operation, the reference phase rotation values with the same number as the number of scalar data that the vector register can store can be queried from the vector register, greatly improving the query efficiency of the phase rotation value. For example, if the number of pilot subcarriers is 200 and the number of scalar data that the vector register can store is 32, then only 7 query operations are needed to query the reference phase rotation values corresponding to all pilot subcarriers.
[0083] 407. The terminal queries the compensation parameters corresponding to multiple reference phase rotation values respectively, and the compensation parameters are used to offset the error of the phase rotation value caused by index mapping.
[0084] In a possible implementation, before the terminal queries the compensation parameters corresponding to multiple reference phase rotation values, it determines the compensation parameters corresponding to each quadrant of the rectangular coordinate system. The compensation parameter corresponding to any quadrant is used to offset the error introduced when querying the corresponding phase rotation value based on the phase rotation angle mapped in the target quadrant from the phase rotation angle in the quadrant. The terminal stores the compensation parameters corresponding to each quadrant in the compensation parameter table. Correspondingly, when the terminal queries the compensation parameters corresponding to multiple reference phase rotation values, it includes: the terminal queries, from the compensation parameter table, the compensation parameters corresponding to the quadrants where the phase rotation angles corresponding to multiple first phase indices are located; the terminal respectively determines the multiple queried compensation parameters as the compensation parameters corresponding to the reference phase rotation values queried by the second phase indices mapped by the multiple first phase indices.
[0085] Taking the target quadrant as the first quadrant as an example, the compensation parameter corresponding to the first quadrant is 1, the compensation parameter corresponding to the second quadrant is the complex number j, the compensation parameter corresponding to the third quadrant is -1, and the compensation parameter corresponding to the fourth quadrant is the complex number -j. Taking the target quadrant as the second quadrant as an example, the compensation parameter corresponding to the second quadrant is 1, the compensation parameter corresponding to the third quadrant is the complex number j, the compensation parameter corresponding to the fourth quadrant is -1, and the compensation parameter corresponding to the first quadrant is the complex number -j. Taking the target quadrant as the third quadrant as an example, the compensation parameter corresponding to the third quadrant is 1, the compensation parameter corresponding to the fourth quadrant is the complex number j, the compensation parameter corresponding to the first quadrant is -1, and the compensation parameter corresponding to the second quadrant is the complex number -j. Taking the target quadrant as the fourth quadrant as an example, the compensation parameter corresponding to the fourth quadrant is 1, the compensation parameter corresponding to the first quadrant is the complex number j, the compensation parameter corresponding to the second quadrant is -1, and the compensation parameter corresponding to the third quadrant is the complex number -j.
[0086] In the embodiments of the present application, considering that the errors between the true phase rotation values corresponding to the phase rotation angles in each quadrant and the reference phase rotation values corresponding to the phase rotation angles mapped in the target quadrant are different, but the errors between the true phase rotation values corresponding to the phase rotation angles in the same quadrant and the reference phase rotation values corresponding to the phase rotation angles mapped in the target quadrant are the same. Therefore, the compensation parameters for the reference phase rotation values queried by the second phase indices mapped by the first phase indices corresponding to the same quadrant of the phase rotation angles are the same. Therefore, only the compensation parameters corresponding to each quadrant are stored. When querying the compensation parameters corresponding to each reference phase rotation value, the compensation parameter corresponding to the quadrant to which the phase rotation angle corresponding to the first phase index belongs is determined as the compensation parameter corresponding to the reference phase rotation value queried by the second phase index mapped by the first phase index. This not only reduces the storage space occupied by the compensation parameters but also improves the query efficiency of the compensation parameters.
[0087] Optionally, the terminal performs a modulo operation on the first phase index and the number of phase rotation values in the second phase table, multiplies the obtained value by the interval angle to obtain the phase rotation angle corresponding to the first phase index, where the interval angle is the interval angle between adjacent phase rotation angles in the target quadrant, and then can determine the quadrant in which the phase rotation angle is located.
[0088] Optionally, the compensation parameter table stores the compensation parameters corresponding to each quadrant. The terminal performs a modulo operation on the first phase index and the number of phase rotation values in the second phase table, converts the obtained value into a binary number, takes the values of the high two bits of the binary number, and uses these two values as the quadrant index. The quadrant index is used to indicate the position of the compensation parameter corresponding to the corresponding quadrant in the compensation parameter table. Correspondingly, the terminal queries the compensation parameter corresponding to the quadrant index from the compensation parameter table according to the position indicated by the quadrant index, and this compensation parameter is the compensation parameter corresponding to the quadrant corresponding to the quadrant index. If the value of the high two bits is equal to the quadrant index of the first quadrant, it is determined that the phase rotation angle corresponding to the first phase index is in the first quadrant. If the value of the high two bits is equal to the quadrant index of the second quadrant, it is determined that the phase rotation angle corresponding to the first phase index is in the second quadrant. If the value of the high two bits is equal to the index of the third quadrant, it is determined that the phase rotation angle corresponding to the first phase index is in the third quadrant. If the value of the high two bits is equal to the index of the fourth quadrant, it is determined that the phase rotation angle corresponding to the first phase index is in the fourth quadrant. Optionally, the terminal first converts the first phase index into a binary number, takes the values of the target number of bits at the end of the binary number to obtain a new binary number, and then takes the values of the high two bits of the binary number, and uses these two values as the quadrant index to query the corresponding compensation parameter. Wherein, the target number is the number obtained by taking the square root of the number of phase rotation values in the second phase table with respect to 2. The quadrant index can be determined by the following formula:
[0089] quadrantdx=n Δt k&(tableSize 2 -1)>>M
[0090] Wherein, quadrantdx is the quadrant index, n Δt k is the first phase index and is a binary number, tableSize 2 is the number of phase rotation values in the second phase table and is a binary number, and M is the number obtained by subtracting 2 from the number obtained by taking the square root of the number of phase rotation values in the second phase table with respect to 2.
[0091] For example, if the number of phase rotation values in the second phase table is 128, then the number obtained by taking the square root of the number of phase rotation values in the second phase table and subtracting 2 from the result is 5, and M in the above formula is 5.
[0092] The above method for determining each reference phase compensation parameter is only an exemplary illustration. In other embodiments, it can be implemented in other ways. For example, the terminal stores the compensation parameters corresponding to the phase rotation angles in each quadrant respectively. When querying the compensation parameters corresponding to each reference phase rotation value, the compensation parameter corresponding to the phase rotation angle corresponding to the first phase index is determined as the compensation parameter corresponding to the reference phase rotation value queried by the second phase index mapped by the first phase index.
[0093] 408. The terminal multiplies each of the multiple reference phase rotation values by the corresponding compensation parameter to obtain the target phase rotation values of multiple pilot subcarriers.
[0094] After the terminal obtains the target phase rotation values of multiple pilot subcarriers, it can multiply the pilot signals on each pilot subcarrier by the target phase rotation value corresponding to the pilot subcarrier where the pilot signal is located to obtain the phase-rotated pilot signal, so as to achieve time offset alignment of the pilot signal. In this way, the terminal can perform channel estimation through the time-offset-aligned pilot signal subsequently.
[0095] In the embodiment of the present application, after obtaining multiple first phase indices from the subcarrier indices of multiple pilot subcarriers, the first phase indices are first mapped to second phase indices. Since the phase rotation angle corresponding to the first phase index mapped within the target quadrant is equal to the phase rotation angle corresponding to the second phase index, therefore, the reference phase rotation value queried based on the second phase index is the phase rotation value corresponding to the phase rotation angle mapped within the target quadrant of the phase rotation angles in each quadrant. There is an error between this phase rotation value and the true phase rotation value corresponding to the phase rotation angle in each quadrant. Therefore, after querying the reference phase rotation value, query the compensation parameter corresponding to each reference phase rotation value, and multiply each reference phase rotation value by the corresponding compensation parameter, so as to offset the error of the phase rotation value caused by the mapping and ensure the accuracy of each obtained phase rotation value. And since only the phase rotation values corresponding to the phase rotation angles within the target quadrant are stored in the first phase table, rather than the phase rotation values corresponding to the phase rotation angles in each quadrant, not only the storage space is saved, but also the query efficiency of the phase rotation values is improved.
[0096] In the embodiment of the present application, considering that the second phase table stores phase rotation values corresponding to phase rotation angles in four quadrants and requires a relatively large storage space, the phase rotation values corresponding to the phase rotation angles in the target quadrant are screened out from the second phase table, and the phase rotation values corresponding to the phase rotation angles in the target quadrant are stored in the first phase table. In this way, the size of the phase table is greatly reduced, the storage space occupied by the phase table is reduced, and the query efficiency of the phase rotation value can be greatly improved by querying the phase rotation value based on the reduced first phase table.
[0097] In the embodiment of the present application, since the first phase table only stores the phase rotation values corresponding to the phase rotation angles in the target quadrant and occupies a small space, it can be stored in the vector register of the vector processor. And since the phase rotation values corresponding to each second phase index obtained by mapping are all in the target quadrant, the phase rotation values corresponding to each second phase index are all stored in the vector register. Since the vector processor can query all the data in the vector register at one time, after one query operation, the reference phase rotation values with the same number as the scalar data that the vector register can store can be queried from the vector register, which greatly improves the query efficiency of the phase rotation value.
[0098] In the embodiment of the present application, considering that the errors between the true phase rotation values corresponding to the phase rotation angles in each quadrant and the reference phase rotation values corresponding to the phase rotation angles mapped in the target quadrant are different, but the errors between the true phase rotation values corresponding to the phase rotation angles in the same quadrant and the reference phase rotation values corresponding to the phase rotation angles mapped in the target quadrant are the same. Therefore, the compensation parameters of the reference phase rotation values queried by the second phase indexes obtained by mapping the first phase indexes corresponding to the same quadrant are the same. Therefore, only the compensation parameters corresponding to each quadrant are stored. When querying the compensation parameters corresponding to each reference phase rotation value, the compensation parameter corresponding to the quadrant to which the phase rotation angle corresponding to the first phase index belongs is determined as the compensation parameter corresponding to the reference phase rotation value queried by the second phase index mapped by the first phase index. This not only reduces the storage space occupied by the compensation parameters but also improves the query efficiency of the compensation parameters.
[0099] Figure 5 The flowchart of an information query method provided by an exemplary embodiment of the present application is shown. In this embodiment, the terminal queries the phase rotation values corresponding to some pilot subcarriers and calculates the phase rotation values corresponding to other pilot subcarriers based on the phase rotation values corresponding to the pilot subcarriers that have been queried. See Figure 5 This method includes:
[0100] 501. The terminal obtains a second phase table, which stores phase rotation values corresponding to multiple phase rotation angles, where the multiple phase rotation angles are distributed in four quadrants of a rectangular coordinate system.
[0101] 502. The terminal filters out the phase rotation values corresponding to the phase rotation angles in the target quadrant from the second phase table.
[0102] For the implementation manners of steps 501 - 502, please refer to the above steps 401 - 402, which will not be elaborated here.
[0103] 503. The terminal extracts one phase rotation value every first quantity of phase rotation values from the phase rotation values corresponding to the phase rotation angles in the target quadrant.
[0104] For example, if the target quadrant is the first quadrant, the phase indices corresponding to the phase rotation values corresponding to the phase rotation angles in the first quadrant are 0, 1,..., 63 in sequence, and the first quantity is 1, then the phase rotation values extracted by the terminal are actually the phase rotation values corresponding to phase indices 0, 2, 4,..., 62 respectively.
[0105] Optionally, after step 502, when the terminal filters out the phase rotation values corresponding to the phase rotation angles in the target quadrant, if a vector register is sufficient to store the filtered phase rotation values, then the terminal directly stores each phase rotation value in the first phase table in sequence according to the sorting of the phase rotation angles corresponding to the filtered phase rotation values, that is, executes the above step 403. And queries the phase rotation values in the manner described in steps 404 - 408. If a vector register is not sufficient to store the filtered phase rotation values, then the terminal executes steps 503 - 504, and queries the phase rotation values in the manner described in steps 505 - 510.
[0106] 504. The terminal stores each phase rotation value in the first phase table in sequence according to the sorting of the phase rotation angles corresponding to the extracted phase rotation values.
[0107] Combined with the above example, when the terminal stores each phase rotation value in the first phase table in sequence according to the sorting of the phase rotation angles corresponding to the extracted phase rotation values, it is equivalent to storing the phase rotation values corresponding to phase indices 0, 2, 4,..., 62 in the second phase table in sequence in the first phase table. Then 32 phase rotation values are stored in the first phase table in sequence. Since the positions where these 32 phase rotation values are stored are the positions indicated by phase indices 0, 1, 2,..., 31 in the first phase table respectively, the phase indices corresponding to the 32 phase rotation values in the first phase table are actually updated to 0, 1, 2,..., 31 respectively, and are still continuous.
[0108] In the embodiments of the present application, the terminal extracts some phase rotation values from the phase indices corresponding to the phase rotation angles within the target quadrant, and stores each phase rotation value in the first phase table in sequence according to the sorting of the phase rotation angles corresponding to the extracted phase rotation values, which can further reduce the size of the phase table, reduce the storage space occupied by the phase table, and thus improve the query efficiency of the phase rotation values. And since the phase indices corresponding to the phase rotation values in the first phase table are continuous and convenient for query, the query efficiency of the phase rotation values can also be improved.
[0109] It should be noted that steps 501-504 are not executed in every query process. After the first phase table is generated through steps 501-504, the steps of each query process only include 505-510.
[0110] 505. The terminal extracts one subcarrier index every first number of subcarrier indices from the subcarrier indices of multiple pilot subcarriers in the received pilot symbol, and multiplies the ratio of the extracted subcarrier index to the second number by the time offset of the pilot symbol to obtain a plurality of first phase indices.
[0111] For example, the subcarrier index of the pilot subcarrier is k, the value range of k is from 0 to 199, the first number is 1, and the second number is 2. Then there are 200 subcarrier indices of the pilot subcarriers in total. The terminal extracts 100 subcarrier indices from them, which are 0, 2, 4,..., 198 respectively. Then each subcarrier index is divided by the second number to obtain the updated subcarrier index k'. Then the value range of k' is from 0 to 99. Then the terminal multiplies the updated subcarrier index k' by the time offset n Δt to multiply, and the obtained n Δt k' is the first phase index.
[0112] 506. The terminal maps the plurality of first phase indices to second phase indices respectively. The phase rotation angle corresponding to the first phase index mapped within the phase rotation angle of the target quadrant in the rectangular coordinate system is equal to the phase rotation angle corresponding to the second phase index.
[0113] 507. The terminal queries the reference phase rotation values corresponding to the plurality of second phase indices respectively at the positions indicated by the plurality of second phase indices from the first phase table. The first phase table stores the phase rotation values corresponding to the phase rotation angles within the target quadrant.
[0114] 508. The terminal queries the compensation parameters corresponding to the plurality of reference phase rotation values respectively. The compensation parameters are used to offset the error of the phase rotation value caused by the index mapping.
[0115] 509. The terminal multiplies multiple reference phase rotation values by corresponding compensation parameters respectively to obtain the target phase rotation values of the extracted multiple pilot subcarriers.
[0116] For the implementation manners of steps 506 - 509, please refer to the above steps 405 - 408 and will not be elaborated here. It should be noted that since the pilot subcarriers are extracted after obtaining multiple pilot subcarriers, after the terminal multiplies multiple reference phase rotation values by corresponding compensation parameters respectively, the obtained are only the target phase rotation values of the extracted multiple pilot subcarriers. Therefore, it is necessary to calculate the phase rotation values corresponding to the unextracted pilot subcarriers by using the phase rotation values corresponding to the indexes of the already extracted pilot subcarriers. That is to say, the terminal also needs to execute step 510 to obtain the phase rotation values corresponding to all the pilot subcarriers in the pilot symbol.
[0117] 510. The terminal determines the phase rotation values corresponding to the unextracted pilot subcarriers based on the phase rotation values corresponding to the extracted pilot subcarriers.
[0118] In a possible implementation manner, the terminal determines a second subcarrier index associated with a first subcarrier index from the indexes of the extracted subcarriers. The first subcarrier index is any index of the unextracted subcarriers. The second subcarrier index is less than the first subcarrier index and has the smallest difference from the first subcarrier index. The terminal determines the phase rotation value corresponding to the first subcarrier index based on the phase rotation value corresponding to the second subcarrier index.
[0119] For example, the subcarrier indexes of the pilot subcarriers are k, where the value range of k is from 0 to 199. The indexes of the extracted subcarriers are 0, 2, 4, ……, 198 respectively, and the indexes of the unextracted subcarriers are 1, 3, ……, 199 respectively. Then for the unextracted subcarrier index 1, its associated subcarrier index is 0, for the unextracted subcarrier index 3, its associated subcarrier index is 2, for the unextracted subcarrier index 5, its associated subcarrier index is 4, and so on. Taking the time offset of the pilot symbol as n Δt as an example, then the phase rotation angles corresponding to the subcarriers in this pilot symbol are where N is the number of subcarriers sampled when transforming the pilot symbol from the time domain to the frequency domain, k is the subcarrier index, and π is the pi. Then the phase rotation values corresponding to each subcarrier index are Since where k is any second subcarrier index that has been extracted, then k + 1 is the first subcarrier index associated with this first subcarrier index. It can be seen that the phase rotation values corresponding to these two subcarrier indexes are related by a scalar and this scalar is actually the phase rotation angle The corresponding phase rotation value can be obtained through one query operation.
[0120] As can be seen from the above example, there is a factor difference between the phase rotation value corresponding to each unextracted subcarrier index and the phase rotation value corresponding to the extracted subcarrier index associated with the unextracted subcarrier index. This factor is a scalar. Therefore, based on the extracted subcarrier index associated with each unextracted subcarrier index, the terminal can quickly calculate the phase rotation value corresponding to each unextracted subcarrier index, improving the efficiency of obtaining the phase rotation value.
[0121] In a possible implementation, the terminal determines the phase rotation value corresponding to the first subcarrier index based on the phase rotation value corresponding to the second subcarrier index, including: the terminal multiplies the difference between the second subcarrier index and the first subcarrier index by the time offset and the interval angle to obtain a target phase rotation angle, where the interval angle is the angular interval between adjacent phase rotation angles in the target quadrant; the terminal multiplies the phase rotation value corresponding to the target phase rotation angle by the phase rotation value corresponding to the second subcarrier index to obtain the phase rotation value corresponding to the first subcarrier index.
[0122] Combined with the above example, is the factor difference between the phase rotation value corresponding to the first subcarrier index and the phase rotation value corresponding to the second subcarrier index, and this factor is the phase rotation angle corresponding phase rotation value. The numerical value 1 in is the difference between the first subcarrier index and the second subcarrier index, and n Δt is the time offset of the pilot symbol, the angular interval between adjacent phase rotation angles in the target quadrant. From this example, it can be known that the terminal multiplies the difference between the second subcarrier index and the first subcarrier index by the time offset and the interval angle, and the phase rotation value corresponding to the obtained target phase rotation angle is the factor difference between the first subcarrier index and the second subcarrier index. Therefore, when the terminal multiplies the phase rotation value corresponding to the target phase rotation angle by the phase rotation value corresponding to the second subcarrier index, it can obtain the phase rotation value corresponding to the first subcarrier index.
[0123] Figure 6 This is a schematic diagram of the query process of the phase rotation value provided by the embodiment of the present application. Refer to Figure 6 , the embodiment of the present application first determines the phase rotation value corresponding to the extracted subcarrier index, and then based on the phase rotation values corresponding to the extracted subcarrier indexes, determines the phase rotation values corresponding to the unextracted subcarrier indexes associated with the extracted subcarrier indexes.
[0124] In the embodiment of the present application, since the difference between the second subcarrier index and the first subcarrier index is multiplied by the time offset and the interval angle, the phase rotation value corresponding to the obtained target phase rotation angle is the factor difference between the first subcarrier index and the second subcarrier index. Therefore, the terminal obtains the phase rotation value corresponding to the target phase rotation angle, and multiplies the phase rotation value by the phase rotation value corresponding to the second subcarrier index to obtain the phase rotation value corresponding to the first subcarrier index, which not only ensures the accuracy of the phase rotation value corresponding to the first subcarrier index, but also improves the efficiency of obtaining the phase rotation value corresponding to the unextracted first subcarrier index.
[0125] Figure 7 It is a schematic diagram of the query process of the phase rotation value provided by the embodiment of the present application. Refer to Figure 7 , the query process of the phase rotation value includes the following steps:
[0126] 1. The terminal generates a first phase table based on the second phase table.
[0127] 2. The terminal determines a first phase index based on the subcarrier index and the time offset, and maps the first phase index to a second phase index.
[0128] 3. The terminal queries a reference phase rotation value from the first phase table based on the second phase index.
[0129] 4. The terminal determines the quadrant index corresponding to the real quadrant to which the phase rotation angle corresponding to the first phase index belongs.
[0130] 5. The terminal queries the compensation parameters corresponding to each first phase index based on the quadrant index corresponding to each first phase index.
[0131] 6. The terminal determines the compensation parameters corresponding to the reference phase rotation values queried by the second phase indexes mapped by each first phase index as the compensation parameters corresponding to each first phase index, and multiplies the multiple reference phase rotation values by the corresponding compensation parameters respectively to obtain the target phase rotation values of multiple pilot subcarriers.
[0132] Among them, step 6 is not shown in Figure 7 . The specific implementation manners of the above steps have been described in detail in the above embodiments, and will not be elaborated here.
[0133] The solution for determining the phase rotation value provided by the embodiment of the present application has obvious advantages in terms of operation speed and memory usage in the scenario of a small bandwidth. Although the operation speed slightly decreases in the scenario of a large bandwidth, the advantage in saving memory is still obvious.
[0134] In an embodiment of the present application, after obtaining a plurality of first phase indices from the subcarrier indices of a plurality of pilot subcarriers, the first phase indices are first mapped to second phase indices. Since the phase rotation angle corresponding to the first phase index mapped within the phase rotation angle in the target quadrant is equal to the phase rotation angle corresponding to the second phase index, therefore, the reference phase rotation value queried based on the second phase index is the phase rotation value corresponding to the phase rotation angle in each quadrant mapped within the phase rotation angle in the target quadrant. There is an error between this phase rotation value and the true phase rotation value corresponding to the phase rotation angle in each quadrant. Therefore, after querying the reference phase rotation value, query the compensation parameter corresponding to each reference phase rotation value, and multiply each reference phase rotation value by the corresponding compensation parameter, which can cancel the error of the phase rotation value caused by the mapping and ensure the accuracy of each obtained phase rotation value. And since only the phase rotation values corresponding to the phase rotation angles in the target quadrant are stored in the first phase table, rather than the phase rotation values corresponding to the phase rotation angles in each quadrant, it not only saves storage space but also improves the query efficiency of the phase rotation value.
[0135] In an embodiment of the present application, extracting some phase rotation values from the phase indices corresponding to the phase rotation angles in the target quadrant and storing each phase rotation value in the first phase table in sequence according to the sorting of the phase rotation angles corresponding to the extracted phase rotation values can further reduce the size of the phase table, reduce the storage space occupied by the phase table, and thus improve the query efficiency of the phase rotation value. And since the phase indices corresponding to the phase rotation values in the first phase table are continuous, it is more convenient to query, so it can also improve the query efficiency of the phase rotation value.
[0136] In an embodiment of the present application, there is a factor between the phase rotation value corresponding to each unextracted subcarrier index and the phase rotation value corresponding to the extracted subcarrier index associated with this subcarrier index, and this factor is a scalar. Therefore, based on the extracted subcarrier index associated with each unextracted subcarrier index, the terminal can quickly calculate the phase rotation value corresponding to each unextracted subcarrier index, improving the efficiency of obtaining the phase rotation value.
[0137] In an embodiment of the present application, since the difference between the second subcarrier index and the first subcarrier index is multiplied by the time offset and the interval angle, and the phase rotation value corresponding to the obtained target phase rotation angle is the factor between the first subcarrier index and the second subcarrier index, therefore, the terminal obtains the phase rotation value corresponding to this target phase rotation angle and multiplies this phase rotation value by the phase rotation value corresponding to the second subcarrier index to obtain the phase rotation value corresponding to the first subcarrier index, which not only ensures the accuracy of the phase rotation value corresponding to the first subcarrier index but also improves the efficiency of obtaining the phase rotation value corresponding to the unextracted first subcarrier index.
[0138] The following is an embodiment of the device of the present application, which can be used to execute the method embodiment of the present application. For the details not disclosed in the device embodiment of the present application, please refer to the method embodiment of the present application.
[0139] Please refer to Figure 8 , which shows a structural block diagram of an information query device provided by an exemplary embodiment of the present application. The information query device includes:
[0140] A first determination module 801, configured to determine a plurality of first phase indices based on the time offset of the received pilot symbols and the subcarrier indices of a plurality of pilot subcarriers in the pilot symbols;
[0141] An index mapping module 802, configured to map the plurality of first phase indices to second phase indices respectively. The phase rotation angle corresponding to the first phase index mapped within the target quadrant of the rectangular coordinate system is equal to the phase rotation angle corresponding to the second phase index;
[0142] A first query module 803, configured to query, according to the positions respectively indicated by the plurality of second phase indices, the reference phase rotation values respectively corresponding to the plurality of second phase indices from a first phase table. The first phase table stores the phase rotation values corresponding to the phase rotation angles within the target quadrant;
[0143] A second query module 804, configured to query the compensation parameters respectively corresponding to the plurality of reference phase rotation values. The compensation parameters are used to offset the error of the phase rotation values caused by index mapping;
[0144] A compensation module 805, configured to multiply the plurality of reference phase rotation values by the corresponding compensation parameters respectively to obtain the target phase rotation values of the plurality of pilot subcarriers.
[0145] In an embodiment of the present application, after obtaining a plurality of first phase indices from the subcarrier indices of a plurality of pilot subcarriers, the first phase indices are first mapped to second phase indices. Since the phase rotation angle corresponding to the first phase index mapped within the phase rotation angle in the target quadrant is equal to the phase rotation angle corresponding to the second phase index, therefore, the reference phase rotation value queried based on the second phase index is the phase rotation value corresponding to the phase rotation angle in each quadrant mapped within the phase rotation angle in the target quadrant. There is an error between this phase rotation value and the true phase rotation value corresponding to the phase rotation angle in each quadrant. Therefore, after querying the reference phase rotation value, query the compensation parameter corresponding to each reference phase rotation value, and multiply each reference phase rotation value by the corresponding compensation parameter, which can cancel the error of the phase rotation value caused by the mapping and ensure the accuracy of each obtained phase rotation value. And since only the phase rotation values corresponding to the phase rotation angles in the target quadrant are stored in the first phase table, rather than the phase rotation values corresponding to the phase rotation angles in each quadrant, it not only saves storage space but also improves the query efficiency of the phase rotation value.
[0146] In a possible implementation manner, a first acquisition module is configured to acquire a second phase table, where the second phase table stores phase rotation values corresponding to a plurality of phase rotation angles respectively, and among them, the plurality of phase rotation angles are distributed in four quadrants in a rectangular coordinate system;
[0147] A first screening module is configured to screen out the phase rotation values corresponding to the phase rotation angles in the target quadrant from the second phase table;
[0148] A first storage module is configured to sequentially store each phase rotation value in the first phase table according to the sorting of the phase rotation angles corresponding to the screened phase rotation values.
[0149] In a possible implementation manner, the apparatus further includes:
[0150] A second determination module is configured to determine the compensation parameter corresponding to each quadrant of the rectangular coordinate system, and the compensation parameter corresponding to any quadrant is used to cancel the error introduced when querying the corresponding phase rotation value based on the phase rotation angle in the quadrant mapped within the phase rotation angle in the target quadrant;
[0151] A second storage module is configured to store the compensation parameter corresponding to each quadrant in a compensation parameter table;
[0152] A second query module 804 is configured to query the compensation parameter corresponding to the quadrant where the phase rotation angles corresponding to a plurality of first phase indices are located from the compensation parameter table; and respectively determine the plurality of queried compensation parameters as the compensation parameters corresponding to the reference phase rotation values queried by the second phase indices mapped by the plurality of first phase indices.
[0153] In a possible implementation, a first determination module 801 is configured to extract a subcarrier index from subcarrier indexes of multiple pilot subcarriers at intervals of a first number of subcarrier indexes, and multiply a ratio of the extracted subcarrier index to a second number by a time offset to obtain multiple first phase indexes, where the second number is the first number plus one;
[0154] The apparatus further includes:
[0155] A third query module is configured to determine a second subcarrier index associated with a first subcarrier index from the extracted subcarrier indexes, where the first subcarrier index is any unextracted subcarrier index, the second subcarrier index is less than the first subcarrier index, and the difference between the second subcarrier index and the first subcarrier index is the smallest;
[0156] A third determination module is configured to determine a phase rotation value corresponding to the first subcarrier index based on a phase rotation value corresponding to the second subcarrier index.
[0157] In a possible implementation, the third determination module is configured to multiply a difference between the second subcarrier index and the first subcarrier index by a time offset and an interval angle to obtain a target phase rotation angle, where the interval angle is an angular interval between adjacent phase rotation angles within a target quadrant; multiply a phase rotation value corresponding to the target phase rotation angle by a phase rotation value corresponding to the second subcarrier index to obtain a phase rotation value corresponding to the first subcarrier index.
[0158] In a possible implementation, the apparatus further includes:
[0159] A second acquisition module is configured to acquire a second phase table, where the second phase table stores phase rotation values respectively corresponding to multiple phase rotation angles, and the multiple phase rotation angles are distributed in four quadrants of a rectangular coordinate system;
[0160] A second screening module is configured to screen out phase rotation values corresponding to phase rotation angles within a target quadrant from the second phase table;
[0161] An index extraction module is configured to extract a phase rotation value at intervals of a first number of phase rotation values from phase rotation values corresponding to phase rotation angles within the target quadrant;
[0162] A third storage module is configured to sequentially store each phase rotation value in a first phase table according to the sorting of phase rotation angles corresponding to the extracted phase rotation values.
[0163] In a possible implementation, the first phase table is stored in the vector register of the vector processor. The second query module 804 is configured to query, via the vector processor, the reference phase rotation values corresponding to the third quantity of second phase indices from the vector register each time until the reference phase rotation values corresponding to a plurality of second phase indices are queried, where the third quantity is the number of scalar data that the vector register can store.
[0164] It should be noted that, when the device provided in the above embodiment implements its functions, only the division of the above function modules is used for illustration. In actual applications, the above functions may be allocated to different function modules according to needs, that is, the internal structure of the computer device is divided into different function modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment and the method embodiment belong to the same concept. For the specific implementation process, please refer to the method embodiment and will not be elaborated here.
[0165] An embodiment of the present application provides a computer device, which includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the information query method provided in each of the above method embodiments.
[0166] In some embodiments, the computer device is a terminal. Please refer to Figure 9 FIG. X, which shows a block diagram of the structure of a terminal provided in an exemplary embodiment of the present application. In some embodiments, the terminal 900 is a terminal such as a smart phone, a tablet computer, a wearable device, etc. that can access a wireless local area network as a wireless station. The terminal 900 in the present application includes at least one or more of the following components: a processor 910, a memory 920, and at least two wireless links 930.
[0167] In some embodiments, the processor 910 includes one or more processing cores. The processor 910 connects various parts within the entire terminal 900 through various interfaces and circuits. By running or executing the program code stored in the memory 920 and invoking the data stored in the memory 920, it performs various functions of the terminal 900 and processes data. In some embodiments, the processor 910 is implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 910 can integrate one or a combination of several of a central processing unit (CPU), a graphics processing unit (GPU), a neural-network processing unit (NPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the NPU is used to implement artificial intelligence (AI) functions; the modem is used to process wireless communications. It can be understood that the above-mentioned modem can also be not integrated into the processor 910 and is implemented separately by a single chip.
[0168] In some embodiments, the processor 910 is used to control the operating conditions of at least two wireless links 930. Correspondingly, the processor 910 is a processor integrated with a wireless fidelity (Wi-Fi) chip. Among them, the Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual band dual concurrent (DBDC) chip, or a dual band simultaneous (DBS) chip, etc.
[0169] In some embodiments, the memory 920 includes a Random Access Memory (RAM). In some embodiments, the memory 920 includes a Read-Only Memory (ROM). In some embodiments, the memory 920 includes a non-transitory computer-readable storage medium. The memory 920 can be used to store program codes. The memory 920 may include a program storage area and a data storage area. Among them, the program storage area can store instructions for implementing the operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area can store data created according to the use of the terminal 900 (such as audio data, phone book, etc.).
[0170] In some embodiments, the memory 920 stores receiving schemes for received beacon frames of different wireless links 930. Also, the identifiers of access nodes connected by different wireless links 930, the identifiers of the wireless links 930, etc.
[0171] The at least two wireless links 930 are used to connect different Access Points (APs) and receive downlink data sent by the APs. Among them, the different access nodes are access nodes in the same router or access nodes in different routers.
[0172] In some embodiments, the terminal 900 further includes a display screen. The display screen is a display component for displaying a user interface. In some embodiments, the display screen is a display screen with a touch function. Through the touch function, the user can perform touch operations on the display screen with any suitable object such as a finger or a stylus. In some embodiments, the display screen is usually arranged on the front panel of the terminal 900. In some embodiments, the display screen is designed as a full-screen, curved-screen, irregular-shaped screen, double-sided screen or foldable screen. In some embodiments, the display screen is also designed as a combination of a full-screen and a curved-screen, a combination of an irregular-shaped screen and a curved-screen, etc., which are not limited in this embodiment.
[0173] In addition, those skilled in the art can understand that the structure of the terminal 900 shown in the above drawings does not constitute a limitation on the terminal 900. The terminal 900 includes more or fewer components than shown in the drawings, or combines certain components, or has different component arrangements. For example, the terminal 900 further includes components such as a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, a Bluetooth module, etc., which will not be elaborated here.
[0174] In some embodiments, the computer device is a server. Please refer toFigure 10 It shows a structural block diagram of a server provided by an exemplary embodiment of the present application. The server 1000 may vary greatly due to different configurations or performances, and may include one or more processors (Central Processing Units, CPUs) 1001 and one or more memories 1002. Among them, at least one program code is stored in the memory 1002, and the at least one program code is loaded and executed by the processor 1001 to implement the methods provided by the above-mentioned method embodiments. Of course, the server may also have components such as wired or wireless network interfaces, keyboards, and input / output interfaces for input / output. The server may also include other components for implementing the functions of the device, which will not be elaborated here.
[0175] The present application also provides a computer-readable storage medium storing at least one program code, and the at least one program code is loaded and executed by the processor to implement the information query method shown in the above embodiments.
[0176] The present application also provides a chip including programmable logic circuits and / or program instructions, which are used to implement the information query method shown in the above embodiments when the chip runs on a terminal.
[0177] The present application also provides a computer program product storing at least one program code, and the at least one program code is used to be executed by the processor to implement the information query method shown in the above embodiments.
[0178] The serial numbers of the embodiments of the present application above are only for description and do not represent the superiority or inferiority of the embodiments.
[0179] Those of ordinary skill in the art can understand that all or part of the steps in implementing the information query method of the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a disk, an optical disc, etc. The above are only optional embodiments of the present application and are not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An information query method, characterized in that, the method includes: determining a plurality of first phase indices based on the time offset of the received pilot symbols and the subcarrier indices of a plurality of pilot subcarriers in the pilot symbols; mapping the plurality of first phase indices to second phase indices respectively, where the phase rotation angle corresponding to the first phase index mapped within the phase rotation angle in the target quadrant of the rectangular coordinate system is equal to the phase rotation angle corresponding to the second phase index; querying the reference phase rotation values corresponding to the plurality of second phase indices respectively from a first phase table, where the first phase table stores the phase rotation values corresponding to the phase rotation angles within the target quadrant; querying the compensation parameters corresponding to the plurality of reference phase rotation values respectively, where the compensation parameters are used to offset the error of the phase rotation values caused by index mapping; multiplying the plurality of reference phase rotation values by the corresponding compensation parameters respectively to obtain the target phase rotation values of the plurality of pilot subcarriers.
2. The method according to claim 1, characterized in that, before determining the plurality of first phase indices based on the time offset of the received pilot symbols and the subcarrier indices of the plurality of pilot subcarriers in the pilot symbols, the method further includes: obtaining a second phase table, where the second phase table stores the phase rotation values corresponding to a plurality of phase rotation angles respectively, and among them, the plurality of phase rotation angles are distributed in four quadrants in the rectangular coordinate system; screening out the phase rotation values corresponding to the phase rotation angles within the target quadrant from the second phase table; storing each phase rotation value in the first phase table in sequence according to the sorting of the phase rotation angles corresponding to the screened phase rotation values.
3. The method according to claim 1, characterized in that, before querying the compensation parameters corresponding to the plurality of reference phase rotation values respectively, the method further includes: determining the compensation parameters corresponding to each quadrant of the rectangular coordinate system, where the compensation parameter corresponding to any quadrant is used to offset the error introduced when querying the corresponding phase rotation value based on the phase rotation angle mapped within the target quadrant from the phase rotation angle in the quadrant; storing the compensation parameters corresponding to each quadrant in a compensation parameter table; the querying the compensation parameters corresponding to the plurality of reference phase rotation values respectively includes: querying the compensation parameters corresponding to the quadrants where the phase rotation angles corresponding to the plurality of first phase indices are located respectively from the compensation parameter table; determining the plurality of queried compensation parameters respectively as: the compensation parameters corresponding to the reference phase rotation values queried by the second phase indices mapped by the plurality of first phase indices.
4. The method according to claim 1, characterized in that, the determining the plurality of first phase indices based on the time offset of the received pilot symbols and the subcarrier indices of the plurality of pilot subcarriers in the pilot symbols includes: From the subcarrier indices of the multiple pilot subcarriers, extract one subcarrier index every first number of subcarrier indices, and multiply the ratio of the extracted subcarrier index to the second number by the time offset to obtain the multiple first phase indices, where the second number is the first number plus one; The method further includes: Determine a second subcarrier index associated with a first subcarrier index from the extracted subcarrier indices, where the first subcarrier index is any unextracted subcarrier index, the second subcarrier index is less than the first subcarrier index, and the difference between them is the smallest; Determine the phase rotation value corresponding to the first subcarrier index based on the phase rotation value corresponding to the second subcarrier index.
5. The method according to claim 4, wherein, The determining the phase rotation value corresponding to the first subcarrier index based on the phase rotation value corresponding to the second subcarrier index includes: Multiply the difference between the second subcarrier index and the first subcarrier index by the time offset and the interval angle to obtain a target phase rotation angle, where the interval angle is the angular interval between adjacent phase rotation angles within the target quadrant; Multiply the phase rotation value corresponding to the target phase rotation angle by the phase rotation value corresponding to the second subcarrier index to obtain the phase rotation value corresponding to the first subcarrier index.
6. The method according to claim 4, wherein, Before determining the multiple first phase indices based on the time offset of the received pilot symbol and the subcarrier indices of the multiple pilot subcarriers in the pilot symbol, the method further includes: Obtain a second phase table, where the second phase table stores phase rotation values corresponding to multiple phase rotation angles respectively, and among them, the multiple phase rotation angles are distributed in four quadrants in the rectangular coordinate system; Screen out the phase rotation values corresponding to the phase rotation angles within the target quadrant from the second phase table; From the phase rotation values corresponding to the phase rotation angles within the target quadrant, extract one phase rotation value every first number of phase rotation values; Store each phase rotation value in the first phase table in sequence according to the sorting of the phase rotation angles corresponding to the extracted phase rotation values.
7. The method according to any one of claims 1-6, wherein, The first phase table is stored in a vector register of a vector processor, and the querying the reference phase rotation values corresponding to the multiple second phase indices from the first phase table includes: Through the vector processor, query the reference phase rotation values corresponding to a third number of the second phase indices from the vector register each time until the reference phase rotation values corresponding to the multiple second phase indices are queried, where the third number is the number of scalar data that the vector register can store.
8. An information query device, wherein, The device includes: A first determination module, configured to determine multiple first phase indices based on the time offset of the received pilot symbol and the subcarrier indices of the multiple pilot subcarriers in the pilot symbol; An index mapping module, configured to map the multiple first phase indices to second phase indices respectively, where the phase rotation angle corresponding to the first phase index and mapped within the target quadrant of the rectangular coordinate system is equal to the phase rotation angle corresponding to the second phase index; A first query module, configured to query, according to the positions respectively indicated by the multiple second phase indices, the reference phase rotation values respectively corresponding to the multiple second phase indices from a first phase table, where the first phase table stores the phase rotation values corresponding to the phase rotation angles within the target quadrant; A second query module, configured to query the compensation parameters respectively corresponding to the multiple reference phase rotation values, where the compensation parameters are used to cancel the error of the phase rotation values caused by index mapping; A compensation module, configured to multiply the multiple reference phase rotation values by the corresponding compensation parameters respectively to obtain the target phase rotation values of the multiple pilot subcarriers.
9. A computer device, characterized in that, the computer device includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the information query method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, the storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the information query method according to any one of claims 1 to 7.
11. A chip, characterized in that, the chip includes programmable logic circuits and / or program instructions, and is used to implement the information query method according to any one of claims 1 to 7 when the chip runs on a terminal.
12. A computer program product, including a computer program, characterized in that, the computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the information query method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Frequency offset compensation method in orthogonal frequency division multiplexing (OFDM) system
CN103023845A
Method and apparatus for estimating and compensating frequency deviation in orthogonal multiplexing system
CN1816030A