Radio detection method, apparatus, vehicle, program product, and storage medium

CN122908856APending Publication Date: 2026-10-13CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610929407.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-25
Publication Date
2026-10-13

AI Technical Summary

Technical Problem

但是通过这种方法可能会搜索到一些不存在真实节目的静音台,影响用户的收听体验

Benefits of technology

[0020]基于该实施方式,通过预设条件和移除条件的设置能够实现对电台列表的日常维护,解决了电台列表僵化的问题,使得电台列表始终保持最新状态。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122908856A_ABST
    Figure CN122908856A_ABST
Patent Text Reader

Abstract

The present disclosure provides a radio detection method, device, vehicle, program product and storage medium, relating to the field of radio technology. The method comprises: in response to a search instruction, performing a search operation, determining the searched frequency point as a candidate frequency point; obtaining a physical layer parameter of the candidate frequency point; determining an activity index of an audio signal of the candidate frequency point; and detecting whether the candidate frequency point is a valid frequency point according to the physical layer parameter and the activity index. The method can distinguish between real programs and non-broadcast signals such as white noise and switch power supply whistling through the activity index, accurately detect whether there is a real program on the candidate frequency point, and then detect whether the candidate frequency point is a valid frequency point through the physical layer parameter and the activity index, so that the selected valid frequency point can not only make the user hear the sound, but also avoid the interference of the mute station, improve the audio quality of the radio searched by the user, and improve the listening experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of radio technology, and more particularly to radio station testing methods, apparatus, vehicles, program products, and storage media. Background Technology

[0002] With the development of technology, frequency modulation (FM) radio reception technology has been widely used in in-vehicle infotainment systems, smartphones, and portable radio devices.

[0003] Currently, commonly used FM radio devices typically filter stations by simple threshold comparisons when searching for stations. For example, threshold comparisons based on received signal strength indicator (RSSI) or signal-to-noise ratio (SNR) may be used. However, this method may result in the discovery of silent stations that do not actually broadcast, negatively impacting the user's listening experience. Summary of the Invention

[0004] This disclosure provides a radio station detection method, apparatus, vehicle, program product, and storage medium, which can avoid interference from silent radios and improve the user's listening experience.

[0005] In a first aspect, this application provides a radio station detection method, comprising: responding to a station search command, performing a station search operation, determining the searched frequency points as candidate frequency points; obtaining physical layer parameters of the candidate frequency points; determining the activity index of the audio signal of the candidate frequency points; and detecting whether the candidate frequency points are valid frequency points based on the physical layer parameters and the activity index.

[0006] The radio station detection method provided in this disclosure can distinguish between real programs and non-broadcast signals such as white noise and power supply howling through the activity index. It can accurately detect whether there are real programs on the candidate frequency points. Then, it can detect whether the candidate frequency points are valid by using physical layer parameters and activity index. This ensures that the selected valid frequency points can not only allow users to hear the sound, but also avoid interference from silent stations, improve the audio quality of the radio stations searched by users, and enhance the user's listening experience.

[0007] In some possible implementations, determining the activity index of the audio signal of the candidate frequency points includes: dividing the audio signal into frames to obtain multiple audio frames; determining whether each audio frame is a valid frame based on the decibel value of each audio frame in the multiple audio frames and the sound similarity with a preset signal; and determining the activity index of the candidate frequency points according to the number of valid frames in the multiple audio frames.

[0008] Based on this implementation method, the presence of sound in an audio frame can be determined by the decibel value of the audio frame, and the validity of the content on the audio frame can be determined by the similarity between the audio frame and the preset signal. By judging the validity of the audio frame from both the sound and content perspectives, the presence of a real program on the audio signal can be accurately detected, thus improving the accuracy of valid frequency point detection.

[0009] In some possible implementations, determining whether each audio frame is a valid frame is based on the decibel value of each audio frame in a plurality of audio frames and the sound similarity with a preset signal, including: determining the audio frame as a valid frame when the decibel value of the audio frame is greater than a first decibel threshold and the sound similarity of the audio frame with the preset signal is greater than a preset similarity threshold.

[0010] Based on this implementation method, the criteria for determining whether an audio frame is a valid frame are clearly defined, so that the detected valid frames not only satisfy the requirement of having sound, but also the requirement of valid content.

[0011] In some possible implementations, the preset signal includes a preset human voice signal and / or a preset music signal, and the similarity between the audio frame and the preset signal is greater than a preset similarity threshold, including: the similarity between the audio frame and the preset human voice signal is greater than a first similarity threshold and / or the similarity between the audio frame and the preset music signal is greater than a second similarity threshold.

[0012] Based on this implementation method, the criteria for determining a valid frame are clarified when the preset signal includes a preset human voice signal and / or a preset music signal.

[0013] In some possible implementations, the method further includes: acquiring the baseband signal of the candidate frequency point; determining a continuity index of the candidate frequency point based on the baseband signal, the continuity index being used to indicate the degree of continuity of the baseband signal of the candidate frequency point in the time domain and frequency domain; and detecting whether the candidate frequency point is a valid frequency point based on the physical layer parameters, the activity index, and the continuity index.

[0014] Based on this implementation, a continuity index for the baseband signal is determined according to its continuity in the time and frequency domains, enabling the detection of co-channel interference without relying on pilots or channel structures. The effective frequency points determined based on the continuity index, activity index, and physical layer parameters ensure that genuine programs exist at those frequencies while reducing co-channel interference between radio stations, thus improving the user's listening experience.

[0015] In some possible implementations, determining the continuity index of candidate frequency points based on the baseband signal includes: performing a first-order difference operation on the instantaneous phase of the baseband signal to obtain an instantaneous frequency deviation sequence; performing a fast Fourier transform on the instantaneous frequency deviation sequence to obtain the spectral distribution result of the baseband signal; determining the continuity of the baseband signal in the frequency domain based on the spectral distribution result; performing stability analysis on the baseband signal to obtain the continuity of the baseband signal in the time domain; and determining the continuity index based on the continuity of the baseband signal in the frequency domain and the continuity in the time domain.

[0016] Based on this implementation method, the continuity index is calculated according to the continuity of the baseband signal in both the frequency domain and the frequency domain, which can overcome the limitations of a single dimension. Furthermore, it can distinguish between interference and useful signals based solely on the baseband signal itself, without relying on prior parameters, using the continuity index as the criterion.

[0017] In some possible implementations, detecting whether a candidate frequency point is a valid frequency point based on physical layer parameters, activity index, and continuity index includes: determining a validity score for the candidate frequency point based on the activity index, continuity index, and physical layer parameters; determining the candidate frequency point as a valid frequency point when the validity score, activity index, and continuity index meet validity conditions; wherein, the validity conditions include a validity score greater than or equal to a scoring threshold, an activity index greater than or equal to an activity threshold, and a continuity index less than or equal to a continuity threshold.

[0018] Based on this implementation method, the validity criteria ensure that even with good physical layer parameters, radio stations without programming or experiencing strong interference will not be listened to by the user. The valid frequencies selected based on these validity criteria can not only be searched by the user, but also satisfy the requirement of having actual programming on those frequencies while avoiding severe co-channel interference, thus improving the robustness of radio station detection and enhancing the user's listening experience.

