Data acquisition method and device for radio station signals

By acquiring and storing the location and signal parameters of radio signals, the problem of radio signal calibration being affected by weather and signal transmitters has been solved, improving the efficiency and accuracy of vehicle calibration and simplifying the operation process.

CN121012587APending Publication Date: 2025-11-25WUHAN JIANGXIA CHUNENG AUTOMOBILE TECHNOLOGY R&D CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511160188.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-19
Publication Date
2025-11-25

AI Technical Summary

Technical Problem

In the current process of vehicle development, radio signal calibration is affected by weather and signal transmitter maintenance and debugging, resulting in inaccurate calibration results and large data volume, which affects testing efficiency. In addition, the operation of radio frequency signal recorders is cumbersome.

Method used

By acquiring serial port data from the test location, determining the location and signal parameters, and storing them in a specified format, the navigation and positioning module and the radio module are used to obtain the radio signal status, reducing the amount of data and simplifying the operation.

Benefits of technology

It improves the efficiency and accuracy of radio signal calibration, avoids storage space limitations and cumbersome operations, and provides continuous and complete data support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121012587A_ABST
    Figure CN121012587A_ABST
Patent Text Reader

Abstract

The invention relates to a data acquisition method and device for radio station signals. The method comprises the following steps: acquiring serial port data corresponding to a test site, and determining a position parameter based on the serial port data; and acquiring radio station signals corresponding to the test site under each search frequency, and determining signal parameters based on the radio station signals corresponding to each search frequency. And storing the positioning parameters and the signal parameters according to a specified format. Through the mode, different test sites can be effectively distinguished based on the position parameters, and the signal parameters representing the signal state are determined based on the radio station signal, so that a tester visually knows the change rule of the radio station signal state, and the overall calibration efficiency is improved; besides, the position parameters and the signal parameters are stored, so that the storage data size is prevented from being too large, the continuity and integrity of data storage can be guaranteed, and data support is provided for development of radio calibration and subjective evaluation work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments in this specification belong to the field of vehicle radio calibration technology, and specifically relate to a data acquisition method and apparatus for radio signals. Background Technology

[0002] During vehicle development, OEMs must calibrate the vehicle's radio reception function under real-world road conditions. This typically involves selecting relatively fixed test locations (including open areas, tunnels, areas with tall buildings, overpasses, and areas near radio towers, among other typical environments) to calibrate and subjectively evaluate the radio signals collected by the vehicle, verifying whether the vehicle's reception performance meets acceptance standards. However, radio signals are easily affected by weather and signal transmitter maintenance or adjustments during designated periods, causing the calibrated reception results obtained by the vehicle under these influences to differ significantly from expectations. Furthermore, testers cannot effectively interpret the calibration results.

[0003] The current common solution involves testers using specialized radio frequency signal recorders to pre-record radio signals at the test location. These recorded signals are then played back for preliminary calibration, and the vehicle is calibrated for real-world road conditions based on the results. However, this method requires a large amount of recorded signal data, which is not only easily limited by storage space but also negatively impacts the calibration efficiency of the testers. Summary of the Invention

[0004] The embodiments of this disclosure provide a data acquisition method and apparatus for radio signals.

[0005] In a first aspect of this disclosure, a method for acquiring data from radio signals is provided. The method includes acquiring serial port data corresponding to a test location and determining location parameters based on the serial port data. The method also includes acquiring the radio signals corresponding to the test location at various search frequencies and determining signal parameters based on the radio signals corresponding to each search frequency. Furthermore, the method includes storing the location parameters and signal parameters according to a specified format.

[0006] In a second aspect of this disclosure, a data acquisition apparatus for radio signals is provided. The apparatus includes a location parameter determination module configured to acquire serial port data corresponding to a test location and determine location parameters based on the serial port data. The apparatus also includes a signal parameter determination module configured to acquire the radio signals corresponding to the test location at various search frequencies and determine signal parameters based on the radio signals corresponding to each search frequency. Furthermore, the apparatus includes a parameter storage module configured to store the location parameters and signal parameters according to a specified format.

[0007] In a third aspect of this disclosure, a computer program product is provided, comprising a computer program that is executed by a processor to implement the method according to the first aspect.

[0008] In a fourth aspect of this disclosure, a machine-readable storage medium is provided. The machine-readable storage medium stores machine-executable instructions, which are executed by a processor to implement the method provided according to a first aspect of this disclosure.

[0009] It should be understood that the description in the Summary of the Invention section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 A schematic diagram of an example environment in which some embodiments of this disclosure may be implemented is shown; Figure 2 A flowchart illustrating a data acquisition method for radio signals according to some embodiments of this disclosure is shown; Figure 3 A block diagram of a data acquisition apparatus for radio signals, according to some embodiments of the present disclosure, is shown; and Figure 4 A block diagram of an electronic device that can implement several embodiments of the present disclosure is shown. Detailed Implementation

