Data processing method and apparatus, and electronic device
By acquiring performance and historical data of satellite links and dynamically adjusting voice coding parameters, the problems of unstable communication quality and low resource utilization efficiency in satellite voice communication have been solved, achieving stable transmission and efficient utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA AUTOMOTIVE INNOVATION CORP
- Filing Date
- 2026-03-25
- Publication Date
- 2026-06-19
Smart Images

Figure CN122247484A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of satellite communication technology, and in particular to a data processing method, apparatus and electronic device. Background Technology
[0002] Current satellite voice communication refers to the technology that uses artificial Earth satellites as relay stations to achieve real-time voice communication between two or more users. It relies on satellite links to relay voice signals between terminals. Current satellite voice communication systems generally use fixed-frame-length voice coding schemes to encode the voice information to be transmitted. For example, a 30ms frame length is used in high compression ratio scenarios, while standard voice codecs often use a 20ms frame length. However, this type of fixed-frame-length coding scheme cannot adapt to the time-varying transmission characteristics of satellite links, making it difficult to dynamically adjust the coding parameters for the voice information to be transmitted to match link quality. This leads to problems such as inefficient bandwidth utilization, insufficient transmission reliability, and fluctuating voice experience, resulting in unstable communication quality, low resource utilization efficiency, and a poor user experience. Summary of the Invention
[0003] This disclosure provides a data processing method, apparatus, and electronic device to at least solve problems such as unstable communication quality, low resource utilization efficiency, and poor user experience in the related art.
[0004] According to a first aspect of the present disclosure, a data processing method is provided, comprising: The current performance data of the target satellite link under multiple performance indicators, the historical performance data of the target satellite link under multiple performance indicators, the historical link quality index of the target satellite link, and the current frame length of the current voice information are obtained, wherein the current voice information is the first voice information to be transmitted on the target satellite link. Based on the current performance data and the multiple historical performance data, the current link quality index of the target satellite link is determined; Based on the multiple historical link quality indices, a link quality trend index for the target satellite link is determined, and the link quality trend index characterizes the quality change trend of the target satellite link. Based on the current frame length, the current link quality index, and the link quality trend index, determine the speech coding parameters corresponding to the current speech information; The current voice information is encoded based on the voice encoding parameters to obtain the second voice information to be transmitted corresponding to the target satellite link.
[0005] According to a second aspect of the present disclosure, a data processing apparatus is provided, comprising: The data acquisition module is used to acquire the current performance data of the target satellite link under multiple performance indicators, the multiple historical performance data of the target satellite link under the multiple performance indicators, the multiple historical link quality indices of the target satellite link, and the current frame length of the current voice information, wherein the current voice information is the first voice information to be transmitted on the target satellite link. The current link quality index determination module is used to determine the current link quality index of the target satellite link based on the current performance data and the multiple historical performance data. The link quality trend index determination module is used to determine the link quality trend index of the target satellite link based on the multiple historical link quality indices, wherein the link quality trend index characterizes the quality change trend of the target satellite link; The speech coding parameter determination module is used to determine the speech coding parameters corresponding to the current speech information based on the current frame length, the current link quality index, and the link quality trend index. The encoding processing module is used to encode the current voice information based on the voice encoding parameters to obtain the second voice information to be transmitted corresponding to the target satellite link.
[0006] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method as described in any one of the first aspects above.
[0007] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided such that, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method described in any of the first aspects of the present disclosure.
[0008] According to a fifth aspect of the present disclosure, a computer program product including instructions is provided that, when run on a computer, causes the computer to perform the method described in any of the first aspects of the present disclosure.
[0009] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects: By acquiring the current performance data, historical performance data, and historical link quality index of the target satellite link, as well as the current frame length of the current voice information, the current link quality index and link quality trend index of the target satellite link are determined based on this information, thereby dynamically reflecting the real-time status and changing trend of the target satellite link. Then, by combining the current frame length, current link quality index, and link quality trend index, the voice coding parameters of the current voice information are adaptively adjusted to achieve dynamic adaptation of the voice coding parameters to the target satellite link status. Finally, the current voice information is encoded based on the voice coding parameters to obtain the second voice information to be transmitted corresponding to the target satellite link, improving the transmission adaptability and coding rationality of the voice information to be transmitted on the target satellite link, and realizing stable transmission and efficient resource utilization of voice information under time-varying satellite link conditions.
[0010] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0011] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0012] Figure 1 This is a flowchart illustrating a data processing method according to an exemplary embodiment; Figure 2 This is a schematic diagram illustrating a process for determining the current link quality index of a target satellite link based on current performance data and multiple historical performance data, according to an exemplary embodiment. Figure 3 This is a schematic diagram illustrating a process for determining the target confidence level of each current performance data point based on current performance data and multiple historical performance data points, according to an exemplary embodiment. Figure 4 This is a schematic diagram illustrating another process for determining the target confidence level of each current performance data point based on current performance data and multiple historical performance data points, according to an exemplary embodiment. Figure 5 This is a schematic diagram illustrating a process for determining the current stability coefficient and current change consistency coefficient of each current performance data based on current performance data and multiple historical performance data, according to an exemplary embodiment. Figure 6 This is a flowchart illustrating a process for determining the speech coding parameters corresponding to the current speech information based on the current frame length, the current link quality index, and the link quality trend index, according to an exemplary embodiment. Figure 7This is a schematic diagram illustrating a process for determining the target frame length and target bit rate based on the current frame length, the target frame length adjustment threshold, and the frame length difference, according to an exemplary embodiment. Figure 8 This is a block diagram of a data processing apparatus according to an exemplary embodiment; Figure 9 This is a block diagram illustrating an electronic device for data processing according to an exemplary embodiment. Detailed Implementation
[0013] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0014] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar different contents and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0015] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0016] Figure 1 This is a flowchart illustrating a data processing method according to an exemplary embodiment, which is applied in electronic devices such as servers. Figure 1 As shown, it includes the following steps: In step S101, the current performance data of the target satellite link under multiple performance indicators, the multiple historical performance data of the target satellite link under multiple performance indicators, the multiple historical link quality indices of the target satellite link, and the current frame length of the current voice information are obtained.
[0017] In one specific embodiment, the current voice information is the first voice information to be transmitted on the target satellite link.
[0018] In one specific embodiment, the target satellite link is the satellite communication connection path currently engaged in voice communication. Multiple performance metrics are used to quantify and analyze the transmission quality of the target satellite link. For example, these metrics may include at least two of the following: bit error rate, signal-to-noise ratio, received signal strength, packet loss rate, transmission delay, and jitter. Multiple historical performance data points represent the performance data of the target satellite link under each of the aforementioned performance metrics prior to the current time. Each of the multiple historical link quality indices characterizes the transmission quality of the target satellite link at its corresponding historical moment.
[0019] In step S103, the current link quality index of the target satellite link is determined based on the current performance data and multiple historical performance data.
[0020] In one specific embodiment, the current link quality index characterizes the transmission quality of the target satellite link at the current moment.
[0021] In a specific embodiment, such as Figure 2 As shown, the current link quality index of the target satellite link, determined based on current performance data and multiple historical performance data, includes: In step S201, the target confidence level corresponding to each of the current performance data is determined based on the current performance data and multiple historical performance data.
[0022] In one specific embodiment, the target confidence level is used to quantify the reliability of each performance metric corresponding to the current performance data at the current moment.
[0023] In step S203, the current link quality index is determined based on the current performance data, the corresponding target confidence level, and the corresponding preset weight.
[0024] In a specific embodiment, determining the current link quality index based on current performance data, corresponding target confidence level, and corresponding preset weight may include: first, normalizing the current performance data to obtain normalized current performance data; then, multiplying the preset weight of each current performance data with the corresponding target confidence level, and using the product as the target weight of the normalized current performance data; then, performing a weighted summation of the corresponding normalized current performance data based on the target weight, and finally generating the current link quality index of the target satellite link.
[0025] In one specific embodiment, the value of each normalized current performance data is proportional to the link quality under the corresponding performance metric.
[0026] For example, when multiple performance indicators include bit error rate, signal-to-noise ratio, received signal strength, packet loss rate, transmission delay, and jitter, bit error rate, packet loss rate, transmission delay, and jitter are negative indicators, meaning that the smaller the value, the better the link quality of the target satellite link; while signal-to-noise ratio and received signal strength are positive indicators, meaning that the larger the value, the better the link quality of the target satellite link.
[0027] Specifically, the normalization method for the performance data corresponding to the bit error rate is as follows: the bit error rate value is restricted to the range of [0, 0.1], then the value is divided by 0.1 to obtain the intermediate value of [0, 1], and finally the intermediate value is subtracted from 1, so that the final normalized data satisfies the condition that the smaller the bit error rate, the larger the value of the performance data.
[0028] The normalization method for the signal-to-noise ratio (SNR) performance data is as follows: the maximum SNR value is limited to 20dB, and the normalized data of [0, 1] is obtained by dividing the value by 20. If the input value exceeds 20dB, it is truncated to 1.
[0029] The normalization method for the performance data corresponding to the received signal strength is as follows: the effective range of the received signal strength value is limited to [-110dBm, -70dBm]. First, add 110 to the value to get the intermediate value of [0, 40], and then divide by 40 to get the normalized data of [0, 1]. If the input value is better than -70dBm, it is truncated to 1.
[0030] The normalization method for performance data corresponding to packet loss rate is as follows: limit the packet loss rate value to the range of [0, 0.3], then divide the value by 0.3 to obtain the intermediate value of [0, 1], and finally subtract the intermediate value from 1 so that the final normalized data satisfies the condition that the smaller the packet loss rate, the larger the value.
[0031] The normalization method for the performance data corresponding to transmission delay is as follows: limit the transmission delay value to the range of [0, 500] ms, then divide the value by 500 to obtain the intermediate value of [0, 1], and finally subtract the intermediate value from 1 so that the final normalized data satisfies the condition that the smaller the delay, the larger the value.
[0032] The normalization method for jitter-related performance data is as follows: limit the jitter value to the range of [0, 100] ms, then divide the value by 100 to get the intermediate value of [0, 1], and finally subtract the intermediate value from 1 so that the final normalized data satisfies the condition that the smaller the jitter, the larger the value.
[0033] In the above embodiments, by determining the target confidence level corresponding to each current performance based on current performance data and multiple historical performance data, the reliability of each current performance data can be effectively reflected. Then, by combining the current performance data, the corresponding target confidence level and the preset weight, the current link quality index is determined, so that the current link quality index can more realistically and accurately reflect the transmission quality of the target satellite link, and improve the rationality and reliability of the link quality assessment.
[0034] In a specific embodiment, such as Figure 3 As shown, the target confidence levels for each current performance data point, determined based on current performance data and multiple historical performance data points, include: In step S301, the current standard deviation between the current performance data and the historical performance data corresponding to each of the multiple performance indicators is determined.
[0035] In step S303, the target confidence level corresponding to each of the current performance data is determined based on the correspondence between the current standard deviation and the first preset coefficients corresponding to each of the multiple performance indicators.
[0036] In a specific embodiment, the first preset coefficient correspondence includes the correspondence between multiple target difference data and multiple preset reliability under the corresponding performance index; the multiple target difference data represent multiple numerical difference relationships between the preset standard deviation and the preset standard deviation threshold under the corresponding performance index.
[0037] For example, when the performance metric is the bit error rate (BER), the preset standard deviation threshold may include a first preset standard deviation threshold and a second preset standard deviation threshold. The first preset coefficient correspondence may include the following: if the standard deviation between the current BER data and multiple historical BER data is less than or equal to the first preset standard deviation threshold, the target confidence level corresponding to the current BER data can be a first confidence level; if the standard deviation is between the first and second preset standard deviation thresholds, the target confidence level corresponding to the current BER data can be a second confidence level; and if the standard deviation is greater than or equal to the second preset standard deviation threshold, the target confidence level corresponding to the current BER data can be a third confidence level. Optionally, the first preset standard deviation threshold, the second preset standard deviation threshold, the first confidence level, the second confidence level, and the third confidence level can all be set according to actual needs.
[0038] In the above embodiments, by calculating the current standard deviation between the current performance data and the historical performance data under each performance index, the fluctuation characteristics of each performance data can be quantified; then, based on the correspondence between the current standard deviation and the first preset coefficient corresponding to each performance index, the target confidence level of each current performance data is determined, so that the confidence level assessment can adaptively reflect the impact of data fluctuation on reliability.
[0039] In a specific embodiment, such as Figure 4 As shown, the target confidence levels for each current performance data point, determined based on current performance data and multiple historical performance data points, include: In step S401, based on the current performance data and multiple historical performance data, the current stability coefficient and current change consistency coefficient corresponding to each of the current performance data are determined.
[0040] In a specific embodiment, the current change consistency coefficient characterizes the degree of fit between the change trends of each performance indicator corresponding to the current performance data and the corresponding related performance indicators corresponding to the current performance data. Multiple performance indicators include related performance indicators.
[0041] In a specific embodiment, such as Figure 5 As shown, the above determination of the current stability coefficient and current change consistency coefficient corresponding to the current performance data, based on current performance data and multiple historical performance data, includes: In step S501, based on the current performance data and multiple historical performance data, the current fluctuation coefficient and trend indication information corresponding to each of the current performance data are determined.
[0042] In one specific embodiment, the current volatility coefficient characterizes the historical stability of the historical performance data corresponding to each performance indicator. For example, the current volatility coefficient can be the ratio of the standard deviation of the historical performance data corresponding to each performance indicator to the mean of the corresponding historical performance data. Accordingly, the current volatility coefficient characterizes the relative dispersion of the historical performance data under the corresponding performance indicator within its historical period.
[0043] In one specific embodiment, the trend indication information represents the changing trend of the corresponding performance index data. For example, the trend indication information can represent the performance data showing an upward trend, a downward trend, or a stable state where the performance data fluctuates within a certain preset threshold range.
[0044] In a specific embodiment, determining the current fluctuation coefficient and trend indication information corresponding to each current performance data based on current performance data and multiple historical performance data may include: calculating the standard deviation and mean of each performance indicator corresponding to multiple historical performance data, and using the ratio of the standard deviation and mean as the current fluctuation coefficient; performing time-series change analysis on each performance indicator based on the current performance data and multiple historical performance data, determining the direction of change of each performance indicator corresponding to the current performance data at the current moment compared to the historical state, and thus determining the trend indication information corresponding to each current performance data.
[0045] In step S503, based on the second preset coefficient correspondence relationship of the performance data corresponding to the multiple performance indicators and the corresponding current fluctuation coefficient, the current stability coefficient corresponding to each current performance data is determined.
[0046] In one specific embodiment, the second preset coefficient correspondence includes a variety of preset stability coefficients and the correspondence between the preset fluctuation threshold and the corresponding preset fluctuation coefficient for each preset stability coefficient.
[0047] In a specific embodiment, when the performance indicator is the bit error rate, the preset fluctuation threshold may include a first preset fluctuation threshold and a second preset fluctuation threshold. The correspondence of the second preset coefficient may include: when the preset fluctuation coefficient is less than or equal to the first preset fluctuation threshold, setting the preset stability coefficient to a preset maximum value; when the preset fluctuation coefficient is between the first and second preset fluctuation thresholds, mapping the preset fluctuation coefficient to a preset stability coefficient range through linear interpolation to obtain the corresponding preset stability coefficient; and when the preset fluctuation coefficient is greater than or equal to the second preset fluctuation threshold, setting the preset stability coefficient to a preset minimum value. Optionally, the first preset fluctuation threshold, the second preset fluctuation threshold, the preset stability coefficient range, the preset maximum value, and the preset minimum value can all be set according to actual needs.
[0048] In step S505, based on the preset index correlation relationship, the change trend indication information of the current performance data corresponding to each performance index is compared with the change trend indication information of the current performance data corresponding to the corresponding associated performance index to obtain the current comparison result.
[0049] In one specific embodiment, the preset index association relationship indicates the associated performance index corresponding to each of the multiple performance indicators.
[0050] In one specific embodiment, the current comparison result is one of the following three scenarios: the trend indication information corresponding to the current performance data is completely consistent with the trend indication information corresponding to the current performance data of the corresponding associated performance indicator; or the trend indication information corresponding to the current performance data is partially consistent with the trend indication information corresponding to the current performance data of the corresponding associated performance indicator, and the rest is inconsistent; or the trend indication information corresponding to the current performance data is completely inconsistent with the trend indication information corresponding to the current performance data of the corresponding associated performance indicator.
[0051] For example, when multiple performance indicators include bit error rate, signal-to-noise ratio, received signal strength, packet loss rate, transmission delay, and jitter, a preset indicator correlation can indicate that the associated performance indicator for bit error rate is packet loss rate and signal-to-noise ratio; the associated performance indicator for signal-to-noise ratio is received signal strength and bit error rate; the associated performance indicator for packet loss rate is bit error rate and transmission delay; the associated performance indicator for received signal strength is signal-to-noise ratio; the associated performance indicator for transmission delay is jitter and packet loss rate; and the associated performance indicator for jitter is transmission delay.
[0052] In a specific embodiment, the above-mentioned comparison of the trend indication information of the current performance data corresponding to each performance indicator with the trend indication information of the current performance data corresponding to the corresponding associated performance indicator based on the preset indicator correlation relationship to obtain the current comparison result may include: based on the preset indicator correlation relationship, first determining the associated performance indicator corresponding to each performance indicator, then comparing the trend indication information of each performance indicator with the trend indication information of its corresponding associated performance indicator one by one, judging whether the two trends match, thereby obtaining the current comparison result characterizing the matching of the trend of each performance indicator with the corresponding associated performance indicator.
[0053] For example, when the performance metric is the bit error rate (BER), and its corresponding associated performance metrics include packet loss rate (PFR) and signal-to-noise ratio (SNR), the trend of the BER performance data indicates an upward trend (i.e., a deterioration in the quality of the target satellite link). The associated packet loss rate also shows an upward trend (i.e., a deterioration in the quality of the target satellite link), while the SNR shows a downward trend (i.e., a deterioration in the quality of the target satellite link). Therefore, the current comparison result is "completely consistent."
[0054] The bit error rate (BER) shows an upward trend (indicating a deterioration in the quality of the target satellite link). The packet loss rate, a related performance indicator, also shows an upward trend (indicating a deterioration in the quality of the target satellite link), while the signal-to-noise ratio (SNR), another related indicator, remains stable. Therefore, the current comparison result is "partially consistent."
[0055] The bit error rate (BER) shows an increasing trend (i.e., the quality of the target satellite link is deteriorating). Its related indicator, packet loss rate, shows a stable trend, while another related indicator, signal-to-noise ratio (SNR), shows an increasing trend (i.e., the quality of the target satellite link is improving). Therefore, the current comparison result is "completely inconsistent."
[0056] In step S507, based on the current comparison results and the correspondence between the third preset coefficients, the current change consistency coefficients corresponding to the current performance data are determined.
[0057] In one specific embodiment, the third preset coefficient correspondence includes the correspondence between the comparison results of multiple preset trend indication information and multiple preset change consistency coefficients.
[0058] For example, the third preset coefficient correspondence may include: when the comparison result is "completely consistent", the preset change consistency coefficient corresponding to the performance data can be the first preset consistency coefficient; If the comparison result is "partially consistent", the preset consistency coefficient for the performance data can be the second preset consistency coefficient; if the comparison result is "completely inconsistent", the preset consistency coefficient for the performance data can be the third preset consistency coefficient. Optionally, the first, second, and third preset consistency coefficients can be set according to actual needs.
[0059] In the above embodiments, by integrating the inherent fluctuation characteristics of performance data with the external trend consistency of related performance data, the reliability of the coefficient is improved from the dual dimensions of its own stability and correlation consistency. This significantly improves the accuracy and adaptability of the weight allocation of each performance data in the link quality assessment, and also enhances the overall perception capability of the complex time-varying characteristics of satellite links.
[0060] In step S403, the first target weight corresponding to the current stability coefficient and the second target weight corresponding to the current change consistency coefficient are determined.
[0061] In a specific embodiment, determining the first target weight corresponding to the current stability coefficient and the second target weight corresponding to the current change consistency coefficient may include: determining the current average fluctuation coefficient of the fluctuation coefficient corresponding to each of the current performance data, and determining the first target weight corresponding to the current stability coefficient and the second target weight corresponding to the current change consistency coefficient based on the current average fluctuation coefficient and the preset weight configuration information.
[0062] In one specific embodiment, the preset weight configuration information includes the correspondence between the mean of the preset volatility coefficient in different intervals and different weight allocation methods. The weight allocation method includes a first preset weight corresponding to the preset stability coefficient and a second preset weight corresponding to the preset change consistency coefficient.
[0063] In step S405, the target confidence level corresponding to each of the current performance data is determined based on the current stability coefficient, the current change consistency coefficient, the first target weight, and the second target weight.
[0064] In a specific embodiment, determining the target confidence level corresponding to each of the current performance data based on the current stability coefficient, the current change consistency coefficient, the first target weight, and the second target weight may include: weighting and summing the current stability coefficient and the current change consistency coefficient based on the first target weight and the second target weight to obtain the target confidence level corresponding to each of the current performance data.
[0065] In the above embodiments, by determining the current stability coefficient and current change consistency coefficient of each performance data based on current performance data and multiple historical performance data, the data can be evaluated from two dimensions: the fluctuation characteristics of the data itself and the degree of consistency with the trend of related data. Furthermore, by assigning a first target weight and a second target weight to the current stability coefficient and the current change consistency coefficient respectively, and performing weighted fusion based on the weights, the target confidence level corresponding to each current performance data is finally generated, thereby realizing a multi-dimensional comprehensive quantification of data reliability and improving the accuracy and adaptability of confidence level assessment.
[0066] In step S105, the link quality trend index of the target satellite link is determined based on multiple historical link quality indices.
[0067] In one specific embodiment, the link quality trend index characterizes the trend of quality changes in the target satellite link.
[0068] In one specific embodiment, the multiple historical link quality indices include multiple first historical link quality indices within a first preset historical period, multiple second historical link quality indices within a second preset historical period, and multiple third historical link quality indices within a third preset historical period. The first preset historical period is the shortest timing period, the second preset historical period is longer than the first preset historical period, and the third preset historical period is the longest timing period. Furthermore, the second preset historical period overlaps with the first preset historical period, and the third preset historical period overlaps with the second preset historical period. The multiple second historical link quality indices and the multiple first historical link quality indices at least partially overlap; the multiple third historical link quality indices and the multiple second historical link quality indices at least partially overlap. Optionally, the first, second, and third preset historical periods can be set according to actual needs.
[0069] Optionally, the methods for determining the first, second, and third historical link quality indices can be found in the above description of determining the current link quality index, and will not be repeated here.
[0070] In a specific embodiment, determining the link quality trend index of a target satellite link based on multiple historical link quality indices may include: firstly, using the least squares method to calculate the first slope corresponding to multiple first historical link quality indices, the second slope corresponding to multiple second historical link quality indices, and the third slope corresponding to multiple third historical link quality indices; then, normalizing the first slope, the second slope, and the third slope to obtain the normalized first slope, the normalized second slope, and the normalized third slope; and finally, weighted summing the normalized first slope, the normalized second slope, and the normalized third slope based on the preset period weights corresponding to the first preset historical period, the second preset historical period, and the third preset historical period to obtain the link quality trend index.
[0071] For example, the normalization formula for normalizing the first slope is: Normalized first slope = max(-1, min(1, first slope * (n1-1))), where n1 is the number of multiple first historical link quality indices used to calculate the first slope. The normalization formulas for normalizing the second slope and the third slope are the same as those for the first slope, and will not be repeated here.
[0072] In step S107, the speech coding parameters corresponding to the current speech information are determined based on the current frame length, the current link quality index, and the link quality trend index.
[0073] In one specific embodiment, the speech coding parameters include the target frame length and the target bit rate.
[0074] In a specific embodiment, such as Figure 6 As shown, the speech coding parameters corresponding to the current speech information, determined based on the current frame length, current link quality index, and link quality trend index, include: In step S601, the target quality level corresponding to the current link quality index and the target trend level corresponding to the link quality trend index are determined.
[0075] In a specific embodiment, determining the target quality level corresponding to the current link quality index and the target trend level corresponding to the link quality trend index may include: determining the target quality level based on the correspondence between the current link quality index and the preset quality level; and determining the target trend level based on the correspondence between the link quality trend index and the preset trend level.
[0076] Among them, the preset quality level correspondence includes the correspondence between multiple intervals of the preset quality index and multiple preset quality levels; the preset trend level correspondence includes the correspondence between multiple intervals of the preset trend index and multiple preset trend levels.
[0077] In step S603, the initial frame length is determined based on the correspondence between the target quality level, the target trend level, and the preset frame length.
[0078] In one specific embodiment, the preset frame length correspondence includes the correspondence between multiple preset frame lengths and the preset quality level and the corresponding preset trend level for each preset frame length.
[0079] In step S605, the frame length difference between the initial frame length and the current frame length is determined.
[0080] In step S607, based on the correspondence between the target trend level and the preset threshold, the target threshold processing logic information of the corresponding index data of the frame length adjustment index is determined.
[0081] In a specific embodiment, the preset threshold correspondence includes the correspondence between multiple preset trend levels and multiple first preset processing logic information corresponding to frame length adjustment indicators. The multiple first preset processing logic information are different processing logic information for the frame length adjustment threshold corresponding to the frame length adjustment indicator.
[0082] For example, the preset threshold correspondence may include: when the preset trend level indicates an increase in satellite link quality, the corresponding first preset processing logic information may be: preset frame length adjustment threshold = current frame length × (first preset coefficient + preset fixed value * trend value); when the preset trend level indicates a decrease in satellite link quality, the corresponding first preset processing logic information may be: preset frame length adjustment threshold = current frame length × (second preset coefficient + preset fixed value * trend value); when the preset trend level indicates stable satellite link quality, the corresponding first preset processing logic information may be: preset frame length adjustment threshold = current frame length × third preset coefficient. Optionally, the first preset coefficient, second preset coefficient, third preset coefficient, and preset fixed value can be set according to actual needs.
[0083] In step S609, the target frame length adjustment threshold corresponding to the frame length adjustment index is determined based on the target threshold processing logic information, the current frame length, and / or the link quality trend index.
[0084] In one specific embodiment, the target frame length adjustment threshold is a critical value that constrains the maximum allowable range of change in a single frame length adjustment.
[0085] In a specific embodiment, determining the target frame length adjustment threshold corresponding to the frame length adjustment index based on the target threshold processing logic information, the current frame length, and / or the link quality trend index may include: substituting the current frame length and / or the link quality trend index into the formula indicated by the target threshold processing logic information, and the calculation result obtained is the target frame length adjustment threshold.
[0086] In step S611, the target frame length and target bit rate are determined based on the current frame length, the target frame length adjustment threshold, and the frame length difference.
[0087] In the above embodiments, the initial frame length is determined by hierarchical matching of link quality and trend, and then the frame length adjustment threshold is dynamically adapted based on the trend level. Finally, the target frame length and target bit rate are determined based on the frame length difference and threshold constraints. This enables the speech coding parameters to be smoothly and adaptively adjusted according to the link status, effectively avoiding sudden changes in frame length and improving the stability and adaptation accuracy of speech transmission and coding.
[0088] In a specific embodiment, such as Figure 7 As shown, the above determination of the target frame length and target bit rate based on the current frame length, the target frame length adjustment threshold, and the frame length difference includes: In step S701, if the relationship between the target frame length adjustment threshold and the frame length difference matches the target satisfaction relationship, the target frame length processing logic information corresponding to the target satisfaction relationship is determined.
[0089] In a specific embodiment, the target satisfaction relationship is any one of a plurality of preset satisfaction relationships, and the plurality of preset satisfaction relationships correspond to different second preset processing logic information, the second preset processing logic information being processing logic information for the frame length.
[0090] For example, multiple preset satisfying relationships may include: the absolute value of the frame length difference is greater than or equal to the target frame length adjustment threshold and the absolute value of the frame length difference is less than the target frame length adjustment threshold. When the absolute value of the frame length difference is greater than or equal to the target frame length adjustment threshold, the corresponding second preset processing logic information can be: target frame length = current frame length + target frame length adjustment threshold; when the absolute value of the frame length difference is less than the target frame length adjustment threshold, the corresponding second preset processing logic information can be: target frame length = current frame length + target frame length adjustment threshold / 2.
[0091] In step S703, the target frame length is determined based on the current frame length, the target frame length adjustment threshold, and the target frame length processing logic information.
[0092] In a specific embodiment, determining the target frame length based on the current frame length, the target frame length adjustment threshold, and the target frame length processing logic information may include: substituting the current frame length and the target frame length adjustment threshold into the formula indicated by the target frame length processing logic information, and the resulting calculation is the target frame length.
[0093] In step S705, the target bit rate is determined based on the correspondence between the target frame length and the preset bit rate.
[0094] In one specific embodiment, the preset bit rate correspondence includes the correspondence between multiple preset frame length intervals and multiple preset bit rates.
[0095] In the above embodiments, by matching the relationship between the frame length adjustment threshold and the frame length difference, the appropriate target frame length processing logic information is selected. Then, the target frame length is determined stably by combining the current frame length and the adjustment threshold. Finally, the target bit rate is obtained by matching the preset correspondence between the frame length and the bit rate. This can achieve a smooth transition of the frame length and adaptive adaptation of the coding rate, ensuring the stability of the speech coding adjustment and the link matching degree.
[0096] In step S109, the current voice information is encoded based on the voice encoding parameters to obtain the second voice information to be transmitted corresponding to the target satellite link.
[0097] In one specific embodiment, the above method further includes: Based on the target satellite link, a second voice message to be transmitted is sent.
[0098] In the above embodiments, voice transmission can be highly matched with the real-time quality and changing trends of the link, effectively ensuring the fluency and reliability of voice communication and improving the stability and adaptability of the overall voice transmission.
[0099] Figure 8 This is a block diagram of a data processing apparatus according to an exemplary embodiment. (Refer to...) Figure 8 The device includes: The data acquisition module 810 is used to acquire the current performance data of the target satellite link under multiple performance indicators, the multiple historical performance data of the target satellite link under multiple performance indicators, the multiple historical link quality indices of the target satellite link, and the current frame length of the current voice information. The current voice information is the first voice information to be transmitted on the target satellite link. The current link quality index determination module 820 is used to determine the current link quality index of the target satellite link based on current performance data and multiple historical performance data. The link quality trend index determination module 830 is used to determine the link quality trend index of the target satellite link based on multiple historical link quality indices. The link quality trend index characterizes the quality change trend of the target satellite link. The speech coding parameter determination module 840 is used to determine the speech coding parameters corresponding to the current speech information based on the current frame length, the current link quality index, and the link quality trend index. The encoding processing module 850 is used to encode the current voice information based on the voice encoding parameters to obtain the second voice information to be transmitted corresponding to the target satellite link.
[0100] In an optional embodiment, the current link quality index determination module 820 includes: The target confidence level determination unit is used to determine the target confidence level corresponding to each current performance data based on the current performance data and multiple historical performance data. The current link quality index determination unit is used to determine the current link quality index based on the current performance data, the corresponding target confidence level, and the corresponding preset weight.
[0101] In an optional embodiment, the target confidence determination unit includes: The current standard deviation determination subunit is used to determine the current standard deviation between the current performance data and the corresponding historical performance data for each of the multiple performance indicators. The first target confidence level determination subunit is used to determine the target confidence level corresponding to each of the current performance data based on the current standard deviation and the correspondence between the first preset coefficients corresponding to each of the multiple performance indicators. The correspondence between the first preset coefficients includes the correspondence between multiple target difference data and multiple preset confidence levels under the corresponding performance indicator; the multiple target difference data represent multiple numerical difference relationships between the preset standard deviation and the preset standard deviation threshold under the corresponding performance indicator.
[0102] In an optional embodiment, the target confidence determination unit includes: The coefficient determination subunit is used to determine the current stability coefficient and current change consistency coefficient corresponding to each current performance data based on the current performance data and multiple historical performance data. The current change consistency coefficient characterizes the degree of fit between the change trends of each performance indicator corresponding to the current performance data and the corresponding related performance indicators corresponding to the current performance data. Multiple performance indicators include related performance indicators. The target weight determination subunit is used to determine the first target weight corresponding to the current stability coefficient and the second target weight corresponding to the current change consistency coefficient. The second target confidence determination subunit is used to determine the target confidence level corresponding to each of the current performance data based on the current stability coefficient, the current change consistency coefficient, the first target weight, and the second target weight.
[0103] In an optional embodiment, the coefficient determination subunit includes: The indication information determination sub-unit is used to determine the current fluctuation coefficient and change trend indication information corresponding to each of the current performance data based on the current performance data and multiple historical performance data. The stability coefficient determination subunit is used to determine the current stability coefficient corresponding to each of the current performance data based on the second preset coefficient correspondence relationship and the corresponding current fluctuation coefficient of each of the performance data corresponding to multiple performance indicators; the second preset coefficient correspondence relationship includes the correspondence between multiple preset stability coefficients and the preset fluctuation threshold and the corresponding preset fluctuation coefficient of each preset stability coefficient. The comparison result determination sub-unit is used to compare the change trend indication information of the current performance data corresponding to each performance indicator with the change trend indication information of the current performance data corresponding to the corresponding associated performance indicator based on the preset indicator association relationship, and obtain the current comparison result. The preset indicator association relationship indicates the associated performance indicators corresponding to each of the multiple performance indicators. The consistency coefficient determination subunit is used to determine the current change consistency coefficient corresponding to each of the current performance data based on the current comparison results and the correspondence between the third preset coefficients. The correspondence between the third preset coefficients includes the correspondence between the comparison results of various preset trend indication information and various preset change consistency coefficients.
[0104] In an optional embodiment, the speech coding parameters include a target frame length and a target bit rate, and the speech coding parameter determination module 840 includes: The grade determination unit is used to determine the target quality grade corresponding to the current link quality index and the target trend grade corresponding to the link quality trend index. The initial frame length determination unit is used to determine the initial frame length based on the target quality level, the target trend level and the preset frame length correspondence. The preset frame length correspondence includes multiple preset frame lengths and the correspondence between the preset quality level and the corresponding preset trend level for each preset frame length. The frame length difference determination unit is used to determine the frame length difference between the initial frame length and the current frame length; The processing logic information determination unit is used to determine the target threshold processing logic information of the index data corresponding to the frame length adjustment index based on the correspondence between the target trend level and the preset threshold. The preset threshold correspondence includes the correspondence between multiple preset trend levels and multiple first preset processing logic information corresponding to the frame length adjustment index. The multiple first preset processing logic information represents different processing logic information for the frame length adjustment threshold corresponding to the frame length adjustment index. The target frame length adjustment threshold determination unit is used to determine the target frame length adjustment threshold corresponding to the frame length adjustment index based on the target threshold processing logic information, the current frame length and / or the link quality trend index. The encoding parameter determination unit is used to determine the target frame length and target bit rate based on the current frame length, the target frame length adjustment threshold, and the frame length difference.
[0105] In an optional embodiment, the encoding parameter determination unit includes: The processing logic information determination subunit is used to determine the target frame length processing logic information corresponding to the target satisfaction relationship when the relationship between the target frame length adjustment threshold and the frame length difference matches the target satisfaction relationship; the target satisfaction relationship is any one of multiple preset satisfaction relationships, and the multiple preset satisfaction relationships correspond to different second preset processing logic information, and the second preset processing logic information is the processing logic information for the frame length; The frame length determination subunit is used to determine the target frame length based on the current frame length, the target frame length adjustment threshold, and the target frame length processing logic information. The bit rate determination subunit is used to determine the target bit rate based on the correspondence between the target frame length and the preset bit rate. The preset bit rate correspondence includes the correspondence between multiple preset frame length intervals and multiple preset bit rates.
[0106] In an optional embodiment, the above-described apparatus further includes: The voice information transmission module is used to transmit a second voice information to be transmitted based on the target satellite link.
[0107] Figure 9 This is a block diagram illustrating an electronic device for data processing according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as follows: Figure 9 As shown, the electronic device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a data processing method. The display screen can be a liquid crystal display (LCD) or an e-ink display. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.
[0108] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present disclosure and does not constitute a limitation on the electronic device to which the present disclosure is applied. A specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0109] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the data processing method as described in the embodiments of this disclosure.
[0110] In an exemplary embodiment, a computer-readable storage medium is also provided, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the data processing method of the present disclosure embodiments.
[0111] In an exemplary embodiment, a computer program product including instructions is also provided, which, when run on a computer, causes the computer to perform the data processing method of the present disclosure embodiments.
[0112] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0113] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0114] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A data processing method, characterized in that, The method includes: The current performance data of the target satellite link under multiple performance indicators, the historical performance data of the target satellite link under multiple performance indicators, the historical link quality index of the target satellite link, and the current frame length of the current voice information are obtained, wherein the current voice information is the first voice information to be transmitted on the target satellite link. Based on the current performance data and the multiple historical performance data, the current link quality index of the target satellite link is determined; Based on the multiple historical link quality indices, a link quality trend index for the target satellite link is determined, and the link quality trend index characterizes the quality change trend of the target satellite link. Based on the current frame length, the current link quality index, and the link quality trend index, determine the speech coding parameters corresponding to the current speech information; The current voice information is encoded based on the voice encoding parameters to obtain the second voice information to be transmitted corresponding to the target satellite link.
2. The method according to claim 1, characterized in that, The determination of the current link quality index of the target satellite link based on the current performance data and the multiple historical performance data includes: Based on the current performance data and the multiple historical performance data, determine the target confidence level corresponding to each of the current performance data; Based on the current performance data, the corresponding target confidence level, and the corresponding preset weight, the current link quality index is determined.
3. The method according to claim 2, characterized in that, The step of determining the target confidence level corresponding to each of the current performance data based on the current performance data and the multiple historical performance data includes: Determine the current standard deviation between the current performance data corresponding to each of the multiple performance indicators and the multiple historical performance data corresponding to each of the multiple performance indicators; Based on the correspondence between the current standard deviation and the first preset coefficients corresponding to the multiple performance indicators, the target confidence level corresponding to each of the current performance data is determined. The first preset coefficient correspondence includes the correspondence between multiple target difference data and multiple preset confidence levels under the corresponding performance indicator. The multiple target difference data represent multiple numerical difference relationships between the preset standard deviation and the preset standard deviation threshold under the corresponding performance indicator.
4. The method according to claim 2, characterized in that, The step of determining the target confidence level corresponding to each of the current performance data based on the current performance data and the multiple historical performance data includes: Based on the current performance data and the multiple historical performance data, the current stability coefficient and the current change consistency coefficient corresponding to each of the current performance data are determined; the current change consistency coefficient characterizes the degree of fit between the change trends of each performance indicator corresponding to the current performance data and the corresponding related performance indicators corresponding to the current performance data, and the multiple performance indicators include the related performance indicators; Determine the first target weight corresponding to the current stability coefficient and the second target weight corresponding to the current change consistency coefficient; Based on the current stability coefficient, the current change consistency coefficient, the first target weight, and the second target weight, the target confidence level corresponding to each of the current performance data is determined.
5. The method according to claim 4, characterized in that, The step of determining the current stability coefficient and current change consistency coefficient corresponding to each of the current performance data based on the current performance data and the multiple historical performance data includes: Based on the current performance data and the multiple historical performance data, determine the current fluctuation coefficient and trend indication information corresponding to each of the current performance data; Based on the second preset coefficient correspondence relationship and the corresponding current fluctuation coefficient of each of the multiple performance indicators, the current stability coefficient of each of the current performance data is determined; the second preset coefficient correspondence relationship includes the correspondence between multiple preset stability coefficients and the preset fluctuation threshold and the corresponding preset fluctuation coefficient of each preset stability coefficient. Based on the preset index association relationship, the change trend indication information of the current performance data corresponding to each performance indicator is compared with the change trend indication information of the current performance data corresponding to the corresponding associated performance indicator to obtain the current comparison result. The preset index association relationship indicates the associated performance indicator corresponding to each of the multiple performance indicators. Based on the current comparison results and the correspondence of the third preset coefficient, the current change consistency coefficient corresponding to each of the current performance data is determined. The correspondence of the third preset coefficient includes the correspondence between the comparison results of multiple preset trend indication information and multiple preset change consistency coefficients.
6. The method according to claim 1, characterized in that, The speech coding parameters include the target frame length and the target bit rate. The step of determining the speech coding parameters corresponding to the current speech information based on the current frame length, the current link quality index, and the link quality trend index includes: Determine the target quality level corresponding to the current link quality index and the target trend level corresponding to the link quality trend index; Based on the target quality level, the target trend level, and the preset frame length correspondence, the initial frame length is determined. The preset frame length correspondence includes multiple preset frame lengths and the correspondence between the preset quality level and the corresponding preset trend level for each preset frame length. Determine the frame length difference between the initial frame length and the current frame length; Based on the correspondence between the target trend level and the preset threshold, the target threshold processing logic information of the index data corresponding to the frame length adjustment index is determined. The preset threshold correspondence includes the correspondence between multiple preset trend levels and multiple first preset processing logic information corresponding to the frame length adjustment index. The multiple first preset processing logic information are different processing logic information for the frame length adjustment threshold corresponding to the frame length adjustment index. Based on the target threshold processing logic information, the current frame length and / or the link quality trend index, determine the target frame length adjustment threshold corresponding to the frame length adjustment index; The target frame length and the target bit rate are determined based on the current frame length, the target frame length adjustment threshold, and the frame length difference.
7. The method according to claim 6, characterized in that, The step of determining the target frame length and the target bit rate based on the current frame length, the target frame length adjustment threshold, and the frame length difference includes: When the relationship between the target frame length adjustment threshold and the frame length difference matches the target satisfaction relationship, the target frame length processing logic information corresponding to the target satisfaction relationship is determined; the target satisfaction relationship is any one of a plurality of preset satisfaction relationships, and the plurality of preset satisfaction relationships correspond to different second preset processing logic information, the second preset processing logic information being the processing logic information for the frame length; The target frame length is determined based on the current frame length, the target frame length adjustment threshold, and the target frame length processing logic information; Based on the correspondence between the target frame length and the preset bit rate, the target bit rate is determined. The preset bit rate correspondence includes the correspondence between multiple preset frame length intervals and multiple preset bit rates.
8. The method according to claim 1, characterized in that, The method further includes: Based on the target satellite link, the second voice information to be transmitted is sent.
9. A data processing device, characterized in that, include: The data acquisition module is used to acquire the current performance data of the target satellite link under multiple performance indicators, the multiple historical performance data of the target satellite link under the multiple performance indicators, the multiple historical link quality indices of the target satellite link, and the current frame length of the current voice information, wherein the current voice information is the first voice information to be transmitted on the target satellite link. The current link quality index determination module is used to determine the current link quality index of the target satellite link based on the current performance data and the multiple historical performance data. The link quality trend index determination module is used to determine the link quality trend index of the target satellite link based on the multiple historical link quality indices, wherein the link quality trend index characterizes the quality change trend of the target satellite link; The speech coding parameter determination module is used to determine the speech coding parameters corresponding to the current speech information based on the current frame length, the current link quality index, and the link quality trend index. The encoding processing module is used to encode the current voice information based on the voice encoding parameters to obtain the second voice information to be transmitted corresponding to the target satellite link.
10. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the data processing method as described in any one of claims 1 to 8.