A frequency setting method and device of a frequency modulation terminal, equipment and storage medium
By switching to the pre-switched frequency parsing RDS protocol after the FM broadcast terminal stops receiving the default frequency signal, and obtaining the requested setting frequency, the problem of complex frequency switching in FM broadcast terminals is solved, and efficient frequency setting is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 广州市迪士普音响科技有限公司
- Filing Date
- 2023-03-17
- Publication Date
- 2026-06-30
AI Technical Summary
The existing FM broadcasting terminals have complex and difficult FM frequency switching operations, resulting in low setup efficiency.
When the FM broadcast terminal stops receiving the default frequency signal, it triggers a signal reception timeout. If no signal is received, it switches to the pre-switched frequency parsing RDS protocol to obtain the requested frequency setting from the handheld transmitter and switches to that frequency to receive the signal.
Frequency switching can be completed without the need for a host computer to connect to the serial port, which reduces the difficulty of operation and improves the frequency setting efficiency of the FM broadcast terminal.
Smart Images

Figure CN116232508B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of frequency switching technology, and more specifically, to a frequency setting method, apparatus, device, and storage medium for an FM terminal. Background Technology
[0002] In every corner of the city, you can find devices installed on utility poles that broadcast information on FM frequencies. Citizens can often hear these broadcasts on the streets. These devices are called FM radio terminals, which can only transmit broadcasts via FM frequencies. Generally, an FM radio terminal needs to be pre-connected to a host computer via a serial port to set relevant parameters, such as the default frequency, the parent address of the default frequency, and the local address of the default frequency. Then, the FM radio terminal can play broadcast information at the pre-set default frequency in operating mode. When there is no broadcast signal at the default frequency, the FM radio terminal will not play broadcast content, and the FM frequency needs to be switched.
[0003] However, switching the FM frequency of the FM broadcast terminal still requires a host computer to connect to the FM broadcast terminal via serial port. Since the FM broadcast terminal is installed on a high utility pole, the operation of switching the FM frequency is complicated and difficult, resulting in low efficiency in setting the frequency of the FM broadcast terminal. Summary of the Invention
[0004] In view of the above problems, this application is made to provide a frequency setting method, apparatus, device and storage medium for an FM terminal, so as to efficiently set the FM frequency of the FM broadcast terminal.
[0005] To achieve the above objectives, the following specific solutions are proposed:
[0006] A frequency setting method for an FM terminal, applied to an FM broadcast terminal, comprising:
[0007] When the FM broadcast terminal stops receiving broadcast signals at the default frequency, the timing of the first signal reception timeout is triggered.
[0008] If the FM broadcast terminal does not receive the broadcast signal of the default frequency within the timeout period of the first signal reception, it switches to the pre-switching frequency after the timeout period of the first signal reception to parse the Remote Desktop Service (RDS) protocol under the pre-switching frequency.
[0009] When the RDS signal transmitted by the handheld transmitter is obtained under the pre-switching frequency, the target RDS protocol in the RDS signal is parsed to obtain the requested setting frequency of the handheld transmitter.
[0010] Switch the pre-switching frequency to the requested setting frequency to receive the broadcast signal of the requested setting frequency.
[0011] Optionally, after switching the pre-switching frequency to the requested setting frequency, the method further includes:
[0012] If the FM broadcast terminal continues to receive the RDS signal, it will continue to receive the broadcast signal requesting the setting of the frequency.
[0013] Optionally, after switching the pre-switching frequency to the requested setting frequency, the method further includes:
[0014] If the FM broadcast terminal stops receiving the RDS signal, the second signal reception timeout is triggered.
[0015] If the FM broadcast terminal does not receive the RDS signal within the second signal reception timeout period, it will switch the requested setting frequency to the default frequency to receive the broadcast signal of the default frequency.
[0016] Optionally, the method further includes:
[0017] When no RDS signal is acquired at the pre-switching frequency, the timing of the second signal reception timeout is triggered.
[0018] If the FM broadcast terminal does not receive any RDS signal within the timeout period of the second signal reception, the pre-switching frequency will be switched to the default frequency.
[0019] Optionally, the method further includes:
[0020] Parse the target RDS protocol in the RDS signal to obtain the upper-level address and local address of the request setting frequency;
[0021] Switching the pre-switching frequency to the requested setting frequency includes:
[0022] Set the parent address and the local address, and based on the set parent address and the set local address, switch the pre-switching frequency to the requested setting frequency.
[0023] Optionally, after switching the pre-switching frequency to the requested setting frequency, the method further includes:
[0024] Play a notification sound to indicate that the requested frequency has been successfully set.
[0025] Optionally, the handheld transmitting device is a device that encapsulates the requested setting frequency, the upper-level address for setting the requested setting frequency, and the local address for setting the requested setting frequency into the target RDS protocol, and transmits the target RDS protocol to the FM broadcast terminal in the form of an RDS signal.
[0026] A frequency setting device for an FM terminal, applied to an FM broadcast terminal, comprising:
[0027] The first timeout timing trigger unit is used to trigger the timing of the first signal reception timeout when the FM broadcast terminal stops receiving the broadcast signal of the default frequency;
[0028] The pre-switching frequency switching unit is used to switch to the pre-switching frequency after the first signal reception timeout period if the FM broadcast terminal does not receive the broadcast signal of the default frequency within the timeout period of the first signal reception, so as to parse the Remote Desktop Service (RDS) protocol under the pre-switching frequency.
[0029] The protocol parsing unit is used to parse the target RDS protocol in the RDS signal when the RDS signal transmitted by the handheld transmitter is obtained under the pre-switching frequency, so as to obtain the requested setting frequency of the handheld transmitter.
[0030] A frequency setting request unit is used to switch the pre-switching frequency to the requested setting frequency in order to receive the broadcast signal of the requested setting frequency.
[0031] Optionally, the device may also include:
[0032] The continuous setting unit is used to continuously receive the broadcast signal of the requested setting frequency if the FM broadcast terminal continues to receive the RDS signal after the pre-switching frequency is switched to the requested setting frequency.
[0033] Optionally, the device may also include:
[0034] A stop receiving timeout trigger unit is used to trigger the timing of the second signal receiving timeout if the FM broadcast terminal stops receiving the RDS signal after the pre-switching frequency is switched to the requested setting frequency;
[0035] The first default frequency switching unit is configured to switch the requested setting frequency to the default frequency to receive the broadcast signal of the default frequency if the FM broadcast terminal does not receive the RDS signal within the timeout period of the second signal reception.
[0036] Optionally, the device may also include:
[0037] The no-receive-timeout trigger unit is used to trigger the timing of the second signal reception timeout when no RDS signal is acquired under the pre-switching frequency.
[0038] The second default frequency switching unit is used to switch the pre-switching frequency to the default frequency if the FM broadcast terminal does not receive any RDS signal within the timeout period of the second signal reception.
[0039] Optionally, the device may also include:
[0040] The address information acquisition unit is used to parse the target RDS protocol in the RDS signal to obtain the upper-level address and the local address for setting the request setting frequency;
[0041] The request frequency setting unit includes:
[0042] The request frequency setting subunit is used to set the upper-level address and the local address, and based on the set upper-level address and the set local address, to switch the pre-switching frequency to the request setting frequency.
[0043] Optionally, the device may also include:
[0044] The prompt tone playback unit is used to play a prompt tone after the pre-switching frequency is switched to the requested setting frequency, so as to indicate that the requested setting frequency has been successfully set.
[0045] A frequency setting device for an FM terminal includes a memory and a processor;
[0046] The memory is used to store programs;
[0047] The processor is used to execute the program to implement the various steps of the frequency setting method for the frequency modulation terminal as described above.
[0048] A storage medium storing a computer program, which, when executed by a processor, implements the various steps of the frequency setting method for an FM terminal as described above.
[0049] By employing the above technical solution, this application triggers a first signal reception timeout when the FM broadcast terminal stops receiving the default frequency broadcast signal. If the FM broadcast terminal does not receive the default frequency broadcast signal within the first signal reception timeout period, it switches to a pre-switching frequency after the first signal reception timeout period. The Remote Desktop Services (RDS) protocol is then parsed at the pre-switching frequency. When the RDS signal transmitted by the handheld transmitter is obtained at the pre-switching frequency, the target RDS protocol in the RDS signal is parsed to obtain the requested setting frequency of the handheld transmitter. The pre-switching frequency is then switched to the requested setting frequency to receive the broadcast signal of the requested setting frequency. Therefore, when the FM broadcast terminal does not receive the default frequency broadcast signal, there is a need to switch the FM frequency. In this case, there is no need to use a host computer connected to a serial port for setting; simply receiving the RDS signal transmitted by the remote handheld transmitter is sufficient to complete the FM frequency switch, reducing the difficulty of switching the FM broadcast terminal's frequency and improving the FM broadcast terminal's frequency modulation efficiency. Attached Figure Description
[0050] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0051] Figure 1 This application provides a schematic diagram of the frequency setting process for an FM terminal.
[0052] Figure 2 A schematic diagram of a frequency setting device for an FM terminal provided in this application embodiment;
[0053] Figure 3 This is a schematic diagram of the structure of a frequency setting device for an FM terminal provided in an embodiment of this application. Detailed Implementation
[0054] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0055] The solution proposed in this application can be implemented based on a terminal with data processing capabilities. This terminal can be an FM broadcast terminal, which can receive transmission signals from remote devices (such as handheld transmitters).
[0056] Next, combined Figure 1 The frequency setting method for the frequency modulation terminal described in this application may include the following steps:
[0057] Step S110: When the FM broadcast terminal stops receiving the broadcast signal of the default frequency, the timing of the first signal reception timeout is triggered.
[0058] Specifically, the default frequency can represent the frequency preset by the FM broadcast terminal. Before the FM broadcast terminal stops receiving the broadcast signal of the default frequency, it can continue to broadcast the broadcast content of the default frequency.
[0059] Understandably, broadcast content isn't available at the default frequency every moment. Therefore, when there's no content to broadcast at the default frequency, the FM broadcast terminal can stop receiving broadcast signals from that frequency. After receiving the default frequency signal, the FM broadcast terminal can then choose to play broadcast content from other FM frequencies to ensure utilization. The FM broadcast terminal needs to determine whether there is truly no broadcast content at the default frequency, which requires a certain interval of time for confirmation, thus triggering the first signal reception timeout.
[0060] Step S120: If the FM broadcast terminal does not receive the broadcast signal of the default frequency within the timeout period of the first signal reception, then after the timeout period of the first signal reception, it switches to the pre-switching frequency to parse the Remote Desktop Services (RDS) protocol under the pre-switching frequency.
[0061] Specifically, the timeout duration for the first signal reception can represent the duration required to determine the state that there is no broadcast content at the default frequency. This duration can be customized, such as 15 seconds. The pre-switching frequency can represent the frequency required to parse the RDS protocol.
[0062] Understandably, if the FM broadcast terminal still hasn't received a broadcast signal at the default frequency within the first signal reception timeout period, it indicates that there is indeed no broadcast content at the default frequency. Therefore, after the timeout expires, preparations can begin to switch frequencies. Before switching to the desired frequency, the frequency needs to be set as a pre-switching frequency. At the pre-switching frequency, the FM broadcast terminal can parse the RDS protocol containing the frequency to be switched. Therefore, after the timeout expires, the default frequency can be switched to the pre-switching frequency.
[0063] Step S130: When the RDS signal transmitted by the handheld transmitter is obtained under the pre-switching frequency, the target RDS protocol in the RDS signal is parsed to obtain the requested setting frequency of the handheld transmitter.
[0064] The request to set a frequency can indicate the frequency that the user needs to switch to on the FM broadcast terminal.
[0065] Specifically, the handheld transmitter can encapsulate the requested frequency, the parent address for setting the requested frequency, and the local address for setting the requested frequency into a target RDS protocol, and transmit the target RDS protocol to the FM broadcast terminal in the form of an RDS signal. The handheld transmitter may be equipped with a "Set" button and a "Cancel Setting" button. When the user presses the "Set" button, the handheld transmitter can transmit an RDS signal to the FM broadcast terminal. Before the user presses the "Cancel Setting" button, the handheld transmitter can continuously transmit an RDS signal to the FM broadcast terminal, and will only stop transmitting an RDS signal to the FM broadcast terminal when the user presses the "Cancel Setting" button.
[0066] Understandably, since the target RDS protocol encapsulates the request to set the frequency, the FM broadcast terminal can extract the protocol from the received RDS signal, obtain the target RDS protocol, and parse the target RDS protocol to obtain the request to set the frequency.
[0067] Step S140: Switch the pre-switching frequency to the requested setting frequency to receive the broadcast signal of the requested setting frequency.
[0068] Specifically, after receiving the request to set a frequency, the pre-switching frequency can be immediately switched to the requested frequency. Then, when the requested frequency is successfully set, the broadcast signal of the requested frequency can be received.
[0069] The frequency setting method for the FM terminal provided in this embodiment triggers a first signal reception timeout when the FM broadcast terminal stops receiving the broadcast signal at the default frequency. If the FM broadcast terminal does not receive the broadcast signal at the default frequency within the timeout period, it switches to a pre-switching frequency after the timeout period. The Remote Desktop Services (RDS) protocol is then parsed at the pre-switching frequency. When the RDS signal transmitted by the handheld transmitter is obtained at the pre-switching frequency, the target RDS protocol in the RDS signal is parsed to obtain the requested setting frequency of the handheld transmitter. The pre-switching frequency is then switched to the requested setting frequency to receive the broadcast signal at the requested setting frequency. Therefore, when the FM broadcast terminal does not receive the broadcast signal at the default frequency, there is a need to switch the FM frequency. In this case, there is no need to use a host computer connected to a serial port for setting; simply receiving the RDS signal transmitted by the remote handheld transmitter is sufficient to complete the FM frequency switch. This reduces the difficulty of switching the FM broadcast terminal's frequency and improves the FM broadcast terminal's frequency modulation efficiency.
[0070] In some embodiments of this application, considering that both the broadcast content at the default frequency and the broadcast content at the requested frequency are content that needs to be played, the FM broadcast terminal needs to switch back and forth between the default frequency and the requested frequency according to actual needs. Based on this, the frequency setting method for the FM terminal provided in this application can also describe the situation after setting the requested frequency, which can specifically include the following two situations:
[0071] The first scenario is that if the FM broadcast terminal continuously receives the RDS signal, it will continuously receive broadcast signals requesting frequency setting.
[0072] It is understandable that if the FM broadcast terminal continuously receives the RDS signal, it means that the user is continuously transmitting the RDS signal using the handheld transmitter, which indicates that there is a continuous need to request the setting of the frequency, and therefore the broadcast signal requesting the setting of the frequency can be continuously received.
[0073] The second method, S1, if the FM broadcast terminal stops receiving the RDS signal, triggers the second signal reception timeout timer.
[0074] Understandably, if an FM broadcast terminal stops receiving RDS signals, there could be two reasons. First, the handheld transmitter might still be continuously transmitting RDS signals, but due to a deviation from the transmission direction, the FM broadcast terminal stops receiving them. However, this does not constitute a cancellation of the frequency setting request. Second, the user might use the handheld transmitter to cancel transmitting RDS signals, causing the FM broadcast terminal to stop receiving them. This would indeed constitute a cancellation of the frequency setting request. The FM broadcast terminal needs to determine whether there is a genuine cancellation of the frequency setting request and must wait for a period of time to confirm this. Therefore, it may trigger the second signal reception timeout.
[0075] Specifically, the timing of the second signal reception timeout can represent the time that the FM broadcast terminal uses to confirm whether to cancel the request to set the frequency.
[0076] S2. If the FM broadcast terminal does not receive the RDS signal within the timeout period of the second signal reception, it will request to switch the setting frequency to the default frequency in order to receive the broadcast signal of the default frequency.
[0077] Understandably, if no RDS signal is received within the second signal reception timeout period, it indicates that there is indeed a need to cancel the request to set the frequency. In this case, the request to set the frequency can be switched to the default frequency, so that the broadcast signal of the default frequency can be received at the default frequency.
[0078] The frequency setting method for the FM terminal provided in this embodiment enables the FM broadcast terminal to adopt a setting strategy for the requested frequency based on whether the RDS signal has stopped being received. This ensures that while maintaining high coverage of the broadcast signal at the default frequency, it can also fully accommodate the setting requirements of the requested frequency.
[0079] Considering that the user does not request frequency setting, the user will not use a handheld transmitter to transmit RDS signals to the FM broadcast terminal. Therefore, the frequency setting method for the FM terminal provided in this application may further include:
[0080] S1. When no RDS signal is acquired under the pre-switching frequency, the timing of the second signal reception timeout is triggered.
[0081] Specifically, the second signal reception timeout can represent the timeout period during the wait for the RDS signal after switching from the default frequency to the pre-switching frequency. When switching from the default frequency to the pre-switching frequency, it checks whether an RDS signal has been acquired. If no RDS signal is acquired, the second signal reception timeout is triggered. If no RDS signal is received during the second signal reception timeout period, the timeout continues.
[0082] Understandably, the pre-switching frequency is switched after a long period of no broadcast signal received at the default frequency. Its purpose is to receive RDS signals. However, when no RDS signals are received, the FM broadcast terminal can trigger the second signal reception timeout to enter a waiting state in order to wait for the RDS signal to be received.
[0083] S2. If the FM broadcast terminal does not receive any RDS signal within the timeout period of the second signal reception, the pre-switching frequency will be switched to the default frequency.
[0084] It is understandable that if no RDS signal is received within the waiting time, it means that there is no need to request frequency setting, so the pre-switching frequency can be switched back to the default frequency.
[0085] For example, if an FM broadcast terminal does not receive an RDS signal and there is no broadcast signal at the default frequency, then the FM broadcast terminal will switch back and forth between the default frequency and the pre-switched frequency according to the waiting time interval.
[0086] The frequency setting method for the FM terminal provided in this embodiment involves triggering a second signal reception timeout when the FM broadcast terminal does not receive any RDS signal at the pre-switching frequency. If the FM broadcast terminal does not receive any RDS signal within the timeout period, the pre-switching frequency is switched to the default frequency. This ensures that the FM broadcast terminal can guarantee the efficiency of receiving broadcast signals at the default frequency while also receiving RDS signals sent from the outside, thus ensuring the switching efficiency of the requested frequency setting.
[0087] Considering that the target RDS protocol also encapsulates the upper-level address for setting the frequency of the setting request and the local address for setting the frequency of the setting request, the upper-level address and the local address for setting the frequency of the setting request can also be obtained during the process of parsing the target RDS protocol in the RDS signal mentioned in the above embodiment.
[0088] Based on this, some embodiments of this application describe the process of switching the pre-switching frequency to the requested setting frequency mentioned in the above embodiments, which may include:
[0089] Set the parent address and local address, and based on the set parent address and local address, switch the pre-switching frequency to the requested frequency.
[0090] Specifically, after parsing the target RDS protocol to obtain the information of the requested frequency, the upper-level address, and the local address, the FM broadcast terminal first sets the upper-level address and the local address. After the upper-level address and the local address are successfully set, the requested frequency is then set. Once the requested frequency is successfully set, the pre-switching frequency is switched to the requested frequency.
[0091] Understandably, before setting a frequency request, an FM broadcast terminal needs to set relevant parameters, such as the upstream address and local address of the requested frequency. Only after setting the upstream address and local address can the requested frequency be set.
[0092] In order to improve the user's experience in setting the frequency, feedback is provided to the user that the requested setting frequency has been successfully set. In some embodiments of this application, after the pre-switching frequency is switched to the requested setting frequency as mentioned in the above embodiments, a prompt tone can also be played to indicate that the FM broadcast terminal has successfully set the requested setting frequency.
[0093] Specifically, the FM broadcast terminal can sound once or multiple times.
[0094] The following describes the apparatus for setting the frequency of an FM terminal provided in the embodiments of this application. The apparatus for setting the frequency of an FM terminal described below and the method for setting the frequency of an FM terminal described above can be referred to in correspondence with each other.
[0095] See Figure 2 , Figure 2 This is a schematic diagram of a device structure for setting the frequency of an FM terminal, as disclosed in an embodiment of this application.
[0096] like Figure 2 As shown, the device may include:
[0097] The first timeout timing trigger unit 11 is used to trigger the timing of the first signal reception timeout when the FM broadcast terminal stops receiving the broadcast signal of the default frequency;
[0098] The pre-switching frequency switching unit 12 is used to switch to the pre-switching frequency after the first signal reception timeout period if the FM broadcast terminal does not receive the broadcast signal of the default frequency within the timeout period of the first signal reception, so as to parse the Remote Desktop Service (RDS) protocol under the pre-switching frequency.
[0099] Protocol parsing unit 13 is used to parse the target RDS protocol in the RDS signal when the RDS signal transmitted by the handheld transmitter is obtained under the pre-switching frequency, so as to obtain the requested setting frequency of the handheld transmitter.
[0100] The request frequency setting unit 14 is used to switch the pre-switching frequency to the request setting frequency in order to receive the broadcast signal of the request setting frequency.
[0101] Optionally, the device may also include:
[0102] The continuous setting unit is used to continuously receive the broadcast signal of the requested setting frequency if the FM broadcast terminal continues to receive the RDS signal after the pre-switching frequency is switched to the requested setting frequency.
[0103] Optionally, the device may also include:
[0104] A stop receiving timeout trigger unit is used to trigger the timing of the second signal receiving timeout if the FM broadcast terminal stops receiving the RDS signal after the pre-switching frequency is switched to the requested setting frequency;
[0105] The first default frequency switching unit is configured to switch the requested setting frequency to the default frequency to receive the broadcast signal of the default frequency if the FM broadcast terminal does not receive the RDS signal within the timeout period of the second signal reception.
[0106] Optionally, the device may also include:
[0107] The no-receive-timeout trigger unit is used to trigger the timing of the second signal reception timeout when no RDS signal is acquired under the pre-switching frequency.
[0108] The second default frequency switching unit is used to switch the pre-switching frequency to the default frequency if the FM broadcast terminal does not receive any RDS signal within the timeout period of the second signal reception.
[0109] Optionally, the device may also include:
[0110] The address information acquisition unit is used to parse the target RDS protocol in the RDS signal to obtain the upper-level address and the local address for setting the request setting frequency;
[0111] The request frequency setting unit includes:
[0112] The request frequency setting subunit is used to set the upper-level address and the local address, and based on the set upper-level address and the set local address, to switch the pre-switching frequency to the request setting frequency.
[0113] Optionally, the device may also include:
[0114] The prompt tone playback unit is used to play a prompt tone after the pre-switching frequency is switched to the requested setting frequency, so as to indicate that the requested setting frequency has been successfully set.
[0115] The frequency setting device for an FM terminal provided in this application embodiment can be applied to devices for setting the frequency of an FM terminal, such as an FM broadcast terminal. Optionally, Figure 3 The hardware structure block diagram of the frequency setting device for the FM terminal is shown. (Refer to...) Figure 3 The hardware structure of the frequency setting device of the frequency modulation terminal may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
[0116] In this embodiment of the application, the number of processor 1, communication interface 2, memory 3, and communication bus 4 is at least one, and processor 1, communication interface 2, and memory 3 communicate with each other through communication bus 4;
[0117] Processor 1 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
[0118] Memory 3 may include high-speed RAM, and may also include non-volatile memory, such as at least one disk storage device;
[0119] The memory stores a program, which the processor can call. The program is used for:
[0120] When the FM broadcast terminal stops receiving broadcast signals at the default frequency, the timing of the first signal reception timeout is triggered.
[0121] If the FM broadcast terminal does not receive the broadcast signal of the default frequency within the timeout period of the first signal reception, it switches to the pre-switching frequency after the timeout period of the first signal reception to parse the Remote Desktop Service (RDS) protocol under the pre-switching frequency.
[0122] When the RDS signal transmitted by the handheld transmitter is obtained under the pre-switching frequency, the target RDS protocol in the RDS signal is parsed to obtain the requested setting frequency of the handheld transmitter.
[0123] Switch the pre-switching frequency to the requested setting frequency to receive the broadcast signal of the requested setting frequency.
[0124] Optionally, the refined and extended functions of the program can be found in the description above.
[0125] This application embodiment also provides a storage medium that can store a program suitable for execution by a processor, the program being used for:
[0126] When the FM broadcast terminal stops receiving broadcast signals at the default frequency, the timing of the first signal reception timeout is triggered.
[0127] If the FM broadcast terminal does not receive the broadcast signal of the default frequency within the timeout period of the first signal reception, it switches to the pre-switching frequency after the timeout period of the first signal reception to parse the Remote Desktop Service (RDS) protocol under the pre-switching frequency.
[0128] When the RDS signal transmitted by the handheld transmitter is obtained under the pre-switching frequency, the target RDS protocol in the RDS signal is parsed to obtain the requested setting frequency of the handheld transmitter.
[0129] Switch the pre-switching frequency to the requested setting frequency to receive the broadcast signal of the requested setting frequency.
[0130] Optionally, the refined and extended functions of the program can be found in the description above.
[0131] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0132] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.
[0133] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A frequency setting method for an FM terminal, characterized in that, Applications in FM broadcasting terminals include: When the FM broadcast terminal stops receiving broadcast signals at the default frequency, the timing of the first signal reception timeout is triggered. If the FM broadcast terminal does not receive the broadcast signal of the default frequency within the timeout period of the first signal reception, it switches to the pre-switching frequency after the timeout period of the first signal reception to parse the Remote Desktop Service (RDS) protocol under the pre-switching frequency. When the RDS signal transmitted by the handheld transmitter is obtained under the pre-switching frequency, the target RDS protocol in the RDS signal is parsed to obtain the requested setting frequency of the handheld transmitter. Switch the pre-switching frequency to the requested setting frequency to receive the broadcast signal of the requested setting frequency.
2. The method according to claim 1, characterized in that, After switching the pre-switching frequency to the requested setting frequency, the method further includes: If the FM broadcast terminal continues to receive the RDS signal, it will continue to receive the broadcast signal requesting the setting of the frequency.
3. The method according to claim 1, characterized in that, After switching the pre-switching frequency to the requested setting frequency, the method further includes: If the FM broadcast terminal stops receiving the RDS signal, the second signal reception timeout is triggered. If the FM broadcast terminal does not receive the RDS signal within the second signal reception timeout period, it will switch the requested setting frequency to the default frequency to receive the broadcast signal of the default frequency.
4. The method according to claim 3, characterized in that, Also includes: When no RDS signal is acquired at the pre-switching frequency, the timing of the second signal reception timeout is triggered. If the FM broadcast terminal does not receive any RDS signal within the timeout period of the second signal reception, the pre-switching frequency will be switched to the default frequency.
5. The method according to claim 1, characterized in that, Also includes: Parse the target RDS protocol in the RDS signal to obtain the upper-level address and local address of the request setting frequency; Switching the pre-switching frequency to the requested setting frequency includes: Set the parent address and the local address, and based on the set parent address and the set local address, switch the pre-switching frequency to the requested setting frequency.
6. The method according to claim 1, characterized in that, After switching the pre-switching frequency to the requested setting frequency, the method further includes: Play a notification sound to indicate that the requested frequency has been successfully set.
7. The method according to any one of claims 1-6, characterized in that, The handheld transmitting device is a device that encapsulates the requested frequency setting, the upper-level address for setting the requested frequency setting, and the local address for setting the requested frequency setting into the target RDS protocol, and transmits the target RDS protocol to the FM broadcast terminal in the form of an RDS signal.
8. A frequency setting device for an FM terminal, characterized in that, Applications in FM broadcasting terminals include: The first timeout timing trigger unit is used to trigger the timing of the first signal reception timeout when the FM broadcast terminal stops receiving the broadcast signal of the default frequency; The pre-switching frequency switching unit is used to switch to the pre-switching frequency after the first signal reception timeout period if the FM broadcast terminal does not receive the broadcast signal of the default frequency within the timeout period of the first signal reception, so as to parse the Remote Desktop Service (RDS) protocol under the pre-switching frequency. The protocol parsing unit is used to parse the target RDS protocol in the RDS signal when the RDS signal transmitted by the handheld transmitter is obtained under the pre-switching frequency, so as to obtain the requested setting frequency of the handheld transmitter. A frequency setting request unit is used to switch the pre-switching frequency to the requested setting frequency in order to receive the broadcast signal of the requested setting frequency.
9. A frequency setting device for an FM terminal, characterized in that, Including memory and processor; The memory is used to store programs; The processor is used to execute the program to implement the various steps of the frequency setting method for the frequency modulation terminal as described in any one of claims 1-7.
10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the various steps of the frequency setting method for the frequency modulation terminal as described in any one of claims 1-7.