Method and device for determining initial position of signal, equipment and storage medium

By calculating the difference between the spectral entropy sequence and the absolute value sequence within the signal starting position range, the problem of large error in the signal starting position in the prior art is solved, and higher accuracy and adaptability are achieved.

CN120263609AActive Publication Date: 2025-07-04BEIJING LIZHENG TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510741281.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-05
Publication Date
2025-07-04
Estimated Expiration
2045-06-05

AI Technical Summary

Technical Problem

In the prior art, there is a large error when estimating the starting position of the signal by observing the time-frequency diagram, resulting in a decrease in the accuracy of the starting position of the signal.

Method used

By obtaining the first starting position range of the target signal, the spectral entropy sequence is calculated and the spectral entropy difference is performed, and the target starting position of the signal is determined through the absolute value sequence and absolute value difference calculation.

Benefits of technology

It improves the accuracy of judging the starting position of the signal, reduces errors, and enhances the adaptability and accuracy of signal processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120263609A_ABST
    Figure CN120263609A_ABST
Patent Text Reader

Abstract

The invention discloses a signal initial position determination method and device, equipment and a storage medium. The method comprises the following steps: acquiring a first initial position range of a target signal; based on a first signal corresponding to the first initial position range, determining a second initial position range by calculating a spectral entropy sequence corresponding to the first signal and performing spectral entropy difference calculation on the spectral entropy sequence; based on a second signal corresponding to the second initial position range, an absolute value sequence corresponding to the second signal is calculated, and absolute value difference calculation is performed on the absolute value sequence, so that a target initial position is determined; the absolute value sequence comprises an absolute value of each data point in the second signal. According to the method provided by the invention, the reduction processing of the initial position range is carried out through the spectral entropy difference method, and the more accurate signal initial position is determined from the reduced initial position range through the time domain difference method, so that the judgment accuracy of the signal initial position is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of signal processing, and particularly to a method, apparatus, device, and storage medium for determining the starting position of a signal. Background Art

[0002] With the development of communication technologies, communication systems have become increasingly complex, and spectrum resources have become increasingly scarce. Determining the starting position of a signal is the key to achieving synchronous reception, which can effectively reduce inter-symbol interference, reduce the bit error rate, and improve communication quality and reliability. It can also help to achieve more signal multiplexing within a limited spectrum, improve spectrum utilization rate to meet the growing communication needs.

[0003] In the prior art, the time-frequency diagram of the signal data is usually observed, and the starting position of the signal is estimated according to the changes in time and signal power values on the time-frequency diagram. However, there are large errors when estimating the starting position of the signal by observing the time-frequency spectrum, which leads to a decrease in the accuracy of the starting position of the signal. Summary of the Invention

[0004] Based on the above problems, the present application provides a method, apparatus, device, and storage medium for determining the starting position of a signal, aiming to improve the accuracy of the starting position of the signal.

[0005] The embodiments of the present application disclose the following technical solutions: In a first aspect, the present application provides a method for determining the starting position of a signal, including: Obtaining a first starting position range of a target signal; Based on the first signal corresponding to the first starting position range, determining a second starting position range by calculating the spectral entropy sequence corresponding to the first signal and performing spectral entropy difference calculation on the spectral entropy sequence; Based on the second signal corresponding to the second starting position range, determining the target starting position by calculating the absolute value sequence corresponding to the second signal and performing absolute value difference calculation on the absolute value sequence; the absolute value sequence includes the absolute values of each data point in the second signal.

[0006] Optionally, in the method as described above, the determining a second starting position range by calculating the spectral entropy sequence corresponding to the first signal and performing spectral entropy difference calculation on the spectral entropy sequence based on the first signal corresponding to the first starting position range includes: Based on the first starting position range, intercepting the target signal to obtain the first signal corresponding to the first starting position range; Calculating the spectral entropy value corresponding to each window frame by sliding a preset sliding window, and constructing the spectral entropy sequence of the first signal; By performing a difference operation on the spectral entropy values in the spectral entropy sequence, the window frame index corresponding to the maximum spectral entropy value is determined from the spectral entropy sequence; Based on the window frame index and the window parameters corresponding to the preset sliding window, a second starting position range is determined.

[0007] Optionally, in the method as described above, the determining the second starting position range based on the window frame index and the window parameters corresponding to the preset sliding window includes: According to the window frame index Index_a, the first starting position Y1 in the first starting position range, and the window frame length S in the window parameters, a second starting position Y2 is determined; the second starting position Y2 is represented by the formula: Y2 = Y1+(Index_a + 1)*S; In the formula, Index_a + 1 represents the next window frame index of the window frame index Index_a; The second starting position range includes the second starting position and a second deviation; the second deviation is the window shift in the window parameters.

[0008] Optionally, in the method as described above, the determination process of the second starting position range can be iteratively executed, and each iteration reduces the second deviation to the current window shift until a preset convergence condition is met.

[0009] Optionally, in the method as described above, the determining the target starting position based on the second signal corresponding to the second starting position range by calculating the absolute value sequence corresponding to the second signal and performing an absolute value difference calculation on the absolute value sequence includes: Based on the second starting position range, the first signal is intercepted to obtain a second signal corresponding to the second starting position range; An absolute value calculation is performed on each data point in the second signal to construct an absolute value sequence corresponding to the second signal; A difference operation is performed on the absolute value sequence, and the data index corresponding to the maximum difference value is determined from the absolute value sequence; Based on the second starting position in the second starting position range and the data index, the target starting position is determined.

[0010] Optionally, in the method as described above, the determining the target starting position based on the second starting position in the second starting position range and the data index includes: Based on the second starting position Y2 in the second starting position range and the data index Index_b, a target starting position Y3 is determined, and the target starting position Y3 is represented by the formula: Y3 = Y2 + Index_b + 1; In the formula, Index_b + 1 represents the next data index of the data index Index_b.

[0011] Optionally, in the method as described above, the first starting position range includes a first starting position and a first deviation; the first deviation is the length of the Fourier transform used when performing a Fourier transform on the target signal to generate a time-frequency spectrum; the first starting position is the signal starting position determined according to the signal power change in the time-frequency spectrum.

[0012] In a second aspect, the present application provides a device for determining a signal starting position, including: A data acquisition module, configured to acquire a first starting position range of a target signal; A first positioning module, configured to determine a second starting position range based on the first signal corresponding to the first starting position range by calculating the spectral entropy sequence corresponding to the first signal and performing spectral entropy difference calculation on the spectral entropy sequence; A second positioning module, configured to determine a target starting position based on the second signal corresponding to the second starting position range by calculating the absolute value sequence corresponding to the second signal and performing absolute value difference calculation on the absolute value sequence; the absolute value sequence includes the absolute values of each data point in the second signal.

[0013] In a third aspect, the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method for determining a signal starting position according to any one of the above embodiments.

[0014] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the method for determining a signal starting position according to any one of the above embodiments.

[0015] Compared with the prior art, the present application has the following beneficial effects: The method of the present application, after obtaining the first starting position range of the preliminarily located target signal, based on the first signal corresponding to the first starting position range, calculates the spectral entropy sequence corresponding to the first signal and performs spectral entropy difference calculation on the spectral entropy sequence, and then determines the second starting position range based on the change in the frequency characteristics of the captured signal, so as to realize the reduction of the starting position range; then, based on the second signal corresponding to the second starting position range, calculates the absolute value sequence corresponding to the second signal and performs absolute value difference calculation on the absolute value sequence, and then can accurately determine the target starting position through the sudden change in the signal amplitude; the absolute value sequence includes the absolute value of each data point in the second signal, thereby improving the accuracy of determining the starting position of the signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0017] Figure 1 It is a schematic flowchart of a method for determining the starting position of a signal provided by an embodiment of the present application; Figure 2 It is a schematic structural diagram of a device for determining the starting position of a signal provided by an embodiment of the present application; Figure 3 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0018] In order to make the objectives, technical solutions, and advantages of the present application more clear, the following further describes the present application in detail with reference to specific embodiments and the accompanying drawings. It should be noted that the embodiments described in the embodiments of the present application are only a part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts belong to the scope of protection of the present application.

[0019] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of this application should have the ordinary meanings understood by those of ordinary skill in the field to which this application belongs. The "first", "second" and similar terms used in the embodiments of this application do not indicate any order, quantity or importance, but are only used to distinguish different components. Words such as "including" or "comprising" mean that the elements or objects appearing before this word cover the elements or objects listed after this word and their equivalents, without excluding other elements or objects. Words such as "connected" or "linked" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right", etc. are only used to represent relative position relationships. When the absolute position of the object being described changes, the relative position relationship may also change accordingly.

