Data storage device and storage method

文档序号:1543599 发布日期:2020-01-17 浏览:4次 中文

阅读说明:本技术 一种数据存储装置及存储方法 (Data storage device and storage method ) 是由 陈音 王璐 管云峰 何大治 徐胤 李浩洋 杨宁 于 2018-07-09 设计创作,主要内容包括:本发明揭示了一种基于子载波的数据存储装置及存储方法,用于对子载波进行存储,所述子载波由沿时域方向分布的不同符号组成,所述符号分为导频符号和非导频符号,所述数据存储装置包括:第一存储器和第二存储器,第一存储器用于对所述子载波中的导频符号进行存储,第二存储器用于对所述子载波中位于相邻导频符号间的所述非导频符号的个数进行存储;采用了本发明的技术方案,减少了存储空间的浪费并增加存储方式的可复用性,实现以最少的存储空间存储所需数据。(The invention discloses a data storage device and a storage method based on subcarriers, which are used for storing the subcarriers, wherein the subcarriers consist of different symbols distributed along the time domain direction, the symbols are divided into pilot symbols and non-pilot symbols, and the data storage device comprises: the first memory is used for storing the pilot symbols in the subcarriers, and the second memory is used for storing the number of the non-pilot symbols positioned between the adjacent pilot symbols in the subcarriers; by adopting the technical scheme of the invention, the waste of storage space is reduced, the reusability of a storage mode is increased, and the required data is stored in the minimum storage space.)

1. A data storage device for storing sub-carriers, said sub-carriers consisting of different symbols distributed in a time domain direction, said symbols being divided into pilot symbols and non-pilot symbols, said data storage device comprising:

a first memory for storing the pilot symbols in the subcarriers;

a second memory for storing the number of the non-pilot symbols located between adjacent pilot symbols in the sub-carriers.

2. The data storage device of claim 1 wherein the pilot symbols in the subcarriers are discretely distributed.

3. The data storage device of claim 1, wherein the subcarriers are distributed in plurality in the frequency domain direction, and adjacent subcarriers have the same interval in the frequency domain direction.

4. The data storage device of claim 3, wherein the first memory comprises a plurality of first frequency-domain storage locations distributed in a frequency-domain direction, the first frequency-domain storage locations respectively corresponding to the subcarriers one-to-one.

5. The data storage device of claim 4, wherein the second memory comprises a plurality of second frequency domain storage locations distributed in a frequency domain direction, the second frequency domain storage locations respectively corresponding to the subcarriers one-to-one.

6. The data storage device of claim 5, wherein said first frequency domain storage location comprises a plurality of first sub-storage locations for storing said pilot symbols in a time domain direction and/or said second frequency domain storage location comprises a plurality of second sub-storage locations for storing said number of non-pilot symbols between adjacent pilot symbols in said sub-carriers in a time domain direction.

7. A data storage method for storing subcarriers using a data storage device according to any one of claims 1 to 6, the method comprising the steps of:

step S1: initializing a first frequency domain storage position and a second frequency domain storage position in a first memory and a second memory;

step S2: sequentially inputting symbols distributed along the time domain direction in sequence, inputting symbols positioned at the same time domain position in all subcarriers every time, and executing steps S3 and S4 when the input symbols are pilot symbols in the subcarriers to which the input symbols belong, or executing step S5;

step S3: sequentially shifting the pilot symbols in the first frequency domain storage position, and filling the newly input pilot symbols into the input end of the first frequency domain storage position, wherein the input end of the first frequency domain storage position is a position, in the first frequency domain storage position, dedicated to storing the newly input pilot symbols;

step S4: the second frequency domain storage position stores a numerical value for recording the number of non-pilot symbols positioned between adjacent pilot symbols in the subcarrier, the numerical value in the second frequency domain storage position is sequentially shifted, and a numerical value 0 is filled into the input end of the second frequency domain storage position, wherein the input end of the second frequency domain storage position is a position, which is specially used for storing a newly input numerical value, in the second frequency domain storage position;

step S5: adding 1 to the value stored in the input of the second frequency domain storage location;

step S6: when all the sub-carriers are stored, the program is ended; otherwise, step S2 is executed.

8. The data storage method as claimed in claim 7, wherein in step S3, the first frequency domain storage location includes a plurality of first sub-storage locations for storing the pilot symbols in the time domain, each of the first sub-storage locations is used for storing one of the pilot symbols, the input end of the first frequency domain storage location is the first sub-storage location of the first frequency domain storage location dedicated for storing the newly input pilot symbol, the pilot symbols of the first sub-storage location of the first frequency domain storage location are sequentially shifted, and the newly input pilot symbols are filled into the input end of the first frequency domain storage location.

9. The data storage method according to claim 7, wherein in step S4, the second frequency-domain storage location comprises a plurality of second sub-storage locations for storing the numerical value in the time-domain direction, each of the second sub-storage locations is used for storing a numerical value, and the input end of the second frequency-domain storage location is a second sub-storage location of the second frequency-domain storage location dedicated for storing a newly input numerical value, and the numerical value in the second sub-storage location in the second frequency-domain storage location is sequentially shifted to fill the input end of the second frequency-domain storage location with a numerical value of 0.

10. The data storage method of claim 7 wherein in step S5, the value stored at the input of the second frequency domain storage location is incremented by 1.

Technical Field

The present invention relates to a data storage method, and more particularly, to a data storage device and method based on regularly distributed scattered pilot subcarriers of an OFDM system.

Background

In the conventional data storage method of scattered pilot subcarriers based on an OFDM system, the obtained scattered pilot of each OFDM symbol data is stored in a scattered pilot buffer, and the prior art does not relate to a detailed structure and a specific storage method of a pilot point data storage device of the OFDM system. The method of directly storing the scattered pilot data by using the memory may cause problems of increased memory space and waste.

Disclosure of Invention

The invention provides a data storage device and a method, thereby realizing the storage of subcarriers containing scattered pilot symbols with the least storage space.

In accordance with the above object, a data storage device embodying the present invention stores subcarriers composed of different symbols distributed in a time domain direction, the symbols being divided into pilot symbols and non-pilot symbols, the data storage device comprising:

a first memory for storing pilot symbols in the subcarriers;

a second memory for storing the number of the non-pilot symbols located between adjacent pilot symbols in the sub-carriers.

Optionally, the pilot symbols in the subcarriers are regularly distributed based on the OFDM system.

Optionally, a plurality of subcarriers are distributed in the frequency domain direction, and an interval exists between adjacent subcarriers in the frequency domain direction.

Optionally, the intervals of the adjacent subcarriers in the frequency domain direction are the same.

Optionally, the first memory includes a plurality of first frequency domain storage locations distributed in a frequency domain direction, and the first frequency domain storage locations respectively correspond to the subcarriers one to one.

Optionally, the second memory includes a plurality of second frequency domain storage locations distributed in the frequency domain direction, and the second frequency domain storage locations respectively correspond to the subcarriers one to one.

Optionally, the first frequency domain storage location includes a plurality of first sub-storage locations for storing the pilot symbols in a time domain direction, and/or the second frequency domain storage location includes a plurality of second sub-storage locations for storing the number of non-pilot symbols between adjacent pilot symbols in the sub-carriers in the time domain direction.

In accordance with the above object, a data storage method embodying the present invention is a data storage method for storing subcarriers using the data storage apparatus as described in any one of the preceding items, characterized by comprising the steps of:

step S1: initializing a first frequency domain storage position and a second frequency domain storage position in a first memory and a second memory;

step S2: sequentially inputting symbols distributed along the time domain direction in sequence, inputting symbols positioned at the same time domain position in all subcarriers every time, and executing steps S3 and S4 when the input symbols are pilot symbols in the subcarriers to which the input symbols belong, or executing step S5;

step S3: sequentially shifting the pilot symbols in the first frequency domain storage position, and filling the newly input pilot symbols into the input end of the first frequency domain storage position, wherein the input end of the first frequency domain storage position is a position, in the first frequency domain storage position, dedicated to storing the newly input pilot symbols;

step S4: the second frequency domain storage position stores a numerical value for recording the number of non-pilot symbols positioned between adjacent pilot symbols in the subcarrier, the numerical value in the second frequency domain storage position is sequentially shifted, and a numerical value 0 is filled into the input end of the second frequency domain storage position, wherein the input end of the second frequency domain storage position is a position, which is specially used for storing a newly input numerical value, in the second frequency domain storage position;

step S5: adding 1 to the value stored in the input of the second frequency domain storage location;

step S7: when all the sub-carriers are stored, the program is ended; otherwise, step S2 is executed.

