CN115473600A - Radio station audio synchronization method and device - Google Patents

Radio station audio synchronization method and device Download PDF

Info

Publication number
CN115473600A
CN115473600A CN202211014616.5A CN202211014616A CN115473600A CN 115473600 A CN115473600 A CN 115473600A CN 202211014616 A CN202211014616 A CN 202211014616A CN 115473600 A CN115473600 A CN 115473600A
Authority
CN
China
Prior art keywords
radio station
audio
station
time difference
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211014616.5A
Other languages
Chinese (zh)
Inventor
张奇辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Foryou General Electronics Co Ltd
Original Assignee
Huizhou Foryou General Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou Foryou General Electronics Co Ltd filed Critical Huizhou Foryou General Electronics Co Ltd
Priority to CN202211014616.5A priority Critical patent/CN115473600A/en
Publication of CN115473600A publication Critical patent/CN115473600A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/18Arrangements for synchronising broadcast or distribution via plural systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention provides a radio station audio synchronization method and a radio station audio synchronization device, wherein the method comprises the following steps: step 1, receiving a target radio station list, judging whether the target radio station list contains an alternative radio station of a current radio station, if so, entering the next step, otherwise, ending; step 2, determining the synchronous time difference between the current radio station and the alternative radio station; and step 3, synchronizing the current radio station and the alternative radio station according to the synchronization time difference. The invention realizes the seamless connection of the vehicle-mounted information entertainment system when the broadcast channels are switched.

Description