[0019] In some possible implementations, the method further includes: detecting whether some or all frequency points in the radio station list constructed based on valid frequency points meet the removal conditions, provided that preset conditions are met; removing the frequency points that meet the removal conditions from the radio station list; wherein the preset conditions include at least one of the following: a preset update period; the absolute value of the difference between the physical layer parameter of the frequency point in the current time and the physical layer parameter in the most recent time is greater than a parameter threshold; and receiving an instruction to update the list.

[0020] Based on this implementation method, daily maintenance of the radio station list can be achieved by setting preset conditions and removal conditions, which solves the problem of radio station list stagnation and keeps the radio station list up-to-date.

[0021] In some possible implementations, the removal conditions include: the difference between the validity score of the frequency point in this instance and the validity score most recent in this instance is less than a difference threshold; or, the number of times the frequency point does not meet the validity conditions is greater than or equal to a number threshold.

[0022] Based on this implementation method, it is clear when to remove frequencies from the radio station list to ensure that all frequencies remaining in the radio station list are valid frequencies.

[0023] In some possible implementations, the method further includes: when the frequency on which the car radio is stationed is the first valid frequency in the radio station list, automatically playing the last valid frequency in the radio station list in response to a command to play the previous radio station; or, when the frequency on which the car radio is stationed is the last valid frequency in the radio station list, automatically playing the first valid frequency in the radio station list in response to a command to play the next radio station.

[0024] Based on this implementation method, the first and last frequencies in the radio station list are connected end-to-end, improving convenience and user experience.

[0025] In some possible implementations, the above method further includes: when the candidate frequency point is an invalid frequency point, re-acquiring the physical layer parameters of the invalid frequency point; when the absolute value of the difference between the current physical layer parameters of the invalid frequency point and the physical layer parameters most recently obtained is greater than the parameter threshold, detecting whether the invalid frequency point meets the validity condition; and re-determining the invalid frequency point that meets the validity condition as a valid frequency point.

[0026] Based on this implementation method, misjudgments caused by instantaneous fading or interference can be avoided, which may further enable dynamic updating and maintenance of the radio station list and prevent the permanent loss of available frequencies.

[0027] Secondly, this application provides a radio station detection device, comprising: a first determining module, configured to perform a station search operation in response to a station search command, and determine the searched frequency points as candidate frequency points; an acquiring module, configured to acquire physical layer parameters of the candidate frequency points; a second determining module, configured to determine the activity index of the audio signal of the candidate frequency points; and a detection module, configured to detect whether the candidate frequency points are valid frequency points based on the physical layer parameters and the activity index.

[0028] Thirdly, this application provides a control device, including: a memory and a processor; the memory and the processor are coupled; the memory is used to store a computer program; when the processor executes the computer program, it implements the radio detection method of any of the above embodiments.

[0029] Fourthly, this application provides a computer-readable storage medium storing computer program instructions that, when executed by a processor, implement the radio detection method of any of the above embodiments.

[0030] Fifthly, this application provides a computer program product including computer program instructions that, when executed by a processor, implement the radio detection method of any of the above embodiments.

[0031] Sixthly, this application provides a vehicle including the control device of any of the preceding embodiments; or the computer-readable storage medium of any of the preceding embodiments; or the computer program product of any of the preceding embodiments. Attached Figure Description

[0032] To more clearly illustrate the technical solutions in this disclosure, the accompanying drawings used in some embodiments of this disclosure will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings.

[0033] Figure 1 This is a schematic diagram of the architecture of a radio station detection system provided in an embodiment of the present disclosure; Figure 2 This is a schematic diagram of the architecture of another radio station detection system provided in an embodiment of the present disclosure; Figure 3 A schematic flowchart illustrating a radio station detection method provided in an embodiment of this disclosure; Figure 4 A schematic flowchart illustrating another radio station detection method provided in this embodiment of the present disclosure; Figure 5 A flowchart illustrating a radio station list update process provided in this embodiment of the disclosure; Figure 6 This is a schematic diagram of the structure of a radio detection device provided in an embodiment of the present disclosure; Figure 7 This is a schematic diagram of the structure of a control device provided in an embodiment of the present disclosure. Detailed Implementation

[0034] The technical solutions of this disclosure will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0035] It should be noted that, in this disclosure, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in this disclosure should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0036] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0037] In the description of this disclosure, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" means one or more, and "more than one" means two or more.

[0038] With the development of technology, frequency modulation (FM) radio reception technology has been widely used in in-vehicle infotainment systems, smartphones, and portable radio devices.

[0039] Currently, most mainstream FM radio devices use simple threshold methods based on received signal strength indicator (RSSI) or signal-to-noise ratio (SNR) for station selection during automatic station search. For example, some in-vehicle systems determine a frequency as a valid station when RSSI > -90dBm and SNR > 20dB. A few methods also attempt to introduce multipath distortion metric (MDM) to improve stability in mobile scenarios. However, these methods fail to address two fundamental problems: they cannot distinguish between silent stations with carrier signals but no broadcasts, and they cannot detect voice aliasing caused by co-channel interference.

[0040] Specifically, current methods for detecting radio stations have the following five shortcomings: 1. False Reception of Silent Stations: Many off-air or test frequencies continue to transmit carriers. Although the RSSI / SNR values ​​are good, there is no actual program content, and users consider them "zombie stations." Relying solely on RSSI / SNR to detect stations can lead to the problem of detecting "zombie stations."

[0041] 2. Lack of co-channel interference detection: When two geographically adjacent radio stations experience co-channel interference due to overlapping frequency planning or signal drift, traditional systems cannot identify it. Users hear mixed audio but cannot automatically filter it out, affecting the user's listening experience.

[0042] 3. Blind Spot in Mono Scenes: Currently, co-channel interference (CCI) detection relies on stereo pilot signals to determine whether the energy of the left and right channels is symmetrical. However, this method cannot detect CCI in mono broadcasts.

[0043] 4. Incomplete evaluation dimensions: Relying solely on physical layer parameters (e.g., RSSI / SNR / MDM) ignores content validity, while introducing audio semantic metrics can easily overlap with activity criteria, leading to model redundancy and instability.

[0044] 5. Static list rigidity: Once the station search results are generated, they remain fixed and cannot adapt to the dynamic changes in signal coverage during vehicle movement.

[0045] To address the aforementioned technical problems, this disclosure provides a radio station detection method, the idea of ​​which is to determine whether a candidate frequency point is a valid frequency point based on whether there is a real program on the audio signal of the candidate frequency point.

[0046] The radio detection system provided in the embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.

[0047] Figure 1 This is a schematic diagram of the architecture of a radio station detection system provided in an embodiment of this disclosure. Figure 1 As shown, the radio station detection system 100 includes a station search device 101 and a controller 102.

[0048] The station search device 101 and the controller 102 are connected in communication.

[0049] The station search device 101 can be a station search button, a voice input device, etc. For example, the vehicle is equipped with a station search button (e.g., a physical mechanical button, a virtual button on the display screen, etc.). When the user first activates an FM radio station or when the user has a station search request, the user operates the station search button to start the search. Alternatively, a voice input device can start the station search based on the user's voice input.

