CN107483285B - RDS receiving method and device - Google Patents

RDS receiving method and device Download PDF

Info

Publication number
CN107483285B
CN107483285B CN201710683783.1A CN201710683783A CN107483285B CN 107483285 B CN107483285 B CN 107483285B CN 201710683783 A CN201710683783 A CN 201710683783A CN 107483285 B CN107483285 B CN 107483285B
Authority
CN
China
Prior art keywords
frequency
instruction
rds
list
target
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.)
Active
Application number
CN201710683783.1A
Other languages
Chinese (zh)
Other versions
CN107483285A (en
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.)
Sumavision Technologies Co Ltd
Original Assignee
Sumavision Technologies 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 Sumavision Technologies Co Ltd filed Critical Sumavision Technologies Co Ltd
Priority to CN201710683783.1A priority Critical patent/CN107483285B/en
Publication of CN107483285A publication Critical patent/CN107483285A/en
Application granted granted Critical
Publication of CN107483285B publication Critical patent/CN107483285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/103Active monitoring, e.g. heartbeat, ping or trace-route with adaptive polling, i.e. dynamically adapting the polling rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/53Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers
    • H04H20/59Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for emergency or urgency
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H40/00Arrangements specially adapted for receiving broadcast information
    • H04H40/18Arrangements characterised by circuits or components specially adapted for receiving
    • H04H40/27Arrangements characterised by circuits or components specially adapted for receiving specially adapted for broadcast systems covered by groups H04H20/53 - H04H20/95
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/29Arrangements for monitoring broadcast services or broadcast-related services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H2201/00Aspects of broadcast communication
    • H04H2201/10Aspects of broadcast communication characterised by the type of broadcast system
    • H04H2201/13Aspects of broadcast communication characterised by the type of broadcast system radio data system/radio broadcast data system [RDS/RBDS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

The invention provides a method and a device for receiving RDS (radio data service), which relate to the technical field of emergency broadcasting and comprise the following steps: acquiring a message queue, wherein the message queue comprises messages sent by at least one frequency point; judging whether a heartbeat instruction of a target main frequency is received in a preset time period or not based on the message, wherein the target main frequency is any one of at least one frequency point; under the condition that a heartbeat instruction of the target main frequency is judged not to be received, the target main frequency is added to a frequency switching list, the frequency switching list at least comprises a last-stage main frequency, and the last-stage main frequency is a last-stage network point in the wired frequency modulation networking; polling a frequency switching list to lock the next main frequency to be switched and receiving an RDS instruction through the currently switched main frequency; whether the target dominant frequency is recovered to be normal or not is detected, and when the target dominant frequency is recovered to be normal, the target dominant frequency is removed from the frequency switching list, so that the technical problem of untimely terminal response caused by poor RDS instruction transmission effect in the conventional cascade transmission mode is solved.

Description

RDS receiving method and device
Technical Field
The invention relates to the technical field of emergency broadcasting, in particular to a method and a device for receiving RDS (radio data service).
Background
The transmission of the RDS instruction of the multi-stage emergency broadcast is divided into two modes of parallel connection and cascade connection. The parallel transmission, namely all levels of RDS instructions are mutually independent, the RDS instructions of other signals cannot be transmitted downwards due to the fact that one level of signal interruption does not exist, and the transmission mode has the defect that the terminal can only frequency hop and receive the RDS instructions of the multi-level signals in a time-sharing mode, so that frequency-cutting sound occurs to the terminal, the broadcasting effect is poor, and the efficiency of responding to the RDS instructions is low; the cascade transmission is that the transmission of the upper stage is subjected to differential conversion and combined by the lower stage, and the terminal only receives the RDS instruction of the frequency modulation frequency point of the lowest stage, so that frequency cutting is not performed, and the response to the RDS instruction is faster, but the cascade transmission mode easily causes the interruption of the first-stage signal, thereby influencing the transmission of other RDS instructions.
Disclosure of Invention
In view of the above, the present invention provides a method and a device for receiving RDS, so as to solve the technical problem of the prior cascade transmission mode that the RDS instruction transmission effect is poor, which results in the untimely response of the terminal.
In a first aspect, an embodiment of the present invention provides a method for receiving RDS, including: acquiring a message queue, wherein the message queue comprises messages sent by at least one frequency point; judging whether a heartbeat instruction of a target main frequency is received in a preset time period or not based on the message, wherein the target main frequency is any one of the at least one frequency point; under the condition that a heartbeat instruction of the target main frequency is judged not to be received, adding the target main frequency to a frequency switching list, wherein the frequency switching list at least comprises a last-stage main frequency, and the last-stage main frequency is a last-stage network point in a wired frequency modulation networking; polling the frequency switching list to lock the next main frequency to be switched and receiving an RDS instruction through the currently switched main frequency; and detecting whether the target main frequency returns to normal or not, wherein when the target main frequency returns to normal, the target main frequency is eliminated from the frequency switching list.
Further, detecting whether the target dominant frequency returns to normal includes: obtaining an RDS frame sent by the target main frequency in the message queue; judging whether a complete RDS instruction is received or not based on the RDS frame; if the complete RDS instruction is received, inquiring whether a source of the complete RDS instruction exists in the frequency cutting list, and judging whether the complete RDS instruction is received by a first frequency point, wherein the priority of the first frequency point is lower than that of the target dominant frequency; and if so, detecting that the target main frequency is recovered to be normal, wherein when the target main frequency is recovered to be normal, the target main frequency is eliminated from the frequency switching list.
Further, after removing the target dominant frequency from the cut-to list, the method further comprises: acquiring an RDS instruction sent by the at least one frequency point; judging whether an RDS instruction sent by the at least one frequency point is a target instruction, wherein the target instruction comprises a broadcast maintaining instruction or a broadcast stopping instruction; if yes, updating the start-stop broadcast state of the frequency point sending the RDS instruction in the start-broadcast frequency point list; selecting a frequency point with the highest priority for broadcasting based on the updated broadcasting frequency point list; and polling the frequency switching list after the frequency point with the highest priority is selected so as to determine the next main frequency to be switched.
Further, if no, the method further comprises: when a main frequency setting instruction is received, clearing an on-air frequency point list, clearing a first-in first-out queue of each frequency point in the on-air frequency point list, and updating the on-air frequency point list again according to the main frequency setting instruction; and the control terminal relocks the lowest-level main frequency in the frequency switching list and receives an RDS instruction through the lowest-level main frequency, wherein after the RDS instruction is received through the lowest-level main frequency, the frequency switching list is polled to determine the next main frequency to be switched.
Further, if the complete RDS instruction is not received, the method further comprises: judging whether an RDS frame is detected; if yes, judging whether the receiving quantity of the RDS frames exceeds a preset quantity or not, and judging whether the RDS frames can form a complete RDS instruction or not; if not, judging whether the signal field intensity is in an abnormal state; and if so, clearing the on-air frequency point list, clearing the first-in first-out queue of each frequency point in the on-air frequency point list, and polling the frequency switching list to determine the next dominant frequency to be switched.
Further, after acquiring the message queue, the method further includes: determining a frequency point for sending a broadcast maintaining instruction based on the message, and starting countdown of maintaining time after receiving the broadcast maintaining instruction; determining whether the countdown of the maintenance time is finished; if the end is determined, controlling the frequency point which sends the playing maintaining instruction to stop playing; updating the on-off state of the frequency point which sends the on-off maintaining instruction in the on-off frequency point list; and selecting the frequency point with the highest priority from the updated broadcasting frequency point list for broadcasting, wherein after the frequency point with the highest priority is selected for broadcasting, the frequency switching list is polled to determine the next dominant frequency to be switched.
In a second aspect, an embodiment of the present invention further provides a receiving device for an RDS, including: the first acquisition unit is used for acquiring a message queue, wherein the message queue comprises messages sent by at least one frequency point; a first judging unit, configured to judge whether a heartbeat instruction of a target dominant frequency is received within a preset time period based on the message, where the target dominant frequency is any one of the at least one frequency point; the adding unit is used for adding the target main frequency to the frequency switching list under the condition that the heartbeat instruction of the target main frequency is judged not to be received; the polling unit is used for polling the frequency switching list to lock the next main frequency to be switched and receiving an RDS instruction through the currently switched main frequency; and the detection unit is used for detecting whether the target main frequency is recovered to be normal or not, wherein when the target main frequency is recovered to be normal, the target main frequency is eliminated from the frequency switching list.
Further, the detection unit is configured to: acquiring an RDS frame sent by the target dominant frequency in real time; judging whether a complete RDS instruction is received or not based on the RDS frame; if the complete RDS instruction is received, inquiring whether a source of the complete RDS instruction exists in the frequency cutting list, and judging whether the complete RDS instruction is received by a first frequency point, wherein the priority of the first frequency point is lower than that of the target dominant frequency; and if so, detecting that the target main frequency is recovered to be normal, wherein when the target main frequency is recovered to be normal, the target main frequency is eliminated from the frequency switching list.
Further, the apparatus further comprises: the second obtaining unit is used for obtaining the RDS instruction sent by the at least one frequency point after the target dominant frequency is removed from the frequency switching list; the second judging unit is used for judging whether the RDS instruction sent by the at least one frequency point is a target instruction, wherein the target instruction comprises a start-up maintaining instruction or a stop-play instruction; the updating unit is used for updating the start-stop broadcast state of the frequency point which sends the RDS instruction in the start-broadcast frequency point list if the judgment result is yes; the selecting unit is used for selecting the frequency point with the highest priority for broadcasting based on the broadcasting frequency point list after updating; and polling the frequency switching list after the frequency point with the highest priority is selected so as to determine the next main frequency to be switched.
Further, the apparatus further comprises: the clearing unit is used for clearing the on-air frequency point list, clearing the first-in first-out queue of each frequency point in the on-air frequency point list and updating the on-air frequency point list again according to the main frequency setting instruction when the main frequency setting instruction is received under the condition that the judgment is not carried out; and the control unit is used for controlling the terminal to lock the lowest-level main frequency in the frequency switching list again and receive the RDS instruction through the lowest-level main frequency, wherein the frequency switching list is polled after the RDS instruction is received through the lowest-level main frequency so as to determine the next main frequency to be switched.
In the embodiment of the invention, a message queue is firstly obtained, then whether a heartbeat instruction of a target main frequency is received in a preset time period is judged based on the message in the message queue, and the target main frequency is added to a frequency switching list under the condition that the heartbeat instruction of the target main frequency is judged not to be received; polling a frequency switching list to lock the next main frequency to be switched and receiving an RDS instruction through the currently switched main frequency; and finally, detecting whether the target main frequency is recovered to be normal or not, wherein when the target main frequency is recovered to be normal, the target main frequency is eliminated from the frequency switching list. In the embodiment of the invention, the polling frequency-switching list is adopted, so that the terminal can still receive other normal front-end signals and play emergency broadcast signals according to the priority order under the condition that partial front-end signals are abnormal, high-efficiency broadcasting is ensured, the processing of abnormal conditions is considered, the whole village response system is more stable in operation, the broadcasting effect is better, the terminal is more convenient to maintain, and the technical problem that the RDS instruction transmission effect is poorer in the existing cascade transmission mode is solved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Figure 1 is a schematic diagram of a cable fm network according to an embodiment of the invention;
fig. 2 is a schematic diagram of a city broadcasting machine room according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a data structure of a PI code of an RDS data frame according to an embodiment of the present invention;
fig. 4 is a flow chart of a method of receiving RDS in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of a method of receiving RDS according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a receiving device of RDS according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
according to an embodiment of the present invention, there is provided an embodiment of a method of receiving RDS, it should be noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
It should be noted that the receiving method of RDS provided in the embodiment of the present invention is a method set based on a cable fm networking. The structure of the cable fm network will be briefly described with reference to fig. 2.
Fig. 1 is a schematic diagram of a cable fm network according to an embodiment of the invention. The figure is a schematic diagram of a city-ballast networking.
As can be seen from fig. 1, the integrated machine shown in fig. 1 is a frequency modulation modulator that frequency modulates and codes the integrated machine, and RDS commands controlled by the codes are transmitted through a frequency modulation subcarrier (57 KHz). The daily integrated machine usually plays some daily broadcasts, including locally self-made audio program contents, and the emergency integrated machine usually combines the emergency broadcast contents with the daily broadcast contents to transmit the emergency broadcast contents together in a telephone or short message break-in mode.
As shown in the city broadcasting machine room shown in fig. 2, the city daily integrated machine and the city emergency integrated machine are connected to the same switch through parallel network cables. Daily RDS instruction in the city is transmitted down through the frequency modulation subcarrier, and emergent RDS instruction in the city is transmitted down through the frequency modulation subcarrier on one hand, and is transmitted to the daily integral machine in the city through the TCP protocol on the other hand, and is transmitted down after being received by the daily integral machine in the city and the local RDS instruction in series, so that all the RDS instructions in the city are transmitted down by the daily integral machine in the city. Similarly, as shown in FIG. 1, all RDS instructions of the ballast are concentrated on the birthday integral transmission.
As shown in fig. 1, the lower (ballast) level difference-to-upper (market) level command is converted into an electrical signal by the network equipment room of the level, and then a path of upper level signal is fed back to the daily all-in-one machine of the level, and after the RDS command of the upper level is received and demodulated by the frequency modulation of the all-in-one machine, the RDS command of the machine and the RDS command of the emergency all-in-one machine of the same level are combined and serially transmitted together.
From the instruction differential conversion mode of the multi-level networking, it can be known that each level of daily all-in-one machine can bear all instructions of a higher level and the current level, and the instructions of different levels are sent out according to different sequences according to the instruction priority in the RDS instruction.
Taking the current technical specification of the intelligent broadcast network management system in the XX province as an example, the PI code of the traditional RDS data frame is redefined, as shown in fig. 3. Wherein, the definition of the datagram source level and datagram ID is shown in Table 1.
TABLE 1
Figure BDA0001376138940000071
Figure BDA0001376138940000081
The reception principle of the fm terminal will be described in detail below.
Fig. 4 is a flowchart of a receiving method of RDS according to an embodiment of the present invention, which is applied to a terminal device, as shown in fig. 4, the method includes the following steps:
step S402, obtaining a message queue, wherein the message queue comprises messages sent by at least one frequency point;
it can be known from the above description that when the RDS instructions are subjected to the same level difference conversion and the higher level difference conversion, all the RDS instructions are concentrated on the last level of the main frequency transmission. Therefore, in the embodiment of the present invention, through setting, the terminal device only receives the message transmitted by the last level of the main frequency, and the message queue includes the RDS instruction, the heartbeat instruction of each frequency point, the start-up maintaining instruction, and other related information.
Step S404, judging whether a heartbeat instruction of a target main frequency is received in a preset time period or not based on the message, wherein the target main frequency is any one of at least one frequency point;
in normal use, each main frequency sends a heartbeat instruction to the terminal equipment so as to ensure that the communication with the terminal equipment is normal. In the embodiment of the invention, the terminal equipment judges whether the heartbeat instruction of the target main frequency is received at the preset time or not based on the message. And if the terminal equipment does not receive the heartbeat instruction of the target main frequency within the preset time period, the communication of the target main frequency is abnormal, at the moment, the target main frequency is added into the frequency switching list, and the frequency switching state of the target main frequency is updated to be 'yes'.
Step S406, under the condition that the heartbeat instruction of the target main frequency is judged not to be received, adding the target main frequency to a frequency switching list, wherein the frequency switching list at least comprises a last-stage main frequency, and the last-stage main frequency is a last-stage network point in a wired frequency modulation networking;
it should be noted that, since the secondary chip of the terminal device only needs to lock the primary frequency of the last stage, unlike the instruction parallel transmission method, it needs to perform a frequency switching operation, and therefore, the frequency switching list at least includes the primary frequency of the last stage.
Step S408, polling the frequency switching list to lock the next dominant frequency to be switched and receive an RDS instruction through the currently switched dominant frequency;
in the embodiment of the invention, only when the terminal equipment cannot receive the heartbeat instruction of a certain level of main frequency within the specified time, the level of main frequency is considered to be abnormal (for example, power failure or equipment operation is abnormal), at this time, the main frequency needs to be added into the frequency switching list, then all the main frequencies in the frequency switching list are polled and locked, and the RDS instruction is received through the currently switched main frequency. Therefore, the RDS instructions sent by other main frequencies except the abnormal main frequency are completely received, and the phenomenon that the RDS instructions of other main frequencies above a certain level cannot be received by the terminal equipment due to the abnormity of the main frequency of the level is avoided.
And step S410, detecting whether the target main frequency is recovered to be normal, wherein when the target main frequency is recovered to be normal, the target main frequency is eliminated from the frequency switching list.
In the embodiment of the invention, a message queue is firstly obtained, then whether a heartbeat instruction of a target main frequency is received in a preset time period is judged based on the message in the message queue, and the target main frequency is added to a frequency switching list under the condition that the heartbeat instruction of the target main frequency is judged not to be received; polling a frequency switching list to lock the next main frequency to be switched and receiving an RDS instruction through the currently switched main frequency; and finally, detecting whether the target main frequency is recovered to be normal or not, wherein when the target main frequency is recovered to be normal, the target main frequency is eliminated from the frequency switching list. In the embodiment of the invention, the polling frequency-switching list is adopted, so that the terminal can still receive other normal front-end signals and play emergency broadcast signals according to the priority order under the condition that partial front-end signals are abnormal, high-efficiency broadcasting is ensured, and meanwhile, the processing of abnormal conditions is considered, so that the whole village response system is more stable in operation, the broadcasting effect is better, the terminal is more convenient to maintain, and the technical problem of untimely terminal response caused by poor RDS instruction transmission effect in the conventional cascade transmission mode is solved.
In an optional embodiment, the step S410 of detecting whether the target dominant frequency returns to normal includes the following steps:
step S4101, obtaining an RDS frame sent by the target main frequency in a message queue;
step S4102, judging whether a complete RDS instruction is received or not based on the RDS frame;
step S4103, if a complete RDS instruction is received, inquiring whether a source of the complete RDS instruction exists in the frequency cutting list, and judging whether the complete RDS instruction is received by a first frequency point, wherein the priority of the first frequency point is lower than that of a target dominant frequency;
and step S4104, if yes, detecting that the target main frequency is recovered to normal, wherein when the target main frequency is recovered to normal, the target main frequency is removed from the frequency switching list.
In the embodiment of the invention, the terminal device not only analyzes the heartbeat instruction sent by each frequency point, but also obtains the RDS instruction sent by each frequency point, for example, obtains the RDS instruction sent by the target main frequency, and determines whether the target main frequency is recovered to be normal or not according to the RDS instruction sent by the target main frequency. The RDS instruction of the target main frequency is sent to the terminal equipment through the currently switched main frequency, and the RDS instruction is instruction information contained in the message queue.
The RDS instruction is sent in the form of an RDS frame, so that the terminal equipment judges whether the received RDS frame can form a complete RDS instruction after receiving the RDS frame, wherein if the received RDS frame is judged to form a complete RDS instruction, whether a source of the complete RDS instruction exists is inquired in the frequency cutting list. For example, the presence or absence of the target dominant frequency is queried in the frequency-cut list. If the target main frequency exists, judging whether the RDS instruction of the target main frequency is received by the next-stage frequency point of the target main frequency, if so, determining that the target main frequency is recovered to be normal, and at the moment, clearing the target main frequency from the frequency switching list.
That is, when an RDS instruction of an abnormal master frequency (i.e., the target master frequency) is received by a master frequency with a lower priority than the target master frequency, the master frequency is recovered to be normal and can be shifted from a lower level, and the master frequency can be removed from the frequency-cut list, that is, the master frequency is not locked to receive the RDS.
In this embodiment of the present invention, after the target dominant frequency is removed from the frequency switching list, the following steps may be further performed:
step S11, obtaining an RDS instruction sent by at least one frequency point;
step S12, judging whether the RDS instruction sent by at least one frequency point is a target instruction, wherein the target instruction comprises a broadcast maintaining instruction or a broadcast stopping instruction;
step S13, if yes, the start-stop broadcast state of the frequency point sending the RDS instruction is updated in the start-broadcast frequency point list;
step S14, selecting the frequency point with the highest priority for broadcasting based on the updated broadcasting frequency point list; and after the frequency point with the highest priority is selected, polling a frequency switching list to determine the next main frequency to be switched.
In the embodiment of the present invention, the terminal device further performs the above steps S11 to S14 when it is analyzed that the target dominant frequency is not restored to normal, or after the terminal device clears the target dominant frequency from the frequency switching list.
Specifically, the terminal device obtains an RDS instruction sent by at least one frequency point, and at this time, the terminal device determines whether the RDS instruction sent by at least one frequency point is a target instruction (i.e., whether the RDS instruction is an on-air maintaining instruction or an off-air instruction). And if the terminal equipment judges that the RDS instruction sent by any one of the at least one frequency point is a target instruction (a start-up maintaining instruction or a stop-play instruction), updating the start-up and stop-play state of the frequency point sending the RDS instruction in the start-up and stop-play frequency point list. After the broadcasting frequency point list is updated, if a plurality of frequency points in the broadcasting frequency point list have signals and have broadcasting maintaining instructions, the frequency points with higher priority are switched to broadcast programs and are played. And after selecting the frequency band with the highest priority to play, polling the frequency switching list to determine the next dominant frequency to be switched (namely, the dominant frequency to be locked).
As shown in table 2 below, the table is an integrated table of the broadcast frequency point list and the frequency cutting list, and the table includes information in the broadcast frequency point list and information in the frequency cutting list. The updating of the on-off state described in the above is to update the content belonging to the "on-off" in table 2, for example, to "on", or to "off". As shown in table 2, if the terminal device receives the stop-air command of the "provincial" frequency point, at this time, the "stop-air" position in table 2 is updated to "stop-air", at this time, it can be seen from table 2 that the "county" frequency point and the "ballast" frequency point send the start-air maintaining command to the terminal device, and at this time, the frequency point with the highest priority is selected for playing, that is, the "county" frequency point is selected for playing.
TABLE 2
Figure BDA0001376138940000121
In the embodiment of the present invention, after the step S12, if it is determined that the method is not a case, the method further includes the following steps:
step S15, when receiving the main frequency setting instruction, clearing the broadcasting frequency point list, clearing the first-in first-out queue of each frequency point in the broadcasting frequency point list, and updating the broadcasting frequency point list again according to the main frequency setting instruction;
and step S14, the control terminal locks the lowest-level main frequency in the frequency switching list again and receives the RDS instruction through the lowest-level main frequency, wherein after receiving the RDS instruction through the lowest-level main frequency, the control terminal polls the frequency switching list to determine the next main frequency to be switched.
In the embodiment of the invention, if the RDS instruction sent by at least one frequency point is judged not to be the target instruction, whether the RDS is the main frequency setting instruction is judged, and if the RDS is the main frequency setting instruction, the list of the start-up frequency points and the first-in first-out queue of each frequency point in the list of the start-up frequency points need to be cleared. After the list of the broadcast frequency points and the first-in first-out queue of each frequency point are cleared, the lowest-level main frequency in the frequency switching list can be controlled to be reserved, and an RDS instruction is received through the lowest-level main frequency, for example, the RDS instruction is received through the frequency point of 'village level'.
As can be seen from the above description, in the embodiment of the present invention, when an instruction for setting the master frequency is received, the broadcast frequency point list, the RDS receiving FIFOs of all frequency points, and other master frequencies except the lowest master frequency in the frequency cut list need to be cleared, and the lowest master frequency is re-locked to receive the RDS.
In step S4102, if a complete RDS command is not received, the method further includes the following steps:
step S21, judging whether the RDS frame is detected;
step S22, if yes, judging whether the receiving quantity of the RDS frames exceeds the preset quantity, and judging whether the RDS frames can form a complete RDS instruction;
step S23, if no, judging whether the signal field intensity is in abnormal state;
and step S24, if yes, clearing the list of the start-up frequency points, clearing the first-in first-out queue of each frequency point in the list of the start-up frequency points, and polling the frequency switching list to determine the next dominant frequency to be switched.
In the embodiment of the invention, whether the RDS frame is detected is judged firstly, wherein if the RDS frame is not detected, a frequency switching list is polled to determine the next main frequency to be switched; if the RDS frame is detected, judging whether the receiving quantity of the RDS frame exceeds the preset quantity or not, and judging whether the RDS frame can form a complete RDS instruction or not. If so, clearing the on-air frequency point list, clearing a first-in first-out queue of each frequency point in the on-air frequency point list, and polling the frequency switching list to determine the next dominant frequency to be switched; if not, continuously judging whether the signal field intensity is in an abnormal state. If so, clearing the on-air frequency point list, clearing a first-in first-out queue of each frequency point in the on-air frequency point list, and polling the frequency switching list to determine the next dominant frequency to be switched; if not, directly polling the frequency switching list to determine the next dominant frequency to be switched.
In the embodiment of the present invention, in the step S402, that is, after the message queue is acquired, the method further includes the following steps:
step S412, determining a frequency point for sending the broadcast maintaining instruction based on the message, and starting countdown of the maintaining time after receiving the broadcast maintaining instruction;
step S414, determining whether the countdown of the maintenance time is finished;
step S416, if the end is determined, controlling the frequency point for sending the on-air maintaining instruction to stop broadcasting;
step S418, updating the on-off state of the frequency point which sends the on-off maintaining instruction in the on-off frequency point list;
step S420, selecting the frequency point with the highest priority from the updated broadcasting frequency point list for broadcasting, wherein after the frequency point with the highest priority is selected for broadcasting, polling the frequency switching list to determine the next dominant frequency to be switched.
In the embodiment of the invention, the terminal equipment receives the heartbeat instruction sent by at least one frequency point in real time and also receives the start-play maintaining instruction or the stop-play instruction sent by at least one frequency point in real time. When the terminal equipment receives the on-air maintaining instruction, the timer starts counting down the maintaining time in affairs, when the counting down is finished, the frequency point sending the on-air maintaining instruction is controlled to be in an off-air state, and the on-air state and the off-air state of the frequency point are updated to be off-air in the on-air frequency point list. And if the plurality of frequency points in the updated broadcasting frequency point list have signals and have broadcasting maintaining instructions, switching to the frequency point with higher priority to broadcast the program and broadcasting. And after selecting the frequency band with the highest priority to play, polling the frequency switching list to determine the next dominant frequency to be switched (namely, the dominant frequency to be locked).
As can be seen from the above description, in the embodiment of the present invention, when the start maintaining instruction of the currently broadcast frequency point is reached, the broadcast frequency point is stopped, the broadcast frequency point list is updated again, the frequency point with the highest priority required to be broadcast is searched, and the master chip locks the broadcast of the frequency point.
In summary, the method provided in the embodiments of the present invention is a method established based on a cascade transmission networking, and the method provides a reliable way for receiving an RDS instruction, which can cope with various emergency situations and ensure that a terminal device can respond to broadcast of broadcast signals at various levels in time. The method is characterized in that the terminal only receives an RDS instruction of one main frequency, an open-play frequency-cutting list is established according to the initialized RDS instruction, the open-play frequency-cutting list is updated in real time according to the maintaining time in the RDS instruction, and the frequency point needing to be played at the next moment is determined. When the current received main frequency signal is abnormal, the terminal continues to lock the main frequency of the previous stage to receive the RDS instruction, and periodically polls the abnormal main frequency signal, so that the abnormal main frequency is restored and then is locked again, and the good adaptability of the terminal is ensured.
To sum up, in order to intuitively understand the above process, the RDS receiving method shown in fig. 5 is described as an example, and the method mainly includes:
1, reading a message in a message queue, wherein the message queue comprises a message sent by at least one frequency point;
detecting that the main frequency heartbeat instruction is overtime, wherein in the embodiment of the invention, whether the heartbeat instruction of the target main frequency is received in a preset time period can be judged based on the message, and the target main frequency is any one of at least one frequency point;
adding the target main frequency to a frequency switching list, wherein the target main frequency is added to the frequency switching list under the condition that a heartbeat instruction of the target main frequency is judged not to be received, the frequency switching list at least comprises a last-stage main frequency, and the last-stage main frequency is a last-stage network point in the wired frequency modulation networking;
polling the frequency switching list to lock the next main frequency to be switched and receiving an RDS instruction through the currently switched main frequency;
5, detecting that the broadcast frequency point maintaining timer is overtime, determining a frequency point for sending a broadcast maintaining instruction based on the message, and starting countdown of the maintaining time after receiving the broadcast maintaining instruction;
6, determining whether the countdown of the maintaining time is finished;
7, stopping playing the frequency point, wherein if the end of the processing is determined, the frequency point which sends the on-air maintaining instruction is controlled to stop playing;
8, updating the broadcasting frequency point list, wherein the broadcasting-on-off state of the frequency point which sends the broadcasting-on maintaining instruction in the broadcasting frequency point list is updated;
9, selecting a frequency point with the highest priority for broadcasting, wherein the frequency point with the highest priority is selected from the updated broadcasting frequency point list for broadcasting, and after the frequency point with the highest priority is selected for broadcasting, polling the frequency switching list to determine the next dominant frequency to be switched;
10, obtaining an RDS frame, wherein the RDS frame sent by a target main frequency can be obtained in a message queue;
11, obtaining a frame processing result, wherein whether a complete RDS instruction is received or not can be judged based on the RDS frame;
12, overloading the corresponding frequency point and maintaining a timer;
13, determining whether the target main frequency is recovered to be normal, wherein if a complete RDS instruction is received, inquiring whether a source of the complete RDS instruction exists in a frequency switching list, and judging whether the complete RDS instruction is received by a first frequency point, wherein the priority of the first frequency point is lower than that of the target main frequency;
and 14, removing the target main frequency from the frequency switching list, wherein if the judgment result is yes, the target main frequency is detected to be recovered to be normal, and when the target main frequency is recovered to be normal, the target main frequency is removed from the frequency switching list.
15, acquiring an RDS instruction sent by at least one frequency point;
16, determining the instruction type of the RDS instruction;
17, judging whether the frequency switching list has a main frequency of the RDS instruction source, and whether the priority is higher than the main frequency of the RDS instruction;
18, updating the broadcasting start frequency point list, wherein if the judgment result is yes, the broadcasting start and stop state of the frequency point which sends the RDS instruction is updated in the broadcasting start frequency point list;
19, selecting the broadcast with the highest priority, wherein the frequency band with the highest priority can be selected for broadcast based on the updated broadcast frequency point list; and after the frequency band with the highest priority is selected, polling a frequency switching list to determine the next main frequency to be switched.
20, judging whether the RDS instruction is a main frequency setting instruction or not;
clearing the broadcasting frequency point list, wherein the broadcasting frequency point list is cleared when a main frequency setting instruction is received;
22, clearing the first-in first-out queue of each frequency point in the on-demand frequency point list;
and 23, controlling the lowest-level main frequency reserved in the frequency switching list, and receiving an RDS instruction through the lowest-level main frequency, wherein after the RDS instruction is received through the lowest-level main frequency, the frequency switching list is polled to determine the next main frequency to be switched.
24, judging whether the RDS frame is detected; if the complete RDS instruction is not received based on the RDS frame, whether the RDS frame is detected or not is judged at the moment;
25, judging whether the RDS receiving quantity is too large, wherein if yes, judging whether the receiving quantity of the RDS frames exceeds a preset quantity, and judging whether the RDS frames can form a complete RDS instruction;
26, judging whether the signal field intensity is in an abnormal state, wherein if the signal field intensity is not in the abnormal state, judging whether the signal field intensity is in the abnormal state;
and 27, clearing the on-air frequency point list and the first-in first-out queue, wherein if the judgment result is yes, clearing the on-air frequency point list, clearing the first-in first-out queue of each frequency point in the on-air frequency point list, and polling the frequency switching list to determine the next dominant frequency to be switched. The specific implementation process is as above, and is not described herein again.
Example two:
the embodiment of the present invention further provides a receiving device for RDS, where the receiving device for RDS is mainly used to execute the receiving method for RDS provided by the above-mentioned content in the embodiment of the present invention, and the following detailed description is made on the receiving device for RDS provided by the embodiment of the present invention.
Fig. 6 is a schematic diagram of a receiving device of an RDS according to an embodiment of the present invention, and as shown in fig. 6, the receiving device of the RDS mainly includes: a first acquiring unit 61, a first judging unit 62, an adding unit 63, a polling unit 64, and a detecting unit 65, wherein:
a first obtaining unit 61, configured to obtain a message queue, where the message queue includes a message sent by at least one frequency point;
a first judging unit 62, configured to judge whether a heartbeat instruction of a target dominant frequency is received in a preset time period based on the message, where the target dominant frequency is any one of the at least one frequency point;
the adding unit 63 is configured to add the target dominant frequency to the frequency switching list when it is determined that the heartbeat instruction of the target dominant frequency is not received;
the polling unit 64 is used for polling the frequency switching list to lock the next main frequency to be switched and receiving an RDS instruction through the currently switched main frequency;
and the detection unit 65 is configured to detect whether the target dominant frequency returns to normal, where the target dominant frequency is removed from the frequency switching list when the target dominant frequency returns to normal.
In the embodiment of the invention, a message queue is firstly obtained, then whether a heartbeat instruction of a target main frequency is received in a preset time period is judged based on the message in the message queue, and the target main frequency is added to a frequency switching list under the condition that the heartbeat instruction of the target main frequency is judged not to be received; polling a frequency switching list to lock the next main frequency to be switched and receiving an RDS instruction through the currently switched main frequency; and finally, detecting whether the target main frequency is recovered to be normal or not, wherein when the target main frequency is recovered to be normal, the target main frequency is eliminated from the frequency switching list. In the embodiment of the invention, the polling frequency-switching list is adopted, so that the terminal can still receive other normal front-end signals and play emergency broadcast signals according to the priority order under the condition that partial front-end signals are abnormal, high-efficiency broadcasting is ensured, and meanwhile, the processing of abnormal conditions is considered, so that the whole village response system is more stable in operation, the broadcasting effect is better, the terminal is more convenient to maintain, and the technical problem of untimely terminal response caused by poor RDS instruction transmission effect in the conventional cascade transmission mode is solved.
Optionally, the detection unit is configured to: acquiring an RDS frame transmitted by a target master frequency in real time; judging whether a complete RDS instruction is received or not based on the RDS frame; if a complete RDS instruction is received, inquiring whether a source of the complete RDS instruction exists in a frequency cutting list, and judging whether the complete RDS instruction is received by a first frequency point, wherein the priority of the first frequency point is lower than that of the target dominant frequency; and if so, detecting that the target main frequency is recovered to be normal, wherein when the target main frequency is recovered to be normal, the target main frequency is eliminated from the frequency switching list.
Optionally, the apparatus further comprises: the second acquisition unit is used for acquiring an RDS instruction sent by at least one frequency point after the target dominant frequency is removed from the frequency switching list; the second judgment unit is used for judging whether the RDS instruction sent by at least one frequency point is a target instruction, wherein the target instruction comprises a start-up maintaining instruction or a stop-play instruction; the updating unit is used for updating the start-stop broadcasting state of the frequency point which sends the RDS instruction in the start-broadcast frequency point list if the judgment result is yes; the selection unit is used for selecting the frequency point with the highest priority for broadcasting based on the updated broadcasting frequency point list; and after the frequency point with the highest priority is selected, polling a frequency switching list to determine the next main frequency to be switched.
Optionally, the apparatus further comprises: the clearing unit is used for clearing the on-air frequency point list and clearing the first-in first-out queue of each frequency point in the on-air frequency point list when receiving the main frequency setting instruction under the condition of judging whether the on-air frequency point list is not available, and updating the on-air frequency point list again according to the main frequency setting instruction; and the control unit is used for controlling the terminal to lock the lowest-level main frequency in the frequency switching list again and receive the RDS instruction through the lowest-level main frequency, wherein the frequency switching list is polled after the RDS instruction is received through the lowest-level main frequency so as to determine the next main frequency to be switched.
Optionally, if the complete RDS instruction is not received, the apparatus is further configured to: judging whether an RDS frame is detected; if yes, judging whether the receiving quantity of the RDS frames exceeds a preset quantity or not, and judging whether the RDS frames can form a complete RDS instruction or not; if not, judging whether the signal field intensity is in an abnormal state; if so, clearing the broadcasting frequency point list, clearing the first-in first-out queue of each frequency point in the broadcasting frequency point list, and polling the frequency switching list to determine the next dominant frequency to be switched.
Optionally, after obtaining the message queue, the apparatus is further configured to: determining a frequency point for sending a broadcast maintaining instruction based on the message, and starting countdown of maintaining time after receiving the broadcast maintaining instruction; determining whether the countdown of the maintenance time is finished; if the end is determined, controlling the frequency point which sends the on-air maintaining instruction to stop broadcasting; updating the on-off state of the frequency point which sends the on-off maintaining instruction in the on-off frequency point list; and selecting the frequency point with the highest priority from the updated broadcasting frequency point list for broadcasting, wherein after the frequency point with the highest priority is selected for broadcasting, the frequency switching list is polled to determine the next dominant frequency to be switched.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The computer program product of the method and the device for receiving RDS provided by the embodiments of the present invention includes a computer readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for receiving RDS, comprising:
acquiring a message queue, wherein the message queue comprises messages sent by at least one frequency point;
judging whether a heartbeat instruction of a target main frequency is received in a preset time period or not based on the message, wherein the target main frequency is any one of the at least one frequency point;
under the condition that a heartbeat instruction of the target main frequency is judged not to be received, adding the target main frequency to a frequency switching list, wherein the frequency switching list at least comprises a last-stage main frequency, and the last-stage main frequency is a last-stage network point in a wired frequency modulation networking;
polling the frequency switching list to lock the next main frequency to be switched and receiving an RDS instruction through the currently switched main frequency;
detecting whether the target main frequency returns to normal or not, wherein when the target main frequency returns to normal, the target main frequency is removed from the frequency switching list;
wherein, detecting whether the target dominant frequency is recovered to be normal comprises:
obtaining an RDS frame sent by the target main frequency in the message queue;
judging whether a complete RDS instruction is received or not based on the RDS frame;
if the complete RDS instruction is received, inquiring whether a source of the complete RDS instruction exists in the frequency cutting list, and judging whether the complete RDS instruction is received by a first frequency point, wherein the priority of the first frequency point is lower than that of the target dominant frequency;
and if so, detecting that the target main frequency is recovered to be normal, wherein when the target main frequency is recovered to be normal, the target main frequency is eliminated from the frequency switching list.
2. The method according to claim 1, wherein after removing the target dominant frequency from the cut-frequency list, the method further comprises:
acquiring an RDS instruction sent by the at least one frequency point;
judging whether an RDS instruction sent by the at least one frequency point is a target instruction, wherein the target instruction comprises a broadcast maintaining instruction or a broadcast stopping instruction;
if yes, updating the start-stop broadcast state of the frequency point sending the RDS instruction in the start-broadcast frequency point list;
selecting a frequency point with the highest priority for broadcasting based on the updated broadcasting frequency point list; and polling the frequency switching list after the frequency point with the highest priority is selected so as to determine the next main frequency to be switched.
3. The method of claim 2, wherein if no, the method further comprises:
when a main frequency setting instruction is received, clearing an on-air frequency point list, clearing a first-in first-out queue of each frequency point in the on-air frequency point list, and updating the on-air frequency point list again according to the main frequency setting instruction;
and the control terminal relocks the lowest-level main frequency in the frequency switching list and receives an RDS instruction through the lowest-level main frequency, wherein after the RDS instruction is received through the lowest-level main frequency, the frequency switching list is polled to determine the next main frequency to be switched.
4. The method of claim 1, wherein if the complete RDS instruction is not received, the method further comprises:
judging whether an RDS frame is detected;
if yes, judging whether the receiving quantity of the RDS frames exceeds a preset quantity or not, and judging whether the RDS frames can form a complete RDS instruction or not;
if the receiving quantity of the RDS frames does not exceed the preset quantity and the RDS frames cannot form a complete RDS instruction, judging whether the signal field intensity is in an abnormal state or not;
and if the signal field intensity is in an abnormal state, clearing the on-demand frequency point list, clearing the first-in first-out queue of each frequency point in the on-demand frequency point list, and polling the frequency switching list to determine the next main frequency to be switched.
5. The method of claim 1, wherein after retrieving a message queue, the method further comprises:
determining a frequency point for sending a broadcast maintaining instruction based on the message, and starting countdown of maintaining time after receiving the broadcast maintaining instruction;
determining whether the countdown of the maintenance time is finished;
if the end is determined, controlling the frequency point which sends the playing maintaining instruction to stop playing;
updating the on-off state of the frequency point which sends the on-off maintaining instruction in the on-off frequency point list;
and selecting the frequency point with the highest priority from the updated broadcasting frequency point list for broadcasting, wherein after the frequency point with the highest priority is selected for broadcasting, the frequency switching list is polled to determine the next dominant frequency to be switched.
6. An RDS receiving device, comprising:
the first acquisition unit is used for acquiring a message queue, wherein the message queue comprises messages sent by at least one frequency point;
a first judging unit, configured to judge whether a heartbeat instruction of a target dominant frequency is received within a preset time period based on the message, where the target dominant frequency is any one of the at least one frequency point;
the adding unit is used for adding the target main frequency to a frequency switching list under the condition that the heartbeat instruction of the target main frequency is judged not to be received, wherein the frequency switching list at least comprises a last-stage main frequency, and the last-stage main frequency is a last-stage network point in a wired frequency modulation networking;
the polling unit is used for polling the frequency switching list to lock the next main frequency to be switched and receiving an RDS instruction through the currently switched main frequency;
the detection unit is used for detecting whether the target main frequency returns to normal or not, wherein when the target main frequency returns to normal, the target main frequency is removed from the frequency switching list;
wherein the detection unit is used for:
acquiring an RDS frame sent by the target dominant frequency in real time;
judging whether a complete RDS instruction is received or not based on the RDS frame;
if the complete RDS instruction is received, inquiring whether a source of the complete RDS instruction exists in the frequency cutting list, and judging whether the complete RDS instruction is received by a first frequency point, wherein the priority of the first frequency point is lower than that of the target dominant frequency;
and if so, detecting that the target main frequency is recovered to be normal, wherein when the target main frequency is recovered to be normal, the target main frequency is eliminated from the frequency switching list.
7. The apparatus of claim 6, further comprising:
the second obtaining unit is used for obtaining the RDS instruction sent by the at least one frequency point after the target dominant frequency is removed from the frequency switching list;
the second judging unit is used for judging whether the RDS instruction sent by the at least one frequency point is a target instruction, wherein the target instruction comprises a start-up maintaining instruction or a stop-play instruction;
the updating unit is used for updating the start-stop broadcast state of the frequency point which sends the RDS instruction in the start-broadcast frequency point list if the judgment result is yes;
the selecting unit is used for selecting the frequency point with the highest priority for broadcasting based on the broadcasting frequency point list after updating; and polling the frequency switching list after the frequency point with the highest priority is selected so as to determine the next main frequency to be switched.
8. The apparatus of claim 7, further comprising:
the clearing unit is used for clearing the on-air frequency point list, clearing the first-in first-out queue of each frequency point in the on-air frequency point list and updating the on-air frequency point list again according to the main frequency setting instruction when the main frequency setting instruction is received under the condition that the judgment is not carried out;
and the control unit is used for controlling the terminal to lock the lowest-level main frequency in the frequency switching list again and receive the RDS instruction through the lowest-level main frequency, wherein the frequency switching list is polled after the RDS instruction is received through the lowest-level main frequency so as to determine the next main frequency to be switched.
CN201710683783.1A 2017-08-11 2017-08-11 RDS receiving method and device Active CN107483285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710683783.1A CN107483285B (en) 2017-08-11 2017-08-11 RDS receiving method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710683783.1A CN107483285B (en) 2017-08-11 2017-08-11 RDS receiving method and device

Publications (2)

Publication Number Publication Date
CN107483285A CN107483285A (en) 2017-12-15
CN107483285B true CN107483285B (en) 2020-04-28

Family

ID=60600170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710683783.1A Active CN107483285B (en) 2017-08-11 2017-08-11 RDS receiving method and device

Country Status (1)

Country Link
CN (1) CN107483285B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110691164A (en) * 2019-08-16 2020-01-14 深圳康佳信息网络有限公司 Method and system for realizing emergency broadcast based on mobile phone terminal
CN111611059B (en) * 2020-05-21 2022-06-17 安徽兆尹信息科技股份有限公司 Redis pipeline communication method for financial asset management system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2520999A1 (en) * 2003-03-31 2004-10-28 Thomson Licensing Methods for controlling apparatuses having an emergency alert function
CN105703863A (en) * 2016-03-15 2016-06-22 北京数码视讯科技股份有限公司 Method and system for broadcasting emergency broadcast
CN106453302A (en) * 2016-10-09 2017-02-22 北京数码视讯科技股份有限公司 Emergency broadcast message transmission device and system
CN106788830A (en) * 2017-01-05 2017-05-31 北京数码视讯科技股份有限公司 Emergency information transmits covering method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2520999A1 (en) * 2003-03-31 2004-10-28 Thomson Licensing Methods for controlling apparatuses having an emergency alert function
CN105703863A (en) * 2016-03-15 2016-06-22 北京数码视讯科技股份有限公司 Method and system for broadcasting emergency broadcast
CN106453302A (en) * 2016-10-09 2017-02-22 北京数码视讯科技股份有限公司 Emergency broadcast message transmission device and system
CN106788830A (en) * 2017-01-05 2017-05-31 北京数码视讯科技股份有限公司 Emergency information transmits covering method and device

Also Published As

Publication number Publication date
CN107483285A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
JP2760552B2 (en) Receiving machine
CN107483285B (en) RDS receiving method and device
JPWO2015159815A1 (en) Data distribution system, control server, and data distribution method
US20060281455A1 (en) Base apparatus, wireless communication channel changeover method, and wireless communication channel changeover program
US7542746B2 (en) RDS radio unit
CN101490636B (en) Information processing system, instructing device, processing device, and information processing method
CN1354951A (en) System and method for broadcasting emergency warnings to radio and television receivers in low power mode
US7961658B2 (en) Communication system, transmission device and method thereof, and reception device and method thereof
JP2006134325A (en) Electrical supply apparatus and electrical power supply module
JP5154504B2 (en) Disaster prevention receiver
EP1181775B1 (en) Method for selection of a receiver tuning frequency
CN102143077A (en) Method and system for realizing multi-service link of route equipment and route equipment thereof
US7072629B2 (en) Method for recording information transmitted over a radio frequency
JP4341265B2 (en) Program recording server
WO2011118100A1 (en) Base station apparatus
CN108346274A (en) Detect method, apparatus, remote controler, UAV system and the medium of unmanned plane
JP3295531B2 (en) RDS receiver
US9197524B2 (en) Network device and network device recognition method
JP2014197046A (en) Advertisement reproduction device and advertisement reproduction system
CN112653079B (en) Protection fixed value downloading method and device based on template matching
JPH01200828A (en) Method for controlling rds receiver
JP2007110358A (en) Electronic apparatus
KR20060118666A (en) Appliance with the urgent disaster warning function and warning method thereof
JP2010220208A (en) Broadcast receiving apparatus, and broadcast receiving method
CN114911495A (en) Equipment upgrading method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant