A method, system, product, and media for automatic tuning of a broadcast terminal based on geographic location matching
Patent Information
- Application Number
- CN202610767396.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-29
- Publication Date
- 2026-09-11
AI Technical Summary
[0004]然而,一方面,静态获取的理论频率列表往往难以真实反映受地形遮挡等因素影响的复杂射频覆盖现状,导致终端常切换至实际不可用的死频点;另一方面,仅依赖信号跌破阈值才被动触发备用列表遍历的机制,在面临短暂信号波动或跨区移动时,易引发终端频繁的盲目试错和较长时间的业务断流,增加了终端重构有效接收状态的时间成本,最终导致自动调谐与恢复接收的稳定性不足
1、本申请通过利用实时位置与历史调谐成功率动态优选候选频率,并在接收中结合多维信号变化执行自动切换与经验更新闭环,使得终端能够基于历史经验有效规避无效频点,缩短底层搜台的时间开销;同时,动态的闭环反馈使得系统能自适应真实路况的电磁环境变化,实现信道资源的有效衔接补偿。减少了复杂地形下频繁搜台引发的音频断流与底噪,最终提高广播业务接收的稳定性。
Smart Images

Figure CN122740943A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication signal transmission and reception, and in particular to an automatic tuning method, system, product and medium for broadcast terminals based on geographic location matching. Background Technology
[0002] Currently, broadcast receiving terminals serve as an important medium for obtaining news, emergency warnings, and entertainment content, and are widely used in fields such as vehicle navigation and portable media. With the rapid development of intelligent transportation and mobile travel services, users' demand for continuous and stable broadcast information is increasing as they travel across different geographical areas and in complex driving environments.
[0003] In related technologies, frequency selection is typically performed using a combination of network location lookup and broadcast channel assistance. The smart terminal sends its current coordinates to a cloud server to obtain a list of theoretically available broadcast frequencies for playback. Simultaneously, while receiving programs, the terminal continuously parses the backup frequency list data attached to the current broadcast channel. When the underlying layer detects that the received signal strength has fallen below a preset fixed physical threshold, it automatically triggers the RF chip to traverse the backup list and switch to a frequency with a relatively stronger signal to attempt continued reception.
[0004] However, on the one hand, the statically obtained theoretical frequency list often fails to accurately reflect the complex radio frequency coverage situation affected by factors such as terrain obstruction, causing terminals to frequently switch to dead frequencies that are actually unusable; on the other hand, the mechanism that only passively triggers the backup list traversal when the signal drops below a threshold is prone to causing terminals to frequently engage in blind trial and error and experience prolonged service interruptions when faced with brief signal fluctuations or cross-regional movement, increasing the time cost for terminals to reconstruct an effective reception state, and ultimately leading to insufficient stability in automatic tuning and reception recovery. Summary of the Invention
[0005] This application provides a method, system, product, and medium for automatic tuning of broadcast terminals based on geographic location matching, for improving the stability of broadcast service reception.
[0006] The first aspect of this application provides an automatic tuning method for broadcast terminals based on geographic location matching, the method comprising: The system acquires current location information; matches the corresponding target broadcast information unit based on the current location information, and extracts a set of candidate broadcast frequencies from the target broadcast information unit; sorts the frequencies in the candidate broadcast frequency set according to the locally stored historical tuning success rate to generate a candidate frequency list; performs automatic tuning on the frequencies in the list in the order of the candidate frequency list, and acquires the reception quality index of the current tuning frequency; when the current tuning frequency meets the locking condition based on the reception quality index, it determines the current tuning frequency as the target reception frequency and establishes the current reception state; while maintaining the current reception state, it continuously monitors the real-time changes of real-time location information and reception quality index; when the real-time changes of real-time location information or reception quality index meet the preset switching conditions, it extracts a new candidate frequency as the target switching frequency and performs an automatic switching operation; records the operation results of automatic tuning and automatic switching, and updates the locally stored historical tuning success rate based on the operation results.
[0007] In the above embodiments, by dynamically selecting candidate frequencies using real-time location and historical tuning success rates, and combining multi-dimensional signal changes to perform automatic switching and experience update closed loops during reception, the terminal can effectively avoid invalid frequency points based on historical experience, reducing the time overhead of underlying station search. Simultaneously, the dynamic closed-loop feedback enables the system to adapt to changes in the electromagnetic environment of real-world road conditions, achieving effective connection and compensation of channel resources. This reduces audio interruptions and background noise caused by frequent station searches in complex terrain, ultimately improving the stability of broadcast service reception.
[0008] In conjunction with some embodiments of the first aspect, in some embodiments, when the real-time changes in real-time location information or reception quality indicators meet preset switching conditions, a new candidate frequency is extracted as the target switching frequency and an automatic switching operation is performed, specifically including: Calculate the offset of the real-time location information relative to the geographical boundary of the target broadcast information unit, and calculate the attenuation rate of the reception quality index; when it is determined that the attenuation rate is greater than the preset signal mutation threshold, and the offset indicator has not exceeded the geographical boundary, intercept the cross-regional handover command requesting a spare frequency from the adjacent broadcast information unit; extract the frequency with the second-highest historical tuning success rate from the candidate frequency list corresponding to the current target broadcast information unit as the target handover frequency and perform local automatic handover operation; when it is determined that the attenuation rate is greater than the signal mutation threshold, and the offset indicator has exceeded the geographical boundary, extract the candidate frequency from the adjacent broadcast information unit as the target handover frequency and perform cross-regional automatic handover operation.
[0009] In the above embodiments, by combining position offset and signal attenuation rate for two-dimensional joint verification, the system distinguishes between local terrain blind spots and actual cross-area states. When a sudden drop in signal occurs due to local physical obstruction, invalid cross-area requests are intercepted and a local frequency switch is directly performed. This reduces the unnecessary computing power overhead of initiating searches to irrelevant grids and avoids tuning logic oscillations caused by incorrect scheduling, thereby improving the accuracy of system handover decisions and the stability of reception status under complex obstructed terrain.
[0010] In conjunction with some embodiments of the first aspect, in some embodiments, after extracting a frequency with a second-highest historical tuning success rate from the candidate frequency list corresponding to the currently located target broadcast information unit as the target switching frequency and performing a local automatic switching operation, the method further includes: During the execution of local automatic switching operations, the system acquires the retuning failure results corresponding to the target switching frequency; accumulates the number of consecutive tuning failures in the candidate frequency list corresponding to the current target broadcast information unit; when the number of consecutive tuning failures reaches the preset blind zone judgment threshold and the offset continuously indicates that it has not exceeded the geographical boundary, the automatic tuning traversal operation of the remaining frequencies in the candidate frequency list is suspended, and the frequency status of the current radio frequency receiving channel is maintained for silent monitoring; the system intercepts the failure result recording instruction corresponding to the number of consecutive tuning failures and prohibits the failure results from updating the historical tuning success rate stored locally.
[0011] In the above embodiments, when a local blind zone scenario where tuning fails continuously without exceeding the boundary is identified, invalid station search traversal is actively suspended and feedback updates of failure records are intercepted. This not only prevents the underlying hardware from endlessly scanning in signal-free dead zones, reducing continuous background noise interference caused by blind switching, but also cuts off the erroneous data feedback chain under extreme physical environments, preventing high-quality spare frequencies within the grid from being downgraded due to accidental local obstruction (such as long tunnels). This avoids interference from abnormal environmental data with the historical tuning experience database, maintaining the objectivity and accuracy of the frequency evaluation system and the reliability of the long-term automatic tuning strategy.
[0012] In conjunction with some embodiments of the first aspect, in some embodiments, when the real-time changes in real-time location information or reception quality indicators meet preset switching conditions, a new candidate frequency is extracted as the target switching frequency and an automatic switching operation is performed, specifically including: When the real-time location information indicates a movement speed greater than a preset speed threshold and the movement direction points towards the geographical boundary of the target broadcast information unit, a cross-boundary time window is predicted based on the movement speed and direction. Before reaching the cross-boundary time window, the set of cross-regional frequencies corresponding to the adjacent broadcast information unit that is about to enter is obtained. Candidate frequencies with the same program identifier as the target receiving frequency are selected from the cross-regional frequency set as preloaded switching frequencies and written into the fast response buffer. When the real-time location information actually reaches the geographical boundary and the reception quality index shows a decay trend, the preset switching conditions are determined to be met. The reordering operation of the newly extracted frequencies is bypassed, and the preloaded switching frequency is called from the fast response buffer as the target switching frequency to perform the cross-regional automatic switching operation.
[0013] In the above embodiments, by reducing the data processing latency at the software computing level in traditional cross-area station search, the underlying radio frequency locking achieves a fast response, avoiding audio interruption and increased background noise that are easily caused at high-speed crossing signal boundaries, and improving the seamless connection capability and service reception continuity of cross-area radio frequency tuning.
[0014] In conjunction with some embodiments of the first aspect, in some embodiments, after performing cross-regional automatic handover operation by calling the preloaded handover frequency from the fast response cache as the target handover frequency, the method further includes: The system acquires the initial reception quality index after switching to the preloaded switching frequency. When the initial reception quality index is lower than the preset effective demodulation threshold, and the real-time location information indicates that the system is currently in the boundary buffer of the overlapping two adjacent broadcast information units, the system locks the current RF receiving channel at the preloaded switching frequency and cuts off the audio decoding output channel to enter a silent detection state. The system intercepts the retuning command triggered by the low initial reception quality index and suspends the tuning failure judgment for the preloaded switching frequency. In the silent detection state, the system continuously collects the real-time index of the preloaded switching frequency. When the system detects that the real-time index generates a continuous upward gradient and exceeds the effective demodulation threshold, the system restores the audio decoding output channel and establishes a stable reception state of the preloaded switching frequency within the adjacent broadcast information units.
[0015] In the above embodiments, by actively muting and intercepting rescan commands in weak signal areas during cross-regional handover, the physical law of signal natural rise as the vehicle enters a new area is utilized for delayed demodulation. This prevents the hardware from getting stuck in an ineffective and time-consuming full-band blind scan dead loop within the physical transition blind zone. It avoids frequent disconnections and increased noise floor caused by mechanical blind scanning, achieving a smooth transition and stable, continuous access for cross-regional broadcast services.
[0016] In conjunction with some embodiments of the first aspect, in some embodiments, the operation results of automatic tuning and automatic switching operations are recorded, and the historical tuning success rate stored locally is updated based on the operation results, specifically including: Extract the failure duration of consecutive failures in automatic tuning or automatic switching operations, and obtain the terminal's driving displacement within the failure duration; when the failure duration is greater than a preset duration threshold and the terminal's driving displacement is less than a preset displacement threshold, determine that the terminal is in a local dwelling blind zone, and do not use the current consecutive failure operation results to reduce the overall historical tuning success rate of the target broadcast information unit; bind the current consecutive failure operation results with the location coordinates of the local dwelling blind zone to generate a local exemption record.
[0017] In the above embodiments, by jointly verifying the duration of tuning failures and driving displacement, the actual road condition of the terminal in a local blind spot is identified, and the global score reduction is proactively exempted. This prevents undue interference to the overall data from a large number of invalid failed samples generated by the terminal in the dead zone, and prevents the undue weighting of originally available frequencies within the entire grid due to short-term traffic congestion or localized physical obstruction. This ensures the objectivity, authenticity, and accuracy of the historical tuning experience database, and enhances the anti-interference capability and long-term decision stability of the evaluation system in complex road network environments.
[0018] In conjunction with some embodiments of the first aspect, in some embodiments, when the real-time changes in real-time location information or reception quality indicators meet preset switching conditions, a new candidate frequency is extracted as the target switching frequency and an automatic switching operation is performed, specifically including: When the real-time location information indicates that the boundary of an adjacent broadcast information unit has been crossed, the time interval since the last boundary crossing is obtained. When the time interval is less than a preset time threshold, the candidate broadcast frequency set corresponding to the target broadcast information unit is retained and merged with the candidate broadcast frequency set corresponding to the newly entered broadcast information unit to generate a cross-regional fusion candidate pool. The frequency with the same program identifier as the target receiving frequency is extracted from the cross-regional fusion candidate pool as the target switching frequency, and an automatic switching operation is performed based on the cross-regional fusion candidate pool.
[0019] In the above embodiments, by merging the frequency pools of the old and new regions to generate a cross-regional fusion candidate pool for switching scheduling, the ping-pong effect caused by vehicles traveling along the boundary zone or positioning drift is alleviated, breaking the dead loop of frequent destruction and reconstruction between two independent frequency lists. This avoids the waste of computing power caused by repeated data reading, blocks the oscillation of the underlying tuning logic and repeated blind scan interruptions caused by list reset, and improves the terminal's anti-disturbance capability and reception continuity under complex boundary trajectories.
[0020] In a second aspect, embodiments of this application provide a geolocation-based automatic tuning system for broadcast terminals. The geolocation-based automatic tuning system for broadcast terminals includes one or more processors and a memory. The memory is coupled to the one or more processors and is used to store computer program code, which includes computer instructions. The one or more processors invoke the computer instructions to cause the geolocation-based automatic tuning system for broadcast terminals to perform the method described in the first aspect and any possible implementation thereof.
[0021] Thirdly, embodiments of this application provide a computer program product containing instructions that, when the computer program product is run on a geolocation-based automatic tuning system for broadcast terminals, cause the geolocation-based automatic tuning system for broadcast terminals to perform the method described in the first aspect and any possible implementation thereof.
[0022] Fourthly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on a geolocation-based automatic tuning system for broadcast terminals, cause the geolocation-based automatic tuning system for broadcast terminals to perform the method described in the first aspect and any possible implementation thereof.
[0023] Understandably, the broadcast terminal automatic tuning system based on geographic location matching provided in the second aspect, the computer program product provided in the third aspect, and the computer storage medium provided in the fourth aspect are all used to execute the broadcast terminal automatic tuning method based on geographic location matching provided in the embodiments of this application. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here.
[0024] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages: 1. This application dynamically selects candidate frequencies by utilizing real-time location and historical tuning success rate, and performs automatic switching and experience update closed loops during reception by combining multi-dimensional signal changes. This enables the terminal to effectively avoid invalid frequency points based on historical experience, reducing the time overhead of underlying station search. Simultaneously, the dynamic closed-loop feedback allows the system to adapt to changes in the electromagnetic environment of real-world road conditions, achieving effective connection and compensation of channel resources. This reduces audio interruptions and background noise caused by frequent station searches in complex terrain, ultimately improving the stability of broadcast service reception.
[0025] 2. This application employs a two-dimensional joint verification method combining location offset and signal attenuation rate to distinguish between local terrain blind spots and actual cross-area states. When local physical obstruction causes a sudden drop in signal strength, invalid cross-area requests are intercepted, and local frequency switching is directly performed. This reduces the unnecessary computational overhead of initiating searches to irrelevant grids and avoids tuning logic oscillations caused by incorrect scheduling, thereby improving the accuracy of system handover decisions and the stability of reception status under complex obstructed terrain.
[0026] 3. This application proactively suspends invalid station search iterations and intercepts feedback updates of failure records when identifying local blind zone scenarios where tuning fails continuously despite not exceeding the boundary. This prevents the underlying hardware from endlessly scanning in signal-free dead zones, reducing continuous background noise interference caused by blind switching. Furthermore, it cuts off the feedback chain of erroneous data under extreme physical environments, preventing high-quality spare frequencies within the grid from being downgraded due to accidental local obstruction (such as long tunnels). This avoids interference from abnormal environmental data with the historical tuning experience database, maintaining the objectivity and accuracy of the frequency evaluation system and the reliability of the long-term automatic tuning strategy. Attached Figure Description
[0027] Figure 1 This is a flowchart illustrating an automatic tuning method for broadcast terminals based on geographic location matching in an embodiment of this application. Figure 2 This is another flowchart illustrating the automatic tuning method for broadcast terminals based on geographic location matching in this application embodiment; Figure 3 This is an exemplary hardware structure diagram of a broadcast terminal automatic tuning system based on geographic location matching in the embodiments of this application. Detailed Implementation
[0028] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to and includes any or all possible combinations of one or more of the listed items.
[0029] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0030] In related technologies, frequency selection is typically performed using a combination of static network location lookup and broadcast channel assistance. The terminal obtains and plays a list of theoretically available broadcast frequencies for the current area, and continuously parses a list of backup frequencies attached to the channel during reception. Only when the underlying layer detects that the received signal has fallen below a preset fixed physical threshold is the RF chip passively triggered to traverse the backup list to find available frequencies. However, on the one hand, the statically obtained theoretical frequencies are difficult to reflect the actual RF coverage status affected by complex terrain obstruction or dynamic electromagnetic interference, causing the terminal to often blindly switch to actually unusable dead frequencies. On the other hand, the mechanism that only passively triggers list traversal when the signal falls below a fixed threshold is slow to react. When faced with brief signal fluctuations or cross-regional movement, it easily leads to frequent mechanical blind scans and prolonged service interruptions at the underlying RF level, ultimately resulting in insufficient stability of automatic tuning and reception recovery.
[0031] In this embodiment, the terminal no longer relies solely on a fixed static list and passive blind scanning, but instead introduces a dynamic closed-loop evaluation mechanism based on real physical feedback. Specifically, after extracting candidate broadcast frequencies for the current location, the system prioritizes and sorts them according to the locally stored historical tuning success rate, thereby guiding the radio frequency to prioritize trying the best frequencies most easily locked in the real environment, avoiding theoretical dead frequencies. Simultaneously, the system continuously monitors multidimensional changes in location and signal during reception to perform forward-looking switching, and forcibly records the actual operation results of each automatic tuning and switching, which is used to dynamically update the historical tuning success rate. This adaptive learning closed loop enables the system to continuously optimize the frequency selection strategy according to environmental changes, reduce the time spent on invalid station searches, and improve the continuity of service reception.
[0032] Figure 1 This is a flowchart illustrating the automatic tuning method for broadcast terminals based on geographic location matching in the embodiments of this application, including the following steps: S101. Obtain current location information.
[0033] The current location information refers to the data parameters that characterize the absolute or relative physical space coordinates of the broadcast receiving terminal at a certain moment, indicating the geometric location of the terminal in a global or local reference system, such as a floating-point pair composed of longitude and latitude coordinates.
[0034] Specifically, the location-matching-based broadcast terminal automatic tuning system activates the built-in Global Navigation Satellite System (GNSS) receiver module by calling the location service interface provided by the underlying operating system. The GNSS module receives radio frequency ranging signals transmitted by multiple navigation satellites, calculates the pseudorange by calculating the signal propagation time difference, and then uses the least squares method to calculate the spatial position. The location-matching-based broadcast terminal automatic tuning system (hereinafter referred to as the system) extracts the string containing the original longitude, latitude, and timestamp from the NMEA 0183 standard message (such as GPGGA or GPRMC statement) output by the GNSS module. Then, through string parsing and coordinate system transformation algorithms (such as converting the WGS-84 coordinate system to the GCJ-02 coordinate system), it generates a two-dimensional or three-dimensional current position information data structure that the terminal can process.
[0035] In some embodiments, current location information can be obtained in multiple ways: Optionally, independent calculation based on a satellite positioning system, including initializing the underlying satellite receiving antenna and RF front-end circuit, continuously capturing and tracking ephemeris data and carrier phase of at least four satellites, and using an extended Kalman filter algorithm to smooth the pseudorange observations to output accurate three-dimensional location coordinates; Optionally, base station-assisted positioning based on a cellular mobile network, including scanning multiple mobile communication base station identifiers (Cell IDs) of the terminal's current location and neighboring cells, obtaining the time difference of arrival (TDOA) or received signal strength (RSSI) of each signal from the base station, and calculating the current location information locally or in the cloud based on a triangulation centroid positioning algorithm using the base station coordinates. It is understood that other methods can also be used to obtain current location information, and these are not limited here.
[0036] S102. Match the corresponding target broadcast information unit according to the current location information, and extract the candidate broadcast frequency set from the target broadcast information unit.
[0037] Among them, the target broadcast information unit refers to the discretized spatial grid model in which the current coordinates fall after the continuous geographic space is divided according to a predetermined rule, and has independent frequency coverage attributes. It explains the structured mapping block of the real physical space of the system, such as a regular hexagonal geographic grid with a side length of 5 kilometers. The candidate broadcast frequency set refers to the carrier frequency array associated with a specific broadcast information unit that can theoretically provide broadcast services in the area. It explains the basic frequency point range for radio frequency terminals to conduct tuning tests, such as a dataset containing multiple frequency points.
[0038] Specifically, the system uses the latitude and longitude coordinates obtained in step S101 as input parameters and calls a spatial indexing algorithm for cell matching. First, the system converts the latitude and longitude coordinates into a hash string of a specific precision (such as Geohash encoding) using a geocoding algorithm. Then, using this hash string as the retrieval key, the system performs exact matching or nearest neighbor search in a lightweight spatial database mounted in local flash memory (such as an R-tree index table based on SQLite) to find target broadcast information cell objects that contain the hash string or spatially intersect with it. Finally, the system reads and deserializes the frequency list stored in a binary large object (BLOB) field or JSON field from the data row corresponding to the cell object, loads it into random access memory (RAM), and generates a candidate broadcast frequency set.
[0039] In some embodiments, the matching of target broadcast information units and the extraction of candidate frequencies can be achieved in various ways: Optionally, based on a standard geohash grid mechanism, this includes Base32 encoding of the current latitude and longitude coordinates to generate a Geohash mask of a specified length, using this mask to perform hash key-value lookup in the local KV database, and directly extracting the value payload (i.e., the frequency set) corresponding to the matching key value; Optionally, based on an administrative division polygon ray method mechanism, this includes loading vertex data of multiple administrative division polygons of the current city from the local vector map, emitting virtual rays from the current coordinate point in any direction and counting the odd and even numbers of intersections with the polygon boundaries to determine the polygon, and associating and extracting a preset regional frequency set from the polygon attribute table. It is understood that other methods can also be used to achieve the matching of target broadcast information units and the extraction of candidate frequencies, which are not limited here. In a specific engineering embodiment, when the broadcast information unit uses Web Mercator map tiles, the system will extract the longitude (lon) and latitude (lat), combine them with the scaling level (z), and directly calculate the tile key value using a spatial index formula: ,as well as For irregular polygonal service areas, the system further employs a ray casting method for fine-grained verification: for the current coordinate point P(px, py) and each side V of the polygon... i (xi, yi) to V j Given (xj, yj), perform a mathematical judgment: if ((yi > py) != (yj > py)) and Then, an intersection point is counted to determine whether the coordinates fall exactly within the broadcast unit.
[0040] In some embodiments, when the terminal enters a long tunnel, underground parking garage, or densely populated high-rise building area, causing severe multipath fading or complete loss of satellite positioning signals and resulting in large-scale and drastic coordinate jumps, a coordinate anti-jump and grid maintenance mechanism based on inertial navigation calculation can be introduced. Before extracting the candidate frequency set, the system calculates the instantaneous moving speed and acceleration of the current position information relative to the coordinates of the previous moment. When the instantaneous acceleration is determined to be abnormally beyond the threshold value of the physically reasonable range (such as the instantaneous speed suddenly increasing to 500 km / h), a coordinate jump is determined to have occurred. At this time, the system intercepts the new unit matching instruction that directly uses the incorrect coordinates, and instead calls the vehicle speed pulse sensor and six-axis gyroscope data of the vehicle chassis to perform dead reckoning, calculates the fused coordinates with higher confidence, and determines that if the fused coordinates are still within the previous broadcast information unit, the old candidate broadcast frequency set is directly reused, thereby avoiding frequency pool erroneous refresh and unnecessary station search delays caused by the temporary loss of GPS signals.
[0041] S103. Sort the frequencies in the candidate broadcast frequency set according to the historical tuning success rate stored locally, and generate a candidate frequency list.
[0042] Among them, the historical tuning success rate refers to the quantitative confidence score calculated based on the statistical results of the terminal's past attempts to demodulate a certain frequency point within the same time and space range. It serves as a priori experience assessment of the system's availability of a specific frequency. The candidate frequency list refers to a linear list of frequencies with a clear access priority order after being reorganized by an algorithm. It is an instruction queue that guides the underlying hardware to execute serial radio frequency actions.
[0043] Specifically, the system iterates through each frequency element in the candidate broadcast frequency set in memory, using the frequency identifier and the current target broadcast information unit ID as a combined primary key to query the local historical tuning database and extract the corresponding historical tuning success rate score. If a frequency has no historical records, it is assigned a preset default baseline success rate. Subsequently, the system uses a comparison-based sorting algorithm (such as quicksort or mergesort) to sort the frequencies in descending order using the success rate score as the key. The success rate extraction involved here can also use dynamic weighted adjustment calculation, i.e., the final sorting weight W=R. history ×e −λt , where R history The database's original success rate is given by t, which is the number of days since the last tuning of the frequency, and λ is the time decay constant. This ensures that recently verified high-quality frequencies receive higher rankings, and finally outputs an ordered list of candidate frequencies.
[0044] In some embodiments, the sorting and generation of a list of candidate frequencies can be achieved in several ways: Optionally, a quicksort based solely on historical probability scores can be used, including reading the cumulative success rate and total number of attempts for each frequency point in the set to calculate the absolute success rate, mapping the success rate value to the weight field of a memory structure, and calling a quicksort function pointer to sort the structure pointers in descending order of the weight field to generate a list; Optionally, a sorting based on a joint evaluation of time decay and quality penalty can be used, including extracting the average signal-to-noise ratio of the three most recent tunings for each frequency point and the timestamp of the last update, comprehensively calculating the dynamic expectation value using a non-linear weighting formula, and using the bubble sort algorithm to swap the positions of elements one by one based on the dynamic expectation value to generate a stable list of candidate frequencies. It is understood that other methods can also be used to sort and generate a list of candidate frequencies, and this is not limited here.
[0045] S104. Perform automatic tuning on the frequencies in the candidate frequency list in the order of their sorting, and obtain the reception quality index of the current tuning frequency.
[0046] Automatic tuning refers to the physical process by which the terminal's underlying RF chip automatically adjusts its local oscillator frequency to lock onto the target carrier based on the frequency command issued by the host computer. It is a configuration action of the RF receiver front end that does not require manual intervention. Receiver quality indicators refer to physical quantities that characterize the fidelity and strength of the demodulated baseband signal, such as Received Signal Strength Indicator (RSSI), Signal-to-Noise Ratio (SNR), or Bit Error Rate (BER).
[0047] Specifically, the system extracts the first high-optimal frequency element from the candidate frequency list, converts it into I2C or SPI bus standard command format, and sends it to the underlying FM / AM or DAB RF receiver chip (Tuner IC). The phase-locked loop (PLL) divider inside the RF chip changes the division ratio according to the command, causing the voltage-controlled oscillator to output the corresponding local oscillator frequency, which is then mixed with the high-frequency spatial signal received by the antenna. After the baseband digital signal processor (DSP) completes analog-to-digital conversion and channel equalization, the system polls the dedicated status register inside the RF chip to obtain multi-dimensional reception quality indicators of the current physical channel. For example, it extracts the RSSI value (in dBμV) obtained from the baseband energy metric and the SNR value (in dB) calculated from the dispersion of the demodulated constellation diagram. If the first frequency indicator is extremely poor, the system immediately extracts the second frequency point from the list and continues to execute the same closed-loop control until a valid indicator is obtained.
[0048] In some embodiments, automatic frequency tuning and metric acquisition can be achieved in several ways: Optionally, a serial stepping implementation based on a single-channel tuner, including mute the audio output channel to prevent tuning pops, write the division parameters of the target frequency point to the PLL register of the single-channel tuner chip for frequency locking, and delay for a predetermined time after the locking flag is set to read the SNR and multipath register values of the baseband processor; Optionally, a covert probing implementation based on a dual-channel background tuner, including maintaining the audio output of the main tuner at the current playback frequency, driving the secondary tuner to independently load the test frequency points from the candidate list for background frequency locking, and silently acquiring the RF channel quality metrics of the secondary tuner through the internal data bus without affecting the user's listening experience. It is understood that other methods can also be used to achieve automatic frequency tuning and metric acquisition, which are not limited here.
[0049] S105. When the current tuning frequency meets the locking condition based on the reception quality index, the current tuning frequency is determined as the target reception frequency and the current reception state is established.
[0050] Among them, the preset locking condition refers to the pre-set physical threshold combination boundary that determines that the signal quality is sufficient to support clear audio decoding. This condition is based on common-sense thresholds derived from multiple regression analysis of subjective audio evaluations and objective physical parameters of a large number of real vehicle road test samples. The target receiving frequency refers to the best available frequency point that is finally selected as the current broadcast service carrying channel, which is the final selected frequency point in this round of automatic search process. The current receiving state refers to the stable operation stage of the system where the RF chip and baseband decoder work together and continuously output effective audio streams to the speaker, indicating that the terminal has entered the normal user service working mode.
[0051] Specifically, to avoid misjudgment based on a single threshold, the system employs a multi-dimensional comprehensive scoring method. First, continuous indicators are mapped using a function, such as the field strength normalization function: Signal-to-noise ratio normalization function: Then, the overall lock score is calculated: Score lock =100×(w1×F RSSI +w2×F SNR +w3×F BER +w4×S YNC+w5×Decode+w6×AudioCont+w7×IDMatch). In a practical engineering example, the preset weights are w1=0.18, w2=0.22, w3=0.10, w4=0.15, w5=0.15, w6=0.10, and w7=0.10, respectively. When RSSI=-63dBm and SNR=21dB are measured at a certain frequency, the upper and lower limits (e.g., RSSI upper limit - 45 lower limit - 95) are substituted to calculate F. RSSI =0.64, F SNR When the score is 0.625 and both the Sync and Decode states are 1, the calculated Scorelock score is 82.93. Since this score exceeds the preset 75-point lockout threshold, the system determines that the lockout condition is met and establishes a receiving state. At this point, the system immediately sends an instruction to the RF chip to interrupt the station search process, persistently writes the frequency identifier value into memory as the target receiving frequency, simultaneously unmutes the audio link, and opens the I2S data stream channel from the baseband decoder to the audio power amplifier (Audio PA), thus formally establishing a stable current receiving state.
[0052] In some embodiments, the determination of conditions and the establishment of the reception state can be implemented in several ways: Optionally, a determination based on absolute hard threshold comparison can be implemented, including extracting the RSSI and carrier-free noise ratio (CNR) of the current frequency point, comparing them with the lower limit thresholds fixed in the system ROM, and updating the working mode register of the underlying firmware to enable the audio output pin if both are greater than the lower limit; Optionally, a flexible locking implementation based on fuzzy logic decision can be implemented, including inputting the collected signal strength, multipath effect index, and frequency offset value into the membership function of the fuzzy inference system, calculating the locking probability between 0 and 1, and determining the target receiving frequency and starting the digital audio equalizer to enter a stable decoding and receiving state when the probability exceeds 0.8. It is understood that other methods can also be used to determine the conditions and establish the reception state, which are not limited here.
[0053] S106. While maintaining the current reception status, continuously monitor the real-time changes in real-time location information and reception quality indicators.
[0054] Among them, real-time change refers to the dynamic evolution curve of the position coordinates and radio frequency parameters when the device moves continuously on the time axis or when the environmental channel characteristics fluctuate. It mainly explains the continuous tracking and capture of the dynamic characteristics of the surrounding physical and electromagnetic environment by the system. For example, the GPS coordinates change continuously at a speed of 15 meters per second, or the signal-to-noise ratio slowly decreases from 20dB to 12dB within 5 seconds.
[0055] Specifically, the system starts an independent high-priority daemon thread in the background. This thread is equipped with a timer interrupt and performs monitoring tasks concurrently in two threads at a certain sampling period: on the one hand, it retrieves the latest latitude and longitude coordinates output by the GNSS module in real time through inter-process communication (IPC) and performs spatial position topology calculations (such as the point-within-a-polygon algorithm) with the geometric boundaries of the currently resident target broadcast information unit to calculate the real-time relative offset from the boundary; on the other hand, it continuously polls the RF chip through the I2C bus to read the instantaneous reception quality indicators and sends them to the filtering algorithm for smoothing. In a preferred embodiment, the system uses an exponential moving average filtering algorithm, the formula of which is: The smoothing coefficient α can be set to 0.35 to balance response speed and anti-jitter performance, filter out signal spikes caused by vehicle bumps, and calculate the smoothed signal attenuation slope and quality trend characteristics to form a two-dimensional real-time change data stream.
[0056] In some embodiments, real-time continuous monitoring can be achieved in several ways: Optionally, it can be implemented based on a high-frequency polling and smoothing filtering mechanism, including setting a timer loop with a period of 100 milliseconds, actively reading GPS serial port data and the quality register of the RF tuner in each loop, and pushing the newly read values into a fixed-length FIFO queue to calculate the moving average as the valid monitoring result for the current period; Optionally, it can be implemented based on low-power monitoring using hardware interrupts and event callbacks, including pre-configuring the electronic fence boundary crossing interrupt pin of the GNSS module and the signal drop interrupt pin of the RF chip, suspending the main monitoring thread and entering sleep mode, and waking up the system through a hardware interrupt when environmental changes trigger the underlying hardware level toggling and executing a callback function to capture the latest parameters. It is understood that other methods can also be used to achieve real-time continuous monitoring, which are not limited here.
[0057] S107. When the real-time changes in real-time location information or reception quality indicators meet the preset switching conditions, extract a new candidate frequency as the target switching frequency and perform automatic switching operation.
[0058] Among them, the preset switching condition refers to the critical triggering rule that is set in advance to trigger the system to abandon the current frequency point and force the execution of cross-region or local reselection logic. This condition is based on the preset envelope descent slope when the decoding bit error rate rises sharply to the critical point due to deep signal fading in laboratory simulation; the target switching frequency refers to the emergency backup frequency point that is selected by the system as the alternative bearer channel when the current frequency point is about to fail.
[0059] Specifically, the system's state machine continuously verifies and monitors the data. When it determines that the real-time location information exceeds the coordinate boundary of the target broadcast information unit (spatial boundary violation), or when the real-time calculated reception quality index attenuation rate d(RSSI) / dt is greater than the set negative slope threshold (signal abrupt change), the system immediately activates the automatic switching process. The system queries the candidate frequency library of adjacent geographical grids based on the direction of the boundary violation, or extracts the highest-ranked new frequency point from the current grid's backup list as the target switching frequency. Subsequently, the system sends a forced retuning command to the RF lower layer and initiates an audio flexible transition mechanism (such as performing a 50-millisecond fast fade-out of the current audio and a 50-millisecond fade-in after locking the new frequency) to complete the channel switching and achieve automatic switching. To further prevent erroneous switching under complex road conditions, the system introduces a hysteresis interval and a continuous fault detection mechanism: setting a low threshold Th... low (e.g., 62 points) and the recovery threshold Th high (e.g., 72 points). When the overall quality score after filtering remains below Th... low At that time, the fault detection counter is incremented. Only when the fault detection counter reaches a preset counting threshold (e.g., 6 times, corresponding to 1.2 seconds of continuous low quality), and there are candidate frequencies in adjacent areas with higher scores and a score difference greater than a preset value (e.g., 8 points), and the time since the last official handover has exceeded the minimum hold time T, will the fault detection counter be activated. hold_min The system will only determine that the preset switching conditions are met after 5 seconds (e.g., 5 seconds).
[0060] In some embodiments, new frequency extraction and automatic switching can be implemented in several ways: Optionally, proactive predictive switching based on spatial boundary crossing includes triggering a boundary crossing signal when the current position has crossed the electronic grid boundary line, immediately retrieving the highest optimal frequency point in the adjacent new grid that matches the current program PI code (program identifier code), and controlling the master tuner in the dual-tuner architecture to seamlessly and smoothly bridge to the new frequency point; Optionally, passive responsive switching based on signal drop includes throwing an abnormal event when the signal-to-noise ratio is detected to be below the absolute demodulation threshold for three consecutive sampling periods, extracting the suboptimal frequency point from the local backup list, cutting off the audio and controlling the single-channel tuner to relock to the backup frequency point before restoring the sound. It is understood that other methods can also be used to implement new frequency extraction and automatic switching, which are not limited here.
[0061] In some embodiments, when a vehicle is traveling on a valley bridge, the multipath effect and the obstruction of the metal bridge structure cause a false drop in electromagnetic waves with a deep amplitude but short duration. Directly performing a switch would lead to unnecessary audio interruptions and station search confusion. In this case, a pseudo-blind zone anti-jitter switch interception mechanism based on time hysteresis can be added. When the system determines that the signal quality momentarily meets the preset switch conditions, it does not immediately extract a new frequency, but instead initiates a delay confirmation time window, for example, with a length of 800 milliseconds, while freezing the last few frames of audio data from the current speaker to mask the background noise. Within the time window, the system continuously collects quality indicators at a higher sampling frequency (e.g., once every 10 milliseconds). If the system calculates that the signal envelope generates a reverse upward gradient before the end of the time window and exceeds the recovery threshold, the system determines that this is a false drop multipath effect, cancels the switch task, and unfreezes the signal to resume normal playback, thereby enhancing the anti-interference stability of broadcast reception in complex terrain.
[0062] In some embodiments, when the terminal encounters a local terrain blind spot that causes a sudden signal change but no actual cross-regional movement occurs, a joint verification mechanism of coordinate offset and signal attenuation can be used to test local frequency degradation, thereby improving the stability of the system tuning strategy under extreme terrain.
[0063] Specifically, the system first calculates the relative geometric offset of the real-time location information relative to the geographical boundary of the target broadcast information unit, and simultaneously calculates the attenuation rate of the underlying reception quality index over time, expanding the single physical signal dimension into a spatial-signal dual-dimensional verification to prevent false cross-zone misjudgments caused by local obstruction. When the system determines that the calculated attenuation rate is greater than the preset signal mutation threshold (this preset signal mutation threshold is a fixed reference value derived by those skilled in the art based on statistical derivation of the signal-to-noise ratio decrease slope when entering typical obstructions such as long tunnels in a large number of real vehicle road tests), and the offset indicates that the vehicle is still within the original geographical grid boundary, the system will identify this as a local blind zone rather than a cross-zone, thereby actively intercepting the cross-zone handover command requesting a spare frequency from the adjacent grid; avoiding the waste of computing power and tuning chaos caused by initiating cross-zone searches to irrelevant grids. Subsequently, the system extracts backup frequencies with a second-highest historical tuning success rate from the candidate frequency list of the current grid and performs local automatic switching to quickly find replacement signals in the local environment and ensure service continuity. When the attenuation rate exceeds the limit and the coordinates have indeed crossed the boundary, the system performs the regular cross-regional candidate frequency extraction and switching operation. Based on this, if a tuning failure is obtained again during the above local switching process, the system will accumulate the number of consecutive failures in the current grid list. When the number of consecutive tuning failures reaches a preset blind zone determination threshold (this preset blind zone determination threshold is a pre-set upper limit for the number of retry attempts based on the industry-wide common sense of the average number of physical deployments of backup transmission base stations of the same frequency in a normal geographical area), and the coordinates continue to indicate that they have not crossed the boundary, the system confirms that the terminal has entered a completely signal-free RF blind zone, such as a long tunnel. At this time, the system immediately forcibly suspends the traversal operation of all remaining frequencies in the list, maintaining the current RF channel state and entering silent monitoring; this directly cuts off the high-frequency blind station search of the underlying chip in a signal-free environment, effectively protecting users from the background noise interference generated by continuous station searches. Meanwhile, the system further intercepts continuous tuning failure record instructions reported from the lower level, prohibiting these inevitable failures caused by extreme terrain from updating the local database; this effectively cuts off the feedback chain of erroneous data, preventing originally high-quality frequencies from being penalized due to a severe congestion or tunneling behavior, and maintaining the objectivity of the evaluation system.
[0064] The above technical steps introduce joint verification of displacement and attenuation rate to identify terrain blind zones. In the blind zone, station search is suspended and failure records are exempted. This not only reduces the background noise interference caused by frequent blind scans, but also prevents high-quality frequencies from being mistakenly deducted due to local obstruction, thus affecting the accuracy of the database and improving the long-term stability of broadcast reception in complex environments.
[0065] In some embodiments, when the terminal exhibits a repetitive interlacing driving trajectory along the boundary of adjacent broadcast information units, scheduling switching can also be performed by determining the cross-boundary time interval and merging adjacent grid candidate frequencies to generate a fusion candidate pool, thereby alleviating the ping-pong switching effect caused by the sawtooth driving at the boundary and improving the continuity of broadcast reception in cross-boundary areas.
[0066] Specifically, when the real-time location information indicates that the terminal has crossed the common boundary line of two adjacent broadcast information units, the system first reads the system clock to calculate the time difference between the current cross-boundary timestamp and the timestamp of the last cross-boundary recorded in memory, thereby obtaining the time interval since the last cross-boundary. This introduces a dynamic time dimension verification into the purely static spatial geometric boundary crossing action, providing a quantitative anti-shake basis for subsequent identification of whether the vehicle is repeatedly crossing the boundary line. Subsequently, the system compares the calculated time interval with a preset time threshold (this preset time threshold is an empirical anti-shake time constant derived by those skilled in the art based on the statistical law of the average time spent by conventional vehicles continuously changing lanes to enter and exit specific physical grids on highways or overpasses). When the system determines that the time interval is less than the preset time threshold, it identifies that this is a high-frequency boundary crossing state. At this time, the system breaks the conventional underlying isolation logic of destroying old data upon crossing the boundary, forcibly retains the candidate broadcast frequency set corresponding to the original target broadcast information unit, and performs an array union operation on it and the candidate broadcast frequency set corresponding to the newly entered grid of the terminal in the cache, thereby generating a cross-regional fusion candidate pool that is not limited by a single geographical grid boundary. This approach alters the traditional fixed grid switching mechanism, constructing a unified global buffer resource pool. This effectively prevents the system from getting stuck in a loop of repeatedly releasing and reloading data lists between two regions, reducing the computational overhead of the microprocessor. Finally, the system reads the program identifier code (such as the PI code in the RDS protocol) of the currently received broadcast program, performs a global search in the cross-regional fusion candidate pool, extracts the frequency with the same identifier as the target switching frequency, and continuously performs automatic switching operations based on this fusion pool. This allows the terminal to always schedule based on a unified set that is not refreshed due to instantaneous coordinate jumps when facing complex line trajectories. This ensures that the RF hardware only needs to perform smooth optimization between the physical frequencies of the same program internally, thus maintaining the stability of the software layer tuning operation when the physical environment is unstable.
[0067] The above steps identify boundary crossing trajectories through time intervals, breaking the single-grid limitation to generate a cross-regional fusion candidate pool. This avoids the deadlock of repeated list reconstruction caused by frequent coordinate overlap, reduces channel search interruptions caused by ping-pong handover, and improves the reception continuity and overall stability of the terminal in cross-regional boundary areas.
[0068] S108. Record the operation results of automatic tuning and automatic switching, and update the historical tuning success rate stored locally based on the operation results.
[0069] Among them, the operation result refers to the Boolean or enumerated status feedback after each tuning attempt or cross-frequency switching action is completed. It is the system's qualitative conclusion on the success or failure of a single execution action, such as marking it as successful locking and clear audio or failure to lock the frequency and all white noise. The update refers to the action of using the latest actual test results as sample data and using the algorithm to iteratively correct the weight scores in the local experience base. It is the system's self-learning and database cleaning process, such as reducing the historical success rate of a certain frequency point from 0.8 to 0.75.
[0070] Specifically, the underlying firmware reports the final status of this operation (1 for success, 0 for failure) to the application-layer statistics module via a message queue. The system reads the frequency ID that generated the result and the corresponding target broadcast information unit ID, and indexes the current historical tuning success rate of that frequency point in the local SQLite database. Subsequently, the system executes the Exponentially Weighted Moving Average (EWMA) algorithm to update the score. For example, the update formula is Rate. new =(1−γ)×Rate old +γ×Result current , where γ is the learning rate parameter (e.g., set to 0.15). In other more robust implementations for sparse samples, the system employs a β-counting update logic with prior parameters. The specific calculation formula is: , where N s To calculate the cumulative number of successful attempts, N f Here, 'a' represents the number of failures, and 'b' represents prior parameters to prevent drastic probability fluctuations due to insufficient samples (ideally, a=2, b=2). The system persistently writes the updated success rate to local storage as a joint key-value pair containing region ID, program identifier, frequency, and terminal mode. If the operation fails, the latest Result... current If the value is 0, the new success rate for that frequency point will decrease after calculation. Finally, the system executes an SQL UPDATE statement to persistently write the new success rate to the storage medium, so that when the S103 step is performed again through this geographic grid, the current radio frequency coverage status of that frequency point can be more accurately reflected.
[0071] In some embodiments, operation result recording and success rate updates can be implemented in several ways: Optionally, periodic batch updates based on a simple moving average algorithm can be implemented, including appending the current tuning frequency, success / failure status, and timestamp to the log structure in memory; extracting the most recent N records of the frequency when the terminal is in sleep mode or leaves the current grid to calculate the arithmetic mean success rate; and overwriting the old success rate value in the local configuration file through file I / O operations. Optionally, real-time dynamic confidence updates based on the Kalman filter concept can be implemented, including immediately extracting the current estimated score and estimated variance of the frequency after each switching action, calculating the Kalman gain coefficient by combining the current successful or failed observation, and using the gain coefficient to correct and overwrite the posterior success rate score in the database in real time. It is understood that other methods can also be used to implement operation result recording and success rate updates, which are not limited here.
[0072] In the above embodiments, by dynamically selecting candidate frequencies using real-time location and historical tuning success rates, and combining multi-dimensional signal changes to perform automatic switching and experience update closed loops during reception, the terminal can effectively avoid invalid frequency points based on historical experience, reducing the time overhead of underlying station search. Simultaneously, the dynamic closed-loop feedback enables the system to adapt to changes in the electromagnetic environment of real-world road conditions, achieving effective connection and compensation of channel resources. This reduces audio interruptions and background noise caused by frequent station searches in complex terrain, ultimately improving the stability of broadcast service reception.
[0073] In some other embodiments of this application, when a terminal crosses boundaries at high speed, audio interruption may occur due to the time spent on re-querying and sorting. The automatic tuning method for broadcast terminals based on geographic location matching provided in this application can preload adjacent frequencies into a fast buffer and bypass sorting to directly switch buffers when crossing boundaries, achieving smooth cross-regional connection.
[0074] like Figure 2 The diagram shown is another flowchart illustrating the automatic tuning method for broadcast terminals based on geographic location matching provided in this application, including the following steps: S201. Obtain current location information.
[0075] S202. Match the corresponding target broadcast information unit according to the current location information, and extract the candidate broadcast frequency set from the target broadcast information unit.
[0076] S203. Sort the frequencies in the candidate broadcast frequency set according to the historical tuning success rate stored locally, and generate a candidate frequency list.
[0077] S204. Perform automatic tuning on the frequencies in the candidate frequency list in the order of their sorting, and obtain the reception quality index of the current tuning frequency.
[0078] S205. When the current tuning frequency meets the locking condition based on the reception quality index, the current tuning frequency is determined as the target reception frequency and the current reception state is established.
[0079] S206. While maintaining the current reception status, continuously monitor the real-time changes in real-time location information and reception quality indicators.
[0080] Steps S201-S206 and Figure 1 Steps S101-S106 in the illustrated embodiment are similar and can be found in the descriptions of steps S101-S106, which will not be repeated here.
[0081] S207. When it is determined that the moving speed indicated by the real-time location information is greater than the preset speed threshold and the moving direction is pointing to the geographical boundary of the target broadcast information unit, the cross-boundary time window is predicted based on the moving speed and moving direction, and before reaching the cross-boundary time window, the cross-regional frequency set corresponding to the adjacent broadcast information unit that is about to enter is obtained.
[0082] Among them, moving speed refers to the spatial displacement rate of the terminal per unit time, mainly explaining the current driving speed of the vehicle; preset speed threshold refers to the physical boundary value used to distinguish whether the terminal is in a slow urban congestion state or a high-speed cross-regional cruise state. This preset speed threshold is a physical reference constant derived by those skilled in the art based on the statutory minimum speed limit of urban expressways and highways and road test anti-shake experience; cross-boundary time window refers to the remaining time buffer between the current position and the physical grid boundary calculated based on the current motion vector, mainly explaining the lead time left for the system to perform preprocessing; cross-regional frequency set refers to the pool of candidate frequency points associated with the next geographical grid to be entered, mainly explaining the backup data prepared in advance by the system in case of data interruption.
[0083] Specifically, the system extracts the instantaneous ground movement velocity V by using GPS latitude and longitude coordinates sampled twice consecutively, or by directly parsing the RMC statement in the NMEA 0183 protocol. current and the heading angle θ relative to true north. When the system state machine determines V current When the speed exceeds a preset threshold, the motion vector prediction logic is triggered. The system emits a ray outward from the current coordinate point using a heading angle θ, and uses a ray-polygon intersection algorithm from computational geometry to determine the coordinates of the intersection point between the ray and the geographical polygon boundary of the target broadcast information unit. Next, the system calculates the linear Euclidean distance or spherical distance D between the current coordinates and the intersection point. to_border Through formula T cross =D to_border / V currentCalculate the remaining cross-boundary time and set a pre-conditional tolerance ∆t (e.g., 2 seconds), finally generating the cross-boundary time window [T]. cross -∆t,T cross Before the system clock enters this window interval, the system uses the intersection coordinates as the index key to initiate an asynchronous read request to the local or cloud spatial database in advance, reads the frequency table of adjacent polygonal grids into memory, and forms a cross-regional frequency set, thereby preemptively absorbing the database I / O time that would have been inevitable when crossing physical boundaries during the driving process.
[0084] In some embodiments, the prediction and set acquisition of cross-boundary time windows can be achieved in several ways: Optionally, based on the intersection operation of instantaneous vectors and vector polygons, including extracting the current vehicle speed and heading angle components from the underlying GNSS chip, substituting them into the spherical geometric model to calculate the intersection distance and arrival time with each line segment of the currently stationary grid, and pre-loading the target database table according to the adjacent grid IDs associated with the obtained intersection points to obtain the frequency set; Optionally, based on Kalman filter trajectory estimation and spatial index query, including inputting the historical trajectory coordinate point sequence into the extended Kalman filter (EKF) to output smooth and noise-resistant predicted trajectory points for the next 5 seconds, calculating the precise timestamp of the predicted trajectory point penetrating the polygon boundary to delineate the window, and using the R-tree spatial index engine to query the attributes of the adjacent grid objects where the predicted exit point is located to extract the cross-regional frequency set. It is understood that other methods can also be used to achieve the prediction and set acquisition of cross-boundary time windows, which are not limited here.
[0085] In some embodiments, when a vehicle approaches a complex Y-shaped interchange on a city ring road or highway, the instantaneous direction of movement may oscillate between the boundaries of two different adjacent grids pointed to by the two branching paths. This can cause target grid identification oscillations when calculating the ray intersection solely based on the heading angle. To address this, a constraint locking mechanism based on vehicle navigation path planning data can be introduced. Specifically, while extracting the speed and direction of movement, the system reads the currently set planned route vector data from the vehicle navigation system via inter-process communication (IPC). The system calculates the Friesian distance similarity between the ray predicted based on the instantaneous heading angle and the navigation planned path curve. When the grid path pointed to by a certain branching point has a very high similarity to the navigation path, the system masks the jitter interference of the instantaneous heading angle, forcibly locks the target grid that the navigation planned path is expected to enter, and calculates the time window and retrieves the frequency set only for this unique grid. This effectively avoids frequent changes in cross-zone targets and wasted cache resources caused by steering wheel fine-tuning at complex interchanges, further improving the accuracy and stability of broadcast service reception switching in high-speed scenarios.
[0086] S208. Select candidate frequencies with the same program identifier as the target receiving frequency from the cross-regional frequency set as preloaded switching frequencies and write them into the fast response buffer.
[0087] Among them, the same program identifier refers to the digital code attached to the baseband data of the broadcast signal, which is used to uniquely identify the identity of the transmitting station or the program content. It is the identity credential for finding the same station across regions, such as the program identifier code (PI Code) in the FM RDS protocol; the preloaded switching frequency refers to the optimal alternative frequency point that has been screened before crossing the boundary and is in a ready-to-tune state; the fast response cache refers to the volatile high-speed storage medium with extremely low read and write latency located inside the system microprocessor or adjacent to the RF controller, which is a hardware unit used to store the most urgent data.
[0088] Specifically, the system iterates through the acquired cross-regional frequency set in the background. It extracts the program attribute data packet of the target receiving frequency that the current RF channel is stably receiving, and stores its hexadecimal program identifier (e.g., PI code: 0x4F12) in a reference register. Subsequently, the system parses the attribute table structure bound to each frequency point object in the cross-regional frequency set, extracts the preset PI code field, and performs a bitwise XOR operation with the value in the reference register. When the result is 0, the program identifier is considered a complete match, and the system selects the frequency from the set as the pre-loaded switching frequency. To cope with future millisecond-level emergency cross-regional switching, the system calls the operating system's underlying memory mapping allocation (mmap) mechanism or DMA (Direct Memory Access) channel to directly push and write the data block containing the pre-loaded switching frequency and its underlying divider configuration word into the RF tuning chip or a fast response buffer near the I2C control bus, setting its status flag to "Ready".
[0089] In some embodiments, frequency filtering and preloading caching can be implemented in several ways: Optionally, it can be implemented based on hardware-level mask matching of PI codes in the RDS data stream, including capturing the 16-bit PI code in the audio subcarrier being demodulated by the current master tuner as a matching mask, comparing the mask in parallel using the SIMD (Single Instruction Multiple Data) instruction set in the main memory frequency structure array, and pushing the matched frequency control word into a dedicated SRAM externally mounted to the tuner via the SPI bus; Optionally, it can be implemented based on cloud-based audio track feature fingerprint hash matching and proximity placement, including extracting the short-term Mel-frequency cepstral coefficients (MFCC) acoustic features of the current broadcast audio stream to generate a local hash fingerprint, comparing the program audio fingerprint hash values of each backup frequency in the adjacent area pre-stored in the cloud, and writing the frequency pointer with the highest confidence level into the CPU's L1 D-Cache in latch form. It is understood that other methods can also be used to implement frequency filtering and preloading caching, which are not limited here.
[0090] S209. When the real-time location information actually reaches the geographical boundary and the reception quality index shows a decay trend, it is determined that the preset switching conditions are met.
[0091] Among them, the attenuation trend refers to the physical behavior of the physical signal characteristic parameters showing a continuous decrease in value within a continuous short time slice and being unable to heal itself, mainly explaining the irreversible state of channel quality deterioration; the preset switching condition refers to the hard multidimensional threshold combination that is set in advance to trigger the system to discard the current frequency point and execute the physical reselection logic. The preset switching condition is a judgment criterion set based on the critical slope experience of the signal multipath envelope descent curve in a large number of cross-regional measurements and the common knowledge of coordinate topology.
[0092] Specifically, the high-priority background daemon runs at high frequency. On one hand, the system continuously substitutes the latest coordinates reported by the GPS chip at a frequency of 10Hz into the polygon vertex array of the target broadcast information unit, and performs topological verification of the points inside the polygon by executing the ray crossing algorithm. When the judgment function returns a result that jumps from "inside" to "outside", it outputs a Boolean truth value indicating spatial out-of-bounds. On the other hand, the system applies a least-squares method based on a finite impulse response (FIR) filter to linearly fit the RSSI (Received Signal Strength) or SNR (Signal-to-Noise Ratio) index sequence output by the underlying RF chip. For example, it calculates the first derivative ∆SNR / ∆t using the most recent 20 sampling points. When the calculated slope is less than the system's preset negative tolerance, it is determined that there is an attenuation trend. The system sends the two Boolean events, "spatial out-of-bounds" and "attenuation trend", into a logical AND gate. Only when both physical dimensions are satisfied simultaneously is the preset switching condition finally satisfied, and a cross-zone hard interrupt signal is thrown.
[0093] In some embodiments, the determination of switching conditions can be implemented in multiple ways: Optionally, it can be based on coordinate point topology verification and sliding window first-order derivative fitting, including running the high-frequency geometric ray method to determine if the instantaneous latitude and longitude coordinates jump out of the original polygon region, calculating the differential slope of the RSSI sampling array of the past two seconds in the FIR sliding filter, and generating a cross-region trigger flag in the software layer by combining the over-limit status flags of both; Optionally, it can be based on joint evaluation of hardware geofence callback and multipath interference index, including registering a geofence over-limit interruption callback function in the location service layer of the underlying OS, monitoring the bit error rate over-limit caused by the surge of multipath interference in the baseband processing unit of the RF tuner, and checking the bit error rate status word simultaneously when the geofence callback is received to determine that the switching condition has been met. It is understood that other methods can also be used to determine the switching conditions, which are not limited here.
[0094] S210. Bypass the reordering operation of the newly extracted frequency and call the preloaded switching frequency from the fast response cache as the target switching frequency to perform cross-region automatic switching operation.
[0095] Among them, the reordering operation refers to the software calculation process of performing fast sorting or bubble sort on the frequency pool according to the weight of historical success rate in the conventional logic (such as step S203), which is a conventional optimization action that consumes a relatively large number of CPU clock cycles; the cross-regional automatic switching operation refers to the physical execution process of the RF receiving link forcibly interrupting the current local oscillator frequency lock, jumping to a new frequency in a different location for phase-locked demodulation and restoring audio output.
[0096] Specifically, in conventional tuning logic, when faced with a large number of new frequencies, it is necessary to first query the local SQLite database to retrieve historical scores and perform time-consuming sorting calculations (typically on the order of hundreds of milliseconds). However, in the emergency situation of high-speed cross-zone operation, after the system state machine detects a triggered interrupt, it sets the "high-speed cross-zone channel" flag. This flag forces the system control flow to generate a conditional branch, directly bypassing all database SQL queries and data structure sorting function calls, abandoning the comparison consideration of suboptimal frequencies. The system directly sends a direct physical address read instruction to the fast response buffer written in S208, pulling out the preloaded switching frequency and its underlying phase-locked loop divider ratio parameter (PLL Divider Value), and directly injecting it into the RF chip's control register via the SPI bus as the target switching frequency. By eliminating the time overhead of relational database queries and loop sorting in the software layer, the RF voltage-controlled oscillator can re-lock the frequency within a few milliseconds based on the buffered data, thereby achieving a smooth audio transition across zones.
[0097] In some embodiments, bypassing the ordering and fast call switching can be implemented in several ways: Optionally, it can be implemented based on register burst overwrite using direct memory access (DMA), including triggering an external interrupt request channel of the DMA controller when the switching condition is met, enabling the DMA controller to bypass the CPU core and directly read the preloaded frequency configuration word from the high-speed SRAM cache, and transmitting the configuration word burst to the local oscillator frequency control register of the RF tuner to force hardware phase-locking; Optionally, it can be implemented based on a dual-Tuner architecture with seamless baseband hard switching, including the system instructing the background sub-Tuner in advance to silently lock the preloaded frequency in the fast cache and demodulate it to the background buffer pool, and when the cross-zone condition is triggered, the system directly skips the frequency evaluation and distribution process of the main program, and hard switches the audio I2S output stream from the main tuner channel to the sub-Tuner channel in the time domain by controlling the cross-switch matrix of the audio DSP (digital signal processor). It is understood that other methods can also be used to implement bypassing the ordering and fast call switching, which are not limited here.
[0098] In some embodiments, when the initial signal of the new frequency is weak after a cross-regional handover and the terminal is located in the boundary area, a mechanism of suspending the retuning command and performing silent delay detection can be used to avoid frequent station searches in the handover blind zone and improve the stability of cross-regional signal access.
[0099] Specifically, the moment the physical transition to the pre-loaded frequency is completed at the RF layer, the system immediately obtains the initial reception quality index of the new frequency through bus polling to provide objective channel state support for subsequent actions. Subsequently, the system compares this initial index with a preset effective demodulation threshold (this preset effective demodulation threshold is a fixed physical threshold derived by those skilled in the art based on an objective signal-to-noise ratio lower limit where the RF demodulation chip output audio has no significant white noise background), and simultaneously calculates the geometric distance between the current GPS coordinates and the adjacent grid boundary. When the initial reception quality index is lower than this threshold, and the geometric distance calculation indicates that the terminal is in the boundary buffer zone where two adjacent broadcast information units overlap, it means that the vehicle has just entered the weak signal area covered by the two transmitting base stations. At this point, instead of performing the conventional re-search operation, the system sends a forced lock command to the voltage-controlled oscillator to maintain the preloaded switching frequency, and simultaneously sends a mute command to the audio digital signal processor to cut off the audio decoding output channel, thus entering a silent detection state. This prevents the speaker output from having undemodulated background noise, protecting the user's auditory experience, and also reserves a time window for the signal of the new base station to strengthen. During silent detection, the underlying hardware state machine often automatically triggers a hardware-level re-search interrupt due to low signal strength. The system actively intercepts and discards this retuning command at the software application layer, and forcibly suspends the tuning failure judgment logic for this preloaded switching frequency and puts it into a blocking queue. This breaks the traditional RF chip's "immediate re-search when the signal is poor" mechanism, avoiding the terminal from performing an ineffective and computationally expensive full-band blind scan when it is known to be in a cross-boundary physical blind zone. While suspending the judgment logic, the system continuously collects real-time indicators of this frequency through a high-frequency timer during silent detection and uses a differential algorithm to calculate the slope of the signal change. As the vehicle gradually moves deeper into the new broadcast information unit, when the system detects that the real-time indicators show a positive differential slope (continuously rising gradient) for multiple consecutive sampling periods, and the absolute value crosses the aforementioned effective demodulation threshold again, it confirms that the signal from the new transmission tower has formed substantial and effective coverage. At this point, the system immediately cancels the mute command, restores the I2S data stream of the audio decoding output channel, and formally establishes a stable reception state of the preloaded switching frequency in the adjacent broadcast information unit, thereby realizing signal relay based on the laws of physical motion.
[0100] By performing the above steps, actively silencing and intercepting mechanical station search actions in the weak signal area at the boundary between the two zones, and utilizing the physical law of the natural rise in signal when a vehicle enters the new area for delayed demodulation, frequent blind scans and power outages and background noise at the boundary are reduced, thus achieving a smooth transition of cross-zone broadcast services.
[0101] S211. Record the operation results of automatic tuning and automatic switching, and update the historical tuning success rate stored locally based on the operation results.
[0102] Step S211 and Figure 1 Step S108 in the illustrated embodiment is similar and can be found in the description of step S108, which will not be repeated here.
[0103] In some embodiments, when a terminal remains in a local signal dead zone for a long time due to traffic congestion or other reasons, resulting in continuous tuning failures, the local dwelling blind zone can be determined by jointly verifying the failure duration and driving displacement, and a score reduction exemption can be implemented to prevent local abnormal data from polluting the global frequency evaluation system and improve the objectivity of historical tuning success rate.
[0104] Specifically, the system captures the tuning status codes reported by the radio frequency layer in real time through the background log monitoring module. When tuning or switching failures occur consecutively, the system records the timestamp and initial GPS coordinates of the first failure, and performs a difference calculation with the current timestamp and latest coordinates to extract the duration of the consecutive failures (i.e., failure duration). It then uses the Euclidean distance formula to calculate the spatial span between coordinate points within that time period (i.e., terminal displacement). This transforms a simple "result judgment" into a "process state judgment" that combines time integration and spatial kinematic characteristics, providing objective data support for identifying the real physical environment. Subsequently, the system logically compares the calculated results with preset thresholds. The preset duration threshold and preset displacement threshold are empirical limits pre-set by those skilled in the art based on industry-wide common knowledge, such as the average dwell time at traffic light intersections during typical urban morning and evening rush hours and the maximum statistical radius of GPS positioning multipath drift when the vehicle is stationary. When the duration of a failure exceeds a preset threshold and the terminal's displacement is less than a preset displacement threshold, the system logic deduces that the terminal is not moving widely across the entire grid, but is physically confined to a very small local blind zone, such as under an overpass or between tall buildings. At this point, the system proactively intervenes, intercepting the consecutive failure commands originally intended for updating the database, and does not use the results of these consecutive failures to reduce the overall historical tuning success rate of the target broadcast information unit. Finally, the system extracts the frequency ID that generated the consecutive failures and the corresponding blind zone center coordinates, performs a binding insertion operation in the local relational database, and generates a local exemption record. This not only protects the accuracy of the global grid evaluation but also uses the failure data to record the distribution information of local signal blind zones, enabling the system to call this record to proactively avoid these blind zones when it passes through the specific coordinates again in the future, achieving a shift from passive response to adaptive learning.
[0105] In the above steps, the system identifies local dead zones caused by congestion through joint verification of time and displacement. In this state, global score reduction is blocked, preventing dense failure records in a localized area from unduly lowering the overall score of the entire grid, thus ensuring the objectivity of the historical experience database and the long-term stability of the evaluation system.
[0106] In the above embodiments, by reducing the data processing latency caused by traditional passive station search, the underlying physical frequency locking achieves millisecond-level response, avoiding audio interruption and background noise during cross-regional handover, and improving the seamless continuity of broadcast service reception and hardware tuning stability in high-speed mobile scenarios.
[0107] The following describes an exemplary geolocation-based automatic tuning system 300 for broadcast terminals provided in an embodiment of this application. Figure 3 This is an exemplary hardware structure diagram of the automatic tuning system 300 for broadcast terminals based on geographic location matching provided in this application embodiment.
[0108] In some embodiments, the location-based automatic tuning system 300 for broadcast terminals is a computer device or includes a computer device. The computer device includes a processor, memory, and a network interface 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 an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores data. The network interface communicates with other external terminals or servers via a network connection. In some embodiments, the network interface can be a wired network interface; in some embodiments, it can also be a wireless network interface. When the computer program is executed by the processor, it implements the methods described in the embodiments of this application.
[0109] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0110] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0111] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".
[0112] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.
[0113] 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 program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A method for automatic tuning of a broadcast terminal based on geographic position matching, characterized by, include: Get current location information; Match the corresponding target broadcast information unit according to the current location information, and extract a set of candidate broadcast frequencies from the target broadcast information unit; The frequencies in the candidate broadcast frequency set are sorted according to the historical tuning success rate stored locally to generate a candidate frequency list; Automatic tuning is performed on the frequencies in the candidate frequency list in the order of their sorting, and the reception quality index of the current tuning frequency is obtained. When the current tuning frequency meets the locking condition based on the received quality index, the current tuning frequency is determined as the target received frequency and the current received state is established. While maintaining the current reception state, the real-time location information and the real-time changes of the reception quality indicators are continuously monitored. When the real-time location information or the real-time change of the reception quality index meets the preset switching conditions, a new candidate frequency is extracted as the target switching frequency and an automatic switching operation is performed. Record the operation results of the automatic tuning and automatic switching operations, and update the historical tuning success rate stored locally based on the operation results.
2. The method according to claim 1, characterized in that, When the real-time location information or the real-time change of the reception quality index meets the preset switching conditions, a new candidate frequency is extracted as the target switching frequency and an automatic switching operation is performed, specifically including: Calculate the offset of the real-time location information relative to the geographical boundary of the target broadcast information unit, and calculate the attenuation rate of the reception quality index; When it is determined that the attenuation rate is greater than the preset signal mutation threshold and the offset indication does not exceed the geographical boundary, the cross-regional handover instruction requesting a spare frequency from the adjacent broadcast information unit is intercepted. From the candidate frequency list corresponding to the target broadcast information unit, extract the frequency with the second-highest historical tuning success rate as the target switching frequency and perform a local automatic switching operation; When it is determined that the attenuation rate is greater than the signal mutation threshold and the offset indication has exceeded the geographical boundary, a candidate frequency is extracted from the adjacent broadcast information unit as the target switching frequency and an automatic cross-regional switching operation is performed.
3. The method according to claim 2, characterized in that, After extracting the frequency with the second-highest historical tuning success rate from the candidate frequency list corresponding to the current target broadcast information unit as the target switching frequency and performing a local automatic switching operation, the method further includes: During the execution of the local automatic switching operation, the retuning failure result corresponding to the target switching frequency is obtained; The cumulative number of consecutive tuning failures in the candidate frequency list corresponding to the target broadcast information unit currently in the current position; When the number of consecutive tuning failures reaches the preset blind zone determination threshold, and the offset continues to indicate that it does not exceed the geographical boundary, the automatic tuning traversal operation of the remaining frequencies in the candidate frequency list is suspended, and the frequency status of the current radio frequency receiving channel is maintained for silent monitoring. Intercept the failure result recording instruction corresponding to the number of consecutive tuning failures, and prevent the failure result from updating the historical tuning success rate stored locally.
4. The method according to claim 1, characterized in that, When the real-time location information or the real-time change of the reception quality index meets the preset switching conditions, a new candidate frequency is extracted as the target switching frequency and an automatic switching operation is performed, specifically including: When it is determined that the moving speed indicated by the real-time location information is greater than a preset speed threshold and the moving direction is pointing towards the geographical boundary of the target broadcast information unit, a cross-boundary time window is predicted based on the moving speed and the moving direction, and before reaching the cross-boundary time window, the cross-regional frequency set corresponding to the adjacent broadcast information unit that is about to enter is obtained. Candidate frequencies with the same program identifier as the target receiving frequency are selected from the cross-regional frequency set and used as preloaded switching frequencies, and written into the fast response cache; When the real-time location information actually reaches the geographical boundary and the reception quality index shows a decay trend, it is determined that the preset switching condition is met. Bypassing the reordering operation of the newly extracted frequencies, the preloaded switching frequency is called from the fast response cache as the target switching frequency to perform cross-region automatic switching operation.
5. The method according to claim 4, characterized in that, After invoking the preloaded handover frequency from the fast response cache as the target handover frequency to perform the cross-regional automatic handover operation, the method further includes: Obtain the initial reception quality index after switching to the preloaded switching frequency; When the initial reception quality index is lower than the preset effective demodulation threshold, and the real-time location information indicates that it is currently in the boundary buffer where two adjacent broadcast information units overlap, the current radio frequency reception channel is locked at the preload switching frequency, and the audio decoding output channel is cut off to enter the silent detection state. Intercept the retuning command triggered due to the initial reception quality index being too low, and suspend the tuning failure determination of the preloaded switching frequency. In the silent detection state, the real-time indicators of the preloaded switching frequency are continuously collected. When the real-time indicators are detected to generate a continuous upward gradient and exceed the effective demodulation threshold, the audio decoding output channel is restored, and a stable reception state of the preloaded switching frequency is established in the adjacent broadcast information unit.
6. The method according to claim 1, characterized in that, The process of recording the results of the automatic tuning and automatic switching operations, and updating the locally stored historical tuning success rate based on the results, specifically includes: Extract the failure duration of consecutive failures of the automatic tuning or automatic switching operation, and obtain the terminal driving displacement within the failure duration; When the failure duration exceeds a preset duration threshold and the terminal's driving displacement is less than a preset displacement threshold, the terminal is determined to be in a local dwell blind zone, and the current continuous failure operation results are not used to reduce the overall historical tuning success rate of the target broadcast information unit. The results of the current consecutive failed operations are bound to the location coordinates of the local dwell blind zone to generate a local exemption record.
7. The method according to claim 1, characterized in that, When the real-time location information or the real-time change of the reception quality index meets the preset switching conditions, a new candidate frequency is extracted as the target switching frequency and an automatic switching operation is performed, specifically including: When the real-time location information indicates crossing the boundary of an adjacent broadcast information unit, the time interval since the last crossing of the boundary is obtained; When the time interval is less than a preset time threshold, the candidate broadcast frequency set corresponding to the target broadcast information unit is retained and merged with the candidate broadcast frequency set corresponding to the new broadcast information unit to generate a cross-regional fusion candidate pool. The frequency with the same program identifier as the target receiving frequency is extracted from the cross-regional fusion candidate pool and used as the target switching frequency. Automatic switching operation is then performed based on the cross-regional fusion candidate pool.
8. An automatic tuning system for broadcast terminals based on geographic location matching, characterized in that, The geolocation-based automatic tuning system for broadcast terminals includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code including computer instructions, and the one or more processors invoke the computer instructions to cause the geolocation-based automatic tuning system for broadcast terminals to perform the method as described in any one of claims 1-7.
9. A computer program product containing instructions, characterized in that, When the computer program product is run on a geolocation-based automatic tuning system for broadcast terminals, the geolocation-based automatic tuning system for broadcast terminals performs the method as described in any one of claims 1-7.
10. A computer-readable storage medium comprising instructions, characterized in that, When the instruction is executed on a geolocation-based automatic tuning system for broadcast terminals, the geolocation-based automatic tuning system for broadcast terminals performs the method as described in any one of claims 1-7.