[0011] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0012] The terms “comprising” and “having”, and any variations thereof, in this specification, claims, and the foregoing drawings are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus. Depending on the context, the word “if” as it applies herein may be interpreted as “when”, “when”, “in response to determination”, or “in response to detection”.

[0013] As mentioned above, the common solution involves testers using a professional RF signal recorder to extract and record radio signals at the test location. This RF signal recorder can perform signal acquisition, filtering, analysis (spectrum analysis, time domain analysis, signal-to-noise ratio measurement), and conversion to obtain detailed encoded information of the radio signal, which is then stored on a hard drive. Testers can then play back the radio signal in the laboratory using an RF signal playback device to complete preliminary calibration. Based on the preliminary calibration results, the vehicle can be calibrated under real-world road conditions, thus shortening the overall calibration time. However, using an RF signal recorder to acquire radio signals has two drawbacks. First, the amount of signal data to be recorded is too large (typically 200MB per second), and long recording times are easily limited by storage space, leading to incomplete recordings. Second, the RF signal recorder records the radio signal itself, making it impossible for testers to directly obtain relevant radio status parameters from the signal, which can negatively impact calibration efficiency. In addition, the radio frequency signal recorder needs to be connected to a computer for use, which is not only cumbersome to operate, but also has a certain threshold for testers.

[0014] Therefore, embodiments of this disclosure propose a data acquisition method for radio signals. The method includes acquiring serial port data corresponding to a test location and determining location parameters based on the serial port data. The method also includes acquiring the radio signals corresponding to the test location at each search frequency and determining signal parameters based on the radio signals corresponding to each search frequency. Furthermore, the method includes storing the location parameters and signal parameters according to a specified format.

[0015] In this way, different test locations can be effectively distinguished based on location parameters, and signal parameters characterizing the signal state can be determined based on radio signals, allowing testers to intuitively understand the changing patterns of radio signal states, thereby improving overall calibration efficiency. In addition, by storing and processing location and signal parameters, not only is excessive data storage avoided, ensuring the continuity and integrity of data storage, but also the cumbersome operation caused by using RF signal recorders can be effectively avoided, thus providing data support for radio calibration and subjective evaluation.

[0016] Figure 1 Schematic diagrams are shown illustrating example environments in which some embodiments of this disclosure can be implemented. For example... Figure 1 As shown, the example environment 100 may include a navigation and positioning module 101. This module receives satellite signals corresponding to each test location, extracts position and time information from the satellite signals, and transmits them according to a specified protocol. Here, the navigation and positioning module 101 includes at least an antenna, a radio frequency front-end, and a baseband processor. The antenna receives satellite signals (e.g., GPS or BeiDou satellite signals), the radio frequency front-end amplifies and converts the received satellite signals, and the baseband processor decodes the processed satellite signals to extract position and time information (which may also include speed, heading, and magnetic declination), and transmits this information according to a specified protocol (e.g., the NMEA-0183 protocol). It is understood that the functions performed by the navigation and positioning module 101 are techniques well-known in the art, and will not be elaborated upon here.

[0017] Example environment 100 may also include a radio module 102, which receives radio signals corresponding to each search frequency at each test location. It can also analyze and process these radio signals to obtain the corresponding signal parameters. Here, the radio module 102 can be a radio or an audio device with radio reception capabilities, and includes at least an antenna, tuner, demodulator, analog-to-digital converter, and baseband processor (it may also include an amplifier and speaker, but is not limited thereto). Specifically, the antenna receives radio signals (i.e., radio wave signals) emitted by each radio station at each test location; the tuner filters out the radio signals corresponding to each search frequency from the radio signals; the demodulator demodulates the radio signals corresponding to each search frequency (e.g., including AM mode demodulation and FM mode demodulation); the analog-to-digital converter converts the processed radio signals into digital signals; and the baseband processor analyzes the converted digital radio signals to obtain the corresponding signal parameters. It is understood that the signal parameters corresponding to the radio signal include at least one of the following: frequency offset parameter, signal strength parameter, ultrasonic noise parameter, multipath interference parameter, and modulation parameter. Each type of parameter can be processed by the baseband processor in combination with hardware circuitry or a preset signal processing algorithm to convert the state parameters of the radio signal into logical condition judgment factors required by the tester's software code, thereby facilitating the tester's intuitive understanding of the changing patterns of the radio signal state. The functions performed by the receiver module 102 in some embodiments of this disclosure are technical means well known in the art, and will not be described in detail here.