[0050] Controller 102 is used to perform a station search operation in response to a station search command, and to determine the searched frequencies as candidate frequencies. For example, in response to a station search command, controller 102 sends a configuration command to the FM radio tuner chip via the I²C bus, setting its operating mode to "FM Seek Mode" and setting the scan step size to 0.1MHz (i.e., 100kHz), covering the standard FM broadcast band from 87.5MHz to 108.0MHz. The search begins with a sequential incrementing strategy according to the set parameters, starting from the initial frequency of 87.5MHz and searching point by point to determine multiple candidate frequencies.

[0051] Controller 102 is also used to acquire physical layer parameters for candidate frequencies. For example, controller 102 sends a TUNE command to the radio tuner, specifying the frequency of the candidate frequency. After controller 102 starts a high-precision timer, it forces a 200-millisecond mainstream on the candidate frequency to ensure that the phase-locked loop (PLL) inside the tuner chip completes frequency locking, automatic gain control (AGC) convergence, and refreshes all status registers. During the mainstream, controller 102 acquires physical layer parameters via the I²C interface.

[0052] Controller 102 is used to acquire audio signals and baseband signals from candidate frequencies. For example, controller 102 acquires audio signals and baseband signals from candidate frequencies by controlling the digital output channel of the coordinator chip. For example, the audio signal has a sampling rate of 48kHz and is 16-bit mono; the baseband signal has a sampling rate of 256kS / s and is in 16-bit complex format. The baseband signal and audio signal are continuously written to a pre-allocated circular buffer via direct memory access (DMA) to avoid frequent interruptions of the central processing unit (CPU).

[0053] The controller 102 is also used to determine the activity index of the audio signal of the candidate frequency point based on the audio signal, and to detect whether the candidate frequency point is a valid frequency point based on the physical layer parameters and the activity index.

[0054] In some embodiments, the radio station detection system 100 further includes a display device. For example, after determining that a candidate frequency is a valid frequency, the controller 102 constructs a list of radio stations based on the valid frequencies. The controller 102 then sends the radio station list to the display device to display the list to the user.

[0055] In another possible implementation, this disclosure also provides a schematic diagram of the architecture of a radio station detection system. Figure 2 This is a schematic diagram of the architecture of another radio station detection system provided in an embodiment of this disclosure. Figure 2 As shown, the radio station detection system includes a user interaction layer, a full-band scanning layer, a signal acquisition layer, a feature extraction and fusion layer, a security circuit breaker mechanism determination layer, a radio station database construction layer, and a radio interaction layer.

[0056] The user interaction layer is used to receive user commands, such as a user's command to search for TV stations.

[0057] The full-band scanning layer is used to scan the broadcast frequency band in response to the user's station search command and determine the candidate frequency points.

[0058] The signal acquisition layer is used to acquire the physical layer parameters, audio signals, and baseband signals of the candidate frequency points.

[0059] The feature extraction and fusion layer is used to determine the activity index of the audio signal and the continuity index of the baseband signal.

[0060] The safety circuit breaker mechanism judgment layer is used to determine the validity score based on the activity index, continuity index and physical layer parameters; and to determine whether the candidate frequency points meet the validity conditions based on the validity score, activity index and continuity index.

[0061] The radio database building layer is used to build a list of radio stations based on valid frequencies.

[0062] The radio interaction layer is used to perform corresponding actions based on the user's input on the radio. Examples include selecting a station, playing a station, and pausing playback.

[0063] In addition, the radio station detection system also includes a background maintenance layer. The background maintenance layer interacts with the full-band scanning layer and the signal acquisition layer to update the radio station list and send the updated radio station list to the radio station database construction layer.

[0064] It is understood that the application scenarios of the embodiments of this disclosure are not limited. The system architecture and business scenarios described in the embodiments of this disclosure are for the purpose of more clearly illustrating the technical solutions of the embodiments of this disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of this disclosure. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of this disclosure are also applicable to similar technical problems.

[0065] The radio detection method provided in this disclosure will now be described in detail.

[0066] Figure 3 This is a flowchart illustrating a radio station detection method provided in an embodiment of the present disclosure, as shown below. Figure 3 As shown, the method includes the following steps: S301. In response to the channel search command, perform a channel search operation and determine the searched frequency points as candidate frequency points.

[0067] For example, when the radio function is first activated or when a user requests to search for stations, a station search command is issued. Upon receiving the station search command, the system scans and searches for frequencies in the standard FM broadcast band in ascending order based on a preset step size.

[0068] S302. Obtain the physical layer parameters of the candidate frequency points.

[0069] For example, physical layer parameters include at least one of received signal strength indicator (RSSI), signal to noise radio (SNR), and multipath distortion metric (MDM).

[0070] RSSI is measured in dBm, typically ranging from -110dBm to -50dBm. SNR reflects the ratio of carrier power to noise power, measured in dB. MDM is dimensionless; generally, a higher MDM value indicates more severe signal distortion due to reflections from objects such as buildings.

[0071] S303. Determine the activity index of the audio signal at the candidate frequency points.

[0072] The activity index is used to indicate the degree of fluctuation in the audio signal of a candidate frequency. Alternatively, the activity index can also be understood as the probability that a real program exists on the candidate frequency.

[0073] S304. Detect whether the candidate frequency points are valid frequency points based on the physical layer parameters and activity index.

[0074] The radio station detection method provided in this disclosure can distinguish between real programs and non-broadcast signals such as white noise and power supply howling through the activity index. It can accurately detect whether there are real programs on the candidate frequency points. Then, it can detect whether the candidate frequency points are valid by using physical layer parameters and activity index. This ensures that the selected valid frequency points can not only allow users to hear the sound, but also avoid interference from silent stations, improve the audio quality of the radio stations searched by users, and enhance the user's listening experience.

[0075] In some embodiments, determining the activity index of the audio signal for candidate frequency points includes: dividing the audio signal into frames to obtain multiple audio frames; determining whether each audio frame is a valid frame based on the decibel value of each audio frame in the multiple audio frames and the sound similarity with a preset signal; and determining the activity index of the candidate frequency points according to the number of valid frames in the multiple audio frames.

[0076] Understandably, it is necessary to obtain audio signals at candidate frequency points before framing the audio signal.

[0077] For example, the controller extracts the audio signal of the most recent 10 seconds (480,000 samples in total) from the pulse code modulation (PCM) audio ring buffer, and divides it into frames with a frame length of 20ms (960 samples / frame) and 50% overlap (480 samples per step), resulting in approximately 200 frames.

[0078] For each audio frame, calculate the root mean square (RMS) value of the audio frame, convert the RMS value to decibels relative to full scale (dBFS), and determine the dBFS as the decibel value of the audio frame.

[0079] In one possible implementation, determining the activity index of the candidate frequency point based on the number of valid frames in the multiple audio frames includes: determining the activity index of the candidate frequency point as the ratio of the number of valid frames to the total number of multiple audio frames.

[0080] Understandably, the activity index ranges from [0, 1].

[0081] The presence of sound in an audio frame can be determined by its decibel value, and the validity of its content can be determined by the similarity between the audio frame and a preset signal. By judging the validity of an audio frame from both the sound and content perspectives, the presence of a real program in the audio signal can be accurately detected, thus improving the accuracy of valid frequency point detection.