[0020] As described above, the current process for determining the starting position of a signal is as follows: First, the captured signal is transformed from the time domain to the frequency domain through FFT to obtain a time-frequency diagram; then, by observing the time-frequency diagram, the starting position of the signal is estimated based on the change in the power value on the time-frequency diagram.

[0021] FFT is a fast algorithm for discrete Fourier transform, which discretizes the continuous time-domain signal and then transforms it to the frequency domain. During the discretization process, the signal is sampled, and the sampling interval is fixed, which makes the transformed time-frequency diagram discrete. The starting position of the signal can only be represented by discrete sampling points on the discrete time-frequency diagram, and the actual starting position of the signal may be between two sampling points. Therefore, when estimating the starting position of the signal based on the change in the power value on the discrete time-frequency diagram, there will be a certain error, and since the FFT length determines the sampling interval and the resolution of the time-frequency diagram, the size of the error is related to the length of the FFT.

[0022] After research, this application proposes a method, device, equipment and storage medium for determining the starting position of a signal to improve the accuracy of determining the starting position of the signal.

[0023] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0024] See Figure 1 , which is a schematic flowchart of a method for determining the starting position of a signal provided by an embodiment of this application. As Figure 1As shown in the figure, the method includes: S101: Obtain the first starting position range of the target signal.

[0025] In this embodiment, the first starting position range of the target signal is a rough estimate of the signal initial position of the target signal by the user using the prior art. For example, based on a preset amplitude threshold, when the amplitude of the target signal exceeds the threshold, this position is marked as a possible starting position, and a preset error is combined as the first starting position range. Taking an audio signal as an example, when the volume (amplitude) of the audio suddenly increases and exceeds the set threshold, it is considered that the audio signal starts to appear.

[0026] As an implementable manner, the first starting position range includes a first starting position and a first deviation; the first deviation is the length of the Fourier transform used when performing a Fourier transform on the target signal to generate a time-frequency spectrum; the first starting position is the signal starting position determined according to the signal power change in the time-frequency spectrum.

[0027] In this embodiment, the first starting position range of the target signal can be expressed as [first starting position - first deviation, first starting position + first deviation]; wherein, the obtaining method of the first starting position is: after preprocessing the target signal, the target signal is converted from the time domain to the frequency domain through FFT, and then the time-frequency spectrum of the target signal is obtained; wherein, the horizontal axis in the time-frequency spectrum represents time, the vertical axis represents frequency, and then the first starting position is located from the power value change in the time-frequency spectrum of the target signal. Since the time-frequency spectrum of the target signal is obtained through Fourier transform, furthermore, there will be a first deviation of the FFT length between the located first starting position and the actual first starting position.

[0028] In this embodiment, by performing a Fourier transform on the target signal to generate a time-frequency spectrum, the time-frequency spectrum can clearly display the characteristics of the signal in two dimensions of time and frequency. Then, determining the first starting position according to the signal power change in the time-frequency spectrum can make full use of the time-frequency characteristics of the signal, compared with analyzing and determining the first starting position only from a single dimension of the time domain or the frequency domain; at the same time, taking the Fourier transform length as the first deviation can accurately correct the estimation of the first starting position range, so that the first starting position range can more accurately cover the true starting position of the signal, improve the accuracy of the first starting position range, and further improve the efficiency of judging the starting position of the target signal.

[0029] S102: Based on the first signal corresponding to the first starting position range, determine the second starting position range by calculating the spectral entropy sequence corresponding to the first signal and performing spectral entropy difference calculation on the spectral entropy sequence.

[0030] In this embodiment, according to the first starting position range determined by the initial rough accuracy, the signals within this range are extracted from the target signal as the first signal; by performing frame division on the first signal, with a preset appropriate sliding window length and frame shift, the first signal is divided into multiple non-overlapping or partially overlapping window frames; then, according to the spectrum corresponding to the signals within each window frame, the spectral entropy value corresponding to each window frame is calculated, and the spectral entropy values of all window frames are arranged in sequence to form a spectral entropy sequence. Then, by performing differential calculation on the spectral entropy sequence, the window frame corresponding to the maximum difference value in the spectral entropy sequence is determined from the spectral entropy sequence, and further the second starting position range is determined.

[0031] As an implementable manner, based on the first signal corresponding to the first starting position range, by calculating the spectral entropy sequence corresponding to the first signal and performing spectral entropy difference calculation on the spectral entropy sequence, the specific implementation steps for determining the second starting position range include: S1021: Based on the first starting position range, perform an interception process on the target signal to obtain the first signal corresponding to the first starting position range.

[0032] In this embodiment, based on the first starting position range [first starting position - first deviation, first starting position + first deviation], the first signal corresponding to this range is intercepted from the target signal, and the data length of the obtained first signal can be represented as L.

[0033] S1022: By sliding a preset sliding window, calculate the spectral entropy value corresponding to each window frame, and construct the spectral entropy sequence of the first signal.

[0034] In this embodiment, for example, the window frame length of the preset sliding window is represented as S, which can be set to L / 4; the frame shift of the sliding window is represented as D, which can be set to L / 8; then the number of sliding frames C of the sliding window can be represented by C = (L - S) / D + 1. By sliding the preset sliding window according to the frame shift of the sliding window, the first signal can be divided into C window frames, and the spectral entropy value corresponding to the signal in each of the C window frames is calculated. Then, the spectral entropy value corresponding to the signal in the k-th window frame can be represented by the following formula:

[0035] where k represents the k-th window frame, and the value range is 0 ≤ k ≤ C - 1 and k is an integer; S represents the window frame length of the preset sliding window; P(f k ) represents the probability distribution after normalizing the amplitude of the signal spectrum in the k-th window frame.

[0036] Specifically, the probability distribution P(f k ) corresponding to the k-th window frame can be represented by the following formula:

[0037] Among them, P(f i ´) is obtained by normalizing P(f i ), and the specific normalization formula is as follows:

[0038] Among them, P(f i ) represents the proportion of the power spectrum of the i-th frequency component in the total power spectrum, and i is an integer, which can be obtained by taking the power value after Fourier transform of the signal in the current sliding window.

[0039] S1023: Determine the window frame index corresponding to the maximum spectral entropy value from the spectral entropy sequence by performing a difference operation on the spectral entropy values in the spectral entropy sequence.

[0040] In this embodiment, by performing a difference operation on the spectral entropy value H(k) corresponding to each window frame in the spectral entropy sequence, the first-order spectral entropy difference value between two adjacent spectral entropy values is calculated, which can be expressed as ΔH = |H(k) - H(k - 1)|; then the maximum value is determined from the obtained multiple first-order spectral entropy difference values, and further the window frame corresponding to the maximum value is determined, and its window frame index can be expressed as Index_a.

[0041] S1024: Determine the second starting position range based on the window frame index and the window parameters corresponding to the preset sliding window.

[0042] In this embodiment, the window frame index Index_a can be used as the second starting position, and the second deviation is determined according to the window parameters corresponding to the preset sliding window, and then the second starting position range can be expressed as [second starting position - second deviation, second starting position + second deviation].

[0043] In this embodiment, based on the first starting position range, the target signal is intercepted to obtain the first signal corresponding to the first starting position range; by sliding the preset sliding window, the spectral entropy value corresponding to each window frame is calculated, and the spectral entropy sequence of the first signal is constructed; by performing a difference operation on the spectral entropy values in the spectral entropy sequence, the window frame index corresponding to the maximum spectral entropy value is determined from the spectral entropy sequence; based on the window frame index and the window parameters corresponding to the preset sliding window, the second starting position range is determined. By taking the position of the maximum difference value in the difference sequence of the spectral entropy as the signal starting point and combining with the sliding window length, the signal starting range is obtained, which has adaptability to signals with different amplitudes and improves the signal processing efficiency.

[0044] Further, as an implementable manner, a specific implementation of "determining the second starting position range based on the window frame index and the window parameters corresponding to the preset sliding window" in S1024 may include: Determine a second starting position Y2 according to the window frame index Index_a, the first starting position Y1 in the first starting position range, and the window frame length S in the window parameters; the second starting position Y2 is represented by the formula: Y2 = Y1+(Index_a + 1)*S; In the formula, Index_a + 1 represents the next window frame index of the window frame index Index_a; The second starting position range includes the second starting position and the second deviation; the second deviation is the window shift D in the window parameters.