[0018] Example environment 100 may further include a processing terminal 103, which may be a microcontroller well known in the art. This processing terminal 103 establishes a serial communication protocol connection with the navigation and positioning module 101 to acquire serial port data sent by the navigation and positioning module 101 based on a specified protocol (e.g., NMEA-0183 protocol), and can parse the location parameters corresponding to each test location from the serial port data. Furthermore, the processing terminal 103 may also establish a synchronous serial communication protocol connection with the radio module 102 to control the radio module 102 to receive radio signals corresponding to each test location at each search frequency, and determine signal parameters based on the radio signals corresponding to each search frequency.

[0019] Example environment 100 may also include SD card slot 104, which is equipped with an SD card inserted by the tester. SD card slot 104 can establish a synchronous serial communication protocol connection with processing terminal 103, and is used to store the processed position parameters and signal parameters in the SD card after the processing terminal 103 converts the above-mentioned position parameters and signal parameters according to a specified format, so that the tester can quickly export and read data through the SD card.

[0020] Example environment 100 may further include a linear power module 105, which is connected to the navigation and positioning module 101, the radio module 102, the processing terminal 103, and the SD card slot 104, respectively. This linear power module 105 outputs a stable 3.3V power supply to each of these components during radio signal data acquisition at various test locations. Here, the linear power module 105 can be a power conversion device that provides a stable output voltage via a linear regulator. It is supplied with 3.7V-5.5V power by a built-in battery or power bank and converted to a stable 3.3V power supply using a linear regulator. It is understood that the functions performed by the linear power module 105 are techniques well-known in the art and will not be described in detail here.

[0021] In addition, the processing terminal 103 of the example environment 100 is also connected to LED red, LED green and LED yellow via I / O ports. When the processing terminal 103 fails to parse the location parameters of each test location, it controls the LED red to be on and the LED green to be off; when the processing terminal 103 parses the location parameters of each test location, it controls the LED red to be off and the LED green to be on; when the processing terminal 103 successfully stores the location parameters and signal parameters, it controls the LED yellow to flash; and when the processing terminal 103 fails to store the location parameters and signal parameters, it controls the LED yellow to be off, so as to intuitively display the data acquisition progress to the test personnel.

[0022] In this way, different test locations can be effectively distinguished based on location parameters, and signal parameters characterizing the signal state can be determined based on radio signals, allowing testers to intuitively understand the changing patterns of radio signal states, thereby improving overall calibration efficiency. In addition, by storing and processing location and signal parameters, not only is excessive data storage avoided, ensuring the continuity and integrity of data storage, but also the cumbersome operation caused by using RF signal recorders is avoided, thus providing data support for radio calibration and subjective evaluation.

[0023] It should also be noted that the example environment 100 mentioned above, which includes the navigation and positioning module 101, the radio module 102, the processing terminal 103, the SD card slot 104, and the linear power module 105, has the advantages of being small in size and easy to carry compared to the existing technology of using an RF signal recorder to collect radio signals. It is not only easy to use without the need for a computer connection, but also can be powered by a battery or power bank due to its low power consumption, supporting long-term collection of location and signal parameters corresponding to various test locations.

[0024] In addition, after completing the data collection at the test location using the example environment 100 mentioned above, the testers can export the data from the SD card and analyze it to understand the changes in radio station signals at different times from Monday to Sunday. By comparing the data collected over four consecutive weeks and eliminating data from special weather conditions (such as thunderstorms, fog, and snow), the testers can summarize the changing patterns of radio station signals at each test location. Subsequently, when calibrating and subjectively evaluating radios at the test location, the historical data collected can be used to effectively judge the rationality of the calibration and subjective evaluation results.

[0025] It should be understood that the architecture and functionality in example environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure. Embodiments of this disclosure can also be applied to other environments with different architectures and / or functionalities.

[0026] Figure 2 A flowchart of a data acquisition method for radio signals according to some embodiments of the present disclosure is shown. Method 200 may be, for example, by... Figure 1 The processing terminal 103 in the example environment 100 shown executes. For example... Figure 2 As shown in box 202, method 200 can acquire serial port data corresponding to the test location and determine location parameters based on the serial port data. Here, the processing terminal can... Figure 1 The navigation and positioning module in the example environment shown acquires serial port data corresponding to the test location. The test location can be any location among open areas, tunnels, areas with tall buildings, overpasses, and radio towers. The serial port data can be obtained by the navigation and positioning module parsing and processing the received satellite signals at the test location and based on the NMEA-0183 protocol.

[0027] In some implementations, when determining position parameters based on serial port data, the processing terminal can identify a first identifier from the serial port data and determine whether the serial port data contains position parameters based on this first identifier. In one example, taking serial port data obtained based on the NMEA-0183 protocol, the serial port data contains a string of characters starting with "$XXRMC" (for example, when the navigation and positioning module receives GPS satellite signals, XX can correspond to GP). The processing terminal can use "$XXRMC" as the first identifier, and after identifying this first identifier in the serial port data, determine whether the serial port data contains position parameters based on the second character following the first identifier. Here, the serial port data contains multiple characters after the first identifier, separated by semicolons.

[0028] Understandably, when the second character after the first identifier is not "A", it indicates that the serial port data does not contain position parameters. In this case, the processing terminal can continue to obtain the serial port data corresponding to the test location through the navigation and positioning module until the second character after the first identifier is identified as "A" in the serial port data at a certain moment.

[0029] When the second character after the first identifier is "A", it indicates that the serial data contains a location parameter. Therefore, based on the first identifier, the second identifier can be identified from the serial data to confirm the presence of a location parameter. In one example, the first, third, and fifth characters after the first identifier can be identified sequentially from the serial data and used as the second identifier. Here, the first character after the first identifier in the serial data can correspond to the UTC time information of the test location, the third character can correspond to the latitude information of the test location, and the fifth character can correspond to the longitude information of the test location.

[0030] Afterwards, the processing terminal can determine the second identifier identified in the serial port data as the location parameter of the corresponding test location, and store the location parameter of the test location in a specified location (for example, the location parameter of the test location can be stored in a specified array).

[0031] In some implementations, when the processing terminal determines the location parameters based on serial port data, in order to visually demonstrate the progress of location parameter acquisition to the tester, it can also output a low-level signal to the first indicator light and a high-level signal to the second indicator light in response to determining that the serial port data contains location parameters based on the first identifier. Here, the first indicator light can be a red LED, which will be off after receiving the low-level signal from the processing terminal; the second indicator light can be a green LED, which will be on after receiving the high-level signal from the processing terminal, so that the tester can determine that the location parameter acquisition process at the test location has been completed after seeing the green light illuminate.

[0032] Furthermore, in response to determining that the serial port data does not contain location parameters based on the first identifier, the processing terminal can output a high-level signal to the first indicator light and a low-level signal to the second indicator light. Here, the first indicator light is on after receiving the high-level signal from the processing terminal, and the second indicator light is off after receiving the low-level signal from the processing terminal. This allows the tester to determine that the location parameter acquisition process for the test location has not yet been completed when they see the red light on, and enables real-time monitoring of the navigation and positioning module's operating status to avoid failure to acquire location parameters for the test location due to malfunction.

[0033] In box 204, method 200 can acquire the radio signals corresponding to the test location at each search frequency, and determine signal parameters based on the radio signals corresponding to each search frequency. Here, the processing terminal can control... Figure 1 The example environment shown uses a radio module to acquire the radio signals corresponding to each search frequency at the test location. After determining the radio signals corresponding to each search frequency, the radio module determines the signal parameters of the radio signals corresponding to each search frequency. It is understood that the signal parameters may include at least one of the following: frequency offset parameters, signal strength parameters, ultrasonic noise parameters, multipath interference parameters, and modulation parameters. Each type of parameter can be obtained by the baseband processor of the radio module in combination with hardware circuitry or a preset signal processing algorithm.

[0034] In some implementations, when the processing terminal acquires the radio signals corresponding to each search frequency at the test location and determines the signal parameters based on the radio signals corresponding to each search frequency, it can determine multiple first search frequencies based on a first step frequency and a first frequency range. Here, the multiple first search frequencies determined by the first step frequency and the first frequency range can correspond to the search frequencies used by the radio module when it is operating in AM mode to search for each radio signal. In one example, taking a first step frequency of 9kHz and a first frequency range of 531kHz-1602kHz as an example, the determined multiple first search frequencies can be represented sequentially as 531kHz, 540kHz, 549kHz...1602kHz.

[0035] Subsequently, the processing terminal can acquire the radio signals corresponding to each first search frequency at the test location based on the first modulation mode, and determine whether the frequency offset parameter of the radio signal corresponding to each first search frequency exceeds the preset first frequency offset parameter. In one example, after determining multiple first search frequencies, the processing terminal can send a control command to the radio module via the I2C bus to put the radio module into the first modulation mode representing the AM mode. Then, the radio module is controlled to perform radio signal frequency sweep processing according to the sequentially determined first search frequencies in the first modulation mode. After scanning out the radio signals corresponding to each first search frequency, the frequency offset parameter obtained by the baseband processor of the radio module in combination with hardware circuits or preset signal processing algorithms is used to determine whether the radio signal corresponding to each first search frequency is a valid radio signal (i.e., whether there is a real radio signal at each first search frequency). It is understood that the number of radio signals corresponding to each first search frequency can be one or more. When the number of radio signals corresponding to each first search frequency is multiple, it can also be determined whether there is a valid radio signal among all the radio signals corresponding to the first search frequency based on the frequency offset parameter corresponding to each radio signal.