Radio station audio synchronization method and device
Technical Field
The invention relates to the technical field of broadcast communication, in particular to a radio station audio synchronization method and device.
Background
With the development of economy and technology, the listening function of the current vehicle-mounted infotainment system is more and more powerful, and the vehicle-mounted infotainment system not only can listen to the traditional FM/AM broadcast, but also can listen to the digital broadcast with CD tone quality. Generally, digital broadcasting employs a clustering technique, and thus push broadcasting is generally performed through a plurality of channels for the same broadcast content, so that users can enjoy continuous listening services while traveling in different areas. However, when the current vehicle-mounted infotainment system switches broadcast channels, the system cannot be seamlessly connected with the previous channels, but some content is omitted or repeated, so that the user experience is reduced.
Disclosure of Invention
The invention provides a radio station audio synchronization method and a radio station audio synchronization device, which aim to overcome the defects in the prior art and realize seamless connection of a vehicle-mounted information entertainment system during switching of broadcast channels.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
the invention provides a radio station audio synchronization method, which comprises the following steps:
step 1, receiving a target radio station list, judging whether the target radio station list contains an alternative radio station of a current radio station, if so, entering the next step, otherwise, ending;
step 2, determining the synchronous time difference between the current radio station and the alternative radio station;
and step 3, synchronizing the current radio station and the alternative radio station according to the synchronization time difference.
Specifically, the target radio station list DAB radio station list, the step 1 includes:
step 101, receiving a DAB radio station list, and acquiring FIG 0/6 and FIG 0/2 data in the DAB radio station list;
and 102, judging whether the service number of the current radio station in the FIG 0/6 and FIG 0/2 data has Hard Linking information, if so, judging that the current radio station has an alternative radio station, otherwise, judging that the current radio station does not have the alternative radio station.
Specifically, the step 2 includes:
step 201, acquiring audio frames of a current radio station and an alternative radio station, and performing framing processing respectively to obtain a first audio frame and a second audio frame;
step 202, arbitrarily intercepting a section of waveform with a first preset duration in the first audio frame as a basic waveform;
step 203, intercepting a plurality of sections of waveforms in the second audio frame according to a preset interception rule to serve as a comparison waveform set, wherein the preset interception rule is an interval taking the initial position advance and delay system maximum offset duration of the basic waveform as an interception initial position, the interception length is the same as the basic waveform, and the intercepted stepping length is a second preset duration;
and 204, respectively calculating the overall variances of the base waveform and all the comparison waveforms in the comparison waveform set, and taking the audio frame difference between the comparison waveform corresponding to the minimum one of the overall variances and the base waveform as the synchronization time difference.
Specifically, the step 204 includes:
2041, acquiring the current sampling rate f of an audio frame of the system;
2042, according to the system maximum offset time length T offset Determining the number k of sampling points at the current sampling rate f;
step 2043, synchronously acquiring k sampling points S on the basic waveform and the comparison waveform a (i)、 S b (i) (i =1,2,3 \8230k), the corresponding amplitude value being noted as the first amplitude value Y a (i) A second amplitude Y b (i);
Step 2044, calculating the first amplitude S a (i) And a second amplitude S b (i) Of (2) total variance S 2
Step 2045, determine the overall variance S 2 The audio frame difference of the comparison waveform corresponding to the smallest one of the comparison waveforms and the base waveform is used as the synchronization time difference.
In particular, the number of sampling points k = f × T offset /2。
Specifically, the step 3 includes:
step 301, judging whether the synchronization time difference is smaller than a third preset time length, if so, directly playing the alternative radio station, otherwise, entering the next step;
and step 302, synchronizing the current radio station and the alternative radio station through the multiplying power playing speed.
Specifically, the step 302 includes:
adjusting the sampling rate of the radio player according to the synchronization time difference and a preset adjustment rule, wherein the preset adjustment rule is as follows: f ' = f/(1 +. DELTA.t/10), where f denotes the current sampling rate, f ' denotes the adjusted sampling rate f ', and DELTA.t denotes the synchronization time difference.
The invention provides a radio station audio frequency synchronization device, which comprises a radio station receiving module, a judgment module, a time difference determination module and a synchronization module which are connected in sequence;
the radio station receiving module is used for receiving a target radio station list;
the judging module is used for judging whether the target radio station list contains the alternative radio station of the current radio station;
the time difference determining module is used for determining the synchronous time difference between the current radio station and the alternative radio station;
and the synchronization module is used for synchronizing the current radio station and the alternative radio station according to the synchronization time difference.
Specifically, the radio station receiving module is a DAB receiving module.
Specifically, the time difference determining module is provided with an audio buffer unit for synchronously storing the audio frame of the current radio station and the audio frame of the alternative radio station; and the frame difference calculating unit is used for calculating the audio frame difference between the comparison waveform and the basic waveform.
The invention has the beneficial effects that: according to the invention, the target radio station list is received, the synchronization time difference between the current radio station and the alternative radio station is determined, and the current radio station and the alternative radio station are synchronized according to the synchronization time difference, so that seamless connection of the vehicle-mounted information entertainment system during broadcast channel switching is realized.
Drawings
FIG. 1 is a flow chart of a station audio synchronization method of the present invention;
fig. 2 is a schematic structural diagram of the audio synchronizer of the radio station of the present invention;
FIG. 3 is a schematic diagram of another structure of the audio synchronizer according to the present invention;
fig. 4 is a schematic diagram of the time difference determination module of the present invention.
Detailed Description
The embodiments of the present invention will be described in detail with reference to the accompanying drawings, which are for reference and illustrative purposes only and are not intended to limit the scope of the invention.
In the flow described in the specification, claims, or drawings of the present invention, the serial numbers of the respective steps (e.g., steps 10, 20, etc.) are included for only distinguishing the respective steps, and the serial numbers themselves do not represent any execution order. It should be noted that, the descriptions of "first", "second", etc. herein are only used for distinguishing the description objects, etc., and do not represent the order of precedence, nor indicate that "first", "second", etc. are of different types.
Example 1
As shown in fig. 1, the present embodiment provides a radio station audio synchronization method, including:
step 1, receiving a target radio station list, judging whether the target radio station list contains an alternative radio station of a current radio station, if so, entering the next step, otherwise, ending.
The alternative station is the same station as the current station but with a different station signature (e.g., frequency, etc.).
In an implementation, the list of target stations may be a DAB station list.
When the target station list is a DAB station list, the step 1 includes:
step 101, receiving a DAB radio station list, and acquiring FIG 0/6 and FIG 0/2 data in the DAB radio station list;
and 102, judging whether a service number (SID) of the current radio station in the FIG 0/6 and FIG 0/2 data has Hard Linking information, if so, judging that the current radio station has an alternative radio station, otherwise, judging that the current radio station does not have the alternative radio station.
And 2, determining the synchronous time difference delta t between the current radio station and the alternative radio station.
In this embodiment, the step 2 includes:
step 201, obtaining audio frames of a current radio station and an alternative radio station, and performing framing processing respectively to obtain a first audio frame and a second audio frame.
The first audio frame and the second audio frame are correlated because the broadcast content of the current station and the alternate station are the same.
Step 202, arbitrarily intercepting a waveform of a first preset duration (for example, 1000 milliseconds) in the first audio frame as a basic waveform.
Step 203, intercepting a plurality of segments of waveforms in the second audio frame according to a preset interception rule as a comparative waveform set, wherein the preset interception rule is to advance and delay the maximum offset of a system by using the initial position of the basic waveformDuration T offset As the section of the clipping start position, the clipping length is the same as the basic waveform, and the step length of the clipping is a second preset time length (for example, 10 ms).
As shown in fig. 2, the starting position of the basic waveform is a point A1, a point B1 that is earlier than the point A1 by the maximum shift duration is an upper end point of the clipping starting position interval, a point B2 that is later than the point A1 by the maximum shift duration is a lower end point of the clipping starting position interval, and the starting position of the comparison waveform may be located at any point between the points B1 and B2. And intercepting a first comparison waveform by taking the point B1 as the initial position of the comparison waveform and taking the point B1 as the length same as that of the basic waveform, then, stepping a second preset time length as the initial position of the comparison waveform to intercept a second comparison waveform, and so on until the initial position of the comparison waveform is the point B2.
And 204, respectively calculating the overall variances of the basic waveform and all the comparison waveforms in the comparison waveform set, and taking the audio frame difference between the comparison waveform corresponding to the minimum of the overall variances and the basic waveform as the synchronous time difference Δ t.
In this embodiment, the step 204 includes:
step 2041, the current sampling rate f of the audio frame of the system is obtained.
Typically, the sampling rate of an audio frame is 44.1kHz.
2042, according to the system maximum offset time length T offset And determining the number k of sampling points according to the current sampling rate f.
In this embodiment, the number of sampling points k = f × T offset /2。
Step 2043, synchronously acquiring k sampling points S on the basic waveform and the comparison waveform a (i)、 S b (i) (i =1,2,3 \8230k) and the corresponding amplitude value is noted as the first amplitude value Y a (i) A second amplitude Y b (i)。
Step 2044, calculating the first amplitude S a (i) And a second amplitude S b (i) Of (2) total variance S 2
Figure RE-GDA0003910214320000051
Step 2045, comparing the overall variance S 2 The audio frame difference between the comparison waveform corresponding to the smallest one of the comparison waveforms and the base waveform is used as the synchronization time difference Δ t.
And 3, synchronizing the current radio station and the alternative radio station according to the synchronization time difference delta t.
In this embodiment, the step 3 includes:
step 301, judging whether the synchronization time difference Δ t is smaller than a third preset time length, if so, directly playing the alternative radio station, otherwise, entering the next step.
In specific implementation, the third preset time period is set according to the delay difference that can be distinguished by human ears, and the typical value is 10ms.
And step 302, synchronizing the current radio station and the alternative radio station through the multiplying power playing speed.
In this embodiment, the step 302 includes:
and adjusting the sampling rate of the radio player according to the synchronization time difference delta t and a preset adjustment rule.
In this embodiment, the preset adjustment rule is: f ' = f/(1 +. DELTA.t/10), where f denotes the current sampling rate, f ' denotes the adjusted sampling rate f ', and DELTA.t denotes the synchronization time difference.
Example 2
As shown in fig. 3, this embodiment provides a radio station audio synchronization apparatus, which includes a radio station receiving module, a determining module, a time difference determining module, and a synchronization module, which are connected in sequence;
the radio station receiving module is used for receiving a target radio station list;
the judging module is used for judging whether the target radio station list contains the alternative radio station of the current radio station;
the time difference determining module is used for determining the synchronous time difference between the current radio station and the alternative radio station;
and the synchronization module is used for synchronizing the current radio station and the alternative radio station according to the synchronization time difference.
In this embodiment, the radio station receiving module is a DAB receiving module.
As shown in fig. 4, in this embodiment, an audio buffer unit is disposed in the time difference determining module, and is configured to store an audio frame of a current radio station and an audio frame of an alternative radio station synchronously; and the frame difference calculating unit is used for calculating the audio frame difference between the comparison waveform and the basic waveform.
The working process of the radio station audio synchronization apparatus in this embodiment is as described in the radio station audio synchronization method in embodiment 1, and is not described again.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention.

Claims (10)

1. A method for audio synchronization in a radio station, comprising:
step 1, receiving a target radio station list, judging whether the target radio station list contains an alternative radio station of a current radio station, if so, entering the next step, otherwise, ending;
step 2, determining the synchronous time difference between the current radio station and the alternative radio station;
and step 3, synchronizing the current radio station and the alternative radio station according to the synchronization time difference.
2. The station audio synchronization method of claim 1, wherein the step 2 comprises:
step 201, acquiring audio frames of a current radio station and an alternative radio station, and performing framing processing respectively to obtain a first audio frame and a second audio frame;
step 202, arbitrarily intercepting a section of waveform with a first preset duration in the first audio frame as a basic waveform;
step 203, intercepting a plurality of sections of waveforms in the second audio frame according to a preset interception rule to serve as a comparative waveform set, wherein the preset interception rule is an interval taking the initial position advance and delay system maximum offset duration of the basic waveform as an interception initial position, the interception length is the same as the basic waveform, and the intercepted stepping length is a second preset duration;
and 204, respectively calculating the overall variances of the basic waveform and all the comparison waveforms in the comparison waveform set, and taking the audio frame difference between the comparison waveform corresponding to the minimum one of the overall variances and the basic waveform as the synchronization time difference.
3. The station audio synchronization method of claim 2, wherein the step 204 comprises:
2041, acquiring the current sampling rate f of an audio frame of a system;
2042, according to the system maximum offset time length T offset Determining the number k of sampling points at the current sampling rate f;
step 2043, synchronously acquiring k sampling points S on the basic waveform and the comparison waveform a (i)、S b (i) (i =1,2,3 \8230k) and the corresponding amplitude value is noted as the first amplitude value Y a (i) A second amplitude Y b (i);
Step 2044, calculating the first amplitude S a (i) And a second amplitude S b (i) Of (2) total variance S 2
Step 2045, determine the overall variance S 2 The audio frame difference of the comparison waveform corresponding to the smallest one of the comparison waveforms and the base waveform is used as the synchronization time difference.
4. A station audio synchronization method according to claim 3, characterized in that the number of sampling points k = f T offset /2。
5. A station audio synchronization method according to claim 4, characterized in that said step 3 comprises:
step 301, judging whether the synchronization time difference is smaller than a third preset time length, if so, directly playing the alternative radio station, otherwise, entering the next step;
and step 302, synchronizing the current radio station and the alternative radio station through the multiplying power playing speed.
6. A station audio synchronization method according to claim 5, characterized in that said step 302 comprises:
adjusting the sampling rate of the radio player according to the synchronization time difference and a preset adjustment rule, wherein the preset adjustment rule is as follows: f ' = f/(1 +. DELTA.t/10), where f denotes the current sampling rate, f ' denotes the adjusted sampling rate f ', and DELTA.t denotes the synchronization time difference.
7. A station audio synchronization method according to any of the claims 1 to 6, characterized in that said DAB station list of destination station list, said step 1 comprises:
step 101, receiving a DAB radio station list, and acquiring FIG 0/6 data and FIG 0/2 data in the DAB radio station list;
and 102, judging whether the service number of the current radio station in the FIG 0/6 and FIG 0/2 data has Hard Linking information, if so, judging that the current radio station has an alternative radio station, otherwise, judging that the current radio station does not have the alternative radio station.
8. A station audio synchronizer, comprising: the device comprises a radio station receiving module, a judging module, a time difference determining module and a synchronizing module which are connected in sequence;
the radio station receiving module is used for receiving a target radio station list;
the judging module is used for judging whether the target radio station list contains the alternative radio station of the current radio station;
the time difference determining module is used for determining the synchronous time difference between the current radio station and the alternative radio station;
and the synchronization module is used for synchronizing the current radio station and the alternative radio station according to the synchronization time difference.
9. The radio station audio synchronization device according to claim 8, wherein the time difference determination module is provided with an audio buffer unit for synchronously storing a current radio station audio frame and an alternative radio station audio frame; and the frame difference calculating unit is used for calculating the audio frame difference between the comparison waveform and the basic waveform.
10. A station audio synchronizer according to claim 8 or 9, characterized in that said station receiving module is a DAB receiving module.
CN202211014616.5A 2022-08-23 2022-08-23 Radio station audio synchronization method and device Pending CN115473600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211014616.5A CN115473600A (en) 2022-08-23 2022-08-23 Radio station audio synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211014616.5A CN115473600A (en) 2022-08-23 2022-08-23 Radio station audio synchronization method and device

