A method and system for prosody perception calculation based on curvature sequence
By calculating the deviation and quantifying the index based on the 60-dimensional curvature sequence, the problem of the inability to quantify the rhythmic harmony of sequences in existing technologies is solved, and a simple and efficient sequence rhythm evaluation and cross-scenario adaptation are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 成罡
- Filing Date
- 2026-03-22
- Publication Date
- 2026-06-09
AI Technical Summary
Existing technologies cannot simplify and accurately quantify the prosodic harmony of sequence data. The calculation process is cumbersome and has limited adaptability, making it difficult to form a unified evaluation standard.
A method based on a fixed-dimensional (60-dimensional) curvature sequence is adopted. By presetting a reference curvature value (2π) and a total potential parameter (120/π), the deviation between the sequence data and the reference curvature is calculated to obtain the repulsion degree R, and then the compatibility degree P is calculated to quantify the rhythmic harmony of the sequence.
It achieves concise and efficient sequence prosody calculation, provides an intuitive compatibility P index, facilitates cross-scenario comparison, and is applicable to the prosody evaluation of various signals, solving the problems of cumbersome calculation and insufficient adaptability of existing technologies.
Abstract
Description
Technical Field
[0001] This invention relates to the fields of data processing and signal analysis technology, specifically to a prosody perception and calculation method and system based on a fixed-dimensional curvature sequence, which can be applied to scenarios such as signal quality assessment and data regularity judgment. Background Technology
[0002] In existing data processing and signal analysis fields, the evaluation of regularity and harmony of various sequence data often employs traditional signal filtering and feature extraction methods. These methods suffer from drawbacks such as the inability to quantify the rhythmic harmony of sequences, cumbersome calculation processes, and limited adaptability. Some methods rely on extensive experimental data calibration, resulting in low computational efficiency and difficulty in establishing unified evaluation standards, thus failing to meet the needs for simple, efficient, and accurate rhythm perception and calculation. Existing technologies such as Fourier transform and wavelet analysis focus on frequency domain feature extraction. While they can extract frequency features, they struggle to directly output intuitive, holistic indicators like "harmony." Therefore, a simplified and effective rhythm calculation scheme is urgently needed to address the shortcomings of existing technologies. Summary of the Invention
[0003] The purpose of this invention is to provide a prosodic perception and calculation method and system based on fixed-dimensional curvature sequences, which solves the problems of unquantifiable and cumbersome prosodic evaluation in the prior art, and realizes simple and accurate sequence prosodic calculation and evaluation.
[0004] To achieve the above objectives, the present invention adopts the following technical solution: A prosodic perception and computation method based on fixed-dimensional curvature sequences includes the following steps: 1. Data Acquisition: Acquire the sequence data to be processed. The sequence data is continuous or discrete signal data, which can be derived from various conventional detection signals. 2. Sequence discretization processing: The acquired sequence data is discretized into a curvature sequence of fixed dimensions, wherein the fixed dimension is set to 60 dimensions. The 60-dimensional curvature sequence is normalized to ensure that the data of each dimension are at a uniform magnitude. 3. Reference curvature setting: The preset reference curvature value is 2π. A reference curvature sequence is constructed. The dimension of the reference curvature sequence is consistent with the dimension of the curvature sequence after discretization in step 2. 4. Deviation Calculation: The normalized 60-dimensional curvature sequence is compared point by point with the reference curvature sequence to calculate the absolute deviation of each corresponding point; in the weighted summation, the weights of each point can be equal (e.g., all are 1) or customized according to the application scenario.
[0005] 5. Prosody index calculation: The repulsion degree R is obtained by weighted summation of all point-by-point absolute deviations; the total potential parameter is preset to 120 / π. Based on the repulsion degree R and the total potential parameter, the compatibility degree P is calculated. The compatibility degree calculation formula is P=1-R / Ψ_total (where Ψ_total is the total potential parameter 120 / π). 6. Output Results: Based on the compatibility value P, output the prosodic evaluation results of the sequence data. The higher the compatibility value P, the more harmonious the sequence prosodic.
[0006] The present invention also provides a prosody perception and calculation system based on a fixed-dimensional curvature sequence, comprising: Data acquisition module: used to acquire sequence data to be processed; Discretization module: used to discretize the sequence data into a 60-dimensional curvature sequence and perform normalization processing; Reference setting module: used to preset the reference curvature value (2π) and the total potential parameter (120 / π) to construct the reference curvature sequence; Calculation module: used to calculate the point-by-point absolute deviation between the 60-dimensional curvature sequence and the reference curvature sequence, and obtain the repulsion degree R by weighted summation, and then calculate the compatibility degree P; Output module: Used to output prosodic evaluation results based on compatibility P.
[0007] The beneficial effects of this invention are as follows: It uses a fixed 60-dimensional curvature sequence as the core processing object, combined with preset benchmark curvature and total potential parameters, and achieves accurate evaluation of sequence prosody through simple deviation calculation and index quantification. The calculation process is concise and efficient, requiring no large amount of experimental data for calibration. The quantitative index of compatibility P can intuitively reflect the harmony of sequence prosody, adapting to various prosody evaluation scenarios for conventional signals. It solves the shortcomings of existing technologies that cannot quantify prosody and are computationally cumbersome, making it highly practical. The compatibility P output by this method is a dimensionless index, facilitating cross-scenario comparison. Detailed Implementation
[0008] The present invention will be further described in detail below with reference to specific embodiments. These embodiments are only used to explain the present invention and do not limit the scope of protection of the present invention.
[0009] In this embodiment, taking a conventional detection signal as an example, the specific implementation steps are as follows: 1. Data Acquisition: Acquire a continuous detection signal to be evaluated, with a signal length within any reasonable range, ensuring data integrity; 2. Sequence discretization processing: The continuous detection signal is discretized into 60 data points using a conventional discretization algorithm, forming a 60-dimensional curvature sequence. The linear normalization method is then used to normalize each data point in the 60-dimensional curvature sequence to the 0-1 interval, thus completing the normalization processing. 3. Reference curvature setting: The preset reference curvature value is 2π (approximately 6.283), and a 60-dimensional reference curvature sequence is constructed, in which the value of each data point is 2π; 4. Deviation Calculation: The normalized 60-dimensional curvature sequence is compared point by point with the 60-dimensional reference curvature sequence, and the absolute deviation of each corresponding point is calculated as |current curvature value - 2π|. 5. Prosody index calculation: The repulsion degree R is obtained by weighted summation of 60 point-by-point absolute deviations (each deviation weight is set to 1 to simplify the calculation); the total potential parameter Ψ_total=120 / π (approximately 38.197) is preset, and the compatibility degree P is calculated according to the formula P=1-R / Ψ_total. 6. Result Output: In this embodiment, the signal to be evaluated is a simulated electrocardiogram (ECG) signal. If R = 5.729 is calculated, substituting it into the formula yields P = 1 - 5.729 / 38.197 ≈ 0.85. Since the P value is close to 1, the simulated ECG signal is judged to have a high rhythmic harmony (good rhythm). If R = 19.099, then P = 1 - 19.099 / 38.197 ≈ 0.5, indicating that the simulated ECG signal has a medium rhythmic harmony. If R = 34.377, then P = 1 - 34.377 / 38.197 ≈ 0.1, indicating that the simulated ECG signal has a low rhythmic harmony (bad rhythm), thus forming a complete rhythmic level comparison.
[0010] In this embodiment, the weight setting and signal source can be adjusted according to the actual application scenario, without affecting the core implementation logic of the present invention; the discretization method and normalization method can adopt conventional technical means in the field, without additional improvement, only need to ensure that the construction and calculation logic of the 60-dimensional curvature sequence conforms to the steps described in the present invention.
Claims
1. A method for prosodic perception and calculation based on fixed-dimensional curvature sequences, characterized in that, Includes the following steps: (1) Obtain the sequence data to be processed; (2) Discretize the sequence data into a 60-dimensional curvature sequence and normalize the 60-dimensional curvature sequence; (3) The preset reference curvature value is 2π, and a reference curvature sequence with the same dimensions as the 60-dimensional curvature sequence is constructed; (4) Calculate the absolute deviation of each corresponding point between the 60-dimensional curvature sequence and the reference curvature sequence, and sum all the absolute deviations by weight to obtain the repulsion degree R, where the weights of each point are the same or determined according to the preset rules. (5) Preset the total potential parameter Ψ_total=120 / π, and calculate the compatibility P according to the formula P=1-R / Ψ_total; (6) Output the prosody evaluation results of the sequence data based on the compatibility P value.
2. The method according to claim 1, characterized in that, The sequence data mentioned in step (1) is either continuous or discrete detection signal data.
3. The method according to claim 1, characterized in that, The normalization process described in step (2) uses a linear normalization method to normalize each data point in the 60-dimensional curvature sequence to the 0-1 interval.
4. A prosody perception and computation system based on a fixed-dimensional curvature sequence, characterized in that, include: Data acquisition module: used to acquire sequence data to be processed; Discretization module: used to discretize the sequence data into a 60-dimensional curvature sequence and normalize the 60-dimensional curvature sequence; Reference setting module: used to preset the reference curvature value to 2π, the total potential parameter Ψ_total=120 / π, and to construct a 60-dimensional reference curvature sequence; The calculation module is used to calculate the absolute deviation of the 60-dimensional curvature sequence from the reference curvature sequence at each corresponding point, to obtain the repulsion degree R by weighted summation of all absolute deviations, and to calculate the compatibility degree P according to the formula P=1-R / Ψ_total. Output module: Used to output the prosodic evaluation results of sequence data based on the compatibility value P.
5. The system according to claim 4, characterized in that, The discretization module employs a discretization algorithm known in the art, and the normalization process employs a linear normalization method.