[0036] Here, the frequency offset parameter can be understood as the deviation between the actual frequency and the theoretical frequency of the radio signal corresponding to each first search frequency. For example, it can be calculated by the baseband processor of the radio module in combination with the tuning circuit to obtain the actual frequency of the radio signal corresponding to each first search frequency and the reference frequency of the local oscillator. Alternatively, it can be calculated by the processing terminal by performing a fast Fourier transform on the radio signal corresponding to each first search frequency and by spectrum analysis. The calculation method of this frequency offset parameter is a well-known technique in the field, and will not be elaborated here.

[0037] Subsequently, when the frequency offset parameter of the radio signal corresponding to each first search frequency exceeds a preset first frequency offset parameter, it indicates that the radio signal corresponding to the corresponding first search frequency is not a valid radio signal. The processing terminal can then control the receiver module to perform radio signal frequency sweeping processing according to the next first search frequency in the first modulation mode to obtain the radio signal corresponding to the next first search frequency. When the frequency offset parameter of the radio signal corresponding to each first search frequency does not exceed the preset first frequency offset parameter, it indicates that the radio signal corresponding to the corresponding first search frequency is a valid radio signal. In response to determining that the frequency offset parameter of the radio signal corresponding to each first search frequency does not exceed the preset first frequency offset parameter, the first signal parameter of the radio signal corresponding to each first search frequency can be obtained. This first signal parameter includes at least one of the following: frequency offset parameter, signal strength parameter, ultrasonic noise parameter, and multipath interference parameter. It is understood that the preset first frequency offset parameter can be obtained based on the hardware status of the receiver module and antenna performance adjustments. In one example, after determining that the frequency offset parameter of the radio signal corresponding to each first search frequency does not exceed the preset first frequency offset parameter, the processing terminal can send a parameter acquisition command to the radio module so that the baseband processor of the radio module can analyze and process the radio signal corresponding to the corresponding first search frequency to obtain the first signal parameters including the frequency offset parameter, signal strength parameter, ultrasonic noise parameter and multipath interference parameter.

[0038] Here, the signal strength parameter can be understood as the signal strength (i.e., the power of the received signal) of the radio station signal corresponding to each first search frequency. For example, the baseband processor of the radio module can sense the field strength of the radio station signal through the antenna, convert the radio station signal into DC voltage using a detection circuit, and then quantize it into a specific value using an analog-to-digital converter. Of course, it can also be calculated by the processing terminal based on the peak value or root mean square value corresponding to the radio station signal. The calculation method of this signal strength parameter is a well-known technique in the field, and will not be elaborated here.

[0039] Here, the ultrasonic noise parameter can be understood as the degree of interference received by the radio signals corresponding to each first search frequency. For example, the baseband processor of the receiver module can use a bandpass filter to perform frequency band separation processing on the radio signals corresponding to each first search frequency, and then obtain the energy value of the separated ultrasonic frequency band through the detection circuit. Alternatively, the processing terminal can perform fast Fourier transform processing on the radio signals corresponding to each first search frequency, and extract the energy value of the ultrasonic frequency band through spectrum analysis. The calculation method of this ultrasonic noise parameter can be a well-known technique in the field, and will not be elaborated here.

[0040] Here, the multipath interference parameter can be understood as the degree of multipath propagation interference experienced by the radio signals corresponding to each first search frequency. For example, it can be obtained by the baseband processor of the radio module using an equalizer to perform multipath compensation processing on the radio signals corresponding to each first search frequency; of course, it can also be obtained by the processing terminal by analyzing the time domain or frequency domain characteristics of the radio signals corresponding to each first search frequency. Moreover, the calculation method of this multipath interference parameter is a well-known technique in the art, and will not be elaborated here.

[0041] Afterwards, after the radio module performs radio signal frequency sweeping processing according to each first search frequency determined in the first modulation mode, it indicates that the radio module has completed full-band scanning in AM mode. Then, the processing terminal can determine the first signal parameters of the radio signals corresponding to all first search frequencies as signal parameters, and can store the first signal parameters of the radio signals corresponding to all first search frequencies in a specified location (for example, the first signal parameters of the radio signals corresponding to all first search frequencies can be stored in a specified array).

[0042] In some implementations, when the processing terminal determines the first signal parameters of all radio station signals corresponding to the first search frequencies as signal parameters, it can also determine multiple second search frequencies based on a second step frequency and a second frequency range. The second step frequency is greater than the first step frequency, and the second frequency range is greater than the first frequency range. Here, the multiple second search frequencies determined by the second step frequency and the second frequency range can correspond to the search frequencies used by the radio module when searching for radio station signals in FM mode. In one example, taking a second step frequency of 100kHz and a second frequency range of 87.5MHz-108MHz as an example, the determined multiple second search frequencies can be represented sequentially as 87.5MHz, 87.6MHz, 87.7MHz...108MHz.