Publications (1)

Publication Number Publication Date
CN115473600A true CN115473600A (en) 2022-12-13

Family

ID=84368094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211014616.5A Pending CN115473600A (en) 2022-08-23 2022-08-23 Radio station audio synchronization method and device

Country Status (1)

Country Link
CN (1) CN115473600A (en)

Similar Documents

Publication Publication Date Title
KR100959225B1 (en) Communication system, communication apparatus, and control method thereof
JPH10313284A (en) Demodulator and demodulation method
JP2004007140A (en) Voice reproducing device and voice reproduction control method to be used for the same device
JP2852295B2 (en) OFDM signal demodulator
KR20120058039A (en) Apparatus and method for estimating channel in digital video broadcasting system
CN106341719A (en) Synchronized audio play method simultaneously using various kinds of play modules of equipment and apparatus thereof
WO2013183859A1 (en) Device and method for controlling audio signal
CN107454510A (en) Audio sync player method of the bluetooth to case, system
JP4447592B2 (en) Time shift playback method for mobile communication terminal
TW200423777A (en) Apparatus and method for distributing frame synchronization information at a base station
CN104125339B (en) Mobile terminal radio channel switching method and system
CN104079958A (en) Video and multichannel audio synchronous broadcasting method
CN115473600A (en) Radio station audio synchronization method and device
JPH10145324A (en) Discrimination device for digital audio broadcast
KR100932332B1 (en) Transmission device and control method thereof
WO2020236200A1 (en) System for scanning digital broadcast radio content
CN101026423A (en) Apparatus and method for improving channel change speed in digital broadcasting reception terminal
KR20110009950A (en) Apparatus and method for processing audio each program of digital broadcasting
CA2084791A1 (en) Process for transmitting a time-variable control parameter
JP2017055292A (en) Reception device and reproduction method in reception device
JP5376856B2 (en) COMMUNICATION SYSTEM, RECEPTION DEVICE, AND CONTROL METHOD THEREOF
KR20150030593A (en) Transmitter, receiver and controlling method thereof
JPH11234154A (en) Multiplex broadcast receiver
US7689237B2 (en) Enhanced transmission quality in push-to talk system
JP3499502B2 (en) Digital broadcast receiving apparatus and search method therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination