Data packet alignment method and device based on coded pulse technology

Through the method based on coding pulse technology, the outlier and center frequency offsets are determined and frequency correction is performed, which solves the problem of low packet alignment accuracy in the prior art, and realizes packet alignment under extremely low signal energy .

CN115664903BActive Publication Date: 2025-02-18TSINGHUA UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211216990.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2025-02-18
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

In the prior art, the packet alignment accuracy is low, and it is impossible to accurately find the packet start position under extremely low signal energy.

Method used

Using a method based on coding pulse technology, by obtaining the to-process signals, performing sampling and correlation operations, determining the outlier and center frequency offsets, and performing frequency correction to achieve packet alignment.

Benefits of technology

Improve the accuracy of packet alignment, and can accurately find the packet start position under extremely low signal energy, correct the center frequency offset between the transceiver and receive devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115664903B_ABST
    Figure CN115664903B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a data packet alignment method and device based on coded pulse technology, wherein the method includes: obtaining a signal to be processed, sampling the signal to be processed, obtaining M segments of sampling signals, M being a positive integer; performing correlation operations on the M segments of sampling signals with a preset design signal respectively, obtaining M first data points, the first data points having first value information and frequency information; determining outliers based on the first value information of the M first data points; determining a center frequency offset based on the outliers; compensating the signal to be processed based on the center frequency offset, and obtaining an aligned data packet. The embodiment of the present invention can also accurately find the starting position of the data packet in the case of extremely low signal energy, thereby realizing the correction of the center frequency offset between the transceiver devices, and improving the accuracy of data packet alignment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a data packet alignment method and device based on coded pulse technology. Background Art

[0002] The problem of data packet alignment has always been a very important issue in the decoding process. In the data encoding process, multiple bits are used to encode a data. Therefore, only by finding the accurate starting encoding position can it be correctly matched to each encoded data and then correctly decoded.

[0003] The current packet alignment method mainly uses methods based on signal strength, verification code, etc. for verification.

[0004] However, current packet alignment methods suffer from low accuracy. Summary of the invention

[0005] The present invention provides a data packet alignment method and device based on coded pulse technology, which are used to solve the defect of low data packet alignment accuracy in the prior art and improve the data packet alignment accuracy.

[0006] In a first aspect, the present invention provides a data packet alignment method based on coded pulse technology, comprising:

[0007] Acquire a signal to be processed, sample the signal to be processed, and obtain M segments of sampling signals, where M is a positive integer;

[0008] Perform correlation operations on the M sampling signals and preset design signals respectively to obtain M first data points, where the first data points have first value information and frequency information;

[0009] Determine outliers based on the first value information of the M first data points;

[0010] Determining a center frequency offset based on the outlier;

[0011] The signal to be processed is compensated based on the center frequency offset to obtain an aligned data packet.

[0012] Optionally, determining a center frequency offset based on the outlier includes:

[0013] Determine a first frequency-increasing symbol and a first frequency-decreasing symbol based on the outlier;

[0014] Multiply the first frequency-increasing symbol by the first frequency-decreasing symbol to obtain a dot product result, and perform discrete Fourier transform on the dot product result to obtain a plurality of second data points, wherein the second data points have second value information and frequency offset information;

[0015] Determine a center frequency offset based on frequency offset information of a second data point corresponding to the maximum second value;

[0016] The first frequency-increasing symbol is the first frequency-increasing symbol in the sampling signal, and the first frequency-decreasing symbol is the first frequency-decreasing symbol in the sampling signal.

[0017] Optionally, determining a first frequency rising symbol and a first frequency falling symbol based on the outlier includes:

[0018] Determine a first frequency-increasing symbol based on the outlier with the smallest frequency;

[0019] A first frequency reduction symbol is determined based on the outlier with the largest frequency and the symbol length of the data packet.

[0020] Optionally, the symbol length of the design signal is the same as the symbol length of the data packet, and the frequency of the design signal is Starts to grow linearly to The BW represents the bandwidth of the data packet.