Optionally, in step S3, the first frequency domain storage location includes a plurality of first sub-storage locations for storing the pilot symbols in the time domain direction, each of the first sub-storage locations is used to store one of the pilot symbols, an input end of the first frequency domain storage location is a first sub-storage location in the first frequency domain storage location, which is dedicated to store the newly input pilot symbol, the pilot symbols in the first sub-storage location in the first frequency domain storage location are sequentially shifted, and the newly input pilot symbol is filled in the input end of the first frequency domain storage location.

Optionally, in step S4, the second frequency domain storage location includes a plurality of second sub-storage locations for storing values in the time domain direction, each of the second sub-storage locations is used to store a value, an input end of the second frequency domain storage location is a second sub-storage location of the second frequency domain storage location dedicated to storing a newly input value, the values in the second sub-storage locations in the second frequency domain storage location are sequentially shifted, and a value 0 is filled in the input end of the second frequency domain storage location.

Optionally, in step S5, the value stored in the input end of the second frequency domain storage location is incremented by 1.

By adopting the technical scheme of the invention, aiming at the defects of the prior art, the two memories are used for respectively storing the pilot frequency symbols in the subcarriers and the number of the non-pilot frequency symbols between the adjacent pilot frequency symbols in the subcarriers, so that the subcarriers containing the scattered pilot frequency symbols are stored in the least RAM space, and the waste of the storage space is reduced.

Drawings

FIG. 1 is a schematic diagram of: a storage schematic diagram of a pilot frequency position and a RAM;

FIG. 2 is a diagram of: an exemplary sub-frame pilot structure diagram;

FIG. 3 is a diagram of: the DATA RAM/GAP RAM memory diagram at the symbol 0;

FIG. 4 is a diagram of: the DATA RAM/GAP RAM memory diagram at the symbol 1;

FIG. 5 is a diagram of: the DATA RAM/GAP RAM memory diagram at symbol 2;

FIG. 6 is a diagram of: the DATA RAM/GAP RAM storage diagram at the symbol 3;

FIG. 7 is a diagram of: the DATA RAM/GAP RAM storage diagram at the symbol 4;

FIG. 8 is a diagram of: the DATA RAM/GAP RAM memory diagram at the symbol 5;

FIG. 9 is a schematic diagram of: the DATA RAM/GAP RAM memory diagram at the symbol 6;

FIG. 10 is a schematic diagram of: the DATA RAM/GAP RAM memory diagram at the symbol 7;

FIG. 11 is a graph of: DATA RAM/GAP RAM memory schematic at symbol 8.

Detailed Description

The technical scheme of the invention is further explained by combining the drawings and the embodiment.

Fig. 1 is a schematic diagram of storage of pilot positions and RAM, where a current subframe has 9 symbols, NoC is the number of subcarriers of a current symbol, DX is an interval between subcarriers of two pilots in a frequency domain, DY is the number of symbols of an interval between two pilots in a time domain, in the schematic diagram, system parameters are NoC 25, DX 3, and DY 4, a blue line in the diagram describes a correspondence between a physical subcarrier and a frequency domain storage position of a DATA RAM, a number in the DATA RAM represents a correspondence between a frequency domain storage position in the DATA RAM and a frequency domain storage position in the GAP RAM, and a number on the left side of a physical time domain and a frequency domain resource represents a symbol index in the subframe. The concrete corresponding formula is as follows:

assuming that the frequency domain storage location in the DATA RAM is n, the frequency domain storage location in the GAP RAM is n1., if n is 0 or n is (NoC-1)/DX, then n1 is 0, otherwise n1 is ((n-1)% DY) +1 (% the sign is the remainder of the division).

Each time a symbol is processed, the following operations are performed:

1 initializes the frequency domain storage location k to 0,

2, the physical subcarrier corresponding to the frequency domain storage position k has the serial number k x DX +1. if the physical subcarrier is at the current sign position pilot frequency, the steps 3 and 4 are carried out; otherwise, the symbol is not processed or the physical sub-carrier is not pilot frequency at the current symbol to carry out step 5;

3 shifting the value corresponding to the frequency domain storage location k in DATA RAM, i.e. HRAM[k][3]=HRAM[k][2],HRAM[k][2]=HRAM[k][2],HRAM[k][1]=HRAM[k][0]Then the new value of the pilot position (H)RAM_IN) To store;HRAM[k][0]=HRAM_IN

4 if k<DY +1, the GAP RAM needs to be updated, the updating rule is as follows, the corresponding storage value of the frequency domain storage position is shifted, HGAP[k][3]=HGAP[k][2],HGAP[k][2]=HGAP[k][1],HGAP[k][1]=HGAP[k][0]Then, the GAP counter is reset: hGAP[k][0]0; then, step 6 is carried out;

5, the DATA stored in the DATA RAM is not changed, and only the corresponding position in the GAP RAM is updated: hGAP[k][0]=HGAP[k][0]+ 1; then, step 6 is carried out;

6 if k is (NoC-1)/DX, the current symbol processing ends. Otherwise k is k +1, proceed to step 2.

FIG. 2 is a pilot structure of a hypothetical subframe, where the depth of the DATA RAM in the frequency domain direction of pilot DATA to be stored is (NoC-1)/DX +1, the time domain depth is DX, and the number of position DATA to be stored in the GAP RAM is DY + 1;

fig. 3-11 show the original location corresponding to the value stored in the RAM for each symbol and the data stored in the GAP RAM. The depth of the pilot frequency DATA needing to be stored in the DATA RAM in the frequency domain direction is (NoC-1)/DX +1, the time domain depth is DX, and the number of the position DATA needing to be stored in the GAP RAM is DY +1.

FIG. 3 shows pilot data and position of symbol 0 are stored, and the operations of steps 2, 3, 4, and 6 are performed, where k is 0-8 in step 3, 0-4 in step 4, and 0-8 in step 6.

Fig. 4 shows that the pilot data and the position of the symbol 1 are stored, and the operations of steps 2, 3, 4, 5, and 6 are performed, where k is 0, 1, 5, and 8 in step 3, k is 0 and 1 in step 4, k is 2, 3, and 4 in step 5, and k is 0 to 8 in step 6.

Fig. 5 shows that the pilot data and the position of symbol 2 are stored, and the operations of steps 2, 3, 4, 5, and 6 are performed, where k is 0, 2, 6, and 8 in step 3, k is 0 and 2 in step 4, k is 1, 3, and 4 in step 5, and k is 0 to 8 in step 6.

Fig. 6 shows pilot data and positions of symbol 3 are stored, and operations of steps 2, 3, 4, 5, and 6 are performed, where k is 0, 3, 7, and 8 in step 3, k is 0 and 3 in step 4, k is 1, 2, and 4 in step 5, and k is 0 to 8 in step 6.

Fig. 7 shows that the pilot data and the position of the symbol 4 are stored, and the operations of steps 2, 3, 4, 5, and 6 are performed, where k is 0, 4, and 8 in step 3, k is 0 and 4 in step 4, k is 1, 2, and 3 in step 5, and k is 0 to 8 in step 6.

Fig. 8 shows pilot data and position of symbol 5 are stored, and operations of steps 2, 3, 4, 5, and 6 are performed, where k is 0, 1, 5, and 8 in step 3, k is 0 and 1 in step 4, k is 2, 3, and 4 in step 5, and k is 0 to 8 in step 6.

Fig. 9 shows pilot data and position of symbol 6 are stored, and operations of steps 2, 3, 4, 5, and 6 are performed, where k is 0, 2, 6, and 8 in step 3, k is 0 and 2 in step 4, k is 1, 3, and 4 in step 5, and k is 0 to 8 in step 6.

Fig. 10 shows pilot data and position of symbol 7 are stored, and the operations of steps 2, 3, 4, 5, and 6 are performed, where k is 0, 3, 7, and 8 in step 3, k is 0 and 3 in step 4, k is 1, 2, and 4 in step 5, and k is 0 to 8 in step 6.

FIG. 11 shows pilot data and positions of the stored symbol 8, and the operations of steps 2, 3, 4, and 6 are performed, where k is 0-8 in step 3, 0-4 in step 4, and 0-8 in step 6.

For the method for storing the sub-carriers containing the scattered pilot symbols in the prior art, the invention respectively stores the pilot symbols in the sub-carriers and the number of the non-pilot symbols between the adjacent pilot symbols in the sub-carriers by using the two memories, realizes the storage of the sub-carriers by using the least RAM space and reduces the waste of the storage space.

Those skilled in the art will recognize that the foregoing description is merely one or more embodiments of the present invention, and is not intended to limit the invention thereto. Any equivalent changes, modifications and equivalents of the above-described embodiments are within the scope of the invention as defined by the appended claims, and all such equivalents are intended to fall within the true spirit and scope of the invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种文件传输方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类