[0043] Subsequently, the processing terminal can acquire the radio signals corresponding to the test location at each of the second search frequencies based on the second modulation mode, and determine whether the frequency offset parameter of the radio signal corresponding to each of the second search frequencies exceeds a preset second frequency offset parameter, which is greater than a preset first frequency offset parameter. In one example, after controlling the radio module to complete a full-band scan in AM mode and determining multiple second search frequencies, the processing terminal sends a control command to the radio module via the I2C bus to switch the radio module from the first modulation mode representing AM mode to the second modulation mode representing FM mode. Then, the processing terminal controls the radio module to perform radio signal frequency scanning processing according to the sequentially determined second search frequencies in the second modulation mode. After scanning the radio signals corresponding to each of the second search frequencies, the processing terminal determines whether the radio signal corresponding to each of the second search frequencies is a valid radio signal (i.e., whether there is a real radio signal at each of the second search frequencies) based on the frequency offset parameter obtained by the baseband processor of the radio module in combination with hardware circuits or a preset signal processing algorithm. It is understandable that there may be one or more radio signals corresponding to each second search frequency. When there are multiple radio signals corresponding to the second search frequency, it is also possible to determine whether there is a valid radio signal among all the radio signals corresponding to the second search frequency based on the frequency offset parameter corresponding to each radio signal.

[0044] The frequency offset parameters of the radio signals corresponding to each of the second search frequencies can be found above, and will not be elaborated upon here.

[0045] Subsequently, when the frequency offset parameter of the radio signal corresponding to each second search frequency exceeds the preset second frequency offset parameter, it indicates that the radio signal corresponding to the corresponding second search frequency is not a valid radio signal. The processing terminal can then control the receiver module to perform radio signal frequency sweeping processing according to the next second search frequency in the second modulation mode to obtain the radio signal corresponding to the next second search frequency. When the frequency offset parameter of the radio signal corresponding to each second search frequency does not exceed the preset second frequency offset parameter, it indicates that the radio signal corresponding to the corresponding second search frequency is a valid radio signal. In response to determining that the frequency offset parameter of the radio signal corresponding to each second search frequency does not exceed the preset second frequency offset parameter, the second signal parameters of the radio signal corresponding to each second search frequency can be obtained. These second signal parameters include at least one of the following: frequency offset parameter, signal strength parameter, ultrasonic noise parameter, multipath interference parameter, and modulation parameter. It is understood that the preset second frequency offset parameter can also be obtained based on the hardware status of the receiver module and antenna performance adjustments. In one example, after determining that the frequency offset parameter of the radio signal corresponding to each second search frequency does not exceed the preset second frequency offset parameter, the processing terminal can send a parameter acquisition command to the radio module so that the baseband processor of the radio module can analyze and process the radio signal corresponding to the corresponding second search frequency to obtain the second signal parameters, including the frequency offset parameter, signal strength parameter, ultrasonic noise parameter, multipath interference parameter and modulation parameter.

[0046] Here, the frequency offset parameter, signal strength parameter, ultrasonic noise parameter, and multipath interference parameter can all be referred to the above. The modulation index parameter can be understood as the embedding strength or depth of useful information in the radio signal. For example, it can be obtained by the baseband processor of the receiver module based on the ratio between the frequency offset parameter of the radio signal and the preset maximum frequency offset parameter; of course, it can also be determined by the processing terminal by analyzing the instantaneous frequency change range of the radio signal. The calculation method of the modulation index parameter can be a well-known technique in the field, and will not be elaborated here.

[0047] Subsequently, after the radio module performs radio signal frequency sweeping processing according to each determined second search frequency in the second modulation mode, it indicates that the radio module has completed full-band scanning in FM mode. Then, the processing terminal can determine the first signal parameters of all radio signals corresponding to the first search frequency and the second signal parameters of all radio signals corresponding to the second search frequency as signal parameters, and can store the first signal parameters of all radio signals corresponding to the first search frequency and the second signal parameters of all radio signals corresponding to the second search frequency in a specified location (for example, the first signal parameters of all radio signals corresponding to the first search frequency and the second signal parameters of all radio signals corresponding to the second search frequency can be stored in a specified array).

[0048] In block 206, method 200 can store and process the positioning parameters and signal parameters according to a specified format. In some implementations, the processing terminal can extract the positioning parameters and signal parameters from a specified location and combine them to obtain combined parameters. In one example, taking the signal parameters as including first signal parameters of all radio signals corresponding to the first search frequencies and second signal parameters of all radio signals corresponding to the second search frequencies, the positioning parameters can be concatenated with each first signal parameter and each second signal parameter separately, and all concatenation results can be integrated into combined parameters.

[0049] Subsequently, the processing terminal can store the combined parameters according to a specified format. In one example, the processing terminal can load a preset FatFs system, call the API interface from the preset FatFs system to write the combined parameters to the aforementioned system via the SPI bus according to the specified format. Figure 1 The example environment shown depicts an SD card inserted into the SD card slot. Here, specifying the format can be understood as organizing the combined parameters into a TXT or Excel file format using the relevant functions corresponding to the API interface. These API functions are well-known techniques in the field and will not be elaborated upon further.

[0050] In some implementations, when the processing terminal stores the combined parameters according to a specified format, it can also determine whether the combined parameters have been successfully stored based on the storage feedback result. It is understood that if the SD card to be written to has insufficient memory or poor contact with the SD card slot, the combined parameters cannot be stored on the SD card, i.e., the combined parameter storage fails. In one example, when the processing terminal calls the API interface from the preset FatFs system to write the combined parameters to the SD card according to a specified format via the SPI bus, it can also obtain the storage result fed back by the relevant function corresponding to the API interface. For example, if the feedback storage result is 1, it indicates that the combined parameters have been successfully stored; if the feedback storage result is not 1, it indicates that the combined parameters have failed to be stored.

[0051] Subsequently, in response to the confirmation that the combined parameters have been successfully stored, a level modulation signal is output to the third indicator light. Here, the level modulation signal can be understood as a high-level signal and a low-level signal arranged periodically. The third indicator light can be a yellow LED, which will flash yellow after receiving the level modulation signal, thus visually demonstrating to the tester that the position parameters and signal parameters have been successfully stored to the SD card.

[0052] In addition, in response to the determination that the combined parameters failed to be stored, a low-level signal is output to the third indicator light. Here, the third indicator light can be a yellow LED, which will turn off after receiving the low-level signal, thus visually showing the tester that the position parameters and signal parameters have not been successfully stored to the SD card, facilitating the tester to promptly check and process the SD card.

[0053] Figure 3 A block diagram of a data acquisition apparatus for radio signals according to some embodiments of the present disclosure is shown. The various embodiments in this specification are described in a progressive manner, with reference to each other for similar or identical parts. Each embodiment focuses on describing the differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple, and relevant parts can be referred to the description of the method embodiments. Figure 3 As shown, the data acquisition device 300 for radio signals includes a location parameter determination module 302, configured to acquire serial port data corresponding to the test location and determine location parameters based on the serial port data. The data acquisition device 300 also includes a signal parameter determination module 304, configured to acquire the radio signals corresponding to the test location at each search frequency and determine signal parameters based on the radio signals corresponding to each search frequency. Furthermore, the data acquisition device 300 also includes a parameter storage module 306, configured to store and process the location parameters and signal parameters according to a specified format.

[0054] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this specification are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., Digital Versatile Discs (DVDs)), or semiconductor media (e.g., Solid State Disks (SSDs)).

[0055] Figure 4 Block diagrams of electronic devices that can implement various embodiments of the present disclosure are shown. For example... Figure 4 As shown, the electronic device 400 includes a processor 401, which can perform various appropriate actions and processes based on computer program instructions loaded into random access memory (RAM) 403 according to computer program instructions stored in read-only memory (ROM) 402. The RAM 403 may also store various programs and data required for the operation of the electronic device 400. The processor 401, ROM 402, and RAM 403 are interconnected via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0056] The various processes and procedures described above, such as method 200, can be executed by processor 401. For example, in some embodiments, method 200 may be implemented as a software program tangibly contained in a machine-readable medium. In some embodiments, part or all of the software program may be loaded into and / or installed onto electronic device 400 via ROM 402. When the software program is loaded into RAM 403 and executed by processor 401, one or more actions of method 200 described above may be performed.

[0057] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload programmable logic devices (CPLDs), and so on.

[0058] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0059] This disclosure can be a method, apparatus, system, and / or program product. The program product may include a machine-readable storage medium on which machine-readable program instructions for performing various aspects of this disclosure are loaded. The machine-readable program instructions described herein can be downloaded from the machine-readable storage medium to various computing / processing devices, or downloaded via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the machine-readable program instructions from the network and forwards them to the machine-readable storage medium in the respective computing / processing device.

[0060] Machine program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. Machine-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as a standalone software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing state information from the machine-readable program instructions to implement various aspects of this disclosure.

[0061] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. Furthermore, although operations are depicted in a specific order, this should be understood as requiring that such operations be performed in the specific order shown or in sequential order, or requiring that all illustrated operations be performed to achieve the desired result. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the foregoing discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation may also be implemented individually or in any suitable sub-combination in multiple implementations.