[0082] In some embodiments, determining whether each audio frame is a valid frame based on the decibel value of each audio frame in a plurality of audio frames and the sound similarity with a preset signal includes: determining the audio frame as a valid frame when the decibel value of the audio frame is greater than a first decibel threshold and the sound similarity of the audio frame with the preset signal is greater than a preset similarity threshold.

[0083] For example, the first decibel threshold is -55dB.

[0084] As a concrete example, a radio station that continuously broadcasts news has an audio signal activity index of approximately 0.95 on that frequency; however, a test station with only a 50Hz humming sound, although the audio frames on that frequency meet the decibel requirement, do not meet the sound similarity requirement, so the audio signal activity index on that frequency is 0.

[0085] The criteria for determining whether an audio frame is a valid frame are clearly defined, ensuring that the detected valid frames not only have sound but also have valid content.

[0086] In some embodiments, the preset signal includes a preset human voice signal and / or a preset music signal.

[0087] For example, a preset human voice signal is used to simulate a typical human voice spectrum, with energy concentrated in the 300Hz–3400Hz range and energy attenuation in other frequency bands. A preset music signal is used to simulate a broadband music signal, with a relatively flat energy distribution covering the 50Hz–15000Hz range.

[0088] The above determination of the similarity between any audio frame and a preset signal includes: determining the similarity between any audio frame and a preset human voice signal; and / or, determining the similarity between any audio frame and a preset music signal.

[0089] For example, for each audio frame, a 512-point Fast Fourier Transform (FFT) is performed on the audio frame to extract the amplitude spectrum of the 0–15kHz frequency band. The cosine similarity between this amplitude spectrum and a preset human voice signal is determined as the similarity between the audio frame and the preset human voice signal; the cosine similarity between this amplitude spectrum and a preset music signal is determined as the similarity between the audio frame and the preset music signal.

[0090] The similarity between the audio frame and the preset signal is greater than a preset similarity threshold, including: the similarity between the audio frame and the preset human voice signal is greater than a first similarity threshold and / or the similarity between the audio frame and the preset music signal is greater than a second similarity threshold.

[0091] For example, the first similarity threshold is 0.6; the second similarity threshold is 0.5.

[0092] Thus, the criteria for determining a valid frame are clarified when the preset signal includes a preset human voice signal and / or a preset music signal.

[0093] In some embodiments, the method further includes: acquiring the baseband signal of the candidate frequency point; determining the continuity index of the candidate frequency point based on the baseband signal, wherein the continuity index is used to indicate the degree of continuity of the baseband signal of the candidate frequency point in the time domain and frequency domain; and detecting whether the candidate frequency point is a valid frequency point based on the physical layer parameters, the activity index, and the continuity index.

[0094] Because the instantaneous frequency changes of a pure FM baseband signal are smooth and semantically continuous, while interfering signals exhibit high-frequency jitter or structural disorder, a continuity index is determined based on the continuity of the baseband signal in both the time and frequency domains. This allows for the detection of co-channel interference without relying on pilots or channel structure. The effective frequency points determined based on the continuity index, activity index, and physical layer parameters ensure that genuine programs exist at those frequencies while minimizing co-channel interference between radio stations, thus improving the user's listening experience.

[0095] In some embodiments, the above-mentioned determination of the continuity index of candidate frequency points based on the baseband signal includes: performing a first-order difference operation on the instantaneous phase of the baseband signal to obtain an instantaneous frequency deviation sequence; performing a fast Fourier transform on the instantaneous frequency deviation sequence to obtain the spectral distribution result of the baseband signal; determining the continuity of the baseband signal in the frequency domain based on the spectral distribution result; performing stability analysis on the baseband signal to obtain the continuity of the baseband signal in the time domain; and determining the continuity index based on the continuity of the baseband signal in the frequency domain and the continuity in the time domain.

[0096] For example, a 2-second continuous baseband signal (comprising 512,000 complex samples) is obtained from the IQ buffer. This baseband signal satisfies the following formula 1.

[0097] z(n) = I(n) + jQ(n) Formula 1 In the formula, n represents the sampling sequence number; I(n) represents the in-phase component; and Q(n) represents the quadrature component.

[0098] Based on the above formula 1, the instantaneous phase of the baseband signal is calculated, and the instantaneous phase of the baseband signal satisfies the following formula 2.

[0099] φ(n)=arctan2(Q(n),I(n))Formula 2 Performing a first-order difference operation on Equation 2 above yields the instantaneous frequency deviation sequence. This instantaneous frequency deviation sequence satisfies Equation 3 below.

[0100] f inst (n)=[φ(n)-φ(n-1)] / (2πT s )Formula 3 In the formula, T s T represents the sampling period. s =1 / 256000.

[0101] The instantaneous frequency deviation sequence was divided into windows of length 1024 with 50% overlap. A Hanning window was applied to each window, followed by a Fast Fourier Transform to obtain the spectral distribution. This spectral distribution characterizes the continuity of the baseband signal in the frequency domain at different times. The time axis resolution of the spectral distribution is approximately 2 ms, and the frequency axis resolution is 125 Hz.

[0102] In one possible implementation, the above-mentioned stability analysis of the baseband signal to obtain the continuity of the baseband signal in the time domain includes: performing stability analysis on the baseband signal to obtain the average inter-frame Pearson correlation coefficient, which is used to indicate the continuity of the baseband signal in the time domain.

[0103] The average inter-frame Pearson correlation coefficient ranges from [0,1]. The larger the average inter-frame Pearson correlation coefficient, the more stable the baseband signal is in the time domain.

[0104] In one possible implementation, the continuity index is determined based on the continuity of the baseband signal in the frequency domain and the continuity in the time domain, including: determining the continuity index based on the Shannon entropy and the average inter-frame Pearson correlation coefficient of the spectral distribution results.

[0105] For example, the Shannon entropy of this spectral distribution result satisfies the following formula 4.

[0106] H=-∑p i log2p i Formula 4 In the formula, p i This represents the proportion of energy at the i-th frequency point in the total energy in the spectral distribution. For ease of subsequent calculations, the Shannon entropy is mapped to the interval [0,1].

[0107] The continuity index satisfies the following formula 5.

[0108] TFCI = 0.6 × (1 - ρ) + 0.4 × H (Formula 5) In the formula, TFCI represents the continuity index; ρ represents the average inter-frame Pearson correlation coefficient; and H represents the Shannon entropy.

[0109] The larger the continuity index, the looser the baseband signal is in the time and frequency domains; the smaller the continuity index, the more continuous the baseband signal is in the time and frequency domains.

[0110] As an example, for a clean signal, the average inter-frame Pearson correlation coefficient is approximately 0.95, the Shannon entropy is approximately 0.2, and the continuity index is 0.1; for a strong interference signal, the average inter-frame Pearson correlation coefficient is approximately 0.4, the Shannon entropy is approximately 0.8, and the continuity index is approximately 0.84.

[0111] The continuity index, calculated based on the continuity of the baseband signal in both the frequency domain and the frequency domain, overcomes the limitations of a single dimension. Furthermore, it allows for the differentiation between interference and useful signals using only the baseband signal itself, without relying on prior parameters.