[0021] Optionally, the determining of the center frequency offset based on the outlier point also includes:

[0022] When the distance between adjacent outliers is the symbol length of the data packet, it is determined that the signal to be processed includes a data packet.

[0023] Optionally, compensating the signal to be processed based on the center frequency offset to obtain an aligned data packet includes:

[0024] Taking the first frequency rising symbol as a starting point, the signal to be processed is compensated based on the center frequency offset to obtain an aligned data packet.

[0025] In a second aspect, the present invention further provides a data packet alignment device based on coded pulse technology, comprising:

[0026] An acquisition unit, used for acquiring a signal to be processed, sampling the signal to be processed, and obtaining M segments of sampling signals, where M is a positive integer;

[0027] A processing unit, configured to perform correlation operations on the M sampling signals and preset design signals respectively to obtain M first data points, where the first data points have first value information and frequency information;

[0028] The processing unit is further used to determine outliers based on the first value information of the M first data points;

[0029] The processing unit is further configured to determine a center frequency offset based on the outlier point;

[0030] A compensation unit is used to compensate the signal to be processed based on the center frequency offset to obtain an aligned data packet.

[0031] In a third aspect, the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements a data packet alignment method based on coded pulse technology as described above.

[0032] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a data packet alignment method based on coded pulse technology as described in any one of the above.

[0033] In a fifth aspect, the present invention further provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-described data packet alignment methods based on coded pulse technology.

[0034] The data packet alignment method and device based on coded pulse technology provided by the present invention determine the center frequency offset by combining the outlier point with the characteristic that the frequency used when encoding the data packet changes linearly with time. Therefore, the data packet alignment method based on coded pulse technology provided by the embodiment of the present invention can determine the center frequency offset without accurately finding the position where the signal strength suddenly changes. The starting position of the data packet can also be accurately found in the case of extremely low signal energy, thereby realizing the correction of the center frequency offset between the transceiver devices and improving the accuracy of data packet alignment. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 It is a flow chart of a data packet alignment method based on coded pulse technology provided by an embodiment of the present invention;

[0037] Figure 2 is a schematic diagram of outliers provided by an embodiment of the present invention;

[0038] Figure 3 is a schematic diagram of a linear change in the frequency of a data packet over time provided by an embodiment of the present invention;

[0039] Figure 4It is a schematic diagram of a frequency offset value obtained by performing point multiplication and Fourier transform operations on a frequency complementary signal provided by an embodiment of the present invention;

[0040] Figure 5 It is a structural schematic diagram of a data packet alignment device based on coded pulse technology provided by an embodiment of the present invention;

[0041] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] To facilitate understanding of the embodiments of the present invention, the following describes terms or backgrounds related to the embodiments of the present invention:

[0044] Wide area IoT data packets are used to encode different data by adjusting the frequency of the signal. The frequency of each symbol in the data packet increases linearly. Due to the different crystal oscillators between different devices, there will be a certain difference in the frequency between the sent and received data packets, which is the center frequency offset. This center frequency offset will affect the judgment of the starting position of the data packet, so when aligning the data packet, the center frequency offset needs to be corrected first.

[0045] Currently, data packet alignment is mainly verified by methods based on signal strength, verification code, etc.

[0046] The signal strength method requires accurate location of signal strength mutation. However, since the wide area IoT needs to communicate under extremely low signal-to-noise ratio, the signal energy of the data packet is usually not as strong as the noise energy. Therefore, for the received signal, there may not be a location where the signal strength mutation occurs. Therefore, accurate data packet alignment is impossible.

[0047] The method based on the verification code needs to process and decode the signal first, and then determine whether the decoding result meets the requirements of the verification code. This method is more suitable for verifying whether it is aligned, but it is not helpful for finding the starting point of the data packet for alignment.

[0048] The inventors have discovered that the above-mentioned method for aligning data packets cannot solve the problem of center frequency offset, because neither method estimates the frequency of the signal.

[0049] The embodiment of the present invention analyzes the characteristics of wide area Internet of Things data packet signals and utilizes the coded pulse law that the signal frequency increases linearly with time, and proposes a data packet alignment method based on coded pulse technology. This method can perform center frequency correction and data packet alignment when the signal energy is much lower than the noise energy.

[0050] Combine the following Figure 1-Figure 4 The invention describes a data packet alignment method based on coded pulse technology.

[0051] Figure 1 FIG. 1 is a flow chart of a method for aligning data packets based on coded pulse technology provided by an embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides a data packet alignment method based on coded pulse technology, comprising:

[0052] Step 110, obtaining a signal to be processed, sampling the signal to be processed, and obtaining M segments of sampled signals, where M is a positive integer;

[0053] Specifically, the data packet may be a data packet of a wide area Internet of Things. The symbol length of a symbol of a data packet is L (L sampling points counted backward from the starting sampling point, or understood as L intervals) sampling points. It should be understood that the sampling points are frequency sampling points, and the frequency intervals between each adjacent sampling point are the same. For the signal to be processed, assuming that there are N sampling points, it should be understood that starting from the initial position of the signal to be processed, each time it moves backward L sampling points, intercepts a section of the signal with the same symbol length as the sampling signal, and moves NL (N minus L) times in total.

[0054] Among them, the symbol length of the data packet can be predetermined based on the data packet information. The method for determining the symbol length of the data packet can be referred to the relevant technology and will not be repeated here.

[0055] Exemplarily, the signal to be processed may have 6 sampling points (sampling point 0, sampling point 1, sampling point 2, sampling point 3, sampling point 4 and sampling point 5), and the length of a single symbol is 2 sampling points (the length from sampling point 0 to sampling point 2), then NL=4 sampling points may be obtained:

[0056] Sampling signal 1: from sampling point 0 to sampling point 2;

[0057] Sampling signal 2: from sampling point 1 to sampling point 3;

[0058] Sampling signal 3: from sampling point 2 to sampling point 4;

[0059] Sampling signal 4: from sampling point 3 to sampling point 5.

[0060] Step 120, performing correlation operations on the M sampling signals and preset design signals respectively to obtain M first data points, where the first data points have first value information and frequency information;

[0061] Exemplarily, correlation operations are performed on the preset design signal and the sampling signal 1, the sampling signal 2, the sampling signal 3, and the sampling signal 4 to obtain a first data point corresponding to the sampling signal 1, a first data point corresponding to the sampling signal 2, a first data point corresponding to the sampling signal 3, and a first data point corresponding to the sampling signal 4. Each data point has first value information and frequency information, and the first value information may be a correlation value (also referred to as a cross-correlation value) obtained through a correlation operation (also referred to as a cross-correlation operation).

[0062] The M first data points may be plotted with the horizontal axis representing the frequency and the vertical axis representing the first value information to facilitate data processing.

[0063] Optionally, the symbol length of the design signal is the same as the symbol length of the data packet, and the frequency of the design signal is Starts to grow linearly to The BW represents the bandwidth of the data packet, wherein the bandwidth of the data packet can be determined based on the information of the data packet, and the method for determining the bandwidth of the data packet can refer to the relevant technology, which will not be described in detail here.

[0064] Step 130, determining outliers based on the first value information of the M first data points;

[0065] Specifically, an outlier refers to a data point that is extremely large or extremely small and far away from the general level. In the embodiment of the present invention, an outlier is a first data point whose first value is obviously out of the general level. Figure 2 is a schematic diagram of outliers provided by an embodiment of the present invention, such as Figure 2 As shown, the first value is 3×10 4 The first data point above is an outlier. Figure 2 It can be seen that the outliers are different from the average data points (the first value is 0.5×10 4 The first data point above) has a large gap, and the first value can reach a data gap of 6 times.