[0062] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A data acquisition method for radio signals, characterized in that, include: Acquire serial port data corresponding to the test location, and determine the location parameters based on the serial port data; Obtain the radio signals corresponding to the test location at each search frequency, and determine the signal parameters based on the radio signals corresponding to each search frequency; as well as The positioning parameters and the signal parameters are stored and processed according to a specified format.

2. The method according to claim 1, characterized in that, The determination of position parameters based on the serial port data includes: Identify a first identifier from the serial port data, and determine whether the serial port data contains a position parameter based on the first identifier; In response to determining that the serial port data contains a location parameter based on the first identifier, a second identifier is identified from the serial port data; and The second identifier is determined as the position parameter.

3. The method according to claim 2, characterized in that, The step of determining the position parameters based on the serial port data further includes: In response to determining that the serial port data contains location parameters based on the first identifier, a low-level signal is output to the first indicator light, and a high-level signal is output to the second indicator light; and In response to determining that the serial port data does not contain position parameters based on the first identifier, the system outputs a high-level signal to the first indicator light and a low-level signal to the second indicator light.

4. The method according to claim 1, characterized in that, The search frequency includes a first search frequency; The step of acquiring the radio signals corresponding to the test location at each search frequency, and determining signal parameters based on the radio signals corresponding to each search frequency, includes: Multiple first search frequencies are determined based on the first step frequency and the first frequency range; Based on the first modulation mode, the radio signals corresponding to the test location at each of the first search frequencies are obtained, and it is determined whether the frequency offset parameter of the radio signals corresponding to each of the first search frequencies exceeds the preset first frequency offset parameter. In response to determining that the frequency offset parameter of the radio signal corresponding to each of the first search frequencies does not exceed the preset first frequency offset parameter, first signal parameters of the radio signal corresponding to each of the first search frequencies are obtained. The first signal parameters of the radio signal corresponding to the first search frequency include at least one of the following: frequency offset parameter, signal strength parameter, ultrasonic noise parameter, and multipath interference parameter; and The first signal parameters of all radio signals corresponding to the first search frequencies are determined as signal parameters.

5. The method according to claim 4, characterized in that, The search frequency also includes a second search frequency; The step of determining the first signal parameters of all the radio signals corresponding to the first search frequencies as signal parameters further includes: Multiple second search frequencies are determined based on a second step frequency and a second frequency range, wherein the second step frequency is greater than the first step frequency and the second frequency range is greater than the first frequency range; Based on the second modulation mode, the radio signals corresponding to the test location at each of the second search frequencies are obtained, and it is determined whether the frequency offset parameter of the radio signals corresponding to each of the second search frequencies exceeds the preset second frequency offset parameter, wherein the preset second frequency offset parameter is greater than the preset first frequency offset parameter. In response to determining that the frequency offset parameter of the radio signal corresponding to each of the second search frequencies does not exceed the preset second frequency offset parameter, a second signal parameter of the radio signal corresponding to each of the second search frequencies is acquired. The second signal parameter of the radio signal corresponding to the second search frequency includes at least one of the frequency offset parameter, the signal strength parameter, the ultrasonic noise parameter, the multipath interference parameter, and the modulation index parameter. The first signal parameters of all radio signals corresponding to the first search frequencies and the second signal parameters of all radio signals corresponding to the second search frequencies are determined as signal parameters.

6. The method according to any one of claims 1-5, characterized in that, The storage processing of the positioning parameters and the signal parameters according to a specified format includes: The positioning parameters and the signal parameters are combined to obtain combined parameters; and The combined parameters are stored and processed according to the specified format.

7. The method according to claim 6, characterized in that, The process of storing the combined parameters according to a specified format further includes: Based on the storage feedback result of the combined parameters, determine whether the combined parameters were successfully stored; In response to the successful storage of the combined parameters, a level modulation signal is output to the third indicator light; and In response to the determination that the combined parameters have failed to be stored, a low-level signal is output to the third indicator light.

8. A data acquisition device for radio signals, characterized in that, include: The location parameter determination module is configured to acquire serial port data corresponding to the test location and determine the location parameters based on the serial port data. The signal parameter determination module is configured to acquire the radio signals corresponding to the test location at each search frequency, and determine the signal parameters based on the radio signals corresponding to each search frequency. as well as The parameter storage module is configured to store and process the positioning parameters and the signal parameters in a specified format.

9. A computer-readable storage medium having a computer program stored thereon, the computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as claimed in any one of claims 1-7.

10. An electronic device, characterized in that, include: One or more processors, and A memory associated with the one or more processors, the memory being used to store program instructions that, when read and executed by the one or more processors, perform the steps of the method according to any one of claims 1-7.