[0045] In this embodiment, the first starting position Y1 is a roughly determined signal starting region through preliminary analysis, providing a basic reference for subsequent positioning. At the same time, the window frame index Index_a reflects a more accurate signal starting position located by the spectral entropy difference method. Through the correction of the window frame length S, the error accumulation can be reduced, and the determination of the signal starting position can be further refined on the basis of the first starting position, improving the accuracy of judging the signal starting position.

[0046] S103: Based on the second signal corresponding to the second starting position range, determine the target starting position by calculating the absolute value sequence corresponding to the second signal and performing absolute value difference calculation on the absolute value sequence; the absolute value sequence includes the absolute values of each data point in the second signal.

[0047] In this embodiment, according to the determined second starting position range, the signal within this range is extracted from the first signal as the second signal; by calculating the absolute value of each data point in the second signal and arranging the absolute values of all data points in sequence, an absolute value sequence is formed. Then, by performing difference calculation on the absolute value sequence, the data point corresponding to the maximum difference value in the absolute value sequence is determined, and thus the target starting position is determined.

[0048] As an implementable manner, the specific steps of determining the target starting position by calculating the absolute value sequence corresponding to the second signal based on the second signal corresponding to the second starting position range and performing absolute value difference calculation on the absolute value sequence include: S1031: Based on the second starting position range, perform an intercepting process on the first signal to obtain the second signal corresponding to the second starting position range.

[0049] In this embodiment, based on the second starting position range [second starting position - second deviation, second starting position + second deviation], the second signal corresponding to this range is intercepted from the first signal to obtain the second signal.

[0050] S1032: Calculate the absolute value for each data point in the second signal to construct an absolute value sequence corresponding to the second signal.

[0051] In this embodiment, M data points are intercepted from the second signal, and the absolute value is calculated for each of the M data points. Then, the absolute value corresponding to the m-th data point can be expressed as x(m), where m ≤ M and m is an integer. Furthermore, the absolute values of all data points are arranged in sequence to construct an absolute value sequence corresponding to the second signal.

[0052] S1033: Perform a difference operation on the absolute value sequence to determine the data index corresponding to the maximum difference value from the absolute value sequence.

[0053] In this embodiment, by performing a difference operation on the absolute value x(m) corresponding to each data point in the absolute value sequence, the first-order difference value between the absolute values of two adjacent data points is calculated, which can be expressed as Δx = |x(m) - x(m - 1)|. Then, the maximum value is determined from the obtained multiple first-order difference values, and further, the data point corresponding to the maximum value is determined, and its data index can be expressed as Index_b.

[0054] S1034: Based on the second starting position in the second starting position range and the data index, determine the target starting position.

[0055] As an implementable method, the specific steps for determining the target starting position based on the second starting position in the second starting position range and the data index may include: Based on the second starting position Y2 in the second starting position range and the data index Index_b, determine the target starting position Y3, and the target starting position Y3 is represented by the formula: Y3 = Y2 + Index_b + 1; In the formula, Index_b + 1 represents the next data index of the data index Index_b.

[0056] In this embodiment, the second starting position Y2 is the signal starting area after being shrunk, providing a basic reference for subsequent positioning. At the same time, the data index Index_b reflects a more accurate signal starting position located by the time-domain difference method, improving the accuracy of judging the signal starting position.

[0057] In this embodiment, based on the second starting position range, the first signal is intercepted to obtain a second signal corresponding to the second starting position range; the absolute value of each data point in the second signal is calculated to eliminate the influence of the positive and negative values of the signal, and an absolute value sequence corresponding to the second signal is constructed; a difference operation is performed on the absolute value sequence to highlight the change in the signal amplitude, and then the data index corresponding to the maximum difference value is determined from the absolute value sequence. Based on the second starting position and the data index in the second starting position range, the target starting position is determined, improving the accuracy of signal starting position detection and enhancing the adaptability of signal processing at the same time.

[0058] In this embodiment, after obtaining the first starting position range of the preliminarily located target signal, based on the first signal corresponding to the first starting position range, the spectral entropy sequence corresponding to the first signal is calculated and the spectral entropy difference calculation is performed on the spectral entropy sequence. Then, based on capturing the change in the frequency characteristics of the signal, the second starting position range is determined to achieve the reduction of the starting position range; based on the second signal corresponding to the second starting position range, the absolute value sequence corresponding to the second signal is calculated and the absolute value difference calculation is performed on the absolute value sequence. Then, the target starting position can be accurately determined by the sudden change in the signal amplitude; the absolute value sequence includes the absolute value of each data point in the second signal, thereby improving the accuracy of signal starting position judgment.

[0059] Further, to further improve the accuracy of the starting position positioning of the target signal, the determination process of the second starting position range can be iteratively executed, and the second deviation is reduced to the current window frame shift each time until the preset convergence condition is met.

[0060] In this embodiment, for example, in the nth iteration process, n is a positive integer, the current window frame index Index_an is determined by executing step S102, and then according to the nth starting position Y n and the window frame length S of the current sliding window n , the (n + 1)th starting position Y n+1 = Y n +(Index_an + 1)*S n is determined; the corresponding nth deviation is the frame shift D of the current sliding window n . When the number of iterations reaches the preset maximum number of iterations N, the iteration stops.

[0061] Furthermore, the Nth starting position and the Nth deviation obtained after N iterations are used as the second starting position and the second deviation. Based on the second signal corresponding to the second starting position range, the absolute value sequence corresponding to the second signal is calculated and the absolute value difference calculation is performed on the absolute value sequence to determine the target starting position.

[0062] In this embodiment, by iteratively executing step S102, the second deviation is reduced to the current window frame shift each time an iteration is performed until a preset convergence condition is met, which can continuously narrow the determined second starting position range, gradually approach the true starting point of the signal, and improve the accuracy of the signal starting position by trimming the previous deviation in each iteration.

[0063] See Figure 2 , which is a schematic structural diagram of a device for determining the starting position of a signal provided in an embodiment of the present application. As Figure 2 shown, the device 20 includes a data acquisition module 21, a first positioning module 22, and a second positioning module 23.

[0064] Among them, the data acquisition module 21 is used to obtain the first starting position range of the target signal; the first positioning module 22 is used to determine the second starting position range by calculating the spectral entropy sequence corresponding to the first signal and performing spectral entropy difference calculation on the spectral entropy sequence based on the first signal corresponding to the first starting position range; the second positioning module 23 is used to determine the target starting position by calculating the absolute value sequence corresponding to the second signal and performing absolute value difference calculation on the absolute value sequence based on the second signal corresponding to the second starting position range; the absolute value sequence includes the absolute values of each data point in the second signal.

[0065] The device for determining the starting position of a signal provided in an embodiment of the present application can execute the technical solutions shown in the above method embodiments, and its implementation principle and beneficial effects are similar, so details are not described here again.

[0066] Further, on the basis of the above embodiment, the first positioning module 22 is specifically configured to intercept the target signal based on the first starting position range to obtain the first signal corresponding to the first starting position range; calculate the spectral entropy value corresponding to each window frame by sliding a preset sliding window, and construct the spectral entropy sequence of the first signal; determine the window frame index corresponding to the maximum spectral entropy value from the spectral entropy sequence by performing difference operation on the spectral entropy values in the spectral entropy sequence; and determine the second starting position range based on the window frame index and the window parameters corresponding to the preset sliding window.

[0067] The device for determining the starting position of a signal provided in an embodiment of the present application can execute the technical solutions shown in the above method embodiments, and its implementation principle and beneficial effects are similar, so details are not described here again.

[0068] Further, on the basis of the above embodiments, when determining the second starting position range based on the window frame index and the window parameters corresponding to the preset sliding window, the first positioning module 22 is specifically configured to determine the second starting position Y2 according to the window frame index Index_a, the first starting position Y1 in the first starting position range, and the window frame length S in the window parameters; the second starting position Y2 is represented by the formula: Y2 = Y1+(Index_a + 1)*S In the formula, Index_a + 1 represents the next window frame index of the window frame index Index_a; the second starting position range includes the second starting position and the second deviation; the second deviation is the window frame shift in the window parameters.

[0069] The signal starting position determination device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and its implementation principle and beneficial effects are similar, which will not be elaborated here.

[0070] Further, on the basis of the above embodiments, the determination process of the second starting position range in the first positioning module 22 can be iteratively executed, and the second deviation is reduced to the current window frame shift each time until the preset convergence condition is met.

[0071] The signal starting position determination device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and its implementation principle and beneficial effects are similar, which will not be elaborated here.

[0072] Further, on the basis of the above embodiments, the second positioning module 23 is specifically configured to intercept the first signal based on the second starting position range to obtain a second signal corresponding to the second starting position range; calculate the absolute value of each data point in the second signal to construct an absolute value sequence corresponding to the second signal; perform a difference operation on the absolute value sequence to determine the data index corresponding to the maximum difference value from the absolute value sequence; and determine the target starting position based on the second starting position in the second starting position range and the data index.

[0073] The signal starting position determination device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and its implementation principle and beneficial effects are similar, which will not be elaborated here.

[0074] Further, on the basis of the above embodiments, when determining the target starting position based on the second starting position in the second starting position range and the data index, the second positioning module 23 is specifically configured to determine the target starting position Y3 based on the second starting position Y2 in the second starting position range and the data index Index_b, and the target starting position Y3 is represented by the formula: Y3 = Y2 + Index_b + 1 In the formula, Index_b + 1 represents the next data index of the data index Index_b.

[0075] The signal start position determination device provided by the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, so details are not described herein again.

[0076] Further, on the basis of the above embodiment, the first start position range in the data acquisition module 21 includes a first start position and a first deviation; the first deviation is the Fourier transform length used for performing Fourier transform on the target signal to generate a time-frequency spectrum; the first start position is the signal start position determined according to the signal power change in the time-frequency spectrum.

[0077] The signal start position determination device provided by the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, so details are not described herein again.

[0078] See Figure 3 , which is a schematic structural diagram of an electronic device provided by the embodiment of the present application, including: A memory 11 for storing a computer program; A processor 12 for implementing the steps of determining a signal start position as described in any of the above method embodiments when executing the computer program.

[0079] In this embodiment, the device can be an in-vehicle computer, a PC (Personal Computer), or a terminal device such as a smart phone, a tablet computer, a handheld computer, or a portable computer.

[0080] The device may include a memory 11, a processor 12, and a bus 13.

[0081] Among them, the memory 11 at least includes one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, magnetic disk, optical disc, etc. The memory 11 can be an internal storage unit of the device in some embodiments, such as the hard disk of the device. The memory 11 can also be an external storage device of the device in some other embodiments, such as a plug-in hard disk equipped on the device, a SmartMedia Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory 11 can also include both the internal storage unit and the external storage device of the device. The memory 11 can be used not only to store application software installed on the device and various types of data, such as program codes for executing the method for determining the start position of a signal, etc., but also to temporarily store data that has been output or will be output. The processor 12 can be a Central Processing Unit (CPU) in some embodiments.

[0082] The processor 12 can be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments, and is used to run the program codes stored in the memory 11 or process data, such as program codes for executing the method for determining the start position of a signal, etc.

[0083] The bus 13 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 3 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.

[0084] Further, the device can also include a network interface 14, and the network interface 14 can optionally include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), and is generally used to establish a communication connection between the device and other electronic devices.

[0085] Optionally, the device may further include a user interface 15, which may include a display, an input unit such as a keyboard, and optionally, the user interface 15 may further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display the information processed in the device and to display a visual user interface.

[0086] Figure 3 Only the device with components 11 - 15 is shown. Those skilled in the art can understand that Figure 3 the shown structure does not constitute a limitation on the device, and it may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0087] Based on the same inventive concept, corresponding to the method of any of the above embodiments, an embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions for causing the computer to execute the method for determining the signal start position as described in any of the above embodiments.

[0088] The computer-readable medium of the embodiments of the present application includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information may be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information accessible by a computing device.

[0089] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the method for determining the signal start position as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0090] It should be noted that the various embodiments in this specification are described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other, and the key point of each embodiment is to illustrate the differences from other embodiments. In particular, for the method, device, electronic device, and medium, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The method, device, electronic device, and medium described above are only illustrative. The units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0091] As described above, this is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for determining the starting position of a signal, characterized in that Including: Obtaining a first starting position range of a target signal; Based on a first signal corresponding to the first starting position range, by calculating a spectral entropy sequence corresponding to the first signal and performing spectral entropy difference calculation on the spectral entropy sequence, determining a second starting position range; Based on a second signal corresponding to the second starting position range, by calculating an absolute value sequence corresponding to the second signal and performing absolute value difference calculation on the absolute value sequence, determining a target starting position; the absolute value sequence includes absolute values of each data point in the second signal.