[0066] Optionally, an outlier threshold may be set based on the distribution of the first value of the first data point, and a first data point whose first value is greater than the outlier threshold may be regarded as an outlier.

[0067] Step 140, determining a center frequency offset based on the outlier point;

[0068] Specifically, Figure 3Schematic diagram of the linear change of the frequency of a data packet over time provided by an embodiment of the present invention, such as Figure 3 As shown, the initial symbol of the wide area IoT data packet is a frequency from Starts to grow linearly to There are two symbol frequencies in the middle. Start to decrease linearly to The frequencies of these two signals are in a symmetrical state.

[0069] The outliers are calculated by a correlation operation of a signal, and the frequency ranges from Starts to grow linearly to The signal is a frequency rising symbol. The first appearance of the outlier indicates that the corresponding sampling signal is the first frequency from Starts to grow linearly to signal, the first frequency rising symbol is the first frequency rising symbol in the sampling signal; the frequency rises from Start to decrease linearly to The signal is a frequency drop symbol. The last appearance of the outlier can indicate that the corresponding sampling signal is the last frequency from Starts to grow linearly to signal, the next symbol is the first frequency decrease symbol, and the first frequency decrease symbol is the first frequency decrease symbol in the sampled signal.

[0070] The data packet alignment method based on coded pulse technology provided in the embodiment of the present invention determines the center frequency offset by combining the outliers with the characteristic that the frequency used when encoding the data packet changes linearly with time. Therefore, the data packet alignment method based on coded pulse technology provided in the embodiment of the present invention can determine the center frequency offset without accurately finding the position where the signal strength suddenly changes. The starting position of the data packet can also be accurately found in the case of extremely low signal energy, thereby correcting the center frequency offset between the transceiver devices and improving the accuracy of data packet alignment.

[0071] Optionally, step 141, determining a first frequency rising symbol and a first frequency falling symbol based on the outlier includes:

[0072] Step 1411, determining a first frequency-increasing symbol based on the outlier with the minimum frequency;

[0073] Specifically, among the multiple outliers determined in step 130, each outlier is separated by L sampling points, and the outliers are sorted based on the order (ie, frequency) of the sampling points, such as Figure 2As shown in the figure, the frequency corresponding to the first outlier, that is, the outlier with the smallest frequency, can determine the initial starting point of the data packet, which can be called point A. In the case where no center frequency offset occurs, point A is the exact starting point of the data packet, that is, the starting point of the first symbol in the data packet, and the first symbol in the data packet is a frequency segment from Starts to grow linearly to signal, that is, the first frequency rising symbol.

[0074] Step 1412: Determine a first frequency reduction symbol based on the outlier with the largest frequency and the symbol length of the data packet.

[0075] Specifically, the frequency corresponding to the outlier with the largest frequency is added to the symbol length of the data packet to obtain the frequency, which is the starting position of the first frequency drop symbol. The last outlier among the multiple outliers determined in step 130, that is, the outlier with the largest frequency, is the last frequency segment. Starts to grow linearly to The starting point of the symbol, from the frequency corresponding to the last outlier point plus L sampling points (the symbol length of the data packet) is the first frequency reduction symbol (the first from the frequency Start to decrease linearly to The starting position of the symbol) is assumed to be B.

[0076] Step 142, multiplying the first frequency-increasing symbol by the first frequency-decreasing symbol to obtain a dot product result, performing discrete Fourier transform on the dot product result to obtain a plurality of second data points, wherein the second data points have second value information and frequency offset information;

[0077] Specifically, because there is a center frequency offset, it is necessary to correct the two positions A and B. A segment of data with a length of L sampling points can be obtained from the A position, and a segment of data with a length of L sampling points can be obtained from the B position. The two segments of data are subjected to a point multiplication operation to obtain a point multiplication result, and then the point multiplication result is subjected to a discrete Fourier transform. The second value information is a calculated value obtained by discrete Fourier transform, and the frequency offset information is a frequency offset obtained after discrete Fourier transform.