[0112] In some embodiments, the above-mentioned detection of whether a candidate frequency point is a valid frequency point based on physical layer parameters, activity index, and continuity index includes: determining the validity score of the candidate frequency point based on the activity index, continuity index, and physical layer parameters; and determining the candidate frequency point as a valid frequency point when the validity score, activity index, and continuity index meet the validity conditions.

[0113] The validity criteria include a validity score greater than or equal to the score threshold, an activity index greater than or equal to the activity threshold, and a continuity index less than or equal to the continuity threshold.

[0114] For example, taking physical layer parameters including RSSI, SNR, and MDM as an example, the above-mentioned determination of the effectiveness score of candidate frequency points based on activity index, continuity index, and physical layer parameters includes: determining the target RSSI based on RSSI and the first mapping relationship; determining the target SNR based on SNR and the second mapping relationship; determining the target MDM based on MDM and the third mapping relationship; determining the difference between 1 and the continuity index as the first difference value; and weighted summing the target RSSI, target SNR, target MDM, activity index, and the first difference value to obtain the effectiveness score.

[0115] The first mapping relationship is used to characterize the correspondence between RSSI and the target RSSI.

[0116] Considering that in practical wireless environments, an RSSI of -60dBm already represents a very high received signal strength, and further increases in RSSI do not provide additional information gain, -60dBm is set as the saturation point; -110dBm is close to the sensitivity limit. In this case, the target RSSI satisfies the following formula 6.

[0117] f(RSSI)=min((RSSI+110) / 50,1) (Formula 6) In the formula, f(RSSI) represents the target RSSI.

[0118] The second mapping relationship is used to characterize the correspondence between SNR and target SNR.

[0119] For audio signals, a higher signal-to-noise ratio (SNR) results in a better listening experience for the user. However, when the SNR exceeds 30dB, the improvement in the user's listening experience is not significant, so 30dB is set as the saturation point. Under this condition, the target SNR satisfies the following formula 7.

[0120] f(SNR) = min(SNR / 30, 1) (Formula 7) In the formula, f(SNR) represents the target SNR.

[0121] The third mapping relationship is used to characterize the correspondence between the MDM and the target MDM.

[0122] For audio signals, a higher MDM value indicates more severe distortion and worse sound quality. When the MDM value is greater than 50, it indicates that the signal is completely distorted and essentially unlistenable. Under this condition, the target MDM satisfies the following formula 8.

[0123] f(MDM) = 1 - min(MDM / 50, 1) (Formula 8) In the formula, f(MDM) represents the target MDM.

[0124] The first difference satisfies the following formula 9.

[0125] f(TFCI) = 1 - TFCI (Formula 9) In the formula, f(TFCI) represents the first difference; TFCI represents the continuity index.

[0126] Based on formulas 6 to 9 above, the validity score satisfies formula 10 below.

[0127] Q=0.30×f(SNR)+0.15×f(RSSI)+0.15×f(MDM)+0.20×eAAL+0.20×f(TFCI) Formula 10 In the formula, Q represents the validity score; eAAL represents the activity index.

[0128] For example, the scoring threshold is 0.6.

[0129] The activity threshold is used to determine whether there are any real programs on a candidate frequency. When the activity index is greater than or equal to the activity threshold, it indicates that there are almost no real programs on that candidate frequency. When the activity index is less than the activity threshold, it indicates that there are almost no real programs on that candidate frequency. For example, the activity threshold is 0.15.

[0130] The continuity index is used to determine whether severe co-channel interference exists on candidate frequency points. When the continuity index is less than or equal to the continuity threshold, it indicates that there is no severe co-channel interference on the candidate frequency point. When the continuity index is greater than the continuity threshold, it indicates that there is severe co-channel interference on the candidate frequency point. For example, the continuity threshold is 0.8.

[0131] The validity criteria ensure that even with good physical layer parameters, stations without programming or experiencing strong interference will not be listened to by users. Valid frequencies selected based on these criteria are not only searchable by users, but also meet the requirements of having actual programming on those frequencies without severe co-channel interference, thus improving the robustness of station detection and enhancing the user's listening experience.

[0132] Figure 4 This is a schematic flowchart illustrating another radio station detection method provided in an embodiment of this disclosure. Figure 4 As shown, the method includes: S401. In response to the channel search command, perform a channel search operation and determine the searched frequency points as candidate frequency points.

[0133] S402. Obtain the physical layer parameters, audio signal, and baseband signal of the candidate frequency points.

[0134] S403. Based on the audio signals of the candidate frequency points, determine the activity index of the candidate frequency points.

[0135] S404. Based on the baseband signal of the candidate frequency points, determine the continuity index of the candidate frequency points.

[0136] S405. Based on the activity index, continuity index, and physical layer parameters, determine the effectiveness score of the candidate frequency points.

[0137] S406. Determine whether the validity score, activity index, and continuity index meet the validity conditions. If yes, proceed to S407; otherwise, proceed to S408.

[0138] S407. When the validity score, activity index, and continuity index meet the validity conditions, the candidate frequency points are determined as valid frequency points.

[0139] S408. When the validity score, activity index, and continuity index do not meet the validity conditions, the candidate frequency points are determined to be non-valid frequency points.

[0140] Figure 5 This is a flowchart illustrating a radio station list update process provided in an embodiment of this disclosure. Figure 5 As shown, the above method also includes: S501. Under the condition that the preset conditions are met, detect whether some or all of the frequency points in the radio station list constructed based on the effective frequency points meet the removal conditions.

[0141] For example, the radio station list can be constructed in ascending order of the effective frequencies.

[0142] The preset conditions include at least one of the following: (1) Preset update cycle.

[0143] For example, according to a preset update cycle, the frequency points in the radio station list are periodically checked to see if they meet the removal conditions.

[0144] For example, the default update cycle is 5 minutes.

[0145] (2) The absolute value of the difference between the physical layer parameter of the current frequency point and the physical layer parameter of the most recent frequency point is greater than the parameter threshold.

[0146] When the absolute value of the difference between the current physical layer parameters of a frequency point and the most recent physical layer parameters is greater than the parameter threshold, it indicates that the physical layer parameters of that frequency point have changed drastically. In this case, it usually indicates that a new radio station has started broadcasting or an old radio station has stopped broadcasting.

[0147] For example, physical layer parameters include at least one of RSSI, SNR, and MDM.

[0148] The absolute value of the difference between the physical layer parameters of the current frequency point and the physical layer parameters of the most recent frequency point is greater than the parameter threshold: The absolute value of the difference between the current RSSI and the most recent RSSI at the current frequency point is greater than the intensity threshold; The absolute value of the difference between the current SNR and the most recent SNR at a frequency point is greater than the signal-to-noise ratio threshold; The absolute value of the difference between the current MDM and the most recent MDM at the current frequency point is greater than the distortion threshold.

[0149] Taking a physical layer parameter including RSSI and a scan count of two times as an example, after the first full scan of the radio frequency band (e.g., when manually triggered by the user or when the radio is first started), a snapshot of the RSSI for the entire frequency band is stored. For example, for the 87.5–108.0MHz frequency band, a scan is performed at a step size of 0.1MHz, resulting in a total of 206 frequency points. When acquiring the RSSI of each frequency point for the second time, if the absolute value of the difference between the RSSI of a valid frequency point and the first RSSI is greater than the RSSI threshold (e.g., 15dB), it indicates that the frequency point has a large fluctuation. The frequency point is then re-checked to see if it meets the removal criteria, and then a decision is made on whether to remove the frequency point based on the check results.