2. The method according to claim 1, characterized in that The step of, based on a first signal corresponding to the first starting position range, by calculating a spectral entropy sequence corresponding to the first signal and performing spectral entropy difference calculation on the spectral entropy sequence, determining a second starting position range, includes: Based on the first starting position range, performing an intercepting process on the target signal to obtain a first signal corresponding to the first starting position range; By sliding a preset sliding window, calculating a spectral entropy value corresponding to each window frame, and constructing a spectral entropy sequence of the first signal; By performing a difference operation on the spectral entropy values in the spectral entropy sequence, determining a window frame index corresponding to the maximum spectral entropy value from the spectral entropy sequence; Based on the window frame index and window parameters corresponding to the preset sliding window, determining a second starting position range.

3. The method according to claim 2, wherein The step of, based on the window frame index and window parameters corresponding to the preset sliding window, determining a second starting position range, includes: According to the window frame index Index_a, a first starting position Y1 in the first starting position range, and a window frame length S in the window parameters, determining a second starting position Y2; the second starting position Y2 is represented by the formula: Y2 = Y1+(Index_a + 1)*S; In the formula, Index_a + 1 represents the next window frame index of the window frame index Index_a; The second starting position range includes the second starting position and a second deviation; the second deviation is a window frame shift in the window parameters.

4. The method according to claim 3, wherein The determination process of the second starting position range can be iteratively executed, and each iteration reduces the second deviation to the current window frame shift until a preset convergence condition is met.

5. The method according to any one of claims 1-4, characterized in that, The step of, based on a second signal corresponding to the second starting position range, by calculating an absolute value sequence corresponding to the second signal and performing absolute value difference calculation on the absolute value sequence, determining a target starting position, includes: Based on the second starting position range, performing an intercepting process on the first signal to obtain a second signal corresponding to the second starting position range; Performing an absolute value calculation on each data point in the second signal to construct an absolute value sequence corresponding to the second signal; Performing a difference operation on the absolute value sequence, and determining a data index corresponding to the maximum difference value from the absolute value sequence; Based on the second starting position in the second starting position range and the data index, determining a target starting position.

6. The method according to claim 5, wherein The step of, based on the second starting position in the second starting position range and the data index, determining a target starting position, includes: Based on the second starting position Y2 in the second starting position range and the data index Index_b, determine the target starting position Y3, which is represented by the formula: Y3 = Y2 + Index_b + 1; In the formula, Index_b + 1 represents the next data index of the data index Index_b.

7. The method according to claim 1, wherein The first starting position range includes a first starting position and a first deviation; the first deviation is the length of the Fourier transform used when performing a Fourier transform on the target signal to generate a time-frequency spectrum; the first starting position is the signal starting position determined according to the signal power change in the time-frequency spectrum.

8. A device for determining the starting position of a signal, characterized in that Comprising: A data acquisition module, configured to acquire a first starting position range of a target signal; A first positioning module, configured to, based on the first signal corresponding to the first starting position range, determine a second starting position range by calculating a spectral entropy sequence corresponding to the first signal and performing spectral entropy difference calculation on the spectral entropy sequence; A second positioning module, configured to, based on the second signal corresponding to the second starting position range, determine a target starting position by calculating an absolute value sequence corresponding to the second signal and performing absolute value difference calculation on the absolute value sequence; the absolute value sequence includes the absolute value of each data point in the second signal.

9. An electronic device, characterized in that, The device includes: a processor, and a memory communicatively connected to the processor; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, Computer execution instructions are stored in the computer-readable storage medium, and when the computer execution instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for determining initial position of OFDM code element

    CN101656701A

  • Speech endpoint detecting method and device

    CN102097095A

  • Digital signal existence detecting method based on signal energy entropy ratio

    CN109412763A

  • Sky integrated big data flood prevention early warning system based on unmanned aerial vehicle

    CN114842357A

  • Reverse analysis method and device for private network protocol format and state

    CN115883398A