[0078] Step 143: Determine the center frequency offset based on the frequency offset information of the second data point corresponding to the maximum second value.

[0079] Specifically, after discrete Fourier transform, there is a second data point with the largest second value among the multiple second data points. By acquiring the frequency offset information corresponding to the second data point with the largest second value, the center frequency offset can be obtained.

[0080] For example, Figure 4: is a schematic diagram of a frequency offset value obtained by performing a dot multiplication and a Fourier transform operation on a frequency complementary signal (a first frequency rising symbol and a first frequency falling symbol) provided by an embodiment of the present invention, such as Figure 4 As shown, data point A is the second data point with the largest second value, and the frequency offset corresponding to data point A is the center frequency offset.

[0081] Optionally, step 140, determining the center frequency offset based on the outlier, further includes:

[0082] When the distance between adjacent outliers is the symbol length of the data packet, it is determined that the signal to be processed includes a data packet.

[0083] Exemplarily, the symbol length of the data packet is L sampling points. Among the multiple outliers determined in step 130, if multiple outliers appear and the distance between adjacent outliers is L sampling points. It is determined that there is a wide area Internet of Things data packet in the signal to be processed. If there are no multiple outliers, or the distance between adjacent outliers in the multiple outliers is not L sampling points, it is determined that there is no wide area Internet of Things data packet in the signal to be processed. In order to improve the calculation efficiency, the subsequent steps may not be performed at this time. The embodiment of the present invention can improve the efficiency of data packet alignment.

[0084] Optionally, compensating the signal to be processed based on the center frequency offset to obtain an aligned data packet includes:

[0085] Taking the first frequency rising symbol as a starting point, the signal to be processed is compensated based on the center frequency offset to obtain an aligned data packet.

[0086] Exemplarily, by eliminating the center frequency offset at position A, frequency correction can be completed, an accurate starting point position can be obtained, and data packet alignment can be achieved.

[0087] In one embodiment, the present invention provides a data packet alignment method based on coded pulse technology, which can be applied to data packet alignment in the case where wide area Internet of Things data packets are unstable between devices and the noise energy is strong.

[0088] The data packet alignment method based on coded pulse technology provided by the present invention includes three parts: data packet existence determination, starting point rough determination and frequency correction, and specifically includes the following steps:

[0089] Data packet existence determination:

[0090] 1. For the received signal to be processed, design a signal with the same symbol length as the signal to be processed and a linear increase in frequency from low to high.

[0091] The design signal has the same symbol length as the signal to be processed and the frequency is Starts to grow linearly to signal, BW represents the bandwidth of the data packet.

[0092] 2. Sample the signal to be processed, and perform correlation operation between the design signal and the signal to be processed one by one.

[0093] Find outliers from the correlation result (correlation value, i.e., the first value), determine the number and distance of outliers, and determine the existence of the data packet.

[0094] The starting point is roughly determined:

[0095] 3. Assume that there are N outliers with the same distance difference D. Roughly estimate that the frequency position A corresponding to the first outlier is the starting position of the data packet, that is, the starting position of the first frequency increase symbol; the frequency position A corresponding to the last outlier plus the position B of the distance difference D is the starting position of the frequency linear decrease symbol in the data packet, that is, the starting position of the first frequency decrease symbol.

[0096] 4. Select a signal of one symbol length from positions A and B respectively, and perform point multiplication and discrete Fourier calculation.

[0097] Frequency correction:

[0098] 5. Correct the center frequency offset according to the calculation results, and correct the initial position A at the same time.

[0099] Aiming at the problem that the signal energy of wide area IoT data packets is weak and the frequency between transceiver devices is unstable, the present invention designs a data packet alignment method based on coded pulse technology. The method can correct the center frequency offset between transceiver devices and accurately find the starting position of the data packet under extremely low signal energy.

[0100] The data packet alignment device based on the coded pulse technology provided by the present invention is described below. The data packet alignment device based on the coded pulse technology described below and the data packet alignment method based on the coded pulse technology described above can correspond to each other.

[0101] Figure 5 is a schematic diagram of the structure of a data packet alignment device based on coded pulse technology provided by an embodiment of the present invention, such as Figure 5 As shown, the data packet alignment device based on the coded pulse technology provided by the embodiment of the present invention includes:

[0102] The acquisition unit 510 is used to acquire the signal to be processed, sample the signal to be processed, and obtain M segments of sampling signals, where M is a positive integer;

[0103] A processing unit 520 is used to perform correlation operations on the M sampling signals and preset design signals respectively to obtain M first data points, where the first data points have first value information and frequency information;

[0104] The processing unit 520 is further configured to determine outliers based on the first value information of the M first data points;

[0105] The processing unit 520 is further configured to determine a center frequency offset based on the outlier point;

[0106] The compensation unit 530 is used to compensate the signal to be processed based on the center frequency offset to obtain an aligned data packet.

[0107] Optionally, the processing unit 520 is configured to determine a center frequency offset based on the outlier, including:

[0108] The processing unit 520 is configured to determine a first frequency increase symbol and a first frequency decrease symbol based on the outlier;

[0109] The processing unit 520 is configured to perform a dot multiplication of the first frequency-increasing symbol and the first frequency-decreasing symbol to obtain a dot multiplication result, and perform a discrete Fourier transform on the dot multiplication result to obtain a plurality of second data points, wherein the second data points have second value information and frequency offset information;

[0110] The processing unit 520 is configured to determine a center frequency offset based on the frequency offset information of the second data point corresponding to the maximum second value.

[0111] Optionally, the processing unit 520 is configured to determine a first frequency increase symbol and a first frequency decrease symbol based on the outlier, including:

[0112] The processing unit 520 is used to determine a first frequency-increasing symbol based on the outlier with the smallest frequency;

[0113] The processing unit 520 is configured to determine a first frequency reduction symbol based on the outlier with the largest frequency and the symbol length of the data packet.

[0114] Optionally, the symbol length of the designed signal is the same as the symbol length of the data packet, and the frequency of the designed signal increases linearly from -BW / 2 to BW / 2, where BW represents the bandwidth of the data packet.

[0115] Optionally, the device further comprises:

[0116] The data packet determination unit is used to determine that the signal to be processed includes a data packet when the distance between adjacent outliers is the symbol length of the data packet.

[0117] Optionally, the compensation unit 530 is configured to compensate the signal to be processed based on the center frequency offset to obtain an aligned data packet, including:

[0118] The compensation unit 530 is configured to compensate the signal to be processed based on the center frequency offset with the first frequency rising symbol as a starting point to obtain an aligned data packet.

[0119] The methods and devices provided in each embodiment of the present application are based on the same application concept. Since the data packet alignment method based on coded pulse technology and the data packet alignment device based on coded pulse technology solve problems in similar principles and can achieve the same technical effects, the implementation of the system and the method can refer to each other, and the repeated parts will not be repeated.

[0120] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a data packet alignment method based on the coded pulse technology, including: obtaining a signal to be processed, sampling the signal to be processed, and obtaining M-segment sampling signals, where M is a positive integer; performing correlation operations on the M-segment sampling signals and a preset design signal respectively, and obtaining M first data points, where the first data points have first value information and frequency information; determining outliers based on the first value information of the M first data points; determining a center frequency offset based on the outliers; and compensating the signal to be processed based on the center frequency offset to obtain an aligned data packet.

[0121] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0122] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute a data packet alignment method based on coded pulse technology provided by the above methods, including: obtaining a signal to be processed, sampling the signal to be processed, and obtaining M segments of sampling signals, where M is a positive integer; performing correlation operations on the M segments of sampling signals with a preset design signal respectively to obtain M first data points, where the first data points have first value information and frequency information; determining outliers based on the first value information of the M first data points; determining a center frequency offset based on the outliers; and compensating the signal to be processed based on the center frequency offset to obtain an aligned data packet.