[0150] When the absolute value of the difference between the physical layer parameters of the current frequency point and the physical layer parameters of the most recent frequency point is greater than the parameter threshold, an incremental scan will be automatically performed without user intervention, so as to detect local changes in the spectrum environment with minimal overhead.

[0151] In addition, to reduce scanning time, a maximum of M frequency points are checked at a time to see if they meet the removal conditions. If the number of frequency points to be checked is greater than M, the first M points are processed in descending order of their change magnitude, and the rest are processed again later.

[0152] M is a positive integer. For example, M is 10.

[0153] (3) Received the instruction to update the list.

[0154] For example, a user triggers a command to rescan for channels.

[0155] It should be noted that, in order to reduce the power consumption of the radio, the controller usually does not actively initiate a full scan.

[0156] S502. Remove the frequency points that meet the removal conditions from the radio station list.

[0157] In this way, by setting the conditions for updating and removing the radio station list, daily maintenance of the radio station list can be achieved, solving the problem of the radio station list becoming rigid and ensuring that the radio station list is always up-to-date.

[0158] In some embodiments, the removal conditions include any of the following: (1) The difference between the validity score of the current frequency point and the validity score of the most recent frequency point is less than the difference threshold.

[0159] When the difference between the current validity score and the most recent validity score of a frequency point is less than the difference threshold, it indicates that the validity score of that frequency point has plummeted, and there may be severe signal quality degradation or severe interference at that frequency point.

[0160] Furthermore, for ease of calculation, the aforementioned effectiveness score can be calculated based on physical layer parameters, activity index, and continuity index. The physical layer parameters include any one of RSSI, SNR, and MDM.

[0161] (2) The number of times the frequency point does not meet the validity condition is greater than or equal to the number threshold.

[0162] For example, the number of times threshold is 1 time or more.

[0163] When the threshold number is 1, the number of times the controller makes judgments can be reduced, thus saving overhead.

[0164] When the count threshold is greater than 1, if a frequency in the radio station list does not meet the validity criteria, the frequency is added to a limited-capacity (e.g., 20) first-in-first-out (FIFO) buffer queue. This buffer queue stores radio stations that are suspected of being recently invalid but worth retrying. When the list update condition is met, the frequency is checked again to see if it meets the validity criteria. If it does, the frequency is removed from the buffer queue; if not, it is checked whether the number of times the validity criteria are not met is greater than or equal to the count threshold. If it is, the frequency is removed from the radio station list; if it is less, the frequency is placed at the end of the buffer queue, awaiting the next round of validity condition checks.

[0165] For example, each frequency entering the buffer queue is accompanied by a retry counter, initially set to 0. When the frequency no longer meets the validity criteria, the retry counter is incremented by 1. When the retry counter reaches the threshold number of attempts and is decremented by 1, the radio station is considered permanently invalid (e.g., discontinued or relocated), and is removed from the buffer queue and the radio station list.

[0166] When the number of attempts threshold is greater than 1, it can prevent effective frequency points from being deleted immediately due to brief signal fading (e.g., entering a tunnel), thus reducing the possibility of accidental deletion.

[0167] This clarifies when to remove frequencies from the radio station list, ensuring that all frequencies remaining in the list are valid.

[0168] In some embodiments, the method further includes: when the frequency on which the vehicle radio is stationed is the first valid frequency in the radio station list, automatically playing the last valid frequency in the radio station list in response to an instruction to play the previous radio station; or, when the frequency on which the vehicle radio is stationed is the last valid frequency in the radio station list, automatically playing the first valid frequency in the radio station list in response to an instruction to play the next radio station.

[0169] For example, the radio station list is stored in the form of a doubly linked circular list. The next pointer of the tail node points to the head node, and the prev pointer of the head node points to the tail node. That is, in the radio station list, the frequency preceding the first valid frequency is the last valid frequency, and the frequency following the last valid frequency is the first valid frequency.

[0170] The radio detection system maintains a global pointer `current_station`, initially set to NULL. After a user selects a radio station, `current_station` points to the corresponding node. Subsequently, for "previous" / "next" operations, the user only needs to perform a pointer jump (e.g., `current_station = current_station->next`) to automatically switch frequencies, eliminating the need to traverse or query the list. The radio switching latency is less than 10 milliseconds.

[0171] This achieves seamless connection between the first and last frequencies in the radio station list, improving convenience and user experience.

[0172] In some embodiments, the method further includes: when the candidate frequency point is an invalid frequency point, re-acquiring the physical layer parameters of the invalid frequency point; when the absolute value of the difference between the current physical layer parameter of the invalid frequency point and the physical layer parameter most recently obtained is greater than the parameter threshold, detecting whether the invalid frequency point meets the validity condition; and re-determining the invalid frequency point that meets the validity condition as a valid frequency point.

[0173] For example, physical layer parameters include at least one of RSSI, SNR, and MDM.

[0174] The absolute value of the difference between the physical layer parameters of the current non-effective frequency and the physical layer parameters most recently obtained is greater than the parameter threshold, including at least one of the following: The absolute value of the difference between the current RSSI of a non-effective frequency and the RSSI most recent one is greater than the intensity threshold; The absolute value of the difference between the current SNR of a non-effective frequency and the SNR of the most recent frequency is greater than the signal-to-noise ratio threshold. The absolute value of the difference between the current MDM and the most recent MDM at a non-effective frequency point is greater than the distortion threshold.

[0175] After determining the invalid frequency as a valid frequency, add it to the radio station list.

[0176] In this way, misjudgments caused by instantaneous fading or interference can be avoided, which may further enable dynamic updating and maintenance of the radio station list and prevent the permanent loss of available frequencies.

[0177] The radio detection method described above can run in real time on embedded platforms such as ARM Cortex-M7, reducing CPU usage.

[0178] The foregoing primarily describes the solutions of the embodiments of this disclosure from a methodological perspective. It is understood that, in order to achieve the aforementioned functions, the radio detection device includes at least one of the hardware structures and software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure.

[0179] This disclosure embodiment can divide the radio detection device into functional modules according to the above method embodiment. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one functional module. The integrated module can be implemented in hardware or software. It should be noted that the module division in this disclosure embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. The following description uses the example of dividing each functional module according to each function.

[0180] Figure 6 This is a schematic diagram of a radio station detection device provided in an embodiment of the present disclosure, which can perform the radio station detection method provided in the above-described method embodiments. Figure 6 As shown, the radio detection device 600 includes: a first determination module 601, an acquisition module 602, a second determination module 603, and a detection module 604.

[0181] In some embodiments, the first determining module 601 is used to perform a station search operation in response to a station search command and determine the searched frequency points as candidate frequency points; the obtaining module 602 is used to obtain the physical layer parameters of the candidate frequency points; the second determining module 603 is used to determine the activity index of the audio signal of the candidate frequency points; and the detection module 604 is used to detect whether the candidate frequency points are valid frequency points based on the physical layer parameters and the activity index.

[0182] In some embodiments, the second determining module 603 is configured to: divide the audio signal into frames to obtain multiple audio frames; determine whether each audio frame is a valid frame based on the decibel value of each audio frame in the multiple audio frames and the sound similarity with a preset signal; and determine the activity index of the candidate frequency points according to the number of valid frames in the multiple audio frames.

[0183] In some embodiments, the second determining module 603 is configured to: determine an audio frame as a valid frame when the decibel value of the audio frame is greater than a first decibel threshold and the sound similarity between the audio frame and a preset signal is greater than a preset similarity threshold.

[0184] In some embodiments, the preset signal includes a preset human voice signal and / or a preset music signal, and the similarity between the audio frame and the preset signal is greater than a preset similarity threshold, including: the similarity between the audio frame and the preset human voice signal is greater than a first similarity threshold and / or the similarity between the audio frame and the preset music signal is greater than a second similarity threshold.

[0185] In some embodiments, the above-described apparatus further includes a processing module, configured to: acquire the baseband signal of the candidate frequency point; determine the continuity index of the candidate frequency point based on the baseband signal, wherein the continuity index is used to indicate the degree of continuity of the baseband signal of the candidate frequency point in the time domain and frequency domain; and detect whether the candidate frequency point is a valid frequency point based on the physical layer parameters, the activity index, and the continuity index.

[0186] In some embodiments, the processing module is configured to: perform a first-order difference operation on the instantaneous phase of the baseband signal to obtain an instantaneous frequency deviation sequence; perform a fast Fourier transform on the instantaneous frequency deviation sequence to obtain the spectral distribution result of the baseband signal; determine the continuity of the baseband signal in the frequency domain based on the spectral distribution result; perform stability analysis on the baseband signal to obtain the continuity of the baseband signal in the time domain; and determine the continuity index based on the continuity of the baseband signal in the frequency domain and the continuity in the time domain.

[0187] In some embodiments, the processing module is configured to: determine the validity score of the candidate frequency points based on the activity index, the continuity index, and the physical layer parameters; and determine the candidate frequency points as valid frequency points when the validity score, the activity index, and the continuity index meet the validity conditions; wherein the validity conditions include the validity score being greater than or equal to the score threshold, the activity index being greater than or equal to the activity threshold, and the continuity index being less than or equal to the continuity threshold.

[0188] In some embodiments, the processing module is further configured to: detect whether some or all frequency points in the radio station list constructed based on valid frequency points meet the removal conditions if preset conditions are met; remove the frequency points that meet the removal conditions from the radio station list; wherein the preset conditions include at least one of the following: preset update period; the absolute value of the difference between the physical layer parameter of the frequency point in this instance and the physical layer parameter in the most recent instance is greater than the parameter threshold; and receive an instruction to update the list.

[0189] In some embodiments, the removal conditions include: the difference between the validity score of the frequency point in this instance and the validity score most recently received is less than a difference threshold; or, the number of times the frequency point does not meet the validity conditions is greater than or equal to a number threshold.

[0190] In some embodiments, the processing module is further configured to: when the frequency on which the vehicle radio is stationed is the first valid frequency in the radio station list, automatically play the last valid frequency in the radio station list in response to the instruction to play the previous radio station; or, when the frequency on which the vehicle radio is stationed is the last valid frequency in the radio station list, automatically play the first valid frequency in the radio station list in response to the instruction to play the next radio station.

[0191] In some embodiments, the processing module is further configured to: when the candidate frequency point is an invalid frequency point, re-acquire the physical layer parameters of the invalid frequency point; when the absolute value of the difference between the current physical layer parameter of the invalid frequency point and the physical layer parameter most recently obtained is greater than the parameter threshold, detect whether the invalid frequency point meets the validity condition; and re-determine the invalid frequency point that meets the validity condition as a valid frequency point.

[0192] In the case of implementing the functions of the integrated modules described above in hardware, this disclosure provides a possible structure for the control device involved in the above embodiments. Figure 7 This is a schematic diagram of a control device provided in an embodiment of this disclosure. Figure 7 As shown, the control device 700 includes a processor 702 and a bus 704. Optionally, the control device may also include a memory 701; alternatively, the control device 700 may also include a communication interface 703.

[0193] Processor 702 may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with embodiments of this disclosure. Processor 702 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with embodiments of this disclosure. Processor 702 may also be a combination of functions implementing computation, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0194] The communication interface 703 is used to connect to other devices via a communication network. This communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0195] The memory 701 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0196] In one possible implementation, the memory 701 can exist independently of the processor 702. The memory 701 can be connected to the processor 702 via a bus 704 and is used to store instructions or program code. When the processor 702 calls and executes the instructions or program code stored in the memory 701, it can implement the radio detection method provided in this embodiment. In another possible implementation, the memory 701 can also be integrated with the processor 702.

[0197] The 704 bus can be an extended industry standard architecture (EISA) bus, etc. The 704 bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 7 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0198] Some embodiments of this disclosure provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium) storing computer program instructions that, when executed on a processor, cause the processor to perform a radio detection method as described in any of the above embodiments.

[0199] Exemplary examples show that the aforementioned computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or magnetic tapes), optical discs (e.g., compact disks (CDs), digital versatile disks (DVDs), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROMs), cards, sticks, or key drives, etc.). The various computer-readable storage media described in this disclosure may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.

[0200] This disclosure provides a computer program product containing instructions that, when run on a processor, cause the processor to execute the radio detection method described in any of the above embodiments.

[0201] This disclosure provides a vehicle including the control device of any of the preceding embodiments; or the computer-readable storage medium of any of the preceding embodiments; or the computer program product of any of the preceding embodiments.

[0202] The vehicle provided in this application may be a passenger vehicle or a freight vehicle, and may also be an electric vehicle or a hybrid vehicle. This application does not limit the specific purpose or power type of the vehicle, and the choice can be made according to actual needs.

[0203] In some examples, a vehicle consists of a body and wheels. The body is used for passengers and for carrying goods, while the wheels are mounted underneath the body to support it and allow it to roll on the road surface, thus enabling the vehicle to move.

[0204] In some possible examples, the vehicle is equipped with a control system, which typically adopts a layered distributed architecture. From the bottom layer to the top layer, it can be roughly divided into a perception layer, a control layer, a coordination layer, and an interaction layer. The layers communicate with each other through an in-vehicle network.

[0205] The perception layer mainly consists of various sensors distributed inside and outside the vehicle, including but not limited to external environment cameras, millimeter-wave radar, lidar, ultrasonic sensors, in-vehicle driver monitoring cameras, microphone arrays, and various vehicle status sensors (such as wheel speed sensors, inertial measurement units, temperature sensors, etc.). The perception layer is responsible for collecting multi-dimensional data such as the vehicle's own operating status, driver behavior, and external driving environment in real time.

[0206] The control layer consists of dozens to hundreds of electronic control units (ECUs), distributed across multiple functional domains including powertrain, chassis, body, intelligent driving, and infotainment. Each ECU embeds real-time control software that performs closed-loop control of the vehicle's actuators based on preset control strategies or upper-level commands, and generates corresponding alarm signals when abnormal conditions are detected. Typical ECUs include the engine control unit, transmission control unit, brake control unit, steering control unit, vehicle stability control unit, airbag control unit, intelligent driving domain controller, and in-vehicle infotainment unit.

[0207] The coordination layer typically exists in the form of a domain controller or a central computing platform, responsible for cross-domain data fusion, global state management, and collaborative decision-making. The coordination layer centrally processes and schedules the sensing data and control commands that were originally scattered across various functional domains, connecting downwards to various electronic control units and supporting human-machine interaction functions upwards.

[0208] The interaction layer mainly includes in-cabin display devices (such as instrument panel, central control screen, head-up display), voice interaction system, haptic feedback device, etc., which are responsible for presenting vehicle status, warning information and driving suggestions to the driver in the form of visual, auditory or tactile, while receiving the driver's touch, voice and other input commands.

[0209] Data transmission and interaction between different layers are achieved through the vehicle bus network. Common vehicle bus protocols include CAN (Controller Area Network), CAN FD (CAN with Flexible Data-Rate), LIN (Local Interconnect Network), FlexRay, and vehicle Ethernet, which supports high-bandwidth data transmission. Among these, CAN and CAN FD buses are widely used for communication in real-time control domains such as powertrain and chassis, while vehicle Ethernet is gradually being applied to high-bandwidth sensor data transmission in the intelligent driving domain and multimedia interaction scenarios in the cockpit domain.

[0210] In some possible examples, the in-vehicle infotainment unit, as the core of the in-vehicle computing platform, is equipped with a processor and memory to execute the radio detection method provided in the embodiments of this application.

[0211] For example, the control device of this application is arranged in the in-vehicle infotainment unit.

[0212] For example, the in-vehicle infotainment unit is equipped with multiple functional modules for performing the various method steps.

[0213] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.

Claims

1. A radio station detection method, characterized in that, The method includes: In response to the channel search command, a channel search operation is performed, and the searched frequencies are identified as candidate frequencies; Obtain the physical layer parameters of the candidate frequency points; Determine the activity index of the audio signal at the candidate frequency points; The candidate frequency points are determined to be valid based on the physical layer parameters and the activity index.

2. The method according to claim 1, characterized in that, The process of determining the activity index of the audio signal at the candidate frequency points includes: The audio signal is divided into frames to obtain multiple audio frames; Based on the decibel value of each audio frame in the plurality of audio frames and the sound similarity with the preset signal, it is determined whether each audio frame is a valid frame; The activity index of the candidate frequency points is determined based on the number of valid frames among the multiple audio frames.

3. The method according to claim 2, characterized in that, The step of determining whether each audio frame is a valid frame based on the decibel value of each audio frame and its sound similarity to a preset signal includes: When the decibel value of the audio frame is greater than a first decibel threshold, and the audio frame has a sound similarity to the preset signal greater than a preset similarity threshold, the audio frame is determined to be a valid frame.

4. The method according to claim 3, characterized in that, The preset signal includes a preset human voice signal and / or a preset music signal, wherein the audio frame has a sound similarity greater than a preset similarity threshold with the preset signal, including: The similarity between the audio frame and the preset human voice signal is greater than a first similarity threshold and / or the similarity between the audio frame and the preset music signal is greater than a second similarity threshold.

5. The method according to claim 1, characterized in that, The method further includes: Obtain the baseband signal of the candidate frequency points; Based on the baseband signal, a continuity index for the candidate frequency points is determined. The continuity index is used to indicate the degree of continuity of the baseband signal of the candidate frequency points in the time domain and frequency domain. Based on the physical layer parameters, the activity index, and the continuity index, it is determined whether the candidate frequency point is a valid frequency point.

6. The method according to claim 5, characterized in that, Determining the continuity index of the candidate frequency points based on the baseband signal includes: Perform a first-order difference operation on the instantaneous phase of the baseband signal to obtain an instantaneous frequency deviation sequence; The baseband signal's spectral distribution is obtained by performing a Fast Fourier Transform on the instantaneous frequency deviation sequence. The continuity of the baseband signal in the frequency domain is determined based on the spectral distribution results. The stability of the baseband signal is analyzed to obtain the continuity of the baseband signal in the time domain; The continuity index is determined based on the continuity of the baseband signal in the frequency domain and the continuity in the time domain.

7. The method according to claim 5, characterized in that, The step of detecting whether the candidate frequency points are valid frequency points based on the physical layer parameters, the activity index, and the continuity index includes: Based on the activity index, the continuity index, and the physical layer parameters, the effectiveness score of the candidate frequency points is determined; When the validity score, the activity index, and the continuity index meet the validity conditions, the candidate frequency point is determined as the valid frequency point; The validity conditions include that the validity score is greater than or equal to the score threshold, the activity index is greater than or equal to the activity threshold, and the continuity index is less than or equal to the continuity threshold.

8. The method according to any one of claims 1 to 7, characterized in that, The method further includes: Under the condition that the preset conditions are met, it is detected whether some or all of the frequency points in the radio station list constructed based on the effective frequency points meet the removal conditions; Remove the frequency points that meet the removal conditions from the radio station list; The preset conditions include at least one of the following: Preset update cycle; The absolute value of the difference between the physical layer parameters of the current frequency point and the physical layer parameters of the most recent frequency point is greater than the parameter threshold. Received instruction to update the list.

9. The method according to claim 8, characterized in that, The removal conditions include: The difference between the validity score of the current frequency point and the validity score most recently is less than the difference threshold. Alternatively, the number of times the frequency point fails to meet the validity condition is greater than or equal to the number threshold.

10. The method according to claim 8 or 9, characterized in that, The method further includes: If the frequency on which the car radio is hosted is the first valid frequency in the radio station list, in response to the instruction to play the previous station, the last valid frequency in the radio station list is automatically played; or, If the frequency on which the car radio is stationed is the last valid frequency in the radio station list, the first valid frequency in the radio station list will be played automatically in response to the instruction to play the next radio station.

11. The method according to claim 1, characterized in that, The method further includes: If the candidate frequency point is an ineffective frequency point, the physical layer parameters of the ineffective frequency point are reacquired. When the absolute value of the difference between the physical layer parameter of the current ineffective frequency point and the physical layer parameter of the most recent time is greater than the parameter threshold, the validity condition of the ineffective frequency point is detected. Invalid frequency points that meet the validity conditions are redefined as valid frequency points.

12. A radio station detection device, characterized in that, The device includes: The first determining module is used to respond to the station search command, perform the station search operation, and determine the searched frequency points as candidate frequency points; The acquisition module is used to acquire the physical layer parameters of the candidate frequency points; The second determining module is used to determine the activity index of the audio signal of the candidate frequency points; The detection module is used to detect whether the candidate frequency points are valid frequency points based on the physical layer parameters and the activity index.

13. A control device, characterized in that, The control device includes: a memory and a processor; the memory and the processor are coupled; the memory is used to store instructions executable by the processor; when the processor executes the instructions, it performs the radio detection method as described in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on an electronic device, cause the electronic device to perform the radio detection method as described in any one of claims 1 to 11.

15. A computer program product, characterized in that, It includes a computer program; when the computer program is executed, it is capable of implementing the radio detection method as described in any one of claims 1 to 11.

16. A vehicle, characterized in that, Includes the control device as claimed in claim 13; or the computer-readable storage medium as claimed in claim 14; or the computer program product as claimed in claim 15.