[0123] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute a data packet alignment method based on coded pulse technology provided by the above-mentioned methods, including: obtaining a signal to be processed, sampling the signal to be processed, and obtaining M segments of sampling signals, where M is a positive integer; performing correlation operations on the M segments of sampling signals with a preset design signal respectively to obtain M first data points, where the first data points have first value information and frequency information; determining outliers based on the first value information of the M first data points; determining a center frequency offset based on the outliers; and compensating the signal to be processed based on the center frequency offset to obtain an aligned data packet.

[0124] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0125] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data packet alignment method based on coded pulse technology, characterized in that: include: Acquire a signal to be processed, sample the signal to be processed, and obtain M segments of sampling signals, where M is a positive integer; Perform correlation operations on the M sampling signals and preset design signals respectively to obtain M first data points, where the first data points have first value information and frequency information; Determine outliers based on the first value information of the M first data points; Determining a center frequency offset based on the outlier; The signal to be processed is compensated based on the center frequency offset to obtain an aligned data packet.

2. The data packet alignment method based on coded pulse technology according to claim 1, characterized in that: The determining of the center frequency offset based on the outlier includes: Determine a first frequency-increasing symbol and a first frequency-decreasing symbol based on the outlier; Multiply the first frequency-increasing symbol by the first frequency-decreasing symbol to obtain a dot product result, and perform discrete Fourier transform on the dot product result to obtain a plurality of second data points, wherein the second data points have second value information and frequency offset information; Determine a center frequency offset based on frequency offset information of a second data point corresponding to the maximum second value; The first frequency-increasing symbol is the first frequency-increasing symbol in the sampling signal, and the first frequency-decreasing symbol is the first frequency-decreasing symbol in the sampling signal.

3. The data packet alignment method based on coded pulse technology according to claim 2 is characterized in that: The determining a first frequency rising symbol and a first frequency falling symbol based on the outlier includes: Determine a first frequency-increasing symbol based on the outlier with the smallest frequency; A first frequency reduction symbol is determined based on the outlier with the largest frequency and the symbol length of the data packet.

4. The data packet alignment method based on coded pulse technology according to any one of claims 1 to 3, characterized in that: The symbol length of the design signal is the same as the symbol length of the data packet, and the frequency of the design signal is Starts to grow linearly to The BW represents the bandwidth of the data packet.

5. The data packet alignment method based on coded pulse technology according to any one of claims 1 to 3, characterized in that: The determining of the center frequency offset based on the outlier point also includes: When the distance between adjacent outliers is the symbol length of the data packet, it is determined that the signal to be processed includes a data packet.

6. The data packet alignment method based on coded pulse technology according to any one of claims 2 to 3, characterized in that: The compensating the signal to be processed based on the center frequency offset to obtain an aligned data packet includes: Taking the first frequency rising symbol as a starting point, the signal to be processed is compensated based on the center frequency offset to obtain an aligned data packet.

7. A data packet alignment device based on coded pulse technology, characterized in that: include: An acquisition unit, used for acquiring a signal to be processed, sampling the signal to be processed, and obtaining M segments of sampling signals, where M is a positive integer; A processing unit, configured to perform correlation operations on the M sampling signals and preset design signals respectively to obtain M first data points, where the first data points have first value information and frequency information; The processing unit is further used to determine outliers based on the first value information of the M first data points; The processing unit is further configured to determine a center frequency offset based on the outlier point; A compensation unit is used to compensate the signal to be processed based on the center frequency offset to obtain an aligned data packet.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the data packet alignment method based on the coded pulse technology as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data packet alignment method based on coded pulse technology as claimed in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data packet alignment method based on coded pulse technology as claimed in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • LoRa data packet starting point alignment method and device

    CN112437030A

  • Sampling frequency estimation device

    JP2015197941A